:root {
  color-scheme: dark;
  --bg: #02070d;
  --surface: rgba(7, 17, 28, 0.82);
  --surface-strong: #07111c;
  --line: rgba(143, 185, 226, 0.18);
  --line-bright: rgba(133, 189, 244, 0.42);
  --text: #f4f8fc;
  --muted: #8fa5b9;
  --muted-2: #667c91;
  --blue: #1684ff;
  --blue-bright: #55adff;
  --cyan: #3dd6e6;
  --green: #54d994;
  --violet: #8e78ff;
  --amber: #e2ab52;
  --max: 1240px;
  --radius: 22px;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; left: 20px; top: 16px; transform: translateY(-80px); border-radius: 8px; padding: 10px 14px; background: #fff; color: #07111c; transition: transform 180ms ease; }
.skip-link:focus { transform: translateY(0); }

.ambient { position: fixed; z-index: 0; pointer-events: none; border-radius: 50%; filter: blur(120px); opacity: 0.22; }
.ambient-one { width: 520px; height: 520px; top: -300px; right: 8vw; background: #1168c5; }
.ambient-two { width: 360px; height: 360px; top: 1050px; left: -240px; background: #0e4b84; opacity: 0.16; }

.site-header { position: fixed; z-index: 50; top: 18px; left: 50%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: min(calc(100% - 36px), var(--max)); min-height: 64px; padding: 0 16px 0 20px; transform: translateX(-50%); border: 1px solid var(--line); border-radius: 15px; background: rgba(2, 8, 14, 0.7); box-shadow: 0 20px 60px rgba(0,0,0,.24); backdrop-filter: blur(22px); }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; font-size: 15px; font-weight: 650; letter-spacing: -0.02em; }
.brand-mark { display: inline-grid; grid-template-columns: auto auto; place-items: center; width: 31px; height: 31px; border: 1px solid rgba(94, 174, 255, 0.55); border-radius: 9px; background: linear-gradient(145deg, rgba(25, 128, 244, .25), rgba(16, 58, 99, .08)); box-shadow: inset 0 0 18px rgba(51, 153, 255, .16), 0 0 22px rgba(27, 125, 229, .12); color: #e8f5ff; font-size: 10px; font-weight: 800; letter-spacing: -0.12em; }
.brand-mark span:last-child { color: var(--blue-bright); }
.brand-mark.small { width: 28px; height: 28px; border-radius: 8px; font-size: 9px; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a, .site-footer nav a { color: var(--muted); font-size: 13px; transition: color 180ms ease; }
.site-nav a:hover, .site-nav a:focus-visible, .site-footer nav a:hover, .site-footer nav a:focus-visible { color: var(--text); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.build-status { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border: 1px solid rgba(92, 153, 212, .12); border-radius: 9px; background: rgba(24, 77, 128, .14); color: #b6c9da; font-size: 12px; }
.build-status span, .availability span { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 14px var(--blue); }
.github-link { padding: 9px 13px; border: 1px solid var(--line-bright); border-radius: 9px; font-size: 12px; transition: border-color 180ms ease, background 180ms ease; }
.github-link:hover, .github-link:focus-visible { border-color: var(--blue-bright); background: rgba(31, 132, 238, .1); }
.menu-button { display: none; }

main, .site-footer { position: relative; z-index: 1; }
.hero { position: relative; min-height: 1230px; padding: 190px 24px 130px; background-image: linear-gradient(rgba(86, 153, 218, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(86, 153, 218, .035) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, #000 0%, #000 66%, transparent 100%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, transparent 45%, var(--bg) 92%); }
.hero-orbit { position: absolute; z-index: -1; top: -130px; left: 48%; width: 1000px; height: 720px; transform: rotate(-15deg); pointer-events: none; }
.orbit-glow { position: absolute; inset: 110px 80px 20px; border-radius: 50%; background: radial-gradient(ellipse at 45% 54%, rgba(47, 146, 244, .43), rgba(10, 60, 110, .13) 47%, transparent 72%); filter: blur(18px); }
.orbit-line { position: absolute; inset: 90px 80px 80px; border: 1px solid rgba(90, 172, 255, .26); border-radius: 50%; box-shadow: 0 0 80px rgba(46, 145, 240, .16), inset 0 -20px 90px rgba(42, 138, 231, .2); }
.orbit-line::before { content: ""; position: absolute; inset: 34px -70px -55px 90px; border-bottom: 2px solid rgba(103, 185, 255, .46); border-radius: 50%; filter: drop-shadow(0 0 18px #258be5); }
.hero-copy { position: relative; z-index: 2; width: min(100%, var(--max)); margin: 0 auto; }
.hero h1 { max-width: 900px; margin: 0; font-size: clamp(54px, 7.2vw, 102px); line-height: .99; letter-spacing: -.065em; font-weight: 650; }
.hero h1 span { color: #b8d9f8; text-shadow: 0 0 42px rgba(74, 158, 240, .18); }
.hero-copy > p:not(.availability) { max-width: 640px; margin: 34px 0 0; color: #9eb0c2; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 21px; border: 1px solid transparent; border-radius: 10px; font-size: 14px; font-weight: 600; transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, #0978ef, #168cff); box-shadow: 0 16px 40px rgba(10, 121, 238, .22), inset 0 1px rgba(255,255,255,.2); }
.button-primary:hover, .button-primary:focus-visible { box-shadow: 0 20px 46px rgba(10, 121, 238, .34), inset 0 1px rgba(255,255,255,.25); }
.button-secondary { border-color: var(--line-bright); background: rgba(5, 16, 27, .55); }
.button-secondary:hover, .button-secondary:focus-visible { border-color: rgba(103, 181, 255, .7); background: rgba(18, 63, 104, .24); }
.availability { display: flex; align-items: center; gap: 9px; margin: 24px 0 0; color: var(--muted-2); font-size: 12px; }
.availability span { width: 6px; height: 6px; }

.product-shell { position: relative; z-index: 3; width: min(100%, 1160px); margin: 100px auto 0; overflow: hidden; border: 1px solid rgba(106, 177, 244, .55); border-radius: var(--radius); background: rgba(4, 12, 21, .92); box-shadow: 0 50px 130px rgba(0,0,0,.6), 0 0 70px rgba(27, 131, 232, .14), inset 0 0 40px rgba(38, 126, 210, .04); }
.product-shell::after { content: ""; position: absolute; z-index: -1; left: 8%; right: 8%; bottom: -32px; height: 36px; background: #168bfa; filter: blur(38px); opacity: .55; }
.window-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 48px; padding: 0 16px; border-bottom: 1px solid var(--line); background: rgba(10, 24, 38, .88); color: var(--muted); font-size: 11px; }
.traffic-lights { display: flex; gap: 7px; }
.traffic-lights span { width: 10px; height: 10px; border-radius: 50%; background: #ff705e; }
.traffic-lights span:nth-child(2) { background: #f2bd4d; }
.traffic-lights span:nth-child(3) { background: #53c96a; }
.window-title { color: #d9e6f1; }
.window-state { justify-self: end; }
.app-layout { display: grid; grid-template-columns: 220px minmax(420px, 1fr) 285px; min-height: 600px; }
.capability-panel, .run-panel { padding: 20px 16px; background: rgba(6, 16, 27, .78); }
.capability-panel { border-right: 1px solid var(--line); }
.run-panel { border-left: 1px solid var(--line); }
.panel-label { margin: 0 0 14px; color: #dbe9f4; font-size: 12px; font-weight: 650; }
.search-field { padding: 10px 11px; border: 1px solid var(--line); border-radius: 7px; color: #5d7287; font-size: 10px; }
.group-label { margin: 24px 0 9px; color: var(--muted-2); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.capability-list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.capability-list li { display: grid; grid-template-columns: 25px 1fr 12px; align-items: center; gap: 8px; min-height: 39px; padding: 0 8px; border: 1px solid transparent; border-radius: 7px; color: #b9c9d7; font-size: 10px; }
.capability-list li:hover { border-color: var(--line); background: rgba(21, 61, 96, .16); }
.capability-list i { justify-self: end; width: 3px; height: 3px; border-radius: 50%; background: #40576c; box-shadow: 0 -5px #40576c, 0 5px #40576c; }
.cap-icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 6px; background: rgba(29, 127, 225, .13); color: var(--blue-bright); font-size: 8px; font-style: normal; }
.cap-icon.violet { background: rgba(142,120,255,.13); color: var(--violet); }
.cap-icon.amber { background: rgba(226,171,82,.13); color: var(--amber); }
.cap-icon.cyan { background: rgba(61,214,230,.13); color: var(--cyan); }
.cap-icon.green { background: rgba(84,217,148,.13); color: var(--green); }
.add-capability { width: 100%; min-height: 36px; margin-top: 22px; border: 1px dashed rgba(122, 167, 209, .25); border-radius: 7px; background: rgba(12, 36, 59, .18); color: #70869b; font-size: 10px; }
.workflow-canvas { min-width: 0; }
.canvas-toolbar { display: flex; align-items: center; justify-content: space-between; height: 46px; padding: 0 14px; border-bottom: 1px solid var(--line); color: #b7c8d7; font-size: 10px; }
.canvas-toolbar div { display: flex; gap: 7px; }
.canvas-toolbar button { min-height: 27px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: #64798c; font-size: 9px; }
.canvas-toolbar .run-button { border-color: rgba(33, 132, 226, .44); background: rgba(19, 99, 179, .22); color: #83bdf4; }
.canvas-grid { position: relative; min-height: 554px; overflow: hidden; background-image: radial-gradient(circle, rgba(122, 170, 214, .19) 1px, transparent 1px); background-size: 20px 20px; }
.canvas-grid::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(14, 58, 99, .17), transparent 67%); }
.flow-node { position: absolute; z-index: 2; display: grid; place-items: center; width: 132px; min-height: 64px; border: 1px solid; border-radius: 10px; background: rgba(6, 18, 30, .94); box-shadow: 0 12px 30px rgba(0,0,0,.32), inset 0 0 22px rgba(255,255,255,.02); }
.flow-node small { color: var(--muted); font-size: 9px; }
.flow-node strong { margin-top: 4px; color: #d9e6f1; font-size: 10px; font-weight: 550; }
.node-start { top: 38px; left: 50%; transform: translateX(-50%); border-color: rgba(84,217,148,.68); }
.node-search { top: 148px; left: 50%; transform: translateX(-50%); border-color: rgba(142,120,255,.68); }
.node-model { top: 258px; left: calc(50% - 95px); transform: translateX(-50%); border-color: rgba(54,154,255,.78); }
.node-code { top: 258px; left: calc(50% + 95px); transform: translateX(-50%); border-color: rgba(226,171,82,.68); }
.node-result { top: 406px; left: 50%; transform: translateX(-50%); border-color: rgba(61,214,230,.68); }
.flow-line { position: absolute; z-index: 1; width: 1px; background: rgba(153, 191, 225, .6); }
.flow-line::after { content: ""; position: absolute; bottom: -1px; left: -3px; width: 5px; height: 5px; border-right: 1px solid #a6c9e8; border-bottom: 1px solid #a6c9e8; transform: rotate(45deg); }
.line-one { top: 103px; left: 50%; height: 44px; }
.line-two { top: 213px; left: 50%; width: 191px; height: 1px; background: transparent; border-top: 1px solid rgba(153,191,225,.55); border-left: 1px solid rgba(153,191,225,.55); border-right: 1px solid rgba(153,191,225,.55); }
.line-two::after { left: calc(100% - 3px); top: 40px; bottom: auto; }
.line-three { top: 323px; left: calc(50% - 95px); width: 190px; height: 73px; background: transparent; border-left: 1px solid rgba(153,191,225,.55); border-right: 1px solid rgba(153,191,225,.55); border-bottom: 1px solid rgba(153,191,225,.55); }
.line-three::after { left: 50%; bottom: -4px; }
.line-four { top: 396px; left: 50%; height: 9px; }
.run-heading, .run-meta { display: flex; justify-content: space-between; align-items: center; }
.run-heading { color: #d6e5f2; font-size: 11px; }
.live-dot { color: var(--green); font-size: 8px; }
.live-dot::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.run-meta { margin-top: 21px; padding-bottom: 15px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 9px; }
.run-meta strong { color: #cbd9e5; font-size: 10px; }
.timeline { position: relative; display: grid; gap: 18px; margin: 20px 0 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; top: 6px; bottom: 10px; left: 6px; width: 1px; background: var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 13px 1fr auto; gap: 9px; align-items: start; color: #65798c; font-size: 9px; }
.timeline li > span { z-index: 1; width: 13px; height: 13px; border: 3px solid #0b1723; border-radius: 50%; background: #31465a; }
.timeline li.done > span { background: var(--green); box-shadow: 0 0 12px rgba(84,217,148,.38); }
.timeline li.active > span { background: var(--blue); box-shadow: 0 0 12px rgba(22,132,255,.55); }
.timeline strong, .timeline small { display: block; }
.timeline strong { color: #aebdca; font-size: 9px; font-weight: 550; }
.timeline li.active strong { color: #e2edf6; }
.timeline small { margin-top: 4px; color: #61778b; font-size: 8px; }
.timeline time { color: #506579; font-size: 8px; }
.console-log { margin: 28px -16px -20px; padding: 13px 16px 16px; border-top: 1px solid var(--line); background: rgba(1, 7, 12, .52); color: #5e7488; font: 8px/1.8 ui-monospace, SFMono-Regular, Menlo, monospace; }
.console-log p { margin: 0; }
.console-log time { color: #3f8ccd; }

.section { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 130px 0; }
.section-heading { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(420px, 1.2fr); column-gap: 80px; align-items: end; }
.section-index { grid-column: 1 / -1; margin: 0 0 26px; color: var(--blue-bright); font: 600 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; }
.section-heading h2, .open-copy h2, .coming-copy h2 { margin: 0; font-size: clamp(38px, 5vw, 68px); line-height: 1.06; letter-spacing: -.05em; font-weight: 600; }
.section-heading > p:last-child, .open-copy > p, .coming-copy > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.85; }
.advantage-list { margin-top: 90px; border-top: 1px solid var(--line); }
.advantage { display: grid; grid-template-columns: 90px 330px 1fr; gap: 55px; align-items: center; min-height: 280px; border-bottom: 1px solid var(--line); }
.advantage-number { align-self: start; padding-top: 48px; color: #46627c; font: 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.advantage-visual { position: relative; width: 280px; height: 170px; }
.advantage-copy { max-width: 450px; }
.advantage-copy h3 { margin: 0 0 14px; font-size: 27px; letter-spacing: -.035em; font-weight: 560; }
.advantage-copy p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.visual-blocks { display: grid; place-items: center; }
.visual-blocks::before, .visual-trace::before, .visual-local::before { content: ""; position: absolute; inset: 20px 0; border: 1px solid rgba(45, 132, 219, .15); border-radius: 50%; box-shadow: 0 0 50px rgba(29, 120, 210, .08); }
.visual-blocks span { position: absolute; width: 58px; height: 58px; border: 1px solid rgba(81, 169, 255, .65); background: linear-gradient(145deg, rgba(31,126,222,.22), rgba(8,25,42,.7)); box-shadow: 0 0 25px rgba(39,140,238,.16); transform: rotate(30deg) skewY(-8deg); }
.visual-blocks span:nth-child(1) { left: 93px; top: 44px; }
.visual-blocks span:nth-child(2) { left: 143px; top: 75px; width: 38px; height: 38px; }
.visual-blocks span:nth-child(3) { left: 67px; top: 96px; width: 31px; height: 31px; }
.visual-blocks i { position: absolute; top: 36px; left: 85px; width: 100px; height: 100px; border: 1px solid rgba(49,150,247,.22); border-radius: 50%; }
.visual-trace { display: flex; align-items: center; justify-content: center; gap: 19px; }
.visual-trace i { position: absolute; top: 50%; left: 58px; right: 58px; height: 1px; background: linear-gradient(90deg, transparent, rgba(59,155,249,.7), transparent); }
.visual-trace span { z-index: 1; width: 17px; height: 17px; border: 4px solid #081421; border-radius: 50%; background: #1a80e5; box-shadow: 0 0 16px rgba(44,148,244,.58); }
.visual-trace span:first-of-type, .visual-trace span:last-of-type { background: var(--green); box-shadow: 0 0 16px rgba(84,217,148,.4); }
.visual-local { display: grid; place-items: center; }
.visual-local > div { z-index: 1; display: flex; align-items: center; gap: 14px; width: 112px; height: 82px; padding: 0 22px; border: 1px solid rgba(85,174,255,.66); border-radius: 14px; background: rgba(10,28,47,.8); box-shadow: 0 0 28px rgba(39,143,240,.16), inset 0 0 22px rgba(33,133,227,.1); color: var(--blue-bright); font: 29px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.visual-local i { color: #dcebf7; font-size: 20px; font-style: normal; }
.visual-local b { position: absolute; width: 150px; height: 120px; border: 1px solid rgba(40,132,220,.14); border-radius: 40%; transform: rotate(-12deg); }

.workflow-section { padding-top: 160px; }
.workflow-section .section-heading { grid-template-columns: 1fr; }
.workflow-steps { display: grid; grid-template-columns: 1fr 60px 1fr 60px 1fr; align-items: center; margin-top: 86px; }
.workflow-step { min-width: 0; }
.step-heading { display: flex; align-items: baseline; gap: 12px; }
.step-heading span { color: var(--blue); font: 600 22px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.step-heading h3 { margin: 0; font-size: 24px; letter-spacing: -.035em; font-weight: 560; }
.workflow-step > p { min-height: 52px; margin: 17px 0 26px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.step-arrow { color: #52718d; font-size: 28px; text-align: center; }
.step-demo { position: relative; height: 235px; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: rgba(6, 16, 27, .55); }
.select-demo { display: grid; align-content: center; gap: 9px; padding: 25px; }
.select-demo span { display: flex; align-items: center; justify-content: space-between; min-height: 39px; padding: 0 12px; border: 1px solid rgba(111,166,219,.13); border-radius: 7px; background: rgba(17,50,79,.28); color: #aec3d5; font-size: 10px; }
.select-demo i { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 9px var(--blue); }
.select-demo span:nth-child(2) i { background: var(--violet); box-shadow: 0 0 9px var(--violet); }
.select-demo span:nth-child(3) i { background: var(--amber); box-shadow: 0 0 9px var(--amber); }
.select-demo span:nth-child(4) i { background: var(--cyan); box-shadow: 0 0 9px var(--cyan); }
.compose-demo { background-image: radial-gradient(circle, rgba(122,170,214,.14) 1px, transparent 1px); background-size: 18px 18px; }
.compose-demo span { position: absolute; width: 78px; height: 50px; border: 1px solid rgba(57,151,243,.6); border-radius: 7px; background: rgba(17,73,127,.25); }
.compose-demo span:nth-child(1) { left: 35px; top: 48px; }
.compose-demo span:nth-child(2) { right: 35px; top: 48px; border-color: rgba(143,119,255,.58); background: rgba(81,55,142,.23); }
.compose-demo span:nth-child(3) { left: 50%; top: 143px; transform: translateX(-50%); border-color: rgba(226,171,82,.58); background: rgba(118,80,23,.22); }
.compose-demo i, .compose-demo b { position: absolute; top: 73px; width: 70px; height: 69px; border-bottom: 1px solid rgba(132,181,225,.5); }
.compose-demo i { left: 93px; border-right: 1px solid rgba(132,181,225,.5); }
.compose-demo b { right: 93px; border-left: 1px solid rgba(132,181,225,.5); }
.observe-demo { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 18px; padding: 25px; }
.observe-demo > div { display: grid; gap: 22px; }
.observe-demo > div span { position: relative; width: 76%; height: 4px; margin-left: 13px; border-radius: 3px; background: #1f405d; }
.observe-demo > div span::before { content: ""; position: absolute; left: -14px; top: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(84,217,148,.5); }
.observe-demo > div span:nth-child(2) { width: 94%; }
.observe-demo > div span:nth-child(3) { width: 65%; }
.observe-demo > div span:nth-child(4) { width: 85%; }
.observe-demo svg { width: 100%; overflow: visible; }
.observe-demo path { fill: none; stroke: var(--blue); stroke-width: 2; filter: drop-shadow(0 0 5px rgba(22,132,255,.45)); }

.open-source { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 110px; align-items: center; width: 100%; max-width: none; margin-top: 100px; padding: 180px max(24px, calc((100vw - var(--max)) / 2)); overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(5,16,27,.3), rgba(9,25,42,.56)); }
.open-grid { position: absolute; inset: 0; opacity: .4; background-image: linear-gradient(rgba(76,139,199,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(76,139,199,.06) 1px, transparent 1px); background-size: 54px 54px; mask-image: radial-gradient(circle at 70% 50%, #000, transparent 68%); }
.open-copy, .repo-preview { position: relative; z-index: 1; }
.open-copy > p { max-width: 560px; margin-top: 28px; }
.text-link { display: inline-flex; gap: 10px; margin-top: 32px; color: #8ec8ff; font-size: 14px; font-weight: 600; }
.text-link:hover, .text-link:focus-visible { color: #c8e5ff; }
.repo-preview { overflow: hidden; border: 1px solid rgba(92,164,231,.35); border-radius: 18px; background: rgba(3,11,19,.8); box-shadow: 0 30px 80px rgba(0,0,0,.35), 0 0 50px rgba(29,113,195,.08); }
.repo-top { display: flex; align-items: center; gap: 13px; padding: 22px; border-bottom: 1px solid var(--line); }
.repo-top small, .repo-top strong { display: block; }
.repo-top small { color: var(--muted-2); font-size: 9px; }
.repo-top strong { margin-top: 4px; color: #dbe8f3; font-size: 13px; }
.repo-row { display: flex; justify-content: space-between; align-items: center; min-height: 58px; padding: 0 22px; border-bottom: 1px solid rgba(130,172,211,.1); color: #8ea4b8; font: 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.repo-row:last-child { border-bottom: 0; }
.repo-row i { padding: 5px 8px; border: 1px solid rgba(104,158,208,.2); border-radius: 999px; color: #5e86a9; font-size: 8px; font-style: normal; }

.coming-soon { position: relative; display: grid; place-items: center; min-height: 680px; overflow: hidden; text-align: center; }
.coming-copy { position: relative; z-index: 2; max-width: 820px; }
.coming-copy .section-index { margin-bottom: 24px; }
.coming-copy > p { max-width: 630px; margin: 26px auto 0; }
.hero-actions.centered { justify-content: center; }
.closing-orbits { position: absolute; left: 50%; bottom: -340px; width: 1200px; height: 650px; transform: translateX(-50%); }
.closing-orbits i { position: absolute; inset: 0; border: 1px solid rgba(43,130,213,.2); border-radius: 50%; }
.closing-orbits i:nth-child(2) { inset: 75px 110px; }
.closing-orbits i:nth-child(3) { inset: 140px 220px; box-shadow: 0 -30px 100px rgba(22,132,255,.12); }

.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: min(calc(100% - 48px), var(--max)); min-height: 96px; margin: 0 auto; border-top: 1px solid var(--line); }
.site-footer p { color: var(--muted-2); font-size: 10px; }
.site-footer nav { display: flex; justify-content: flex-end; gap: 24px; }
.footer-brand { font-size: 13px; }

.reveal { opacity: 1; transform: none; }
.motion-ready .hero-copy,
.motion-ready .product-shell { animation: settle-in 760ms cubic-bezier(.2,.7,.2,1) both; }
.motion-ready .product-shell { animation-delay: 130ms; }

@keyframes settle-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1050px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .app-layout { grid-template-columns: 190px 1fr 250px; }
  .advantage { grid-template-columns: 50px 280px 1fr; gap: 35px; }
  .workflow-steps { grid-template-columns: 1fr; gap: 60px; }
  .step-arrow { display: none; }
  .workflow-step > p { min-height: auto; }
  .step-demo { height: 250px; }
}

@media (max-width: 820px) {
  .site-header { top: 12px; width: calc(100% - 24px); min-height: 58px; padding: 0 10px 0 14px; }
  .header-actions { display: none; }
  .menu-button { position: relative; display: grid; place-items: center; justify-self: end; width: 40px; height: 40px; border: 0; border-radius: 8px; background: rgba(30,78,119,.18); }
  .menu-button span:not(.sr-only) { position: absolute; width: 18px; height: 1px; background: #c5d6e4; transition: transform 180ms ease, top 180ms ease; }
  .menu-button span:nth-child(2) { top: 16px; }
  .menu-button span:nth-child(3) { top: 23px; }
  .menu-button[aria-expanded="true"] span:nth-child(2) { top: 20px; transform: rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); }
  .site-nav.open { position: absolute; top: 68px; left: 0; right: 0; display: grid; gap: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: rgba(3,11,19,.96); box-shadow: 0 20px 50px rgba(0,0,0,.4); }
  .site-nav.open a { padding: 16px 18px; border-bottom: 1px solid var(--line); }
  .site-nav.open a:last-child { border-bottom: 0; }
  .hero { min-height: auto; padding: 155px 20px 100px; }
  .hero-orbit { top: -40px; left: 14%; width: 730px; height: 510px; opacity: .8; }
  .hero h1 { font-size: clamp(48px, 13vw, 72px); }
  .hero-copy > p:not(.availability) { max-width: 520px; font-size: 16px; line-height: 1.75; }
  .product-shell { margin-top: 72px; }
  .app-layout { grid-template-columns: 1fr; }
  .capability-panel, .run-panel { display: none; }
  .canvas-grid { min-height: 510px; }
  .section { width: min(calc(100% - 40px), var(--max)); padding: 100px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-heading > p:last-child { max-width: 560px; }
  .advantage { grid-template-columns: 45px 1fr; gap: 20px; padding: 42px 0; }
  .advantage-number { padding-top: 8px; }
  .advantage-visual { grid-column: 2; width: min(100%, 320px); }
  .advantage-copy { grid-column: 2; }
  .workflow-steps { margin-top: 60px; }
  .open-source { grid-template-columns: 1fr; gap: 60px; padding-top: 120px; padding-bottom: 120px; }
  .site-footer { grid-template-columns: 1fr auto; min-height: 120px; }
  .site-footer p { display: none; }
}

@media (max-width: 520px) {
  .brand { font-size: 13px; }
  .brand-mark { width: 29px; height: 29px; }
  .hero { padding-left: 18px; padding-right: 18px; background-size: 54px 54px; }
  .hero h1 { font-size: 47px; line-height: 1.03; letter-spacing: -.058em; }
  .hero h1 br { display: none; }
  .hero h1 span { display: block; margin-top: 7px; }
  .hero-copy > p:not(.availability) { margin-top: 25px; font-size: 15px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .availability { align-items: flex-start; line-height: 1.5; }
  .availability span { flex: 0 0 auto; margin-top: 5px; }
  .product-shell { width: calc(100% + 12px); margin-left: -6px; border-radius: 15px; }
  .window-state { display: none; }
  .window-bar { grid-template-columns: 1fr auto; }
  .window-title { justify-self: end; }
  .canvas-grid { min-height: 470px; }
  .flow-node { width: 112px; min-height: 58px; }
  .node-model { left: calc(50% - 70px); }
  .node-code { left: calc(50% + 70px); }
  .line-two { width: 141px; }
  .line-three { left: calc(50% - 70px); width: 140px; }
  .section { width: calc(100% - 36px); }
  .section-heading h2, .open-copy h2, .coming-copy h2 { font-size: 40px; }
  .advantage { grid-template-columns: 30px 1fr; }
  .advantage-visual { width: 260px; transform: translateX(-15px); }
  .advantage-copy h3 { font-size: 24px; }
  .workflow-step > p { margin-bottom: 20px; }
  .step-demo { height: 220px; }
  .open-source { padding-left: 18px; padding-right: 18px; }
  .repo-row { padding: 0 15px; }
  .coming-soon { min-height: 610px; }
  .site-footer { width: calc(100% - 36px); grid-template-columns: 1fr; gap: 18px; padding: 24px 0; }
  .site-footer nav { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
