/* ===========================================================================
   NovaHUD — site stylesheet.

   The design language descends from the orb itself (Sources/NovaHUD/Orb.swift):
   an opaque, lit sphere on a dark, narrow grey ladder. Three rules carried
   over from the app:

     1. ONE material, three steps — ground / card / well. Widening that ladder
        is what makes a dark UI read as "grey and black".
     2. The light comes from one place (upper left, ~32%/26%) and stays there.
        Every raised surface is lit from the same point as the sphere.
     3. Colour is identity, never decoration. The eight orb hues are the app's
        spoken vocabulary; on the site they appear only where they mean a
        session.

   No external resources of any kind: system fonts, inline SVG, no CDN.
   =========================================================================== */

/* ---------------------------------------------------------------- tokens -- */
:root {
  color-scheme: dark light;

  /* Dark stack, transcribed from Theme.swift. */
  --ground: #0F100F;
  --card: #1A1A19;
  --well: #242524;
  --raised: #2E2F2E;

  --text: #EDECEA;
  --text-secondary: rgb(237 236 234 / 72%);
  --text-tertiary: rgb(237 236 234 / 58%);

  --hairline: rgb(255 255 255 / 10%);
  --hairline-strong: rgb(255 255 255 / 18%);

  --accent: #E0E0E0;
  --primary: #CDCDCD;
  --on-primary: #141414;

  --good: #53CA75;
  --warn: #FAA840;
  --speaking: #5B9CFF;

  /* Palette.orbs — the spoken colour vocabulary. */
  --orb-blue: #8FA8FF;
  --orb-gold: #E8C46A;
  --orb-teal: #5FC9B4;
  --orb-violet: #B08CE8;
  --orb-coral: #F08A6C;
  --orb-green: #7FD08A;
  --orb-rose: #E88AB0;
  --orb-amber: #E0954A;
  --pearl: #EDEAE3;

  --tint: var(--orb-blue);

  /* Translucent surfaces. Every one of these has a solid fallback applied
     first; the translucent value only lands inside an @supports block. */
  --veil: rgb(26 26 25 / 72%);
  --veil-solid: #191918;

  /* Focus ring — the blue orb, the app's own "attention" hue. */
  --focus: #8FA8FF;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  --shadow-card: 0 1px 0 rgb(255 255 255 / 4%) inset, 0 12px 32px rgb(0 0 0 / 34%);
  --shadow-raised: 0 1px 0 rgb(255 255 255 / 6%) inset, 0 22px 60px rgb(0 0 0 / 46%);

  --measure: 68ch;
  --gutter: 24px;
}

/* Light — a pearl ground, the same ladder inverted. The orb's own opal is
   painted on pearl (#EDEAE3), so the light theme is lit off the same
   material the sphere is. */
@media (prefers-color-scheme: light) {
  :root {
    --ground: #F7F6F3;
    --card: #FFFFFF;
    --well: #F0EEE9;
    --raised: #E7E4DD;

    --text: #14150F;
    --text-secondary: rgb(20 21 15 / 74%);
    --text-tertiary: rgb(20 21 15 / 60%);

    --hairline: rgb(20 21 15 / 12%);
    --hairline-strong: rgb(20 21 15 / 20%);

    --accent: #1B1C17;
    --primary: #1B1C17;
    --on-primary: #FFFFFF;

    /* Pushed darker than the app values: the Theme.swift hues are judged
       against near-black and fail AA on pearl. */
    --good: #19703A;
    --warn: #8A5200;
    --speaking: #2B5FCB;

    --veil: rgb(255 255 255 / 78%);
    --veil-solid: #FCFBF9;

    --focus: #2B5FCB;

    --shadow-card: 0 1px 2px rgb(20 21 15 / 6%), 0 10px 28px rgb(20 21 15 / 8%);
    --shadow-raised: 0 2px 4px rgb(20 21 15 / 8%), 0 22px 56px rgb(20 21 15 / 12%);
  }
}

