@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/SpaceGrotesk-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --void: #06080e;
  --panel: rgba(12, 16, 26, 0.78);
  --panel-solid: #0c101a;
  --text: #e8edf5;
  --text-soft: #c5ccd8;
  --text-dim: #8b95a8;
  --amber: #f0a31a;
  --amber-bright: #ffc14d;
  --amber-deep: #c47d0c;
  --ink: #1a1306;
  --teal: #3fb6b2;
  --teal-bright: #4ec8e8;
  --teal-soft: #8fd4e8;
  --line: rgba(150, 170, 200, 0.22);
  --line-strong: rgba(150, 170, 200, 0.34);
  --green: #5dcc7a;
  --seal: #3dce8a;
  --radius: 16px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--void);
  scroll-padding-top: 64px;
  overflow-x: clip;
}

body {
  position: relative;
  background: var(--void);
  color: var(--text);
  font-family: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100%;
}

a {
  color: var(--teal-soft);
  text-decoration: none;
}

a:hover {
  color: var(--teal-bright);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 85% 0%, rgba(63, 182, 178, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(120, 70, 20, 0.12), transparent 55%),
    radial-gradient(ellipse 42% 32% at 50% 40%, rgba(20, 36, 70, 0.22), transparent 70%),
    var(--void);
}

.bg::before,
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("assets/starfield.svg");
  background-repeat: repeat;
}
.bg::before {
  background-size: 680px 680px;
  opacity: 0.4;
}
.bg::after {
  background-size: 1100px 1100px;
  background-position: 200px 120px;
  opacity: 0.22;
}

.review-bar {
  position: relative;
  z-index: 20;
  background: rgba(240, 163, 26, 0.12);
  border-bottom: 1px solid rgba(240, 163, 26, 0.28);
  color: var(--amber-bright);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 16px;
}

.wrap {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #06080E;
  background: rgba(6, 8, 14, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 237, 245, 0.08);
  transform: translateY(0);
  transition: transform 220ms ease-out;
}
.site-header.is-away:not(.is-locked) {
  transform: translateY(-100%);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 112px;
  width: min(100% - 48px, var(--max));
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  flex-shrink: 0;
}
main section[id],
#how, #product, #get-app, #search-guard, #badges, #faq, #support, #privacy, #astronauts, #categories, #coming-soon, #notify, #path-fade {
  scroll-margin-top: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover {
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 297px;
  height: 96px;
  border-radius: 0;
}

.brand span {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin-left: 0;
}

.nav-links a {
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-cta .text-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--teal-soft);
  white-space: nowrap;
}

.social-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--text-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
}
.social-x:hover,
.social-x:focus-visible {
  color: var(--text);
  border-color: var(--teal-bright);
  text-decoration: none;
}
.social-x:focus-visible {
  outline: 2px solid var(--teal-bright);
  outline-offset: 3px;
}
.site-footer .social-x {
  margin-left: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  padding: 12px 20px;
  font: 600 0.95rem/1.2 "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.12s ease, transform 0.12s ease, box-shadow 0.12s ease;
}

.btn:hover {
  text-decoration: none;
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn:active,
.btn.is-pressed {
  transform: translateY(2px);
  filter: brightness(0.98);
}

.btn:focus-visible {
  outline: 2px solid var(--teal-bright);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(180deg, var(--amber-bright) 0%, var(--amber) 100%);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.28) inset, 0 6px 16px rgba(240, 163, 26, 0.22), 0 2px 0 rgba(156, 96, 8, 0.45);
}

.btn-primary:hover {
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.32) inset, 0 8px 18px rgba(240, 163, 26, 0.3), 0 3px 0 rgba(156, 96, 8, 0.4);
}

.btn-primary:active,
.btn-primary.is-pressed {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.28) inset, 0 0 0 rgba(240, 163, 26, 0), 0 1px 0 rgba(156, 96, 8, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
  box-shadow: 0 2px 0 rgba(232, 237, 245, 0.12), 0 4px 12px rgba(0, 0, 0, 0.18);
}

.btn-secondary:hover {
  color: var(--text);
  border-color: var(--teal-bright);
  box-shadow: 0 3px 0 rgba(63, 182, 178, 0.28), 0 6px 14px rgba(0, 0, 0, 0.22);
}

.btn-secondary:active,
.btn-secondary.is-pressed {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.35) inset, 0 0 0 transparent;
}

