/* ==========================================================
   Bright Burrow — styles.css
   Void + amber bloom. Mobile-first. No build step.
   ========================================================== */

:root {
  --void: #05040c;
  --void-2: #0a0820;
  --indigo: #13103a;
  --indigo-line: rgba(140, 130, 255, 0.10);
  --amber: #FFB347;
  --amber-2: #FFC86B;
  --amber-pale: #FFE3A8;
  --teal: #4FE3E0;
  --blue: #5B8CFF;
  --text: #ECE8F5;        /* 16.9:1 on --void */
  --text-dim: #B4AECB;    /* 9.4:1 on --void */
  --text-faint: #8E88A8;  /* 5.9:1 on --void */
  --card: rgba(20, 17, 52, 0.55);
  --card-solid: rgba(20, 17, 52, 0.76); /* cards without backdrop blur */
  --card-line: rgba(255, 200, 107, 0.14);
  --radius: 22px;
  --radius-sm: 12px;
  --font-display: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --container: 1180px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(5rem, 12vw, 9.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 800px at 80% -10%, rgba(40, 30, 110, 0.35), transparent 60%),
    radial-gradient(900px 700px at -10% 40%, rgba(25, 20, 80, 0.35), transparent 60%),
    var(--void);
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--amber-2); text-decoration: none; }
a:hover { color: var(--amber-pale); }
:focus-visible { outline: 2px solid var(--amber-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(255, 179, 71, 0.35); color: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -3rem; z-index: 100; background: var(--amber); color: #120c00; padding: .6rem 1rem; border-radius: 8px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 1rem; }

/* ---------- Background layers ---------- */
#field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.vignette {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(3, 2, 8, 0.75) 100%);
}
.site-header, main, .site-footer { position: relative; z-index: 2; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.section { padding: var(--section-y) 0; position: relative; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; margin: 0; color: #fff; }
h2 { font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.75rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); letter-spacing: -0.015em; }
p { margin: 0 0 1rem; }
.eyebrow {
  font-family: var(--font-display); font-size: .78rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--amber-2);
  margin-bottom: 1.25rem; display: inline-flex; align-items: center; gap: .75rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--amber)); }
