/* ==========================================================================
   css/pages/home.css
   Styles specific to index.html — the main landing page.
   Depends on: variables.css → base.css → layout.css → components.css
   ========================================================================== */


/* --------------------------------------------------------------------------
   Home-page nav
   .site-nav is the pill itself — position:fixed, centred, full styling here.
   .nav-inner is reset to a plain flex container (no second visual box).
   Gains .scrolled / .scrolling classes from JS on scroll.
   -------------------------------------------------------------------------- */
.site-nav {
  /* Merge: replaces both the components.css sticky wrapper AND its own block */
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1140px, calc(100% - 28px));
  /* Even padding on all sides — no rogue padding-top:0 after this */
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(4, 4, 4, 0.92);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  box-shadow: var(--shadow-md);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.site-nav.scrolled {
  background: rgba(4, 4, 4, 0.96);
  border-color: var(--line-strong);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
}

.site-nav.scrolling {
  background: rgba(4, 4, 4, 0.98);
  border-color: var(--line-strong);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/*
 * .nav-inner is the inner flex container only — NOT a second pill.
 * components.css gives .nav-inner a background/border for signup/thankyou.
 * Here we strip all of that so only .site-nav renders as the styled box.
 */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: transparent;
  border: none;
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  padding: 0;
}

/* --------------------------------------------------------------------------
   Content-visibility hints for off-screen sections (performance)
   -------------------------------------------------------------------------- */
.signals,
.journey,
#value,
.launch,
.faq,
.cta-band,
.site-footer {
  content-visibility: auto;
}

.signals { contain-intrinsic-size: 760px; }
.journey { contain-intrinsic-size: 2200px; }
#value { contain-intrinsic-size: 1080px; }
.launch { contain-intrinsic-size: 680px; }
.faq { contain-intrinsic-size: 920px; }
.cta-band { contain-intrinsic-size: 420px; }
.site-footer { contain-intrinsic-size: 320px; }


/* --------------------------------------------------------------------------
   Cursor searchlight — premium pointer glow effect
   -------------------------------------------------------------------------- */
.cursor-searchlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 420px;
  height: 420px;
  pointer-events: none;
  z-index: 120;
  opacity: 0;
  transform: translate3d(-9999px, -9999px, 0);
  transition: opacity 300ms ease;
  will-change: transform, opacity;
  contain: layout style paint;
}

.cursor-searchlight::before,
.cursor-searchlight::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  pointer-events: none;
}

.cursor-searchlight::before {
  background: radial-gradient(circle at 50% 50%,
      rgba(255, 235, 176, 0.072) 0,
      rgba(255, 221, 145, 0.036) 30%,
      rgba(255, 207, 108, 0.012) 56%,
      transparent 80%);
  filter: blur(16px);
  opacity: 0.62;
}

.cursor-searchlight::after {
  inset: 48px;
  background: radial-gradient(circle at 50% 50%,
      rgba(255, 244, 214, 0.05) 0,
      rgba(255, 227, 160, 0.018) 38%,
      transparent 76%);
  filter: blur(12px);
  opacity: 0.34;
}

.cursor-searchlight.active {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Ambient blobs — home-specific sizes and positions
   -------------------------------------------------------------------------- */
.ambient-blob.blob-a {
  width: 340px;
  height: 340px;
  top: 140px;
  right: -80px;
  background: rgba(29, 198, 147, 0.2);
}

.ambient-blob.blob-b {
  width: 280px;
  height: 280px;
  top: 1120px;
  left: -80px;
  background: rgba(134, 244, 209, 0.1);
  animation-delay: -5s;
}

.ambient-blob.blob-c {
  width: 260px;
  height: 260px;
  top: 2280px;
  right: 5%;
  background: rgba(210, 185, 135, 0.09);
  animation-delay: -10s;
}

/* --------------------------------------------------------------------------
   Hero section
   -------------------------------------------------------------------------- */
.hero {
  padding: calc(var(--nav-h) + 78px) 0 118px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(580px, 1.14fr);
  gap: 72px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 592px;
  padding-top: 10px;
}

.hero .headline {
  max-width: 12.8ch;
  font-size: clamp(42px, 5.15vw, 78px);
  line-height: 0.94;
}

.headline-join {
  display: inline-block;
  white-space: nowrap;
}

.hero-copy .lede {
  max-width: 560px;
  margin-bottom: 28px;
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.74;
}

.hero-copy .button-row {
  margin-bottom: 26px;
}

/* Hero CTA — premium animated glow button */
.hero-cta {
  --cta-glow-x: 50%;
  --cta-glow-y: 50%;
  --cta-glow-strength: 0;
  overflow: visible;
  isolation: isolate;
  border-color: rgba(255, 252, 241, 0.08);
  box-shadow:
    0 12px 36px rgba(29, 198, 147, calc(0.18 + var(--cta-glow-strength) * 0.22)),
    0 0 0 1px rgba(255, 255, 255, calc(0.045 + var(--cta-glow-strength) * 0.1)) inset,
    0 0 32px rgba(255, 215, 126, calc(var(--cta-glow-strength) * 0.16));
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    filter 220ms ease;
}

.hero-cta::before,
.hero-cta::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: inherit;
}

