/* ── TOKENS ─────────────────────────────────────────────────────────────────────────── */
:root {
  --navy: #1A2B4C;
  --paper: #F9F7F2;
  --snow: #F4F1EA;
  --amber: #D4A058;
  --text: #1C1A16;
  --mid: #4A4438;
  --light: #7A7264;
  --rule: #E2DCCE;
  --rust: #B46545;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --ease-enter: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-exit:  cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html, body {
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  scroll-behavior: smooth;
}
/* Belt-and-suspenders horizontal-overflow clamp. iOS Safari can still
   surface document-level horizontal scroll when only body has
   overflow-x: hidden — `overflow-x: clip` on html stops the page from
   ever scrolling sideways no matter what a descendant does. clip is
   preferred over hidden because it doesn't establish a containing
   block for fixed-positioned descendants (the gate + install modal). */
html { overflow-x: clip; }
body { overflow-x: hidden; min-height: 100vh; }

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

button { font-family: inherit; }

/* ── BUTTONS ────────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  border-radius: 12px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--navy);
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
  transition: transform 140ms var(--ease-spring),
              box-shadow 140ms var(--ease-exit),
              background 140ms var(--ease-exit);
  will-change: transform;
}
.btn:active { transform: scale(0.965); }
.btn:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}
.btn-amber {
  background: var(--amber);
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(212,160,88,0.18);
}
.btn-amber:hover { background: #c8943e; }
.btn-navy {
  background: var(--navy);
  color: var(--snow);
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(26,43,76,0.18);
}
.btn-navy:hover { background: #243557; }
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(26,43,76,0.22);
  color: var(--navy);
}
.btn-outline:hover {
  border-color: rgba(26,43,76,0.45);
  background: rgba(26,43,76,0.03);
}
.btn-lg { padding: 14px 26px; font-size: 15px; min-height: 48px; }

/* ── NAV ───────────────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 32px;
  background: rgba(249, 247, 242, 0);
  backdrop-filter: saturate(180%) blur(0px);
  -webkit-backdrop-filter: saturate(180%) blur(0px);
  border-bottom: 1px solid transparent;
  transition:
    background 220ms var(--ease-exit),
    backdrop-filter 220ms var(--ease-exit),
    -webkit-backdrop-filter 220ms var(--ease-exit),
    border-bottom-color 220ms var(--ease-exit);
}
.nav.nav-scrolled {
  background: rgba(249, 247, 242, 0.86);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: rgba(26, 43, 76, 0.06);
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-mark { flex-shrink: 0; border-radius: 8px; }
.nav-wordmark {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
}
.nav-platform {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--light);
  align-self: center;
  margin-left: -4px;
  margin-top: 6px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: 24px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--mid);
  transition: color 140ms var(--ease-exit);
}
.nav-links a:hover { color: var(--navy); }
.nav-cta {
  margin-left: auto;
  padding: 10px 18px;
  font-size: 13px;
}

/* ── HERO ─────────────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 96px 32px 100px;
  overflow: hidden;
  background: var(--paper);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-bg {
  will-change: transform;
}
.hero-bg svg {
  width: 100%;
  height: 100%;
}
.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.45;
}
.orb-a {
  top: 80px;
  right: 8%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, var(--amber), transparent 70%);
  opacity: 0.30;
}
.orb-b {
  bottom: -40px;
  left: 12%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(26,43,76,0.18), transparent 70%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin-bottom: 22px;
}
.hero-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--mid);
  max-width: 620px;
  margin: 0 auto 32px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.hero-actions-stack {
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.hero-text-link {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--mid);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding: 4px 2px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.hero-text-link:hover,
.hero-text-link:focus-visible {
  color: var(--text);
  border-bottom-color: var(--amber);
}
.hero-fineprint {
  font-size: 13px;
  color: var(--light);
  letter-spacing: 0.02em;
}

/* ── DEVICE FRAME (the app, on a phone) ──────────────────────────── */
.band-app .band-title { margin-bottom: 14px; }
.band-app .band-lede { margin-bottom: 44px; }
.device-frame {
  display: flex;
  justify-content: center;
  margin: 0 auto 32px;
}
.device-frame-bezel {
  width: 320px;
  aspect-ratio: 9 / 19.5;
  background: #0a0a0a;
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 30px 60px -20px rgba(28, 26, 22, 0.45),
    0 12px 24px -12px rgba(28, 26, 22, 0.35);
  position: relative;
}
.device-frame-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 26px;
  background: #0a0a0a;
  border-radius: 14px;
  z-index: 2;
}
.device-frame-screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  background: var(--paper);
  position: relative;
}
.device-frame-cta {
  display: flex;
  justify-content: center;
}

/* ── APP MOCK (in the device frame) ───────────────────────────── */
/* Stylized recreation of the Collection screen — Polaroid recent capture,
   Locker grid, brand tab bar. Pure CSS/SVG, no iframe. */
.app-mock {
  width: 100%;
  height: 100%;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  color: var(--text);
  overflow: hidden;
  position: relative;
}
.app-mock-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  margin-top: 18px; /* clear of the notch */
}
.app-mock-status-glyphs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--navy);
}
.app-mock-header {
  padding: 6px 18px 12px;
}
.app-mock-eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 4px;
}
.app-mock-greeting {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.app-mock-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--light);
}
.app-mock-attestation {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--amber);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 9px;
}
.app-mock-count {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
}

/* Polaroid recent-capture card */
.app-mock-polaroid {
  margin: 0 18px;
  background: #fff;
  border-radius: 10px;
  padding: 8px 8px 14px;
  box-shadow:
    0 0 0 1px rgba(26,43,76,0.05),
    0 4px 10px rgba(28,26,22,0.06),
    0 14px 28px -10px rgba(28,26,22,0.18);
  transform: rotate(-0.6deg);
}
.app-mock-album {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.app-mock-album-recent {
  background:
    radial-gradient(circle at 28% 22%, rgba(212,160,88,0.55), transparent 55%),
    linear-gradient(140deg, #1a2b4c 0%, #2b3f5e 50%, #0f1a30 100%);
}
.app-mock-album-grain {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(115deg, rgba(244,241,234,0.04) 0 1px, transparent 1px 3px),
    repeating-radial-gradient(circle at 50% 50%, rgba(0,0,0,0.18) 0 1px, transparent 1px 6px);
  mix-blend-mode: overlay;
  opacity: 0.7;
}
.app-mock-album-spindle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 22%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--amber);
  box-shadow:
    0 0 0 4px rgba(28,26,22,0.5),
    0 0 0 5px rgba(212,160,88,0.3);
}
.app-mock-polaroid-label {
  padding: 10px 6px 0;
  font-family: var(--serif);
}
.app-mock-polaroid-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.012em;
}
.app-mock-polaroid-artist {
  font-size: 11px;
  font-style: italic;
  color: var(--mid);
  margin-top: 1px;
  font-family: var(--serif);
}

