/* ==========================================================================
   Nextio — shared stylesheet
   Light, airy base with an iridescent blue → teal → amber accent.
   Fonts: Geist (UI/display), Instrument Serif (accent), Geist Mono (data)
   ========================================================================== */

:root {
  --bg: #F7F5F0;
  --bg-2: #EFEBE3;
  --surface: #FFFFFF;
  --surface-2: #FBFAF7;
  --ink: #0D1117;
  --ink-2: #2B323D;
  --muted: #5B6270;
  --muted-2: #8A909B;
  --line: rgba(13, 17, 23, .09);
  --line-2: rgba(13, 17, 23, .14);

  --blue: #2F6BFF;
  --blue-ink: #1F4FD1;
  --teal: #12B3A8;
  --teal-ink: #0B7F77;
  --amber: #F2A541;
  --amber-ink: #A9620A;
  --rose: #E5677A;
  --green: #1A9E5C;

  --grad: linear-gradient(100deg, #2F6BFF 0%, #12B3A8 52%, #F2A541 100%);
  --grad-soft: linear-gradient(120deg, rgba(47,107,255,.14), rgba(18,179,168,.12) 50%, rgba(242,165,65,.14));

  --night: #0A0E15;
  --night-2: #121823;
  --night-line: rgba(255, 255, 255, .09);

  --font-sans: "Geist", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(13,17,23,.05), 0 1px 1px rgba(13,17,23,.03);
  --shadow: 0 1px 2px rgba(13,17,23,.04), 0 8px 24px -8px rgba(13,17,23,.10);
  --shadow-lg: 0 2px 4px rgba(13,17,23,.04), 0 24px 60px -18px rgba(13,17,23,.22), 0 60px 120px -40px rgba(47,107,255,.18);

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: rgba(47,107,255,.18); }

/* Subtle film grain over everything */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .035;
  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='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

@media (prefers-reduced-motion: no-preference) { html:focus-within { scroll-behavior: smooth; } }

/* ---------- Typography ---------- */
.display {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 600;
}
.h2 {
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 600;
}
.h3 { font-size: 1.25rem; line-height: 1.25; letter-spacing: -.015em; font-weight: 600; }
.serif { font-family: var(--font-serif); font-weight: 400; font-style: italic; letter-spacing: -.02em; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-right: .06em;
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); line-height: 1.55; max-width: 40em; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8125rem; font-weight: 500; color: var(--ink-2);
  padding: 6px 12px 6px 6px;
  background: rgba(255,255,255,.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}
.eyebrow .tag {
  font-size: .72rem; font-weight: 600; letter-spacing: .02em;
  padding: 2px 8px; border-radius: 999px; color: #fff; background: var(--grad);
}
.eyebrow > svg { width: 14px; height: 14px; color: var(--muted); }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px;
  font-size: .9375rem; font-weight: 500; letter-spacing: -.005em;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid transparent; border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 8px 20px -8px rgba(13,17,23,.5); }
