/* =========================================================================
   One Dollar Hub — website design system
   Dark cinematic heroes → light product sections → dark emotional CTAs.
   Product accents: Dates coral #fa7b68 · Mates blue #3db4ff.
   ========================================================================= */

:root {
  /* Dark surfaces (chrome, heroes, CTA bands, legal pages) */
  --bg: #07080c;
  --bg-2: #0c1016;
  --surface: rgba(18, 22, 30, 0.88);
  --text: #f4f1ea;
  --muted: #a8b0bd;
  --border: rgba(255, 255, 255, 0.08);

  /* Light surfaces (product sections) */
  --paper: #ffffff;
  --paper-2: #f5f6f9;
  --ink: #111722;
  --ink-2: #2c3440;
  --ink-muted: #59636f;
  --line: rgba(16, 22, 34, 0.1);
  --line-strong: rgba(16, 22, 34, 0.16);

  /* Product accent (Dates by default) */
  --accent: #fa7b68;
  --accent-deep: #e86858;
  --accent-ink: #140d0a;
  --accent-text: #c03f2b;
  --accent-soft: rgba(250, 123, 104, 0.12);
  --glow: rgba(250, 123, 104, 0.22);

  /* Secondary accent (used by the Hub theme) */
  --accent-2: #3db4ff;
  --accent-2-deep: #1a7cff;
  --accent-2-text: #0b62c4;
  --accent-2-soft: rgba(61, 180, 255, 0.12);

  --ok: #3ddc97;
  --header-h: 72px;
  --wrap: 1140px;
  --radius-card: 22px;
  --shadow-light: 0 12px 34px rgba(16, 22, 34, 0.08);
  --shadow-light-lg: 0 22px 60px rgba(16, 22, 34, 0.12);
}

html[data-theme='mates'] {
  --accent: #3db4ff;
  --accent-deep: #1a7cff;
  --accent-ink: #061018;
  --accent-text: #0b62c4;
  --accent-soft: rgba(61, 180, 255, 0.12);
  --glow: rgba(61, 180, 255, 0.22);
  --accent-2: #fa7b68;
  --accent-2-deep: #e86858;
  --accent-2-text: #c03f2b;
  --accent-2-soft: rgba(250, 123, 104, 0.12);
}

html[data-theme='safety'] {
  --accent: #7f9bc1;
  --accent-deep: #5b7a9f;
  --accent-ink: #05080d;
  --accent-text: #3f5d80;
  --accent-soft: rgba(127, 155, 193, 0.14);
  --glow: rgba(127, 155, 193, 0.2);
}

/* Safety keeps a calm palette, but the primary CTA stays brand coral so
   Preregister reads the same on every page. */