.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, var(--amber), transparent); }
.lede, .section-lede { color: var(--text-dim); font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); line-height: 1.6; max-width: 40em; }
.section-lede { margin-top: 1.25rem; }
.center .section-lede { margin-left: auto; margin-right: auto; }
.muted { color: var(--text-dim); }
.fine { color: var(--text-faint); font-size: .8rem; line-height: 1.5; margin-top: 1rem; }
.amber { color: var(--amber-2); }
.glow-text {
  color: var(--amber-2);
  background: linear-gradient(180deg, var(--amber-pale) 0%, var(--amber-2) 45%, var(--amber) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 28px rgba(255, 179, 71, 0.35));
}

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: var(--h); padding: 0 1.6rem; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: -0.005em;
  border: 1px solid transparent; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .35s, border-color .35s;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary {
  background-color: var(--amber);
  background-image: linear-gradient(180deg, var(--amber-2), var(--amber));
  will-change: transform;
  color: #1a0f00;
  box-shadow: 0 0 0 1px rgba(255, 200, 107, .4), 0 10px 40px -10px rgba(255, 179, 71, .65);
}
.btn-primary:hover { color: #1a0f00; transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255, 227, 168, .7), 0 18px 60px -12px rgba(255, 179, 71, .85); }
.btn-ghost { background: rgba(255, 255, 255, 0.02); color: var(--text); border-color: rgba(255, 200, 107, 0.3); font: inherit; font-family: var(--font-display); font-weight: 600; }
.btn-ghost:hover { color: var(--amber-pale); border-color: var(--amber-2); background: rgba(255, 179, 71, 0.06); transform: translateY(-2px); }
.btn-small { --h: 40px; padding: 0 1.1rem; font-size: .9rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }
.cta-row.center { justify-content: center; }
.cta-row .hero-phone { margin: 0; align-self: center; color: var(--text-faint); font-size: .9rem; line-height: 1.45; white-space: nowrap; }
@media (max-width: 600px) { .cta-row .hero-phone { white-space: normal; } }
.cta-row .hero-phone a { color: var(--amber-pale); text-decoration: none; border-bottom: 1px solid rgba(255, 200, 107, 0.35); }
.cta-row .hero-phone a:hover { color: var(--amber-2); border-bottom-color: var(--amber-2); }

/* ---------- Header / Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: background .4s, backdrop-filter .4s, border-color .4s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(5, 4, 12, 0.92); border-bottom-color: rgba(255, 200, 107, 0.08); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.01em; }
.brand:hover { color: #fff; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 50%; position: relative;
  background: radial-gradient(circle at 50% 60%, var(--amber-pale) 0 18%, var(--amber) 34%, rgba(255, 179, 71, 0) 70%);
  box-shadow: 0 0 18px rgba(255, 179, 71, .55);
}
.brand-mark::after { content: ""; position: absolute; inset: 3px 3px 9px; border: 2px solid var(--amber-2); border-bottom: 0; border-radius: 999px 999px 0 0; opacity: .9; }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; background: transparent; border: 1px solid rgba(255, 200, 107, .25); border-radius: 12px; cursor: pointer; padding: 0 11px; }
.nav-toggle .bar { display: block; height: 1.5px; background: var(--amber-pale); border-radius: 2px; transition: transform .35s var(--ease); }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(1) { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(2) { transform: translateY(-3.75px) rotate(-45deg); }
.nav-links {
  list-style: none; margin: 0; padding: 1.5rem var(--pad) 2rem;
  position: absolute; top: 72px; left: 0; right: 0;
  display: flex; flex-direction: column; gap: .35rem;
  background: rgba(5, 4, 12, 0.97);
  border-bottom: 1px solid rgba(255, 200, 107, .1);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}
.nav-links.open { opacity: 1; visibility: visible; transform: none; }
.nav-links a:not(.btn) { display: block; padding: .8rem 0; color: var(--text); font-family: var(--font-display); font-size: 1.15rem; }
.nav-links a:not(.btn):hover { color: var(--amber-2); }
.nav-links .btn { margin-top: .75rem; width: 100%; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-links {
    position: static; flex-direction: row; align-items: center; gap: 2rem; padding: 0;
    background: none; border: 0;
    opacity: 1; visibility: visible; transform: none;
  }
  .nav-links a:not(.btn) { padding: .25rem 0; font-size: .92rem; color: var(--text-dim); font-family: var(--font-body); position: relative; }
  .nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
  .nav-links a:not(.btn):hover { color: #fff; }
  .nav-links a:not(.btn):hover::after, .nav-links a.active::after { transform: scaleX(1); }
  .nav-links a.active { color: #fff; }
  .nav-links .btn { margin: 0 0 0 .5rem; width: auto; }
}

/* ---------- Blooms ---------- */
.bloom { position: absolute; pointer-events: none; border-radius: 50%; z-index: -1; }
.bloom-hero {
  width: min(1100px, 140vw); aspect-ratio: 1; left: 50%; top: 58%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 200, 107, 0.28) 0%, rgba(255, 179, 71, 0.12) 25%, rgba(255, 140, 40, 0.04) 45%, transparent 65%);
  animation: breathe 9s ease-in-out infinite;
}
.bloom-demo { width: 900px; aspect-ratio: 1; right: -300px; top: 10%; background: radial-gradient(circle, rgba(255, 179, 71, 0.13), transparent 60%); }
.bloom-contact { width: min(1000px, 130vw); aspect-ratio: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255, 200, 107, 0.22) 0%, rgba(255, 179, 71, .06) 35%, transparent 62%); animation: breathe 11s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }

/* ---------- Hero ---------- */
.hero { min-height: calc(100svh - 72px); display: flex; align-items: center; position: relative; padding: 4rem 0 6rem; }
/* Contain the hero bloom + neutron star horizontally so phones don't zoom out (clip keeps vertical glow and sticky header intact) */
.hero { overflow-x: clip; }
@supports not (overflow: clip) { .hero { overflow: hidden; } }
.hero-inner { position: relative; }
.hero-title { font-size: clamp(3rem, 1.5rem + 8.5vw, 8.25rem); line-height: .95; letter-spacing: -0.045em; font-weight: 600; margin-bottom: 2rem; }
.hero-title .line { display: block; }
.hero-title .line + .line { padding-bottom: .08em; }
.hero-stats { list-style: none; padding: 0; margin: 3.5rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; max-width: 640px; border-top: 1px solid rgba(255, 200, 107, .14); padding-top: 1.5rem; }
.hero-stats strong { display: block; font-family: var(--font-display); font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem); color: var(--amber-2); font-weight: 600; letter-spacing: -0.02em; }
.hero-stats span { display: block; color: var(--text-faint); font-size: .82rem; line-height: 1.35; margin-top: .2rem; }
.scroll-cue { position: absolute; left: 50%; bottom: 1.75rem; transform: translateX(-50%); width: 26px; height: 42px; border: 1px solid rgba(255, 200, 107, .35); border-radius: 20px; display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--amber-2); box-shadow: 0 0 10px var(--amber); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: 1; } 80% { transform: translateY(18px); opacity: 0; } 100% { opacity: 0; } }
@media (min-width: 700px) { .scroll-cue { display: block; } }

