/* merido landing — "Meridian": a midnight-navy, premium technical-editorial system.
   The name evokes a meridian — the optimal route across a sphere. The canvas is
   deep midnight-navy carrying a faint longitude grid and a slow aurora that glows
   like a meridian at night. Bricolage Grotesque for characterful display type,
   Inter for body, JetBrains Mono for the technical layer. The signature is an
   OWNABLE aurora: electric teal → aurora-green → mint, with a single warm amber
   spark (sunrise crossing the meridian) as the lone hot accent. Glassmorphic
   surfaces with gradient hairlines. (Replaces the earlier Vercel-derived mesh.) */

:root {
  /* ── canvas (midnight navy) ── */
  --bg: #070b12;
  --bg-2: #0a0f18;
  --surface: #0e1420;
  --surface-2: #131b29;
  --line: rgba(180, 226, 255, 0.1);
  --line-soft: rgba(180, 226, 255, 0.06);
  --line-strong: rgba(180, 226, 255, 0.18);

  /* ── text ── */
  --fg: #eef4f3;
  --fg-2: #aebbc2;
  --fg-3: #7e8c95;
  --fg-4: #56636d;

  /* ── meridian-aurora signature family ── */
  --cyan: #5cf2cd; /* mint highlight       */
  --teal: #00e0a4; /* THE signature        */
  --blue: #00b4d8; /* aurora cyan edge     */
  --violet: #00cdb0; /* aurora teal-mid    */
  --pink: #00e6ad; /* signature glow       */
  --coral: #16c8c8; /* aurora cyan-teal end */
  --amber: #ffc24b; /* warm spark accent    */
  --spark: #ffc24b;
  --link: #45d3ff;
  --success: #2fd07f;

  /* ── type ── */
  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-sans: "Inter", -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1180px;
  --r: 16px;
  --r-lg: 22px;
  --r-pill: 100px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --grad-brand: linear-gradient(110deg, var(--blue) 0%, var(--teal) 42%, var(--cyan) 74%, #9bfae0 100%);
  --grad-spark: linear-gradient(120deg, var(--teal) 0%, var(--cyan) 55%, var(--spark) 115%);
}

/* ── reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
svg {
  display: block;
}
code {
  font-family: var(--font-mono);
}
::selection {
  background: rgba(0, 224, 164, 0.32);
  color: #02110c;
}

/* film grain overlay for depth */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #fff;
  color: #000;
  padding: 10px 16px;
  border-radius: 0 0 10px 0;
  z-index: 200;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
}
:where(a, button, summary):focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

/* ── shared type ── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.section-title em {
  font-style: normal;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-title .strike {
  color: var(--fg-3);
  text-decoration: line-through;
  text-decoration-color: var(--fg-4);
}
.section-lead {
  margin-top: 20px;
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.65;
  color: var(--fg-2);
  max-width: 54ch;
}
.section-lead code,
.check-list code,
.start-foot code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--cyan);
}

.section {
  padding: clamp(72px, 11vw, 130px) 0;
  position: relative;
}
.section-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}
.section-kicker .idx {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--fg);
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.03);
}

/* ── buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.15s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s var(--ease), border-color 0.2s var(--ease), filter 0.2s var(--ease);
}
.btn .arr {
  transition: transform 0.2s var(--ease);
}
.btn:hover .arr {
  transform: translateX(3px);
}
.btn-lg {
  height: 54px;
  padding: 0 26px;
  font-size: 16px;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  color: #0a0a0a;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.btn-primary:hover {
  box-shadow: 0 6px 22px rgba(255, 255, 255, 0.18), 0 0 30px -6px rgba(0, 224, 164, 0.45);
  transform: translateY(-1px);
}
.btn-glass {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  backdrop-filter: blur(8px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

/* ════════════════════════ Header ════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 11, 18, 0.62);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 66px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-word {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 2px;
  margin-left: 6px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-2);
  padding: 8px 13px;
  border-radius: 9px;
  transition: color 0.15s, background 0.15s;
}
.nav-links a:hover {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.06);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.ghost-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-2);
  padding: 8px 12px;
  border-radius: 9px;
  transition: color 0.15s, background 0.15s;
}
.ghost-link:hover {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.06);
}
.nav-cta .btn {
  height: 38px;
  padding: 0 15px;
  font-size: 13.5px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 11px;
  margin-left: auto;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.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);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 28px 22px;
  border-top: 1px solid var(--line-soft);
  background: var(--bg-2);
}
/* The `hidden` attribute must win over `display: flex` (JS toggles it). */
.mobile-menu[hidden] {
  display: none;
}
.mobile-menu a {
  font-size: 16px;
  font-weight: 500;
  color: var(--fg-2);
  padding: 13px 10px;
  border-radius: 10px;
}
.mobile-menu a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--fg);
}
.mobile-menu .btn {
  margin-top: 10px;
  height: 50px;
}