html[data-theme='safety'] .btn-primary {
  background: linear-gradient(135deg, #fa7b68, #e86858);
  color: #140d0a;
  box-shadow: 0 14px 30px rgba(250, 123, 104, 0.24);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

html,
body {
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Manrope, system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.62;
  background: var(--bg);
}

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

a {
  color: var(--accent);
}

:where(h1, h2, h3, h4) {
  text-wrap: balance;
}

/* Focus visibility — never removed */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 90;
  padding: 10px 14px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 800;
  border-radius: 10px;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

/* =========================================================================
   Header / navigation
   Chrome stays dark on every page so the real logo assets (which have a
   dark background baked in) always sit on a matching surface.
   ========================================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(7, 8, 12, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}

.site-brand img {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  object-fit: cover;
  background: #0a0b10;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-text b {
  font-family: Fraunces, Georgia, serif;
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.3;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 17px;
  height: 2px;
  margin: 3px auto;
  background: currentColor;
  border-radius: 2px;
  content: '';
}

.nav-toggle span {
  content: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 12px;
  border-radius: 10px;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a.is-active {
  color: var(--text);
}

.site-nav a.is-active::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.site-nav .nav-demo {
  color: var(--text);
}

.site-nav .btn-primary {
  margin-left: 8px;
  min-height: 44px;
  padding: 10px 20px;
}

.site-nav .btn-primary::after {
  display: none;
}

/* =========================================================================
   Buttons, pills, links
   ========================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.14s ease, filter 0.14s ease, background-color 0.14s ease;
}

.btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn-primary,
.site-nav .btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: var(--accent-ink);
  box-shadow: 0 14px 30px var(--glow);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-line:hover {
  background: rgba(16, 22, 34, 0.04);
}

.btn-wide {
  width: 100%;
}

.btn-sm {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 0.92rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  text-decoration: none;
  color: var(--accent-text);
}

.band-dark .text-link {
  color: var(--accent);
}

.text-link::after {
  content: '→';
  transition: transform 0.15s ease;
}

.text-link:hover::after {
  transform: translateX(3px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 0.82rem;
  font-weight: 700;
}

.pill span,
.pill b {
  color: var(--accent);
}

.band-light .pill,
.band-paper .pill {
  border-color: var(--line-strong);
  background: var(--paper);
  color: var(--ink);
}

.band-light .pill span,
.band-paper .pill span,
.band-light .pill b,
.band-paper .pill b {
  color: var(--accent-text);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.price-row,
.price-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tag {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--accent-ink);
}

/* =========================================================================
   Bands (section shells)
   ========================================================================= */

.band {
  position: relative;
  z-index: 1;
  padding: 76px 0;
}

.band-tight {
  padding: 52px 0;
}

.band-dark {
  color: var(--text);
  background:
    radial-gradient(900px 520px at 85% -10%, var(--glow), transparent 58%),
    linear-gradient(180deg, #10141c 0%, var(--bg) 55%, #05060a 100%);
}

.band-light {
  color: var(--ink);
  background: var(--paper);
}

.band-paper {
  color: var(--ink);
  background: var(--paper-2);
}

.band-light.tint-dates,
.band-paper.tint-dates {
  background:
    linear-gradient(180deg, rgba(250, 123, 104, 0.08), rgba(250, 123, 104, 0.03)),
    var(--paper);
}

.band-light.tint-mates,
.band-paper.tint-mates {
  background:
    linear-gradient(180deg, rgba(61, 180, 255, 0.08), rgba(61, 180, 255, 0.03)),
    var(--paper);
}

.band-light.tint-hub {
  background:
    linear-gradient(110deg, rgba(250, 123, 104, 0.08), rgba(61, 180, 255, 0.08)),
    var(--paper);
}

.band-light h2,
.band-paper h2,
.band-light h3,
.band-paper h3 {
  color: var(--ink);
}

.band-light p,
.band-paper p {
  color: var(--ink-muted);
}

.band-seam {
  height: 1px;
  border: 0;
  margin: 0;
  background: var(--line);
}

/* =========================================================================
   Type scale
   ========================================================================= */

.kicker,
.step-kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.band-light .kicker,
.band-paper .kicker,
.band-light .step-kicker,
.band-paper .step-kicker {
  color: var(--accent-text);
}

.kicker-2 {
  color: var(--accent-2) !important;
}

.band-light .kicker-2,
.band-paper .kicker-2 {
  color: var(--accent-2-text) !important;
}

.display {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2.1rem, 7vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0 0 18px;
  font-weight: 700;
}

.display em,
.display .accent {
  font-style: normal;
  color: var(--accent);
}

.band-light .display .accent,
.band-paper .display .accent {
  color: var(--accent-text);
}

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

.band h2,
.section-title {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.72rem, 4vw, 2.7rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 14px;
  font-weight: 700;
}

.band h3 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.32rem, 2.6vw, 1.85rem);
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin: 0 0 10px;
  font-weight: 700;
}

.lede {
  margin: 0;
  max-width: 40ch;
  color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.12rem);
  line-height: 1.6;
}

.section-lead {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.6;
}

.band-light .section-lead,
.band-paper .section-lead {
  color: var(--ink-muted);
}

.center {
  text-align: center;
}

.center .section-lead,
.center .lede {
  margin-left: auto;
  margin-right: auto;
}

.band-head {
  max-width: 62ch;
  margin-bottom: 40px;
}

.band-head.center {
  margin-left: auto;
  margin-right: auto;
}

.fine {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.band-light .fine,
.band-paper .fine {
  color: var(--ink-muted);
}

/* =========================================================================
   Hero
   ========================================================================= */

.hero {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 44px 0 56px;
  background: linear-gradient(180deg, #0c1016, var(--bg));
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 6, 10, 0.82) 0%, rgba(5, 6, 10, 0.6) 45%, rgba(5, 6, 10, 0.94) 100%),
    radial-gradient(800px 420px at 82% 10%, var(--glow), transparent 60%);
}