.btn-lg {
  padding: 14px 22px;
  font-size: 1rem;
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  padding: 72px 0 32px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: start;
}
.hero-visual {
  display: flex;
  flex-direction: column;
  min-width: 0;
  align-self: start;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
  background: linear-gradient(180deg, #f7f9fc 10%, #d5deea 55%, #9eb4c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subhead {
  margin-top: 22px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 400;
  color: var(--text-soft);
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 32px;
}

.hero-notify {
  margin-top: 16px;
  max-width: none;
}
.hero-notify .btn {
  width: auto;
}


.cta-note {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.cta-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.shot-frame {
  background: rgba(12, 16, 26, 0.9);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(78, 200, 232, 0.06);
}

.shot-frame img {
  width: 100%;
}

.shot-caption {
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--text-dim);
  text-align: center;
}

section {
  padding: 72px 0;
}

.section-kicker {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.lede {
  color: var(--text-soft);
  font-size: 1.05rem;
  max-width: 42rem;
}

.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(12, 16, 26, 0.35);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 36px;
}

@media (max-width: 1100px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step,
.card,
.price-card,
.feature,
.limit {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(240, 163, 26, 0.14);
  color: var(--amber-bright);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.step h3,
.card h3,
.price-card h3,
.feature h3 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.step p,
.card p,
.feature p,
.limit p {
  color: var(--text-soft);
  font-size: 0.98rem;
}

.cards-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 32px;
}

.card-meta {
  font-size: 0.88rem;
  color: var(--teal-soft);
  margin-bottom: 10px;
}

.card .btn {
  margin-top: 18px;
}

.price-card .btn {
  margin-top: auto;
  padding-top: 12px;
  padding-bottom: 12px;
}

.price-card .btn.btn-primary,
.price-card .btn.btn-secondary {
  margin-top: auto;
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 40px;
  margin-top: 40px;
  align-items: start;
}

.feature-copy h3 {
  margin-top: 0;
}

.feature-list {
  list-style: none;
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.feature-list li {
  position: relative;
  padding-left: 18px;
  color: var(--text-soft);
  font-size: 0.98rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  margin-top: 48px;
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split.reverse .shot-col {
  order: -1;
}

.prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.price-card.featured {
  border-color: rgba(240, 163, 26, 0.45);
  box-shadow: 0 0 0 1px rgba(240, 163, 26, 0.12), 0 16px 40px rgba(0, 0, 0, 0.28);
}

.price-amount {
  font-size: 1.7rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  margin: 10px 0 14px;
  color: var(--text);
}

.pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pill-tbd {
  background: rgba(240, 163, 26, 0.14);
  color: var(--amber-bright);
}

.pill-free {
  background: rgba(93, 204, 122, 0.14);
  color: var(--green);
}

.pill-example {
  background: rgba(78, 200, 232, 0.12);
  color: var(--teal-soft);
}

.price-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.free-routes {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--text-soft);
}

.free-routes strong {
  color: var(--text);
  font-weight: 600;
}

.limits {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.limit {
  padding: 18px 22px;
}

.faq {
  display: grid;
  gap: 12px;
  margin-top: 32px;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.faq-item[open] {
  border-color: var(--line-strong);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
  list-style: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--text);
  padding: 16px 20px;
  min-height: 52px;
  border-radius: inherit;
  user-select: none;
  -webkit-user-select: none;
}

.faq-item summary::-webkit-details-marker,
.faq-item summary::marker {
  display: none;
  content: "";
}

.faq-item summary::after {
  content: "";
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin-top: -4px;
  border-right: 2px solid var(--amber-bright);
  border-bottom: 2px solid var(--amber-bright);
  transform: rotate(45deg);
  transition: transform 0.2s ease, margin 0.2s ease;
}

.faq-item[open] summary::after {
  margin-top: 4px;
  transform: rotate(225deg);
}

.faq-item summary:hover {
  background: rgba(240, 163, 26, 0.06);
}

.faq-item summary:focus {
  outline: none;
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--teal-bright);
  outline-offset: -2px;
}

.faq-item p {
  color: var(--text-soft);
  font-size: 0.98rem;
  margin: 0;
  padding: 0 20px 18px;
}

.support-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: 28px 32px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.support-box a.email {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--amber-bright);
}

.support-box a.email:hover {
  color: var(--amber);
}

.closing {
  text-align: center;
  padding: 88px 0 96px;
}

.closing h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.closing .lede {
  margin: 0 auto;
}

.closing .hero-actions {
  justify-content: center;
}

.closing .cta-stack {
  align-items: center;
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  background: rgba(6, 8, 14, 0.92);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
}

.footer-links a {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.copyright {
  margin-left: auto;
  color: var(--text-dim);
  font-size: 0.88rem;
}

#privacy,
#terms {
  /* in-page anchors only for this mock-up */
}

@media (max-width: 980px) {
  .hero-grid,
  .features,
  .split,
  .split.reverse,
  .cards-2,
  .prices {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-visual {
    display: contents;
  }
  .hero-grid {
    row-gap: 0;
  }
  .hero .eyebrow { order: 1; }
  .hero h1 { order: 2; }
  .hero-notify { order: 3; }
  .hero .subhead { order: 4; }
  .hero-actions { order: 5; }
  .hero-carousel { order: 6; margin-top: 56px; }

  .split.reverse .shot-col {
    order: 0;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .brand img {
    width: auto;
    height: 28px;
  }

  .site-header .wrap {
    min-height: 56px;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    padding: 0 16px;
    gap: 12px;
  }

  .hero {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .hero h1 {
    font-size: clamp(1.85rem, 7.4vw, 2.6rem);
  }
  .hero .eyebrow {
    margin-bottom: 10px;
  }
  .hero-notify {
    margin-top: 14px;
  }

  section {
    padding: 56px 0;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 32px, var(--max));
  }

  .site-header .wrap {
    min-height: 56px;
    gap: 12px;
  }

  .btn {
    width: 100%;
  }

  .nav-cta .btn {
    width: auto;
    padding: 10px 14px;
    font-size: 0.82rem;
  }

  .hero-actions,
  .closing .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-notify .btn {
    width: auto;
  }
  .notify-panel {
    padding: 12px;
  }
  .hero .subhead {
    margin-top: 16px;
  }

  .cta-stack {
    width: 100%;
    align-items: stretch;
  }

  .support-box {
    padding: 22px;
  }

  .copyright {
    margin-left: 0;
    width: 100%;
  }
}


@media (max-height: 850px) and (min-width: 981px) {
  .hero {
    padding: 20px 0 16px;
  }
  .hero h1 {
    font-size: clamp(2.1rem, 4.2vw, 3.05rem);
  }
  .hero .eyebrow {
    margin-bottom: 8px;
  }
  .hero-notify {
    margin-top: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }

  .faq-item summary::after {
    transition: none;
  }

  .site-header {
    transition: none;
  }
}


.pending-note {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px dashed rgba(240, 163, 26, 0.45);
  background: rgba(240, 163, 26, 0.08);
  color: var(--text-soft);
  font-size: 0.92rem;
}

.pending-note .pill {
  margin-bottom: 2px;
}

/* --- Coming soon strip --- */
.lab-strip {
  position: relative;
  z-index: 21;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 12, 20, 0.92);
}
.lab-strip-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 36px;
  text-decoration: none;
  color: var(--text-dim);
}
.lab-strip-inner:hover { color: var(--text-soft); text-decoration: none; }
.lab-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-soft);
  background: rgba(63, 182, 178, 0.12);
  border: 1px solid rgba(63, 182, 178, 0.32);
  white-space: nowrap;
}
.lab-tiles-mini {
  display: flex;
  gap: 8px;
  min-width: 0;
}
.lab-tile, .lab-tile-mini {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px dashed rgba(150, 170, 200, 0.28);
  background: rgba(12, 16, 26, 0.7);
  color: var(--text-dim);
  border-radius: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lab-tile-mini {
  padding: 3px 8px;
  font-size: 0.68rem;
}
.lab-tile {
  padding: 12px 14px;
  min-height: 52px;
  flex: 1;
  justify-content: center;
}
.lab-lock { opacity: 0.7; flex-shrink: 0; }

/* --- Hamburger (phone and tablet, ≤980px) --- */
.menu-toggle, .menu-close, .drawer-backdrop, .site-drawer { display: none; }
.menu-toggle {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(12, 16, 26, 0.8);
  color: var(--text);
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin-left: auto;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.menu-toggle .icon-close { display: none; }
body.menu-open .menu-toggle .icon-menu { display: none; }
body.menu-open .menu-toggle .icon-close { display: block; }
.menu-toggle:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 2px; }
.site-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  height: 100dvh;
  width: min(320px, 88vw);
  z-index: 80;
  background: #0c101a;
  border-left: 1px solid var(--line);
  padding: calc(env(safe-area-inset-top, 0px) + 64px) 16px calc(env(safe-area-inset-bottom, 0px) + 16px);
  overflow: auto;
  flex-direction: column;
  gap: 4px;
  box-sizing: border-box;
}
.drawer-nav {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}
.site-drawer a, .site-drawer .linkish, .site-drawer .drawer-static {
  display: flex;
  align-items: center;
  color: var(--text-soft);
  text-decoration: none;
  padding: 12px 12px;
  min-height: 48px;
  border-radius: 8px;
  font-weight: 500;
  box-sizing: border-box;
}
.site-drawer a.is-current {
  color: #F0A31A;
  background: rgba(240, 163, 26, 0.1);
}
.drawer-notify {
  margin-top: auto;
  width: 100%;
  flex-shrink: 0;
}
.site-drawer .linkish { width: 100%; text-align: left; font: inherit; }
.site-drawer a:hover, .site-drawer .linkish:hover { color: var(--text); background: rgba(63, 182, 178, 0.08); text-decoration: none; }
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(6, 8, 14, 0.64);
  border: 0;
  padding: 0;
  cursor: pointer;
}
.menu-close {
  appearance: none;
  align-self: flex-end;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
  font: 600 0.85rem "Space Grotesk", sans-serif;
}
body.menu-open { overflow: hidden; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  body.menu-open .menu-close { display: inline-flex; }
  body.menu-open .site-drawer,
  body.menu-open .drawer-backdrop { display: flex; }
  body.menu-open .drawer-backdrop { display: block; }
}