/* ---------- Neutron star (hero) ----------
   Static layers only (gradients, SVG field lines, ring). The moving parts
   (halo pulse, polar beams, orbiting agent sparks) are drawn by app.js on
   .ns-canvas, a canvas inside the star box, in the same 30fps frame as the field. */
.neutron {
  --ns: min(46vw, 640px);
  --ns-axis: 26; /* magnetic axis in degrees, shared by the SVG field lines and the canvas beams */
  position: absolute; z-index: 0; pointer-events: none;
  top: -4%; right: max(1vw, calc((100vw - 1180px) / 2 - 90px));
  width: var(--ns); height: var(--ns);
  overflow: hidden; contain: layout paint style;
}
.neutron > * { position: absolute; }
.ns-canvas { inset: 0; width: 100%; height: 100%; }
.ns-corona {
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 240, 215, .45) 0, rgba(255, 200, 107, .2) 3.5%, rgba(255, 179, 71, .09) 9%, rgba(255, 140, 40, .04) 20%, transparent 44%),
    radial-gradient(circle at 50% 50%, transparent 24%, rgba(91, 140, 255, .045) 33%, rgba(19, 16, 58, .05) 42%, transparent 50%);
}
.ns-core {
  left: 50%; top: 50%; width: 5%; height: 5%; margin: -2.5% 0 0 -2.5%; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 26%, #FFF6E4 34%, var(--amber-pale) 46%, rgba(255, 200, 107, .55) 60%, transparent 72%);
}
.ns-spikes {
  left: 50%; top: 50%; width: 34%; height: 34%; margin: -17% 0 0 -17%;
  background:
    linear-gradient(90deg, transparent, rgba(255, 240, 215, .32) 50%, transparent) center / 100% 1px no-repeat,
    linear-gradient(180deg, transparent, rgba(255, 240, 215, .32) 50%, transparent) center / 1px 100% no-repeat;
  opacity: .7; transform: rotate(18deg);
}
/* Magnetic axis (26deg): dipole field lines; the canvas draws the polar beams along it */
.ns-axis { inset: 0; transform: rotate(calc(var(--ns-axis) * 1deg)); }
.ns-field { width: 100%; height: 100%; fill: none; stroke-width: 1; stroke-linecap: round; }
.ns-fa { stroke: #FFC86B; }
.ns-fb { stroke: #5B8CFF; }
/* Accretion ring, split so the back half sits behind the core and the front half in front */
.ns-ring, .ns-path { left: 50%; top: 50%; }
.ns-ring {
  width: 64%; height: 17%; border-radius: 50%;
  border: 1px solid rgba(255, 200, 107, .55);
  box-shadow: 0 0 14px rgba(255, 179, 71, .28), inset 0 0 14px rgba(255, 179, 71, .18);
  transform: translate(-50%, -50%) rotate(-16deg);
}
.ns-ring-back { clip-path: inset(-20% -20% 50% -20%); opacity: .45; }
.ns-ring-front { clip-path: inset(50% -20% -20% -20%); }
.ns-path {
  width: 88%; height: 30%; border-radius: 50%;
  border: 1px dashed rgba(91, 140, 255, .2);
  transform: translate(-50%, -50%) rotate(22deg);
}
@media (max-width: 899px) {
  /* behind and above the headline, smaller and softer */
  .neutron { --ns: min(66vw, 300px); top: -5.5rem; right: -10vw; opacity: .6; }
}

/* ---------- Manifesto ---------- */
.manifesto { padding: clamp(4rem, 10vw, 7rem) 0; border-top: 1px solid var(--indigo-line); border-bottom: 1px solid var(--indigo-line); background: linear-gradient(180deg, rgba(10, 8, 32, .4), rgba(10, 8, 32, .1)); }
.manifesto-text { font-family: var(--font-display); font-size: clamp(1.45rem, 1.05rem + 1.9vw, 2.5rem); line-height: 1.3; letter-spacing: -0.02em; color: var(--text); margin: 0; font-weight: 400; }
.manifesto-wide .container { max-width: 52rem; }
.manifesto-lead {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1rem + 1.4vw, 1.9rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  font-weight: 400;
  color: var(--text);
}
.manifesto-proof {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  line-height: 1.65;
  color: var(--text-dim);
  margin: 0 0 1.25rem;
  max-width: 48rem;
}
.manifesto-close {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 0.95rem + 0.8vw, 1.45rem);
  line-height: 1.45;
  letter-spacing: -0.015em;
  margin: 0;
  font-weight: 400;
  color: var(--text);
}


.manifesto-hook { font-family: var(--font-display); font-weight: 400; margin: 0 0 2rem; letter-spacing: -0.02em; }
.manifesto-hook span { display: block; }
.hook-q { font-size: clamp(1.25rem, 0.95rem + 1.2vw, 1.75rem); line-height: 1.3; color: var(--text); }
.hook-big { font-size: clamp(2.6rem, 1.4rem + 4vw, 3.6rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 500; color: var(--amber); margin: .35rem 0 .5rem; text-shadow: 0 0 42px rgba(255, 179, 71, .35); }
.hook-turn { font-size: clamp(1.25rem, 0.95rem + 1.2vw, 1.75rem); line-height: 1.3; color: var(--text-dim); }

/* ---------- Section heads ---------- */
.section-head { margin-bottom: clamp(2.75rem, 6vw, 4.5rem); max-width: 780px; }

/* ---------- Cards (Wings) ---------- */
.wings-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .wings-grid { grid-template-columns: repeat(2, 1fr); } .is-next { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .wings-grid { grid-template-columns: 1.15fr 1fr .85fr; } .is-next { grid-column: auto; } }
.wing-card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(1.75rem, 3vw, 2.5rem); border-radius: var(--radius);
  background: var(--card-solid); border: 1px solid var(--card-line);
  display: flex; flex-direction: column; gap: .5rem;
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
}
.wing-card:hover { transform: translateY(-4px); border-color: rgba(255, 200, 107, .32); box-shadow: 0 30px 80px -40px rgba(255, 179, 71, .45); }
.wing-card.is-live { border-color: rgba(255, 200, 107, .3); background: linear-gradient(160deg, rgba(255, 179, 71, .09), rgba(20, 17, 52, .76) 45%); }
.wing-card.is-soon { border-color: rgba(91, 140, 255, .18); }
.wing-card.is-next { background: rgba(12, 10, 30, .7); border-style: dashed; border-color: rgba(255, 200, 107, .18); }
.wing-orb { position: absolute; z-index: -1; width: 320px; height: 320px; right: -110px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 200, 107, .35), rgba(255, 179, 71, .08) 40%, transparent 68%); animation: breathe 8s ease-in-out infinite; }
.wing-orb-cool { background: radial-gradient(circle, rgba(91, 140, 255, .22), rgba(79, 227, 224, .05) 40%, transparent 68%); }
.wing-top { gap: .75rem; display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.wing-index { white-space: nowrap; font-family: var(--font-display); color: var(--text-faint); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.wing-card h3 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); }
.wing-sub { color: var(--amber-pale); font-size: 1.05rem; margin: .4rem 0 1rem; }
.status { white-space: nowrap; display: inline-flex; align-items: center; gap: .5rem; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: .4rem .8rem; border-radius: 999px; }
.status .dot { width: 7px; height: 7px; border-radius: 50%; }
.status-live { color: var(--amber-pale); background: rgba(255, 179, 71, .1); border: 1px solid rgba(255, 179, 71, .35); }
.status-live .dot { background: var(--amber); box-shadow: 0 0 0 0 rgba(255, 179, 71, .7); animation: pulse 2.2s infinite; }
.status-soon { color: #BFD2FF; background: rgba(91, 140, 255, .08); border: 1px solid rgba(91, 140, 255, .3); }
.status-soon .dot { background: var(--blue); }
.status-next { color: var(--text-dim); border: 1px solid rgba(255, 255, 255, .12); }
.status-next .dot { background: var(--text-faint); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 179, 71, .6); } 70% { box-shadow: 0 0 0 9px rgba(255, 179, 71, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 179, 71, 0); } }
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 1.6rem; color: var(--text-dim); font-size: .97rem; line-height: 1.5; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px rgba(255, 179, 71, .8); }
.is-soon .checklist li::before { background: #8FB0FF; box-shadow: 0 0 10px rgba(91, 140, 255, .6); }
.text-link { margin-top: auto; font-family: var(--font-display); font-weight: 600; color: var(--amber-2); display: inline-flex; gap: .45rem; align-items: center; padding-top: .5rem; }
.text-link span { transition: transform .35s var(--ease); }
.text-link:hover span { transform: translateX(5px); }

/* ---------- Paths ---------- */
.paths-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .paths-grid { grid-template-columns: repeat(2, 1fr); } }
.path-card {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(1.75rem, 3vw, 2.5rem); border-radius: var(--radius);
  background: var(--card-solid); border: 1px solid var(--card-line);
  display: flex; flex-direction: column; gap: .5rem;
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
}
.path-card:hover { transform: translateY(-4px); border-color: rgba(255, 200, 107, .32); box-shadow: 0 30px 80px -40px rgba(255, 179, 71, .45); }
.path-card h3 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); }
.path-tagline { font-family: var(--font-display); font-size: .9rem; font-weight: 500; letter-spacing: .02em; color: var(--amber-2); margin: .1rem 0 0; }
.path-fit { color: var(--amber-pale); font-size: 1.05rem; margin: .4rem 0 1rem; }
.path-human { margin: auto 0 0; padding-top: 1.25rem; border-top: 1px solid rgba(255, 200, 107, .12); color: var(--text-dim); font-size: .95rem; line-height: 1.55; }
.path-human strong { color: var(--amber-pale); font-weight: 600; }
.paths-note { margin-top: 1.75rem; text-align: center; }