.hero-grid {
  display: grid;
  gap: 34px;
  align-items: center;
}

.hero-copy {
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-chip::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.trust-row b {
  color: var(--text);
}

.hero-brand {
  display: block;
  width: clamp(112px, 22vw, 156px);
  height: auto;
  margin: 0 0 22px;
  border-radius: 50%;
  box-shadow: 0 18px 46px rgba(16, 22, 34, 0.28);
}

.center .hero-brand {
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================================
   Phone mockups
   ========================================================================= */

.phone {
  /* Scales with the viewport so an overlapping pair never overflows its
     grid column and gets clipped by the hero's overflow: hidden. */
  --phone-w: clamp(212px, 19vw, 288px);
  position: relative;
  width: var(--phone-w);
  padding: 8px;
  border-radius: 42px;
  background: linear-gradient(160deg, #20242e, #0e1116);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.55),
    0 0 70px var(--glow);
  flex: none;
}

.phone img {
  display: block;
  width: 100%;
  border-radius: 34px;
  background: #0b0d12;
}

.band-light .phone,
.band-paper .phone {
  box-shadow:
    0 26px 56px rgba(16, 22, 34, 0.24),
    0 0 0 1px rgba(16, 22, 34, 0.05);
}

.phone-stack {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 10px 0;
  max-width: 100%;
}

.phone-stack .phone + .phone {
  margin-left: -54px;
}

.phone-lead {
  z-index: 2;
  --phone-w: clamp(224px, 20vw, 302px);
}

.phone-tilt-l {
  transform: rotate(-5deg);
}

.phone-tilt-r {
  transform: rotate(5deg);
  z-index: 1;
}

.phone-hero {
  justify-self: center;
}

/* Screenshot cropped inside a light feature card */
.shot {
  margin-top: 18px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b0d12;
  box-shadow: inset 0 -30px 40px -30px rgba(0, 0, 0, 0.6);
}

.shot img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: 50% 0;
}

.shot-tall img {
  height: 300px;
}

/* =========================================================================
   Cards
   ========================================================================= */

.grid {
  display: grid;
  gap: 18px;
  /* Cards hug their content — some have a screenshot, some don't, and
     stretching the short ones leaves dead space. */
  align-items: start;
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3,
.grid-4 {
  grid-template-columns: 1fr;
}

.fcard {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-light);
}

.fcard h3 {
  font-family: Manrope, system-ui, sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--ink);
}

.fcard p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.fcard ul {
  margin: 12px 0 0;
  padding-left: 1.1rem;
  color: var(--ink-muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

.fcard li + li {
  margin-top: 5px;
}

.fcard-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.fcard-head h3 {
  margin: 0;
}

.band-dark .fcard {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.band-dark .fcard h3 {
  color: var(--text);
}

.band-dark .fcard p,
.band-dark .fcard ul {
  color: var(--muted);
}

.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--accent), var(--accent-deep));
  color: #fff;
  flex: none;
}

.icon-tile svg {
  width: 21px;
  height: 21px;
  display: block;
}

.icon-tile-2 {
  background: linear-gradient(140deg, var(--accent-2), var(--accent-2-deep));
}

.icon-tile-soft {
  background: var(--accent-soft);
  color: var(--accent-text);
}

.icon-tile-lg {
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

.icon-tile-lg svg {
  width: 26px;
  height: 26px;
}

/* Compact icon + text row (safety grids, proposition strips) */
.irow {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.irow h3 {
  font-family: Manrope, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  margin: 0 0 4px;
  color: var(--ink);
}

.irow p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

.band-dark .irow h3 {
  color: var(--text);
}

.band-dark .irow p {
  color: var(--muted);
}

/* Mode cards (Dates / Mates intro) */
.mode-block {
  display: grid;
  gap: 28px;
  align-items: center;
}

.mode-points {
  display: grid;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.mode-points li {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}

.mode-points b {
  display: block;
  color: var(--ink);
  font-size: 0.97rem;
}

.mode-points span {
  color: var(--ink-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

/* Stats trio */
.stat-grid {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.stat {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  text-align: left;
}

.stat b {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.9rem;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.stat strong {
  display: block;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.stat span {
  display: block;
  margin-top: 6px;
  color: var(--ink-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.stat .icon-tile {
  margin-bottom: 12px;
}

/* Story rows (alternating copy + phone) */
.story {
  display: grid;
  gap: 30px;
  align-items: center;
  margin-top: 58px;
}

.story:first-of-type {
  margin-top: 36px;
}

.story-copy p {
  margin: 0;
  line-height: 1.6;
  max-width: 44ch;
}

.story-copy ul {
  margin: 16px 0 0;
  padding-left: 1.15rem;
  line-height: 1.55;
  max-width: 44ch;
}

.story-copy li + li {
  margin-top: 6px;
}

.story-copy .text-link {
  margin-top: 16px;
}

.story-media {
  display: flex;
  justify-content: center;
}

/* Photo band */
.photo-band {
  position: relative;
  margin: 0;
  overflow: hidden;
  z-index: 1;
}

.photo-band img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.photo-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 8, 12, 0.3), rgba(7, 8, 12, 0.85));
}

.photo-band-copy {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 0 0 34px;
}

.photo-band-copy h2 {
  color: var(--text);
  margin-bottom: 8px;
}

.photo-band-copy p {
  color: var(--muted);
  max-width: 46ch;
  margin: 0;
}

/* CTA blocks */
.cta-band {
  position: relative;
  overflow: hidden;
  z-index: 1;
  padding: 78px 0;
  text-align: center;
  color: var(--text);
  background:
    radial-gradient(620px 260px at 50% 0%, var(--glow), transparent 62%),
    linear-gradient(180deg, #0d1118, #05060a);
}

.cta-band h2 {
  color: var(--text);
}

.cta-band .section-lead {
  color: var(--muted);
  margin-left: auto;
  margin-right: auto;
}

.cta-band .hero-actions {
  justify-content: center;
}

.cta-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 6, 10, 0.86), rgba(5, 6, 10, 0.93));
}

.final-cta,
.cta-strip {
  padding: 44px 24px;
  text-align: center;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background:
    radial-gradient(500px 180px at 50% 0%, var(--glow), transparent 60%),
    var(--surface);
}

.final-cta .hero-actions,
.cta-strip .hero-actions {
  justify-content: center;
}

/* Journey strip */
.journey {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.journey-step {
  padding: 18px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  text-align: left;
}

.journey-step b {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.12rem;
  margin-bottom: 3px;
  color: var(--ink);
}

.journey-step span {
  color: var(--ink-muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

.journey-step .num {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent-text);
  margin-bottom: 6px;
}

.band-dark .journey-step {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.band-dark .journey-step b {
  color: var(--text);
}

.band-dark .journey-step span {
  color: var(--muted);
}

.band-dark .journey-step .num {
  color: var(--accent);
}

/* =========================================================================
   Giveaway / prizes
   ========================================================================= */

.card {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-card);
}

.band-light .card,
.band-paper .card {
  border-color: var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-light);
}

.giveaway {
  position: relative;
  overflow: hidden;
  padding: 32px 26px;
  border-radius: 26px;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--border));
  background:
    radial-gradient(560px 220px at 100% 0%, var(--glow), transparent 58%),
    linear-gradient(180deg, rgba(20, 24, 33, 0.94), rgba(10, 13, 18, 0.96));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
  color: var(--text);
}

/* The giveaway / pricing panel is a deliberate dark island. It has to beat the
   light-band card rules above, hence the band-scoped selectors. */
.band-light .giveaway,
.band-paper .giveaway {
  border-color: color-mix(in srgb, var(--accent) 38%, var(--border));
  background:
    radial-gradient(560px 220px at 100% 0%, var(--glow), transparent 58%),
    linear-gradient(180deg, rgba(20, 24, 33, 0.97), rgba(10, 13, 18, 0.99));
  box-shadow: 0 30px 70px rgba(16, 22, 34, 0.24);
  color: var(--text);
}

.giveaway h2,
.giveaway h3,
.band-light .giveaway h2,
.band-paper .giveaway h2,
.band-light .giveaway h3,
.band-paper .giveaway h3,
.band-light .giveaway .display,
.band-paper .giveaway .display {
  color: var(--text);
}

.giveaway p,
.band-light .giveaway p,
.band-paper .giveaway p,
.band-light .giveaway .section-lead,
.band-paper .giveaway .section-lead,
.band-light .giveaway .fine,
.band-paper .giveaway .fine {
  color: var(--muted);
}

.band-light .giveaway .kicker,
.band-paper .giveaway .kicker {
  color: var(--accent);
}

/* CTA cards follow their band instead. */
.band-light .final-cta,
.band-paper .final-cta,
.band-light .cta-strip,
.band-paper .cta-strip {
  border-color: var(--line);
  background:
    radial-gradient(500px 200px at 50% 0%, var(--accent-soft), transparent 62%),
    var(--paper);
  box-shadow: var(--shadow-light-lg);
  color: var(--ink);
}

.band-light .final-cta h2,
.band-paper .final-cta h2,
.band-light .cta-strip h2,
.band-paper .cta-strip h2 {
  color: var(--ink);
}

.prize-grid {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
}

.prize {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
}

.prize-hero {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  background:
    radial-gradient(280px 160px at 0% 0%, var(--accent-soft), transparent 70%),
    rgba(0, 0, 0, 0.32);
}

.prize .tag {
  align-self: flex-start;
  margin-bottom: 12px;
}

.prize strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.02rem;
  color: var(--text);
}

.prize p,
.prize ul {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

.prize ul {
  padding-left: 1.05rem;
}

.prize li + li {
  margin-top: 5px;
}

.prize-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}

.prize-logos img {
  height: 34px;
  width: auto;
  max-width: 108px;
  border-radius: 8px;
  background: #0f1116;
  padding: 3px 6px;
}

.giveaway-media {
  margin: 26px -26px -32px;
  border-radius: 0;
  overflow: hidden;
  position: relative;
}

.giveaway-media img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.giveaway-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 13, 18, 0.55), rgba(10, 13, 18, 0.1));
}

/* =========================================================================
   Preregistration form
   ========================================================================= */

.prereg-layout {
  display: grid;
  gap: 30px;
}

.prereg-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.prereg-copy .reassure {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.prereg-copy .reassure b {
  color: var(--text);
}

.form-card,
.lookup-card,
.ok {
  padding: 26px;
}

.form-card {
  border-radius: 24px;
}

form#waitlist,
.form-grid {
  display: grid;
  gap: 18px;
}

.form-step {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0 0 18px;
  border: 0;
  border-bottom: 1px solid var(--border);
  min-inline-size: 0;
}

.form-step:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}

.form-step legend {
  padding: 0;
  margin-bottom: 4px;
  font-weight: 800;
  color: var(--text);
}

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  border-radius: 13px;
  border: 1px solid var(--border);
  background: #0d131a;
  color: var(--text);
  font: inherit;
  font-size: 1rem; /* keeps iOS from zooming on focus */
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: #77808d;
}

