/* ================= Tokens ================= */
/* Light (default) */
:root {
  --bg: #f7f9fd;
  --bg-2: #eef2fa;
  --surface: #ffffff;
  --surface-2: #f2f5fb;
  --line: rgba(15, 30, 70, .10);
  --line-2: rgba(15, 30, 70, .18);
  --text: #0a1430;
  --text-2: #46516b;
  --muted: #7a849b;
  --accent: #1d5bff;
  --good: #059669;
  --bad: #e11d48;
  --grad: linear-gradient(100deg, #1d4ed8 0%, #2563eb 40%, #0ea5e9 100%);
  --t1: rgba(10, 23, 51, .03);
  --t2: rgba(10, 23, 51, .06);
  --t3: rgba(10, 23, 51, .09);
  --t4: rgba(10, 23, 51, .16);
  --nav-bg: rgba(247, 249, 253, .78);
  --nav-solid: rgba(247, 249, 253, .97);
  --glass: rgba(255, 255, 255, .78);
  --chip-text: #075985;
  --chip-bg: rgba(14, 165, 233, .10);
  --chip-line: rgba(14, 165, 233, .30);
  --scrub-dim: rgba(10, 20, 48, .14);
  --aurora: .22;
  --glow: rgba(37, 99, 235, .10);
  --shadow-lg: 0 40px 100px -40px rgba(30, 70, 200, .28);
  --doodle: url("doodle-light.svg");
  --doodle-op: .2;
  --wc1: rgba(125, 211, 252, .95);
  --wc2: rgba(196, 181, 253, .9);
  --wc3: rgba(255, 255, 255, .9);
  --card-shadow: 0 1px 2px rgba(10,20,48,.04), 0 10px 30px -18px rgba(10,20,48,.18);

  --radius: 22px;
  --maxw: 1200px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Space Grotesk", var(--font);
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

/* Dark: system preference, explicit choice, and every "screen" (device mock) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #05070f; --bg-2: #080c19; --surface: #0d1324; --surface-2: #121a30;
    --line: rgba(148, 170, 220, .14); --line-2: rgba(148, 170, 220, .24);
    --text: #f2f5fb; --text-2: #aab4cc; --muted: #6f7a94; --accent: #38bdf8; --good: #34d399; --bad: #fb7185;
    --grad: linear-gradient(100deg, #5b8cff 0%, #3b9bff 40%, #67d6ff 100%);
    --t1: rgba(255,255,255,.035); --t2: rgba(255,255,255,.07); --t3: rgba(255,255,255,.11); --t4: rgba(255,255,255,.2);
    --nav-bg: rgba(5, 7, 15, .72); --nav-solid: rgba(5, 7, 15, .96); --glass: rgba(13, 19, 36, .7);
    --chip-text: #bde7ff; --chip-bg: rgba(56, 189, 248, .10); --chip-line: rgba(56, 189, 248, .28);
    --scrub-dim: rgba(242, 245, 251, .14); --aurora: .55; --glow: rgba(80, 140, 255, .16);
    --shadow-lg: 0 40px 100px -40px rgba(47, 107, 255, .5); --card-shadow: none;
    --doodle: url("doodle-dark.svg"); --doodle-op: .2; --wc1: rgba(125, 211, 252, .95); --wc2: rgba(216, 180, 254, .9); --wc3: rgba(255, 255, 255, .95);
    color-scheme: dark;
  }
}
:root[data-theme="dark"], .screen {
  --bg: #05070f; --bg-2: #080c19; --surface: #0d1324; --surface-2: #121a30;
  --line: rgba(148, 170, 220, .14); --line-2: rgba(148, 170, 220, .24);
  --text: #f2f5fb; --text-2: #aab4cc; --muted: #6f7a94; --accent: #38bdf8; --good: #34d399; --bad: #fb7185;
  --grad: linear-gradient(100deg, #5b8cff 0%, #3b9bff 40%, #67d6ff 100%);
  --t1: rgba(255,255,255,.035); --t2: rgba(255,255,255,.07); --t3: rgba(255,255,255,.11); --t4: rgba(255,255,255,.2);
  --nav-bg: rgba(5, 7, 15, .72); --nav-solid: rgba(5, 7, 15, .96); --glass: rgba(13, 19, 36, .7);
  --chip-text: #bde7ff; --chip-bg: rgba(56, 189, 248, .10); --chip-line: rgba(56, 189, 248, .28);
  --scrub-dim: rgba(242, 245, 251, .14); --aurora: .55; --glow: rgba(80, 140, 255, .16);
  --shadow-lg: 0 40px 100px -40px rgba(47, 107, 255, .5); --card-shadow: none;
    --doodle: url("doodle-dark.svg"); --doodle-op: .2; --wc1: rgba(125, 211, 252, .95); --wc2: rgba(216, 180, 254, .9); --wc3: rgba(255, 255, 255, .95);
}
:root[data-theme="dark"] { color-scheme: dark; }
.screen { color: var(--text); }

/* Content width: 1520px on laptops and standard monitors, 1200px on very large displays (2560px+) */
@media (min-width: 1440px) and (max-width: 2559px) { :root { --maxw: 1520px; } }

/* ================= Base ================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background .3s ease, color .3s ease;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.05; margin: 0; letter-spacing: -0.03em; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.small { font-size: 14px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(59, 130, 246, .3); }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Watercolour bloom that follows the cursor on hover (no looping animation).
   Three soft washes trail the pointer at different speeds; --sr blooms in and out. */
@property --sr { syntax: "<length>"; inherits: false; initial-value: 0px; }
.splash {
  background-image:
    radial-gradient(ellipse calc(var(--sr) * 1.25) calc(var(--sr) * .85) at var(--ax, 50%) var(--ay, 50%), var(--wc1) 0%, transparent 72%),
    radial-gradient(ellipse calc(var(--sr) * .9) calc(var(--sr) * 1.1) at var(--bx, 50%) var(--by, 50%), var(--wc2) 0%, transparent 70%),
    radial-gradient(circle calc(var(--sr) * .55) at var(--cx, 50%) var(--cy, 50%), var(--wc3) 0%, transparent 75%),
    var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: --sr .7s var(--ease);
}
.splash.wet { --sr: 64px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font: 500 13px var(--mono);
  text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: 20px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(56,189,248,.55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(56,189,248,0); } }

.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 120; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad); }

