/* ===================================================================
   BaseModel · Unified LLM Gateway — stylesheet (dark dev-infra theme)
   =================================================================== */

:root {
  --emerald: #34d399;
  --emerald-2: #10b981;
  --green-bright: #4ade80;
  --teal: #2dd4bf;
  --cyan: #22d3ee;
  --amber: #f59e0b;

  --bg: #0a0c10;
  --bg-2: #0d1016;
  --surface: #12161f;
  --surface-2: #161b26;
  --surface-3: #1b2230;
  --border: rgba(255, 255, 255, .08);
  --border-2: rgba(255, 255, 255, .12);

  --text: #e6edf3;
  --text-2: #aeb9c7;
  --text-dim: #8b97a6;
  --text-mute: #6b7686;

  --grad: linear-gradient(120deg, #4ade80 0%, #34d399 45%, #2dd4bf 100%);
  --grad-glow: linear-gradient(120deg, #34d399, #22d3ee);

  --radius: 14px;
  --radius-lg: 20px;
  --container: 1180px;

  --shadow-lg: 0 24px 60px -20px rgba(0, 0, 0, .7);
  --shadow-emerald: 0 0 0 1px rgba(52, 211, 153, .2), 0 24px 60px -22px rgba(52, 211, 153, .35);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--text-2);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font-family: inherit; }
.mono { font-family: var(--font-mono); font-size: .92em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --pad: 10px 18px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: var(--pad); border-radius: 11px;
  font-weight: 600; font-size: 14.5px; letter-spacing: -.1px;
  transition: transform .18s ease, box-shadow .25s ease, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn--lg { --pad: 14px 26px; font-size: 15.5px; border-radius: 13px; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--grad); color: #05140d;
  box-shadow: 0 8px 22px -8px rgba(52, 211, 153, .6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(52, 211, 153, .7); }
.btn--ghost {
  background: rgba(255, 255, 255, .04); color: var(--text);
  border: 1px solid var(--border-2);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(52,211,153,.4); transform: translateY(-2px); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Topbar ---------- */
.topbar {
  background: linear-gradient(90deg, rgba(52,211,153,.1), rgba(34,211,238,.08));
  border-bottom: 1px solid var(--border);
  font-size: 13.5px; color: var(--text-2);
}
.topbar__inner { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; padding: 7px 0; flex-wrap: wrap; text-align: center; }
.topbar__badge { background: var(--grad); color: #05140d; font-weight: 700; font-size: 11px; padding: 2px 8px; border-radius: 6px; letter-spacing: .3px; }
.topbar strong { color: var(--text); font-weight: 600; }
.topbar__link { color: var(--emerald); font-weight: 600; }
.topbar__link:hover { text-decoration: underline; }

/* ---------- Navbar ---------- */
.nav { position: sticky; top: 0; z-index: 100; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(10, 12, 16, .8); backdrop-filter: saturate(180%) blur(14px); border-bottom-color: var(--border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { flex-shrink: 0; }
.brand__name { font-weight: 800; font-size: 19px; letter-spacing: -.5px; color: var(--text); }

.nav__links { display: flex; gap: 28px; }
.nav__links a { font-size: 14.5px; font-weight: 500; color: var(--text-dim); transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__cta { display: flex; align-items: center; gap: 16px; }
.nav__signin { font-size: 14.5px; font-weight: 500; color: var(--text-dim); transition: color .2s; }
.nav__signin:hover { color: var(--text); }
.nav__cta .btn { --pad: 9px 16px; font-size: 14px; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile { display: none; flex-direction: column; gap: 2px; background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 10px 24px 20px; }
.nav__mobile a { padding: 12px 6px; font-weight: 500; color: var(--text-2); border-bottom: 1px solid var(--border); }
.nav__mobile .btn { margin-top: 12px; }
.nav__mobile.open { display: flex; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px 0 84px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148,163,184,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 55% at 70% 10%, #000 30%, transparent 80%);
}
.hero__glow { position: absolute; width: 720px; height: 620px; top: -200px; right: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(52,211,153,.22), rgba(34,211,238,.12) 40%, transparent 70%); filter: blur(60px); }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr .98fr; gap: 52px; align-items: center; }
.hero__copy { max-width: 580px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 100px;
  background: rgba(52,211,153,.08); border: 1px solid rgba(52,211,153,.25);
  color: var(--emerald); font-size: 13px; font-weight: 500; margin-bottom: 26px;
  transition: border-color .2s, background .2s;
}
.pill:hover { background: rgba(52,211,153,.14); }
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 4px rgba(74,222,128,.2); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }

.hero__title { font-weight: 900; font-size: clamp(38px, 5.4vw, 62px); line-height: 1.05; letter-spacing: -1.8px; color: var(--text); margin-bottom: 22px; }
.hero__sub { font-size: clamp(16px, 2vw, 18.5px); color: var(--text-dim); line-height: 1.72; margin-bottom: 32px; }
.hero__sub strong { color: var(--text-2); font-weight: 600; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 42px; }
.hero__actions .btn--ghost .mono { color: var(--emerald); }

.hero__trust { display: flex; align-items: center; gap: 24px; }
.hero__stat { display: flex; flex-direction: column; }
.hero__stat strong { font-size: 23px; font-weight: 800; color: var(--text); letter-spacing: -.5px; }
.hero__stat span { font-size: 12.5px; color: var(--text-mute); }
.hero__divider { width: 1px; height: 32px; background: var(--border-2); }

/* ---------- Code card ---------- */
.hero__code { position: relative; }
.code {
  background: var(--surface); border: 1px solid var(--border-2);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-emerald);
}
.code__head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--bg-2); border-bottom: 1px solid var(--border); }
.code__dots { display: flex; gap: 6px; }
.code__dots span { width: 11px; height: 11px; border-radius: 50%; background: rgba(148,163,184,.25); }
.code__dots span:nth-child(1) { background: #ff5f56; }
.code__dots span:nth-child(2) { background: #ffbd2e; }
.code__dots span:nth-child(3) { background: #27c93f; }
.code__file { flex: 1; font-family: var(--font-mono); font-size: 12.5px; color: var(--text-mute); }
.code__copy { font-size: 12px; font-weight: 600; color: var(--text-dim); padding: 4px 10px; border-radius: 7px; border: 1px solid var(--border-2); transition: .2s; }
.code__copy:hover { color: var(--text); border-color: var(--emerald); }
.code__copy.done { color: var(--emerald); border-color: var(--emerald); }
.code__body { padding: 20px 20px; overflow-x: auto; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.7; color: var(--text-2); }
.code__body code { white-space: pre; }
.c-kw { color: #ff7b72; }
.c-fn { color: #d2a8ff; }
.c-str { color: #7ee787; }
.c-cm { color: var(--text-mute); font-style: italic; }
.code__note { margin-top: 14px; text-align: center; font-size: 13px; color: var(--text-mute); }

/* ---------- Marquee ---------- */
.marquee { padding: 36px 0 44px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); overflow: hidden; }
.marquee__label { text-align: center; font-size: 13px; color: var(--text-mute); margin-bottom: 24px; letter-spacing: .3px; }
.marquee__track { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__row { display: flex; gap: 44px; width: max-content; animation: scroll 38s linear infinite; }
.marquee__row span { font-weight: 700; font-size: 19px; color: var(--text-dim); white-space: nowrap; transition: color .2s; }
.marquee__row span:hover { color: var(--emerald); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--border); }
.section__head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.kicker { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--emerald); margin-bottom: 14px; }
.section__head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; line-height: 1.18; letter-spacing: -1px; color: var(--text); margin-bottom: 16px; }
.section__head h2 .grad-text { letter-spacing: -1px; }
.section__head p { font-size: 16.5px; color: var(--text-dim); }

/* ---------- Routing demo ---------- */
.routing__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; align-items: stretch; }
.terminal { background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.terminal__head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--bg-2); border-bottom: 1px solid var(--border); }
.terminal__title { flex: 1; font-family: var(--font-mono); font-size: 12.5px; color: var(--text-mute); }
.terminal__status { font-family: var(--font-mono); font-size: 12px; color: var(--emerald); }
.terminal__body { padding: 18px 18px; font-family: var(--font-mono); font-size: 13px; line-height: 1.5; min-height: 320px; flex: 1; }
.term-line { display: flex; gap: 10px; padding: 5px 0; opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; }
.term-line.show { opacity: 1; transform: none; }
.term-line__mark { flex-shrink: 0; width: 16px; text-align: center; font-weight: 700; }
.term-line__text { flex: 1; color: var(--text-2); }
.term-line__text b { color: var(--text); font-weight: 600; }
.tl-dim { color: var(--text-mute); }
.tl-green { color: var(--emerald); }
.tl-amber { color: var(--amber); }
.tl-cyan { color: var(--cyan); }
.term-line__text .tag { display: inline-block; padding: 1px 7px; border-radius: 6px; font-size: 11px; margin-left: 4px; }
.tag--ok { background: rgba(52,211,153,.14); color: var(--emerald); }
.tag--warn { background: rgba(245,158,11,.14); color: var(--amber); }

.health { background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius-lg); padding: 22px 22px; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
.health__head { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 18px; }
.health__live { font-size: 12px; font-weight: 500; color: var(--text-mute); display: inline-flex; align-items: center; gap: 6px; }
.health__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); animation: pulse 1.8s infinite; }
.health__list { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.health__list li { display: grid; grid-template-columns: 1fr 70px 48px; align-items: center; gap: 10px; transition: opacity .3s; }
.health__list li.dim { opacity: .4; }
.health__name { font-size: 13px; color: var(--text-2); }
.health__bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.08); overflow: hidden; }
.health__bar i { display: block; height: 100%; border-radius: 6px; background: var(--grad); transition: width .6s ease; }
.health__ms { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-mute); text-align: right; }
.health__foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border); }
.health__foot div { display: flex; flex-direction: column; }
.health__foot strong { font-size: 19px; font-weight: 800; color: var(--text); }
.health__foot span { font-size: 11.5px; color: var(--text-mute); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 26px; transition: transform .26s ease, border-color .26s, background .26s; overflow: hidden; }
.card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(52,211,153,.08), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { transform: translateY(-5px); border-color: rgba(52,211,153,.35); background: var(--surface-2); }
.card:hover::after { opacity: 1; }
.card__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.2); color: var(--emerald); margin-bottom: 18px; }
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 9px; letter-spacing: -.3px; }
.card p { font-size: 14.5px; color: var(--text-dim); line-height: 1.68; }