input:focus,
select:focus,
textarea:focus {
  border-color: color-mix(in srgb, var(--accent) 60%, transparent);
  box-shadow: 0 0 0 3px var(--glow);
}

.check {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.45;
}

.check input {
  width: auto;
  min-width: 20px;
  min-height: 20px;
  margin: 3px 0 0;
}

.gender-pick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.gender-opt {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.gender-opt input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.gender-opt span {
  display: block;
  text-align: center;
  padding: 14px 8px;
  border-radius: 13px;
  border: 1px solid var(--border);
  background: #0d131a;
  color: var(--muted);
  font-weight: 700;
}

.gender-opt input:checked + span {
  border-color: color-mix(in srgb, var(--accent) 65%, transparent);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--text);
}

.gender-opt input:focus-visible + span {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.field-note,
.note {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.live-count {
  margin: 0;
  color: var(--ok);
  font-weight: 800;
}

.ref-banner {
  padding: 13px 15px;
  border-radius: 13px;
  background: rgba(61, 220, 151, 0.1);
  border: 1px solid rgba(61, 220, 151, 0.28);
  font-size: 0.92rem;
  color: var(--muted);
}

.ref-banner strong {
  display: block;
  color: var(--ok);
}

.ok {
  display: none;
  margin-top: 20px;
  border-radius: 20px;
  background: rgba(61, 220, 151, 0.08);
  border: 1px solid rgba(61, 220, 151, 0.3);
}

.ok.is-visible {
  display: block;
}

.ok strong {
  color: var(--ok);
  font-size: 1.15rem;
  display: block;
}

.ok p {
  color: var(--muted);
}

.saved-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0b1a14;
  background: var(--ok);
}

.ok-giveaway {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(61, 220, 151, 0.25);
}

code {
  padding: 2px 7px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.95em;
}

.copy-btn {
  margin-top: 12px;
  width: auto;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.lookup-card {
  margin-top: 24px;
}

/* =========================================================================
   FAQ
   ========================================================================= */

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

.faq-item {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-light);
}

.faq-item dt {
  margin: 0;
}

.faq-item button {
  width: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-item button::after {
  content: '+';
  color: var(--accent-text);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  flex: none;
}

.faq-item.is-open button::after {
  content: '–';
}

.faq-item dd {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--ink-muted);
  line-height: 1.6;
}

.faq-item dd a {
  color: var(--accent-text);
}

.band-dark .faq-item {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.band-dark .faq-item button {
  color: var(--text);
}

.band-dark .faq-item button::after {
  color: var(--accent);
}

.band-dark .faq-item dd {
  color: var(--muted);
}

.faq-group {
  margin-top: 48px;
}

.faq-group:first-of-type {
  margin-top: 24px;
}

.faq-group h2 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  margin-bottom: 4px;
}

/* =========================================================================
   Footer
   ========================================================================= */

.site-footer {
  position: relative;
  z-index: 1;
  padding: 60px 0 40px;
  color: var(--muted);
  font-size: 0.9rem;
  background: linear-gradient(180deg, #05060a, #040508);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-top {
  display: grid;
  gap: 34px;
}

.footer-brand {
  max-width: 30ch;
}

.footer-brand .site-brand {
  margin-bottom: 14px;
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

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

.footer-col h2 {
  margin: 0 0 12px;
  font-family: Manrope, system-ui, sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.footer-col a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.82rem;
}

/* Legacy inline footer link list (kept so older markup still renders) */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.footer-links a {
  text-decoration: none;
  font-weight: 700;
  color: var(--muted);
}

/* =========================================================================
   Legal / contact pages
   ========================================================================= */

.legal-page {
  background: linear-gradient(180deg, #0c1016 0%, var(--bg) 45%, #05060a 100%);
}

.legal-hero {
  padding: 48px 0 8px;
  position: relative;
  z-index: 1;
}

.legal-page .shell,
.legal-page .legal-wrap {
  position: relative;
  z-index: 1;
  width: min(780px, calc(100% - 40px));
  margin: 0 auto;
  padding: 8px 0 84px;
}

.legal-page .card {
  padding: 26px 26px 10px;
  border-radius: var(--radius-card);
}

.legal-page h1 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 10px;
}

.legal-page .meta,
.legal-page .lead {
  color: var(--muted);
  margin: 0 0 26px;
  max-width: 62ch;
}

.legal-page .back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 18px;
  font-weight: 700;
  text-decoration: none;
}

.legal-page .card h2 {
  font-family: Manrope, system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--text);
}

.legal-page .card section {
  margin-bottom: 24px;
}

.legal-page .card p,
.legal-page .card li {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.legal-page .card ul {
  padding-left: 1.2rem;
  margin: 8px 0 0;
}

.legal-page .card li {
  margin-bottom: 7px;
}

.legal-page .note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 13px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.88rem;
  color: var(--muted);
}

.legal-page footer:not(.site-footer) {
  margin-top: 36px;
  color: var(--muted);
  font-size: 0.82rem;
}

.contact-card {
  padding: 26px;
}

.contact-card .field {
  margin-bottom: 18px;
}

.contact-card label {
  margin-bottom: 0;
}

.contact-card textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-card button[type='submit'] {
  width: 100%;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: var(--accent-ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.contact-card button[type='submit']:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.status {
  margin-top: 14px;
  font-weight: 700;
}

.status.ok {
  color: var(--ok);
  display: block;
  background: none;
  border: 0;
  padding: 0;
  margin-top: 14px;
}

.status.err {
  color: #ff6b81;
}

/* =========================================================================
   Reveal animation
   ========================================================================= */

/* Only applied once JS confirms support, so no-JS visitors always see content. */
html.js-reveal .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 360ms ease, transform 360ms ease;
  will-change: opacity, transform;
}

html.js-reveal .reveal.is-in {
  opacity: 1;
  transform: none;
}

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

  html.js-reveal .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover,
  .text-link:hover::after {
    transform: none;
  }
}

/* =========================================================================
   Responsive
   ========================================================================= */

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 14px 20px 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #06070b;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.5);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 14px 12px;
    font-size: 1rem;
    border-radius: 12px;
  }

  .site-nav a:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .site-nav a.is-active {
    background: rgba(255, 255, 255, 0.06);
  }

  .site-nav a.is-active::after {
    left: 12px;
    right: auto;
    top: 50%;
    bottom: auto;
    width: 3px;
    height: 20px;
    transform: translateY(-50%);
  }

  .site-nav .nav-demo {
    order: 8;
  }

  .site-nav .btn-primary {
    order: 9;
    margin: 10px 0 0;
    min-height: 52px;
    width: 100%;
  }
}

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

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

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

  .prize-logos img {
    height: 36px;
  }
}

