/* ============================================
   KUBO LANDING PAGE
   Design System: Rich (default theme)
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Rich palette — cool charcoal + hot pink */
  --bg: #0F0F12;
  --surface: #1A1A1E;
  --elevated: #24242A;
  --surface-raised: #2E2E35;

  --text-primary: #F0EEF0;
  --text-secondary: #9898A0;
  --text-muted: #8B8B94;  /* bumped from #7A7A82 — was 4.08:1 on --surface (fail AA); now 5.15:1 on --bg, 4.67:1 on --surface */

  --accent: #FF2D55;               /* foreground only (text-on-dark, 5.25:1 on --bg); never use as text-bg */
  --accent-bg: #D11A40;            /* darker accent for use as background behind white text — 5.34:1 contrast (AA pass) */
  --accent-bg-hover: #B8102F;      /* pressed/hover state — 6.66:1 */
  --accent-soft: rgba(255, 45, 85, 0.12);
  --accent-glow: rgba(255, 45, 85, 0.3);
  --accent-fg: #FFFFFF;

  --online: #A8E06C;
  --verified: #22C55E;
  --error: #EF5350;

  /* Mood colors */
  --mood-lowkey: #8B9DC3;
  --mood-open: #D0A05D;
  --mood-eager: #D4745A;
  --mood-rightnow: #E05252;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Type scale — canonical sizes. Retired off-scale values 13/15/17/26. */
  --fs-xs: 11px;
  --fs-sm: 12px;
  --fs-base: 14px;
  --fs-md: 16px;
  --fs-lg: 18px;
  --fs-xl: 20px;
  --fs-2xl: 28px;
  --fs-3xl: 32px;
  --fs-4xl: 42px;
  --fs-5xl: 56px;

  /* Line-heights — display tight, body loose */
  --lh-tight: 1.08;    /* display, hero */
  --lh-snug: 1.15;     /* section headings */
  --lh-normal: 1.5;    /* ui, compact body */
  --lh-loose: 1.75;    /* long-form body */

  /* Weights */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-heavy: 800;

  /* Spacing — 4/8pt scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-14: 56px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-30: 120px;

  --section-pad: 120px;
  --content-max: 1120px;

  /* Radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius: 12px;               /* legacy alias */
  --radius-lg: 16px;
  --radius-pill: 100px;

  /* Borders (alpha-on-white, dark-mode appropriate) */
  --border-subtle: 1px solid rgba(255, 255, 255, 0.04);
  --border-default: 1px solid rgba(255, 255, 255, 0.06);
  --border-strong: 1px solid rgba(255, 255, 255, 0.08);

  /* Shadows */
  --shadow-button: 0 4px 20px rgba(255, 45, 85, 0.25);
  --shadow-button-hover: 0 8px 30px rgba(255, 45, 85, 0.3);
  --shadow-phone: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 80px rgba(255, 45, 85, 0.04);
  --shadow-card-premium: 0 0 60px rgba(255, 45, 85, 0.06);

  /* Animation */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-fast: 0.15s;
  --dur-med: 0.25s;
  --dur-slow: 0.5s;              /* was 0.7s — Linear/Stripe range */
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
strong { font-weight: 600; }

/* --- Accessibility --- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--accent-bg);
  color: var(--accent-fg);
  padding: 12px 24px;
  border-radius: var(--radius);
  z-index: 200;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  transition: top 0.2s var(--ease);
}

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

/* Anchor targets clear the fixed nav */
main[id], section[id], #main-content { scroll-margin-top: 80px; }