/* --------------------------------------------------------------- reset --- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Text",
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;            /* the body never scrolls sideways */
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 640;
  letter-spacing: -0.022em;
  line-height: 1.16;
  text-wrap: balance;
}
h1 { font-size: clamp(34px, 5.2vw, 56px); letter-spacing: -0.032em; }
h2 { font-size: clamp(25px, 3.2vw, 34px); }
h3 { font-size: 19px; letter-spacing: -0.016em; }
h4 { font-size: 16px; }

p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
img, svg, canvas { max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
code, kbd {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--well);
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: 1px 5px;
}
::selection { background: rgb(143 168 255 / 30%); }
hr { border: 0; border-top: 1px solid var(--hairline); margin: 40px 0; }

/* Focus: one visible ring everywhere, never removed. */
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--card); color: var(--text);
  padding: 12px 18px; border-radius: 0 0 var(--radius-sm) 0;
  border: 1px solid var(--hairline); text-decoration: none; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* -------------------------------------------------------------- layout --- */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 80px 0; }
section.tight { padding: 40px 0; }
.center { text-align: center; }
.mt-0 { margin-top: 0; }

.section-head { max-width: 660px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--text-secondary); margin-top: 14px; font-size: 18px; }

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}

/* --------------------------------------------------------------- header -- */
header.site {
  position: sticky; top: 0; z-index: 60;
  background: var(--veil-solid);                 /* solid fallback */
  border-bottom: 1px solid var(--hairline);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  header.site {
    background: var(--veil);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    backdrop-filter: blur(20px) saturate(160%);
  }
}

.nav {
  display: flex; align-items: center; gap: 18px; justify-content: space-between;
  max-width: 1120px; margin: 0 auto; padding: 12px var(--gutter);
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 680; font-size: 17px; letter-spacing: -0.02em; text-decoration: none;
  flex: 0 0 auto;
}
/* The mark is the orb, shrunk: same light point, same contact shadow. */
.brand .dot {
  width: 20px; height: 20px; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 108%, rgb(0 0 0 / 42%), rgb(0 0 0 / 0) 62%),
    radial-gradient(circle at 32% 26%, rgb(255 255 255 / 55%), rgb(255 255 255 / 0) 42%),
    radial-gradient(circle at 33% 28%, var(--orb-blue), #4b5fb0 78%, #2b3465 100%);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 22%) inset, 0 2px 8px rgb(143 168 255 / 35%);
  flex: 0 0 auto;
}

nav.links { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
nav.links a {
  text-decoration: none; color: var(--text-secondary);
  font-size: 14.5px; font-weight: 500;
  padding: 7px 9px; border-radius: 8px;
  transition: color .18s var(--ease), background .18s var(--ease);
}
nav.links a:hover { color: var(--text); background: var(--well); }
nav.links a[aria-current="page"] { color: var(--text); font-weight: 600; }

.nav-right { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }

/* Disclosure menu — works with no JavaScript at all. */
.menu { display: none; position: relative; }
.menu > summary {
  list-style: none; cursor: pointer;
  padding: 8px 12px; border-radius: 10px;
  border: 1px solid var(--hairline); background: var(--well);
  font-size: 14px; font-weight: 600;
}
.menu > summary::-webkit-details-marker { display: none; }
.menu[open] > summary { border-color: var(--hairline-strong); }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 70;
  min-width: 220px; padding: 8px;
  background: var(--veil-solid);
  border: 1px solid var(--hairline); border-radius: 14px;
  box-shadow: var(--shadow-raised);
  display: flex; flex-direction: column;
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .menu-panel {
    background: var(--veil);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    backdrop-filter: blur(22px) saturate(160%);
  }
}
.menu-panel a {
  text-decoration: none; color: var(--text-secondary);
  padding: 10px 12px; border-radius: 9px; font-size: 15px;
}
.menu-panel a:hover { background: var(--well); color: var(--text); }
.menu-panel a[aria-current="page"] { color: var(--text); font-weight: 600; }