@media (max-width: 640px) {
  .lab-tiles-mini { display: none; }
  .brand img {
    height: 28px;
  }
}

/* --- Lab / More from Pathfade panel --- */
.lab-panel { padding: 56px 0; }
.lab-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.9fr);
  gap: 36px;
  align-items: center;
  margin-top: 24px;
}
.lab-tile-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0; }
.brain-stage {
  position: relative;
  aspect-ratio: 6 / 5;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 40%, rgba(78, 200, 232, 0.08), transparent 60%), rgba(8, 12, 22, 0.9);
  overflow: hidden;
}
.brain-stage svg { width: 100%; height: 100%; display: block; }
.brain-blocker {
  cursor: pointer;
  fill: #e24b4a;
  stroke: #ff7a6e;
  stroke-width: 1.5;
  outline: none;
}
.brain-blocker:focus-visible { stroke: #ffc14d; stroke-width: 3; }
.brain-blocker.is-pop, .brain-blocker[data-cleared="1"] {
  opacity: 0;
  pointer-events: none;
  transform-origin: center;
}
.brain-pulse { fill: #8fd4e8; }
.brain-stage.is-bright .brain-edge { stroke: #ffc14d; opacity: 1; }
.brain-caption {
  text-align: center;
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--text-dim);
}
@media (prefers-reduced-motion: reduce) {
  .brain-pulse { display: none; }
}

/* --- Badges --- */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.badge-label {
  width: 100%;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0;
}
.os-badge, .br-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-soft);
  background: rgba(12, 16, 26, 0.7);
  border: 1px solid var(--line);
}
.br-badge .soon, .os-badge .soon {
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--amber-bright);
}