/* ---------- Steps ---------- */
.how { background: linear-gradient(180deg, transparent, rgba(12, 10, 36, .55) 30%, rgba(12, 10, 36, .55) 70%, transparent); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: 1fr; counter-reset: s; position: relative; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 58px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 179, 71, .45) 15%, rgba(255, 179, 71, .45) 85%, transparent); }
}
.step { position: relative; padding: 1.75rem 1.5rem 2rem; border-radius: var(--radius); background: rgba(10, 8, 28, .55); border: 1px solid rgba(255, 200, 107, .1); }
.step h3 { margin: .25rem 0 .75rem; font-size: 1.6rem; }
.step p:last-child { color: var(--text-dim); font-size: .97rem; margin: 0; }
.step-num { font-family: var(--font-display); color: var(--amber-2); font-size: .8rem; letter-spacing: .2em; margin: 1.5rem 0 0; }
.step-glyph { position: relative; width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 179, 71, .12), transparent 70%); border: 1px solid rgba(255, 200, 107, .22); background-color: var(--void); }
.step-glyph span { position: absolute; border-radius: 50%; background: var(--amber-pale); box-shadow: 0 0 12px var(--amber), 0 0 26px rgba(255, 179, 71, .6); }
/* Spark: a single small point */
.glyph-spark span { width: 6px; height: 6px; left: 29px; top: 29px; animation: flicker 3s ease-in-out infinite; }
/* Gather: three points drifting inward */
.glyph-gather span { width: 5px; height: 5px; }
.glyph-gather span:nth-child(1) { left: 14px; top: 20px; animation: gather1 4s var(--ease) infinite; }
.glyph-gather span:nth-child(2) { left: 42px; top: 16px; animation: gather2 4s var(--ease) infinite; }
.glyph-gather span:nth-child(3) { left: 30px; top: 44px; animation: gather3 4s var(--ease) infinite; }
/* Connect: constellation */
.glyph-connect svg { position: absolute; inset: -1px; width: 64px; height: 64px; }
.glyph-connect span { width: 5px; height: 5px; }
.glyph-connect span:nth-child(2) { left: 13.5px; top: 39.5px; }
.glyph-connect span:nth-child(3) { left: 27.5px; top: 27.5px; animation: flicker 2.6s infinite; }
.glyph-connect span:nth-child(4) { left: 43.5px; top: 17.5px; }
.glyph-connect span:nth-child(5) { left: 43.5px; top: 40.5px; animation: flicker 3.4s infinite .8s; }
/* Glow: full bloom */
.glyph-glow { box-shadow: 0 0 40px rgba(255, 179, 71, .35); }
.glyph-glow span { width: 22px; height: 22px; left: 20px; top: 20px; background: radial-gradient(circle, #fff, var(--amber-pale) 35%, var(--amber) 70%); animation: breathe 4s ease-in-out infinite; }
@keyframes flicker { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes gather1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(8px, 6px); } }
@keyframes gather2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-7px, 8px); } }
@keyframes gather3 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(0, -9px); } }