/* Locker grid — 2 columns of stylized album art tiles */
.app-mock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 18px;
}
.app-mock-tile {
  aspect-ratio: 1;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(26,43,76,0.06),
    0 6px 14px -4px rgba(28,26,22,0.14);
}
.app-mock-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(110deg, rgba(244,241,234,0.05) 0 1px, transparent 1px 2px);
  mix-blend-mode: overlay;
}
.app-mock-tile[data-art="bowie"] {
  background:
    radial-gradient(circle at 70% 30%, rgba(180,101,69,0.85), transparent 55%),
    linear-gradient(160deg, #1c1a16 0%, #4a3a30 100%);
}
.app-mock-tile[data-art="parton"] {
  background:
    radial-gradient(circle at 30% 70%, rgba(212,160,88,0.55), transparent 55%),
    linear-gradient(135deg, #f4e8d0 0%, #d4a058 100%);
}
.app-mock-tile[data-art="curtis"] {
  background:
    radial-gradient(circle at 60% 40%, rgba(244,241,234,0.18), transparent 60%),
    linear-gradient(150deg, #2c4a35 0%, #14241a 100%);
}
.app-mock-tile[data-art="davis"] {
  background:
    radial-gradient(circle at 25% 25%, rgba(180,101,69,0.4), transparent 60%),
    linear-gradient(145deg, #d6cab2 0%, #a89572 100%);
}

/* Bottom tab bar — pinned to the bottom of the screen */
.app-mock-tabs {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 4px 4px;
  background: rgba(244, 241, 234, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(26, 43, 76, 0.08);
}
.app-mock-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 10px;
  font-size: 9px;
  font-weight: 600;
  color: rgba(26, 43, 76, 0.45);
  letter-spacing: 0.04em;
}
.app-mock-tab svg { color: rgba(26, 43, 76, 0.55); }
.app-mock-tab-active { color: var(--navy); }
.app-mock-tab-active svg { color: var(--navy); }

.app-mock-home-indicator {
  width: 96px;
  height: 4px;
  border-radius: 2px;
  background: rgba(26, 43, 76, 0.4);
  margin: 6px auto 8px;
}

/* ── HOW IT WORKS (compressed three-line variant) ─────────────────── */
.how-compact .band-title { margin-bottom: 32px; }
.how-compact-list {
  list-style: none;
  counter-reset: how;
  padding: 0;
  margin: 0;
  text-align: left;
  max-width: 640px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.how-compact-list li {
  counter-increment: how;
  position: relative;
  padding: 18px 20px 18px 64px;
  background: rgba(28, 26, 22, 0.03);
  border-left: 2px solid var(--amber);
  border-radius: 6px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
}
.how-compact-list li::before {
  content: counter(how, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 18px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.04em;
}

/* ── BANDS ──────────────────────────────────────────────────────────────────── */
.band {
  padding: 96px 32px;
  position: relative;
  overflow: hidden;
}
.band-cream  { background: var(--snow); }
.band-paper  { background: var(--paper); }
.band-navy   { background: var(--navy); color: var(--snow); }
.band-amber  { background: linear-gradient(140deg, var(--amber), #c08a40); color: var(--navy); }
.band-navy-soft { background: linear-gradient(180deg, var(--navy), #243557); }

.band-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.band-inner-narrow { max-width: 720px; }

.band-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}
.band-eyebrow-on-dark { color: var(--amber); }

.band-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.012em;
  color: var(--navy);
  margin-bottom: 18px;
}
.band-title-on-dark { color: var(--snow); }

.band-lede {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.65;
  color: var(--mid);
  max-width: 640px;
  margin-bottom: 40px;
}
.band-lede-on-dark { color: rgba(244,241,234,0.7); }

/* ── PHASE TAGS ────────────────────────────────────────────────────────────── */
/* Inline pill that flags content as Phase 2 / Phase 3. Sits next to
   eyebrows + section titles. Lower opacity than the brand amber so the
   eye reads "annotation" rather than "primary action." */
.phase-tag {
  display: inline-block;
  vertical-align: middle;
  padding: 3px 8px;
  margin-left: 8px;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.phase-tag--p2 { background: rgba(212, 160, 88, 0.18); color: var(--amber); }
.phase-tag--p3 { background: rgba(122, 114, 100, 0.16); color: var(--light); }
.band-amber .phase-tag--p2 { background: rgba(28, 26, 22, 0.14); color: rgba(28, 26, 22, 0.7); }

/* Section-level contextual note that explains a phase boundary. Sits inline
   with section content, low-key but visible. */
.phase-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 16px 20px;
  background: rgba(212, 160, 88, 0.08);
  border: 1px solid rgba(212, 160, 88, 0.20);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--mid);
}
.phase-note .phase-tag { margin-left: 0; flex-shrink: 0; }

/* ── PROBLEM ───────────────────────────────────────────────────────────────────── */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 36px;
}
.problem-cell {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow:
    0 0 0 1px rgba(26,43,76,0.04),
    0 1px 2px rgba(26,43,76,0.04),
    0 12px 28px rgba(26,43,76,0.06);
}
.problem-num {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.problem-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--mid);
}

/* ── HOW IT WORKS ───────────────────────────────────────────────────────────────────── */
.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.how-step {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(26,43,76,0.04),
    0 1px 2px rgba(26,43,76,0.04),
    0 12px 32px rgba(26,43,76,0.06);
}
.how-step-num {
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.18em;
  margin-bottom: 14px;
}
.how-step h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 12px;
}
.how-step p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--mid);
}

/* ── HARDWARE ───────────────────────────────────────────────────────────────────── */
.band-navy .band-eyebrow { color: var(--amber); }
.hardware-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 40px;
  margin-bottom: 36px;
}
.hw-card {
  background: rgba(244,241,234,0.04);
  border: 1px solid rgba(244,241,234,0.10);
  border-radius: 16px;
  padding: 26px;
  backdrop-filter: blur(8px);
}
.hw-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: rgba(244,241,234,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.hw-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--snow);
  margin-bottom: 4px;
}
.hw-format {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}
.hw-body {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(244,241,234,0.7);
  margin-bottom: 18px;
}
.hw-price {
  font-size: 12px;
  font-weight: 600;
  color: rgba(244,241,234,0.85);
  letter-spacing: 0.04em;
}
.hw-foot {
  text-align: center;
  margin-top: 28px;
  padding: 22px 28px;
  background: rgba(212,160,88,0.10);
  border: 1px solid rgba(212,160,88,0.25);
  border-radius: 14px;
}
.hw-foot p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(244,241,234,0.85);
  max-width: 640px;
  margin: 0 auto;
}

