/* A.S.T.R.O AI website, 1.1 "Launchpad" design.
   Same brand (peach, Instrument Serif, Inter, JetBrains Mono), rebuilt around the coding platform:
   blueprint grid, window chrome, mono labels, an interactive IDE hero. No external requests. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/instrument-serif-italic.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 100 800; font-display: swap; src: url("../fonts/jetbrains-mono.woff2") format("woff2"); }

:root {
  --bg: #0a0a0c; --bg-2: #0d0d10; --bg-3: #131317; --panel: #0e0e11; --panel-2: #121216; --code: #09090b;
  --line: rgba(255,255,255,.075); --line-2: rgba(255,255,255,.13); --line-3: rgba(255,255,255,.2);
  --glass: rgba(255,255,255,.03); --glass-2: rgba(255,255,255,.055);
  --text: #f4f4f5; --text-2: #a8a8b0; --text-3: #6f6f78;
  --peach: #f3a679; --peach-hi: #ffd2b0; --peach-lo: #f08a4b; --peach-ink: #1a0e06;
  --peach-a: rgba(243,166,121,.12); --peach-b: rgba(243,166,121,.28);
  --green: #6ee7b7; --amber: #fbbf24; --red: #f87171; --blue: #8b9cff; --violet: #c4a7ff;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --radius: 14px; --wrap: 1200px; --nav-h: 76px;
  --grad: linear-gradient(90deg, var(--peach-hi), var(--peach-lo));
  --ease: cubic-bezier(.2,.8,.2,1);
  /* code colours (the theme swatches on the home page change these) */
  --c-kw: #f3a679; --c-str: #a3e4b8; --c-fn: #9fb0ff; --c-num: #fbcf6b; --c-com: #6f6f78; --c-txt: #e6e6ea; --c-bg: #09090b;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); letter-spacing: -.006em;
  font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
/* blueprint grid + film grain on marketing pages */
body.site::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  mask-image: radial-gradient(120% 70% at 50% 0%, #000 0%, rgba(0,0,0,.55) 45%, transparent 80%);
  -webkit-mask-image: radial-gradient(120% 70% at 50% 0%, #000 0%, rgba(0,0,0,.55) 45%, transparent 80%); }
body.site::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p a:not(.btn), li a:not(.btn), td a:not(.btn), .prose a:not(.btn) { color: var(--peach); text-decoration: underline; text-decoration-color: rgba(243,166,121,.35); text-underline-offset: 3px; transition: text-decoration-color .2s; }
p a:not(.btn):hover, li a:not(.btn):hover, td a:not(.btn):hover, .prose a:not(.btn):hover { text-decoration-color: var(--peach); }
::selection { background: rgba(243,166,121,.3); color: #fff; }
:focus-visible { outline: 2px solid var(--peach); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--peach); color: var(--peach-ink); padding: 8px 14px; border-radius: 10px; }
.skip:focus { left: 12px; }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.mono { font-family: var(--mono); }
.small { font-size: 13px; }
.muted { color: var(--text-2); }
.serif { font-family: var(--serif); font-weight: 400; }
em.accent, .accent { font-family: var(--serif); font-style: italic; color: var(--peach); font-weight: 400; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
kbd, .kbd { font: 500 11.5px/1 var(--mono); padding: 3px 6px; border-radius: 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; color: var(--text); background: var(--glass); }

/* ---------------------------------------------------------------- type */
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.12; }
.display { font-family: var(--serif); font-weight: 400; letter-spacing: -.02em; line-height: .96; font-size: clamp(54px, 8.4vw, 120px); }
.h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.012em; line-height: 1.02; font-size: clamp(40px, 5.2vw, 66px); }
.h3 { font-size: 20px; letter-spacing: -.015em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 11.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--peach); }
.eyebrow::before { content: "//"; letter-spacing: 0; color: var(--peach-lo); opacity: .75; }
.eyebrow svg { width: 14px; height: 14px; margin-right: -2px; }
.eyebrow .no { color: var(--text-3); letter-spacing: .1em; }
.lead { font-size: clamp(17px, 1.55vw, 20px); line-height: 1.6; color: var(--text-2); max-width: 660px; }

/* ---------------------------------------------------------------- buttons */
.btn { --h: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 20px; border-radius: 12px;
  font: 600 15px/1 var(--sans); letter-spacing: -.01em; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .3s, background .3s, border-color .3s, color .2s; }
.btn-sm { --h: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { --h: 54px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn-primary { background: var(--grad); color: var(--peach-ink); box-shadow: 0 10px 34px -10px rgba(240,138,75,.6), inset 0 1px 0 rgba(255,255,255,.45); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 16px 44px -12px rgba(240,138,75,.8), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: var(--glass); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: var(--glass-2); border-color: var(--line-3); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .kbd { margin-left: 4px; background: rgba(0,0,0,.18); border-color: rgba(0,0,0,.2); color: inherit; }
.btn-block { width: 100%; }
.btn-danger { background: rgba(248,113,113,.12); border-color: rgba(248,113,113,.35); color: #fecaca; }
.btn-danger:hover { background: rgba(248,113,113,.2); }
.btn[disabled] { opacity: .55; pointer-events: none; }

/* ---------------------------------------------------------------- nav: a floating capsule */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); padding-top: 12px; pointer-events: none; }
.nav-inner { pointer-events: auto; height: 54px; width: min(var(--wrap), calc(100% - 32px)); margin-inline: auto; display: flex; align-items: center; gap: 22px;
  padding: 0 8px 0 14px; border-radius: 16px; border: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s; }
.nav.scrolled .nav-inner, body:has(.nav-toggle[aria-expanded="true"]) .nav-inner { background: rgba(14,14,17,.78); border-color: var(--line-2);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 18px 50px -24px rgba(0,0,0,.8); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 16px; letter-spacing: -.02em; }
.brand img { width: 28px; height: 28px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.nav-ver { font: 600 10.5px/1 var(--mono); letter-spacing: .06em; padding: 5px 7px; border-radius: 7px; color: var(--peach); background: var(--peach-a); box-shadow: inset 0 0 0 1px var(--peach-b); margin-left: -10px; }
.nav-ver:hover { color: var(--peach-hi); }
.nav-links { display: flex; gap: 2px; }
.nav-links a { padding: 8px 12px; border-radius: 10px; font-size: 14.5px; color: var(--text-2); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: var(--glass-2); }
.nav-links a[aria-current="page"] { color: var(--text); background: var(--glass-2); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-cta .nav-signin { margin-right: 2px; }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--glass); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform .3s, top .3s; }
.nav-toggle span:first-child { top: 15px; } .nav-toggle span:last-child { top: 23px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }
.mobile-menu { pointer-events: auto; position: fixed; inset: calc(var(--nav-h) + 4px) 16px auto; max-height: calc(100vh - var(--nav-h) - 20px); overflow-y: auto;
  background: rgba(14,14,17,.97); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--line-2); border-radius: 18px; padding: 10px 18px 18px; display: grid; gap: 2px; align-content: start; }
.mobile-menu a:not(.btn) { padding: 13px 4px; font-size: 17px; border-bottom: 1px solid var(--line); color: var(--text-2); }
.mobile-menu a[aria-current="page"] { color: var(--text); }
.mobile-menu .btn { margin-top: 14px; }
@media (max-width: 940px) { .nav-links { display: none; } .nav-toggle { display: inline-block; } .nav-cta .btn { display: none; } }
@media (max-width: 520px) { .nav-cta .nav-signin { display: none; } }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: calc(var(--nav-h) + 40px) 0 0; isolation: isolate; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero-copy { position: relative; max-width: 880px; margin-inline: auto; text-align: center; }
.hero h1 { margin: 22px 0 18px; }
.home .hero .display { font-size: clamp(50px, 7.4vw, 104px); }
.home .hero .lead { margin-bottom: 28px; }
.hero .lead { margin: 0 auto 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-copy .hero-actions { justify-content: center; }
.hero-meta { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font: 500 11.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--text-3); }
.hero-meta span:first-child::before { display: none; }
.announce { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(14,14,17,.6);
  font-size: 13.5px; color: var(--text-2); backdrop-filter: blur(8px); transition: border-color .2s, color .2s; }
.announce:hover { border-color: var(--peach-b); color: var(--text); }
.announce b { font: 600 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; background: var(--grad); color: var(--peach-ink); }
.announce .arrow { color: var(--peach); }

/* page hero (inner pages) */
.page-hero { position: relative; padding: calc(var(--nav-h) + 84px) 0 56px; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero::before { content: ""; position: absolute; z-index: -1; width: 1000px; height: 900px; left: 50%; top: -560px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(240,138,75,.2), transparent 70%); pointer-events: none; }
.page-hero::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--peach-b), transparent); }
.page-hero .h2 { margin: 18px 0 18px; font-size: clamp(48px, 7vw, 96px); }
.page-hero .lead { margin: 0; }
.page-hero.center { text-align: center; }
.page-hero.center .lead { margin-inline: auto; }
.page-hero .hero-actions { margin-top: 28px; }
.page-hero.center .hero-actions { justify-content: center; }
.crumbs { font: 500 12px/1 var(--mono); color: var(--text-3); letter-spacing: .04em; margin-bottom: 18px; }
.crumbs a:hover { color: var(--text); }