/* -------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 11px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
  transition: transform .16s var(--ease), background .18s var(--ease),
              border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.995); }
.btn-lg { padding: 14px 24px; font-size: 16.5px; border-radius: 13px; }

.btn-primary {
  background: var(--primary); color: var(--on-primary);
  box-shadow: 0 1px 0 rgb(255 255 255 / 28%) inset, 0 6px 20px rgb(0 0 0 / 26%);
}
.btn-primary:hover { background: var(--accent); }

.btn-ghost {
  background: var(--well); color: var(--text);
  border-color: var(--hairline);
}
.btn-ghost:hover { border-color: var(--hairline-strong); background: var(--raised); }

.btn-quiet {
  background: transparent; color: var(--text-secondary); border-color: var(--hairline);
}
.btn-quiet:hover { color: var(--text); border-color: var(--hairline-strong); }

/* --------------------------------------------------------- surfaces ------ */
.card, .panel, .tier, .form-box, .pipe-step, .callout, .hud-widget, .faq-item {
  background: var(--card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
}

.card {
  padding: 26px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
/* One light source. Every card is lit from the sphere's angle. */
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 32% -8%, rgb(255 255 255 / 6%), rgb(255 255 255 / 0) 62%);
}
@media (prefers-color-scheme: light) {
  .card::before { background: radial-gradient(120% 90% at 32% -8%, rgb(255 255 255 / 85%), rgb(255 255 255 / 0) 62%); }
}
.card > * { position: relative; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-secondary); font-size: 15.5px; }
.card p + p { margin-top: 12px; }
.card .icon {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--well); border: 1px solid var(--hairline);
  color: var(--text);
}

.panel { padding: 34px; box-shadow: var(--shadow-card); }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-copy h2 { margin-bottom: 18px; }
.split-copy p { color: var(--text-secondary); }
.split-copy p + p { margin-top: 16px; }
.split.reverse .split-visual { order: -1; }

/* -------------------------------------------------------------- prose ---- */
.prose { max-width: var(--measure); }
.prose h2 { margin: 48px 0 16px; font-size: 26px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 30px 0 10px; }
.prose p { color: var(--text-secondary); }
.prose p + p { margin-top: 16px; }
.prose ul, .prose ol { color: var(--text-secondary); padding-left: 22px; margin: 16px 0; }
.prose li { margin: 8px 0; }
.prose strong { color: var(--text); font-weight: 620; }
.prose a { color: var(--text); text-decoration-color: var(--hairline-strong); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose .updated { font-size: 14px; color: var(--text-tertiary); }
.prose code { word-break: break-word; }

.answer {
  max-width: 760px; padding: 28px;
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: var(--radius); box-shadow: var(--shadow-card);
}
.answer p { color: var(--text-secondary); }
.answer p + p { margin-top: 14px; }
.answer strong { color: var(--text); font-weight: 620; }

.callout { padding: 22px 24px; border-left: 3px solid var(--warn); }
.callout h3 { margin-bottom: 8px; }
.callout p { color: var(--text-secondary); font-size: 15.5px; }
.callout p + p { margin-top: 10px; }
.callout.info { border-left-color: var(--orb-blue); }

.fineprint { color: var(--text-tertiary); font-size: 14px; }
.fineprint.center { text-align: center; }

.todo { display: none; }

/* 404's link list. */
.plain-list { list-style: none; padding: 0; margin: 22px 0 0; }
.plain-list li { margin: 10px 0; color: var(--text-secondary); }
.plain-list a { color: var(--text); text-underline-offset: 3px; font-weight: 600; }

/* ------------------------------------------------------------- breadcrumb */
.crumbs { padding-top: 20px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; font-size: 13.5px; color: var(--text-tertiary); }
.crumbs li::after { content: "/"; margin-left: 6px; opacity: .5; }
.crumbs li:last-child::after { content: ""; }
.crumbs a { color: var(--text-tertiary); text-decoration: none; }
.crumbs a:hover { color: var(--text); }

/* ---------------------------------------------------------------- hero --- */
.hero { padding: 56px var(--gutter) 40px; text-align: center; }
.hero h1 { max-width: 17ch; margin: 0 auto; }
.hero .tagline {
  max-width: 62ch; margin: 22px auto 0;
  font-size: clamp(17px, 2vw, 20px); color: var(--text-secondary);
}
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero-note { margin-top: 18px; color: var(--text-tertiary); font-size: 14px; }

.page-hero { padding: 44px var(--gutter) 28px; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 46px); }
.page-hero .lede { margin-top: 18px; font-size: 19px; color: var(--text-secondary); max-width: 62ch; }
.page-hero .hero-ctas { justify-content: flex-start; }