/* ── PATENTS ───────────────────────────────────────────────────────────────────── */
.patent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.patent-card {
  background: #fff;
  border-radius: 14px;
  padding: 22px 22px 22px 78px;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(26,43,76,0.04),
    0 1px 2px rgba(26,43,76,0.04),
    0 8px 22px rgba(26,43,76,0.05);
}
.patent-pip {
  position: absolute;
  top: 22px;
  left: 22px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(212,160,88,0.16);
  color: var(--amber);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.patent-card h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 10px;
}
.patent-card p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--mid);
}

/* ── ARTIST ECONOMICS ──────────────────────────────────────────────────────────────── */
.band-amber .band-eyebrow { color: rgba(28,26,22,0.65); }
.band-amber .band-title { color: var(--navy); }
.band-amber .band-lede { color: rgba(28,26,22,0.78); }
.econ-row {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}
.econ-card {
  background: rgba(28,26,22,0.06);
  border: 1px solid rgba(28,26,22,0.12);
  border-radius: 14px;
  padding: 20px 36px;
  text-align: center;
  min-width: 200px;
}
.econ-stat {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
}
.econ-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(28,26,22,0.65);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-top: 8px;
}
.econ-vs {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: rgba(28,26,22,0.5);
}

/* ── PRICING ───────────────────────────────────────────────────────────────────── */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.tier-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 0 0 1px rgba(26,43,76,0.04),
    0 1px 2px rgba(26,43,76,0.04),
    0 10px 28px rgba(26,43,76,0.06);
}
.tier-card-featured {
  background: var(--navy);
  color: var(--snow);
  box-shadow:
    0 0 0 1px rgba(212,160,88,0.4),
    0 1px 2px rgba(26,43,76,0.06),
    0 22px 50px rgba(26,43,76,0.22);
  transition: transform 140ms var(--ease-spring), box-shadow 140ms var(--ease-exit);
  will-change: transform;
}
.tier-card-featured:active {
  transform: scale(0.99);
  box-shadow:
    0 0 0 1px rgba(212,160,88,0.5),
    0 1px 2px rgba(26,43,76,0.08),
    0 12px 28px rgba(26,43,76,0.18);
}
.tier-chip {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--navy);
  background: var(--amber);
  padding: 4px 9px;
  border-radius: 4px;
}
.tier-label {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}
.tier-card-featured .tier-label,
.tier-card-featured .tier-num,
.tier-card-featured .tier-tagline,
.tier-card-featured .tier-bullets li { color: var(--snow); }
.tier-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 12px;
}
.tier-num {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: -0.012em;
}
.tier-card-featured .tier-num { color: var(--amber); }
.tier-per {
  font-size: 14px;
  color: var(--light);
}
.tier-card-featured .tier-per { color: rgba(244,241,234,0.55); }
.tier-tagline {
  font-size: 13px;
  line-height: 1.55;
  color: var(--mid);
  margin-bottom: 20px;
}
.tier-card-featured .tier-tagline { color: rgba(244,241,234,0.7); }
.tier-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  flex: 1;
}
.tier-bullets li {
  font-size: 13px;
  line-height: 1.5;
  color: var(--mid);
  padding-left: 22px;
  position: relative;
}
.tier-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 9px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 9' fill='none' stroke='%23D4A058' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><polyline points='1,5 4.5,8 11,1.5'/></svg>");
  background-repeat: no-repeat;
}
.tier-card-featured .tier-bullets li {
  color: rgba(244,241,234,0.85);
}
.tier-cta {
  width: 100%;
  margin-top: auto;
}
.founding-fan {
  margin-top: 28px;
  padding: 22px 28px;
  background: rgba(212,160,88,0.10);
  border: 1px solid rgba(212,160,88,0.25);
  border-radius: 14px;
  text-align: center;
}
.founding-fan p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--mid);
  margin-top: 6px;
}

/* ── FOUNDER NOTE ───────────────────────────────────────────────────────────────────────── */
.founder-quote {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 28px);
  font-style: italic;
  line-height: 1.5;
  color: var(--snow);
  margin: 18px 0 16px;
}
.founder-sig {
  font-size: 13px;
  color: rgba(244,241,234,0.55);
  letter-spacing: 0.04em;
}

/* ── WAITLIST ───────────────────────────────────────────────────────────────────── */
.waitlist-inner { text-align: center; }
.waitlist-form {
  display: flex;
  gap: 10px;
  margin: 24px auto 12px;
  max-width: 480px;
}
.waitlist-form input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--rule);
  background: #fff;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color 140ms var(--ease-exit), box-shadow 140ms var(--ease-exit);
}
.waitlist-form input:focus-visible {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(212,160,88,0.18);
}
.waitlist-form button { min-width: 130px; }
.waitlist-status {
  font-size: 13px;
  color: var(--mid);
  min-height: 22px;
  margin-bottom: 6px;
}
.waitlist-status.ok    { color: #4F8F5A; }
.waitlist-status.error { color: var(--rust); }
.waitlist-fineprint {
  font-size: 12px;
  color: var(--light);
  line-height: 1.55;
}

/* ── FOOTER ────────────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--snow);
  border-top: 1px solid var(--rule);
  padding: 64px 32px 32px;
  color: var(--mid);
  font-size: 14px;
  line-height: 1.65;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-col-waitlist .footer-waitlist-tag {
  margin: 0 0 10px;
  color: var(--mid);
  font-size: 13px;
  line-height: 1.55;
}
.footer-waitlist-form {
  display: flex;
  gap: 6px;
}
.footer-waitlist-form input {
  flex: 1;
  min-width: 0;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 13px;
  background: var(--paper);
  color: var(--text);
}
.footer-waitlist-form input:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 1px;
}
.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}
@media (max-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-col-brand,
  .footer-col-waitlist {
    grid-column: 1 / -1;
  }
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col-brand { gap: 12px; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-wordmark {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
}
.footer-platform {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--light);
  margin-left: -4px;
  align-self: center;
  margin-top: 4px;
}
.footer-tag {
  font-size: 14px;
  color: var(--mid);
}
.footer-credit {
  font-size: 12px;
  color: var(--light);
  margin-top: 4px;
}
.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 4px;
}
.footer-col a {
  color: var(--mid);
  font-size: 14px;
  transition: color 140ms var(--ease-exit);
}
.footer-col a:hover { color: var(--navy); }

.legal {
  max-width: 720px;
  margin: 32px auto 0;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
}
.legal h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}
.legal p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--mid);
  margin-bottom: 12px;
}
.legal a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-bottom {
  max-width: 1100px;
  margin: 32px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 12px;
  color: var(--light);
}
.footer-bottom a { color: var(--mid); }

/* ── RESPONSIVE ─────────────────────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  .nav { padding: 12px 18px; gap: 12px; }
  .nav-links { display: none; }
  .nav-cta { padding: 9px 14px; font-size: 12px; }
  .hero { padding: 56px 22px 72px; }
  .hero-actions-stack .btn { width: 100%; }
  .band { padding: 64px 22px; }
  .footer { padding: 48px 22px 22px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .device-frame-bezel { width: 280px; }
  .how-compact-list li { font-size: 16px; padding: 16px 18px 16px 56px; }
  .how-compact-list li::before { left: 18px; top: 16px; font-size: 20px; }
}

/* ── INSTALL BAND ───────────────────────────────────────────────────────────────────── */
.band-install {
  background:
    radial-gradient(circle at 12% 0%, rgba(212,160,88,0.10), transparent 40%),
    radial-gradient(circle at 88% 100%, rgba(26,43,76,0.06), transparent 40%),
    var(--paper);
}
.install-inner { text-align: center; }
.install-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 32px 0 36px;
}
.install-cta .btn {
  min-width: 240px;
}
.install-fallback {
  font-size: 13px;
  font-weight: 500;
  color: var(--mid);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(26,43,76,0.25);
  transition: color 140ms var(--ease-exit), text-decoration-color 140ms var(--ease-exit);
}
.install-fallback:hover {
  color: var(--navy);
  text-decoration-color: var(--amber);
}
.install-platforms {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 8px;
  text-align: left;
}
.install-platforms li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow:
    0 0 0 1px rgba(26,43,76,0.04),
    0 1px 2px rgba(26,43,76,0.04),
    0 8px 22px rgba(26,43,76,0.05);
}
.install-platform-glyph {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(26,43,76,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}
.install-platform-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}
.install-platform-detail {
  font-size: 12px;
  color: var(--light);
  line-height: 1.5;
}