/* ---------------------------------------------------------------- window chrome */
.win { position: relative; border-radius: 16px; background: var(--panel); border: 1px solid var(--line-2); overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 50px 140px -40px rgba(0,0,0,.95), 0 40px 160px -70px rgba(240,138,75,.5); }
.win-bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)); }
.win-dots { display: flex; gap: 7px; flex: none; }
.win-dots i { width: 11px; height: 11px; border-radius: 50%; background: #2a2a30; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.win-dots i:first-child { background: #f3a679; } .win-dots i:nth-child(2) { background: #3a3a42; }
.win-title { flex: 1; text-align: center; font: 500 12px/1 var(--mono); color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-title b { color: var(--text-2); font-weight: 500; }
.win-meta { font: 500 11px/1 var(--mono); color: var(--text-3); display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.win-meta .live { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.win-meta .live.busy { background: var(--peach); box-shadow: 0 0 8px var(--peach); animation: pulse 1.2s infinite; }
.win-meta .live.wait { background: var(--amber); box-shadow: 0 0 8px var(--amber); animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.win img { width: 100%; height: auto; }

/* screenshot frame */
.frame { position: relative; border-radius: 16px; background: var(--panel); border: 1px solid var(--line-2); overflow: hidden;
  box-shadow: 0 50px 140px -40px rgba(0,0,0,.95), 0 40px 160px -70px rgba(240,138,75,.45); }
.frame::before { content: ""; display: block; height: 34px; border-bottom: 1px solid var(--line); background:
  radial-gradient(circle at 20px 17px, #f3a679 5px, transparent 5.5px), radial-gradient(circle at 38px 17px, #3a3a42 5px, transparent 5.5px), radial-gradient(circle at 56px 17px, #2a2a30 5px, transparent 5.5px),
  linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)); }
.frame img { width: 100%; height: auto; display: block; }
.frame.bare::before { display: none; }
.frame-glow { position: absolute; inset: -12% -6% auto; height: 70%; z-index: -1; background: radial-gradient(closest-side, rgba(240,138,75,.35), transparent 70%); filter: blur(30px); pointer-events: none; }
.showcase { position: relative; margin-top: -40px; padding-bottom: 40px; isolation: isolate; overflow-x: clip; }

/* ---------------------------------------------------------------- the IDE hero */
.ide-stage { position: relative; margin-top: 48px; padding-bottom: 24px; animation: ideIn 1.1s .35s var(--ease) both; }
@keyframes ideIn { from { opacity: 0; transform: translateY(40px) scale(.98); } to { opacity: 1; transform: none; } }
.ide-stage::before { content: ""; position: absolute; left: 50%; top: 8%; width: 80%; height: 70%; transform: translateX(-50%); z-index: -1;
  background: radial-gradient(closest-side, rgba(240,138,75,.28), transparent 70%); filter: blur(40px); }
.ide { height: 600px; display: grid; grid-template-rows: 40px 1fr; }
.ide-main { display: grid; grid-template-columns: 210px minmax(0, 1fr) 372px; min-height: 0; }
.ide-tree { border-right: 1px solid var(--line); padding: 10px 6px; font: 12.5px/1 var(--mono); color: var(--text-2); overflow: hidden; background: rgba(0,0,0,.12); }
.ide-tree .th { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px 10px; font: 600 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.ide-tree .f { display: flex; align-items: center; gap: 7px; height: 26px; padding: 0 8px; border-radius: 7px; white-space: nowrap; transition: background .3s, color .3s; }
.ide-tree .f i { width: 8px; height: 8px; border-radius: 2px; background: var(--text-3); flex: none; opacity: .7; }
.ide-tree .f.dir i { background: none; width: auto; height: auto; opacity: 1; font-style: normal; color: var(--text-3); font-size: 10px; }
.ide-tree .f.js i { background: #e8c26a; } .ide-tree .f.md i { background: var(--blue); } .ide-tree .f.json i { background: var(--green); }
.ide-tree .f.on { background: var(--peach-a); color: var(--text); }
.ide-tree .f em { margin-left: auto; font-style: normal; font-size: 10px; font-weight: 700; }
.ide-tree .f em.a { color: var(--green); } .ide-tree .f em.m { color: var(--amber); }
.ide-tree .f.new { animation: flash 1.4s var(--ease); }
@keyframes flash { 0% { background: rgba(110,231,183,.25); } 100% { background: transparent; } }
.ide-tree .d1 { padding-left: 22px; } .ide-tree .d2 { padding-left: 36px; }
.ide-center { display: grid; grid-template-rows: 36px minmax(0, 1fr) 168px; min-width: 0; min-height: 0; }
.ide-tabs { display: flex; align-items: stretch; border-bottom: 1px solid var(--line); background: rgba(0,0,0,.15); overflow: hidden; }
.ide-tab { display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; font: 12px/1 var(--mono); color: var(--text-3); border-right: 1px solid var(--line); white-space: nowrap; }
.ide-tab.on { color: var(--text); background: var(--code); box-shadow: inset 0 2px 0 var(--peach); }
.ide-tab .x { opacity: .5; }
.ide-code { position: relative; overflow: hidden; background: var(--c-bg); padding: 14px 0; font: 13px/1.75 var(--mono); color: var(--c-txt); transition: background .4s; }
.ide-code .ln { display: block; padding-right: 16px; white-space: pre; min-height: 22.75px; }
.ide-code .ln::before { content: attr(data-n); display: inline-block; width: 46px; padding-right: 16px; text-align: right; color: #3d3d45; user-select: none; }
.ide-code .ln.add { background: rgba(110,231,183,.08); box-shadow: inset 2px 0 0 var(--green); }
.ide-code .ln.add::before { color: var(--green); }
.ide-code .ln.cur::after { content: ""; display: inline-block; width: 2px; height: 1.2em; margin-left: 1px; vertical-align: -.2em; background: var(--peach); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ide-code .squig { text-decoration: underline wavy var(--red); text-underline-offset: 4px; }
.ide-code .ghost { color: #55555e; font-style: italic; }
.k { color: var(--c-kw); } .s { color: var(--c-str); } .fn { color: var(--c-fn); } .n { color: var(--c-num); } .c { color: var(--c-com); font-style: italic; }
.ide-term { border-top: 1px solid var(--line); background: #070709; display: grid; grid-template-rows: 30px 1fr; min-height: 0; }
.ide-term-h { display: flex; align-items: center; gap: 16px; padding: 0 14px; border-bottom: 1px solid var(--line); font: 600 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.ide-term-h span.on { color: var(--text); }
.ide-term-h span.on::after { content: ""; display: block; height: 2px; margin-top: 8px; margin-bottom: -10px; background: var(--peach); border-radius: 2px; }
.ide-term-b { padding: 10px 14px; font: 12.5px/1.7 var(--mono); color: var(--text-2); overflow: hidden; white-space: pre; display: flex; flex-direction: column; justify-content: flex-end; }
.ide-term-b .p { color: var(--peach); } .ide-term-b .ok { color: var(--green); } .ide-term-b .dim { color: var(--text-3); } .ide-term-b b { color: var(--text); font-weight: 600; }
.ide-agent { min-width: 0; border-left: 1px solid var(--line); display: grid; grid-template-rows: 44px minmax(0, 1fr) auto; min-height: 0; background: linear-gradient(180deg, rgba(255,255,255,.015), transparent); }
.ag-h { display: flex; align-items: center; gap: 10px; padding: 0 14px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.ag-h .dot { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: var(--peach-a); color: var(--peach); box-shadow: inset 0 0 0 1px var(--peach-b); }
.ag-h .dot svg { width: 13px; height: 13px; }
.ag-h small { margin-left: auto; font: 500 11px/1 var(--mono); color: var(--text-3); }
.ag-log { overflow: hidden; padding: 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; mask-image: linear-gradient(transparent, #000 60px); -webkit-mask-image: linear-gradient(transparent, #000 60px); }
.ag-item { animation: rise .45s var(--ease) both; font-size: 13px; }
.ag-user { align-self: flex-end; max-width: 88%; padding: 9px 12px; border-radius: 12px 12px 4px 12px; background: var(--glass-2); border: 1px solid var(--line); color: var(--text); }
.ag-note { font: 11.5px/1.5 var(--mono); color: var(--text-3); display: flex; flex-wrap: wrap; gap: 6px; }
.ag-note span { padding: 2px 7px; border-radius: 6px; background: var(--glass); border: 1px solid var(--line); }
.ag-say { color: var(--text-2); line-height: 1.5; }
.ag-tool { display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.02); font: 12px/1.3 var(--mono); color: var(--text-2); }
.ag-tool .ic { width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; flex: none; background: var(--glass-2); color: var(--text-3); font-size: 10px; }
.ag-tool b { color: var(--text); font-weight: 500; }
.ag-tool .st { margin-left: auto; flex: none; }
.ag-tool .st.run { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line-3); border-top-color: var(--peach); animation: spin .8s linear infinite; }
.ag-tool .st.ok { color: var(--green); } .ag-tool .st.wait { color: var(--amber); }
.ag-tool .plus { color: var(--green); } .ag-tool .minus { color: var(--red); }
@keyframes spin { to { transform: rotate(360deg); } }
.ag-todo { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: rgba(255,255,255,.02); }
.ag-todo h5 { margin: 0 0 6px; font: 600 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.ag-todo li { list-style: none; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-2); padding: 2px 0; transition: color .3s; }
.ag-todo ul { margin: 0; padding: 0; }
.ag-todo li i { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--line-3); flex: none; display: grid; place-items: center; font-style: normal; font-size: 9px; transition: all .3s; }
.ag-todo li.doing { color: var(--text); } .ag-todo li.doing i { border-color: var(--peach); }
.ag-todo li.done { color: var(--text-3); text-decoration: line-through; } .ag-todo li.done i { background: var(--green); border-color: var(--green); color: #06291b; }
.ag-ask { border: 1px solid rgba(251,191,36,.35); background: rgba(251,191,36,.06); border-radius: 12px; padding: 11px 12px; }
.ag-ask p { margin: 0 0 8px; font-size: 12.5px; color: var(--text); font-weight: 600; }
.ag-ask pre { max-width: 100%; text-overflow: ellipsis; margin: 0 0 10px; padding: 7px 9px; border-radius: 8px; background: rgba(0,0,0,.35); font: 11.5px/1.5 var(--mono); color: var(--text-2); white-space: pre; overflow: hidden; }
.ag-ask .row { display: flex; gap: 6px; flex-wrap: wrap; }
.ag-ask button { font: 600 11.5px/1 var(--sans); padding: 7px 10px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--glass); color: var(--text); cursor: default; transition: all .2s; }
.ag-ask button.hl { background: var(--grad); color: var(--peach-ink); border-color: transparent; transform: scale(.96); box-shadow: 0 0 0 4px rgba(243,166,121,.2); }
.ag-plan { border: 1px solid var(--peach-b); background: var(--peach-a); border-radius: 12px; padding: 11px 12px; font-size: 12.5px; }
.ag-plan h5 { margin: 0 0 6px; font: 600 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--peach); }
.ag-plan ol { margin: 0 0 10px; padding-left: 18px; color: var(--text-2); }
.ag-plan button { font: 600 11.5px/1 var(--sans); padding: 8px 11px; border-radius: 8px; border: 0; background: var(--grad); color: var(--peach-ink); cursor: pointer; }
.ag-done { border: 1px solid rgba(110,231,183,.3); background: rgba(110,231,183,.06); border-radius: 12px; padding: 11px 12px; font-size: 12.5px; color: var(--text-2); }
.ag-done b { color: var(--green); display: block; font-size: 13px; margin-bottom: 2px; }
.ag-done .row { display: flex; gap: 6px; margin-top: 8px; }
.ag-done .row span { font: 600 11px/1 var(--sans); padding: 6px 9px; border-radius: 7px; border: 1px solid var(--line-2); color: var(--text-2); }
.ag-foot { border-top: 1px solid var(--line); padding: 10px 12px 12px; }
.ag-input { height: 36px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(0,0,0,.25); display: flex; align-items: center; padding: 0 12px; font-size: 12.5px; color: var(--text-3); }
.ag-modes { display: flex; align-items: center; gap: 6px; margin-top: 9px; }
.ag-modes button { font: 600 11.5px/1 var(--sans); height: 28px; padding: 0 11px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); cursor: pointer; transition: all .2s; }
.ag-modes button:hover { color: var(--text); border-color: var(--line-3); }
.ag-modes button[aria-pressed="true"] { background: var(--peach-a); border-color: var(--peach-b); color: var(--peach-hi); }
.ag-modes .replay { margin-left: auto; width: 28px; padding: 0; display: grid; place-items: center; }
.ag-modes .replay svg { width: 14px; height: 14px; }
.ide-caption { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 18px; font: 500 12px/1.4 var(--mono); color: var(--text-3); }
.ide-caption b { color: var(--peach); font-weight: 500; }
@media (max-width: 1100px) { .ide-main { grid-template-columns: 180px minmax(0, 1fr) 330px; } }
@media (max-width: 920px) { .ide-main { grid-template-columns: minmax(0, 1fr) 320px; } .ide-tree { display: none; } }
@media (max-width: 700px) {
  .ide { height: 560px; }
  .ide-main { grid-template-columns: minmax(0, 1fr); }
  .ide-agent { min-width: 0; }
  .ag-h small { display: none; }
  .win-meta span { display: none; }
  .announce { font-size: 12.5px; }
  .announce .hide-sm { display: none; }
  .ide-center { display: none; }
  .ide-agent { border-left: 0; }
}

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(80px, 10vw, 136px) 0; position: relative; }
.section-tight { padding: clamp(56px, 7vw, 96px) 0; }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 60px); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head .h2 { margin: 18px 0 18px; }
.section-head p { margin: 0; color: var(--text-2); font-size: 18px; }
.section-head.row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section-head.row > div { max-width: 700px; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); border: 0; margin: 0; }
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.018), transparent); }

/* marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 52s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee.rev .marquee-track { animation-direction: reverse; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--glass); color: var(--text-2); font-size: 13.5px; white-space: nowrap; }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--peach); opacity: .8; }
.chip.mono { font: 12.5px/1 var(--mono); }
@keyframes marquee { to { transform: translateX(-50%); } }
.caption { text-align: center; color: var(--text-3); font: 500 11.5px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 22px; }

/* ---------------------------------------------------------------- cards / grids */
.card { position: relative; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012)); border: 1px solid var(--line);
  padding: 26px; overflow: hidden; transition: border-color .3s, transform .3s var(--ease), background .3s; }
.card:hover { border-color: var(--line-2); }
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(243,166,121,.11), transparent 60%); }
.card:hover::before { opacity: 1; }
/* blueprint corner marks */
.card::after { content: ""; position: absolute; inset: 7px; pointer-events: none; opacity: .5;
  background:
    linear-gradient(var(--line-3), var(--line-3)) top left / 9px 1px no-repeat, linear-gradient(var(--line-3), var(--line-3)) top left / 1px 9px no-repeat,
    linear-gradient(var(--line-3), var(--line-3)) top right / 9px 1px no-repeat, linear-gradient(var(--line-3), var(--line-3)) top right / 1px 9px no-repeat,
    linear-gradient(var(--line-3), var(--line-3)) bottom left / 9px 1px no-repeat, linear-gradient(var(--line-3), var(--line-3)) bottom left / 1px 9px no-repeat,
    linear-gradient(var(--line-3), var(--line-3)) bottom right / 9px 1px no-repeat, linear-gradient(var(--line-3), var(--line-3)) bottom right / 1px 9px no-repeat; }
