:root {
  --font-title: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #e9edf4;
  --bg-2: #f4f6fb;
  --text: #0b1020;
  --text-soft: #3e4b69;
  --text-dim: #6b7897;
  --line: rgba(16, 27, 58, 0.08);
  --line-strong: rgba(16, 27, 58, 0.14);
  --glass: rgba(255, 255, 255, 0.54);
  --glass-strong: rgba(255, 255, 255, 0.72);
  --glass-shadow: 0 20px 46px rgba(26, 44, 88, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shell: min(1200px, calc(100% - 1rem));
  --topbar-h: 70px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.25, .1, .25, 1);
  --dur-fast: 160ms;
  --dur-med: 320ms;
  --dur-slow: 580ms;
  --dur-phone-crossfade: 420ms;
  --tone-blue: #2449f5;
  --tone-cyan: #22d3c5;
  --tone-violet: #8a5cff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: linear-gradient(180deg, #f2f4f8 0%, #e8edf5 52%, #edf1f7 100%);
  color: var(--text);
  font-family: var(--font-body);
  text-rendering: optimizeLegibility;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: #1f44e8;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(36, 73, 245, 0.85);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 10px;
  top: -48px;
  z-index: 200;
  background: #111;
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  top: 10px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-ambient {
  position: fixed;
  inset: 0;
  z-index: -5;
  pointer-events: none;
  overflow: clip;
}

.ambient-orb,
.ambient-grid,
.ambient-noise {
  position: absolute;
}

.ambient-orb {
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.42;
  transition: transform var(--dur-med) var(--ease-soft);
}

.orb-a {
  width: 34vw;
  height: 34vw;
  min-width: 240px;
  min-height: 240px;
  left: -8vw;
  top: -8vw;
  background: radial-gradient(circle, rgba(36, 73, 245, 0.28), transparent 70%);
}

.orb-b {
  width: 40vw;
  height: 40vw;
  min-width: 280px;
  min-height: 280px;
  right: -12vw;
  top: 8vh;
  background: radial-gradient(circle, rgba(34, 211, 197, 0.2), transparent 72%);
}

.orb-c {
  width: 42vw;
  height: 42vw;
  min-width: 300px;
  min-height: 300px;
  left: 20vw;
  bottom: -20vw;
  background: radial-gradient(circle, rgba(138, 92, 255, 0.18), transparent 72%);
}

.ambient-grid {
  inset: 0;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(27, 44, 92, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 44, 92, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.95) 35%, rgba(0, 0, 0, 0.35) 78%, transparent 100%);
}

.ambient-noise {
  inset: 0;
  opacity: 0.05;
  background-image:
    radial-gradient(circle at 18% 20%, rgba(0, 0, 0, 0.35) 0.7px, transparent 1px),
    radial-gradient(circle at 62% 42%, rgba(0, 0, 0, 0.25) 0.7px, transparent 1px),
    radial-gradient(circle at 40% 80%, rgba(0, 0, 0, 0.22) 0.7px, transparent 1px);
  background-size: 13px 13px, 15px 15px, 17px 17px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 120;
  background: rgba(10, 18, 38, 0.04);
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(36, 73, 245, 0.95), rgba(34, 211, 197, 0.85), rgba(138, 92, 255, 0.85));
  box-shadow: 0 0 12px rgba(36, 73, 245, 0.25);
  transition: width 90ms linear;
}

.liquid-glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), var(--glass-shadow);
  backdrop-filter: blur(20px) saturate(130%);
}

/* Utility for future decorative bitmap layers: set --bg-img-1x / --bg-img-2x to url(...) values. */
.bg-image-set {
  background-image: var(--bg-img-1x, none);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

@supports (background-image: image-set(url("x") 1x)) {
  .bg-image-set {
    background-image: image-set(
      var(--bg-img-1x, none) 1x,
      var(--bg-img-2x, var(--bg-img-1x, none)) 2x
    );
  }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: 0.35rem;
  background: linear-gradient(180deg, rgba(233, 237, 244, 0.88), rgba(233, 237, 244, 0.36));
  backdrop-filter: blur(14px);
}

.topbar-inner {
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.45);
  box-shadow: 0 8px 22px rgba(27, 44, 92, 0.05);
}

.email-verified-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 1.5rem;
}

.verification-shell {
  width: min(100%, 760px);
}

.verification-card {
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
  text-align: center;
}

.verification-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tone-blue);
}

.verification-card h1 {
  margin: 0 0 1rem;
  font-family: var(--font-title);
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 0.95;
}

.verification-body,
.verification-status,
.verification-help p {
  color: var(--text-soft);
}

.verification-body {
  margin: 0 auto 1.5rem;
  max-width: 36rem;
  font-size: 1.05rem;
}

.verification-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.verification-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  min-height: 52px;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease);
}

.verification-button:hover {
  transform: translateY(-1px);
}

.verification-button-primary {
  background: linear-gradient(135deg, var(--tone-blue), #1231a8);
  color: #fff;
  box-shadow: 0 16px 30px rgba(36, 73, 245, 0.2);
}

.verification-button-secondary {
  background: rgba(255, 255, 255, 0.54);
  border-color: var(--line-strong);
  color: var(--text);
}

.verification-status {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

.verification-help {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.verification-help p {
  margin: 0.35rem 0;
}

@media (max-width: 640px) {
  .verification-actions {
    flex-direction: column;
  }

  .verification-button {
    width: 100%;
  }
}

.brandmark {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  min-width: 0;
}

.brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex: 0 0 auto;
  box-shadow: 0 4px 10px rgba(36, 73, 245, 0.15);
}

.brand-logo {
  width: min(124px, 34vw);
  display: block;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.topnav::-webkit-scrollbar {
  display: none;
}

.topnav a {
  font-family: var(--font-body);
  text-decoration: none;
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 650;
  white-space: nowrap;
  padding: 0.42rem 0.56rem;
  border-radius: 999px;
}

.topnav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.55);
}

main {
  padding-bottom: 0.85rem;
}

.hero {
  padding-top: 0.7rem;
}

.hero-inner {
  border-radius: var(--radius-xl);
  padding: 1.05rem;
  text-align: center;
}

.hero-brand-lockup {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
}

.hero-app-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  box-shadow: 0 10px 18px rgba(36, 73, 245, 0.14);
}

.hero-logo-wide {
  width: min(170px, 44vw);
}