/* Visual line break inside headings that also preserves whitespace in the accessibility tree */
.section-title .title-line { display: block; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .mood-orb { animation: none; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* --- Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Hero entrance (staggered) --- */
@keyframes hero-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow,
.hero-title,
.hero-body,
.hero-ctas,
.hero-phone {
  animation: hero-in 0.6s var(--ease) both;
}
.hero-title { animation-delay: 0.08s; }
.hero-body { animation-delay: 0.16s; }
.hero-ctas { animation-delay: 0.24s; }
.hero-phone { animation-delay: 0.32s; }

/* --- Trust Strip (between hero and features — three commitments as concrete claims) --- */
.trust-strip {
  padding: 72px 0 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.trust-strip-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.trust-item {
  padding-left: 20px;
  border-left: 2px solid var(--accent);
}

.trust-claim {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.trust-proof {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 900px) {
  .trust-strip { padding: 56px 0 32px; }
  .trust-strip-inner { grid-template-columns: 1fr; gap: 32px; }
}

/* --- Section Divider --- */
.section-divider {
  max-width: var(--content-max);
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 45, 85, 0.15), transparent);
}

/* --- Nav --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 15, 18, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.3s;
}

.nav-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--accent);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

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

.nav-cta {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--accent-fg);
  background: var(--accent-bg);
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-cta:hover { background: var(--accent-bg-hover); transform: translateY(-1px); }
.nav-cta:active { transform: translateY(0); }

.nav-toggle { display: none; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.3px;
  border-radius: var(--radius-pill);
  padding: 14px 32px;
  transition: all 0.2s var(--ease);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent-bg);
  color: var(--accent-fg);
  box-shadow: 0 4px 20px rgba(255, 45, 85, 0.25);
}

.btn-primary:hover {
  background: var(--accent-bg-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 45, 85, 0.3);
}

.btn-primary:active { transform: translateY(0); box-shadow: 0 2px 10px rgba(255, 45, 85, 0.2); }

.btn:disabled,
.btn[aria-busy="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  transform: none;
}

.btn-primary:disabled:hover,
.btn-primary[aria-busy="true"]:hover { background: var(--accent-bg); transform: none; box-shadow: none; }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
}

.btn-large {
  font-size: 17px;
  padding: 18px 48px;
}

/* --- Section Shared --- */
.section-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section-eyebrow {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 20px;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.hero-content {
  flex: 1;
  max-width: 500px;
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(38px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 28px;
}

.hero-line-1 { color: var(--text-primary); display: block; }
.hero-line-accent { color: var(--accent); display: block; }

.hero-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 440px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-phone { flex-shrink: 0; }

/* --- Phone Frame --- */
.phone-frame {
  width: 272px;
  height: 588px;
  background: var(--surface);
  border-radius: 40px;
  padding: 10px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(255, 45, 85, 0.04);
  position: relative;
  overflow: hidden;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 31px;
  object-fit: cover;
  display: block;
}

/* Placeholder screens */
.phone-placeholder {
  background: var(--bg);
  border-radius: 31px;
  padding: 44px 14px 14px;
  display: flex;
  flex-direction: column;
  font-size: 13px;
}

/* --- Shape Placeholders (approximate app visuals) --- */

/* Shared shape primitives */
.shape-bar {
  height: 8px;
  border-radius: 4px;
  background: var(--surface-raised);
}
.shape-bar-long { width: 80%; }
.shape-bar-med { width: 55%; }
.shape-bar-short { width: 35%; }

.shape-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-raised);
  flex-shrink: 0;
}
.shape-dot-online {
  background: var(--surface-raised);
  box-shadow: 8px 0 0 0 var(--online);
  /* green dot offset to bottom-right */
}
.shape-dot-new {
  background: var(--accent-soft);
  border: 2px solid var(--accent);
}

/* --- Discovery: Profile grid --- */
.shape-grid {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 20px;
}

.shape-grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px 12px;
}

.shape-grid-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0.4;
}

.shape-grid-icon-sm {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 2px solid var(--text-muted);
  opacity: 0.3;
}

.shape-grid-tabs {
  display: flex;
  gap: 6px;
}

.shape-grid-tab {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--surface-raised);
  opacity: 0.4;
}

.shape-grid-tab-active {
  opacity: 0.8;
  background: var(--text-muted);
}

.shape-grid-cells {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 0 2px;
}

.shape-cell {
  aspect-ratio: 0.82;
  background: var(--surface-raised);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.shape-cell::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
}