/* ============================================================ THE ORB ==== */
/* A CSS rebuild of Orb.swift. Layer order is the app's: opal body, highlight
   from one fixed point (32%/26%), contact shadow, rim. Breathing is the 3.4s
   +/-1.8% scale; the sway is the 4.6s +/-2.4deg lean on a diagonal axis. The
   two periods are deliberately not in sync — that is what reads as alive
   rather than metronomic, and it is the app's own reasoning. */
.hero-stage {
  display: grid; place-items: center;
  min-height: 230px; margin-bottom: 26px;
  perspective: 700px;
}

.orb {
  position: relative;
  width: clamp(150px, 22vw, 200px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform-style: preserve-3d;
  animation: orb-sway 4.6s var(--ease) infinite alternate;
  filter: drop-shadow(0 12px 34px rgb(143 168 255 / 32%));
}
.orb-body {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  background: var(--pearl);
  animation: orb-breathe 3.4s var(--ease) infinite alternate;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 22%);
}
/* The opal, painted the app's way: four hues on a ring at r=0.33 over an
   opaque pearl ground, each dab narrow enough that neighbours only kiss.
   Widening them until they overlap everywhere is what averages the sphere
   into one muddy blue-violet — the app learned that the hard way. Blurred
   just enough to melt the seams, then saturation lifted back, because even
   a kiss of overlap desaturates towards pearl-grey. Both numbers are the
   app's own. The blur lives on this pseudo-element alone so it never
   softens the shading above it. */
.orb-body::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(ellipse 26% 26% at 73% 47%, rgb(232 138 176 / 88%) 0%, rgb(232 138 176 / 46%) 45%, rgb(232 138 176 / 0) 100%),
    radial-gradient(ellipse 26% 26% at 47% 76%, rgb(95 201 180 / 88%) 0%, rgb(95 201 180 / 46%) 45%, rgb(95 201 180 / 0) 100%),
    radial-gradient(ellipse 26% 26% at 24% 51%, rgb(232 196 106 / 88%) 0%, rgb(232 196 106 / 46%) 45%, rgb(232 196 106 / 0) 100%),
    radial-gradient(ellipse 26% 26% at 48% 22%, rgb(143 168 255 / 92%) 0%, rgb(143 168 255 / 50%) 45%, rgb(143 168 255 / 0) 100%);
  filter: blur(9px) saturate(1.32);
  z-index: 1;
}
/* Shading, highlight and rim. An opaque body has to be shaded into a sphere
   from the same fixed light point (32%/26%) — a flat fill at any size reads
   as a sticker, and the light never moves. */
.orb-body::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgb(255 255 255 / 44%), rgb(255 255 255 / 0) 38%),
    radial-gradient(circle at 50% 102%, rgb(0 0 0 / 52%), rgb(0 0 0 / 0) 54%),
    radial-gradient(circle at 33% 28%, rgb(0 0 0 / 0) 6%, rgb(0 0 0 / 26%) 56%, rgb(0 0 0 / 78%) 100%);
  box-shadow: 0 0 0 1.5px rgb(255 255 255 / 32%) inset;   /* the rim — hers alone */
  z-index: 2;
}
/* The travelling lit arc. Slow and faint here: nothing on a web page is
   actually speaking, so it reads as "alive", not "talking". */