/* ════════════════════════ Hero ════════════════════════ */
.hero {
  position: relative;
  padding: clamp(64px, 9vw, 120px) 0 64px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
/* aurora mesh glow */
.aurora {
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 900px;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(40% 50% at 15% 20%, rgba(0, 180, 216, 0.4) 0%, transparent 60%),
    radial-gradient(38% 48% at 78% 12%, rgba(0, 224, 164, 0.36) 0%, transparent 60%),
    radial-gradient(45% 55% at 92% 60%, rgba(255, 194, 75, 0.16) 0%, transparent 60%),
    radial-gradient(42% 52% at 8% 78%, rgba(52, 245, 192, 0.26) 0%, transparent 60%);
  filter: blur(28px) saturate(135%);
  opacity: 0.85;
  animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(-3%, 2%, 0) scale(1.08);
  }
}
/* fine grid texture */
.grid-lines {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 30%, #000 0%, transparent 80%);
  mask-image: radial-gradient(80% 70% at 50% 30%, #000 0%, transparent 80%);
  opacity: 0.6;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy {
  max-width: 600px;
}
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-2);
  padding: 6px 14px 6px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s, background 0.2s;
}
.status-chip:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
}
.status-chip .arr {
  color: var(--fg-3);
  transition: transform 0.2s var(--ease);
}
.status-chip:hover .arr {
  transform: translateX(3px);
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 rgba(47, 208, 127, 0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 6px rgba(47, 208, 127, 0);
  }
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-top: 24px;
}
.hero-title em {
  font-style: normal;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 24px;
  font-size: clamp(16px, 1.7vw, 18.5px);
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 50ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}
.hero-actions.center {
  justify-content: center;
}
.hero-trust {
  display: flex;
  gap: 34px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}
.hero-trust dt {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.hero-trust dd {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--fg-3);
  margin-top: 3px;
}

/* ── routing viz ── */
.router-viz {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0;
  padding: 28px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  min-height: 360px;
}
.viz-col {
  display: flex;
  flex-direction: column;
  gap: 11px;
  z-index: 3;
}
.viz-right {
  align-items: flex-end;
}
.viz-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-4);
  margin-bottom: 3px;
}
.chip {
  font-size: 13px;
  font-weight: 500;
  color: var(--fg);
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03);
}
.viz-wires {
  position: absolute;
  inset: 28px 20px;
  width: calc(100% - 40px);
  height: calc(100% - 56px);
  z-index: 1;
}
.viz-wires .wire {
  fill: none;
  stroke-width: 1.4;
  opacity: 0.5;
}
.viz-wires .pkt {
  filter: drop-shadow(0 0 5px currentColor);
}
.pkt.p1 {
  color: var(--cyan);
  fill: var(--cyan);
}
.pkt.p2 {
  color: var(--blue);
  fill: var(--blue);
}
.pkt.p3 {
  color: var(--pink);
  fill: var(--pink);
}
.pkt.p4 {
  color: var(--amber);
  fill: var(--amber);
}
.viz-core {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 26px;
  padding: 2px;
  background: var(--grad-brand);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 10px 40px -6px rgba(0, 224, 164, 0.5),
    0 0 60px -10px rgba(0, 180, 216, 0.6);
  animation: corepulse 3.5s ease-in-out infinite;
}
@keyframes corepulse {
  50% {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 10px 50px -4px rgba(0, 224, 164, 0.7),
      0 0 80px -8px rgba(0, 180, 216, 0.75);
  }
}
.viz-core-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: #0c0c10;
}
.viz-core-mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: #fff;
}
.viz-core-sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: var(--fg-3);
}