@media (min-width: 760px) {
  .photo-band img {
    height: 360px;
  }

  .prize-grid {
    grid-template-columns: 1.25fr 1fr 1fr;
  }

  .giveaway {
    padding: 36px 32px;
  }

  .giveaway-media {
    margin: 30px -32px -36px;
  }

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

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

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

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

  .hero {
    padding: 64px 0 76px;
  }

  .hero-grid {
    grid-template-columns: 1.02fr 0.98fr;
    gap: 48px;
  }

  .story,
  .mode-block {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 52px;
  }

  .story.is-reverse .story-copy,
  .mode-block.is-reverse .mode-copy {
    order: 2;
  }

  .story.is-reverse .story-media,
  .mode-block.is-reverse .mode-media {
    order: 1;
  }

  .prereg-layout {
    grid-template-columns: 0.92fr 1.08fr;
    grid-template-areas:
      'copy rail'
      'steps steps';
    align-items: start;
    gap: 48px;
  }

  .prereg-copy {
    grid-area: copy;
  }

  .prereg-rail {
    grid-area: rail;
  }

  .prereg-steps.journey {
    grid-area: steps;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

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

  .footer-cols {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .photo-band img {
    height: 420px;
  }

  .photo-band-copy {
    padding-bottom: 44px;
  }
}

@media (min-width: 1200px) {
  .phone-stack .phone + .phone {
    margin-left: -62px;
  }
}

/* Mobile: one readable phone, no rotation, no clusters. */
@media (max-width: 700px) {
  .phone-stack .phone + .phone {
    display: none;
  }

  .phone-tilt-l,
  .phone-tilt-r {
    transform: none;
  }

  .phone {
    --phone-w: min(300px, 78vw);
  }

  .phone-lead {
    --phone-w: min(310px, 80vw);
  }

  .hero-actions .btn,
  .cta-band .hero-actions .btn,
  .final-cta .hero-actions .btn {
    width: 100%;
  }

  .hero-media img {
    object-position: 60% 38%;
  }
}

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

  .band {
    padding: 58px 0;
  }

  .band-tight {
    padding: 42px 0;
  }

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

  .gender-pick {
    grid-template-columns: 1fr;
  }

  .form-card,
  .lookup-card,
  .ok {
    padding: 20px;
  }

  .giveaway {
    padding: 24px 20px;
  }

  .giveaway-media {
    margin: 22px -20px -24px;
  }

  .giveaway-media img {
    height: 170px;
  }

  .fcard {
    padding: 20px;
  }

  .photo-band img {
    height: 260px;
  }

  .shot img {
    height: 180px;
  }

  .brand-text span {
    display: none;
  }
}

@media (max-width: 380px) {
  .site-brand img {
    width: 38px;
    height: 38px;
  }

  .brand-text b {
    font-size: 0.96rem;
  }

  .phone {
    --phone-w: min(272px, 82vw);
  }
}