/* --- Notify me --- */
.notify-panel {
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(8, 12, 20, 0.7);
  animation: notify-glow 3.6s ease-in-out infinite;
}
@keyframes notify-glow {
  0%, 100% {
    border-color: rgba(63, 182, 178, 0.38);
    box-shadow:
      0 0 0 1px rgba(63, 182, 178, 0.14),
      0 0 16px rgba(63, 182, 178, 0.20),
      0 0 28px rgba(240, 163, 26, 0.08);
  }
  50% {
    border-color: rgba(240, 163, 26, 0.42);
    box-shadow:
      0 0 0 1px rgba(78, 200, 232, 0.18),
      0 0 22px rgba(78, 200, 232, 0.28),
      0 0 32px rgba(240, 163, 26, 0.16);
  }
}
@media (prefers-reduced-motion: reduce) {
  .notify-panel {
    animation: none;
    border-color: rgba(63, 182, 178, 0.40);
    box-shadow:
      0 0 0 1px rgba(63, 182, 178, 0.16),
      0 0 16px rgba(63, 182, 178, 0.22),
      0 0 28px rgba(240, 163, 26, 0.10);
  }
}
.notify-panel p { color: var(--text-soft); font-size: 0.92rem; }
.notify-reassure {
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--text-dim);
}
.notify-panel label, .notify-platforms {
  display: block;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 10px;
}
.notify-panel input[type="email"] {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #06080e;
  color: var(--text);
  font: 400 16px/1.3 "Space Grotesk", sans-serif;
}
.notify-platforms { display: flex; flex-wrap: wrap; gap: 10px 14px; margin: 10px 0 14px; }
.notify-platforms label { margin: 0; color: var(--text-soft); display: inline-flex; gap: 6px; align-items: center; }
.notify-success { color: var(--teal-soft); }