/* T2x — Success pulse on install completion. Amber checkmark wipes
   across the install band's primary CTA before the button text relabels
   to "Open the app." Triggered by the `installed-pulse` class added in
   main.js when `appinstalled` fires. */
.install-success-flash {
  position: relative;
  overflow: hidden;
}
.install-success-flash::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(212,160,88,0.85) 0%, rgba(212,160,88,0) 55%),
    linear-gradient(90deg, rgba(212,160,88,0.6), rgba(212,160,88,0.95) 50%, rgba(212,160,88,0.6));
  animation: installSuccessSweep 720ms cubic-bezier(0.32, 0.72, 0, 1) forwards;
  pointer-events: none;
}
@keyframes installSuccessSweep {
  0%   { clip-path: inset(0 100% 0 0); opacity: 0.95; }
  60%  { clip-path: inset(0 0% 0 0); opacity: 0.95; }
  100% { clip-path: inset(0 0% 0 0); opacity: 0; }
}

/* ── INSTALL MODAL ──────────────────────────────────────────────────────────────────── */
.install-modal {
  position: fixed;
  inset: 0;
  background: rgba(26, 43, 76, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--ease-exit);
}
.install-modal[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}
.install-modal-sheet {
  position: relative;
  background: var(--paper);
  border-radius: 22px;
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 32px 28px 28px;
  box-shadow:
    0 0 0 1px rgba(26,43,76,0.06),
    0 24px 80px rgba(0,0,0,0.32);
  transform: translateY(24px) scale(0.98);
  transition: transform 320ms var(--ease-enter);
  -webkit-overflow-scrolling: touch;
}
.install-modal[data-open="true"] .install-modal-sheet {
  transform: translateY(0) scale(1);
}
.install-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(26,43,76,0.07);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 140ms var(--ease-spring), background 140ms var(--ease-exit);
}
.install-modal-close:active {
  transform: scale(0.92);
  background: rgba(26,43,76,0.12);
}
.install-modal-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 8px;
  text-align: center;
}
.install-modal-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.012em;
  text-align: center;
  margin-bottom: 22px;
}
.install-modal-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--mid);
  text-align: left;
}
.install-modal-cta {
  width: 100%;
  margin-top: 22px;
}

/* Simulated iPhone in the modal — drawn entirely in CSS/SVG so it scales
   and matches the brand without an image file. */
.install-phone {
  position: relative;
  width: 220px;
  margin: 0 auto 22px;
}
.install-phone-bezel {
  position: relative;
  width: 220px;
  height: 360px;
  border-radius: 36px;
  background: linear-gradient(180deg, #1a2b4c, #0f1a30);
  padding: 8px;
  box-shadow:
    0 0 0 1px rgba(26,43,76,0.06),
    0 18px 48px rgba(26,43,76,0.32);
}
.install-phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  border-radius: 14px;
  background: #000;
  z-index: 2;
}
.install-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  background: var(--paper);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.install-phone-url {
  flex-shrink: 0;
  margin-top: 38px;
  margin-inline: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(26,43,76,0.07);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 500;
  color: var(--navy);
  font-family: var(--sans);
}
.install-phone-content {
  flex: 1;
  background:
    linear-gradient(180deg, transparent 0%, rgba(212,160,88,0.06) 30%, transparent 60%),
    repeating-linear-gradient(
      0deg,
      rgba(26,43,76,0.05) 0,
      rgba(26,43,76,0.05) 1px,
      transparent 1px,
      transparent 8px
    );
  margin-top: 12px;
}
.install-phone-toolbar {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 12px 8px 14px;
  background: rgba(244,241,234,0.92);
  border-top: 1px solid rgba(26,43,76,0.08);
  color: rgba(26,43,76,0.55);
}
.install-phone-tool {
  display: flex;
  align-items: center;
  justify-content: center;
}
.install-phone-share {
  color: var(--amber);
  position: relative;
}
.install-phone-share::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(212,160,88,0.18);
  animation: installShareGlow 1.6s ease-in-out 3 forwards;
}
@keyframes installShareGlow {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50%      { opacity: 1;   transform: scale(1.06); }
}
.install-phone-arrow {
  position: absolute;
  bottom: -14px;
  right: -38px;
  pointer-events: none;
  animation: installArrowBob 2s ease-in-out infinite;
}
@keyframes installArrowBob {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-4px, 4px); }
}

.install-steps {
  list-style: none;
  margin: 18px 0 4px;
  padding: 0;
}
.install-steps li {
  display: flex;
  gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(26,43,76,0.06);
}
.install-steps li:last-child { border-bottom: none; }
.install-step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(212,160,88,0.16);
  color: var(--amber);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.install-steps li > div {
  flex: 1;
  font-size: 14px;
  line-height: 1.55;
  color: var(--mid);
}
.install-steps strong {
  color: var(--navy);
  font-weight: 600;
}