/* Subtle variation in cell shading */
.shape-cell:nth-child(2) { background: var(--elevated); }
.shape-cell:nth-child(5) { background: var(--elevated); }
.shape-cell:nth-child(7) { background: #2A2630; }
.shape-cell:nth-child(10) { background: #252228; }
.shape-cell:nth-child(12) { background: var(--elevated); }

.shape-cell-badge {
  position: absolute;
  z-index: 1;
}

.shape-cell-online {
  bottom: 8px;
  left: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--online);
  box-shadow: 0 0 6px rgba(168, 224, 108, 0.5);
}

.shape-cell-mood {
  top: 6px;
  left: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0.7;
}

.shape-cell-new {
  top: 6px;
  right: 6px;
  width: 24px;
  height: 12px;
  border-radius: 6px;
  background: #5BBFCF;
  opacity: 0.7;
}

.shape-grid-nav {
  display: flex;
  justify-content: space-around;
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.shape-nav-item {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--text-muted);
  opacity: 0.25;
}

.shape-nav-active {
  opacity: 0.7;
  background: var(--text-primary);
}

/* --- Messages: Two-zone inbox --- */
.shape-inbox {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 24px;
}

.shape-inbox-zone {
  padding: 12px 8px;
}

.shape-zone-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.shape-inbox-active {
  flex: 1;
}

.shape-inbox-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 45, 85, 0.2), transparent);
  margin: 4px 8px;
}

.shape-inbox-requests {
  background: rgba(255, 45, 85, 0.03);
  border-radius: 0 0 20px 20px;
  padding-bottom: 20px;
}

.shape-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 4px;
}

.shape-row-pending {
  opacity: 0.85;
}

/* --- Albums: Grant/revoke visualization --- */
.shape-albums {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 12px 16px;
  align-items: center;
  justify-content: center;
}

.shape-album-card {
  width: 100%;
  background: var(--surface);
  border-radius: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.shape-album-locked {
  opacity: 0.4;
  border-style: dashed;
  border-color: var(--text-muted);
  position: relative;
}

.shape-album-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 10px;
}

.shape-photo {
  aspect-ratio: 1;
  background: var(--surface-raised);
  border-radius: 6px;
}

.shape-photo-dim {
  background: var(--elevated);
  opacity: 0.5;
}

.shape-album-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 8px;
}

.shape-album-access {
  display: flex;
  gap: 6px;
}

.shape-access-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.shape-access-granted {
  background: var(--online);
  opacity: 0.6;
}

.shape-access-timer {
  background: var(--mood-eager);
  opacity: 0.6;
}

.shape-lock-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(255, 45, 85, 0.15);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.shape-album-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-align: center;
}

.placeholder-header {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.placeholder-tabs {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 12px;
  color: var(--text-muted);
}

.tab-active { color: var(--text-primary); font-weight: 600; }

.tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 700;
  background: var(--surface-raised);
  color: var(--text-secondary);
}

.tab-badge-accent {
  background: var(--accent);
  color: var(--accent-fg);
}

.placeholder-rows { display: flex; flex-direction: column; gap: 2px; }

.placeholder-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 6px;
  border-radius: 10px;
}

.row-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-raised);
  flex-shrink: 0;
}

.row-text { flex: 1; font-size: 12px; line-height: 1.4; }
.row-text span { color: var(--text-muted); font-size: 11px; }
.row-time { color: var(--text-muted); font-size: 10px; }

/* Album placeholder */
.album-cards { display: flex; flex-direction: column; gap: 10px; }

.album-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--surface);
  border-radius: 10px;
}

.album-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--surface-raised), var(--elevated));
  flex-shrink: 0;
}

.album-thumb-2 { background: linear-gradient(135deg, var(--elevated), var(--surface-raised)); }

.album-info { flex: 1; font-size: 12px; line-height: 1.4; }
.album-info span { color: var(--text-muted); font-size: 11px; }

.album-manage {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--accent);
}

.album-card-create {
  background: transparent;
  border: 1px dashed var(--text-muted);
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px;
  color: var(--text-muted);
  font-size: 12px;
}

.album-plus { font-size: 20px; color: var(--text-muted); }