.card h3 { font-size: 18.5px; margin: 16px 0 8px; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; }
.card .tag { position: absolute; top: 20px; right: 20px; font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.icon { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; color: var(--peach);
  background: linear-gradient(180deg, rgba(243,166,121,.18), rgba(243,166,121,.05)); box-shadow: inset 0 0 0 1px rgba(243,166,121,.24); }
.icon svg { width: 21px; height: 21px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.bento .card { grid-column: span 2; }
.bento .card.wide { grid-column: span 3; }
.bento .card.xl { grid-column: span 4; }
.bento .card.full { grid-column: 1 / -1; }
.bento .card.tall { grid-row: span 2; }
.card .shot { margin: 22px -26px -26px; border-top: 1px solid var(--line); }
.card .shot img { width: 100%; height: auto; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } .bento { grid-template-columns: repeat(2, 1fr); } .bento .card, .bento .card.wide, .bento .card.xl { grid-column: span 1; } .bento .card.xl, .bento .card.full { grid-column: 1 / -1; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4, .bento { grid-template-columns: 1fr; } .bento .card.xl { grid-column: span 1; } .card { padding: 22px; } .card .shot { margin: 18px -22px -22px; } }
.grid-3 > *, .grid-2 > *, .grid-4 > *, .bento > *, .split > *, .docs > *, .steps > * { min-width: 0; }

/* config-file compatibility cards */
.cfg { display: flex; flex-direction: column; gap: 10px; padding: 20px; }
.cfg code { font: 600 14px/1.3 var(--mono); color: var(--peach-hi); word-break: break-all; }
.cfg .what { font-size: 14px; color: var(--text); font-weight: 600; }
.cfg .who { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; }
.cfg .who span { font: 500 10.5px/1 var(--mono); padding: 5px 7px; border-radius: 6px; color: var(--text-2); background: var(--glass-2); border: 1px solid var(--line); }
.tools-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.tools-row span { font: 500 13px/1 var(--mono); padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); color: var(--text); display: inline-flex; align-items: center; gap: 8px; }
.tools-row span::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--grad); }