@media (max-width: 480px) {
  .install-modal-sheet {
    padding: 28px 22px 24px;
  }
  .install-phone { width: 200px; }
  .install-phone-bezel { width: 200px; height: 326px; }
  .install-phone-arrow { right: -30px; bottom: -10px; }
  .install-modal-title { font-size: 24px; }
}

/* ── SECTION REVEAL (T2s) ───────────────────────────────────────────────── */
.reveal-pending {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 520ms var(--ease-enter), transform 520ms var(--ease-enter);
}
.reveal-pending.reveal-in {
  opacity: 1;
  transform: translateY(0);
}

/* ── PASSWORD GATE ──────────────────────────────────────────────────────────────────── */
/* Soft friend-and-family gate. The preflight inline <script> in the head
   adds .gate-locked to <html> before paint; gate.js removes it on unlock
   or if the gate is disabled in config. */
html.gate-locked {
  overflow: hidden;
  height: 100vh;
}
html.gate-locked body {
  overflow: hidden;
}
html.gate-locked body > *:not(#gate) {
  filter: blur(18px) saturate(1.15) brightness(0.96);
  transform: scale(1.04);     /* prevents blurred edges from showing */
  pointer-events: none;
  user-select: none;
  transition: filter 480ms cubic-bezier(0.4, 0, 0.2, 1),
              transform 480ms cubic-bezier(0.4, 0, 0.2, 1);
}

.gate {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: gateIn 0.42s cubic-bezier(0.32, 0.72, 0, 1) both;
}
.gate[data-state="unlocking"] {
  animation: gateOut 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  pointer-events: none;
}
.gate[data-state="unlocked"] { display: none; }

@keyframes gateIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes gateOut {
  to { opacity: 0; transform: scale(0.985); }
}

.gate-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 43, 76, 0.42);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  backdrop-filter: blur(8px) saturate(1.1);
}

.gate-sheet {
  position: relative;
  background: var(--paper);
  border-radius: 22px;
  width: 100%;
  max-width: 420px;
  padding: 36px 30px 28px;
  text-align: center;
  box-shadow:
    0 0 0 1px rgba(26, 43, 76, 0.06),
    0 1px 2px rgba(26, 43, 76, 0.06),
    0 28px 80px rgba(0, 0, 0, 0.36);
  animation: gateSheetIn 0.5s cubic-bezier(0.32, 0.72, 0, 1) both;
}
@keyframes gateSheetIn {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.gate-mark {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}
.gate-mark svg {
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(26, 43, 76, 0.18);
}

.gate-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}
.gate-title {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 10px;
}
.gate-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--mid);
  max-width: 320px;
  margin: 0 auto 22px;
}
#gate-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 6px;
}
#gate-form input {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--rule);
  background: #fff;
  font-family: var(--sans);
  font-size: 16px;          /* >=16 prevents iOS auto-zoom on focus */
  color: var(--text);
  outline: none;
  text-align: center;
  letter-spacing: 0.04em;
  transition: border-color 140ms var(--ease-exit),
              box-shadow 140ms var(--ease-exit);
}
#gate-form input:focus-visible {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(212, 160, 88, 0.18);
}
.gate-cta { width: 100%; }
.gate-status {
  font-size: 12px;
  color: var(--rust);
  min-height: 18px;
  margin: 6px 0 4px;
  line-height: 1.4;
}
.gate-status:empty { display: none; }
.gate-help {
  font-size: 12px;
  color: var(--light);
  line-height: 1.55;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.gate-help a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(26, 43, 76, 0.3);
}
.gate-help a:hover { text-decoration-color: var(--amber); }

/* Wrong-password shake — short, sharp, returns to rest. */
.gate-sheet.gate-shake {
  animation: gateShake 0.42s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}
@keyframes gateShake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-8px); }
  40%, 60% { transform: translateX(8px); }
  100%     { transform: translateX(0); }
}

@media (max-width: 480px) {
  .gate-sheet { padding: 32px 24px 24px; }
  .gate-title { font-size: 28px; }
}

/* ──────────────────────────────────────────────────────────────────────────────
   SUBPAGE CHROME
   ──────────────────────────────────────────────────────────────────────────────
   Used by /membership/, /hardware/, /artists/, /store/, /about/, /faq/.
   The homepage is one long scroll; subpages are narrower, focused product
   pages with a single hero and a couple of bands. */

.nav-links a[aria-current="page"] {
  color: var(--navy);
  position: relative;
}
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--amber);
  border-radius: 1px;
}

/* Subpage hero: shorter, more focused than the homepage hero. */
.sub-hero {
  position: relative;
  padding: 80px 32px 56px;
  background: var(--paper);
  text-align: center;
  overflow: hidden;
}
.sub-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
}
.sub-hero-bg::before,
.sub-hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
}
.sub-hero-bg::before {
  width: 360px; height: 360px;
  top: -120px; left: -80px;
  background: radial-gradient(circle, var(--amber), transparent 70%);
}
.sub-hero-bg::after {
  width: 320px; height: 320px;
  top: -60px; right: -100px;
  background: radial-gradient(circle, rgba(26,43,76,0.4), transparent 70%);
}
.sub-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}
.sub-hero h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.014em;
  color: var(--navy);
  font-weight: 600;
  margin: 14px 0 18px;
}
.sub-hero p.lede {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.55;
  color: var(--mid);
  max-width: 560px;
  margin: 0 auto;
}

/* Coming-soon hero variant: oversized status word + delicate underline. */
.sub-hero-coming {
  padding: 88px 32px 80px;
}
.coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(212, 160, 88, 0.14);
  color: #8c6526;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.coming-soon-badge::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(212,160,88,0.3);
  animation: comingSoonPulse 1.8s ease-in-out infinite;
}
@keyframes comingSoonPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.8); }
  50%      { opacity: 1;   transform: scale(1); }
}

/* ──────────────────────────────────────────────────────────────────────────────
   PRICING (membership)
   ────────────────────────────────────────────────────────────────────────────── */

.pricing-band {
  padding: 72px 32px 88px;
  background: var(--snow);
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 32px 28px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card-featured {
  background: var(--navy);
  color: var(--snow);
  border-color: var(--navy);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 24px 60px -24px rgba(26,43,76,0.45);
}
.pricing-card-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 0%, rgba(212,160,88,0.18), transparent 55%);
}
.pricing-tier {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 14px;
}
.pricing-card-featured .pricing-tier { color: var(--amber); }