/* --- WIP tag --- */
.wip-tag {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--amber-bright);
  background: rgba(240, 163, 26, 0.14);
  border: 1px dashed rgba(240, 163, 26, 0.45);
}

/* --- Cool-downs + Path fade --- */
.tools-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 36px;
}
.cooldown-callout, .fade-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.fade-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 8px;
}
.fade-controls input[type="range"] { flex: 1; accent-color: var(--amber); }
.stepper {
  appearance: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
}
.fade-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-bottom: 14px;
}
.fade-meter-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(150, 170, 200, 0.16);
  overflow: hidden;
  margin-top: 8px;
}
.fade-meter-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--amber));
}
.fade-net { width: 100%; height: 120px; display: block; margin: 8px 0 12px; }
.fade-disclaimer {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 12px;
  line-height: 1.45;
}
.fade-stat { font-size: 1.4rem; font-weight: 650; color: var(--text); }
.illust { font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); }

@media (max-width: 980px) {
  .lab-grid, .tools-row { grid-template-columns: 1fr; }
}
.fade-ticks{position:relative;height:1.1em;margin:0 40px 14px 42px}.fade-ticks span{position:absolute;transform:translateX(-50%);}

.lab-strip { padding: 8px 0; }
.lab-strip-inner { min-height: 44px; overflow: visible; }
.lab-pill {
  flex: 0 0 auto;
  color: #8fd4e8;
  background: rgba(63, 182, 178, 0.2);
  font-size: 0.8rem;
  line-height: 1.2;
}
.lab-tile-mini { color: #c5ccd8; flex: 0 0 auto; }
html, body { overflow-x: clip; }

@media (max-width: 640px) {
  body.menu-open .menu-close { display: inline-flex; }
  body.menu-open .drawer-backdrop { display: block; }
  body.menu-open .site-drawer { display: flex; }
}

/* --- Category tiles + tooltips --- */
.cat-block { margin: 36px 0 8px; }
.cat-heading { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.cat-tile {
  position: relative;
  appearance: none;
  text-align: left;
  cursor: pointer;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px 22px;
  color: var(--text);
  font: inherit;
  min-height: 110px;
}
.cat-tile:hover, .cat-tile:focus-visible, .cat-tile.is-open {
  border-color: rgba(240, 163, 26, 0.55);
  box-shadow: 0 0 0 1px rgba(240, 163, 26, 0.12);
}
.cat-tile:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 2px; }
.cat-kicker {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}
.cat-name { display: block; font-size: 1.05rem; font-weight: 600; letter-spacing: -0.02em; }
.cat-tip {
  position: absolute;
  left: 12px;
  right: 12px;
  top: calc(100% - 8px);
  z-index: 8;
  display: none;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: #0c101a;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.4;
  text-align: left;
}
.cat-tile:hover .cat-tip,
.cat-tile:focus-visible .cat-tip,
.cat-tile.is-open .cat-tip { display: block; }
.cat-tip ul { list-style: none; margin: 0; padding: 0; }
.cat-tip li { padding: 2px 0; font-family: ui-monospace, "Cascadia Mono", monospace; font-size: 0.78rem; color: var(--text); }
.cat-more { margin: 6px 0 0; color: var(--amber-bright); font-weight: 600; font-size: 0.75rem; }
.cat-tbd { margin: 0; color: var(--text-dim); }
@media (max-width: 980px) {
  .cat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .cat-grid { grid-template-columns: 1fr; }
}

.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;
}