.hero-kicker {
  margin: 0.9rem 0 0;
  font-family: var(--font-title);
  color: var(--text-dim);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.hero h1 {
  margin: 0.35rem 0 0;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(2.35rem, 8vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: #0b1020;
}

.hero-sub {
  margin: 0.7rem auto 0;
  max-width: 34ch;
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.45;
}

.hero-cta {
  margin-top: 0.95rem;
  display: grid;
  gap: 0.55rem;
  justify-items: center;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.8rem;
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.68)),
    linear-gradient(135deg, rgba(36, 73, 245, 0.16), rgba(34, 211, 197, 0.12));
  color: #091025;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(27, 44, 92, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

.cta-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(27, 44, 92, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.cta-inline {
  justify-self: center;
}

.app-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex: 0 0 auto;
}

.cta-copy {
  display: grid;
  text-align: left;
  line-height: 1.08;
}

.cta-copy small {
  font-size: 0.67rem;
  color: rgba(11, 16, 32, 0.68);
}

.cta-copy strong {
  font-size: 0.97rem;
}

.cta-note {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.78rem;
  line-height: 1.35;
  max-width: 36ch;
}

.story {
  margin-top: 0.7rem;
}

.story-layout {
  display: grid;
  gap: 0.8rem;
}

.phone-stage {
  position: sticky;
  top: calc(var(--topbar-h) + 0.5rem);
  z-index: 20;
}

.phone-stage-card {
  border-radius: 24px;
  padding: 0.8rem;
  position: relative;
  transition: border-color var(--dur-med) var(--ease-soft), box-shadow var(--dur-med) var(--ease-soft);
}

.phone-stage-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at 25% 0%, rgba(255, 255, 255, 0.45), transparent 60%);
}

.phone-stage-card[data-tone="music"] {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 20px 46px rgba(36, 73, 245, 0.08);
}

.phone-stage-card[data-tone="playlist"] {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 20px 46px rgba(34, 211, 197, 0.09);
}

.phone-stage-card[data-tone="games"] {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 20px 46px rgba(138, 92, 255, 0.1);
}

.phone-stage-card[data-tone="ai"] {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 20px 46px rgba(36, 73, 245, 0.1);
}

.phone-stage-card[data-tone="profile"] {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 20px 46px rgba(82, 102, 158, 0.08);
}

.stage-topline,
.stage-meta {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.stage-topline p,
.stage-meta p {
  margin: 0;
}

.stage-topline p {
  font-weight: 700;
  font-size: 0.92rem;
}

.scene-dots {
  display: inline-flex;
  gap: 0.32rem;
}

.scene-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(10, 16, 35, 0.18);
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}

.scene-dots .dot.is-active {
  transform: scale(1.2);
  background: rgba(36, 73, 245, 0.78);
}

.device-shell {
  position: relative;
  margin: 0.65rem 0;
  display: grid;
  place-items: center;
}

.device-glow {
  position: absolute;
  width: min(76%, 300px);
  height: min(48%, 220px);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(36, 73, 245, 0.18), rgba(34, 211, 197, 0.14), transparent 70%);
  filter: blur(20px);
  transform: translateY(-10px);
}

.device-frame {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 9 / 19.5;
  border-radius: 40px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(180deg, #eff2f8, #e9edf4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 24px 48px rgba(27, 44, 92, 0.12),
    0 6px 14px rgba(27, 44, 92, 0.08);
}

.device-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 35%;
  height: 24px;
  border-radius: 999px;
  background: #0b1020;
  z-index: 8;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
}

.device-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transform: scale(1.002);
  transition: opacity var(--dur-phone-crossfade) var(--ease-soft), transform var(--dur-phone-crossfade) var(--ease);
  will-change: opacity;
  backface-visibility: hidden;
}

.device-image.is-current {
  opacity: 1;
  transform: scale(1);
}

.device-image.is-loading {
  opacity: 0.35;
}

.phone-stage-card[data-tone="music"] .device-image,
.phone-stage-card[data-tone="playlist"] .device-image {
  object-fit: contain;
  object-position: top center;
}

.phone-stage-card[data-tone="profile"] .device-image {
  object-fit: cover;
  object-position: top center;
}

.phone-stage-card[data-tone="music"] .device-scroll-slide img,
.phone-stage-card[data-tone="playlist"] .device-scroll-slide img {
  object-fit: contain;
}

.phone-stage-card[data-tone="profile"] .device-scroll-slide img {
  object-fit: cover;
  object-position: top center;
}

.device-video {
  object-fit: cover;
  object-position: top center;
  background: #0a0c12;
}

.device-overlay {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 10px;
  z-index: 10;
  border-radius: 12px;
  padding: 0.4rem 0.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0.18));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.overlay-kicker {
  margin: 0;
  font-size: 0.62rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 700;
}

.device-overlay h2 {
  margin: 0.18rem 0 0;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.device-overlay p:last-child {
  margin: 0.15rem 0 0;
  color: var(--text-soft);
  font-size: 0.7rem;
  line-height: 1.3;
}

.device-fallback {
  position: absolute;
  inset: 0;
  z-index: 9;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 0.25rem;
}

.device-fallback p {
  margin: 0;
  font-weight: 700;
}

.device-fallback span {
  color: var(--text-dim);
  font-size: 0.82rem;
}

.device-scroll-wrap {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  -webkit-overflow-scrolling: touch;
}

.device-frame--scroll .device-scroll-wrap {
  display: flex;
}

.device-frame--scroll .device-image,
.device-frame--scroll .device-video {
  visibility: hidden;
  pointer-events: none;
}

.device-frame--scroll {
  aspect-ratio: auto;
  min-height: min(88vh, 620px);
  max-height: 88vh;
}

.device-scroll-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.device-scroll-slide {
  flex: 0 0 100%;
  width: 100%;
  min-height: 100%;
  overflow: hidden;
}

.device-scroll-slide img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  vertical-align: top;
  backface-visibility: hidden;
}

.stage-meta {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.stage-mini-button {
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.66);
  color: var(--text);
  border-radius: 999px;
  padding: 0.34rem 0.68rem;
  font-weight: 650;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-soft), transform var(--dur-fast) var(--ease);
}

.stage-mini-button:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.story-copy {
  display: grid;
  gap: 0.7rem;
}

.story-intro {
  padding: 0.2rem 0.15rem 0;
}

.story-kicker,
.closing-kicker {
  margin: 0;
  font-family: var(--font-title);
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.73rem;
  font-weight: 700;
}

.story-intro h2 {
  margin: 0.35rem 0 0;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(1.6rem, 4vw, 2.7rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 16ch;
}

.feature-step {
  position: relative;
  padding: 1rem 0.95rem 0.95rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.28));
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform var(--dur-fast) var(--ease), background var(--dur-med) var(--ease-soft), border-color var(--dur-med) var(--ease-soft), box-shadow var(--dur-med) var(--ease-soft);
  scroll-margin-top: calc(var(--topbar-h) + 0.7rem);
}

.feature-step::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 999px;
  background: rgba(10, 16, 35, 0.08);
  transition: background var(--dur-med) var(--ease-soft);
}

.feature-step.is-active {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.8);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.45));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 18px 34px rgba(27, 44, 92, 0.07);
}

.feature-step.is-active[data-tone="music"]::before,
.feature-step.is-active[data-tone="ai"]::before {
  background: linear-gradient(180deg, rgba(36, 73, 245, 0.2), rgba(36, 73, 245, 0.92));
}

.feature-step.is-active[data-tone="playlist"]::before {
  background: linear-gradient(180deg, rgba(34, 211, 197, 0.2), rgba(34, 211, 197, 0.92));
}

.feature-step.is-active[data-tone="games"]::before {
  background: linear-gradient(180deg, rgba(138, 92, 255, 0.2), rgba(138, 92, 255, 0.92));
}

.feature-step.is-active[data-tone="profile"]::before {
  background: linear-gradient(180deg, rgba(106, 124, 170, 0.2), rgba(106, 124, 170, 0.92));
}