/* modes (Plan / Ask / Auto) */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mode { display: flex; flex-direction: column; padding: 0; }
.mode-h { padding: 22px 22px 0; }
.mode-h .lbl { display: inline-flex; align-items: center; gap: 8px; font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--peach); }
.mode-h h3 { font-family: var(--serif); font-weight: 400; font-size: 36px; letter-spacing: -.01em; margin: 10px 0 8px; }
.mode-h p { font-size: 14.5px; }
.mode.ask { border-color: var(--peach-b); box-shadow: 0 30px 80px -50px rgba(240,138,75,.6); }
.mode .badge { margin-left: 6px; }
.tx { margin: 20px 14px 14px; padding: 14px; border-radius: 11px; background: var(--code); border: 1px solid var(--line); font: 12px/1.85 var(--mono); color: var(--text-2); white-space: pre-wrap; flex: 1; }
.tx .u { color: var(--text); } .tx .p { color: var(--peach); } .tx .ok { color: var(--green); } .tx .w { color: var(--amber); } .tx .d { color: var(--text-3); }
.tx .btns { display: inline-flex; gap: 5px; vertical-align: middle; }
.tx .btns i { font-style: normal; font: 600 10.5px/1 var(--sans); padding: 4px 7px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--text); }
.tx .btns i.on { background: var(--grad); color: var(--peach-ink); border-color: transparent; }
@media (max-width: 980px) { .modes { grid-template-columns: 1fr; } }

/* small product mocks inside cards */
.mock { margin-top: 18px; border-radius: 11px; border: 1px solid var(--line); background: var(--code); overflow: hidden; }
.mock-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-top: 1px solid var(--line); font-size: 13px; }
.mock-row:first-child { border-top: 0; }
.mock-row .nm { font: 600 12.5px/1.2 var(--mono); color: var(--text); }
.mock-row .ds { color: var(--text-3); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; }
.mock-row .st { font: 600 10.5px/1 var(--mono); padding: 5px 7px; border-radius: 6px; flex: none; }
.mock-row .st.run { color: var(--green); background: rgba(110,231,183,.1); }
.mock-row .st.trust { color: var(--peach-ink); background: var(--grad); }
.mock-row .st.off { color: var(--text-3); background: var(--glass-2); }
.mock-row .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--text-3); }
.mock-row .dot.run { background: var(--green); box-shadow: 0 0 8px var(--green); } .mock-row .dot.warn { background: var(--amber); }
.mock-in { display: flex; gap: 8px; padding: 10px; }
.mock-in .f { flex: 1; min-width: 0; height: 34px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(255,255,255,.02); display: flex; align-items: center; padding: 0 10px; font: 12px/1 var(--mono); color: var(--text-2); overflow: hidden; white-space: nowrap; }
.mock-in .b { height: 34px; padding: 0 12px; border-radius: 8px; background: var(--grad); color: var(--peach-ink); font: 600 12.5px/34px var(--sans); flex: none; }
.mock-code { padding: 12px 14px; font: 12.5px/1.75 var(--mono); color: var(--c-txt); background: var(--c-bg); white-space: pre; overflow: hidden; transition: background .4s, color .4s; }
.swatches-row { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.swatches-row button { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--glass); color: var(--text-2); font: 500 12px/1 var(--sans); cursor: pointer; transition: all .2s; }
.swatches-row button i { width: 22px; height: 22px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.swatches-row button[aria-pressed="true"] { border-color: var(--peach-b); color: var(--text); background: var(--peach-a); }
.palette { margin-top: 18px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--code); overflow: hidden; }
.palette label { display: flex; align-items: center; gap: 8px; padding: 0 12px; height: 42px; border-bottom: 1px solid var(--line); font: 13px/1 var(--mono); color: var(--peach); }
.palette input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: 13px/1 var(--mono); }
.palette ul { list-style: none; margin: 0; padding: 6px; max-height: 214px; overflow: auto; }
.palette li { display: flex; gap: 12px; align-items: baseline; padding: 7px 8px; border-radius: 7px; font-size: 13px; }
.palette li:first-child { background: var(--glass-2); }
.palette li b { font: 600 12.5px/1.2 var(--mono); color: var(--text); min-width: 86px; }
.palette li span { color: var(--text-3); }
.palette li.none { color: var(--text-3); }