/* --- Astronaut carousel --- */
.astro-carousel {
  --astro-card: 56cqi;
  margin-top: 28px;
}
.astro-frame {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}
.astro-viewport {
  flex: 1;
  min-width: 0;
  container-type: inline-size;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  outline: none;
}
.astro-viewport::-webkit-scrollbar { display: none; }
.astro-viewport:focus-visible {
  box-shadow: 0 0 0 2px var(--teal-bright);
  border-radius: 20px;
}
.astro-track {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 12px calc((100cqi - var(--astro-card)) / 2);
}
.astro-slide {
  flex: 0 0 var(--astro-card);
  scroll-snap-align: center;
  scroll-snap-stop: always;
  margin: 0;
  transform: scale(0.9);
  opacity: 0.62;
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.astro-slide.is-active {
  transform: scale(1);
  opacity: 1;
  z-index: 1;
}
.astro-card {
  appearance: none;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #0b1018;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.astro-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}
.astro-card:hover, .astro-card:focus-visible {
  border-color: rgba(240, 163, 26, 0.55);
  box-shadow: 0 0 0 1px rgba(240, 163, 26, 0.14), 0 16px 40px rgba(0, 0, 0, 0.4);
}
.astro-card:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 3px; }
.astro-nav {
  appearance: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(12, 16, 26, 0.88);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
.astro-nav[data-astro-prev] { left: 6px; }
.astro-nav[data-astro-next] { right: 6px; }
.astro-nav:hover, .astro-nav:focus-visible { border-color: var(--amber); }
.astro-nav:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 2px; }
.astro-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.astro-dots button {
  appearance: none;
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}
.astro-dots button[aria-selected="true"] {
  background: var(--amber-bright);
  border-color: var(--amber-bright);
}
.astro-dots button:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 2px; }
@media (max-width: 980px) {
  .astro-carousel { --astro-card: 68cqi; }
  .astro-nav { width: 40px; height: 40px; }
}
@media (max-width: 640px) {
  .astro-carousel { --astro-card: 78cqi; }
  .astro-track { gap: 14px; padding-block: 8px; }
  .astro-nav { width: 36px; height: 36px; }
  .astro-nav[data-astro-prev] { left: 2px; }
  .astro-nav[data-astro-next] { right: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .astro-viewport { scroll-behavior: auto; }
  .astro-slide { transition: none; }
}

/* --- Lightbox --- */
body.lightbox-open { overflow: hidden; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  box-sizing: border-box;
}
.lightbox[hidden] { display: none; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 12, 0.78);
  cursor: pointer;
}
.lightbox-dialog {
  position: relative;
  z-index: 1;
  max-width: min(1100px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-close {
  appearance: none;
  position: absolute;
  top: max(10px, env(safe-area-inset-top, 0px));
  right: max(10px, env(safe-area-inset-right, 0px));
  z-index: 3;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: #0c101a;
  color: var(--text);
  border-radius: 999px;
  cursor: pointer;
}
.lightbox-close:hover, .lightbox-close:focus-visible {
  border-color: var(--amber);
}
.lightbox-close:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 2px; }
.lightbox-content {
  max-width: 100%;
  max-height: calc(100vh - 110px);
  overflow: auto;
}
.lightbox-content img {
  display: block;
  max-width: min(1100px, 92vw);
  max-height: calc(100vh - 120px);
  width: auto;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}
.lightbox-dialog:has(.lightbox-zoom) {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  align-items: stretch;
}
.lightbox-content:has(.lightbox-zoom) {
  overflow: hidden;
  width: 100%;
  height: 100%;
  flex: 1;
  min-height: 0;
  max-height: none;
  touch-action: none;
  overscroll-behavior: none;
}
.lightbox-zoom {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  touch-action: none;
  cursor: zoom-in;
  overscroll-behavior: none;
}
.lightbox-zoom.is-zoomed { cursor: grab; }
.lightbox-zoom.is-snapping img,
.lightbox-zoom.is-snapping .browser-window {
  transition: transform 0.22s ease;
}
.lightbox-zoom.is-panning { cursor: grabbing; }
.lightbox-zoom img {
  position: absolute;
  left: 0;
  top: 0;
  max-width: none;
  max-height: none;
  width: auto;
  height: auto;
  transform-origin: 0 0;
  will-change: transform;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  pointer-events: auto;
}
.lightbox-zoom .browser-window {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
  will-change: transform;
  overflow: hidden;
  border-radius: 14px;
  background: #0c101a;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.lightbox-zoom .browser-window img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
}
.shot-frame,
.brand-mark,
.js-lightbox-img,
.js-lightbox,
.badge-scene,
.badge-mark,
.astro-card,
.shot-frame img,
.js-lightbox-img img,
.js-lightbox img,
.badge-scene img,
.badge-mark img,
.astro-card img {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}
.shot-frame,
.badge-scene,
.badge-mark,
.astro-card,
.js-lightbox-img,
.js-lightbox {
  touch-action: pan-x pan-y;
}
.lightbox-card {
  width: min(420px, 92vw);
  background: #0c101a;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 22px 22px 18px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  color: var(--text);
}
.lightbox-card .cat-kicker { margin-bottom: 6px; }
.lightbox-card .cat-name { font-size: 1.2rem; margin-bottom: 14px; }
.lightbox-card ul { list-style: none; margin: 0; padding: 0; }
.lightbox-card li { padding: 3px 0; font-family: ui-monospace, "Cascadia Mono", monospace; font-size: 0.9rem; }
.lightbox-card .cat-more { margin-top: 8px; color: var(--amber-bright); font-weight: 600; }
.shot-frame, .js-lightbox-img { cursor: zoom-in; }
.brand,
.brand img {
  cursor: pointer;
}
.shot-frame { position: relative; }
.brain-stage { position: relative; }
.brain-expand {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  appearance: none;
  border: 1px solid var(--line-strong);
  background: rgba(8, 12, 20, 0.86);
  color: var(--text);
  font: 600 0.72rem/1 "Space Grotesk", "Segoe UI", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
}
.brain-expand:hover, .brain-expand:focus-visible { border-color: var(--amber); }
.brain-expand:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 2px; }

