@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --bg: #0b0d14;
  --surface: #141826;
  --surface-2: #1a2030;
  --text: #e7e9f0;
  --muted: #a8b0c4;
  --primary: #6366f1;
  --accent: #ec4899;
  --accent-2: #ff8a3d;
  --border: #232838;
  --danger: #f87171;
  --radius: 16px;
  --max: 90%;
  --max-wide: 90%;
  --max-legal-prose: 42rem;
  --shell-pad: 20px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-motion: cubic-bezier(0.2, 0.8, 0.2, 1);
  --phone-w: 240px;
  --phone-bezel: 10px;
  --phone-radius: 28px;
  --phone-screen-radius: 20px;
  --z-base: 1;
  --z-header: 10;
  --z-skip: 100;
}

* { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 480px at 50% -10%, rgba(99, 102, 241, 0.22), transparent 60%),
    radial-gradient(700px 400px at 85% 18%, rgba(236, 72, 153, 0.12), transparent 55%),
    radial-gradient(600px 360px at 10% 70%, rgba(255, 138, 61, 0.06), transparent 50%);
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.skip-link:focus,
.skip-link:focus-visible {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: var(--z-skip);
  width: auto;
  height: auto;
  margin: 0;
  padding: 10px 14px;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
  border-radius: 10px;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

a {
  color: var(--primary);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.site-header,
.wrap,
.site-footer {
  position: relative;
  z-index: var(--z-base);
}

/* —— Header —— */

.site-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px var(--shell-pad) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
}

body.marketing-page .site-header {
  max-width: none;
  width: 100%;
  z-index: var(--z-header);
}

body.legal-page .site-header {
  max-width: none;
  width: 100%;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 200ms var(--ease-out);
}

.header-nav a:hover {
  color: var(--text);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  display: block;
}

.brand-text .brand-name {
  font-size: 1.2rem;
}

.brand-name {
  background: linear-gradient(135deg, var(--primary), var(--accent) 55%, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* —— Layout shells —— */

.wrap {
  min-width: 70%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px var(--shell-pad) 64px;
}

.wrap--wide {
  max-width: var(--max-wide);
  padding-bottom: 64px;
}

.wrap.legal {
  max-width: none;
  width: 100%;
  padding-top: 20px;
  padding-bottom: 72px;
}

body.legal-page .wrap.legal {
  max-width: none;
}

.legal-prose {
  max-width: var(--max-legal-prose);
  width: 100%;
}

/* —— Legacy hero (current index.html) —— */

.hero {
  padding: 12px 0 12px;
}

.hero-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 28px;
}

.hero-mark {
  width: 88px;
  height: 88px;
  display: block;
  flex-shrink: 0;
}

.hero-wordmark {
  font-size: clamp(2.4rem, 8vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 6.5vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
  text-wrap: balance;
}

.lede {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
  line-height: 1.55;
}

/* —— Redesign heroes —— */

.hero--centered {
  padding: 28px 0 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 18px;
  min-height: auto;
  padding: 20px 0 28px;
}

.hero--centered .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 0;
}

.hero--centered .hero-copy h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 5.5vw, 3rem);
}

.hero--centered .lede {
  margin: 0 0 18px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.02rem;
}

.hero--centered .waitlist {
  text-align: left;
  width: 100%;

  margin-bottom: 12px;
}

.hero--centered .soon {
  text-align: center;
  margin: 0 0 4px;
}

.hero-copy .hero-lockup {
  margin-bottom: 20px;
}

.hero-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(2.15rem, 6vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-wrap: balance;
}

.hero-eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
  margin: 0;
}

.phone-cluster {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: 100%;
  margin: 16px auto 0;
  padding: 8px 0 4px;
  position: relative;
}