/* steps (One Brain) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; }
.step { position: relative; padding: 24px 22px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--glass); }
.step .n { font: 500 11.5px/1 var(--mono); letter-spacing: .16em; color: var(--peach); }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; letter-spacing: -.01em; margin: 14px 0 10px; }
.step p { margin: 0; color: var(--text-2); font-size: 15px; }
.step .bar { margin-top: 20px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.07); overflow: hidden; }
.step .bar i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 3px; transition: width 1.4s var(--ease); }
.steps.in .step:nth-child(1) .bar i { width: 100%; transition-delay: .1s; }
.steps.in .step:nth-child(2) .bar i { width: 100%; transition-delay: .7s; }
.steps.in .step:nth-child(3) .bar i { width: 100%; transition-delay: 1.3s; }
.steps.in .step:nth-child(4) .bar i { width: 100%; transition-delay: 1.9s; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* tabs (screenshot tour) */
.tabs { display: flex; gap: 4px; padding: 5px; margin: 0 auto 26px; width: max-content; max-width: 100%; overflow-x: auto; border-radius: 13px; border: 1px solid var(--line-2); background: var(--panel); }
.tab { border: 0; background: transparent; color: var(--text-2); font: 500 14px/1 var(--sans); padding: 10px 16px; border-radius: 9px; cursor: pointer; white-space: nowrap; transition: color .2s, background .25s; }
.tab:hover { color: var(--text); background: var(--glass-2); }
.tab[aria-selected="true"] { background: var(--grad); color: var(--peach-ink); font-weight: 600; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: rise .6s var(--ease); }
.tab-panel p.cap { text-align: center; color: var(--text-2); margin: 22px auto 0; max-width: 640px; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* split rows */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split .h2 { font-size: clamp(36px, 4.3vw, 56px); margin: 16px 0 16px; }
.split p { color: var(--text-2); font-size: 17px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 30px; color: var(--text); font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 5px;
  background: linear-gradient(var(--peach), var(--peach)) 50% 50% / 6px 6px no-repeat, rgba(243,166,121,.12); box-shadow: inset 0 0 0 1px rgba(243,166,121,.35); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

/* stat row */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); }
.stat { padding: 30px 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font: 400 clamp(44px, 5vw, 62px)/1 var(--serif); letter-spacing: -.02em; }
.stat b em { font-style: italic; color: var(--peach); }
.stat span { display: block; margin-top: 10px; color: var(--text-2); font-size: 14.5px; }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { border-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* code window (API) */
.codewin pre { margin: 0; padding: 18px 20px; font: 13px/1.75 var(--mono); color: var(--c-txt); background: var(--code); overflow-x: auto; white-space: pre; }

/* platforms */
.platform { display: flex; flex-direction: column; gap: 14px; }
.platform .os { display: flex; align-items: center; gap: 12px; }
.platform .os svg { width: 26px; height: 26px; color: var(--text); }
.platform h3 { margin: 0; font-size: 20px; }
.platform .files { display: grid; gap: 8px; margin-top: auto; min-width: 0; }
.platform .files > * { min-width: 0; }
.dl { display: flex; align-items: center; gap: 12px; padding: 12px 13px; border-radius: 11px; border: 1px solid var(--line); background: rgba(255,255,255,.02); transition: border-color .2s, background .2s; }
.dl:hover { border-color: rgba(243,166,121,.45); background: rgba(243,166,121,.06); }
.dl .t { display: grid; gap: 2px; min-width: 0; }
.dl .t b { font-weight: 600; font-size: 14.5px; }
.dl .t span { color: var(--text-3); font: 12px/1.3 var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dl .go { margin-left: auto; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--glass-2); color: var(--peach); flex: none; }
.dl .go svg { width: 16px; height: 16px; }
.dl.primary { background: linear-gradient(90deg, rgba(255,210,176,.12), rgba(240,138,75,.08)); border-color: rgba(243,166,121,.4); }
.dl.primary .go { background: var(--grad); color: var(--peach-ink); }
.card.recommended { border-color: rgba(243,166,121,.45); box-shadow: 0 30px 80px -40px rgba(240,138,75,.5); }

/* badges */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 7px; font: 600 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--peach-ink); background: var(--grad); white-space: nowrap; }
.badge.soft { color: var(--peach); background: rgba(243,166,121,.12); box-shadow: inset 0 0 0 1px rgba(243,166,121,.28); }
.badge.green, .badge.free { color: var(--green); background: rgba(110,231,183,.08); box-shadow: inset 0 0 0 1px rgba(110,231,183,.28); }
.badge.paid { color: var(--amber); background: rgba(251,191,36,.08); box-shadow: inset 0 0 0 1px rgba(251,191,36,.28); }
.badge.new { color: var(--peach-ink); background: var(--grad); }

/* sha */
.sha { display: flex; align-items: center; gap: 10px; margin-top: 2px; padding: 8px 9px 8px 12px; border-radius: 10px; background: rgba(0,0,0,.35); border: 1px solid var(--line); }
.sha code { font: 11.5px/1.4 var(--mono); color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
.copy { flex: none; border: 1px solid var(--line-2); background: var(--glass); color: var(--text-2); border-radius: 8px; font: 500 12px/1 var(--sans); padding: 7px 10px; cursor: pointer; transition: color .2s, border-color .2s; }
.copy:hover { color: var(--text); border-color: var(--line-3); }
.copy.done { color: var(--green); border-color: rgba(110,231,183,.4); }

/* faq */
.faq { display: grid; gap: 8px; max-width: 880px; margin-inline: auto; }
.faq details { border-radius: 13px; border: 1px solid var(--line); background: var(--glass); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: var(--line-2); background: rgba(255,255,255,.045); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; display: flex; align-items: center; gap: 16px; font-weight: 550; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "?"; flex: none; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font: 600 12px/1 var(--mono); color: var(--peach); background: var(--peach-a); }
.faq summary::after { content: ""; margin-left: auto; flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1px solid var(--line-2);
  background: linear-gradient(var(--text-2), var(--text-2)) center/9px 1.5px no-repeat, linear-gradient(var(--text-2), var(--text-2)) center/1.5px 9px no-repeat; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 20px 20px 60px; color: var(--text-2); }
.faq .a p { margin: 0 0 10px; } .faq .a p:last-child { margin: 0; }
@media (max-width: 560px) { .faq .a { padding-left: 20px; } }

/* cta band */
.cta { position: relative; overflow: hidden; border-radius: 22px; padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 80px); text-align: center; isolation: isolate;
  border: 1px solid var(--line-2); background: radial-gradient(120% 140% at 50% 120%, rgba(240,138,75,.3), transparent 60%), var(--panel); }