.feature-index {
  margin: 0;
  font-size: 0.74rem;
  color: var(--text-dim);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-step h3 {
  margin: 0.35rem 0 0;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 22ch;
}

.feature-step p:last-child {
  margin: 0.45rem 0 0;
  font-family: var(--font-body);
  color: var(--text-soft);
  line-height: 1.45;
  max-width: 46ch;
}

.closing {
  margin-top: 0.7rem;
}

.closing-card {
  border-radius: 24px;
  padding: 1rem;
  text-align: center;
}

.closing-card h2 {
  margin: 0.35rem auto 0;
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 18ch;
}

.closing-card .cta-inline {
  margin-top: 0.85rem;
}

.site-footer {
  margin: 0.6rem auto 1rem;
}

.footer-row {
  border-radius: 18px;
  padding: 0.7rem 0.8rem;
  display: grid;
  gap: 0.55rem;
}

.footer-brand .brand-icon {
  width: 24px;
  height: 24px;
}

.footer-brand .brand-logo {
  width: min(108px, 32vw);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.6rem;
}

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

.footer-links a:hover {
  color: var(--text);
}

.noscript-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  padding: 0.6rem 0.8rem;
  text-align: center;
  background: rgba(11, 16, 32, 0.92);
  color: #f7f9ff;
  font-size: 0.84rem;
}

.reveal {
  animation: reveal-up var(--dur-slow) var(--ease) both;
}

.reveal-delay {
  animation-delay: 80ms;
}

.reveal-delay-2 {
  animation-delay: 140ms;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Legal + 404 page support */
.legal-body,
.error-body {
  min-height: 100vh;
  background: linear-gradient(180deg, #f2f4f8 0%, #e8edf5 100%);
}

.site-bg {
  display: none;
}

.legal-shell,
.error-shell {
  padding-top: 0.7rem;
  padding-bottom: 0.9rem;
}

.legal-page-card,
.error-card {
  border-radius: 22px;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
}

.legal-page-card h1,
.error-card h1 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.eyebrow,
.kicker {
  margin: 0;
  font-size: 0.74rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 700;
}

.legal-meta,
.error-card .sub {
  color: var(--text-dim);
  line-height: 1.45;
}

.legal-page-card h2 {
  margin-top: 1rem;
  font-size: 1.08rem;
}

.legal-page-card p,
.legal-page-card li,
.error-card p {
  color: var(--text-soft);
  line-height: 1.58;
}

.account-recovery-card {
  max-width: 760px;
}

.account-recovery-experience {
  overflow: hidden;
}

.account-recovery-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 1.2rem;
  align-items: center;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(16, 27, 58, 0.08);
}

.account-recovery-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.account-recovery-signals span {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(36, 73, 245, 0.08);
  border: 1px solid rgba(36, 73, 245, 0.12);
  color: var(--text-soft);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.account-recovery-orbital {
  position: relative;
  min-height: 220px;
  display: grid;
  place-items: center;
}

.account-recovery-orbital-ring {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(36, 73, 245, 0.18);
  background: radial-gradient(circle at 30% 30%, rgba(36, 73, 245, 0.08), transparent 64%);
}

.account-recovery-orbital .ring-a {
  width: 220px;
  height: 220px;
  animation: recovery-spin 16s linear infinite;
}

.account-recovery-orbital .ring-b {
  width: 160px;
  height: 160px;
  border-color: rgba(34, 211, 197, 0.2);
  animation: recovery-spin 10s linear infinite reverse;
}

.account-recovery-orbital-core {
  position: relative;
  z-index: 1;
  width: 128px;
  height: 128px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 32px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.62)),
    radial-gradient(circle at top left, rgba(36, 73, 245, 0.18), transparent 62%);
  box-shadow: 0 22px 54px rgba(31, 54, 112, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.88);
}

.account-recovery-orbital-core span {
  display: block;
  color: var(--text-dim);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.account-recovery-orbital-core strong {
  display: block;
  color: var(--text);
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.account-recovery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 1rem;
  margin-top: 1.2rem;
}

.account-recovery-panel,
.account-recovery-sidecar,
.account-recovery-trustnote {
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.54));
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(27, 44, 92, 0.08);
}

.account-recovery-panel,
.account-recovery-help,
.account-recovery-trustnote {
  padding: 1.1rem;
}

.account-recovery-sidecar {
  display: grid;
  gap: 1rem;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.account-panel-kicker {
  margin: 0 0 0.4rem;
  color: var(--tone-blue);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.account-recovery-form {
  display: grid;
  gap: 0.95rem;
  margin-top: 1rem;
}

.account-recovery-field {
  display: grid;
  gap: 0.35rem;
  color: var(--text);
  font-weight: 700;
}

.account-recovery-field span {
  font-size: 0.94rem;
}

.account-recovery-field input {
  width: 100%;
  min-height: 54px;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(36, 73, 245, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 255, 0.92));
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.account-recovery-field input::placeholder {
  color: var(--text-dim);
}

.account-recovery-field input:focus-visible {
  outline: 2px solid rgba(36, 73, 245, 0.72);
  outline-offset: 2px;
}

.account-recovery-submit {
  min-height: 54px;
  cursor: pointer;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(36, 73, 245, 0.98), rgba(138, 92, 255, 0.92));
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 20px 36px rgba(62, 76, 204, 0.26);
}

.account-recovery-submit[disabled] {
  opacity: 0.7;
  cursor: progress;
}

.account-recovery-status {
  min-height: 1.5rem;
  margin: 0.95rem 0 0;
  color: var(--text-soft);
  font-weight: 700;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.account-recovery-status[data-tone="success"] {
  color: #155a34;
  background: rgba(32, 163, 90, 0.12);
}

.account-recovery-status[data-tone="error"] {
  color: #a21c2f;
  background: rgba(206, 47, 74, 0.1);
}

.account-recovery-help {
  margin-top: 0;
}

.account-recovery-help h2 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
}

.account-recovery-help p,
.account-recovery-noscript {
  color: var(--text-soft);
  line-height: 1.58;
}

.account-recovery-trustnote strong {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--text);
  font-size: 1rem;
}

.account-recovery-trustnote ul {
  margin: 0;
  padding-left: 1rem;
}

.account-recovery-trustnote li {
  color: var(--text-soft);
  line-height: 1.55;
}

.identity-return-body {
  min-height: 100vh;
}

.identity-return-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem 0;
}

.identity-return-card {
  width: min(100%, 620px);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(8, 11, 24, 0.88), rgba(12, 17, 32, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 70px rgba(5, 7, 18, 0.35);
}

.identity-return-card h1 {
  margin: 0.35rem 0 0.75rem;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.05em;
}

.identity-return-status,
.identity-return-sub {
  color: rgba(255, 255, 255, 0.74);
}

.identity-return-pulse {
  position: relative;
  width: 144px;
  height: 144px;
  margin: 0 auto 1.2rem;
  display: grid;
  place-items: center;
}

.identity-return-ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid rgba(138, 92, 255, 0.35);
  animation: recovery-spin 16s linear infinite;
}