.phone-cluster::before {
  content: "";
  position: absolute;
  inset: 18% 12% 0;
  border-radius: 50%;
  background:
    repeating-conic-gradient(
      from 0deg,
      rgba(231, 233, 240, 0.04) 0deg 8deg,
      transparent 8deg 16deg
    );
  mask-image: radial-gradient(circle, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, black 30%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.phone-cluster .phone {
  position: relative;
  z-index: 1;
}

/* Mobile default: lead only (sides restored at 768px+) */
.phone-cluster .phone--side {
  display: none;
}

.phone-cluster .phone--lead {
  --phone-w: min(72vw, 260px);
  z-index: 2;
  transform: none;
}

/* —— Phone bezel —— */

.phone {
  --phone-w: 240px;
  width: var(--phone-w);
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.phone-frame {
  position: relative;
  width: 100%;
  padding: var(--phone-bezel);
  border-radius: var(--phone-radius);
  background:
    linear-gradient(160deg, #2a3148 0%, #12151f 45%, #0a0c12 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 18px 48px rgba(15, 18, 40, 0.55),
    0 8px 24px rgba(99, 102, 241, 0.18);
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 5px;
  border-radius: 999px;
  background: #07080d;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  z-index: 2;
}

.phone-screen {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--phone-screen-radius);
  background: var(--bg);
}

.phone--lg {
  --phone-w: 280px;
}

.phone--md {
  --phone-w: 240px;
}

.phone--sm {
  --phone-w: 200px;
}

.phone--float {
  animation: phone-float 5.5s var(--ease-motion) infinite;
}

@keyframes phone-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.phone-cluster .phone--side.phone--float {
  animation-duration: 6.2s;
  animation-delay: 0.4s;
}

.phone-cluster .phone--side:last-child.phone--float {
  animation-delay: 0.8s;
}

/* —— Waitlist —— */

.waitlist {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin: 0 0 16px;
  position: relative;
  width: 90%;
}

.waitlist label {
  display: block;
  font-weight: 600;
  margin: 0 0 6px;
}

.waitlist input[type="email"],
input[type="email"],
input[type="text"],
textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  transition: border-color 200ms var(--ease-out);
}

.waitlist input[type="email"]:focus {
  border-color: var(--primary);
}

textarea {
  min-height: 6rem;
  resize: vertical;
}

.legal label {
  display: block;
  font-weight: 600;
  margin: 12px 0 6px;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 14px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 400;
}

.consent input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.platforms {
  margin: 16px 0 0;
  padding: 0;
  border: 0;
}

.platforms legend {
  font-weight: 600;
  margin: 0 0 10px;
  padding: 0;
}

.platform-option {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text);
  cursor: pointer;
}

.platform-option:last-child {
  margin-bottom: 0;
}

.platform-option input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.waitlist-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 16px;
}

.waitlist-loading[hidden] {
  display: none;
}

.waitlist-spinner {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: waitlist-spin 0.9s linear infinite;
}

.waitlist-spinner img {
  width: 40px;
  height: 40px;
  display: block;
  /* Same optical correction as app launch: (5, 21) * (40 / 1024) */
  transform: translate(calc(5 * 40px / 1024), calc(21 * 40px / 1024));
}

@keyframes waitlist-spin {
  to {
    transform: rotate(360deg);
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  margin-top: 16px;
  padding: 12px 18px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  text-decoration: none;
  transition: transform 160ms var(--ease-out), filter 160ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    filter: brightness(1.06);
  }
}

.btn:active {
  transform: scale(0.97);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-error {
  color: var(--danger);
  margin: 10px 0 0;
  font-size: 0.92rem;
}

.form-error[hidden],
.form-success[hidden] {
  display: none;
}

.form-success {
  margin: 0;
  color: var(--text);
}

.soon {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}

/* —— Legacy features —— */

.features {
  margin: 56px 0 8px;
  display: grid;
  gap: 0;
}

.feature {
  padding: 22px 0;
  border-top: 1px solid var(--border);
}

.feature:last-child {
  border-bottom: 1px solid var(--border);
}

.feature h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.feature p {
  margin: 0;
  color: var(--muted);
  max-width: 38rem;
}

/* —— Centered features —— */

.features--centered {
  margin: 48px 0 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  border: 0;
  text-align: center;
}

.features--centered .feature-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 0;
  border: 0;
  width: 100%;
  max-width: 30rem;
  margin: 0 auto;
}

.features--centered .feature-copy {
  max-width: 28rem;
  margin: 0 auto;
}