/* Mood placeholder */
.mood-demo {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.mood-orbs {
  position: relative;
  width: 180px;
  height: 180px;
}

.mood-orb {
  position: absolute;
  border-radius: 50%;
}

.mood-orb-center {
  width: 56px;
  height: 56px;
  background: var(--accent);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 800;
  color: var(--accent-fg);
  letter-spacing: 1.5px;
  box-shadow: 0 0 40px var(--accent-glow);
}

.mood-orb-1 { width: 32px; height: 32px; background: var(--mood-eager); top: 15%; left: 22%; opacity: 0.8; animation: float 4s ease-in-out infinite; }
.mood-orb-2 { width: 24px; height: 24px; background: var(--mood-lowkey); top: 18%; right: 18%; opacity: 0.6; animation: float 5s ease-in-out 1s infinite; }
.mood-orb-3 { width: 28px; height: 28px; background: var(--mood-open); bottom: 22%; left: 12%; opacity: 0.7; animation: float 4.5s ease-in-out 0.5s infinite; }
.mood-orb-4 { width: 22px; height: 22px; background: var(--mood-rightnow); bottom: 15%; right: 22%; opacity: 0.9; animation: float 3.5s ease-in-out 0.8s infinite; }
.mood-orb-5 { width: 18px; height: 18px; background: var(--mood-lowkey); top: 52%; right: 8%; opacity: 0.5; animation: float 5.5s ease-in-out 1.5s infinite; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.mood-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.mood-count {
  font-size: 11px;
  color: var(--text-muted);
}

/* --- Feature Sections --- */
.feature {
  padding: var(--section-pad) 0;
}

.feature-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 64px;
}

/* Alternate background for section differentiation — breaks the unbroken-wall feel of three features in sequence */
.feature-reverse {
  background: var(--surface);
}
.feature-reverse .feature-inner { flex-direction: row-reverse; }

.feature-text {
  flex: 1;
  max-width: 440px;              /* was unbounded — 736px wide on 1440 desktop is off-measure */
}

.feature-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 440px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;                      /* was 10 — on-scale 8pt */
  max-width: 440px;
}

.feature-list li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

.feature-phone { flex-shrink: 0; }

/* --- Mood Levels --- */
.mood-levels {
  display: flex;
  gap: 20px;
  margin-top: 4px;
}