/* ---------- Demo ---------- */
.demo { overflow: hidden; }
.demo-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 980px) { .demo-grid { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }
.demo-facts { margin: 2rem 0 0; display: grid; gap: 0; border-top: 1px solid rgba(255, 200, 107, .12); }
.demo-facts div { display: grid; grid-template-columns: 1fr; gap: .2rem; padding: 1rem 0; border-bottom: 1px solid rgba(255, 200, 107, .12); }
@media (min-width: 520px) { .demo-facts div { grid-template-columns: 130px 1fr; gap: 1.25rem; } }
.demo-facts dt { font-family: var(--font-display); font-weight: 600; color: var(--amber-2); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; padding-top: .15rem; }
.demo-facts dd { margin: 0; color: var(--text-dim); }
.console { position: relative; border-radius: var(--radius); background: linear-gradient(180deg, rgba(19, 16, 58, .85), rgba(8, 7, 22, .92)); border: 1px solid rgba(255, 200, 107, .2); box-shadow: 0 40px 120px -40px rgba(255, 179, 71, .35), inset 0 1px 0 rgba(255, 255, 255, .04); overflow: hidden; }
.console-head { display: flex; align-items: center; gap: .65rem; padding: 1rem 1.25rem; border-bottom: 1px solid rgba(255, 200, 107, .12); font-size: .82rem; }
.console-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.console-title { color: var(--text-dim); flex: 1; font-family: var(--font-display); }
.console-live { color: var(--amber-pale); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; border: 1px solid rgba(255, 179, 71, .35); padding: .2rem .55rem; border-radius: 999px; }
.timeline { list-style: none; margin: 0; padding: 1.25rem 1.25rem 1.5rem 2.6rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 1.55rem; top: 1.6rem; bottom: 2rem; width: 1px; background: linear-gradient(180deg, rgba(255, 179, 71, .6), rgba(255, 179, 71, .1)); }
.timeline li { position: relative; padding: .7rem 0 .9rem; opacity: 0; transform: translateY(8px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.console.in .timeline li { opacity: 1; transform: none; }
.console.in .timeline li:nth-child(2) { transition-delay: .25s; }
.console.in .timeline li:nth-child(3) { transition-delay: .5s; }
.console.in .timeline li:nth-child(4) { transition-delay: .75s; }
.console.in .timeline li:nth-child(5) { transition-delay: 1s; }
.timeline li::before { content: ""; position: absolute; left: -1.38rem; top: 1.15rem; width: 7px; height: 7px; border-radius: 50%; background: var(--amber-2); box-shadow: 0 0 10px var(--amber); }
.timeline time { font-family: var(--font-display); font-size: .78rem; color: var(--text-faint); letter-spacing: .06em; margin-right: .6rem; }
.t-tag { display: inline-block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; padding: .15rem .5rem; border-radius: 6px; color: var(--text-dim); background: rgba(255, 255, 255, .05); }
.t-urgent { color: #BFF6F4; background: rgba(79, 227, 224, .1); }
.t-gold { color: #1a0f00; background: var(--amber-2); font-weight: 600; }
.timeline p { margin: .4rem 0 0; color: var(--text); font-size: .95rem; line-height: 1.5; }
.timeline .summary { margin-top: .4rem; padding: 1rem 1rem 1rem; border-radius: var(--radius-sm); background: rgba(255, 179, 71, .07); border: 1px solid rgba(255, 179, 71, .22); }
.timeline .summary::before { left: -1.38rem; }
.timeline .summary p { color: var(--amber-pale); }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 980px) { .about-grid { grid-template-columns: 1.1fr .9fr; gap: 5rem; align-items: start; } }
.about-copy h2 { margin-bottom: 2rem; }
.about-copy p { color: var(--text-dim); font-size: 1.06rem; }
.about-copy h2 + p { color: var(--text); font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); }
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 560px) and (max-width: 979px) { .values { grid-template-columns: 1fr 1fr; } }
.values li { padding: 1.4rem 1.5rem; border-radius: var(--radius-sm); background: rgba(14, 12, 38, .6); border: 1px solid rgba(255, 200, 107, .1); border-left: 2px solid var(--amber); }
.values h3 { font-size: 1.15rem; margin-bottom: .45rem; color: var(--amber-pale); }
.values p { margin: 0; color: var(--text-dim); font-size: .95rem; }

/* ---------- Contact ---------- */
.contact { overflow: hidden; padding-top: calc(var(--section-y) * 1.1); padding-bottom: calc(var(--section-y) * 1.1); }
.contact-title { font-size: clamp(2.4rem, 1.4rem + 4.8vw, 5.25rem); letter-spacing: -0.04em; line-height: 1; }
.email-link { display: inline-block; margin-top: 2.25rem; font-family: var(--font-display); font-size: clamp(1.3rem, 1rem + 1.8vw, 2.25rem); font-weight: 500; letter-spacing: -0.02em; color: var(--amber-pale); border-bottom: 1px solid rgba(255, 200, 107, .4); padding-bottom: .2rem; word-break: break-word; transition: color .3s, border-color .3s, text-shadow .3s; }
.email-link:hover { color: #fff; border-color: var(--amber); text-shadow: 0 0 24px rgba(255, 179, 71, .6); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--indigo-line); padding: 3.5rem 0 2.5rem; background: rgba(4, 3, 10, .7); }
.footer-inner { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 820px) { .footer-inner { grid-template-columns: 1fr auto; align-items: start; } .footer-meta { text-align: right; } }
.footer-copy { margin-top: 1.25rem; }
.footer-brand .muted { margin-top: .75rem; font-size: .95rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-links a, .footer-meta a { color: var(--text-dim); }
.footer-links a:hover, .footer-meta a:hover { color: var(--amber-2); }
.footer-meta p { margin: 0 0 .35rem; color: var(--text-dim); font-size: .95rem; }
.footer-meta .fine { margin-top: .6rem; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero .reveal:nth-child(2) { transition-delay: .1s; }
.js .hero-title .line:nth-child(2) { transition-delay: .3s; }
.js .hero .lede { transition-delay: .5s; }
.js .hero .cta-row { transition-delay: .65s; }
.js .hero-stats { transition-delay: .8s; }
.js .steps .step:nth-child(2) { transition-delay: .12s; }
.js .steps .step:nth-child(3) { transition-delay: .24s; }
.js .steps .step:nth-child(4) { transition-delay: .36s; }
.js .wings-grid .wing-card:nth-child(2) { transition-delay: .12s; }
.js .wings-grid .wing-card:nth-child(3) { transition-delay: .24s; }
.js .paths-grid .path-card:nth-child(2) { transition-delay: .12s; }

/* ---------- Reduced motion ---------- */
@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 .reveal { opacity: 1; transform: none; }
  .timeline li { opacity: 1; transform: none; }
}

/* ---------- Logo mockup A2: Stacked, justified lockup ---------- */
/* The lockup is a one-column inline-grid whose width comes from the wordmark only.
   The sub-line opts out of sizing (width:0; min-width:100%) so it can never widen
   the lockup; it is stretched to exactly the wordmark width by letter-spacing.
   --sub-ls is a static, no-JS approximation; app.js refines it to sub-pixel
   precision after fonts load (and on any resize of the wordmark). */
.brand { gap: .8rem; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-mark::after { inset: 4px 4px 11px; }
.brand-name { display: inline-grid; grid-template-columns: max-content; justify-items: start; line-height: 1; }
.brand-word { display: block; line-height: 1.05; white-space: nowrap; }
.brand-sub {
  --sub-ls: .11em;
  display: block; width: 0; min-width: 100%; margin-top: .34rem;
  white-space: nowrap; overflow: visible;
  font-family: var(--font-body); font-weight: 500; font-size: .64rem; line-height: 1;
  text-transform: uppercase;
  letter-spacing: var(--sub-ls);
  color: rgba(255, 200, 107, .74); /* muted amber */
}

/* ==========================================================
   Pricing page
   Used by pricing.html only. Everything is scoped with a
   .pricing- prefix and builds on the shared classes above
   (.section, .container, .path-card, .checklist, .btn).
   ========================================================== */
.pricing-page .nav-links a[aria-current="page"] { color: var(--amber-2); }
@media (min-width: 900px) {
  .pricing-page .nav-links a[aria-current="page"] { color: #fff; }
  .pricing-page .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
}

/* Overview + comparison table */
.pricing-hero { position: relative; padding: clamp(3rem, 8vw, 6rem) 0 clamp(1rem, 3vw, 2rem); overflow-x: clip; }
@supports not (overflow: clip) { .pricing-hero { overflow: hidden; } }
.pricing-bloom { width: min(1000px, 130vw); aspect-ratio: 1; left: 50%; top: 18%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255, 200, 107, 0.18) 0%, rgba(255, 179, 71, 0.06) 30%, transparent 62%); animation: breathe 10s ease-in-out infinite; }
.pricing-head { max-width: 820px; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.pricing-title { font-size: clamp(2.4rem, 1.5rem + 4vw, 4.75rem); letter-spacing: -0.04em; line-height: 1.02; margin-bottom: 1.5rem; }
.pricing-title .glow-text { display: inline-block; padding-bottom: .06em; }
.pricing-head .lede { margin: 0; }
.pricing-table-card { max-width: 940px; padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: var(--radius); background: var(--card-solid); border: 1px solid var(--card-line); }
.pricing-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pricing-table { width: 100%; border-collapse: collapse; }
.pricing-table thead th, .pricing-table thead td { padding: 0 1rem 1rem; border-bottom: 1px solid rgba(255, 179, 71, .45); vertical-align: bottom; }
.pricing-table thead th { text-align: left; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, .95rem + .5vw, 1.35rem); letter-spacing: -0.01em; color: #fff; }
.pricing-table tbody th { text-align: left; font-family: var(--font-body); font-weight: 500; color: var(--text-dim); padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--card-line); line-height: 1.45; }
.pricing-table tbody td { padding: 1rem; border-bottom: 1px solid var(--card-line); font-family: var(--font-display); font-weight: 500; font-size: 1.1rem; color: var(--text); white-space: nowrap; }
.pricing-table tr > :last-child { background: rgba(255, 179, 71, .045); }
.pricing-table tbody tr:last-child th, .pricing-table tbody tr:last-child td { border-bottom: 0; }
.pricing-table tbody tr:last-child td { color: var(--amber-pale); font-weight: 600; }
.pricing-table td.pricing-table-strong { color: var(--amber-2); font-size: 1.4rem; font-weight: 600; letter-spacing: -0.02em; }
.pricing-footnote { margin: 1.25rem 0 0; font-size: .85rem; }
@media (max-width: 640px) {
  .pricing-table thead th, .pricing-table thead td { padding: 0 .5rem .75rem; }
  .pricing-table thead th { font-size: 1rem; }
  .pricing-table tbody th { padding: .8rem .5rem .8rem 0; font-size: .88rem; }
  .pricing-table tbody td { padding: .8rem .5rem; font-size: .95rem; }
  .pricing-table td.pricing-table-strong { font-size: 1.1rem; }
}

/* Plan cards */
.pricing-plans, .pricing-own, .pricing-care { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.pricing-plan-tagline { margin: .6rem 0 0; }
.pricing-plan-price { font-family: var(--font-display); color: var(--text-dim); font-size: .98rem; line-height: 1.5; margin: .75rem 0 1rem; padding: 1.1rem 0; border-top: 1px solid rgba(255, 200, 107, .12); border-bottom: 1px solid rgba(255, 200, 107, .12); }
.pricing-plan-amount { display: block; font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; color: var(--amber-2); margin-bottom: .35rem; }
.pricing-plan-text { color: var(--text-dim); }
.pricing-list-title { font-family: var(--font-display); font-weight: 600; color: #fff; margin: .5rem 0 .9rem; }
.pricing-checklist strong { color: var(--text); font-weight: 600; }
.path-human.pricing-plan-close { color: var(--amber-pale); font-family: var(--font-display); font-size: 1.05rem; }
.pricing-plan-cta { margin-top: 1.25rem; align-self: flex-start; }
.path-card.pricing-plan-featured { border-color: rgba(255, 200, 107, .3); background: linear-gradient(160deg, rgba(255, 179, 71, .09), rgba(20, 17, 52, .76) 45%); }
@media (max-width: 640px) { .pricing-plan-cta { align-self: stretch; } }

/* Ownership */
.pricing-own-card { display: grid; gap: 1.75rem; padding: clamp(1.75rem, 4vw, 3.5rem); border-radius: var(--radius); border: 1px solid rgba(255, 179, 71, .35); background: radial-gradient(640px 320px at 0% 0%, rgba(255, 179, 71, .12), transparent 70%), var(--card-solid); }
@media (min-width: 900px) { .pricing-own-card { grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: start; } }
.pricing-own-sub { color: var(--amber-pale); font-size: 1.1rem; line-height: 1.5; margin: 1.25rem 0 0; }
.pricing-own-body p { color: var(--text-dim); }
.pricing-own-body .pricing-own-line { color: var(--text); margin: 0 0 .4rem; }
.pricing-own-final { margin: 1.25rem 0 0; font-family: var(--font-display); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; color: var(--amber-2) !important; }

/* Care Plans */
.pricing-care-sub { margin-top: 1rem; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); font-weight: 500; letter-spacing: -0.01em; color: var(--amber-2); }
.pricing-care .section-lede + .section-lede { margin-top: .75rem; }
.path-card.pricing-care-card h3 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); line-height: 1.15; margin-bottom: 1rem; }
.pricing-care-price { color: var(--amber-2); white-space: nowrap; }
.pricing-care-card .checklist { margin-bottom: 0; }
.pricing-care-notes { max-width: 780px; margin: 2.25rem auto 0; text-align: center; }
.pricing-care-notes p:first-child { color: var(--text-dim); font-size: 1.05rem; margin: 0; }
.pricing-cta { margin-top: 2.25rem; }