.feature-kicker {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

.feature-row h2 {
  margin: 0 0 8px;
  font-size: clamp(1.3rem, 3vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-wrap: balance;
}

.feature-row p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.feature-row .feature-media {
  display: flex;
  justify-content: center;
}

.features--centered .phone--md {
  --phone-w: 220px;
}

.features-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 28rem;
  margin: 0 auto;
  gap: 8px;
}

.section-heading {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.section-lede {
  margin: 0;
  color: var(--muted);
  max-width: 36ch;
  font-size: 1rem;
  line-height: 1.5;
}

/* —— FAQ —— */

.faq {
  margin: 56px auto 0;
  max-width: 40rem;
  width: 100%;
}

.faq h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.faq-list {
  border-top: 1px solid var(--border);
  margin-top: 16px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: transform 160ms var(--ease-out);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 180ms var(--ease-out);
}

.faq-item[open] summary::after {
  transform: rotate(225deg);
  margin-top: 4px;
}

.faq-item summary:active {
  transform: scale(0.99);
}

.faq-item p {
  margin: 0 0 18px;
  color: var(--muted);
  max-width: 40rem;
  padding-right: 28px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin: 28px 0 0;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 160ms var(--ease-out), border-color 160ms var(--ease-out),
    background 160ms var(--ease-out);
}

.social-links a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

@media (hover: hover) and (pointer: fine) {
  .social-links a:hover {
    border-color: var(--primary);
    background: var(--surface-2);
    transform: translateY(-1px);
  }
}

.social-links a:active {
  transform: scale(0.96);
}

.social-links img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
  transform: scale(var(--glyph-scale, 1));
  transform-origin: center;
}

/* Match app About glyphScale (X = baseline 1.0). */
.social-links a[data-brand="x"] {
  --glyph-scale: 1;
}
.social-links a[data-brand="reddit"] {
  --glyph-scale: 1.1;
}
.social-links a[data-brand="instagram"] {
  --glyph-scale: 1.15;
}
.social-links a[data-brand="youtube"],
.social-links a[data-brand="tiktok"] {
  --glyph-scale: 2;
}

/* —— Motion —— */

.reveal {
  transition:
    opacity 300ms var(--ease-out),
    transform 300ms var(--ease-out);
}

.reveal.reveal-pending {
  opacity: 0;
  transform: translateY(12px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1.reveal-pending,
.reveal-delay-1.is-visible { transition-delay: 50ms; }
.reveal-delay-2.reveal-pending,
.reveal-delay-2.is-visible { transition-delay: 80ms; }
.reveal-delay-3.reveal-pending,
.reveal-delay-3.is-visible { transition-delay: 110ms; }

@media (prefers-reduced-motion: reduce) {
  .btn,
  .faq-item summary,
  .faq-item summary::after,
  .header-nav a,
  .waitlist input[type="email"],
  .social-links a {
    transition: none;
  }

  .waitlist-spinner {
    animation: none;
  }

  .reveal,
  .reveal.reveal-pending {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .phone--float,
  .phone-cluster .phone--side.phone--float {
    animation: none;
  }
}

/* —— Legal —— */

.site-nav {
  margin-bottom: 20px;
  font-size: 0.92rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.site-nav a {
  text-decoration: none;
  margin-right: 0;
  color: var(--muted);
  font-weight: 500;
  transition: color 200ms var(--ease-out);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: underline;
}

.site-nav a[aria-current="page"] {
  text-decoration: none;
  color: var(--primary);
}

.legal header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 18px;
  margin-bottom: 28px;
}

.legal h1 {
  font-size: clamp(1.75rem, 4vw, 2.1rem);
  letter-spacing: -0.03em;
  margin: 0 0 6px;
  font-weight: 700;
  line-height: 1.15;
}

.legal h2 {
  font-size: 1.2rem;
  margin: 36px 0 10px;
  letter-spacing: -0.02em;
}

.legal h3 {
  font-size: 1.02rem;
  margin: 22px 0 6px;
  font-weight: 600;
}

.legal p {
  max-width: none;
}

.muted {
  color: var(--muted);
  font-size: 0.92rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
  margin: 18px 0;
}

.card h2:first-child {
  margin-top: 0;
}

.legal ul {
  padding-left: 20px;
  max-width: none;
}

.legal li {
  margin: 6px 0;
}

code {
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.9em;
}

/* —— Footer —— */

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px var(--shell-pad) 48px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
}

body.marketing-page .site-footer {
  max-width: var(--max-wide);
}

body.legal-page .site-footer {
  max-width: none;
  width: 100%;
}

.wrap.legal + .site-footer {
  max-width: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
  text-decoration: underline;
}

.join-fallback {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lang-dropdown {
  position: relative;
  flex-shrink: 0;
}

.lang-dropdown__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: border-color 200ms var(--ease-out), background 200ms var(--ease-out);
}

.lang-dropdown__btn:hover,
.lang-dropdown.is-open .lang-dropdown__btn {
  border-color: #2e3548;
  background: var(--surface-2);
}

.lang-dropdown__chev {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--muted);
  transition: transform 200ms var(--ease-out);
}

.lang-dropdown.is-open .lang-dropdown__chev {
  transform: rotate(180deg);
}

.lang-dropdown__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: var(--z-header);
  min-width: 11.5rem;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.lang-dropdown__menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 200ms var(--ease-out), background 200ms var(--ease-out);
}

.lang-dropdown__menu a:hover {
  color: var(--text);
  background: var(--surface-2);
}

.lang-dropdown__menu a[aria-current="true"] {
  color: var(--text);
  background: var(--surface-2);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

/* —— Breakpoints —— */

@media (min-width: 720px) {
  .btn {
    width: auto;
    display: flex;
    min-width: 220px;
  }

  .waitlist {
    max-width: 590px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 768px) {
  :root {
    --shell-pad: 28px;
    --phone-w: 260px;
  }

  .header-nav {
    display: flex;
  }

  .features--centered {
    gap: 52px;
    margin-top: 56px;
  }

  .features--centered .phone--md {
    --phone-w: 240px;
  }

  .phone-cluster {
    max-width: 480px;
    gap: 10px;
  }

  .phone-cluster::before {
    opacity: 0.7;
  }

  .phone-cluster .phone--side {
    display: block;
    --phone-w: 168px;
    opacity: 0.92;
    transform: translateY(14px) scale(0.94);
  }

  .phone-cluster .phone--lead {
    --phone-w: 210px;
  }
}

@media (min-width: 1024px) {
  :root {
    --shell-pad: 40px;
  }

  .hero--centered {
    padding-top: 32px;
    padding-bottom: 40px;
    gap: 20px;
  }

  .features--centered {
    margin-top: 64px;
    gap: 56px;
  }

  .features--centered .phone--md {
    --phone-w: 260px;
  }

  .phone-cluster {
    max-width: 540px;
    gap: 14px;
    margin-top: 20px;
  }

  .phone-cluster .phone--side {
    --phone-w: 196px;
  }

  .phone-cluster .phone--lead {
    --phone-w: 240px;
  }
}