.btn-primary:hover { box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 12px 28px -10px rgba(47,107,255,.55); }
.btn-ghost { --btn-bg: rgba(255,255,255,.75); --btn-fg: var(--ink); border-color: var(--line-2); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(13,17,23,.28); background: #fff; }
.btn-light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn-outline-light { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,.24); }
.btn-outline-light:hover { border-color: rgba(255,255,255,.5); }
.btn-lg { height: 52px; padding: 0 26px; font-size: 1rem; }
.btn-sm { height: 36px; padding: 0 14px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn .arrow { display: inline-flex; transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(247,245,240,.78);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom-color: var(--line);
}
.nav { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; color: var(--ink); flex-shrink: 0; }
.brand svg { height: 30px; width: auto; }
.nav-links { display: flex; gap: 4px; margin-right: auto; }
.nav-links a {
  font-size: .9rem; font-weight: 500; color: var(--ink-2);
  padding: 8px 12px; border-radius: 999px; transition: background .2s, color .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { background: rgba(13,17,23,.05); color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2);
  background: rgba(255,255,255,.7); align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 1.6px; border-radius: 2px; background: var(--ink);
  position: relative; transition: transform .3s var(--ease), background .2s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: rgba(247,245,240,.97);
  backdrop-filter: blur(20px);
  padding: 24px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 4px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s, transform .3s var(--ease), visibility .25s;
  overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-nav a:not(.btn) {
  font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: 16px; }
body.nav-open { overflow: hidden; }

/* ---------- Aurora backgrounds ---------- */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora i {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55;
  animation: drift 22s ease-in-out infinite alternate;
}
.aurora i:nth-child(1) { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; left: -8%; top: -12%; background: radial-gradient(circle, rgba(47,107,255,.55), transparent 65%); }
.aurora i:nth-child(2) { width: 40vw; height: 40vw; max-width: 560px; max-height: 560px; right: -6%; top: 2%; background: radial-gradient(circle, rgba(18,179,168,.5), transparent 65%); animation-delay: -6s; }
.aurora i:nth-child(3) { width: 36vw; height: 36vw; max-width: 520px; max-height: 520px; left: 34%; top: 22%; background: radial-gradient(circle, rgba(242,165,65,.45), transparent 65%); animation-delay: -12s; }
@keyframes drift {
  0% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(4%, 3%, 0) scale(1.08); }
  100% { transform: translate3d(-3%, 5%, 0) scale(.96); }
}
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  opacity: .6;
}

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section-tight { padding: clamp(56px, 7vw, 88px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-head .kicker { margin-bottom: 18px; }
.section-head .lead { margin-top: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 8vw, 110px); margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + clamp(48px, 8vw, 96px)); overflow: hidden; }
.hero-inner { position: relative; z-index: 1; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 { margin-top: 24px; max-width: 13ch; }
.hero .lead { margin-top: 24px; max-width: 36em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }
.hero-note { margin-top: 18px; font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 14px; height: 14px; color: var(--teal-ink); }
.hero-mock { position: relative; z-index: 1; margin-top: clamp(48px, 7vw, 80px); }
.hero-mock::before {
  content: ""; position: absolute; inset: 8% -4% -6%; z-index: -1;
  background: var(--grad); filter: blur(80px); opacity: .22; border-radius: 50%;
}

/* ---------- App mock (shared) ---------- */
.window {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  text-align: left;
}
.window-bar {
  display: flex; align-items: center; gap: 14px;
  height: 44px; padding: 0 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #E3DFD7; }
.dots i:nth-child(1) { background: #F0A39B; }
.dots i:nth-child(2) { background: #F3CD7E; }
.dots i:nth-child(3) { background: #9FD9A8; }
.url {
  flex: 1; max-width: 360px; margin: 0 auto;
  height: 26px; border-radius: 8px; background: rgba(13,17,23,.04);
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: .75rem; color: var(--muted); font-family: var(--font-mono);
}
.url svg { width: 11px; height: 11px; }
.window-bar .bar-end { display: flex; gap: 6px; }
.avatar-stack { display: flex; }
.avatar {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: .65rem; font-weight: 600; color: #fff;
  border: 2px solid var(--surface);
  background: var(--blue);
}
.avatar-stack .avatar + .avatar { margin-left: -8px; }
.av-teal { background: var(--teal-ink); }
.av-amber { background: #C97A12; }
.av-rose { background: #C94A5E; }
.av-ink { background: var(--ink-2); }
.av-violet { background: #5B57C9; }

.app { display: grid; grid-template-columns: 236px 1fr; min-height: 560px; }
.app-side {
  background: var(--surface-2);
  border-right: 1px solid var(--line);
  padding: 16px 12px;
  display: flex; flex-direction: column; gap: 18px;
  font-size: .8125rem;
}
.ws-switch {
  display: flex; align-items: center; gap: 10px; padding: 6px 8px;
  border-radius: 10px; border: 1px solid var(--line); background: var(--surface);
}
.ws-logo { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, #1D2A44, #2F6BFF); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .7rem; }
.ws-switch b { font-weight: 600; font-size: .8125rem; display: block; line-height: 1.2; }
.ws-switch small { color: var(--muted); font-size: .7rem; }
.side-group h6 { margin: 0 0 6px 8px; font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.side-item {
  display: flex; align-items: center; gap: 9px;
  padding: 6px 8px; border-radius: 8px; color: var(--ink-2);
}
.side-item svg { width: 15px; height: 15px; flex-shrink: 0; }
.side-item.is-active { background: rgba(47,107,255,.08); color: var(--blue-ink); font-weight: 500; }
.side-item .count { margin-left: auto; font-size: .68rem; color: var(--muted); font-family: var(--font-mono); }
.src-ico { width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; flex-shrink: 0; }
.src-ico svg { width: 12px; height: 12px; }
.status-dot { margin-left: auto; width: 7px; height: 7px; border-radius: 50%; background: #2DBE73; box-shadow: 0 0 0 3px rgba(45,190,115,.15); }
.status-dot.sync { background: var(--amber); box-shadow: 0 0 0 3px rgba(242,165,65,.18); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .4; } }
.side-foot { margin-top: auto; padding: 10px; border-radius: 12px; background: var(--grad-soft); font-size: .75rem; color: var(--ink-2); }
.side-foot b { display: block; font-size: .8rem; }

.app-main { display: flex; flex-direction: column; min-width: 0; }
.chat-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 22px; border-bottom: 1px solid var(--line);
}
.agent-badge { width: 32px; height: 32px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.agent-badge svg { width: 16px; height: 16px; }
.chat-head b { font-size: .9rem; display: block; line-height: 1.2; }
.chat-head small { font-size: .75rem; color: var(--muted); }
.chat-head .pill-row { margin-left: auto; display: flex; gap: 6px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px; border-radius: 999px;
  font-size: .72rem; font-weight: 500; color: var(--ink-2);
  border: 1px solid var(--line); background: var(--surface);
  white-space: nowrap;
}
.pill svg { width: 12px; height: 12px; }
.pill-green { color: #11734A; background: rgba(45,190,115,.1); border-color: rgba(45,190,115,.2); }

.chat { flex: 1; padding: 22px; display: flex; flex-direction: column; gap: 18px; overflow: hidden; }
.msg-user { align-self: flex-end; display: flex; gap: 10px; align-items: flex-end; max-width: 80%; }
.msg-user .bubble {
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 18px 18px 4px 18px;
  font-size: .9rem;
}
.msg-agent { display: flex; gap: 12px; align-items: flex-start; }
.msg-agent .agent-badge { width: 28px; height: 28px; border-radius: 9px; }
.msg-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; font-size: .875rem; color: var(--ink-2); }
.steps-trace { display: flex; flex-wrap: wrap; gap: 6px; }
.steps-trace .pill { background: var(--surface-2); }
.steps-trace .pill svg { color: var(--teal-ink); }
.typed { min-height: 3.2em; line-height: 1.55; }
.typed b { color: var(--ink); font-weight: 600; }
.caret { display: inline-block; width: 2px; height: 1em; background: var(--blue); vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.answer-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 12px; }
.card-mini {
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
  padding: 12px 14px; min-width: 0;
}
.card-mini-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.card-mini-head b { font-size: .78rem; color: var(--ink); font-weight: 600; }
.card-mini-head small { font-size: .68rem; color: var(--muted); font-family: var(--font-mono); }
.legend { display: flex; gap: 10px; font-size: .68rem; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 4px; }
.legend i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }

.chart-svg { width: 100%; height: auto; overflow: visible; }
.chart-svg text { font-family: var(--font-mono); font-size: 8.5px; fill: var(--muted-2); }
.chart-svg .bar { transform-box: fill-box; transform-origin: 50% 100%; }
.is-animating .chart-svg .bar { transform: scaleY(0); }
.is-shown .chart-svg .bar { transform: scaleY(1); transition: transform .8s var(--ease); }
.is-shown .chart-svg .bar:nth-of-type(2) { transition-delay: .06s; }
.is-shown .chart-svg .bar:nth-of-type(3) { transition-delay: .12s; }
.is-shown .chart-svg .bar:nth-of-type(4) { transition-delay: .18s; }
.is-shown .chart-svg .bar:nth-of-type(5) { transition-delay: .24s; }
.is-shown .chart-svg .bar:nth-of-type(6) { transition-delay: .30s; }
.chart-svg .line-path { stroke-dasharray: 400; stroke-dashoffset: 0; }
.is-animating .chart-svg .line-path { stroke-dashoffset: 400; }
.is-shown .chart-svg .line-path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease) .3s; }

.data-table { width: 100%; border-collapse: collapse; font-size: .74rem; }
.data-table th { text-align: left; font-weight: 500; color: var(--muted); font-size: .68rem; padding: 4px 6px 6px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table td { padding: 7px 6px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table .num { text-align: right; font-family: var(--font-mono); font-size: .7rem; white-space: nowrap; }
.data-table .hl td { background: rgba(242,165,65,.08); }
.data-table .hl td:first-child { box-shadow: inset 2px 0 0 var(--amber); }

.cites { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cites > small { font-size: .7rem; color: var(--muted); margin-right: 2px; }
.cite {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px 0 4px; border-radius: 8px;
  font-size: .72rem; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line);
  white-space: nowrap;
}
.cite .n { width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; font-size: .65rem; font-weight: 600; font-family: var(--font-mono); background: rgba(47,107,255,.1); color: var(--blue-ink); }
.cite .src-ico { width: 16px; height: 16px; border-radius: 4px; }
.cite .src-ico svg { width: 10px; height: 10px; }
.follow-ups { display: flex; flex-wrap: wrap; gap: 6px; }
.follow-ups span { font-size: .74rem; padding: 5px 10px; border-radius: 999px; border: 1px dashed var(--line-2); color: var(--muted); }

.composer {
  margin: 0 22px 18px; padding: 10px 10px 10px 16px;
  border: 1px solid var(--line-2); border-radius: 16px; background: var(--surface);
  display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-sm);
  font-size: .85rem; color: var(--muted-2);
}
.composer .grow { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.composer .send { width: 32px; height: 32px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.composer .send svg { width: 14px; height: 14px; }
.composer .pill { flex-shrink: 0; }

.reveal-step { transition: opacity .5s var(--ease), transform .5s var(--ease); }
.is-animating .reveal-step { opacity: 0; transform: translateY(8px); }
.is-animating .reveal-step.is-in { opacity: 1; transform: none; }

/* Float callouts around hero mock */
.float-card {
  position: absolute; z-index: 2;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border: 1px solid var(--line-2); border-radius: 16px; box-shadow: var(--shadow);
  padding: 12px 14px; font-size: .78rem; color: var(--ink-2);
  display: flex; gap: 10px; align-items: center;
  animation: bob 6s ease-in-out infinite;
}
.float-card b { display: block; color: var(--ink); font-size: .82rem; }
.float-card .ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.float-card .ico svg { width: 15px; height: 15px; }
.float-a { left: -36px; top: 26%; }
.float-b { right: -30px; bottom: 16%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- Logo strip ---------- */
.logos { padding: 8px 0 clamp(56px, 7vw, 88px); }
.logos p { text-align: center; font-size: .85rem; color: var(--muted); margin-bottom: 28px; }
.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: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 28px)); } }
.cust { display: inline-flex; align-items: center; gap: 10px; color: #5A606B; font-weight: 600; font-size: 1.15rem; letter-spacing: -.02em; white-space: nowrap; opacity: .85; }
.cust svg { width: 24px; height: 24px; }
.cust.serif-logo { font-family: var(--font-serif); font-weight: 400; font-size: 1.45rem; font-style: italic; }
.cust.mono-logo { font-family: var(--font-mono); font-weight: 500; font-size: 1rem; letter-spacing: .02em; text-transform: uppercase; }
.cust.light-logo { font-weight: 400; letter-spacing: .06em; text-transform: uppercase; font-size: .95rem; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative; padding: 28px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 14px;
}
.step-num { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.step-num::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.step h3 { font-size: 1.5rem; letter-spacing: -.025em; }
.step p { color: var(--muted); font-size: .95rem; }
.step-visual { margin-top: auto; padding-top: 10px; }
.step-visual .vis {
  height: 150px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line);
  padding: 14px; display: flex; flex-direction: column; gap: 8px; justify-content: center; overflow: hidden;
}
.conn-row { display: flex; align-items: center; gap: 8px; font-size: .78rem; padding: 6px 8px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); }
.conn-row .status-dot { margin-left: auto; }
.conn-row small { color: var(--muted); font-family: var(--font-mono); font-size: .66rem; margin-left: auto; }
.ask-line { font-size: .82rem; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2); display: flex; gap: 8px; align-items: center; }
.ask-line > svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--muted); }
.ask-line .caret { height: .95em; }
.ask-sugs { display: flex; gap: 6px; flex-wrap: wrap; }
.ask-sugs span { font-size: .7rem; padding: 4px 9px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.act-row { display: flex; align-items: center; gap: 10px; font-size: .78rem; padding: 8px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.act-row .ico { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; flex-shrink: 0; }
.act-row .ico svg { width: 13px; height: 13px; }
.act-row small { margin-left: auto; color: var(--muted); font-size: .68rem; }

/* ---------- Connectors / orbit ---------- */
.connect { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.connect-copy .lead { margin-top: 18px; }
.check-list { margin-top: 28px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: .95rem; }
.check-list svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--teal-ink); }
.connect-copy .btn { margin-top: 32px; }

.orbit { --size: min(540px, 88vw); position: relative; width: var(--size); height: var(--size); margin: 0 auto; }
.orbit-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed var(--line-2); }
.orbit-ring.r2 { inset: 19%; border-style: solid; border-color: var(--line); }
.orbit-ring.r3 { inset: 36%; border: 0; background: radial-gradient(circle, rgba(47,107,255,.12), transparent 70%); }
.orbit-spin { position: absolute; inset: 0; animation: spin 80s linear infinite; }
.orbit-spin.inner { inset: 19%; animation-duration: 60s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 26%; aspect-ratio: 1; border-radius: 28%;
  background: var(--ink); display: grid; place-items: center;
  box-shadow: 0 20px 60px -10px rgba(47,107,255,.45), 0 0 0 10px rgba(255,255,255,.6);
}
.orbit-center svg { width: 62%; height: auto; }
.tile {
  --a: 0deg;
  position: absolute; left: 50%; top: 50%;
  width: 64px; height: 64px; margin: -32px 0 0 -32px;
  transform: rotate(var(--a)) translate(calc(var(--size) / 2)) rotate(calc(var(--a) * -1));
}
.orbit-spin.inner .tile { transform: rotate(var(--a)) translate(calc(var(--size) * .31)) rotate(calc(var(--a) * -1)); }
.tile-in {
  width: 100%; height: 100%; border-radius: 18px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  display: grid; place-items: center; position: relative;
  animation: spin 80s linear infinite reverse;
}
.orbit-spin.inner .tile-in { animation-duration: 60s; animation-direction: normal; }
.tile-in svg { width: 30px; height: 30px; }
.tile-in .tip {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  font-size: .68rem; font-weight: 500; color: var(--muted); white-space: nowrap;
}

.conn-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: clamp(48px, 6vw, 72px); }
.conn-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  padding: 18px 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line);
  font-size: .8rem; font-weight: 500; color: var(--ink-2);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.conn-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-2); }