.cta canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.cta .h2 { margin: 18px auto 16px; max-width: 780px; }
.cta p { color: var(--text-2); margin: 0 auto 32px; max-width: 580px; font-size: 18px; }
.cta .hero-actions { justify-content: center; }
.cta .term-line { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line); background: rgba(0,0,0,.35); font: 12.5px/1 var(--mono); color: var(--text-2); }
.cta .term-line .p { color: var(--peach); }

/* ---------------------------------------------------------------- footer */
.footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 64px 0 28px; background: linear-gradient(180deg, transparent, rgba(255,255,255,.015)); position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand p { color: var(--text-2); max-width: 360px; font-size: 14.5px; margin: 16px 0 0; }
.footer-brand p.mono { color: var(--text-3); font-size: 12px; letter-spacing: .04em; }
.footer-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 7px 11px; border-radius: 9px; border: 1px solid var(--line); background: var(--glass); font: 500 11.5px/1 var(--mono); color: var(--text-2); }
.footer-status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.footer h4 { font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin: 6px 0 16px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 10px; }
.footer-grid a:not(.brand) { color: var(--text-2); font-size: 14.5px; transition: color .2s; width: max-content; }
.footer-grid a:not(.brand):hover { color: var(--text); }
.footer-word { font: 400 clamp(58px, 12.5vw, 176px)/.8 var(--serif); letter-spacing: -.03em; text-align: center; margin: 56px 0 -.18em; user-select: none; pointer-events: none;
  background: linear-gradient(180deg, rgba(243,166,121,.22), rgba(243,166,121,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-word em { font-style: italic; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 13px; position: relative; }
.footer-base .mono { font-size: 11.5px; letter-spacing: .04em; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- docs */
.docs { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; padding: 48px 0 80px; }
.toc { position: sticky; top: calc(var(--nav-h) + 20px); max-height: calc(100vh - var(--nav-h) - 40px); overflow: auto; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); }
.toc h4 { font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); margin: 20px 0 8px; }
.toc h4:first-child { margin-top: 0; }
.toc a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--text-2); font-size: 14px; border-left: 2px solid transparent; transition: color .2s, background .2s, border-color .2s; }
.toc a:hover { color: var(--text); background: var(--glass-2); }
.toc a.active { color: var(--text); border-left-color: var(--peach); background: rgba(243,166,121,.08); border-radius: 0 8px 8px 0; }
@media (max-width: 900px) { .docs { grid-template-columns: minmax(0, 1fr); gap: 24px; } .toc { position: static; max-height: none; } }

.prose { max-width: 780px; color: var(--text-2); font-size: 16.5px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { color: var(--text); font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.8vw, 44px); letter-spacing: -.01em; margin-top: 2.2em; padding-top: 1.1em; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { color: var(--text); font-size: 19px; margin-top: 1.9em; }
.prose p, .prose li { line-height: 1.75; }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--peach); }
.prose code { font: 0.86em/1.5 var(--mono); color: var(--peach-hi); background: rgba(243,166,121,.08); border: 1px solid rgba(243,166,121,.14); padding: .12em .42em; border-radius: 6px; }
.prose pre { position: relative; background: var(--code); border: 1px solid var(--line-2); border-radius: 12px; padding: 44px 84px 18px 20px; overflow: auto; }
.prose pre::before { content: ""; position: absolute; left: 14px; top: 13px; width: 40px; height: 9px; background:
  radial-gradient(circle at 4.5px 4.5px, #f3a679 4px, transparent 4.5px), radial-gradient(circle at 18.5px 4.5px, #3a3a42 4px, transparent 4.5px), radial-gradient(circle at 32.5px 4.5px, #2a2a30 4px, transparent 4.5px); }
.prose pre code { background: none; border: 0; padding: 0; color: #e6e6ea; font-size: 13.5px; line-height: 1.7; }
.prose pre .copy { position: absolute; top: 8px; right: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--text); font-weight: 600; font-size: 13px; letter-spacing: .02em; background: rgba(255,255,255,.03); }
.prose kbd { font: 12px/1 var(--mono); padding: 3px 7px; border-radius: 6px; border: 1px solid var(--line-2); border-bottom-width: 2px; color: var(--text); background: var(--glass); }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.prose img { border-radius: 12px; border: 1px solid var(--line); }
.prose figure { margin: 1.6em 0; }
.prose figcaption { color: var(--text-3); font-size: 13.5px; margin-top: 10px; text-align: center; }
.callout { display: flex; gap: 14px; padding: 16px 18px; border-radius: 12px; border: 1px solid rgba(243,166,121,.25); background: rgba(243,166,121,.06); color: var(--text-2); font-size: 15.5px; }
.callout::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 9px; border-radius: 2px; background: var(--peach); box-shadow: 0 0 10px var(--peach); }
.callout.warn { border-color: rgba(251,191,36,.28); background: rgba(251,191,36,.06); }
.callout.warn::before { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.callout.new { border-color: var(--peach-b); background: linear-gradient(90deg, rgba(255,210,176,.08), rgba(240,138,75,.04)); }
.callout b { color: var(--text); }
@media (max-width: 520px) { .prose pre { padding-right: 20px; } }

/* ---------------------------------------------------------------- blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.post-card { display: flex; flex-direction: column; padding: 0; }
.post-card .cover { aspect-ratio: 16 / 9; background: #08080a; border-bottom: 1px solid var(--line); overflow: hidden; }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .cover img { transform: scale(1.03); }
.post-card .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 28px; letter-spacing: -.01em; line-height: 1.1; }
.post-card .meta, .post-meta { font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.post-card p { color: var(--text-2); font-size: 15px; margin: 0; }
.post-card .more { margin-top: auto; padding-top: 8px; color: var(--peach); font-weight: 600; font-size: 14.5px; }
.post-card.featured { grid-column: 1 / -1; flex-direction: row; }
.post-card.featured .cover { aspect-ratio: auto; width: 56%; border-bottom: 0; border-right: 1px solid var(--line); }
.post-card.featured .body { padding: 36px; justify-content: center; }
.post-card.featured h3 { font-size: clamp(34px, 3.6vw, 48px); }
@media (max-width: 980px) { .posts { grid-template-columns: 1fr 1fr; } .post-card.featured { flex-direction: column; } .post-card.featured .cover { width: 100%; aspect-ratio: 16 / 9; border-right: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } }
.article { max-width: 780px; margin-inline: auto; padding: 0 0 60px; }
.article .post-meta { margin-bottom: 14px; display: flex; gap: 14px; flex-wrap: wrap; }
.article .cover { margin: 40px 0 48px; }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font: 500 13px/1 var(--mono); margin-bottom: 26px; }
.back:hover { color: var(--text); }

/* ---------------------------------------------------------------- changelog */
.timeline { position: relative; max-width: 880px; margin-inline: auto; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--peach), var(--line) 30%, var(--line)); }
.release { position: relative; padding: 0 0 56px; }
.release::before { content: ""; position: absolute; left: -40px; top: 10px; width: 15px; height: 15px; border-radius: 4px; background: var(--bg); border: 2px solid var(--peach); box-shadow: 0 0 0 4px rgba(243,166,121,.12); }
.release.latest::before { background: var(--peach); box-shadow: 0 0 0 5px rgba(243,166,121,.18), 0 0 20px var(--peach); }
.release header { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.release h2 { font-family: var(--serif); font-weight: 400; font-size: 48px; letter-spacing: -.01em; }
.release time { font: 500 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.release h3 { font: 500 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--peach); margin: 26px 0 12px; }
.release.latest { padding: 28px 28px 32px; margin-bottom: 48px; border: 1px solid var(--peach-b); border-radius: var(--radius); background: linear-gradient(180deg, rgba(243,166,121,.06), transparent 50%); }
.release.latest::before { left: -40px; top: 38px; }
.release code { font: .88em var(--mono); color: var(--peach-hi); }

/* ---------------------------------------------------------------- press */
.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.swatch { border-radius: 14px; border: 1px solid var(--line); overflow: hidden; background: var(--glass); }
.swatch i { display: block; height: 96px; }
.swatch div { padding: 12px 14px; }
.swatch b { display: block; font-size: 14px; }
.swatch code { font: 12px var(--mono); color: var(--text-3); }
@media (max-width: 820px) { .swatches { grid-template-columns: repeat(2, 1fr); } }
.asset { display: flex; flex-direction: column; gap: 16px; }
.asset .preview { border-radius: 12px; background: radial-gradient(circle at 50% 40%, rgba(240,138,75,.18), transparent 70%), #08080a; border: 1px solid var(--line);
  aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 18px; overflow: hidden; }
.asset .preview img { width: auto; max-width: 100%; max-height: 240px; object-fit: contain; }
.asset .preview[style*="padding:0"] img { width: 100%; max-height: none; height: 100%; object-fit: cover; object-position: top left; }
.asset .preview.light { background: #f4f1ee; }
.asset .preview.vertical { position: relative; overflow: hidden; }
.asset .preview.vertical[style*="padding:0"] img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.type-sample { display: grid; gap: 4px; }
.type-sample .big { font-size: 56px; line-height: 1; color: var(--text); }

/* 404 */
.lost { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + 40px) 0 40px; position: relative; isolation: isolate; overflow: hidden; }
.lost .display { font-size: clamp(120px, 22vw, 260px); }
.lost .term-404 { display: inline-block; text-align: left; margin: 0 auto 28px; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--code); font: 13px/1.8 var(--mono); color: var(--text-2); }
.lost .term-404 .p { color: var(--peach); } .lost .term-404 .e { color: var(--red); }