.hero-cta::before {
  inset: -1.5px;
  padding: 1.5px;
  background:
    radial-gradient(150px 96px at var(--cta-glow-x) var(--cta-glow-y),
      rgba(255, 236, 176, calc(var(--cta-glow-strength) * 1.08)) 0,
      rgba(255, 216, 122, calc(var(--cta-glow-strength) * 0.62)) 34%,
      rgba(29, 198, 147, calc(var(--cta-glow-strength) * 0.74)) 58%,
      rgba(134, 244, 209, calc(var(--cta-glow-strength) * 0.22)) 76%,
      transparent 90%),
    linear-gradient(135deg,
      rgba(255, 246, 223, calc(0.09 + var(--cta-glow-strength) * 0.26)),
      rgba(134, 244, 209, calc(0.09 + var(--cta-glow-strength) * 0.22)));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  filter: blur(calc(1.5px + var(--cta-glow-strength) * 5.8px));
  opacity: calc(0.32 + var(--cta-glow-strength) * 0.96);
  z-index: 0;
  transition:
    opacity 220ms ease,
    filter 220ms ease;
}

.hero-cta::after {
  inset: -14px;
  background:
    radial-gradient(135px circle at var(--cta-glow-x) var(--cta-glow-y),
      rgba(255, 229, 162, calc(var(--cta-glow-strength) * 0.26)) 0,
      rgba(29, 198, 147, calc(var(--cta-glow-strength) * 0.18)) 42%,
      transparent 78%);
  filter: blur(calc(10px + var(--cta-glow-strength) * 11px));
  opacity: calc(var(--cta-glow-strength) * 0.9);
  z-index: 0;
  transition:
    opacity 220ms ease,
    filter 220ms ease;
}

.hero-cta .button-label,
.hero-cta svg {
  position: relative;
  z-index: 2;
}

.hero-cta:hover {
  border-color: rgba(255, 245, 214, calc(0.14 + var(--cta-glow-strength) * 0.26));
  box-shadow:
    0 18px 44px rgba(29, 198, 147, calc(0.2 + var(--cta-glow-strength) * 0.24)),
    0 0 0 1px rgba(255, 255, 255, calc(0.07 + var(--cta-glow-strength) * 0.12)) inset,
    0 0 42px rgba(255, 216, 122, calc(0.06 + var(--cta-glow-strength) * 0.21));
}

/* Hero state (carousel status bar) */
.hero-state {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: min(100%, 620px);
  margin: 24px auto 0;
  padding: 0 8px;
}

.hero-state-copy {
  min-width: 0;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 520px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.meta-pill svg {
  width: 16px;
  height: 16px;
  color: var(--accent-2);
}

/* Hero visual panel */
.hero-visual {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-content: start;
  width: 100%;
  max-width: 720px;
  justify-self: end;
  min-height: 842px;
  overflow: visible;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% 8% 18% 16%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(29, 198, 147, 0.22), transparent 72%);
  filter: blur(32px);
  opacity: 0.92;
  z-index: 0;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 18% 24% 8% 4%;
  z-index: 1;
  pointer-events: none;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(210, 185, 135, 0.08), transparent 68%);
  filter: blur(24px);
}

.hero-device-stage {
  position: relative;
  min-height: 744px;
}

/* Floating device images */
.hero-browser {
  position: absolute;
  top: 150px;
  left: -28px;
  width: min(100%, 530px);
  transform: translate3d(0, 0, 0) rotate(-4.75deg);
  z-index: 2;
  opacity: 0.96;
}

.hero-browser img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 52px 112px rgba(0, 0, 0, 0.32),
    0 22px 42px rgba(0, 0, 0, 0.16);
}