/* ================= Buttons ================= */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 26px; border-radius: 999px; font: 600 15px var(--font);
  text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .3s ease, background .3s ease, border-color .3s ease;
}
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-primary { background: linear-gradient(135deg, #2f6bff, #2fa4ff); color: #fff; box-shadow: 0 10px 30px -10px rgba(47,107,255,.7), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { box-shadow: 0 16px 44px -10px rgba(47,140,255,.9), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-solid { background: var(--text); color: var(--bg); }
.btn-solid:hover { opacity: .9; }
.btn-ghost { background: var(--t1); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: var(--t2); }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--t1); color: var(--text); cursor: pointer; font-size: 15px;
}
.i-moon { display: none; }
:root[data-theme="dark"] .i-sun { display: none; }
:root[data-theme="dark"] .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun { display: none; }
  :root:not([data-theme="light"]) .i-moon { display: block; }
}

/* ================= Nav ================= */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .3s ease, border-color .3s ease; border-bottom: 1px solid transparent; }
.nav.scrolled { background: var(--nav-bg); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: auto; height: 30px; }
.brand-word { display: flex; align-items: baseline; gap: 7px; font: 700 16px var(--display); letter-spacing: .14em; }
.brand-dim { color: var(--muted); font-weight: 500; font-size: 11px; letter-spacing: .22em; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--text-2); font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; }
@media (max-width: 880px) {
  .menu-btn { display: grid; }
  .hide-sm { display: none; }
  .brand-dim { display: none; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--nav-solid); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
}