.pricing-amount {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 56px;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.pricing-card-featured .pricing-amount { color: var(--snow); }
.pricing-amount-suffix {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--light);
  margin-left: 4px;
  letter-spacing: 0;
}
.pricing-card-featured .pricing-amount-suffix { color: rgba(244,241,234,0.6); }

.pricing-tagline {
  font-size: 13px;
  color: var(--light);
  margin-bottom: 22px;
}
.pricing-card-featured .pricing-tagline { color: rgba(244,241,234,0.7); }

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-features li {
  font-size: 14px;
  line-height: 1.45;
  color: var(--mid);
  padding-left: 22px;
  position: relative;
}
.pricing-features li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 5px;
  width: 12px;
  height: 8px;
  border-left: 1.6px solid var(--amber);
  border-bottom: 1.6px solid var(--amber);
  transform: rotate(-45deg);
}
.pricing-card-featured .pricing-features li {
  color: rgba(244,241,234,0.85);
}
.pricing-features li strong { color: var(--navy); font-weight: 600; }
.pricing-card-featured .pricing-features li strong { color: var(--snow); }

.pricing-cta { width: 100%; margin-top: auto; }

/* Founder pricing — yearly toggle with strike-through. */
.pricing-toggle {
  display: inline-flex;
  background: rgba(244,241,234,0.06);
  border: 1px solid rgba(244,241,234,0.14);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 600;
}
.pricing-toggle-btn {
  appearance: none;
  background: transparent;
  border: 0;
  color: rgba(244,241,234,0.7);
  font: inherit;
  padding: 7px 14px;
  border-radius: 7px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 160ms var(--ease-exit), background 160ms var(--ease-exit);
}
.pricing-toggle-btn[aria-selected="true"] {
  background: var(--amber);
  color: var(--navy);
}
.pricing-toggle-savings {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(26,43,76,0.18);
}
.pricing-toggle-btn[aria-selected="true"] .pricing-toggle-savings {
  background: rgba(26,43,76,0.18);
}

/* Strike-through original price next to active founder price. */
.price-original {
  display: inline-block;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  color: rgba(244,241,234,0.42);
  margin-right: 12px;
  position: relative;
  letter-spacing: -0.01em;
  vertical-align: 2px;
}
.price-original::after {
  content: "";
  position: absolute;
  left: -3px; right: -3px;
  top: 54%;
  height: 2px;
  background: var(--amber);
  transform: rotate(-8deg);
  border-radius: 2px;
}
/* Billing-toggle visibility: controlled by the [hidden] attribute, which
   the browser maps to display:none. JS on /membership/ flips [hidden] on
   each variant block when the user clicks Monthly / Yearly. No CSS rules
   needed here — [hidden] does the right thing for every element type
   (divs, anchors, spans). */

.founder-callout {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(212,160,88,0.16);
  border: 1px solid rgba(212,160,88,0.3);
  border-radius: 10px;
  font-size: 12px;
  color: var(--snow);
  line-height: 1.4;
}
.founder-callout-dot {
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(212,160,88,0.16);
}

/* Pricing math callout below the cards. */
.pricing-math {
  max-width: 560px;
  margin: 56px auto 0;
  padding: 28px 28px 22px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 18px;
}
.pricing-math-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 16px;
}
.pricing-math-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--rule);
  font-size: 14px;
  color: var(--mid);
}
.pricing-math-row:last-child { border-bottom: 0; }
.pricing-math-row.pricing-math-total {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--navy);
  border-bottom: 0;
  color: var(--navy);
  font-weight: 600;
}
.pricing-math-amount { font-variant-numeric: tabular-nums; font-weight: 600; }
.pricing-math-positive { color: #3F8B52; }
.pricing-math-note {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-size: 12px;
  color: var(--light);
  line-height: 1.5;
  font-style: italic;
}

/* ──────────────────────────────────────────────────────────────────────────────
   FAQ (details / summary)
   ────────────────────────────────────────────────────────────────────────────── */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.faq-list details {
  border-bottom: 1px solid var(--rule);
  padding: 22px 4px;
}
.faq-list summary {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  -webkit-tap-highlight-color: transparent;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    linear-gradient(var(--mid), var(--mid)) center / 10px 1.6px no-repeat,
    linear-gradient(var(--mid), var(--mid)) center / 1.6px 10px no-repeat,
    transparent;
  transition: transform 280ms var(--ease-spring), background-color 200ms var(--ease-exit);
}
.faq-list details[open] summary::after {
  background:
    linear-gradient(var(--amber), var(--amber)) center / 10px 1.6px no-repeat,
    transparent;
  transform: rotate(180deg);
}
.faq-list details > p {
  margin-top: 14px;
  color: var(--mid);
  font-size: 15px;
  line-height: 1.65;
  max-width: 640px;
  animation: faqAnswerIn 320ms var(--ease-enter) both;
}
@keyframes faqAnswerIn {
  from { opacity: 0; transform: translateY(-2px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ──────────────────────────────────────────────────────────────────────────────
   ABOUT (manifesto, patents, mission)
   ────────────────────────────────────────────────────────────────────────────── */

.manifesto {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.4;
  color: var(--snow);
  max-width: 720px;
  letter-spacing: -0.005em;
  font-weight: 500;
}
.manifesto p { margin-bottom: 18px; }
.manifesto p:last-child { margin-bottom: 0; }
.manifesto em {
  color: var(--amber);
  font-style: italic;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 16px;
}
.value-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 26px 24px;
}
.value-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.value-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--mid);
}
.value-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(212,160,88,0.14);
  color: var(--amber);
  margin-bottom: 14px;
}

.patents-list {
  max-width: 720px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.patents-list li {
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  font-size: 14px;
}
.patents-list li:first-child { border-top: 0; }
.patents-list .patents-id {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--light);
  padding-top: 2px;
}
.patents-list .patents-title {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 4px;
  font-weight: 600;
}
.patents-list .patents-desc {
  color: var(--mid);
  line-height: 1.55;
}

/* ──────────────────────────────────────────────────────────────────────────────
   COMING-SOON page bodies (hardware / artists / store)
   ────────────────────────────────────────────────────────────────────────────── */

.cs-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}
.cs-feature {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 28px 26px 26px;
}
.cs-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(26,43,76,0.06);
  color: var(--navy);
  margin-bottom: 14px;
}
.band-navy .cs-feature {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
}
.band-navy .cs-feature-icon {
  background: rgba(212,160,88,0.18);
  color: var(--amber);
}
.cs-feature h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.band-navy .cs-feature h3 { color: var(--snow); }
.cs-feature p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--mid);
}
.band-navy .cs-feature p { color: rgba(244,241,234,0.7); }