/* ── marquee ── */
.marquee {
  margin-top: 64px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  overflow: hidden;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
  animation: scroll 36s linear infinite;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--fg-3);
}
.marquee-track i {
  color: var(--fg-4);
  font-style: normal;
}
@keyframes scroll {
  to {
    transform: translateX(-50%);
  }
}

/* ════════════════════════ Split layout ════════════════════════ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-title-row .section-title {
  margin-top: 8px;
}
.check-list {
  list-style: none;
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.check-list li {
  position: relative;
  padding-left: 32px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--fg-2);
}
.check-list strong {
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 500;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 19px;
  height: 19px;
  border-radius: 6px;
  background: var(--grad-brand);
  opacity: 0.95;
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 7px;
  width: 7px;
  height: 4px;
  border-left: 2px solid #0a0a0a;
  border-bottom: 2px solid #0a0a0a;
  transform: rotate(-45deg);
}

.split-visual {
  display: flex;
  justify-content: center;
}

/* ── glass card / advisor ── */
.glass-card {
  position: relative;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}
.advisor-card {
  width: 100%;
  max-width: 430px;
  padding: 26px;
}
.advisor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pill-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--success);
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: rgba(47, 208, 127, 0.12);
  border: 1px solid rgba(47, 208, 127, 0.25);
}
.advisor-saved {
  display: flex;
  flex-direction: column;
  margin: 22px 0 14px;
}
.advisor-saved-num {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(110deg, var(--cyan), var(--blue) 40%, var(--violet) 75%, var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.advisor-saved-label {
  margin-top: 9px;
  font-size: 13.5px;
  color: var(--fg-3);
}
.advisor-bar {
  height: 7px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
  margin-bottom: 20px;
}
.advisor-bar span {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: var(--grad-brand);
  box-shadow: 0 0 16px -2px rgba(0, 224, 164, 0.6);
}
.advisor-recs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.advisor-recs li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13.5px;
  color: var(--fg-2);
  padding: 11px 13px;
  border: 1px solid var(--line-soft);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
}
.advisor-recs code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cyan);
}
.rec-tag {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 7px;
}
.rec-green {
  color: #4be39b;
  background: rgba(47, 208, 127, 0.14);
}
.rec-blue {
  color: #6fb4ff;
  background: rgba(0, 124, 240, 0.16);
}
.rec-amber {
  color: #ffd35e;
  background: rgba(249, 203, 40, 0.15);
}

/* ════════════════════════ Bento ════════════════════════ */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.bento-cell {
  position: relative;
  grid-column: span 1;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.008));
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.bento-cell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.bento-cell:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.7);
}
.bento-cell:hover::before {
  opacity: 0.7;
}
.bento-lg {
  grid-column: span 2;
  grid-row: span 2;
}
.bento-wide {
  grid-column: span 2;
}
.bento-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}
.bento-ic svg {
  width: 22px;
  height: 22px;
}
.bento-lg .bento-ic {
  width: 52px;
  height: 52px;
  background: var(--grad-brand);
  border-color: transparent;
  box-shadow: 0 8px 26px -8px rgba(0, 224, 164, 0.55);
}
.bento-lg .bento-ic svg {
  width: 26px;
  height: 26px;
}
.bento-cell h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.bento-lg h3 {
  font-size: 24px;
}
.bento-cell p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fg-3);
}
.bento-lg p {
  font-size: 16px;
  color: var(--fg-2);
  max-width: 42ch;
}
.bento-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}
.bento-meta span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  padding: 4px 10px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.02);
}

/* ════════════════════════ Flow ════════════════════════ */
.flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.flow-step {
  position: relative;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.02);
}
.flow-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: transparent;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
}
.flow-step h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 14px 0 8px;
}
.flow-step p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-3);
}