/* --- Badges you can earn --- */
.badge-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 28px 0 32px;
}
.badge-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.badge-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  padding-bottom: 14px;
}
.badge-card.is-featured {
  border-color: rgba(240, 163, 26, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.badge-scene {
  appearance: none;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #070b12;
  cursor: zoom-in;
}
.badge-scene img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.badge-mark {
  appearance: none;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22%;
  min-width: 56px;
  max-width: 96px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
}
.badge-card.is-featured .badge-mark { max-width: 128px; width: 24%; }
.badge-mark img { display: block; width: 100%; height: auto; }
.badge-card h3 {
  margin: 12px 14px 4px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.badge-card.is-featured h3 { font-size: 1.25rem; margin-top: 16px; }
.badge-meta {
  margin: 0 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
  color: var(--text-soft);
  font-size: 0.82rem;
}
.badge-tier { color: var(--teal); font-weight: 600; letter-spacing: 0.04em; }
.badge-tier::after { content: " · "; color: var(--text-dim); font-weight: 400; letter-spacing: 0; }
.badge-day { color: var(--text-dim); }
@media (max-width: 980px) {
  .badge-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .badge-showcase, .badge-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Hero carousel --- */
.hero-carousel { min-width: 0; }
.carousel-viewport { position: relative; }
.carousel-slide { display: none; margin: 0; }
.carousel-slide.is-active { display: block; }
.carousel-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.carousel-bar .shot-caption { flex: 1; margin: 0; }
.carousel-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(12, 16, 26, 0.8);
  color: var(--text);
  font: 600 0.78rem/1 "Space Grotesk", "Segoe UI", sans-serif;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
}
.carousel-btn:hover, .carousel-btn:focus-visible { border-color: var(--amber); }
.carousel-btn:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 2px; }
.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}
.carousel-dots button {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-dim);
  font: 500 0.72rem/1 "Space Grotesk", "Segoe UI", sans-serif;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
}
.carousel-dots button[aria-selected="true"] {
  border-color: rgba(240, 163, 26, 0.55);
  color: var(--text);
  background: rgba(240, 163, 26, 0.12);
}
.carousel-dots button:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 2px; }