.orb-arc {
  position: absolute; inset: -3px; border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: rgb(255 255 255 / 40%);
  border-right-color: rgb(255 255 255 / 10%);
  animation: orb-spin 9s linear infinite;
}
/* The shadow she casts on the ground beneath her. */
.orb-shadow {
  position: absolute; left: 50%; bottom: -12%;
  width: 76%; height: 16%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgb(0 0 0 / 42%), rgb(0 0 0 / 0) 72%);
  animation: orb-contact 3.4s var(--ease) infinite alternate;
}
@media (prefers-color-scheme: light) {
  .orb-shadow { background: radial-gradient(ellipse at center, rgb(20 21 15 / 24%), rgb(20 21 15 / 0) 72%); }
  .orb-arc { border-top-color: rgb(255 255 255 / 55%); }
}

@keyframes orb-breathe {
  from { transform: scale(.982); }
  to   { transform: scale(1.018); }
}
@keyframes orb-sway {
  from { transform: rotate3d(.5, 1, .15, -2.4deg); }
  to   { transform: rotate3d(.5, 1, .15,  2.4deg); }
}
@keyframes orb-contact {
  from { opacity: .78; transform: translateX(-50%) scaleX(.94); }
  to   { opacity: 1;   transform: translateX(-50%) scaleX(1.04); }
}
@keyframes orb-spin { to { transform: rotate(360deg); } }

/* Session orbs — one hue each, the same layers at small size. */
.orb-mini, .hud-orb-mini {
  width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto;
  background:
    radial-gradient(circle at 32% 26%, rgb(255 255 255 / 52%), rgb(255 255 255 / 0) 44%),
    radial-gradient(circle at 50% 106%, rgb(0 0 0 / 44%), rgb(0 0 0 / 0) 60%),
    radial-gradient(circle at 33% 28%, var(--tint), color-mix(in srgb, var(--tint) 52%, #10121c) 74%, #14161f 100%);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 20%) inset, 0 2px 10px rgb(0 0 0 / 30%);
}
.orb-mini.lg { width: 44px; height: 44px; }
.orb-mini.blue,   .hud-orb-mini.blue   { --tint: var(--orb-blue); }
.orb-mini.gold,   .hud-orb-mini.gold   { --tint: var(--orb-gold); }
.orb-mini.teal,   .hud-orb-mini.teal,
.orb-mini.cyan,   .hud-orb-mini.cyan   { --tint: var(--orb-teal); }
.orb-mini.violet, .hud-orb-mini.violet { --tint: var(--orb-violet); }
.orb-mini.coral,  .hud-orb-mini.coral  { --tint: var(--orb-coral); }
.orb-mini.green,  .hud-orb-mini.green  { --tint: var(--orb-green); }
.orb-mini.rose,   .hud-orb-mini.rose   { --tint: var(--orb-rose); }
.orb-mini.amber,  .hud-orb-mini.amber  { --tint: var(--orb-amber); }

.swatches { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 24px; }
.swatch { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 76px; }
.swatch span { font-size: 12.5px; color: var(--text-tertiary); }

/* ------------------------------------------------------- simulated HUD --- */
.hud-stage {
  display: flex; flex-direction: column; gap: 14px;
  padding: 26px; border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 70% at 20% 0%, rgb(143 168 255 / 10%), rgb(143 168 255 / 0) 60%),
    var(--well);
  border: 1px solid var(--hairline);
}
.hud-widget {
  padding: 14px 16px; border-radius: 14px;
  background: var(--veil-solid);
  box-shadow: var(--shadow-card);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .hud-widget {
    background: var(--veil);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
  }
}
.hud-widget.dim { opacity: .72; }
.hud-top { display: flex; align-items: center; gap: 12px; }
.hud-title { font-weight: 620; font-size: 15px; letter-spacing: -0.01em; }
.hud-sub { font-size: 12.5px; color: var(--text-tertiary); }
.hud-badge {
  margin-left: auto; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--text-tertiary);
  padding: 3px 9px; border-radius: 999px;
  border: 1px solid var(--hairline); background: var(--well);
}
.hud-line {
  margin-top: 10px; font-size: 13.5px; color: var(--text-secondary);
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
}