/* ================= Hero ================= */
.hero { position: relative; padding: 150px 0 0; overflow: hidden; isolation: isolate; }
.aurora { position: absolute; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: var(--aurora); animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { width: 60vw; height: 60vw; max-width: 820px; max-height: 820px; left: -15%; top: -25%; background: radial-gradient(circle, #1d4ed8 0%, transparent 65%); }
.aurora i:nth-child(2) { width: 50vw; height: 50vw; max-width: 700px; max-height: 700px; right: -15%; top: -10%; background: radial-gradient(circle, #0ea5e9 0%, transparent 65%); animation-delay: -6s; }
.aurora i:nth-child(3) { width: 45vw; height: 45vw; max-width: 600px; max-height: 600px; left: 30%; top: 35%; background: radial-gradient(circle, #4338ca 0%, transparent 65%); animation-delay: -12s; }
@keyframes drift { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(6%, 4%) scale(1.08); } 100% { transform: translate(-4%, 8%) scale(.95); } }
.doodle-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--doodle); background-size: 380px 380px; background-repeat: repeat; background-position: center top;
  opacity: var(--doodle-op);
  mask-image: radial-gradient(ellipse 85% 65% at 50% 30%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 30%, #000 20%, transparent 80%);
}
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-title { font-size: clamp(52px, 10vw, 132px); font-weight: 700; letter-spacing: -0.05em; line-height: .95; }
.lede { margin-top: 26px; max-width: 640px; font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hero-in { opacity: 0; transform: translateY(24px); filter: blur(6px); animation: heroIn 1s var(--ease) forwards; animation-delay: calc(var(--d) * 110ms + 100ms); }
@keyframes heroIn { to { opacity: 1; transform: none; filter: none; } }

/* Product window (always dark: .screen) */
.stage { position: relative; width: 100%; max-width: 1080px; margin-top: 80px; perspective: 1600px; }
.window {
  position: relative; border-radius: 18px 18px 0 0; background: linear-gradient(180deg, #141c34, #0a0f1e);
  border: 1px solid var(--line-2); border-bottom: 0; overflow: hidden; text-align: left;
  box-shadow: 0 60px 120px -40px rgba(30, 80, 255, .55);
  transform: rotateX(18deg) scale(.94); transform-origin: 50% 100%; transition: transform .25s ease-out; will-change: transform;
}
.window::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px circle at var(--gx, 50%) var(--gy, 0%), rgba(120,170,255,.12), transparent 40%); }
.win-bar { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--t1); }
.lights { display: flex; gap: 6px; }
.lights i { width: 10px; height: 10px; border-radius: 50%; }
.lights i:nth-child(1) { background: #ff5f57; } .lights i:nth-child(2) { background: #febc2e; } .lights i:nth-child(3) { background: #28c840; }
.win-url { font: 12px var(--mono); color: var(--muted); background: var(--t1); padding: 3px 12px; border-radius: 6px; margin: 0 auto; }
.win-body { display: grid; grid-template-columns: 56px 1fr 280px; min-height: 340px; }
.win-side { border-right: 1px solid var(--line); padding: 16px 12px; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.side-logo { width: 28px; height: 28px; border-radius: 8px; background: var(--grad); margin-bottom: 8px; }
.side-item { width: 24px; height: 8px; border-radius: 4px; background: var(--t3); }
.side-item.on { background: var(--accent); }
.win-main { padding: 20px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { padding: 14px; border-radius: 12px; background: var(--t1); border: 1px solid var(--line); display: grid; gap: 4px; }
.kpi span { font-size: 12px; color: var(--muted); }
.kpi strong { font: 600 24px var(--display); letter-spacing: -0.02em; }
.kpi em { font-style: normal; font: 500 12px var(--mono); }
.up { color: var(--good); }
.chart { flex: 1; min-height: 150px; border-radius: 12px; background: var(--t1); border: 1px solid var(--line); padding: 10px; }
.chart svg { width: 100%; height: 100%; min-height: 130px; }
.chart .line { stroke-dasharray: 700; stroke-dashoffset: 700; }
.chart .area { opacity: 0; }
.stage.play .chart .line { animation: draw 2.2s var(--ease) .6s forwards; }
.stage.play .chart .area { animation: fadeIn 1.2s ease 1.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
.copilot { border-left: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 10px; background: rgba(47,107,255,.04); }
.cp-head { display: flex; align-items: center; gap: 8px; font: 500 12px var(--mono); color: var(--text-2); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.cp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 12px #3b9bff; }
.cp-msg { font-size: 13px; line-height: 1.5; padding: 10px 12px; border-radius: 12px; min-height: 40px; }
.cp-msg:empty { visibility: hidden; }
.cp-user { align-self: flex-end; background: var(--t2); border-bottom-right-radius: 4px; max-width: 90%; }
.cp-ai { background: rgba(47,107,255,.14); border: 1px solid rgba(59,130,246,.3); border-bottom-left-radius: 4px; }
.cp-ai.typing::after { content: "▍"; color: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 900px) { .win-body { grid-template-columns: 1fr; } .win-side, .copilot { display: none; } }
@media (max-width: 520px) { .kpis { grid-template-columns: 1fr 1fr; } .hide-xs { display: none; } .stage { margin-top: 56px; } }

/* ================= Proof strip ================= */
.proof { position: relative; z-index: 1; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 44px 28px; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font: 700 clamp(44px, 5vw, 68px)/1 var(--display); letter-spacing: -0.05em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 12px; color: var(--text-2); font-size: 15px; max-width: 220px; }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 32px 20px; }
  .stat:nth-child(odd) { padding-left: 0; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ================= Sections ================= */
.section { position: relative; padding: 140px 0; }
@media (max-width: 720px) { .section { padding: 90px 0; } }
.section-head { max-width: 820px; margin-bottom: 56px; }
.big { font-size: clamp(38px, 5.6vw, 72px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.sub { margin-top: 20px; color: var(--text-2); font-size: 18px; max-width: 620px; }

/* ================= Service explorer ================= */
.explorer { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: 24px; align-items: stretch; scroll-margin-top: 90px; }
.svc-tabs { display: grid; gap: 4px; align-content: start; }
.svc-tab {
  position: relative; display: flex; align-items: center; gap: 16px; text-align: left; width: 100%;
  padding: 16px 18px; border-radius: 14px; border: 1px solid transparent; background: transparent; cursor: pointer;
  font: 600 17px var(--display); letter-spacing: -0.015em; color: var(--muted); overflow: hidden;
  transition: color .25s ease, background .25s ease, border-color .25s ease;
}
.svc-tab:hover { color: var(--text-2); background: var(--t1); }
.svc-tab[aria-selected="true"] { color: var(--text); background: var(--surface); border-color: var(--line); box-shadow: var(--card-shadow); }
.st-n { font: 500 12px var(--mono); color: var(--muted); letter-spacing: .06em; }
.svc-tab[aria-selected="true"] .st-n { color: var(--accent); }
.st-bar { position: absolute; left: 18px; right: 18px; bottom: 0; height: 2px; border-radius: 2px; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }
.svc-tab[aria-selected="true"] .st-bar { transform: scaleX(1); }
.explorer.auto .svc-tab[aria-selected="true"] .st-bar { transform: scaleX(0); animation: tabProgress 7s linear forwards; }
.explorer.auto.paused .svc-tab[aria-selected="true"] .st-bar { animation-play-state: paused; }
@keyframes tabProgress { to { transform: scaleX(1); } }

.svc-stage {
  position: relative; padding: 32px; border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--card-shadow);
  background: radial-gradient(90% 60% at 100% 0%, rgba(47,107,255,.10), transparent 60%), var(--surface);
  min-height: 520px;
}
.svc-pane { display: grid; gap: 22px; }
.svc-pane[hidden] { display: none; }
.pane-head h3 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.03em; }
.pane-head p { margin-top: 10px; color: var(--text-2); font-size: 17px; max-width: 620px; }
.svc-pane.on .pane-head { animation: fadeUp .5s var(--ease) both; }

.svc-art {
  position: relative; height: 260px; border-radius: 20px; overflow: hidden; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(120% 90% at 20% 0%, rgba(47,107,255,.22), transparent 60%), #080c19; border: 1px solid var(--line);
}
.svc-pane.on .svc-art { animation: fadeUp .6s var(--ease) .05s both; }

.points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.points li {
  position: relative; padding: 16px 16px 16px 46px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line);
  font-size: 15px; font-weight: 500; color: var(--text); line-height: 1.4;
}
.points li::before {
  content: "✓"; position: absolute; left: 14px; top: 15px; width: 22px; height: 22px; display: grid; place-items: center;
  border-radius: 50%; font-size: 12px; color: var(--accent); background: var(--chip-bg); border: 1px solid var(--chip-line);
}
.svc-pane.on .points li { animation: fadeUp .5s var(--ease) both; }
.svc-pane.on .points li:nth-child(1) { animation-delay: .15s; }
.svc-pane.on .points li:nth-child(2) { animation-delay: .25s; }
.svc-pane.on .points li:nth-child(3) { animation-delay: .35s; }
.gets { font-size: 15px; color: var(--text-2); }
.gets span { display: inline-block; margin-right: 10px; font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.svc-pane.on .gets { animation: fadeUp .5s var(--ease) .45s both; }

/* Shared art bits */
.svc-art i { display: block; height: 9px; border-radius: 5px; background: var(--t3); }
.svc-art .w60 { width: 60%; }

/* 01 SaaS */
.a-saas { width: 100%; max-width: 560px; display: grid; grid-template-columns: 150px 1fr; gap: 16px; }
.ws { display: grid; gap: 8px; align-content: start; }
.ws-i { font-size: 12px; padding: 9px 12px; border-radius: 10px; background: var(--t1); border: 1px solid var(--line); color: var(--text-2); }
.svc-pane.on .ws-i { animation: wsCycle 6s infinite; }
.svc-pane.on .ws-i:nth-child(2) { animation-delay: 2s; } .svc-pane.on .ws-i:nth-child(3) { animation-delay: 4s; }
@keyframes wsCycle { 0%, 30% { background: rgba(47,107,255,.2); border-color: rgba(59,130,246,.5); color: var(--text); } 34%, 100% { background: var(--t1); border-color: var(--line); color: var(--text-2); } }
.sa-main { padding: 14px; border-radius: 14px; background: var(--t1); border: 1px solid var(--line); display: grid; gap: 10px; }
.sa-kpi span { font-size: 11px; color: var(--muted); display: block; }
.sa-kpi b { font: 600 22px var(--display); }
.sa-bars { height: 110px; display: flex; align-items: flex-end; gap: 8px; }
.sa-bars i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #4f8bff, rgba(47,107,255,.2)); transform-origin: bottom; }
.svc-pane.on .sa-bars i { animation: barGrow 3s var(--ease) infinite alternate; }
.svc-pane.on .sa-bars i:nth-child(2n) { animation-delay: .3s; } .svc-pane.on .sa-bars i:nth-child(3n) { animation-delay: .6s; }
@keyframes barGrow { from { transform: scaleY(.55); } to { transform: scaleY(1); } }

/* 02 Apps */
.a-apps { display: flex; align-items: center; gap: 22px; }
.dv { border-radius: 14px; border: 1px solid var(--line-2); background: #0d1428; overflow: hidden; }
.browser { width: 260px; }
.dv-bar { display: flex; gap: 5px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.dv-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--t4); }
.dv-body { padding: 14px; display: grid; gap: 9px; }
.phone-s { width: 104px; border-radius: 20px; padding-top: 12px; }
.dv .hl { height: 34px; border-radius: 8px; background: rgba(47,107,255,.35); }
.svc-pane.on .dv .hl { animation: syncPulse 2.8s ease-in-out infinite; }
@keyframes syncPulse { 0%, 100% { background: rgba(47,107,255,.25); } 50% { background: rgba(56,189,248,.55); } }
.sync { font-size: 22px; color: var(--accent); }
.svc-pane.on .sync { animation: syncPulse2 2.8s ease-in-out infinite; }
@keyframes syncPulse2 { 50% { transform: scale(1.2); opacity: .6; } }

/* 03 UX */
.a-ux { position: relative; width: 100%; max-width: 600px; height: 80px; }
.ux-line { position: absolute; inset: 20px 0 auto 0; width: 100%; height: 40px; }
.ux-line path { fill: none; stroke: #3b82f6; stroke-width: 2; stroke-dasharray: 520; stroke-dashoffset: 520; }
.svc-pane.on .ux-line path { animation: uxDraw 6s var(--ease) infinite; }
@keyframes uxDraw { 0% { stroke-dashoffset: 520; } 60%, 100% { stroke-dashoffset: 0; } }
.ux-nodes { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; }
.ux-nodes span { position: relative; z-index: 1; font: 500 12px var(--mono); padding: 8px 12px; border-radius: 99px; background: #0d1428; border: 1px solid var(--line-2); color: var(--text-2); }
.svc-pane.on .ux-nodes span { animation: nodeOn 6s infinite; }
.svc-pane.on .ux-nodes span:nth-child(2) { animation-delay: 1.2s; } .svc-pane.on .ux-nodes span:nth-child(3) { animation-delay: 2.4s; } .svc-pane.on .ux-nodes span:nth-child(4) { animation-delay: 3.6s; }
@keyframes nodeOn { 0%, 8% { border-color: var(--line-2); color: var(--text-2); } 12%, 100% { border-color: #3b82f6; color: var(--text); background: rgba(47,107,255,.18); } }
.ux-cursor { position: absolute; top: 52px; left: 4%; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; background: #fff; transform: rotate(-45deg); opacity: .9; }
.svc-pane.on .ux-cursor { animation: cursorMove 6s var(--ease) infinite; }
@keyframes cursorMove { 0% { left: 4%; } 25% { left: 34%; } 50% { left: 62%; } 75%, 100% { left: 90%; } }

/* 04 Architecture */
.a-arch { position: relative; width: 100%; max-width: 560px; height: 200px; }
.arch-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.arch-lines path { fill: none; stroke: rgba(148,170,220,.45); stroke-width: 2; stroke-dasharray: 6 6; }
.svc-pane.on .arch-lines path { animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }
.nd { position: absolute; transform: translate(-50%, -50%); font: 500 13px var(--mono); padding: 12px 16px; border-radius: 12px; background: #0d1428; border: 1px solid var(--line-2); color: var(--text); white-space: nowrap; }
.n-client { left: 12%; top: 50%; } .n-api { left: 50%; top: 50%; border-color: rgba(59,130,246,.6); background: rgba(47,107,255,.18); }
.n-db { left: 88%; top: 50%; } .n-q { left: 50%; top: 90%; }
.pkt { position: absolute; width: 8px !important; height: 8px !important; border-radius: 50% !important; background: #38bdf8 !important; top: calc(50% - 4px); box-shadow: 0 0 10px #38bdf8; opacity: 0; }
.svc-pane.on .p1 { animation: pkt1 2.4s linear infinite; }
.svc-pane.on .p2 { animation: pkt2 2.4s linear 1.2s infinite; }
@keyframes pkt1 { 0% { left: 20%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 39%; opacity: 0; } }
@keyframes pkt2 { 0% { left: 61%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 80%; opacity: 0; } }

/* 05 AI */
.a-ai { width: 100%; max-width: 460px; display: flex; flex-direction: column; gap: 10px; }
.ai-m { font-size: 13px; line-height: 1.5; padding: 10px 14px; border-radius: 14px; max-width: 85%; }
.ai-m.u { align-self: flex-end; background: var(--t2); color: var(--text); }
.ai-m.a { background: rgba(47,107,255,.16); border: 1px solid rgba(59,130,246,.35); color: var(--text); }
.ai-tool { align-self: flex-start; font: 500 11px var(--mono); padding: 5px 10px; border-radius: 99px; color: #bde7ff; background: rgba(56,189,248,.12); border: 1px solid rgba(56,189,248,.3); }
.svc-pane.on .a-ai > * { animation: chatStep 8s var(--ease) infinite both; }
.svc-pane.on .ai-tool { animation-delay: .9s; }
.svc-pane.on .ai-m.a { animation-delay: 1.8s; }
@keyframes chatStep { 0% { opacity: 0; transform: translateY(8px); } 6%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }

/* 06 Legacy */
.a-legacy { display: flex; align-items: center; gap: 18px; }
.a-legacy pre { margin: 0; padding: 14px 16px; border-radius: 12px; font: 12.5px/1.8 var(--mono); white-space: normal; min-width: 200px; }
.a-legacy pre span { display: block; white-space: pre; }
.lg-old { background: #0d1428; border: 1px solid var(--line-2); color: #fcd34d; }
.lg-new { background: rgba(47,107,255,.14); border: 1px solid rgba(59,130,246,.45); color: #bde7ff; }
.lg-arrow { font-size: 26px; color: var(--accent); }
.svc-pane.on .lg-arrow { animation: syncPulse2 2s ease-in-out infinite; }
.svc-pane.on .lg-new span { animation: chatStep 6s var(--ease) infinite both; }
.svc-pane.on .lg-new span:nth-child(2) { animation-delay: .4s; } .svc-pane.on .lg-new span:nth-child(3) { animation-delay: .8s; }

/* 07 Support */
.a-support { width: 100%; max-width: 520px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sp-col { display: grid; gap: 8px; align-content: start; padding: 12px; border-radius: 14px; background: var(--t1); border: 1px solid var(--line); min-height: 130px; }
.sp-h { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.tk { font-size: 12.5px; padding: 9px 11px; border-radius: 10px; background: #0d1428; border: 1px solid var(--line-2); color: var(--text); }
.tk.done { border-color: rgba(52,211,153,.45); color: #86efac; }
.svc-pane.on .tk.t1 { animation: tkMove 6s var(--ease) infinite; }
@keyframes tkMove { 0%, 40% { transform: none; opacity: 1; } 55% { transform: translateX(110%); opacity: 0; } 56% { transform: translateX(-20%); opacity: 0; } 70%, 100% { transform: none; opacity: 1; } }
.sp-up { grid-column: 1 / -1; display: flex; gap: 4px; }
.sp-up i { flex: 1; height: 26px; border-radius: 3px; background: rgba(52,211,153,.5); }
.sp-up i:nth-child(6n) { background: rgba(52,211,153,.3); }

/* 08 Eval */
.a-eval { display: flex; gap: 16px; }
.ev { position: relative; width: 200px; padding: 16px; border-radius: 14px; background: #0d1428; border: 1.5px solid var(--line-2); display: grid; gap: 9px; }
.ev b { font: 600 12px var(--mono); color: var(--muted); }
.ev-badge { position: absolute; top: -12px; right: 12px; font: 600 11px var(--mono); padding: 4px 10px; border-radius: 99px; background: #34d399; color: #04210f; opacity: 0; }
.svc-pane.on .ev-b { animation: evPick 5s var(--ease) infinite; }
.svc-pane.on .ev-badge { animation: evBadge 5s var(--ease) infinite; }
@keyframes evPick { 0%, 35% { border-color: var(--line-2); } 45%, 90% { border-color: #34d399; } 100% { border-color: var(--line-2); } }
@keyframes evBadge { 0%, 38% { opacity: 0; transform: translateY(6px); } 48%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }

@media (max-width: 1000px) {
  .explorer { grid-template-columns: 1fr; }
  .svc-tabs { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 4px; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .svc-tabs::-webkit-scrollbar { display: none; }
  .svc-tab { flex: none; width: auto; padding: 12px 16px; font-size: 15px; white-space: nowrap; }
  .svc-stage { min-height: 0; }
}
@media (max-width: 700px) {
  .svc-stage { padding: 20px; border-radius: 22px; }
  .points { grid-template-columns: 1fr; }
  .svc-art { height: auto; min-height: 220px; padding: 20px 16px; }
  .a-saas { grid-template-columns: 1fr; } .ws { display: none; }
  .browser { width: 170px; } .phone-s { width: 80px; }
  .ux-nodes span { font-size: 10px; padding: 6px 8px; }
  .nd { font-size: 11px; padding: 8px 10px; }
  .a-legacy { flex-direction: column; gap: 6px; } .a-legacy pre { min-width: 0; font-size: 11px; padding: 10px 12px; } .lg-arrow { transform: rotate(90deg); }
  .ev { width: 140px; }
}

/* Stack strip */
.stack { margin-top: 56px; display: flex; align-items: center; gap: 24px; }
.stack-label { flex: none; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.stack-row { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.stack-track { display: flex; width: max-content; gap: 10px; animation: scrollX 50s linear infinite; }
.stack-row:hover .stack-track { animation-play-state: paused; }
.stack-track span { padding: 9px 18px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); font-size: 14px; white-space: nowrap; }
.stack-track span.rare { border-color: var(--chip-line); color: var(--chip-text); background: var(--chip-bg); }
@keyframes scrollX { to { transform: translateX(-50%); } }
@media (max-width: 600px) { .stack { flex-direction: column; align-items: flex-start; gap: 12px; } .stack-row { width: 100%; } }

/* ================= Approach ================= */
.approach { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.scrub { font: 600 clamp(32px, 4.6vw, 62px)/1.12 var(--display); letter-spacing: -0.035em; max-width: 1000px; margin-bottom: 72px; }
.scrub .w { color: var(--scrub-dim); transition: color .25s ease; }
.scrub .w.on { color: var(--text); }
.scrub .w.hl.on { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sticky-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; }
.sticky-visual { position: sticky; top: max(96px, calc(50vh - 220px)); height: 440px; border-radius: 28px; border: 1px solid var(--line); background: radial-gradient(120% 80% at 30% 0%, rgba(47,107,255,.25), transparent 60%), #080c19; overflow: hidden; box-shadow: var(--shadow-lg); }
.viz { position: absolute; inset: 0; display: grid; place-items: center; padding: 32px; opacity: 0; transform: scale(.96) translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.viz.on { opacity: 1; transform: none; }
.viz-card { width: 100%; max-width: 440px; }
.steps-list { list-style: none; margin: 0; padding: 0 0 0 40px; position: relative; }
.steps-list::before, .steps-list::after { content: ""; position: absolute; left: 7px; top: 24px; width: 2px; border-radius: 2px; }
.steps-list::before { bottom: 24px; background: var(--line-2); }
.steps-list::after { height: calc((100% - 48px) * var(--prog, 0)); background: var(--grad); transition: height .6s var(--ease); }
.step { position: relative; min-height: 340px; padding: 24px 0; display: flex; flex-direction: column; justify-content: center; opacity: .3; transition: opacity .5s ease; cursor: pointer; }
.step::before { content: ""; position: absolute; left: -40px; top: calc(50% - 8px); width: 16px; height: 16px; border-radius: 50%; background: var(--bg-2); border: 2px solid var(--line-2); transition: border-color .4s, background .4s, box-shadow .4s; z-index: 1; }
.step.on::before, .step.done::before { border-color: #3b82f6; background: #3b82f6; }
.step.on::before { box-shadow: 0 0 0 6px rgba(59,130,246,.18); }
.step.on { opacity: 1; }
.step-n { font: 500 13px var(--mono); color: var(--accent); letter-spacing: .1em; text-transform: uppercase; }
.step h3 { font-size: clamp(28px, 3.2vw, 42px); margin: 14px 0 16px; letter-spacing: -0.035em; }
.step p { color: var(--text-2); font-size: 18px; max-width: 480px; }

/* viz 0 */
.notes { display: grid; grid-template-columns: 1fr auto 1.2fr; align-items: center; gap: 10px 18px; }
.note { display: block; padding: 12px 14px; border-radius: 12px; background: var(--t2); border: 1px solid var(--line); font-size: 13px; color: var(--text-2); grid-column: 1; }
.viz.on .note { animation: slideIn .6s var(--ease) both; }
.viz.on .n2 { animation-delay: .12s; } .viz.on .n3 { animation-delay: .24s; }
@keyframes slideIn { from { opacity: 0; transform: translateX(-16px); } }
.notes .arrow { grid-column: 2; grid-row: 1 / span 3; font-size: 28px; color: var(--accent); }
.brief { grid-column: 3; grid-row: 1 / span 3; padding: 18px; border-radius: 16px; background: linear-gradient(160deg, rgba(47,107,255,.25), rgba(14,165,233,.08)); border: 1px solid rgba(59,130,246,.4); display: grid; gap: 10px; }
.brief b { font: 600 16px var(--display); }
.brief i { display: block; height: 8px; border-radius: 4px; background: var(--t4); }
.brief i.short { width: 60%; }
.chip-s { justify-self: start; font: 500 11px var(--mono); padding: 4px 10px; border-radius: 99px; background: rgba(52,211,153,.15); color: var(--good); }
.viz.on .brief { animation: pop .7s var(--ease) .45s both; }
/* viz 1 */
.phones { display: flex; justify-content: center; align-items: center; gap: 14px; }
.phone { width: 120px; height: 240px; border-radius: 22px; border: 1px solid var(--line-2); background: #0b1122; padding: 14px 10px; display: flex; flex-direction: column; gap: 9px; box-shadow: 0 30px 60px -30px rgba(47,107,255,.6); }
.phone i { display: block; height: 10px; border-radius: 5px; background: var(--t3); }
.phone .hd { height: 14px; width: 60%; background: var(--t4); }
.phone .img { height: 70px; border-radius: 10px; background: linear-gradient(135deg, rgba(47,107,255,.6), rgba(56,189,248,.4)); }
.phone .btn-s { margin-top: auto; height: 22px; border-radius: 11px; background: var(--grad); }
.p1 { transform: translateY(18px) rotate(-6deg); } .p3 { transform: translateY(18px) rotate(6deg); }
.p2 { transform: scale(1.08); z-index: 1; }
.viz.on .phone { animation: rise .7s var(--ease) both; }
.viz.on .p2 { animation-delay: .1s; } .viz.on .p3 { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; translate: 0 30px; } }
/* viz 2 */
.code { border-radius: 16px; border: 1px solid var(--line-2); background: #070b17; overflow: hidden; }
.code-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 12px var(--mono); color: var(--muted); }
.ai-tag { color: var(--accent); background: var(--chip-bg); padding: 2px 8px; border-radius: 99px; }
.code pre { margin: 0; padding: 16px; font: 12.5px/1.8 var(--mono); overflow-x: auto; }
.ln { display: block; color: var(--text-2); white-space: pre; padding: 0 6px; border-radius: 4px; }
.ln.add { color: #86efac; background: rgba(52,211,153,.07); }
.ln.del { color: #fda4af; background: rgba(251,113,133,.07); text-decoration: line-through; text-decoration-color: rgba(251,113,133,.5); }
.viz.on .ln { animation: slideIn .4s var(--ease) both; }
.viz.on .ln:nth-child(2) { animation-delay: .08s; } .viz.on .ln:nth-child(3) { animation-delay: .16s; } .viz.on .ln:nth-child(4) { animation-delay: .24s; } .viz.on .ln:nth-child(5) { animation-delay: .32s; }
.review { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.avatar-s { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 10px var(--mono); background: var(--grad); color: #fff; }
.ok { margin-left: auto; color: var(--good); }
.viz.on .review { animation: pop .5s var(--ease) .7s both; }
/* viz 3 */
.ship { display: grid; gap: 12px; }
.check { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--t1); border: 1px solid var(--line); font-size: 14px; }
.check em { margin-left: auto; font: normal 500 12px var(--mono); color: var(--muted); }
.c-ok { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(52,211,153,.18); color: var(--good); font-size: 12px; }
.viz.on .check { animation: slideIn .5s var(--ease) both; }
.viz.on .check:nth-child(2) { animation-delay: .15s; } .viz.on .check:nth-child(3) { animation-delay: .3s; }
.deploy { margin-top: 6px; padding: 16px; border-radius: 14px; border: 1px solid rgba(59,130,246,.4); background: rgba(47,107,255,.1); font-size: 14px; display: grid; gap: 10px; }
.dbar { height: 6px; border-radius: 3px; background: var(--t3); overflow: hidden; }
.dbar b { display: block; height: 100%; width: 0; background: var(--grad); }
.viz.on .dbar b { animation: grow 1.8s var(--ease) .5s forwards; }
@keyframes grow { to { width: 100%; } }

@media (max-width: 900px) {
  .scrub { margin-bottom: 56px; }
  .sticky-grid { grid-template-columns: 1fr; gap: 0; }
  .sticky-visual { top: 76px; height: 290px; z-index: 2; }
  .sticky-grid { gap: 8px; }
  .step { min-height: auto; padding: 36px 0; }
  .steps-list { padding-left: 32px; }
  .step::before { left: -32px; top: 42px; }
  .phone { width: 92px; height: 184px; }
  .notes { grid-template-columns: 1fr; }
  .notes .arrow, .notes .note { display: none; }
  .brief { grid-column: 1; grid-row: auto; }
}

/* ================= Get started ================= */
.picker { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; padding: 20px; border-radius: 28px; border: 1px solid var(--line); background: var(--bg-2); }
@media (max-width: 860px) { .picker { grid-template-columns: 1fr; } }
.goal-list { display: grid; gap: 6px; align-content: start; }
.goal {
  position: relative; text-align: left; font: 600 clamp(17px, 1.7vw, 20px) var(--display); letter-spacing: -0.02em;
  color: var(--muted); background: transparent; border: 1px solid transparent; border-radius: 16px; padding: 16px 44px 16px 20px; cursor: pointer;
  transition: color .25s, background .25s, border-color .25s;
}
.goal:hover { color: var(--text-2); background: var(--t1); }
.goal[aria-checked="true"] { color: var(--text); background: var(--surface); border-color: var(--line-2); box-shadow: var(--card-shadow); }
.goal[aria-checked="true"]::after { content: "→"; position: absolute; right: 20px; color: var(--accent); }
.goal-result {
  padding: 32px; border-radius: 20px; display: grid; gap: 10px; align-content: start;
  background: radial-gradient(100% 80% at 100% 0%, rgba(47,107,255,.14), transparent 60%), var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow);
}
.goal-result.swap > * { animation: fadeUp .45s var(--ease) both; }
.goal-result.swap > *:nth-child(2) { animation-delay: .04s; } .goal-result.swap > *:nth-child(3) { animation-delay: .08s; } .goal-result.swap > *:nth-child(4) { animation-delay: .12s; } .goal-result.swap > *:nth-child(5) { animation-delay: .16s; } .goal-result.swap > *:nth-child(6) { animation-delay: .2s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
@keyframes pop { from { opacity: 0; transform: scale(.92); } }
.goal-desc { font: 600 clamp(20px, 2vw, 26px)/1.25 var(--display); letter-spacing: -0.02em; }
.goal-k { margin-top: 12px; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.goal-services { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.goal-services a { display: inline-block; text-decoration: none; font-size: 14px; padding: 7px 14px; border-radius: 99px; background: var(--chip-bg); border: 1px solid var(--chip-line); color: var(--chip-text); transition: background .2s; }
.goal-services a:hover { background: var(--t2); }
.goal-step { color: var(--text-2); }
.goal-result .btn { justify-self: start; margin-top: 14px; }

.engage-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin: 72px 0 20px; }
.engage-head h3 { font-size: 26px; }
.engage-head p { color: var(--text-2); max-width: 520px; }
.engage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .engage { grid-template-columns: 1fr; } }
.engage-card { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow); display: grid; gap: 8px; transition: transform .4s var(--ease), border-color .3s; }
.engage-card:hover { transform: translateY(-4px); border-color: rgba(59,130,246,.45); }
.engage-card h4 { font-size: 20px; letter-spacing: -0.02em; }
.engage-card p { color: var(--text-2); font-size: 15px; }
.engage-card .best { margin-top: 8px; font: 500 12px var(--mono); color: var(--accent); }

/* ================= FAQ ================= */
.faq-wrap { max-width: 920px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 26px 0; font: 600 clamp(18px, 2vw, 22px) var(--display); letter-spacing: -0.02em; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); font: 400 20px/1 var(--mono); color: var(--text-2); transition: transform .3s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--t2); }
.faq details p { padding: 0 60px 26px 0; color: var(--text-2); font-size: 16px; }
.faq details[open] p { animation: fadeUp .4s var(--ease); }
@media (max-width: 600px) { .faq details p { padding-right: 0; } }

/* ================= Contact ================= */
.contact { overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.aurora.small i:nth-child(1) { top: 10%; left: -20%; }
.aurora.small i:nth-child(2) { top: 40%; right: -20%; }
.contact-head { text-align: center; max-width: 820px; margin: 0 auto 56px; }
.contact-head .sub { margin: 24px auto 0; }
.book {
  max-width: 820px; margin: 0 auto; display: flex; align-items: center; gap: 20px; padding: 24px 28px; border-radius: 24px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(47,107,255,.16), transparent 55%), var(--surface);
  border: 1px solid rgba(59,130,246,.35); box-shadow: var(--shadow-lg);
}
.book[hidden], .or[hidden] { display: none; }
.book-ic { flex: none; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; color: var(--accent); background: var(--chip-bg); border: 1px solid var(--chip-line); }
.book-copy { flex: 1; display: grid; gap: 4px; }
.book-copy h3 { font-size: 22px; letter-spacing: -0.02em; }
.book-copy p { color: var(--text-2); font-size: 15px; }
@media (max-width: 640px) { .book { flex-direction: column; align-items: flex-start; padding: 22px; } .book .btn { width: 100%; } }
.or { max-width: 820px; margin: 28px auto; display: flex; align-items: center; gap: 16px; color: var(--muted); font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.giant { font-size: clamp(52px, 9vw, 120px); font-weight: 700; letter-spacing: -0.05em; line-height: .95; }
.contact-form {
  max-width: 820px; margin: 0 auto; display: grid; gap: 16px; padding: 32px; border-radius: 28px;
  background: var(--glass); border: 1px solid var(--line-2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .row2 { grid-template-columns: 1fr; } .contact-form { padding: 22px; } }
.contact-form label { display: grid; gap: 8px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: 15px var(--font); color: var(--text); background: var(--surface); width: 100%;
  border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 14px; resize: vertical; transition: border-color .2s, box-shadow .2s;
}
.contact-form select option { background: var(--surface); color: var(--text); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 4px rgba(59,130,246,.2); }
.contact-form .invalid { border-color: var(--bad); }
.opt { color: var(--muted); font-weight: 400; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 6px; }
.form-foot a { color: var(--text-2); }

/* ================= Footer ================= */
.footer { border-top: 1px solid var(--line); padding: 32px 0; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.footer .brand-mark { height: 24px; }
.footer .brand-word { font-size: 14px; }
.legal { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.legal a { text-decoration: none; }
.legal a:hover { color: var(--text); }

/* ================= Reveal ================= */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-in { opacity: 1; transform: none; filter: none; }
  .window { transform: none; }
  .chart .line { stroke-dashoffset: 0; } .chart .area { opacity: 1; }
  .scrub .w { color: var(--text); }
  .ux-line path { stroke-dashoffset: 0; }
}