.hero-phone {
  position: absolute;
  right: -44px;
  top: 40px;
  width: min(100%, 300px);
  transform: translate3d(0, 0, 0) rotate(4deg);
  z-index: 4;
  filter: drop-shadow(0 36px 70px rgba(0, 0, 0, 0.34));
}

/* Progress dots */
.hero-progress {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  flex: 0 0 auto;
}

.hero-progress span {
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.hero-progress span::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  transition: transform 420ms ease;
}

.hero-progress span.active::after {
  transform: scaleX(1);
}

.hero-stage-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(29, 198, 147, 0.1);
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Signals section
   -------------------------------------------------------------------------- */
.signals {
  padding-top: 0;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.signal-card {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition:
    transform 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease;
}

.signal-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(134, 244, 209, 0.6), transparent);
  opacity: 0;
  transition: opacity 240ms ease;
}

.signal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-md);
}

.signal-card:hover::before {
  opacity: 1;
}

.signal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(29, 198, 147, 0.1);
  color: var(--accent-2);
}

.signal-icon svg {
  width: 22px;
  height: 22px;
}

.signal-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  letter-spacing: -0.03em;
}

.signal-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Journey section
   -------------------------------------------------------------------------- */
.journey {
  padding-top: 88px;
}

.journey-layout {
  display: grid;
  grid-template-columns: minmax(330px, 0.86fr) minmax(0, 1.14fr);
  gap: 54px;
  align-items: start;
}

.journey-stage-wrap {
  position: sticky;
  top: 118px;
}

.journey-stage {
  position: relative;
  padding: 24px;
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03)),
    rgba(5, 11, 9, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.journey-stage::before {
  content: "";
  position: absolute;
  inset: -20% auto auto 18%;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(29, 198, 147, 0.24), transparent 68%);
  filter: blur(12px);
  opacity: 0.7;
  pointer-events: none;
}

.journey-stage-top {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
}

.journey-stage-top strong {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.journey-stage-top h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.journey-stage-top p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.journey-step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 54px;
  border-radius: 18px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--accent-2);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.journey-progress {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 24px;
}

.journey-progress span {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.journey-progress span::after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: transform 300ms ease;
}

.journey-progress span.active::after {
  transform: scaleX(1);
}

.journey-stage-device {
  position: relative;
  width: min(100%, 360px);
  margin: 0 auto;
}

.journey-stage-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.journey-stage-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.journey-stage-badges span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-2);
  box-shadow: 0 0 0 5px rgba(134, 244, 209, 0.08);
}

.journey-steps {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.journey-step {
  min-height: 0;
  padding: 34px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition:
    border-color 260ms ease,
    box-shadow 260ms ease,
    background 260ms ease;
}

.journey-step.active {
  border-color: rgba(134, 244, 209, 0.22);
  background: rgba(255, 255, 255, 0.048);
  box-shadow:
    0 0 0 1px rgba(134, 244, 209, 0.08),
    0 18px 42px rgba(0, 0, 0, 0.12);
}

.journey-step-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.journey-step-num {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.journey-step-num::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, rgba(134, 244, 209, 0.15), var(--accent-2));
}