.conn-card svg { width: 32px; height: 32px; }
.conn-card small { display: block; font-weight: 400; font-size: .7rem; color: var(--muted); margin-top: -6px; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento-card {
  position: relative; overflow: hidden;
  grid-column: span 2;
  padding: 28px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 10px;
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.bento-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.bento-card.span-3 { grid-column: span 3; }
.bento-card.span-4 { grid-column: span 4; }
.bento-card.span-6 { grid-column: span 6; }
.bento-card h3 { font-size: 1.3rem; letter-spacing: -.02em; }
.bento-card p { color: var(--muted); font-size: .92rem; max-width: 34em; }
.bento-card .tagline { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-ink); }
.bento-visual { margin-top: auto; padding-top: 20px; }
.bento-card.dark { background: var(--night); color: #fff; border-color: var(--night); }
.bento-card.dark p { color: rgba(255,255,255,.62); }
.bento-card.dark .tagline { color: var(--amber); }
.bento-card.tint { background: linear-gradient(160deg, #fff 30%, #EEF3FF 100%); }

/* Agent studio mock */
.studio { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.studio-panel { border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); padding: 14px; font-size: .78rem; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.field-label { font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.fake-input { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; color: var(--ink-2); }
.fake-input.multi { line-height: 1.5; font-size: .74rem; }
.fake-input code { font-family: var(--font-mono); font-size: .7rem; padding: 1px 5px; border-radius: 4px; background: rgba(47,107,255,.08); color: var(--blue-ink); }
.toggle-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.toggle-row:last-child { border-bottom: 0; }
.toggle-row .src-ico { width: 20px; height: 20px; }
.switch { margin-left: auto; width: 28px; height: 16px; border-radius: 99px; background: #D8D4CC; position: relative; flex-shrink: 0; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .2s; }
.switch.on { background: var(--teal); }
.switch.on::after { transform: translateX(12px); }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: .7rem; padding: 3px 8px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); display: inline-flex; gap: 5px; align-items: center; }
.chip svg { width: 11px; height: 11px; }

/* Brief mock */
.brief { border: 1px solid var(--night-line); border-radius: 14px; background: var(--night-2); padding: 14px; font-size: .78rem; color: rgba(255,255,255,.8); }
.brief-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.brief-head b { color: #fff; font-size: .82rem; }
.brief-head small { color: rgba(255,255,255,.5); font-family: var(--font-mono); font-size: .66rem; }
.brief ul { display: grid; gap: 8px; }
.brief li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.45; }
.brief li i { width: 6px; height: 6px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; background: var(--teal); }
.brief li i.amber { background: var(--amber); }
.brief li i.rose { background: var(--rose); }
.sched { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.sched span { font-family: var(--font-mono); font-size: .64rem; padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.7); border: 1px solid var(--night-line); }

/* Permissions mock */
.perm { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: .76rem; background: var(--surface); }
.perm-row { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 8px; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.perm-row:last-child { border-bottom: 0; }
.perm-row.head { background: var(--surface-2); font-size: .66rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.perm-user { display: flex; align-items: center; gap: 8px; min-width: 0; }
.perm-user .avatar { width: 22px; height: 22px; font-size: .58rem; border: 0; flex-shrink: 0; }
.perm-user span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.role { font-size: .68rem; padding: 2px 7px; border-radius: 6px; background: rgba(13,17,23,.05); justify-self: start; }
.lock { display: inline-flex; gap: 4px; align-items: center; font-size: .66rem; color: var(--teal-ink); }
.lock.deny { color: #B23A4C; }
.lock svg { width: 11px; height: 11px; }

/* Mini charts */
.mini-charts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-chart { border: 1px solid var(--line); border-radius: 12px; padding: 10px; background: var(--surface-2); }
.mini-chart b { font-size: .7rem; color: var(--muted); font-weight: 500; display: block; }
.mini-chart strong { font-size: 1.05rem; letter-spacing: -.02em; display: block; margin-bottom: 4px; }
.mini-chart svg { width: 100%; height: 48px; }
.donut-wrap { display: flex; align-items: center; gap: 10px; }
.donut-wrap svg { width: 52px; height: 52px; flex-shrink: 0; }
.donut-legend { font-size: .64rem; color: var(--muted); display: grid; gap: 2px; }
.donut-legend i { display: inline-block; width: 6px; height: 6px; border-radius: 2px; margin-right: 4px; }

/* Alerts mock */
.alert-card { border: 1px solid rgba(229,103,122,.25); border-radius: 14px; background: linear-gradient(180deg, #FFF6F6, #fff); padding: 12px 14px; font-size: .78rem; }
.alert-top { display: flex; align-items: center; gap: 8px; }
.alert-top .ico { width: 24px; height: 24px; border-radius: 7px; background: rgba(229,103,122,.14); color: #B23A4C; display: grid; place-items: center; }
.alert-top .ico svg { width: 13px; height: 13px; }
.alert-top b { font-size: .8rem; }
.alert-top small { margin-left: auto; color: var(--muted); font-family: var(--font-mono); font-size: .64rem; }
.alert-card p { margin-top: 8px; font-size: .76rem !important; color: var(--ink-2) !important; }
.alert-card svg.spark { width: 100%; height: 44px; margin-top: 6px; }
.alert-actions { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.alert-actions span { font-size: .68rem; padding: 4px 9px; border-radius: 7px; border: 1px solid var(--line); background: #fff; }
.alert-actions span.primary { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Semantic layer */
.metric-def { margin: 0; font-family: var(--font-mono); font-size: .72rem; border-radius: 12px; background: var(--night); color: #C9D3E3; padding: 14px; line-height: 1.7; overflow-x: auto; white-space: pre-wrap; word-break: break-word; }
.metric-def .k { color: #7FB0FF; }
.metric-def .s { color: #F6C47E; }
.metric-def .c { color: #6B7688; }
.metric-def .t { color: #66D9CC; }

/* Notebook cell */
.nb { display: grid; gap: 8px; font-size: .78rem; }
.nb-cell { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--surface-2); display: flex; gap: 10px; align-items: flex-start; }
.nb-cell .avatar { width: 22px; height: 22px; font-size: .58rem; border: 0; flex-shrink: 0; }
.nb-cell .comment { font-size: .74rem; color: var(--muted); }

/* ---------- Platform tabs section ---------- */
.platform { display: grid; grid-template-columns: .85fr 1.4fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.tab-list { display: grid; gap: 8px; margin-top: 32px; }
.tab-btn {
  text-align: left; width: 100%;
  padding: 18px 20px; border-radius: 18px; border: 1px solid transparent; background: transparent;
  display: grid; gap: 4px; transition: background .25s, border-color .25s, box-shadow .25s;
  position: relative;
}
.tab-btn b { font-size: 1.05rem; font-weight: 600; letter-spacing: -.015em; display: flex; align-items: center; gap: 10px; }
.tab-btn b svg { width: 18px; height: 18px; color: var(--muted); transition: color .2s; }
.tab-btn span { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.tab-btn:hover { background: rgba(255,255,255,.6); }
.tab-btn[aria-selected="true"] { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow); }
.tab-btn[aria-selected="true"] b svg { color: var(--blue); }
.tab-btn[aria-selected="true"]::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--grad); }
.tab-panels { position: relative; }
.tab-panel[hidden] { display: none; }
.tab-panel { animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.board { padding: 20px; display: grid; gap: 14px; background: var(--surface-2); }
.board-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.board-head h4 { font-size: 1.05rem; letter-spacing: -.02em; }
.board-head .pill-row { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.kpi small { font-size: .72rem; color: var(--muted); display: block; }
.kpi strong { display: block; font-size: 1.5rem; letter-spacing: -.03em; margin-top: 2px; }
.delta { font-size: .7rem; font-weight: 600; font-family: var(--font-mono); }
.delta.up { color: var(--green); }
.delta.down { color: #B23A4C; }
.board-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; }
.board-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; min-width: 0; }
.board-card .card-mini-head { margin-bottom: 10px; }
.area-svg { width: 100%; height: auto; }
.area-svg text { font-family: var(--font-mono); font-size: 9px; fill: var(--muted-2); }
.rep-list { display: grid; gap: 8px; font-size: .78rem; }
.rep { display: flex; align-items: center; gap: 8px; }
.rep .avatar { width: 24px; height: 24px; font-size: .58rem; border: 0; flex-shrink: 0; }
.rep .bar-track { flex: 1; height: 6px; border-radius: 6px; background: rgba(13,17,23,.06); overflow: hidden; min-width: 30px; }
.rep .bar-track i { display: block; height: 100%; border-radius: 6px; background: var(--grad); }
.rep .bar-track i.warn { background: linear-gradient(90deg, var(--amber), var(--rose)); }
.rep small { font-family: var(--font-mono); font-size: .68rem; color: var(--muted); width: 34px; text-align: right; }
.nb-ask { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: .82rem; }
.nb-ask .agent-badge { width: 26px; height: 26px; border-radius: 8px; }
.nb-ask .agent-badge svg { width: 13px; height: 13px; }
.nb-ask .comments svg { width: 14px; height: 14px; }
.nb-ask .comments { margin-left: auto; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .72rem; }

.brief-doc { padding: clamp(18px, 3vw, 32px); background: var(--surface); }
.brief-doc .meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .75rem; color: var(--muted); font-family: var(--font-mono); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.brief-doc h4 { font-size: 1.4rem; letter-spacing: -.025em; margin: 18px 0 6px; }
.brief-doc h4 .serif { font-size: 1.1em; }
.brief-doc > p { color: var(--muted); font-size: .9rem; }
.brief-sections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.brief-sec { border: 1px solid var(--line); border-radius: 14px; padding: 14px; font-size: .8rem; color: var(--ink-2); background: var(--surface-2); }
.brief-sec b { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.brief-sec strong { font-size: 1.3rem; letter-spacing: -.02em; display: block; }
.brief-list { margin-top: 18px; display: grid; gap: 10px; font-size: .86rem; color: var(--ink-2); }
.brief-list li { display: flex; gap: 10px; }
.brief-list li span.n { font-family: var(--font-mono); font-size: .72rem; color: var(--blue-ink); width: 22px; flex-shrink: 0; padding-top: 2px; }
.brief-list sup { font-family: var(--font-mono); font-size: .62rem; color: var(--blue-ink); background: rgba(47,107,255,.08); padding: 0 4px; border-radius: 4px; }
.deliver { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }

.monitor { padding: 20px; background: var(--surface-2); display: grid; gap: 12px; }
.rule { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: .82rem; }
.rule .ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; }
.rule .ico svg { width: 15px; height: 15px; }
.rule b { display: block; font-size: .85rem; }
.rule small { color: var(--muted); font-size: .74rem; font-family: var(--font-mono); }
.timeline { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.timeline ol { display: grid; gap: 12px; margin-top: 8px; position: relative; }
.timeline ol::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: var(--line-2); }
.timeline li { display: flex; gap: 12px; font-size: .8rem; color: var(--ink-2); position: relative; }
.timeline li i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--surface); background: var(--teal); flex-shrink: 0; margin-top: 4px; position: relative; z-index: 1; }
.timeline li i.amber { background: var(--amber); }
.timeline li i.rose { background: var(--rose); }
.timeline li time { font-family: var(--font-mono); font-size: .7rem; color: var(--muted); min-width: 44px; padding-top: 2px; }

/* ---------- Security (dark) ---------- */
.dark-section { background: var(--night); color: #fff; overflow: hidden; }
.dark-section .kicker { color: rgba(255,255,255,.6); }
.dark-section .lead { color: rgba(255,255,255,.66); }
.dark-section .aurora i { opacity: .35; }
.security-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: end; margin-bottom: clamp(40px, 6vw, 64px); position: relative; z-index: 1; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.badge {
  width: 112px; height: 112px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.1), rgba(255,255,255,.02));
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 2px;
  font-size: .68rem; color: rgba(255,255,255,.65); line-height: 1.25;
}
.badge svg { width: 22px; height: 22px; color: var(--amber); margin-bottom: 4px; }
.badge b { color: #fff; font-size: .82rem; letter-spacing: -.01em; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--night-line); border: 1px solid var(--night-line); border-radius: var(--radius-lg); overflow: hidden; position: relative; z-index: 1; }
.trust { background: var(--night); padding: 28px; display: flex; flex-direction: column; gap: 10px; transition: background .3s; }
.trust:hover { background: #0E1420; }
.trust .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--night-line); }
.trust .ico svg { width: 19px; height: 19px; color: #9CC0FF; }
.trust h3 { font-size: 1.02rem; font-weight: 600; letter-spacing: -.01em; margin-top: 6px; }
.trust p { font-size: .88rem; color: rgba(255,255,255,.6); line-height: 1.55; }
.security-foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between; position: relative; z-index: 1; font-size: .88rem; color: rgba(255,255,255,.6); }
.security-foot a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 36px 24px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong { display: block; font-size: clamp(2.4rem, 4.6vw, 3.8rem); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.stat strong .unit { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.stat p { margin-top: 12px; color: var(--muted); font-size: .92rem; max-width: 22ch; }

/* ---------- Testimonials ---------- */
.reviews { columns: 3; column-gap: 16px; }
.review {
  break-inside: avoid; margin-bottom: 16px;
  padding: 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 16px;
}
.review.feature { background: var(--ink); color: #fff; border-color: var(--ink); }
.review.feature blockquote { font-size: 1.25rem; line-height: 1.45; letter-spacing: -.015em; }
.review.feature .who small { color: rgba(255,255,255,.6); }
.stars { display: flex; gap: 2px; color: var(--amber); }
.stars svg { width: 16px; height: 16px; }
.review blockquote { font-size: 1rem; line-height: 1.6; color: inherit; }
.review blockquote mark { background: linear-gradient(transparent 60%, rgba(242,165,65,.32) 60%); color: inherit; padding: 0 1px; }
.review.feature blockquote mark { background: linear-gradient(transparent 60%, rgba(242,165,65,.45) 60%); }
.who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.who .avatar { width: 40px; height: 40px; font-size: .8rem; border: 0; flex-shrink: 0; }
.who b { display: block; font-size: .92rem; line-height: 1.3; }
.who small { color: var(--muted); font-size: .8rem; }
.rating-summary { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; font-size: .9rem; color: var(--muted); flex-wrap: wrap; }
.rating-summary .stars svg { width: 18px; height: 18px; }

/* ---------- Pricing ---------- */
.billing-toggle {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  margin-top: 28px;
}
.billing-toggle button {
  height: 38px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent;
  font-size: .88rem; font-weight: 500; color: var(--muted); display: inline-flex; align-items: center; gap: 8px;
  transition: background .25s, color .25s;
}
.billing-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.billing-toggle .save { font-size: .68rem; font-weight: 600; padding: 2px 7px; border-radius: 99px; background: rgba(18,179,168,.14); color: var(--teal-ink); }
.billing-toggle button[aria-pressed="true"] .save { background: rgba(255,255,255,.16); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan {
  position: relative; padding: 32px; border-radius: var(--radius-lg); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.plan.popular { border: 1px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; box-shadow: var(--shadow-lg); }
.plan .ribbon { position: absolute; top: -12px; left: 32px; font-size: .72rem; font-weight: 600; color: #fff; background: var(--grad); padding: 4px 12px; border-radius: 99px; }
.plan h3 { font-size: 1.25rem; }
.plan .desc { color: var(--muted); font-size: .9rem; margin-top: 6px; min-height: 3em; }
.price { margin-top: 22px; display: flex; align-items: baseline; gap: 6px; }
.price strong { font-size: 3rem; font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.price span { color: var(--muted); font-size: .88rem; }
.price strong span { font-size: inherit; color: inherit; }
.price-note { font-size: .8rem; color: var(--muted); margin-top: 6px; min-height: 1.3em; }
.plan .btn { margin-top: 24px; }
.plan ul { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 11px; font-size: .9rem; color: var(--ink-2); }
.plan ul li { display: flex; gap: 10px; align-items: flex-start; }
.plan ul svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--teal-ink); }
.plan ul .group-title { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; margin-top: 4px; }
.plan.dark-plan { background: var(--night); color: #fff; border-color: var(--night); }
.plan.dark-plan .desc, .plan.dark-plan .price span, .plan.dark-plan .price-note { color: rgba(255,255,255,.6); }
.plan.dark-plan ul { border-top-color: var(--night-line); color: rgba(255,255,255,.82); }
.plan.dark-plan ul svg { color: var(--amber); }
.plan.dark-plan ul .group-title { color: rgba(255,255,255,.5); }
.pricing-foot { text-align: center; margin-top: 28px; color: var(--muted); font-size: .9rem; }
.pricing-foot a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; font-size: 1.08rem; font-weight: 500; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; flex-shrink: 0; transition: transform .3s var(--ease), background .2s; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); border-radius: 2px; }
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.faq details[open] summary .plus { background: var(--ink); }
.faq details[open] summary .plus::before, .faq details[open] summary .plus::after { background: #fff; }
.faq details[open] summary .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq summary:hover { color: var(--blue-ink); }
.faq-body { padding: 0 48px 24px 0; color: var(--muted); font-size: .98rem; line-height: 1.65; }
.faq-body p + p { margin-top: 10px; }
.faq-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CTA / lead form ---------- */
.cta-box {
  position: relative; overflow: hidden;
  border-radius: var(--radius-xl); background: var(--night); color: #fff;
  padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 80px);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center;
}
.cta-box .aurora i { opacity: .5; }
.cta-box > *:not(.aurora) { position: relative; z-index: 1; }
.cta-box .lead { color: rgba(255,255,255,.68); margin-top: 18px; }
.cta-points { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .88rem; color: rgba(255,255,255,.75); }
.cta-points span { display: inline-flex; gap: 8px; align-items: center; }
.cta-points svg { width: 16px; height: 16px; color: var(--amber); }
.lead-form {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg); padding: 24px; backdrop-filter: blur(12px);
  display: grid; gap: 14px;
}
.lead-form h3 { font-size: 1.15rem; }
.lead-form .field label { color: rgba(255,255,255,.75); }
.lead-form input[type="email"], .lead-form input[type="text"], .lead-form select {
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #fff;
}
.lead-form input::placeholder { color: rgba(255,255,255,.45); }
.lead-form select option { color: var(--ink); }
.lead-form .fine { font-size: .76rem; color: rgba(255,255,255,.55); }
.lead-form .fine a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.inline-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }

/* ---------- Forms (shared) ---------- */
.field { display: grid; gap: 7px; }
.field label, .fieldset legend { font-size: .85rem; font-weight: 500; color: var(--ink-2); }
.field .req { color: #B23A4C; }
.field .hint { font-size: .78rem; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea {
  width: 100%; height: 48px; padding: 0 14px;
  border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface);
  font-size: .95rem; color: var(--ink);
  transition: border-color .2s, box-shadow .2s, background .2s;
  appearance: none; -webkit-appearance: none;
}
textarea { height: auto; min-height: 140px; padding: 12px 14px; resize: vertical; line-height: 1.55; }
select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%235B6270' stroke-width='1.6' stroke-linecap='round'><path d='M3 4.5l3 3 3-3'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.lead-form select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round'><path d='M3 4.5l3 3 3-3'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47,107,255,.15); }
.was-validated input:invalid, .was-validated select:invalid, .was-validated textarea:invalid { border-color: #D2475C; }
.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.check {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--surface); font-size: .88rem; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.check:hover { border-color: rgba(13,17,23,.28); }
.check input, .consent input { width: 18px; height: 18px; margin: 0; accent-color: var(--blue); flex-shrink: 0; }
.check:has(input:checked) { border-color: var(--blue); background: rgba(47,107,255,.05); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--ink-2); line-height: 1.5; }
.consent input { margin-top: 2px; }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; padding: 14px 16px; border-radius: 12px; font-size: .9rem; align-items: flex-start; gap: 10px; }
.form-status svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.form-status.is-success { display: flex; background: rgba(26,158,92,.1); color: #0F6B3D; border: 1px solid rgba(26,158,92,.25); }
.form-status.is-error { display: flex; background: rgba(210,71,92,.08); color: #9B2C3E; border: 1px solid rgba(210,71,92,.25); }
.lead-form .form-status.is-success { background: rgba(45,190,115,.14); color: #A8F0C8; border-color: rgba(45,190,115,.3); }
.lead-form .form-status.is-error { background: rgba(229,103,122,.14); color: #FFC2CB; border-color: rgba(229,103,122,.3); }
form.is-sending button[type="submit"] { opacity: .7; pointer-events: none; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .8s linear infinite; display: none; }
form.is-sending .spinner { display: inline-block; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + clamp(48px, 7vw, 88px)) 0 clamp(40px, 5vw, 64px); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: 1; letter-spacing: -.045em; font-weight: 600; margin-top: 18px; max-width: 16ch; }
.page-hero .lead { margin-top: 20px; }
.breadcrumb { font-size: .82rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.breadcrumb a:hover { color: var(--ink); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.4fr; gap: clamp(32px, 5vw, 64px); align-items: start; padding-bottom: clamp(80px, 10vw, 120px); }
.contact-aside { display: grid; gap: 16px; }
.info-card { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; gap: 14px; align-items: flex-start; }
.info-card .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); flex-shrink: 0; }
.info-card .ico svg { width: 18px; height: 18px; color: var(--blue-ink); }
.info-card h3 { font-size: 1rem; }
.info-card p { font-size: .88rem; color: var(--muted); margin-top: 2px; }
.info-card a.link { display: inline-block; margin-top: 6px; font-size: .9rem; font-weight: 500; color: var(--blue-ink); }
.info-card a.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.office { padding: 18px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.office b { display: block; color: var(--ink); font-size: .95rem; margin-bottom: 4px; }
.office .flag { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; color: var(--teal-ink); display: block; margin-bottom: 8px; }
.form-card { padding: clamp(22px, 4vw, 40px); border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: grid; gap: 20px; position: relative; }
.form-card h2 { font-size: 1.6rem; letter-spacing: -.03em; }
.form-card > p { color: var(--muted); font-size: .92rem; margin-top: -12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.response-note { display: flex; align-items: center; gap: 10px; font-size: .84rem; color: var(--muted); }
.response-note .status-dot { margin: 0; }

/* ---------- Legal ---------- */
.legal-wrap { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; padding-bottom: clamp(80px, 10vw, 120px); }
.toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; }
.toc h2 { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.toc ol { display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: flex; gap: 8px; font-size: .86rem; color: var(--ink-2); padding: 5px 8px; border-radius: 8px; line-height: 1.35; }
.toc a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); font-family: var(--font-mono); font-size: .7rem; color: var(--muted-2); padding-top: 2px; }
.toc a:hover, .toc a.is-active { background: rgba(47,107,255,.07); color: var(--blue-ink); }
.legal { max-width: 760px; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .85rem; color: var(--muted); padding: 16px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 40px; }
.legal-meta b { color: var(--ink); font-weight: 600; }
.legal .summary-box { padding: 22px 24px; border-radius: var(--radius); background: var(--grad-soft); border: 1px solid var(--line); margin-bottom: 40px; }
.legal .summary-box h2 { font-size: 1.05rem; margin-bottom: 8px; }
.legal .summary-box ul { list-style: disc; padding-left: 20px; display: grid; gap: 6px; color: var(--ink-2); font-size: .95rem; }
.legal section { padding-top: 8px; margin-bottom: 40px; }
.legal section > h2 { font-size: 1.5rem; letter-spacing: -.025em; margin-bottom: 14px; display: flex; gap: 12px; align-items: baseline; }
.legal section > h2 .num { font-family: var(--font-mono); font-size: .85rem; color: var(--muted-2); font-weight: 400; }
.legal h3 { font-size: 1.05rem; margin: 20px 0 8px; }
.legal p, .legal li { color: var(--ink-2); font-size: 1rem; line-height: 1.75; }
.legal p + p { margin-top: 12px; }
.legal ul.list, .legal ol.list { list-style: disc; padding-left: 22px; margin: 12px 0; display: grid; gap: 6px; }
.legal ol.list { list-style: lower-alpha; }
.legal a { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--ink); }
.legal .caps { text-transform: uppercase; font-size: .92rem; letter-spacing: .01em; }
.legal-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .9rem; display: block; overflow-x: auto; }
.legal-table th, .legal-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; background: var(--surface-2); }
.legal-table td { color: var(--ink-2); }
.callout { padding: 16px 18px; border-radius: 12px; border-left: 3px solid var(--teal); background: rgba(18,179,168,.07); margin: 16px 0; }
.callout p { font-size: .95rem; }

/* ---------- 404 ---------- */
.nf { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + 40px) 0 80px; }
.nf .container { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.nf-code { font-size: clamp(6rem, 22vw, 14rem); font-weight: 600; letter-spacing: -.07em; line-height: .9; }
.nf h1 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); letter-spacing: -.03em; margin-top: 16px; }
.nf p { color: var(--muted); margin-top: 12px; max-width: 34em; }
.nf .hero-ctas { margin-top: 28px; }
.nf-path { margin-top: 36px; display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .78rem; color: var(--muted); flex-wrap: wrap; justify-content: center; }
.nf-path .node { padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface); }
.nf-path .node.broken { border-style: dashed; color: #B23A4C; }
.nf-path .edge { width: 28px; height: 1px; background: var(--line-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: rgba(255,255,255,.7); padding: clamp(56px, 8vw, 96px) 0 32px; position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; position: relative; z-index: 1; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand svg { height: 32px; }
.footer-brand p { margin-top: 18px; font-size: .92rem; max-width: 30ch; line-height: 1.6; }
.socials { display: flex; gap: 8px; margin-top: 22px; }
.socials a { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; border: 1px solid var(--night-line); color: rgba(255,255,255,.75); transition: background .2s, color .2s, border-color .2s; }
.socials a:hover { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2); }
.socials svg { width: 16px; height: 16px; }
.footer-col h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.45); font-weight: 600; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: .92rem; color: rgba(255,255,255,.78); transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-size: .8rem; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--night-line); }
.footer-status .status-dot { margin: 0; }
.footer-word {
  font-size: clamp(5rem, 21vw, 18rem); font-weight: 600; letter-spacing: -.07em; line-height: .8;
  margin-top: clamp(48px, 7vw, 80px); text-align: center; user-select: none;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  position: relative; z-index: 1;
}
.footer-bottom { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--night-line); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .84rem; position: relative; z-index: 1; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal][data-delay="1"] { transition-delay: .08s; }
.js [data-reveal][data-delay="2"] { transition-delay: .16s; }
.js [data-reveal][data-delay="3"] { transition-delay: .24s; }
.js [data-reveal][data-delay="4"] { transition-delay: .32s; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .float-a { left: -12px; }
  .float-b { right: -12px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .footer-brand { grid-row: span 2; }
}

@media (max-width: 980px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .app { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .float-card { display: none; }
  .connect { grid-template-columns: 1fr; }
  .conn-grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .step-visual .vis { height: auto; min-height: 130px; }
  .bento-card, .bento-card.span-3 { grid-column: span 3; }
  .bento-card.span-4, .bento-card.span-6 { grid-column: span 6; }
  .platform { grid-template-columns: 1fr; }
  .tab-list { grid-template-columns: repeat(3, 1fr); }
  .tab-btn span { display: none; }
  .tab-btn[aria-selected="true"]::before { left: 18px; right: 18px; top: auto; bottom: 0; width: auto; height: 3px; }
  .security-top { grid-template-columns: 1fr; align-items: start; }
  .badges { justify-content: flex-start; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .reviews { columns: 2; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-wrap .section-head { position: static; }
  .cta-box { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { order: 2; }
  .legal-wrap { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; }
  .toc ol { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .answer-grid { grid-template-columns: 1fr; }
  .chat-head .pill-row { display: none; }
  .chat { padding: 16px; }
  .composer { margin: 0 12px 12px; }
  .composer .pill { display: none; }
  .msg-user { max-width: 92%; }
  .bento-card, .bento-card.span-3, .bento-card.span-4, .bento-card.span-6 { grid-column: span 6; }
  .studio { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .kpi { padding: 10px; }
  .kpi strong { font-size: 1.15rem; }
  .board-row { grid-template-columns: 1fr; }
  .board { padding: 14px; }
  .brief-sections { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .reviews { columns: 1; }
  .conn-grid { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr 1fr; }
  .offices { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; grid-row: auto; }
  .toc ol { grid-template-columns: 1fr; }
  .orbit { --size: 72vw; }
  .tile { width: 48px; height: 48px; margin: -24px 0 0 -24px; }
  .tile-in { border-radius: 14px; }
  .tile-in svg { width: 22px; height: 22px; }
  .tile-in .tip { display: none; }
  .inline-row { grid-template-columns: 1fr; }
  .window-bar .url { display: none; }
  .window-bar .bar-end { margin-left: auto; }
}

@media (max-width: 480px) {
  .hero-ctas .btn { width: 100%; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
  .tab-list { grid-template-columns: 1fr; }
  .tab-btn { padding: 14px 18px; }
  .tab-btn[aria-selected="true"]::before { left: 0; right: auto; top: 14px; bottom: 14px; width: 3px; height: auto; }
  .kpi strong { font-size: 1rem; }
  .kpi small { font-size: .64rem; }
  .delta { font-size: .6rem; }
  .hide-sm { display: none; }
  .badge { width: 96px; height: 96px; }
  .faq-body { padding-right: 0; }
  .plan { padding: 26px 22px; }
  .bento-card { padding: 22px; }
  .perm-row { grid-template-columns: 1.3fr auto; }
  .perm-row > :nth-child(2) { display: 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; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee-track [aria-hidden="true"] { display: none; }
  .orbit-spin, .tile-in { animation: none !important; }
}

body.nav-open .site-header { background: var(--bg); border-bottom-color: var(--line); }