/* ---------------------------------------------------------------- API docs */
.api-hero-code { margin-top: 28px; }
.ep-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ep-table th, .ep-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ep-table th { color: var(--text-3); font-weight: 500; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; }
.method { font: 600 11.5px var(--mono); padding: 3px 7px; border-radius: 6px; background: rgba(110,231,183,.1); color: var(--green); }
.method.post { background: rgba(243,166,121,.12); color: var(--peach-hi); }
.table-wrap { overflow-x: auto; }

/* ---------------------------------------------------------------- reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; } .reveal[data-delay="2"] { transition-delay: .16s; } .reveal[data-delay="3"] { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .tab-panel.active, .ag-item, .ide-stage { animation: none; }
  .steps .step .bar i { width: 100% !important; transition: none; }
  .win-meta .live, .ide-code .ln.cur::after { animation: none; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 32px); }
  .hero-actions .btn { width: 100%; }
  .card .shot { margin-top: 18px; }
}
@media (max-width: 760px) { .hero { padding-top: calc(var(--nav-h) + 40px); } }
.tools-row a span { transition: border-color .2s, color .2s, background .2s; }
.tools-row a:hover span { border-color: var(--peach-b); background: var(--peach-a); color: var(--peach-hi); }

/* ================================================================ 1.4 "A.S.T.R.O" home: name, uses, method, terminal player */
.hero-14 .brandmark { letter-spacing: -.01em; margin-bottom: 10px; }
.hero-14 .brandmark em { font-style: italic; }
.acronym { margin: 0 auto 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; font: 400 clamp(17px, 2vw, 22px)/1.3 var(--serif); color: var(--text-2); letter-spacing: .01em; }
.acronym b { font-weight: 400; color: var(--peach); font-size: 1.18em; }
.hero-stage { position: relative; }
.hero-stage .ide-stage { margin-top: 44px; }
.term-float { position: absolute; right: -28px; bottom: 54px; width: min(440px, 44%); z-index: 3; border-radius: 13px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.5), 0 30px 80px -20px rgba(0,0,0,.95), 0 20px 70px -40px rgba(240,138,75,.6); animation: ideIn 1.1s .9s var(--ease) both; }
.term-float .win-bar { height: 32px; }
.term-float .term-body { height: calc(9 * 1.55em + 24px); font-size: 10.5px; }
@media (max-width: 1280px) { .term-float { right: 0; } }
@media (max-width: 920px) { .term-float { display: none; } }

/* terminal output (term.js) */
.term-body { margin: 0; padding: 12px 16px; background: var(--code); color: #e4e4e7; font: 400 12.5px/1.55 var(--mono); white-space: pre; overflow: hidden;
  font-variant-ligatures: none; tab-size: 4; }