.say {
  display: flex; align-items: center; gap: 12px;
  margin: 24px 0; padding: 16px 18px;
  border-radius: 13px; background: var(--well); border: 1px solid var(--hairline);
  font-size: 16.5px;
}
.say .mic {
  width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto;
  background: var(--good);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--good) 22%, transparent);
}

/* ---------------------------------------------------------------- rows --- */
.rows { border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.row {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 14px 18px; border-bottom: 1px solid var(--hairline); font-size: 15px;
}
.row:last-child { border-bottom: 0; }
.row .label { color: var(--text-secondary); }
.row .val { font-weight: 600; text-align: right; }
.row .val.good { color: var(--good); }
.row .val.warn { color: var(--warn); }

.checks { list-style: none; padding: 0; margin: 22px 0 0; }
.checks li { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0; color: var(--text-secondary); font-size: 15.5px; }
.checks .check { color: var(--good); font-weight: 700; flex: 0 0 auto; }
.checks .cross { color: var(--warn); font-weight: 700; flex: 0 0 auto; }

/* --------------------------------------------------------------- steps --- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps > li {
  counter-increment: step; position: relative;
  padding: 22px 24px 22px 68px;
  background: var(--card); border: 1px solid var(--hairline); border-radius: var(--radius);
}
.steps > li::before {
  content: counter(step);
  position: absolute; left: 22px; top: 22px;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--well); border: 1px solid var(--hairline);
  font-size: 14px; font-weight: 640; color: var(--text);
}
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--text-secondary); font-size: 15.5px; }
.steps p + p { margin-top: 10px; }

/* ------------------------------------------------------------ pipeline --- */
.pipeline { display: grid; gap: 16px; }
.pipe-step { padding: 24px 26px; }
.pipe-step .stage { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-tertiary); font-weight: 600; }
.pipe-step h3 { margin: 10px 0; }
.pipe-step p { color: var(--text-secondary); font-size: 15.5px; }
.pipe-step p + p { margin-top: 12px; }
.pipe-step .where { margin-top: 14px; font-size: 13px; color: var(--good); font-weight: 600; }

/* ------------------------------------------------------------- pricing --- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.tier { padding: 30px 28px; position: relative; box-shadow: var(--shadow-card); }
.tier h3 { font-size: 17px; }
.tier .desc { color: var(--text-tertiary); font-size: 14.5px; margin-top: 6px; }
.tier .price { font-size: 46px; font-weight: 660; letter-spacing: -0.035em; margin: 20px 0 4px; }
.tier .period { font-size: 15px; font-weight: 500; color: var(--text-tertiary); margin-left: 6px; letter-spacing: 0; }
.tier ul { list-style: none; padding: 0; margin: 20px 0 26px; }
.tier li { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; font-size: 15px; color: var(--text-secondary); }
.tier li .check { color: var(--good); font-weight: 700; flex: 0 0 auto; }
.tier .btn { width: 100%; }
.tier.featured {
  border-color: color-mix(in srgb, var(--orb-blue) 42%, var(--hairline));
  box-shadow: var(--shadow-raised);
}
.tier-badge {
  position: absolute; top: -11px; left: 28px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px;
  background: var(--orb-blue); color: #0F100F;
}
.mini-tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 8px; }
.mini-tier { padding: 18px; border-radius: var(--radius-sm); background: var(--well); border: 1px solid var(--hairline); text-align: center; }
.mini-tier strong { display: block; font-size: 26px; font-weight: 660; letter-spacing: -0.03em; }
.mini-tier span { display: block; font-size: 13px; color: var(--text-tertiary); margin-top: 4px; }

/* ----------------------------------------------------------------- FAQ --- */
.faq { display: grid; gap: 10px; }
.faq-group-title { margin: 40px 0 14px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-tertiary); font-weight: 600; }
.faq-item { overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: flex-start; gap: 16px; justify-content: space-between;
  padding: 18px 22px; font-weight: 600; font-size: 16.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { flex: 0 0 auto; color: var(--text-tertiary); font-size: 20px; line-height: 1; transition: transform .2s var(--ease); }
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--text-secondary); font-size: 15.5px; }
.faq-item .faq-body p + p { margin-top: 12px; }
.faq-item .faq-body a { color: var(--text); text-underline-offset: 3px; }
summary:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }

/* ---------------------------------------------------------------- forms -- */
.form-box { padding: 28px; box-shadow: var(--shadow-card); }
.form-box form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.field { display: flex; flex-direction: column; gap: 7px; flex: 1 1 240px; min-width: 0; }
.field label, .form-box label { font-size: 13.5px; font-weight: 600; color: var(--text-secondary); }
.form-box input, .form-box select, .form-box textarea {
  width: 100%; padding: 12px 14px;
  background: var(--well); color: var(--text);
  border: 1px solid var(--hairline); border-radius: 11px;
  font-size: 16px; font-family: inherit;
  transition: border-color .18s var(--ease);
}
.form-box input:hover, .form-box textarea:hover { border-color: var(--hairline-strong); }
.form-box input::placeholder, .form-box textarea::placeholder { color: var(--text-tertiary); }
.form-result { margin-top: 16px; font-size: 15px; color: var(--text-secondary); min-height: 1.4em; }
.form-result .code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 700; color: var(--text);
  background: var(--well); border: 1px solid var(--hairline);
  padding: 2px 8px; border-radius: 7px;
}

/* --------------------------------------------------------------- tables -- */
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--hairline); border-radius: var(--radius); }
table.matrix {
  width: 100%; border-collapse: collapse; min-width: 640px;
  background: var(--card); font-size: 15px;
}
table.matrix th, table.matrix td {
  padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}
table.matrix thead th {
  font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text-tertiary); font-weight: 600;
  background: var(--well);
}
table.matrix tbody th { font-weight: 600; color: var(--text); width: 28%; }
table.matrix td { color: var(--text-secondary); }
table.matrix tbody tr:last-child th, table.matrix tbody tr:last-child td { border-bottom: 0; }
table.matrix .yes { color: var(--good); font-weight: 600; }
table.matrix .no { color: var(--warn); font-weight: 600; }
.scroll-note { margin-top: 10px; font-size: 13px; color: var(--text-tertiary); }

/* ------------------------------------------------------------ changelog -- */
.log { display: grid; margin: 0; padding: 0; list-style: none; }
.log > li {
  display: grid; grid-template-columns: 170px 1fr; gap: 26px;
  padding: 26px 0; border-top: 1px solid var(--hairline);
}
.log .when { font-size: 14px; color: var(--text-tertiary); }
.log .ver { display: block; font-weight: 660; font-size: 16px; color: var(--text); margin-bottom: 4px; }
.log .entry > ul { margin: 12px 0 0; padding-left: 20px; color: var(--text-secondary); font-size: 15.5px; }
.log .entry > ul li + li { margin-top: 6px; }
.log .entry p { color: var(--text-secondary); font-size: 15.5px; }

/* ----------------------------------------------------------------- CTA --- */
.cta-strip {
  text-align: center; padding: 60px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  background:
    radial-gradient(80% 120% at 32% -10%, rgb(143 168 255 / 14%), rgb(143 168 255 / 0) 62%),
    var(--card);
  box-shadow: var(--shadow-card);
}
.cta-strip h2 { max-width: 20ch; margin: 0 auto; }
.cta-strip p { margin-top: 16px; color: var(--text-secondary); }
.cta-strip .hero-ctas { margin-top: 28px; }