/* ════════════════════════ Code card / terminal ════════════════════════ */
.code-card {
  width: 100%;
  border-radius: var(--r);
  background: #0b0b0e;
  border: 1px solid var(--line);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}
.start-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 48px;
}
.term-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--line-soft);
}
.term-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2a2a30;
}
.term-dot:nth-child(1) {
  background: #ff5f57;
}
.term-dot:nth-child(2) {
  background: #febc2e;
}
.term-dot:nth-child(3) {
  background: #28c840;
}
.term-title {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-3);
}
.copy-btn {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-3);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px 11px;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.copy-btn:hover {
  color: var(--fg);
  border-color: var(--line-strong);
}
.copy-btn.copied {
  color: var(--success);
  border-color: rgba(47, 208, 127, 0.4);
}
.term-body {
  margin: 0;
  padding: 20px 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.75;
  color: var(--fg-2);
  overflow-x: auto;
  white-space: pre;
}
.c-com {
  color: var(--fg-4);
}
.c-cmd {
  color: var(--fg);
}
.c-out {
  color: var(--success);
}
.c-key {
  color: #c792ea;
}
.c-str {
  color: var(--cyan);
}
.start-foot {
  margin-top: 26px;
  font-size: 15px;
  color: var(--fg-3);
}

/* ════════════════════════ CTA panel ════════════════════════ */
.cta-section {
  padding-top: 0;
}
.cta-panel {
  position: relative;
  text-align: center;
  padding: clamp(48px, 7vw, 84px) 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-2);
  overflow: hidden;
}
.aurora-soft {
  inset: -60% -10% auto -10%;
  height: 600px;
  opacity: 0.5;
  animation: none;
}
.cta-panel > * {
  position: relative;
  z-index: 2;
}
.cta-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4.6vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 16px auto 0;
  max-width: 18ch;
}
.cta-sub {
  margin: 18px auto 0;
  font-size: 17px;
  color: var(--fg-2);
  max-width: 50ch;
}

/* ════════════════════════ FAQ ════════════════════════ */
.narrow {
  max-width: 800px;
}
.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 40px;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2px 22px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s, background 0.2s;
}
.faq-item[open] {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
}
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 24px;
  color: var(--fg-3);
  transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--pink);
}
.faq-item p {
  padding: 0 0 20px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--fg-2);
}

/* ════════════════════════ Footer ════════════════════════ */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 64px 0 36px;
  background: var(--bg-2);
  position: relative;
  z-index: 2;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 48px;
  padding-bottom: 44px;
}
.footer-tag {
  margin-top: 16px;
  font-size: 14px;
  color: var(--fg-3);
  max-width: 36ch;
  line-height: 1.6;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col-h {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-4);
  margin-bottom: 2px;
}
.footer-col a {
  font-size: 14px;
  color: var(--fg-2);
  transition: color 0.15s;
}
.footer-col a:hover {
  color: var(--fg);
}
.footer-base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--fg-4);
}
.footer-built {
  font-family: var(--font-mono);
}

/* ════════════════════════ Reveal ════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ════════════════════════ Responsive ════════════════════════ */
@media (max-width: 980px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero-copy {
    max-width: none;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-lg,
  .bento-wide {
    grid-column: span 2;
  }
  .bento-lg {
    grid-row: auto;
  }
  .flow {
    grid-template-columns: repeat(2, 1fr);
  }
  .start-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
@media (min-width: 981px) {
  .mobile-menu {
    display: none !important;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 0 20px;
  }
  .hero-trust {
    gap: 24px;
  }
  .bento,
  .flow {
    grid-template-columns: 1fr;
  }
  .bento-lg,
  .bento-wide {
    grid-column: span 1;
  }
  .router-viz {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: 0;
  }
  .viz-wires {
    display: none;
  }
  .viz-right {
    align-items: flex-start;
  }
  .viz-core {
    margin: 0 auto;
  }
  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }
  .btn-lg {
    width: 100%;
  }
  .hero-actions {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