.identity-return-ring.ring-b {
  inset: 16px;
  border-color: rgba(34, 211, 197, 0.38);
  animation-direction: reverse;
  animation-duration: 11s;
}

.identity-return-mark {
  position: relative;
  z-index: 1;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(36, 73, 245, 0.95), rgba(138, 92, 255, 0.92));
  color: #fff;
  font-size: 2.25rem;
  font-weight: 800;
  box-shadow: 0 20px 46px rgba(92, 73, 245, 0.36);
}

.identity-return-actions {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.identity-return-primary,
.identity-return-secondary {
  min-width: 176px;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.1rem;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
}

.identity-return-primary {
  color: #fff;
  background: linear-gradient(135deg, rgba(36, 73, 245, 1), rgba(138, 92, 255, 0.95));
  box-shadow: 0 18px 34px rgba(67, 74, 210, 0.32);
}

.identity-return-secondary {
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body[data-return-state="complete"] .identity-return-mark {
  background: linear-gradient(145deg, rgba(20, 178, 101, 0.94), rgba(34, 211, 197, 0.9));
  box-shadow: 0 20px 46px rgba(20, 178, 101, 0.32);
}

@keyframes recovery-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 820px) {
  .account-recovery-hero,
  .account-recovery-grid {
    grid-template-columns: 1fr;
  }

  .account-recovery-orbital {
    min-height: 180px;
  }

  .account-recovery-orbital .ring-a {
    width: 180px;
    height: 180px;
  }

  .account-recovery-orbital .ring-b {
    width: 132px;
    height: 132px;
  }
}

.account-recovery-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.legal-page-card ul {
  padding-left: 1.1rem;
}

.legal-actions,
.error-actions {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.66);
  color: var(--text);
  text-decoration: none;
  padding: 0.55rem 0.8rem;
  font-weight: 650;
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.88);
}

@media (min-width: 720px) {
  :root {
    --shell: min(1240px, calc(100% - 1.5rem));
    --topbar-h: 76px;
  }

  .brand-logo {
    width: 132px;
  }

  .topnav a {
    font-size: 0.84rem;
    padding-inline: 0.68rem;
  }

  .hero {
    padding-top: 0.9rem;
  }

  .hero-inner {
    padding: 1.25rem;
  }

  .hero-app-icon {
    width: 64px;
    height: 64px;
  }

  .hero-logo-wide {
    width: 190px;
  }

  .story-layout {
    grid-template-columns: minmax(330px, 430px) minmax(0, 1fr);
    align-items: start;
    gap: 1rem;
  }

  .phone-stage-card {
    padding: 0.95rem;
  }

  .device-frame {
    width: min(100%, 420px);
    border-radius: 44px;
  }

  .device-overlay {
    left: 12px;
    right: 12px;
    top: 14px;
    padding: 0.55rem 0.72rem;
  }

  .device-overlay h2 {
    font-size: 1.08rem;
  }

  .story-copy {
    gap: 0.9rem;
  }

  .story-intro {
    padding-top: 0.5rem;
  }

  .feature-step {
    min-height: 54vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.4rem 1.35rem 1.3rem 1.4rem;
    border-radius: 24px;
  }

  .feature-step h3 {
    font-size: clamp(1.45rem, 2.2vw, 2.1rem);
    max-width: 16ch;
  }

  .feature-step p:last-child {
    font-size: 1rem;
    max-width: 40ch;
  }

  .closing-card {
    padding: 1.15rem;
  }

  .footer-row {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 0.75rem 0.85rem;
  }

  .footer-links {
    justify-content: flex-end;
  }
}

@media (min-width: 1024px) {
  .hero-inner {
    padding: 1.5rem 1.6rem;
  }

  .story-layout {
    grid-template-columns: minmax(360px, 460px) minmax(0, 1fr);
    gap: 1.2rem;
  }

  .phone-stage {
    top: calc(var(--topbar-h) + 0.7rem);
  }

  .feature-step {
    min-height: 62vh;
  }
}