.mood-level {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.mood-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.mood-lowkey .mood-dot { background: var(--mood-lowkey); }
.mood-open .mood-dot { background: var(--mood-open); }
.mood-eager .mood-dot { background: var(--mood-eager); }
.mood-rightnow .mood-dot { background: var(--mood-rightnow); }

/* --- Meet Mode --- */
.meet-mode {
  padding: var(--section-pad) 0;
  background: var(--surface);
  text-align: center;
}

.meet-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* --- Pricing --- */
.pricing {
  padding: var(--section-pad) 0;
  text-align: center;
}

.pricing-sub {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 48px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 680px;
  margin: 0 auto 40px;
}

.pricing-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.pricing-card-premium {
  border-color: var(--accent);
  box-shadow: 0 0 60px rgba(255, 45, 85, 0.06);
  position: relative;
}

.pricing-card-premium::before {
  content: 'FULL EXPERIENCE';
  position: absolute;
  top: -11px;
  left: 28px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  background: var(--accent);
  color: var(--accent-fg);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.pricing-tier {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.pricing-amount {
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.1;              /* was inheriting body 1.6 — top-heavy numerals */
  color: var(--text-primary);
  margin-bottom: 4px;
}

.pricing-amount span {
  font-size: 14px;               /* was 16 — suffix reads as unit, not equal weight */
  font-weight: 500;
  line-height: 1;
  color: var(--text-muted);
  margin-left: 2px;
  vertical-align: baseline;
}

.pricing-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.pricing-features li {
  font-size: 13px;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
}

.pricing-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.pricing-compare {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

.pricing-highlight {
  color: var(--accent);
  font-weight: 600;
}

/* --- FAQ --- */
.faq {
  padding: var(--section-pad) 0;
  text-align: center;
}

.faq-list {
  max-width: 680px;
  margin: 48px auto 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item[open] {
  border-color: rgba(255, 255, 255, 0.08);
}

.faq-question {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
  transition: color 0.2s var(--ease);
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-answer {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  padding: 0 24px 20px;
}

/* --- Founder --- */
.founder {
  padding: var(--section-pad) 0;
  background: var(--surface);
  text-align: center;
}

.founder-quote {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 500;
  line-height: 1.3;              /* was 1.7 — too loose for display weight */
  color: var(--text-primary);    /* was secondary — founder voice should read primary */
  max-width: 640px;
  margin: 0 auto;
  font-style: normal;
  border: none;
}

/* --- Download --- */
.download {
  padding: var(--section-pad) 0 calc(var(--section-pad) + 20px);
  text-align: center;
}

/* --- Waitlist Form --- */
.waitlist-form {
  display: flex;
  gap: 8px;
  max-width: 420px;
  margin: 0 auto 16px;
}

.waitlist-input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 20px;
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-pill);
  outline: none;
  transition: border-color 0.2s;
}

.waitlist-input:focus {
  border-color: var(--accent);
}

.waitlist-input::placeholder {
  color: var(--text-muted);
}

.waitlist-promise {
  font-size: 13px;
  color: var(--text-muted);
}

.waitlist-error {
  display: none;
  margin-top: 12px;
  font-size: 13px;
  color: var(--error);
  min-height: 1.4em;
}

.waitlist-error.show { display: block; }

/* Live region stays in flow; content is hidden visually until .show so screen readers observe the content-change announcement */
.waitlist-success {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  margin-bottom: 0;
  transition: opacity 0.4s var(--ease), max-height 0.4s var(--ease), margin-bottom 0.4s var(--ease);
}

.waitlist-success.show {
  opacity: 1;
  max-height: 200px;
  margin-bottom: 16px;
}

.waitlist-success p {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--accent);
}

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

.download-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.08;             /* was inheriting body 1.6 */
  color: var(--text-primary);
  margin-bottom: 16px;
}

.download-body {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

/* --- Footer --- */
.footer {
  padding: 56px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 48px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

.footer-links { display: flex; gap: 56px; }

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: var(--content-max);
  margin: 40px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* --- Subpage Shared --- */
.subpage {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.subpage h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  margin-bottom: 8px;
}

.subpage .subpage-date {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.subpage h2 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.subpage h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.subpage p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.subpage ul, .subpage ol {
  margin-bottom: 16px;
  padding-left: 20px;
}

.subpage li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.subpage a { color: var(--accent); }
.subpage a:hover { text-decoration: underline; }

.subpage-cta {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.subpage-cta p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* Story page sections */
.story-section {
  margin-bottom: 48px;
}

.story-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  :root { --section-pad: 80px; }

  .hero {
    flex-direction: column;
    text-align: center;
    gap: 48px;
    padding-top: 100px;
  }

  .hero-body { margin: 0 auto 40px; }
  .hero-ctas { justify-content: center; }

  .feature-inner {
    flex-direction: column !important;
    text-align: center;
    gap: 48px;
  }

  .feature-body { margin: 0 auto 28px; }
  .feature-list { align-items: center; }

  .mood-levels { flex-wrap: wrap; justify-content: center; }

  .pricing-cards { grid-template-columns: 1fr; max-width: 380px; }
}

@media (max-width: 640px) {
  :root { --section-pad: 64px; }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 15, 18, 0.95);
    backdrop-filter: blur(24px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px;              /* was 4px — hit WCAG 2.5.8 AAA 44x44 target */
    margin: -12px;               /* negative margin so layout doesn't shift */
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 1px;
    transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
    transform-origin: center;
  }

  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Mobile nav CTA stays visible but compacts so there's always a primary action */
  .nav-cta { padding: 8px 14px; font-size: 11px; }
  .hero-title { font-size: 38px; }    /* was 34 — re-establish H1:H2 ratio of 1.36 on mobile */

  .phone-frame {
    width: 232px;
    height: 502px;
    border-radius: 32px;
    padding: 8px;
  }

  .phone-screen { border-radius: 25px; }

  .footer-inner { flex-direction: column; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
}