.term-body .t-prompt { color: var(--peach); }
.term-body .t-caret { display: inline-block; width: .6em; height: 1.15em; margin-left: 1px; vertical-align: -.2em; background: var(--peach); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.term-body .b { font-weight: 700; color: #fafafa; }
.term-body .d { color: #8a8a94; }
.term-body .i { font-style: italic; }
.term-body .cp { color: var(--peach); } .term-body .c31, .term-body .c91 { color: var(--red); } .term-body .c32, .term-body .c92 { color: var(--green); }
.term-body .c33, .term-body .c93 { color: var(--amber); } .term-body .c34, .term-body .c94 { color: var(--blue); } .term-body .c35, .term-body .c95 { color: var(--violet); }
.term-body .c36, .term-body .c96 { color: #67e8f9; } .term-body .c90 { color: #71717a; } .term-body .c37, .term-body .c97 { color: #fafafa; }
.term-big .term-body { height: calc(24 * 1.55em + 26px); font-size: clamp(9px, 1.08vw, 13px); }
.term-tabs { display: flex; gap: 4px; padding: 8px 10px; border-bottom: 1px solid var(--line); background: var(--panel-2); overflow-x: auto; scrollbar-width: none; }
.term-tabs button { appearance: none; border: 1px solid transparent; background: none; color: var(--text-3); font: 500 12px/1 var(--mono); padding: 8px 12px; border-radius: 8px; cursor: pointer; white-space: nowrap; transition: color .2s, background .2s, border-color .2s; }
.term-tabs button:hover { color: var(--text); }
.term-tabs button[aria-selected="true"] { color: var(--peach-hi); background: var(--peach-a); border-color: var(--peach-b); }
.term-info { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; margin-top: 14px; }
.term-info .card h3 { margin-top: 0; }
.cmds { display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; margin: 16px 0 0; font-size: 14.5px; }
.cmds dt { font: 500 13px/1.5 var(--mono); color: var(--peach-hi); }
.cmds dd { margin: 0; color: var(--text-2); }
.os-notes { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 14px; font-size: 14.5px; color: var(--text-2); }
.os-notes li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.os-notes svg { width: 20px; height: 20px; color: var(--text-3); margin-top: 2px; }
.os-notes b { color: var(--text); font-weight: 600; margin-right: 6px; }
.os-notes code.block { display: block; margin-top: 8px; padding: 10px 12px; border-radius: 8px; background: var(--code); border: 1px solid var(--line); font-size: 11.5px; white-space: pre-wrap; word-break: break-all; color: var(--text); }
@media (max-width: 900px) { .term-info { grid-template-columns: 1fr; } .cmds { grid-template-columns: 1fr; gap: 2px; } .cmds dd { margin-bottom: 10px; } }

/* what it's for */
.uses { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.use { display: flex; flex-direction: column; }
.use p { flex: 1; }
.use .eg { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line-2); font-size: 13.5px; color: var(--text-3); font-style: italic; }
.use .eg.mono { font: 500 12.5px/1.4 var(--mono); font-style: normal; color: var(--peach-hi); }
.use.who { background: linear-gradient(180deg, rgba(243,166,121,.08), rgba(243,166,121,.015)); border-color: var(--peach-b); }
@media (max-width: 980px) { .uses { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .uses { grid-template-columns: 1fr; } }

/* A · S · T · R · O */
.astro-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--glass); }
.astro-steps li { position: relative; padding: 28px 22px 30px; border-left: 1px solid var(--line); min-width: 0; }
.astro-steps li:first-child { border-left: 0; }
.astro-steps .L { display: block; font: 400 clamp(64px, 7vw, 96px)/.9 var(--serif); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.astro-steps .w { display: block; margin: 14px 0 10px; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.astro-steps p { margin: 0; color: var(--text-2); font-size: 14.5px; }
.astro-steps li::after { content: "→"; position: absolute; right: -9px; top: 50px; z-index: 1; width: 18px; height: 18px; display: grid; place-items: center; font-size: 11px; color: var(--peach); background: var(--bg); border: 1px solid var(--line-2); border-radius: 50%; }
.astro-steps li:last-child::after { display: none; }
.reveal[data-delay="4"] { transition-delay: .32s; }
@media (max-width: 980px) { .astro-steps { grid-template-columns: 1fr; } .astro-steps li { border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 76px 1fr; column-gap: 18px; padding: 20px 22px; }
  .astro-steps li:first-child { border-top: 0; } .astro-steps .L { grid-row: span 2; font-size: 64px; } .astro-steps .w { margin: 6px 0 6px; } .astro-steps li::after { display: none; } }

/* parallel agents diagram */
.pdiag { display: grid; gap: 0; justify-items: center; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: radial-gradient(120% 80% at 50% 0%, rgba(243,166,121,.07), transparent 60%), var(--panel); }
.pd-node { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; width: 100%; max-width: 420px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-3); }
.pd-node svg { grid-row: span 2; width: 20px; height: 20px; color: var(--peach); }
.pd-node b { font-size: 14.5px; font-weight: 600; }
.pd-node span { grid-column: 2; font-size: 13px; color: var(--text-3); }
.pd-node em { grid-row: 1 / span 2; grid-column: 3; font: 500 11px/1 var(--mono); font-style: normal; color: var(--green); padding: 5px 8px; border-radius: 6px; background: rgba(110,231,183,.08); }
.pd-root, .pd-merge { max-width: 300px; }
.pd-merge { border-color: rgba(110,231,183,.35); } .pd-merge svg { color: var(--green); }
.pd-lanes { width: 100%; display: grid; gap: 10px; padding: 26px 0; position: relative; }
.pd-lanes::before, .pd-lanes::after { content: ""; position: absolute; left: 50%; width: 1px; height: 26px; background: linear-gradient(var(--peach-b), var(--line-2)); }
.pd-lanes::before { top: 0; } .pd-lanes::after { bottom: 0; }
.pd-lane { display: flex; justify-content: center; position: relative; }
.pd-lane .pd-node { max-width: 380px; }
.pd-lane i { position: absolute; left: 50%; top: -10px; width: 1px; height: 10px; background: var(--line-2); }
.pd-lane:first-child i { display: none; }
.pdiag.in .pd-lane .pd-node em { animation: pdDone .6s var(--ease) both; }
.pdiag.in .pd-lane:nth-child(2) .pd-node em { animation-delay: .5s; } .pdiag.in .pd-lane:nth-child(3) .pd-node em { animation-delay: 1s; }
@keyframes pdDone { from { opacity: 0; transform: scale(.7); } }

.where .card a { display: inline-flex; gap: 6px; margin-top: 16px; font-size: 14px; color: var(--peach-hi); }
.where .card p { min-height: 4.8em; }
.cta .term-line .tl-dim { color: var(--text-3); }
@media (prefers-reduced-motion: reduce) { .term-float { animation: none; } .term-body .t-caret { animation: none; } }
.term-body .t-head { white-space: pre-wrap; word-break: break-word; }
@media (max-width: 700px) { .term-big .term-body { overflow-x: auto; font-size: 9px; } }

/* 1.5: terminal app gallery + desktop Agent section */
.tui-gallery { margin-bottom: 56px; }
.tui-gallery .frame img { image-rendering: auto; }
.term-sub { margin: 8px 0 6px; }
.term-sub-p { margin: 0 0 18px; max-width: 62ch; }
.agent-shots { margin-top: 48px; }

@media (max-width: 720px) { .tui-gallery .tabs { overflow-x: auto; flex-wrap: nowrap; } .agent-shots { margin-top: 32px; } }

/* 1.8: beta / Pro waitlist forms, support links */
.site-form { display: flex; flex-direction: column; gap: 10px; max-width: 560px; margin-top: 12px; }
.site-form label { font-weight: 500; font-size: 15px; }
.site-form input[type=email], .site-form textarea { font: inherit; font-size: 15px; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2, transparent); color: var(--text); }
.site-form input:focus-visible, .site-form textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.site-form fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px 12px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 6px 14px; }
.site-form legend { padding: 0 6px; font-weight: 500; font-size: 14px; color: var(--text-2); }
.site-form .check { font-weight: 400; display: flex; gap: 8px; align-items: center; font-size: 14.5px; }
.site-form .req, .site-form .opt { color: var(--text-3); font-weight: 400; font-size: 13px; }
.site-form .form-note { font-size: 13.5px; color: var(--text-3); margin: 0; }
.site-form .form-out { min-height: 1.4em; margin: 0; font-size: 14.5px; }
.site-form button { align-self: flex-start; }
.support-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 14px; }
.support-pending { padding: 12px 14px; border: 1px dashed var(--line); border-radius: 12px; color: var(--text-2); }

/* ARM64 download group (shown only when those builds exist) */
.platform .arm-head { margin: 16px 0 0; font-size: 13px; font-weight: 600; color: var(--muted, #9a9aa3); }
.platform .arm-head + .files { margin-top: 8px; }

.accent-cyan {
  color: #00f0ff;
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.j-btn-cyan {
  background: linear-gradient(90deg, #00f0ff, #00aaff) !important;
  color: #030810 !important;
  font-weight: 700;
  border: none !important;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.35);
}

.j-btn-cyan:hover {
  background: #ffffff !important;
  box-shadow: 0 0 30px #00f0ff;
}

  background: rgba(3, 10, 18, 0.7);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.1);
}

.j-web-canvas-wrap {
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.j-web-speech {
  font-size: 15px;
  color: #d8f1ff;
  font-style: italic;
  margin: 16px 0;
  text-align: center;
  max-width: 420px;
  min-height: 42px;
}

.j-site-triggers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.j-chip {
  background: rgba(0, 240, 255, 0.08) !important;
  border: 1px solid rgba(0, 240, 255, 0.3) !important;
  color: #00f0ff !important;
  cursor: pointer;
  transition: all 0.2s;
}

.j-chip:hover {
  background: rgba(0, 240, 255, 0.2) !important;
  border-color: #00f0ff !important;
  transform: translateY(-1px);
}