/* Single-column "spec list" for hardware specs / artist economics. */
.cs-speclist {
  max-width: 760px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
}
.cs-speclist li {
  background: var(--paper);
  padding: 18px 22px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  font-size: 14px;
}
.cs-speclist .cs-speclist-key {
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.005em;
}
.cs-speclist .cs-speclist-val { color: var(--mid); line-height: 1.5; }

/* Stripe-button row on the membership card with help text below. */
.pricing-cta-help {
  margin-top: 12px;
  font-size: 12px;
  color: rgba(244,241,234,0.5);
  text-align: center;
  line-height: 1.4;
}
.pricing-card:not(.pricing-card-featured) .pricing-cta-help { color: var(--light); }

/* ──────────────────────────────────────────────────────────────────────────────
   RESPONSIVE
   ────────────────────────────────────────────────────────────────────────────── */
@media (max-width: 880px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; }
  .value-grid { grid-template-columns: 1fr 1fr; }
  .cs-feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .sub-hero { padding: 60px 22px 40px; }
  .sub-hero-coming { padding: 64px 22px 56px; }
  .pricing-band { padding: 56px 22px 64px; }
  .value-grid { grid-template-columns: 1fr; }
  .cs-feature-grid { grid-template-columns: 1fr; }
  .patents-list li { grid-template-columns: 1fr; gap: 6px; }
  .cs-speclist li { grid-template-columns: 1fr; gap: 4px; padding: 14px 18px; }
  .pricing-amount { font-size: 44px; }
  .price-original { font-size: 22px; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   MOBILE NAV — Horizontal section tabs (replaces the earlier drawer)
   ──────────────────────────────────────────────────────────────────────────────
   The drawer hid every section behind a hamburger — discoverability was bad
   and tap-through to subpages was unreliable on iOS. Now on <720px, .nav
   wraps and .nav-links becomes a horizontal pill-tab strip on a second row
   below the brand + install button. Always visible. Always scrollable. Edge
   masks hint at overflow. The active tab auto-scrolls into view via main.js
   on page load. */
.nav-menu-toggle { display: none !important; }    /* drawer toggle deprecated */
.nav-backdrop    { display: none !important; }    /* drawer backdrop deprecated */

@media (max-width: 720px) {
  .nav {
    flex-wrap: wrap;
    align-items: center;
    padding: 10px 14px 0;
    gap: 8px;
  }
  .nav-brand { flex: 0 0 auto; }
  .nav-cta {
    flex: 0 0 auto;
    margin-left: auto;
  }

  /* Section-tab strip — second row, horizontal scroll. The strip lives
     inside the nav's natural padding (no negative margin). On iOS Safari
     a negative margin pushed scrollWidth past the viewport, surfacing a
     horizontal page scroll — gone now. */
  .nav-links {
    display: flex;
    flex-direction: row;
    flex: 1 0 100%;
    order: 3;
    gap: 6px;
    margin: 0;
    padding: 8px 0 10px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;            /* Firefox */
    /* Edge-fade so tabs hint at being scrollable. */
    -webkit-mask-image: linear-gradient(to right,
      transparent 0,
      #000 14px,
      #000 calc(100% - 14px),
      transparent 100%);
            mask-image: linear-gradient(to right,
      transparent 0,
      #000 14px,
      #000 calc(100% - 14px),
      transparent 100%);

    /* Reset everything inherited from the desktop / drawer rules so the
       row sits flush in the nav and doesn't get misplaced. */
    position: static;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    transition: none;
    z-index: auto;
    max-height: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }   /* WebKit */

  .nav-links a {
    flex: 0 0 auto;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--mid);
    background: rgba(26, 43, 76, 0.05);
    border-radius: 999px;
    scroll-snap-align: start;
    scroll-margin-inline: 14px;
    transition: background-color 160ms var(--ease-exit),
                color            160ms var(--ease-exit),
                transform        180ms var(--ease-spring);
    white-space: nowrap;
  }
  .nav-links a:hover {
    background: rgba(26, 43, 76, 0.10);
    color: var(--navy);
  }
  .nav-links a:active { transform: scale(0.96); }
  .nav-links a[aria-current="page"] {
    background: var(--amber);
    color: var(--navy);
  }
  /* The desktop underline indicator is meaningless inside a pill. */
  .nav-links a[aria-current="page"]::after { display: none; }

  /* Tighten the .nav-scrolled vibrancy so the tab strip stays legible
     against blurred content beneath. */
  .nav.nav-scrolled {
    background: rgba(249, 247, 242, 0.92);
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   T1 POLISH — Pricing card hover lift + conic-gradient sweep
   ──────────────────────────────────────────────────────────────────────────────
   Hover lifts the card 2px with spring physics. The featured (Citizenship)
   card additionally gets a once-only amber sweep the first time it enters
   the viewport — JS adds .pricing-card-revealed on intersection. */
.pricing-card {
  position: relative;
  transition: transform 280ms var(--ease-spring),
              box-shadow  320ms var(--ease-exit);
}
.pricing-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -18px rgba(26, 43, 76, 0.18);
}
.pricing-card-featured:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 32px 80px -22px rgba(26, 43, 76, 0.55);
}

/* Conic-gradient ring that sweeps once on first reveal. Lives on a
   second pseudo so it doesn't conflict with the radial highlight in
   .pricing-card-featured::before. mask-composite carves the ring out
   of the rectangle so only a 1.5px border remains. */
.pricing-card-featured.pricing-card-revealed::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1.5px;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    rgba(212, 160, 88, 0.0) 6%,
    rgba(212, 160, 88, 0.85) 14%,
    rgba(212, 160, 88, 0.0) 22%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box,
                linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box,
                linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  animation: pricingSweep 1500ms cubic-bezier(0.4, 0, 0.2, 1) 280ms 1 both;
  z-index: 2;
}
@keyframes pricingSweep {
  0%   { transform: rotate(-30deg); opacity: 0; }
  18%  { opacity: 1; }
  82%  { opacity: 1; }
  100% { transform: rotate(330deg); opacity: 0; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   T1 POLISH — Founder strikethrough draw-in
   ──────────────────────────────────────────────────────────────────────────────
   When the Citizenship card enters the viewport, the slash through $49
   draws left-to-right with a 240ms delay so the eye reads the original
   price first, then sees it crossed out. Default (no-JS / no-observer)
   state is fully drawn — the animation is a bonus, never load-bearing. */
.price-original::after {
  transform-origin: left center;
}
.pricing-card-revealed .price-original::after {
  animation: priceStrike 480ms cubic-bezier(0.32, 0.72, 0, 1) 240ms both;
}
@keyframes priceStrike {
  from { transform: rotate(-8deg) scaleX(0); }
  to   { transform: rotate(-8deg) scaleX(1); }
}

/* ─────────────────────────────────────────────────────────────────────────────
   T1 POLISH ROUND 2 — Sub-hero entrance stagger
   ──────────────────────────────────────────────────────────────────────────────
   Every subpage's hero (.eyebrow → h1 → .lede, with optional badge or
   secondary CTA) now reveals with a 60ms cascade so the page feels
   *staged* rather than instantaneous. Pure CSS, runs on page load — no
   JS, no IntersectionObserver. The 8px translateY + ease-spring is the
   same vocabulary iOS uses for its sheet entrances. */
.sub-hero-inner > * {
  animation: subHeroIn 600ms cubic-bezier(0.32, 0.72, 0, 1) both;
}
.sub-hero-inner > *:nth-child(1) { animation-delay: 0ms;   }
.sub-hero-inner > *:nth-child(2) { animation-delay: 60ms;  }
.sub-hero-inner > *:nth-child(3) { animation-delay: 120ms; }
.sub-hero-inner > *:nth-child(4) { animation-delay: 180ms; }
.sub-hero-inner > *:nth-child(5) { animation-delay: 240ms; }
@keyframes subHeroIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0);   }
}