/* -------------------------------------------------------------- footer --- */
footer.site { border-top: 1px solid var(--hairline); margin-top: 40px; background: var(--card); }
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 56px var(--gutter) 32px; }
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-blurb { margin-top: 14px; color: var(--text-tertiary); font-size: 14.5px; max-width: 34ch; }
.footer-cols h2 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-tertiary); font-weight: 600; margin-bottom: 14px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { margin: 9px 0; font-size: 14.5px; color: var(--text-tertiary); }
.footer-cols a { color: var(--text-secondary); text-decoration: none; }
.footer-cols a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.footer-base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--hairline);
  font-size: 13.5px; color: var(--text-tertiary);
}
.footer-base a { color: var(--text-secondary); }

/* ------------------------------------------------------ cookie consent --- */
/* Defaults to declined. Nothing is loaded either way — this site has no
   analytics — so the banner is a promise being kept, not a gate. */
.consent {
  position: fixed; z-index: 100;
  left: 16px; right: 16px; bottom: 16px;
  max-width: 560px; margin: 0 auto;
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--hairline-strong);
  background: var(--veil-solid);
  box-shadow: var(--shadow-raised);
}
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .consent {
    background: var(--veil);
    -webkit-backdrop-filter: blur(24px) saturate(170%);
    backdrop-filter: blur(24px) saturate(170%);
  }
}
.consent h2 { font-size: 16px; margin-bottom: 8px; }
.consent p { font-size: 14px; color: var(--text-secondary); }
.consent p + p { margin-top: 8px; }
.consent-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.consent .btn { font-size: 14px; padding: 9px 16px; }
.consent a { color: var(--text); text-underline-offset: 3px; }

/* --------------------------------------------------------------- login --- */
.auth-shell { display: grid; place-items: center; padding: 56px var(--gutter) 72px; }
.auth-card {
  width: 100%; max-width: 430px; padding: 36px 32px;
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-raised);
  text-align: center;
}
.auth-card h1 { font-size: 27px; letter-spacing: -0.024em; }
.auth-card .lede { margin-top: 12px; color: var(--text-secondary); font-size: 15.5px; }
.auth-actions { display: grid; gap: 10px; margin-top: 28px; }
.auth-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 13px 16px; border-radius: 12px;
  border: 1px solid var(--hairline); background: var(--well); color: var(--text);
  font-size: 15.5px; font-weight: 600; text-decoration: none; cursor: pointer;
  font-family: inherit;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.auth-btn:hover { border-color: var(--hairline-strong); background: var(--raised); }
.auth-divider {
  display: flex; align-items: center; gap: 14px;
  margin: 24px 0; color: var(--text-tertiary); font-size: 13px;
}
.auth-divider::before, .auth-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--hairline);
}
.auth-note { margin-top: 24px; font-size: 13.5px; color: var(--text-tertiary); }
.auth-note a { color: var(--text-secondary); }

/* ----------------------------------------------------------- responsive -- */
@media (max-width: 1040px) {
  nav.links { display: none; }
  .menu { display: block; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-visual { order: 0; }
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  section { padding: 60px 0; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .mini-tiers { grid-template-columns: repeat(2, 1fr); }
  .log > li { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 620px) {
  :root { --gutter: 18px; }
  body { font-size: 16px; }
  .grid, .grid.two { grid-template-columns: 1fr; }
  .panel { padding: 24px; }
  .hero { padding-top: 36px; }
  .hero-ctas .btn { width: 100%; }
  .nav-cta { display: none; }
  .footer-cols { grid-template-columns: 1fr; }
  .steps > li { padding: 20px; }
  .steps > li::before { position: static; margin-bottom: 12px; }
  .consent { left: 10px; right: 10px; bottom: 10px; padding: 18px; }
  .consent-actions .btn { flex: 1 1 100%; }
  .form-box form { flex-direction: column; align-items: stretch; }
  .form-box form .btn { width: 100%; }
}

/* ------------------------------------------------------- reduced motion -- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .orb, .orb-body, .orb-arc, .orb-shadow { animation: none !important; }
  .orb { transform: none; }
}

/* --------------------------------------------------------------- print --- */
@media print {
  header.site, footer.site, .consent, .hero-stage { display: none; }
  body { background: #fff; color: #000; }
}