.journey-step-label {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(29, 198, 147, 0.08);
  border: 1px solid rgba(29, 198, 147, 0.18);
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.journey-step h3 {
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.journey-step > p {
  margin: 0 0 28px;
  max-width: 640px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.journey-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.journey-point {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.journey-point strong {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  color: var(--accent-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.journey-point span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Desktop showcase section
   -------------------------------------------------------------------------- */
.desktop-showcase {
  padding-top: 64px;
}

.desktop-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(300px, 0.66fr);
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}

.desktop-viewer {
  padding: 16px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
}

.desktop-viewer-copy {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 14px;
}

.desktop-flow-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.desktop-flow-meta::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, rgba(134, 244, 209, 0.15), var(--accent-2));
}

.desktop-viewer-copy h3 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.desktop-viewer-copy p {
  margin: 0;
  max-width: 420px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.desktop-nav {
  display: inline-flex;
  gap: 8px;
}

.nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.nav-icon:hover {
  border-color: rgba(134, 244, 209, 0.25);
  background: rgba(134, 244, 209, 0.08);
  transform: translateY(-2px);
}

.nav-icon svg {
  width: 14px;
  height: 14px;
}

.desktop-viewer .browser-frame {
  max-width: none;
  margin: 0;
}

.desktop-detail {
  display: grid;
  align-content: start;
  gap: 8px;
  width: 100%;
  max-width: 390px;
  justify-self: end;
}

.desktop-thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.desktop-thumb {
  width: 100%;
  padding: 6px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 6px;
  text-align: left;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.desktop-thumb img {
  aspect-ratio: 1.18 / 1.01;
  object-fit: cover;
  width: 100%;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.desktop-thumb-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.desktop-thumb-step {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent-2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.desktop-thumb-step::before {
  content: "";
  width: 10px;
  height: 1px;
  background: linear-gradient(90deg, rgba(134, 244, 209, 0.12), var(--accent-2));
}

.desktop-thumb strong {
  display: block;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.desktop-thumb span {
  display: none;
}

.desktop-thumb.active,
.desktop-thumb:hover {
  transform: translateY(-1px);
  border-color: rgba(134, 244, 209, 0.28);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-md);
}

/* Shared card base for desktop-note, value-card, faq-item, launch-step */
.desktop-note,
.value-card,
.faq-item,
.launch-step,
.placeholder-card {
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.desktop-note {
  padding: 24px;
}

.desktop-note strong {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--accent-2);
  text-transform: uppercase;
}

.desktop-note p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.desktop-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.desktop-tag-list span {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Value / features section
   -------------------------------------------------------------------------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.value-card,
.placeholder-card {
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(134, 244, 209, 0.08), transparent 46%);
  pointer-events: none;
}

.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(134, 244, 209, 0.08);
  color: var(--accent-2);
}

.value-icon svg {
  width: 22px;
  height: 22px;
}

.value-card h3,
.placeholder-card h3,
.launch-step h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.value-card p,
.placeholder-card p,
.launch-step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

/* Coming-soon placeholder card */
.placeholder-card {
  border-style: dashed;
  border-color: rgba(210, 185, 135, 0.24);
  background: linear-gradient(180deg, rgba(210, 185, 135, 0.05), rgba(210, 185, 135, 0.02));
}

.placeholder-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(210, 185, 135, 0.08);
  color: var(--warm);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.placeholder-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
}

/* --------------------------------------------------------------------------
   Launch / onboarding steps section
   -------------------------------------------------------------------------- */
.launch {
  padding-top: 84px;
}

.launch-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.launch-grid::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 40px;
  height: 1px;
  background: linear-gradient(90deg, rgba(134, 244, 209, 0.08), rgba(134, 244, 209, 0.4), rgba(134, 244, 209, 0.08));
}

.launch-step {
  position: relative;
  padding: 88px 28px 28px;
}

.launch-step::before {
  content: attr(data-step);
  position: absolute;
  top: 18px;
  left: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: rgba(29, 198, 147, 0.12);
  border: 1px solid rgba(29, 198, 147, 0.18);
  color: var(--accent-2);
  font-size: 15px;
  font-weight: 800;
}

.launch-step strong {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--muted-soft);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   FAQ section
   -------------------------------------------------------------------------- */
.faq {
  padding-top: 90px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
  transition:
    border-color 200ms ease,
    background 200ms ease;
}

.faq-item.open {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(134, 244, 209, 0.2);
}

.faq-button {
  width: 100%;
  padding: 24px 24px 22px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-button strong {
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.faq-button span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(29, 198, 147, 0.08);
  color: var(--accent-2);
  /* Faster icon spin to match the snappier accordion */
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open .faq-button span {
  transform: rotate(45deg);
}

.faq-button svg {
  width: 16px;
  height: 16px;
}

.faq-answer {
  /* height is set as an inline style by JS so the animation tracks
     actual content height — not a fixed max-height cap.
     200ms + spring easing = fast and smooth. */
  height: 0;
  overflow: hidden;
  transition: height 200ms cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0 24px;
}

.faq-answer p {
  margin: 0;
  padding: 18px 0 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* .faq-item.open .faq-answer height is driven by JS scrollHeight —
   no static max-height rule needed here. */

/* --------------------------------------------------------------------------
   CTA band section
   -------------------------------------------------------------------------- */
.cta-band {
  padding: 98px 0 120px;
}

.cta-card {
  position: relative;
  padding: 56px;
  border-radius: 40px;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(134, 244, 209, 0.14), transparent 32%),
    linear-gradient(135deg, rgba(29, 198, 147, 0.14), rgba(210, 185, 135, 0.06)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(134, 244, 209, 0.16);
  box-shadow: var(--shadow-lg);
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(134, 244, 209, 0.65), transparent);
}

.cta-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}

.cta-card .section-title {
  margin-bottom: 14px;
}

.cta-card .section-copy {
  max-width: 600px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
footer {
  padding: 18px 0 52px;
}

.site-footer {
  position: relative;
}

.footer-shell {
  padding-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(150px, 0.52fr));
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
}

.footer-brand {
  max-width: 360px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--text);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.94;
}

.footer-brand p {
  margin: 0;
  color: rgba(220, 230, 225, 0.58);
  font-size: 17px;
  line-height: 1.75;
}

.footer-accent {
  color: var(--accent-2);
}

.footer-column h3 {
  margin: 0 0 22px;
  color: rgba(244, 247, 245, 0.94);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-column a,
.footer-column span {
  display: block;
  margin-top: 15px;
  color: rgba(220, 230, 225, 0.46);
  font-size: 15px;
  line-height: 1.5;
}

.footer-column a {
  transition: color 200ms ease, transform 200ms ease;
}

.footer-column a:hover {
  color: rgba(244, 247, 245, 0.88);
  transform: translateX(2px);
}

.footer-bottom {
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-meta {
  color: rgba(220, 230, 225, 0.44);
  font-size: 14px;
  line-height: 1.6;
}

/* ==========================================================================
   RESPONSIVE SYSTEM — HOME PAGE
   4 tiers: 1120px (tablet landscape) → 900px (nav collapse) →
            720px (mobile) → 480px (small mobile)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1120px — Tablet landscape
   -------------------------------------------------------------------------- */
@media (max-width: 1120px) {

  .hero-grid,
  .journey-layout,
  .desktop-shell,
  .cta-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: calc(var(--nav-h) + 60px);
    padding-bottom: 80px;
    text-align: center;
  }

  .hero-copy {
    max-width: 700px;
    margin: 0 auto;
  }

  .hero-copy .button-row {
    justify-content: center;
  }

  .hero-meta {
    justify-content: center;
  }

  .hero-visual {
    justify-self: center;
    min-height: 720px;
    width: min(100%, 640px);
  }

  .hero-device-stage {
    min-height: 620px;
  }

  .hero-browser {
    top: 140px;
    left: 0;
    width: min(100%, 480px);
  }

  .hero-phone {
    right: -10px;
    top: 20px;
    width: min(100%, 288px);
  }

  .hero-state {
    margin-top: 18px;
    justify-content: center;
  }

  .journey-stage-wrap {
    position: static;
    max-width: 640px;
    margin: 0 auto 32px;
  }

  .journey-step {
    min-height: auto;
  }

  .desktop-detail {
    max-width: none;
    justify-self: stretch;
  }

  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .launch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .launch-grid::before {
    display: none;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }

  .footer-brand {
    max-width: none;
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* --------------------------------------------------------------------------
   900px — Nav collapse (hamburger menu)
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {

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

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    border-radius: 20px;
    padding: 12px 16px;
    width: calc(100% - 28px);
  }

  .site-nav.open {
    border-radius: 24px;
  }

  .site-nav.open .nav-inner {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0;
  }

  .site-nav.open .brand {
    flex: 1;
  }

  .site-nav.open .nav-links {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 0 8px;
    border-top: 1px solid var(--line);
    margin-top: 10px;
  }

  .site-nav.open .nav-links a {
    padding: 12px 16px;
    border-radius: 14px;
    text-align: left;
    width: 100%;
  }

  .site-nav.open .nav-cta {
    display: flex;
    width: 100%;
    padding-top: 8px;
    padding-bottom: 4px;
  }

  .site-nav.open .nav-cta .button {
    display: inline-flex;
    width: 100%;
    justify-content: center;
  }

  .signal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-points {
    grid-template-columns: 1fr;
  }

  .desktop-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* --------------------------------------------------------------------------
   720px — Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 720px) {

  /* --- Fix: ambient blobs are too large for narrow screens ---
     blob-a (right side) covers ~80% of a 390px screen at desktop size.
     Shrink, push further off-screen, and reduce opacity so only a subtle
     warm glow remains — matching the dark theme rather than washing it out. */
  .ambient-blob.blob-a {
    width: 180px;
    height: 180px;
    top: 80px;
    right: -100px;         /* push most of it off-screen */
    opacity: 0.14;         /* was 0.28 — much subtler */
    filter: blur(60px);
  }

  .ambient-blob.blob-b {
    width: 160px;
    height: 160px;
    top: 800px;
    left: -90px;
    opacity: 0.12;
    filter: blur(50px);
  }

  .ambient-blob.blob-c {
    width: 140px;
    height: 140px;
    opacity: 0.08;
    filter: blur(50px);
  }

  .section,
  .cta-band {
    padding: 72px 0;
  }


  .section-head {
    margin-bottom: 28px;
  }

  .hero {
    padding-top: calc(var(--nav-h) + 40px);
    padding-bottom: 64px;
    text-align: left;
  }

  .hero-copy {
    max-width: none;
    margin: 0;
  }

  .hero-copy .button-row {
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-copy .button-row .button {
    width: 100%;
    justify-content: center;
  }

  .hero-meta {
    justify-content: flex-start;
  }

  .hero .headline {
    font-size: clamp(36px, 9vw, 58px);
    letter-spacing: -0.045em;
  }

  .headline-join {
    white-space: normal;
  }

  .hero-copy .lede {
    font-size: 16px;
  }

  .hero-visual {
    min-height: 540px;
    width: 100%;
  }

  .hero-device-stage {
    min-height: 490px;
  }

  .hero-browser {
    top: 130px;
    left: -4px;
    width: min(78vw, 380px);
  }

  .hero-phone {
    width: min(64vw, 240px);
    right: -8px;
    top: 16px;
    transform: rotate(2deg);
  }

  .hero-state {
    width: 100%;
    margin-top: 12px;
    padding: 0;
    grid-template-columns: 1fr;
    gap: 8px;
    justify-items: flex-start;
  }

  .hero-state-copy {
    white-space: normal;
    font-size: 12.5px;
  }

  .hero-progress span {
    width: 32px;
  }

  .signal-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .signal-card {
    padding: 20px 18px;
  }

  .journey {
    padding-top: 60px;
  }

  .journey-stage-wrap {
    max-width: none;
  }

  .journey-stage {
    padding: 18px;
    border-radius: 24px;
  }

  .journey-step {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .journey-step-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .journey-step h3 {
    font-size: clamp(24px, 6vw, 36px);
  }

  .journey-steps {
    gap: 18px;
  }

  .journey-points {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .desktop-showcase {
    padding-top: 48px;
  }

  .desktop-viewer {
    padding: 12px;
    border-radius: 20px;
  }

  .desktop-viewer-copy {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .desktop-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .desktop-note {
    padding: 18px;
  }

  .value-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .value-card,
  .placeholder-card {
    padding: 20px;
  }

  .launch {
    padding-top: 60px;
  }

  .launch-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .launch-step {
    padding: 72px 20px 22px;
  }

  .faq {
    padding-top: 60px;
  }

  .faq-button {
    padding: 18px 18px 16px;
  }

  .faq-button strong {
    font-size: 16px;
  }

  .faq-answer {
    padding: 0 18px;
  }

  .cta-band {
    padding: 72px 0;
  }

  .cta-card {
    padding: 32px 22px;
    border-radius: 28px;
    text-align: center;
  }

  .cta-card .button-row {
    justify-content: center;
  }

  footer {
    padding: 0 0 40px;
  }

  .footer-shell {
    padding-top: 28px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    margin-top: 28px;
    gap: 6px;
  }
}

/* --------------------------------------------------------------------------
   480px — Small mobile (iPhone SE, compact phones)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {

  /* Hide blobs entirely on tiny screens — background gradient is enough */
  .ambient-blob {
    display: none;
  }

  .container {
    width: calc(100% - 20px);
  }

  .site-nav {
    width: calc(100% - 20px);
    border-radius: 16px;
    padding: 10px 14px;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-tag {
    display: none;
  }

  .hero {
    padding-top: calc(var(--nav-h) + 28px);
    padding-bottom: 48px;
  }

  .hero .headline {
    font-size: clamp(30px, 9.5vw, 42px);
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-device-stage {
    min-height: 370px;
  }

  .hero-browser {
    top: 100px;
    left: -2px;
    width: min(80vw, 300px);
  }

  .hero-phone {
    width: min(54vw, 190px);
    right: -4px;
    top: 10px;
  }

  .section,
  .cta-band {
    padding: 56px 0;
  }

  .signal-card,
  .value-card,
  .placeholder-card,
  .journey-stage,
  .journey-step,
  .desktop-viewer,
  .cta-card,
  .faq-item {
    border-radius: 16px;
  }

  .desktop-thumbs {
    grid-template-columns: 1fr;
  }

  .launch-step {
    padding: 64px 16px 18px;
  }

  .cta-card {
    padding: 24px 16px;
  }

  .footer-logo {
    font-size: clamp(26px, 8vw, 36px);
  }

  .footer-brand p {
    font-size: 15px;
  }
}