/* ─────────────────────────────────────────────────────────────────────────────
   T1 POLISH ROUND 2 — Pressed-state depth on buttons
   ──────────────────────────────────────────────────────────────────────────────
   Buttons used to scale down on :active but didn't shed their elevation
   — they shrunk in mid-air instead of pressing into the page. Adding a
   default lift shadow on the two solid variants + collapsing it on
   press, plus shortening the press transition to 80ms (release retains
   the 140ms spring), gives the right tactile "click" feel. */
.btn-amber {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 4px 12px -4px rgba(212, 160, 88, 0.42);
}
.btn-amber:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 6px 16px -4px rgba(212, 160, 88, 0.52);
}
.btn-navy {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 4px 12px -4px rgba(26, 43, 76, 0.42);
}
.btn-navy:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 6px 16px -4px rgba(26, 43, 76, 0.52);
}

/* Press: shrink a touch deeper, collapse the elevation, speed up the
   transition. The release uses the parent .btn's spring (140ms) so the
   bounce-back feels lively. */
.btn:active {
  transform: scale(0.96);
  transition-duration: 80ms;
  transition-timing-function: var(--ease-exit);
}
.btn-amber:active {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.10) inset,
    0 1px 3px -1px rgba(212, 160, 88, 0.35);
}
.btn-navy:active {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 1px 3px -1px rgba(26, 43, 76, 0.45);
}

/* ─────────────────────────────────────────────────────────────────────────────
   T1 POLISH ROUND 2 — FAQ row hover feedback
   ──────────────────────────────────────────────────────────────────────────────
   Tapping anywhere on a FAQ row toggles the answer (browser default for
   <details>) but visual feedback was previously chevron-only. Add a
   subtle row tint on hover + open state so the tap-target reads as a
   tap-target. The bordered divider between rows continues to live on
   the details element, so the rounded hover bg + sharp divider coexist
   cleanly. */
.faq-list details {
  transition: background-color 200ms var(--ease-exit);
  border-radius: 10px;
}
.faq-list details:hover,
.faq-list details[open] {
  background-color: rgba(26, 43, 76, 0.035);
}
.faq-list summary {
  transition: color 160ms var(--ease-exit);
}
.faq-list details:hover summary::after {
  background:
    linear-gradient(var(--navy), var(--navy)) center / 10px 1.6px no-repeat,
    linear-gradient(var(--navy), var(--navy)) center / 1.6px 10px no-repeat,
    transparent;
}
.faq-list details[open]:hover summary::after {
  background:
    linear-gradient(var(--amber), var(--amber)) center / 10px 1.6px no-repeat,
    transparent;
}

/* ─────────────────────────────────────────────────────────────────────────────
   T1 POLISH ROUND 3 — Pricing toggle slide indicator
   ──────────────────────────────────────────────────────────────────────────────
   The Monthly / Yearly toggle previously snapped the amber background
   from one button to the other. Now a single ::before pill slides
   between the two positions with iOS spring physics. Equal-width
   buttons (flex: 1 1 0) so the 50% slide is geometrically exact — no
   JS measurement needed. */
.pricing-toggle {
  position: relative;
}
.pricing-toggle::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  background: var(--amber);
  border-radius: 7px;
  transition: transform 360ms cubic-bezier(0.32, 0.72, 0, 1);
  z-index: 0;
}
.pricing-card-featured[data-billing="yearly"] .pricing-toggle::before {
  transform: translateX(100%);
}
.pricing-toggle-btn {
  flex: 1 1 0%;
  min-width: 96px;
  position: relative;
  z-index: 1;
  /* Override the previous always-on amber bg — the sliding pill
     handles selection now. The button itself stays transparent so the
     pill is what actually moves. */
  background: transparent !important;
}
.pricing-toggle-btn[aria-selected="true"] {
  color: var(--navy);
}
.pricing-toggle-btn[aria-selected="true"] .pricing-toggle-savings {
  background: rgba(26, 43, 76, 0.22);
}

/* ─────────────────────────────────────────────────────────────────────────────
   T1 POLISH ROUND 3 — Universal card hover lift
   ──────────────────────────────────────────────────────────────────────────────
   Same hover vocabulary as .pricing-card, applied across every card on
   the site so the whole page feels uniformly responsive. translateY(-2px)
   + a soft layered shadow on light backgrounds, slightly deeper on the
   navy band where contrast is higher. */
.cs-feature,
.value-card {
  transition: transform 280ms var(--ease-spring),
              box-shadow  320ms var(--ease-exit);
}
.cs-feature:hover,
.value-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -18px rgba(26, 43, 76, 0.18);
}
.band-navy .cs-feature:hover,
.band-navy-soft .cs-feature:hover {
  box-shadow: 0 18px 44px -18px rgba(0, 0, 0, 0.55);
}

/* ─────────────────────────────────────────────────────────────────────────────
   T1 POLISH ROUND 3 — Sticky active-tab indicator
   ──────────────────────────────────────────────────────────────────────────────
   The amber underline on aria-current="page" was 2px tall, flush with
   the text width, and could vanish against the blurred nav backdrop on
   subpages. Bumped to 2.5px, extended 3px past the text on each side,
   added a subtle glow + heavier text weight on the current tab so the
   user always knows where they are. */
.nav-links a[aria-current="page"] {
  color: var(--navy);
  font-weight: 600;
}
.nav-links a[aria-current="page"]::after {
  left: -3px;
  right: -3px;
  bottom: -7px;
  height: 2.5px;
  border-radius: 2px;
  box-shadow: 0 1px 0 rgba(212, 160, 88, 0.35);
}

/* ── REDUCED MOTION ──────────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
}