/* ---------- Problem ---------- */
.problem__grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: center; max-width: 920px; margin: 0 auto; }
.problem__card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 28px; }
.problem__card--good { border-color: rgba(52,211,153,.3); box-shadow: var(--shadow-emerald); background: var(--surface-2); }
.problem__bad, .problem__good { font-weight: 700; font-size: 16px; margin-bottom: 18px; display: flex; align-items: center; gap: 9px; }
.problem__bad { color: var(--text-dim); }
.problem__bad::before { content: "✕"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: rgba(255,255,255,.06); color: var(--text-mute); font-size: 12px; }
.problem__good { color: var(--emerald); }
.problem__good::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--grad); color: #05140d; font-size: 12px; }
.problem__card ul { display: flex; flex-direction: column; gap: 13px; }
.problem__card li { position: relative; padding-left: 22px; color: var(--text-2); font-size: 14.5px; }
.problem__card li::before { content: "—"; position: absolute; left: 0; color: var(--text-mute); }
.problem__card--good li::before { content: "→"; color: var(--emerald); font-weight: 700; }
.problem__card li .mono { color: var(--emerald); }
.problem__vs { font-size: 24px; font-weight: 800; color: var(--text-mute); }

/* ---------- Steps ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 940px; margin: 0 auto; }
.steps__line { position: absolute; top: 26px; left: 16%; right: 16%; height: 2px; background: var(--grad); opacity: .3; }
.step { position: relative; text-align: center; padding: 0 10px; }
.step__num { width: 54px; height: 54px; margin: 0 auto 22px; border-radius: 15px; display: grid; place-items: center; font-size: 21px; font-weight: 800; color: #05140d; background: var(--grad); box-shadow: 0 12px 30px -10px rgba(52,211,153,.5); }
.step h3 { font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--text-dim); line-height: 1.7; }
.step p .mono { color: var(--emerald); }

/* ---------- Trust ---------- */
.trust__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 50px; align-items: center; }
.trust__copy .kicker { text-align: left; }
.trust__copy h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; color: var(--text); letter-spacing: -.8px; line-height: 1.2; margin-bottom: 16px; }
.trust__copy p { font-size: 16px; color: var(--text-dim); margin-bottom: 28px; }
.trust__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.trust__badges { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.badge { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 18px; transition: border-color .25s, transform .25s; }
.badge:hover { border-color: rgba(52,211,153,.35); transform: translateY(-3px); }
.badge strong { display: block; font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.badge span { font-size: 12.5px; color: var(--text-mute); }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; max-width: 1020px; margin: 0 auto; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 28px; display: flex; flex-direction: column; transition: transform .26s ease, border-color .26s; }
.plan:hover { transform: translateY(-5px); border-color: var(--border-2); }
.plan--featured { border-color: transparent; background:
    linear-gradient(var(--surface-2), var(--surface-2)) padding-box,
    var(--grad) border-box; border: 1.5px solid transparent; box-shadow: var(--shadow-emerald); }
.plan--featured:hover { transform: translateY(-9px); }
.plan__tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #05140d; font-size: 11.5px; font-weight: 700; padding: 5px 15px; border-radius: 100px; }
.plan__name { font-size: 19px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.plan__desc { font-size: 13.5px; color: var(--text-mute); margin-bottom: 22px; min-height: 38px; }
.plan__price { font-size: 42px; font-weight: 800; color: var(--text); letter-spacing: -1.5px; margin-bottom: 22px; display: flex; align-items: baseline; gap: 1px; }
.plan__price--text { font-size: 30px; }
.plan__cur { font-size: 24px; font-weight: 700; }
.plan__per { font-size: 15px; font-weight: 500; color: var(--text-mute); margin-left: 5px; }
.plan .btn { margin-bottom: 26px; }
.plan__feat { display: flex; flex-direction: column; gap: 13px; }
.plan__feat li { position: relative; padding-left: 26px; font-size: 14px; color: var(--text-2); }
.plan__feat li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: rgba(52,211,153,.12); color: var(--emerald); font-size: 10px; font-weight: 700; }
.plan--featured .plan__feat li::before { background: var(--grad); color: #05140d; }

/* ---------- CTA ---------- */
.cta { position: relative; padding: 100px 0; overflow: hidden; text-align: center; border-top: 1px solid var(--border); }
.cta__bg { position: absolute; inset: 0; }
.cta__glow { position: absolute; width: 820px; height: 480px; left: 50%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(52,211,153,.28), rgba(34,211,238,.12) 40%, transparent 70%); filter: blur(50px); }
.cta__inner { position: relative; z-index: 1; max-width: 660px; }
.cta h2 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; color: var(--text); letter-spacing: -1.2px; margin-bottom: 16px; line-height: 1.14; }
.cta p { font-size: 17px; color: var(--text-dim); margin-bottom: 32px; }
.cta__form { display: flex; gap: 12px; max-width: 500px; margin: 0 auto 16px; flex-wrap: wrap; }
.cta__form input { flex: 1; min-width: 200px; padding: 14px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border-2); color: var(--text); font-size: 15px; transition: border-color .2s, background .2s; }
.cta__form input::placeholder { color: var(--text-mute); }
.cta__form input:focus { outline: none; border-color: var(--emerald); }
.cta__note { font-size: 13px; color: var(--text-mute); margin-bottom: 26px; }
.cta__note.success { color: var(--emerald); font-weight: 500; }
.cta__alt { font-size: 15px; color: var(--text-dim); }
.cta__alt a { color: var(--emerald); font-weight: 600; }
.cta__alt a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 60px 0 0; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 48px; padding-bottom: 44px; border-bottom: 1px solid var(--border); }
.footer__tag { margin-top: 16px; font-size: 14px; color: var(--text-mute); line-height: 1.7; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer__col h4 { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 15px; }
.footer__col a { display: block; font-size: 14px; color: var(--text-dim); padding: 6px 0; transition: color .2s; }
.footer__col a:hover { color: var(--emerald); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; font-size: 13px; color: var(--text-mute); flex-wrap: wrap; gap: 8px; }
.footer__legal a:hover { color: var(--emerald); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__code { max-width: 560px; }
  .routing__grid { grid-template-columns: 1fr; }
  .trust__inner { grid-template-columns: 1fr; gap: 36px; }
  .cards, .pricing { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 36px; max-width: 460px; }
  .steps__line { display: none; }
  .footer__inner { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 760px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .topbar__inner { font-size: 12.5px; }
  .section { padding: 70px 0; }
  .cards, .pricing, .trust__badges { grid-template-columns: 1fr; }
  .problem__grid { grid-template-columns: 1fr; }
  .problem__vs { margin: 0 auto; transform: rotate(90deg); }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .hero__trust { flex-wrap: wrap; gap: 16px; }
}
@media (max-width: 440px) {
  .hero__divider { display: none; }
  .cta__form { flex-direction: column; }
  .cta__form .btn { width: 100%; }
  .health__foot { grid-template-columns: 1fr; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__row { animation: none; }
}