/* --- How it works visuals --- */
.how-visuals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.how-visuals figure { margin: 0; }
.how-visuals figcaption {
  margin-top: 8px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-soft);
}
.how-visuals .shot-frame { border-radius: 14px; }
@media (max-width: 980px) {
  .how-visuals { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .how-visuals { grid-template-columns: 1fr; }
}

/* --- Generic desktop-browser chrome around the search-block screenshot --- */
.has-browser-chrome {
  container-type: inline-size;
  background: #dee1e6;
  overflow: hidden;
}
.browser-chrome {
  background: #dee1e6;
  color: #3c4043;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  font-family: "Segoe UI", system-ui, sans-serif;
}
.browser-chrome-tabsrow {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 6px 8px 0 8px;
  min-height: 34px;
}
.browser-chrome-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 55%;
  padding: 7px 10px 8px;
  background: #fff;
  border-radius: 10px 10px 0 0;
  color: #202124;
  font-weight: 500;
  font-size: 0.7rem;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  box-shadow: 0 -1px 0 #fff;
}
.browser-chrome-tab.is-active { background: #fff; }
.browser-chrome-fav {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f0a31a;
}
.browser-chrome-tab-x {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-left: 4px;
  position: relative;
  opacity: 0.45;
}
.browser-chrome-tab-x::before,
.browser-chrome-tab-x::after {
  content: "";
  position: absolute;
  left: 1px;
  top: 4px;
  width: 8px;
  height: 1.2px;
  background: #3c4043;
  border-radius: 1px;
}
.browser-chrome-tab-x::before { transform: rotate(45deg); }
.browser-chrome-tab-x::after { transform: rotate(-45deg); }
.browser-chrome-newtab {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0 0 6px 2px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: #5f6368;
  background: transparent;
}
.browser-chrome-win {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
  margin-bottom: 2px;
  flex-shrink: 0;
}
.browser-chrome-win span {
  display: block;
  width: 16px;
  height: 16px;
  margin: 0 4px;
  box-sizing: border-box;
  position: relative;
}
.win-min::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: 8px;
  height: 1.2px;
  background: #3c4043;
}
.win-max::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 7px;
  height: 7px;
  border: 1.2px solid #3c4043;
  box-sizing: border-box;
}
.win-close::before,
.win-close::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 7.5px;
  width: 10px;
  height: 1.2px;
  background: #3c4043;
}
.win-close::before { transform: rotate(45deg); }
.win-close::after { transform: rotate(-45deg); }
.browser-chrome-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 7px;
  background: #fff;
  border-bottom: 1px solid #dadce0;
}
.browser-chrome-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  flex-shrink: 0;
  color: #5f6368;
}
.browser-chrome-nav svg {
  display: block;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  max-width: 16px;
  max-height: 16px;
  flex: 0 0 16px;
  overflow: visible;
}
.browser-chrome-omnibox {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #f1f3f4;
  color: #3c4043;
  font-size: 0.68rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser-chrome-omnibox svg {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  min-width: 12px;
  min-height: 12px;
  max-width: 12px;
  max-height: 12px;
  color: #5f6368;
  overflow: visible;
}
.browser-chrome-end {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  flex-shrink: 0;
}
.browser-chrome-profile {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #8ab4f8;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12);
}
.browser-chrome-menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  width: 12px;
  height: 16px;
}
.browser-chrome-menu i {
  display: block;
  width: 3px;
  height: 3px;
  margin: 0 auto;
  border-radius: 50%;
  background: #5f6368;
}
.has-browser-chrome img {
  display: block;
  width: 100%;
  border-radius: 0;
  background: #070b12;
}
@container (max-width: 280px) {
  .browser-chrome-newtab, .browser-chrome-win, .browser-chrome-end { display: none; }
  .browser-chrome-tab { max-width: 70%; }
}




/* --- stage: brain 3d / calculator / live-prep --- */
button.linkish {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  color: var(--teal-bright);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
#pricing[hidden] { display: none !important; }

.brain-stage { --brain-hit: 44px; }
.brain-stage[data-mobile="1"] { --brain-hit: 52px; }
.brain-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  touch-action: pan-y;
}
.brain-stage, .brain-hits {
  touch-action: pan-y;
}
.brain-hits {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.brain-hit {
  position: absolute;
  width: var(--brain-hit);
  height: var(--brain-hit);
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  transform: translate(-50%, -50%);
  -webkit-tap-highlight-color: transparent;
}
.brain-hit:focus-visible {
  outline: 2px solid #ffc14d;
  outline-offset: 2px;
}
.brain-hit[data-cleared="1"] {
  pointer-events: none;
  visibility: hidden;
}
.brain-expand { z-index: 4; }

.fade-note {
  margin-top: 10px;
  color: var(--text-soft);
}
.fade-phase-kicker {
  margin-top: 18px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-bright);
  font-weight: 650;
}
.fade-phase-name {
  margin-top: 4px;
  font-size: 1.25rem;
  font-weight: 650;
  color: var(--text);
}
.fade-phase-body {
  margin-top: 8px;
  color: var(--text-soft);
}
@media (prefers-reduced-motion: reduce) {
  .brain-stage[data-reduced="1"] .brain-canvas { /* still visible, motion handled in JS */ }
}