@media (max-width: 520px) {
  :root {
    --shell: calc(100% - 0.75rem);
    --topbar-h: 64px;
  }

  .topbar {
    padding-top: 0.2rem;
  }

  .topbar-inner {
    min-height: var(--topbar-h);
    padding: 0.35rem 0.45rem;
    border-radius: 14px;
  }

  .brand-logo {
    width: min(110px, 29vw);
  }

  .topnav a:first-child,
  .topnav a:nth-child(2) {
    display: none;
  }

  .hero-inner,
  .phone-stage-card,
  .closing-card,
  .legal-page-card,
  .error-card {
    border-radius: 20px;
  }

  .hero-inner,
  .phone-stage-card,
  .closing-card {
    padding: 0.85rem;
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .feature-step {
    padding: 0.95rem 0.9rem 0.9rem 0.95rem;
  }

  .feature-step h3 {
    font-size: 1.16rem;
  }

  .device-frame {
    border-radius: 34px;
  }

  .device-notch {
    height: 22px;
  }

  .device-overlay {
    border-radius: 12px;
    top: 10px;
    left: 8px;
    right: 8px;
  }

  .device-overlay h2 {
    font-size: 0.95rem;
  }

  .device-overlay p:last-child {
    font-size: 0.7rem;
  }

  .cta-primary {
    width: 100%;
    justify-content: center;
  }

  .cta-note {
    max-width: 28ch;
  }

  .footer-row {
    padding: 0.6rem 0.7rem;
  }
}

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

/* Dark minimal homepage overrides */
.home-page {
  background: #070a12;
  color: #eef2ff;
}

.home-page .site-ambient {
  display: none;
}

.home-page a {
  color: #8fb0ff;
}

.home-page .scroll-progress {
  background: rgba(255, 255, 255, 0.04);
}

.home-page .scroll-progress span {
  background: linear-gradient(90deg, #3152ff, #17d4be, #5f7bff);
  box-shadow: 0 0 16px rgba(49, 82, 255, 0.35);
}

.home-page .topbar {
  background: rgba(7, 10, 18, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
}

.home-page .topbar-inner {
  background: transparent;
  border: none;
  box-shadow: none;
  padding-inline: 0;
}

.home-page .brand-icon {
  box-shadow: none;
}

.home-page .brand-logo {
  display: none;
}

.home-page .topnav a {
  color: rgba(226, 234, 255, 0.78);
  background: transparent;
}

.home-page .topnav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.home-page .hero {
  padding-top: 1.2rem;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
}

.home-page .hero-inner {
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  padding: 1.25rem 0.15rem 0.4rem;
}

.home-page .hero-brand-lockup {
  gap: 0.7rem;
}

.home-page .hero-app-icon {
  width: 66px;
  height: 66px;
  box-shadow: 0 18px 32px rgba(10, 13, 24, 0.35);
}

.home-page .hero-logo-wide {
  display: none;
}

.home-page .hero-kicker {
  color: rgba(202, 214, 247, 0.68);
}

.home-page .hero h1 {
  color: #f7f9ff;
  background: linear-gradient(130deg, #b98aff 0%, #8f78ff 28%, #5f95ff 58%, #21d6c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.06em;
}

.home-page .hero-sub {
  color: rgba(214, 224, 248, 0.74);
}

.home-page .hero-cta {
  margin-top: 1.05rem;
}

.home-page .cta-primary {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(49, 82, 255, 0.28), rgba(23, 212, 190, 0.15));
  color: #f4f7ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px rgba(0, 0, 0, 0.25);
}

.home-page .cta-primary:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 14px 30px rgba(0, 0, 0, 0.32);
}

.home-page .cta-copy small {
  color: rgba(221, 230, 252, 0.66);
}

.home-page .cta-note {
  color: rgba(186, 198, 229, 0.62);
}

.home-page .story {
  margin-top: 0;
  padding-bottom: 12vh;
}

.home-page .story-layout {
  gap: 0.7rem;
}

.home-page .phone-stage {
  margin-top: 50vh;
  top: 50vh;
  transform: translateY(-50%);
  align-self: start;
}

.home-page .phone-stage-card {
  background: transparent;
  border: none;
  box-shadow: none !important;
  padding: 0;
}

.home-page .phone-stage-card::after {
  display: none;
}

.home-page .stage-topline {
  justify-content: flex-end;
  margin-bottom: 0.5rem;
}

.home-page .scene-dots .dot {
  background: rgba(255, 255, 255, 0.16);
}

.home-page .scene-dots .dot.is-active {
  background: #17d4be;
}

.home-page .device-shell {
  margin: 0;
}

.home-page .device-glow {
  background: radial-gradient(circle, rgba(36, 73, 245, 0.25), rgba(23, 212, 190, 0.1), transparent 72%);
  filter: blur(22px);
  opacity: 0.7;
}

.home-page .device-frame {
  background: #05070c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  width: min(100%, 340px);
  box-shadow:
    0 34px 72px rgba(0, 0, 0, 0.44),
    0 8px 24px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.home-page .phone-stage-card[data-tone="music"] .device-frame,
.home-page .phone-stage-card[data-tone="playlist"] .device-frame,
.home-page .phone-stage-card[data-tone="profile"] .device-frame {
  background: #0a0c12;
}

.home-page .device-overlay {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(7, 10, 18, 0.4), rgba(7, 10, 18, 0.2));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.home-page .overlay-kicker {
  display: none;
}

.home-page .device-overlay h2 {
  color: #f5f8ff;
  margin-top: 0;
}

.home-page .device-overlay p:last-child {
  color: rgba(207, 219, 248, 0.74);
}

.home-page .device-fallback {
  background: rgba(6, 8, 14, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #eef2ff;
}

.home-page .device-fallback span {
  color: rgba(207, 219, 248, 0.68);
}

.home-page .stage-meta {
  margin-top: 0.5rem;
  color: rgba(196, 208, 240, 0.7);
}

.home-page .stage-mini-button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #eef2ff;
}

.home-page .stage-mini-button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.home-page .device-scroll-hint {
  color: rgba(255, 255, 255, 0.85);
}

.home-page .story-copy {
  gap: 0.25rem;
}

.home-page .story-intro {
  padding: 0.25rem 0 0.4rem;
}

.home-page .story-kicker,
.home-page .closing-kicker {
  color: rgba(188, 201, 235, 0.62);
}

.home-page .story-intro h2 {
  color: #f6f8ff;
  max-width: 18ch;
}

.home-page .feature-step {
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  border-radius: 0;
  padding: 1rem 0 1rem 0.95rem;
  min-height: 50vh;
}

.home-page .feature-step::before {
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.home-page .feature-step.is-active {
  transform: none;
  background: transparent;
  border: none;
  box-shadow: none;
}

.home-page .feature-index {
  color: rgba(171, 184, 217, 0.56);
}

.home-page .feature-step h3 {
  color: #f5f7ff;
  font-size: clamp(1.28rem, 2vw, 1.95rem);
}

.home-page .feature-step p:last-child {
  color: rgba(203, 214, 243, 0.72);
  max-width: 36ch;
}

.home-page .closing {
  margin-top: -4vh;
  padding: clamp(2rem, 6vh, 3.5rem) 0;
  text-align: center;
}

.home-page .closing-inner {
  max-width: 36ch;
  margin-inline: auto;
}

.home-page .closing-kicker {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: rgba(188, 201, 235, 0.6);
}

.home-page .closing-title {
  margin: 0.5rem 0 0;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  background: linear-gradient(130deg, #b98aff 0%, #8f78ff 28%, #5f95ff 58%, #21d6c8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-page .closing-sub {
  margin: 0.6rem 0 0;
  color: rgba(214, 224, 248, 0.74);
  font-size: 1rem;
  line-height: 1.4;
}

.home-page .closing-cta {
  margin-top: 1.25rem;
}

.home-page .closing-cta .cta-primary {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(49, 82, 255, 0.28), rgba(23, 212, 190, 0.15));
  color: #f4f7ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px rgba(0, 0, 0, 0.25);
}

.home-page .closing-cta .cta-primary:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 14px 30px rgba(0, 0, 0, 0.32);
}

.home-page .site-footer {
  display: block;
  padding: 1.25rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.home-page .footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.home-page .footer-brand .brand-icon {
  width: 28px;
  height: 28px;
  opacity: 0.9;
}

.home-page .footer-links {
  display: flex;
  align-items: center;
  gap: 0.5rem 1rem;
}

.home-page .footer-links a {
  color: rgba(196, 208, 240, 0.78);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
}

.home-page .footer-links a:hover {
  color: #f0f4ff;
}

@media (min-width: 720px) {
  .home-page .hero {
    padding-top: 1.6rem;
  }

  .home-page .hero-inner {
    padding-top: 1.9rem;
    padding-bottom: 0.65rem;
  }

  .home-page .hero-app-icon {
    width: 76px;
    height: 76px;
  }

  .home-page .hero-logo-wide {
    display: none;
  }

  .home-page .story-layout {
    grid-template-columns: minmax(340px, 440px) minmax(0, 1fr);
    gap: 1.4rem;
  }

  .home-page .device-frame {
    width: min(100%, 390px);
  }

  .home-page .story-copy {
    gap: 0.55rem;
  }

  .home-page .feature-step {
    min-height: 58vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.2rem 0 1.2rem 1.2rem;
  }

  .home-page .feature-step p:last-child {
    max-width: 32ch;
    font-size: 1.02rem;
  }
}

@media (max-width: 720px) {
  .home-page .story-intro {
    display: none;
  }

  .home-page .feature-step .feature-index,
  .home-page .feature-step h3,
  .home-page .feature-step p {
    display: none;
  }
}

@media (max-width: 520px) {
  .home-page .topnav a:first-child {
    display: none;
  }

  .home-page .topnav a:nth-child(2) {
    display: inline-flex;
  }

  .home-page .hero {
    padding-top: 0.95rem;
  }

  .home-page .hero-inner {
    padding-top: 1rem;
    padding-bottom: 0.15rem;
  }

  .home-page .hero-app-icon {
    width: 58px;
    height: 58px;
  }

  .home-page .hero-logo-wide {
    display: none;
  }

  .home-page .feature-step {
    padding-left: 0.85rem;
  }

  .home-page .phone-stage {
    margin-top: 50vh;
    top: 50vh;
    transform: translateY(-50%);
  }

  .home-page .device-frame {
    width: min(100%, 305px);
    border-radius: 30px;
  }

  .home-page .device-frame--scroll {
    min-height: 92vh;
    max-height: 92vh;
  }

  .home-page .stage-topline {
    margin-bottom: 0.35rem;
  }

  .home-page .stage-meta {
    margin-top: 0.35rem;
  }

  .home-page .story-copy {
    gap: 0.15rem;
  }

  .home-page .feature-step {
    min-height: 54svh;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .ambient-orb,
  .device-image,
  .feature-step,
  .scroll-progress span,
  .cta-primary,
  .stage-mini-button {
    animation: none !important;
    transition: none !important;
  }
}

/* Homepage rewrite */
.landing-main {
  padding-bottom: 2rem;
}

.home-page .topbar {
  background: linear-gradient(180deg, rgba(6, 9, 16, 0.92), rgba(6, 9, 16, 0.5));
}

.home-page .topbar-inner {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(9, 13, 24, 0.72);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.landing-hero,
.landing-band,
.landing-experience,
.landing-trust,
.landing-faq,
.closing {
  position: relative;
  z-index: 1;
}

.landing-hero {
  display: grid;
  gap: 1.4rem;
  padding: clamp(2.2rem, 8vw, 5.5rem) 0 2.4rem;
  align-items: center;
}

.landing-hero-copy {
  max-width: 42rem;
}

.landing-eyebrow {
  margin: 0 0 0.85rem;
  color: rgba(186, 198, 229, 0.82);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.landing-hero h1,
.section-heading h2,
.experience-copy h3,
.placeholder-panel strong,
.pillar-card h3,
.trust-card h3,
.faq-item h3,
.closing-title {
  margin: 0;
  color: #f7f9ff;
  font-family: var(--font-title);
}

.landing-hero h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 10vw, 6.25rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.landing-hero-sub,
.section-heading p,
.pillar-card p,
.experience-copy p,
.experience-points li,
.placeholder-panel p,
.trust-card p,
.faq-item p,
.closing-sub {
  color: rgba(214, 224, 248, 0.8);
}

.landing-hero-sub {
  margin: 1rem 0 0;
  max-width: 37rem;
  font-size: 1.1rem;
  line-height: 1.65;
}

.landing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.landing-secondary-link {
  min-height: 52px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #f3f6ff;
}

.landing-secondary-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.landing-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.landing-badges li {
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(222, 231, 251, 0.82);
  font-size: 0.9rem;
  line-height: 1.2;
}

.landing-hero-art {
  align-self: stretch;
}

.placeholder-panel {
  display: grid;
  gap: 0.75rem;
  padding: 1.2rem;
  border-radius: 28px;
  min-height: 220px;
}

.placeholder-panel-hero {
  min-height: 360px;
  align-content: center;
}

.placeholder-tag,
.experience-label {
  display: inline-flex;
  width: fit-content;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(208, 218, 245, 0.84);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.placeholder-panel strong {
  font-size: 1.35rem;
  line-height: 1.1;
}

.placeholder-panel p {
  margin: 0;
  max-width: 34rem;
  line-height: 1.6;
}

.landing-band,
.landing-experience,
.landing-trust,
.landing-faq {
  padding: clamp(1.25rem, 4vw, 2.5rem) 0;
}

.section-heading {
  max-width: 46rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 5vw, 3.7rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.section-heading p {
  margin: 0.85rem 0 0;
  font-size: 1.04rem;
  line-height: 1.6;
}

.pillar-grid,
.trust-grid,
.faq-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.pillar-card,
.trust-card,
.faq-item {
  padding: 1.2rem;
  border-radius: 24px;
}

.pillar-card h3,
.trust-card h3,
.faq-item h3,
.experience-copy h3 {
  font-size: 1.24rem;
  line-height: 1.15;
}

.pillar-card p,
.trust-card p,
.faq-item p {
  margin: 0.7rem 0 0;
  line-height: 1.6;
}

.experience-group {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
  align-items: stretch;
}

.experience-copy {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.experience-copy p {
  margin: 0;
  line-height: 1.6;
}

.experience-points {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.experience-points li {
  position: relative;
  padding-left: 1.2rem;
  line-height: 1.5;
}

.experience-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7f86ff, #21d6c8);
  box-shadow: 0 0 12px rgba(33, 214, 200, 0.32);
}

.closing {
  padding: clamp(2rem, 6vw, 4rem) 0 1rem;
  text-align: center;
}

.closing-inner {
  max-width: 40rem;
  margin-inline: auto;
}

.closing-kicker {
  margin: 0;
  color: rgba(186, 198, 229, 0.78);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.closing-title {
  margin-top: 0.6rem;
  font-size: clamp(2.3rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.closing-sub {
  max-width: 34rem;
  margin: 0.85rem auto 0;
  line-height: 1.6;
}

.closing-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.2rem;
}

.home-page .site-footer {
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 720px) {
  .landing-hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 1.75rem;
  }

  .pillar-grid,
  .trust-grid,
  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .experience-group {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .pillar-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trust-grid,
  .faq-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  .landing-hero h1 {
    max-width: 10ch;
  }
}

@media (max-width: 520px) {
  .landing-main {
    padding-bottom: 1.2rem;
  }

  .landing-hero {
    padding-top: 1.8rem;
  }

  .landing-hero-actions {
    align-items: stretch;
  }

  .landing-hero-actions .cta-primary,
  .landing-secondary-link {
    width: 100%;
    justify-content: center;
  }

  .placeholder-panel,
  .pillar-card,
  .trust-card,
  .faq-item {
    padding: 1rem;
  }
}

/* ============================================================
   REDESIGNED LANDING PAGE  (dark-page)
   All selectors scoped to .dark-page to avoid conflicts
   ============================================================ */

/* ── Base ─────────────────────────────────────────────────── */
.dark-page {
  background: #07090f;
  color: #eeeef4;
}

.dark-page a {
  color: #a78bfa;
}

.dark-page .scroll-progress {
  background: rgba(255, 255, 255, 0.04);
}

.dark-page .scroll-progress span {
  background: linear-gradient(90deg, #7c5cfc, #22d3c5, #7c5cfc);
  box-shadow: 0 0 16px rgba(124, 92, 252, 0.4);
}

/* ── Ambient orbs (dark palette) ──────────────────────────── */
.dark-page .orb-a {
  background: radial-gradient(circle, rgba(124, 92, 252, 0.22), transparent 70%);
}

.dark-page .orb-b {
  background: radial-gradient(circle, rgba(34, 211, 197, 0.14), transparent 72%);
}

.dark-page .orb-c {
  background: radial-gradient(circle, rgba(124, 92, 252, 0.12), transparent 72%);
}

/* ── Navigation ───────────────────────────────────────────── */
.dark-page .topbar {
  background: rgba(7, 9, 15, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0;
}

.dark-page .topbar-inner {
  background: transparent;
  border: none;
  box-shadow: none;
}

.dark-page .brand-icon {
  box-shadow: none;
  border-radius: 10px;
}

.brand-name {
  font-size: 1rem;
  font-weight: 800;
  color: #f0f0f8;
  letter-spacing: -0.02em;
}

.dark-page .topnav a {
  color: rgba(210, 220, 248, 0.72);
  font-size: 0.84rem;
  padding: 0.4rem 0.6rem;
  border-radius: 8px;
}

.dark-page .topnav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.topnav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 1rem;
  border-radius: 10px;
  background: rgba(124, 92, 252, 0.18);
  border: 1px solid rgba(124, 92, 252, 0.35);
  color: #c4b0ff !important;
  font-weight: 700;
  font-size: 0.84rem;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease;
}

.topnav-cta:hover {
  background: rgba(124, 92, 252, 0.28) !important;
  border-color: rgba(124, 92, 252, 0.55) !important;
  color: #d9ccff !important;
}

/* ── CTA Buttons ──────────────────────────────────────────── */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 1rem;
  min-height: 54px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  cursor: pointer;
}

.cta-btn:hover {
  transform: translateY(-2px);
}

.cta-btn--primary {
  background: linear-gradient(135deg, rgba(124, 92, 252, 0.85), rgba(99, 72, 220, 0.9));
  border: 1px solid rgba(180, 160, 255, 0.2);
  color: #fff;
  box-shadow: 0 16px 36px rgba(124, 92, 252, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.cta-btn--primary:hover {
  box-shadow: 0 20px 44px rgba(124, 92, 252, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.cta-btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(220, 228, 252, 0.88);
}

.cta-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.cta-btn--large {
  min-height: 62px;
  padding: 0.75rem 1.25rem;
  border-radius: 18px;
  font-size: 1.05rem;
}

.dark-page .cta-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  flex-shrink: 0;
}

.cta-btn--large .cta-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
}

/* Reuse .cta-copy for button text stack */
.dark-page .cta-btn .cta-copy {
  display: grid;
  text-align: left;
  line-height: 1.1;
}

.dark-page .cta-btn .cta-copy small {
  font-size: 0.68rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
}

.dark-page .cta-btn .cta-copy strong {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
}

/* ── Phone frame / mockup ─────────────────────────────────── */
.phone-frame {
  position: relative;
  width: 260px;
  aspect-ratio: 9 / 19.5;
  border-radius: 36px;
  overflow: hidden;
  background: #05070c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 12px 28px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.phone-frame--tall {
  aspect-ratio: 9 / 22;
}

.phone-frame--crop {
  aspect-ratio: 9 / 15;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 22px;
  border-radius: 999px;
  background: #02030a;
  z-index: 10;
}

.phone-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.phone-frame--tall .phone-screen {
  object-fit: cover;
  object-position: top center;
}

/* Phone glow variants */
.phone-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.phone-glow--hero {
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(124, 92, 252, 0.35), rgba(34, 211, 197, 0.15), transparent 70%);
}

.phone-glow--purple {
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(124, 92, 252, 0.3), transparent 70%);
}

.phone-glow--blue {
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(36, 99, 235, 0.3), transparent 70%);
}

.phone-glow--green {
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(34, 197, 94, 0.25), transparent 70%);
}

.phone-glow--cyan {
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(34, 211, 197, 0.28), transparent 70%);
}

.phone-glow--orange {
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(249, 115, 22, 0.25), transparent 70%);
}

.phone-glow--closing {
  position: relative;
  width: 400px;
  height: 300px;
  margin: -180px auto -80px;
  left: auto;
  transform: none;
  display: block;
  opacity: 0.6;
}

/* ── Hero ─────────────────────────────────────────────────── */
.dark-page .hero {
  display: grid;
  align-items: center;
  gap: 3rem;
  padding: clamp(3rem, 8vw, 6rem) 0 2rem;
}

.dark-page .hero-copy {
  max-width: 42rem;
}

.dark-page .eyebrow {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(168, 160, 220, 0.85);
}

.dark-page h1 {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #f6f8ff;
  text-wrap: balance;
}

.dark-page .hero-sub {
  margin: 1.2rem 0 0;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(200, 210, 245, 0.78);
  max-width: 40ch;
}

.dark-page .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.dark-page .hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.dark-page .hero-pills li {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(210, 220, 248, 0.75);
  font-size: 0.84rem;
  line-height: 1.2;
}

.dark-page .hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0 2rem;
}

.dark-page .hero-visual .phone-frame {
  width: clamp(220px, 35vw, 310px);
  position: relative;
  z-index: 1;
}

/* ── Feature sections ─────────────────────────────────────── */
.dark-page .feature-section {
  display: grid;
  align-items: center;
  gap: 2.5rem;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  width: var(--shell);
  margin-inline: auto;
}

.dark-page .feature-content {
  max-width: 44ch;
}

.dark-page .feature-content h2 {
  margin: 0.6rem 0 0;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(1.7rem, 3.5vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #f4f6ff;
  text-wrap: balance;
}

.dark-page .feature-desc {
  margin: 0.85rem 0 0;
  line-height: 1.65;
  color: rgba(200, 210, 245, 0.75);
  font-size: 1rem;
}

.dark-page .feature-list {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.dark-page .feature-list li {
  padding-left: 1.4rem;
  position: relative;
  color: rgba(195, 208, 245, 0.8);
  font-size: 0.95rem;
  line-height: 1.45;
}

.dark-page .feature-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #7c5cfc;
  font-weight: 700;
}

.dark-page .feature-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 1rem 0 2rem;
}

.dark-page .feature-visual .phone-frame {
  width: clamp(200px, 28vw, 280px);
  position: relative;
  z-index: 1;
}

/* ── Separator between feature sections ───────────────────── */
.dark-page #features {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.dark-page .feature-section + .feature-section {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* ── Pillars / Why section ────────────────────────────────── */
.dark-page .pillars-section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  text-align: center;
}

.dark-page .section-heading {
  max-width: 44rem;
  margin: 0 auto 3rem;
}

.dark-page .section-heading h2 {
  margin: 0.6rem 0 0;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #f4f6ff;
}

.dark-page .section-sub {
  margin: 0.85rem 0 0;
  color: rgba(200, 210, 245, 0.75);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 40ch;
  margin-inline: auto;
}

.dark-page .pillars-grid {
  display: grid;
  gap: 1rem;
}

.dark-page .pillar-card {
  padding: 1.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  text-align: left;
  transition: background 200ms ease, border-color 200ms ease;
}

.dark-page .pillar-card:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(124, 92, 252, 0.2);
}

.dark-page .pillar-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.dark-page .pillar-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: #f0f2ff;
  letter-spacing: -0.02em;
}

.dark-page .pillar-card p {
  margin: 0;
  color: rgba(195, 208, 245, 0.72);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ── FAQ ──────────────────────────────────────────────────── */
.dark-page .faq-section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.dark-page .faq-section .section-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.dark-page .faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.dark-page .faq-item {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  transition: border-color 200ms ease;
}

.dark-page .faq-item[open] {
  border-color: rgba(124, 92, 252, 0.2);
}

.dark-page .faq-q {
  display: block;
  padding: 1.1rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: #eaecff;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2.5rem;
  transition: color 160ms ease;
}

.dark-page .faq-q::-webkit-details-marker {
  display: none;
}

.dark-page .faq-q::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 400;
  color: rgba(160, 170, 220, 0.6);
  transition: transform 200ms ease, color 200ms ease;
}

.dark-page .faq-item[open] .faq-q::after {
  transform: translateY(-50%) rotate(45deg);
  color: #a78bfa;
}

.dark-page .faq-q:hover {
  color: #fff;
}

.dark-page .faq-a {
  margin: 0;
  padding: 0 1.25rem 1.1rem;
  color: rgba(195, 208, 245, 0.75);
  line-height: 1.65;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 0.85rem;
}

/* ── Closing CTA ──────────────────────────────────────────── */
.dark-page .closing {
  padding: clamp(3rem, 8vw, 6rem) 0 2rem;
  text-align: center;
}

.dark-page .closing-inner {
  position: relative;
  max-width: 40rem;
  margin-inline: auto;
}

.dark-page .closing h2 {
  margin: 0.6rem 0 0;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(2rem, 5.5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #f6f8ff;
  text-wrap: balance;
  background: linear-gradient(130deg, #c4a8ff 0%, #a78bfa 35%, #818cf8 65%, #22d3c5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dark-page .closing-sub {
  margin: 0.85rem auto 0;
  max-width: 34ch;
  line-height: 1.6;
  color: rgba(200, 210, 245, 0.75);
  font-size: 1rem;
}

.dark-page .closing .cta-btn {
  margin-top: 1.6rem;
}

/* ── Footer ───────────────────────────────────────────────── */
.dark-page .site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem 0 3rem;
}

.dark-page .footer-top {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1.5rem;
}

.dark-page .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.dark-page .footer-brand .brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.footer-brand-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: rgba(220, 228, 252, 0.9);
  letter-spacing: -0.02em;
}

.footer-tagline {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(170, 180, 215, 0.55);
}

.dark-page .footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.dark-page .footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1rem;
}

.dark-page .footer-links a {
  color: rgba(185, 198, 235, 0.65);
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms ease;
}

.dark-page .footer-links a:hover {
  color: #f0f4ff;
}

.footer-legal {
  margin: 0;
  color: rgba(150, 162, 200, 0.45);
  font-size: 0.8rem;
}

/* ── Reveal animation on scroll ───────────────────────────── */
.dark-page .reveal {
  animation: reveal-up var(--dur-slow) var(--ease) both;
}

.dark-page .reveal-delay {
  animation-delay: 100ms;
}

/* ── Responsive ───────────────────────────────────────────── */

/* Tablet + Desktop */
@media (min-width: 680px) {
  .dark-page .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
    gap: 2rem;
    padding: clamp(4rem, 9vw, 7rem) 0 3rem;
  }

  .dark-page .hero-visual .phone-frame {
    width: clamp(240px, 32vw, 340px);
  }

  .dark-page .feature-section {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .dark-page .feature-section--flipped .feature-content {
    order: 2;
  }

  .dark-page .feature-section--flipped .feature-visual {
    order: 1;
  }

  .dark-page .feature-visual .phone-frame {
    width: clamp(220px, 26vw, 300px);
  }

  .dark-page .pillars-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dark-page .hero-actions .cta-btn--ghost {
    display: inline-flex;
  }
}

@media (min-width: 1024px) {
  .dark-page .hero {
    gap: 3rem;
  }

  .dark-page .hero-visual .phone-frame {
    width: clamp(280px, 28vw, 360px);
  }

  .dark-page .feature-visual .phone-frame {
    width: clamp(240px, 24vw, 320px);
  }

  .dark-page .feature-content h2 {
    font-size: clamp(2rem, 3vw, 3rem);
  }
}

/* Mobile */
@media (max-width: 679px) {
  .dark-page .hero {
    padding: clamp(2rem, 8vw, 3.5rem) 0 1.5rem;
    gap: 2rem;
  }

  .dark-page .hero-visual {
    order: -1;
  }

  .dark-page .hero-visual .phone-frame {
    width: min(70vw, 240px);
  }

  .dark-page h1 {
    font-size: clamp(2.2rem, 9vw, 3.5rem);
  }

  .dark-page .hero-sub {
    font-size: 1rem;
  }

  .dark-page .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .dark-page .hero-actions .cta-btn {
    justify-content: center;
  }

  .dark-page .hero-actions .cta-btn--ghost {
    display: none;
  }

  .dark-page .feature-section {
    width: calc(100% - 2rem);
    margin-inline: auto;
    gap: 1.5rem;
  }

  .dark-page .feature-visual {
    order: -1;
  }

  .dark-page .feature-visual .phone-frame {
    width: min(65vw, 230px);
  }

  .dark-page .feature-content {
    max-width: 100%;
  }

  .dark-page .pillars-grid {
    grid-template-columns: 1fr;
  }

  .dark-page .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 380px) {
  .dark-page .hero-visual .phone-frame {
    width: min(78vw, 210px);
  }

  .topnav-cta {
    padding: 0 0.65rem;
    font-size: 0.78rem;
  }
}

/* Phone screen video variant */
.phone-screen--video {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background: #05070c;
}

/* Contain mode for profile section screenshots (not full-screen crops) */
.phone-screen--contain {
  object-fit: contain;
  object-position: top center;
  background: #0d0f18;
}

/* ── Responsive media visibility ─────────────────────────── */
@media (min-width: 680px) {
  .mobile-only { display: none !important; }
}
@media (max-width: 679px) {
  .desktop-only { display: none !important; }
}

/* ── Problem framing section ──────────────────────────────── */
.dark-page .problem-section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  text-align: center;
}

.problem-intro {
  margin: 0 0 2rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(168, 160, 220, 0.7);
}

.problem-grid {
  display: grid;
  gap: 1rem;
  max-width: 56rem;
  margin: 0 auto;
}

.problem-card {
  padding: 1.35rem 1.5rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.problem-emoji {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.problem-card p {
  margin: 0;
  color: rgba(195, 208, 245, 0.7);
  font-size: 1rem;
  line-height: 1.6;
  font-style: italic;
}

.problem-resolution {
  margin: 2.5rem 0 0;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 900;
  color: #f0f2ff;
  letter-spacing: -0.02em;
}

.problem-resolution::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c5cfc, #22d3c5);
  margin: 0.75rem auto 0;
}

@media (min-width: 680px) {
  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Social proof / testimonials ──────────────────────────── */
.dark-page .proof-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.dark-page .proof-section .eyebrow {
  display: block;
  text-align: center;
  margin-bottom: 2rem;
}

.proof-grid {
  display: grid;
  gap: 1rem;
}

.proof-card {
  margin: 0;
  padding: 1.5rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.proof-quote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(215, 225, 252, 0.88);
  font-style: italic;
  quotes: "\201C" "\201D";
}

.proof-quote::before {
  content: open-quote;
  color: #7c5cfc;
  font-size: 1.4rem;
  line-height: 0;
  vertical-align: -0.35rem;
  margin-right: 0.1rem;
}

.proof-attr {
  font-size: 0.84rem;
  font-weight: 700;
  color: rgba(160, 172, 215, 0.6);
  font-style: normal;
}

@media (min-width: 680px) {
  .proof-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
