/* ============================================================
   SoberStreak AI — Warm Onyx
   Shared stylesheet
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --onyx: #17130F;        /* background */
  --espresso: #1E1A16;    /* card / surface */
  --espresso-2: #241F1A;  /* raised surface */
  --gold: #D8AE73;        /* accent */
  --gold-soft: #E7C998;
  --ivory: #F4EFE6;       /* text / headings / hero number */
  --paper: #FBF8F1;       /* light section */
  --paper-2: #F5F0E7;
  --crisis: #C0392B;

  --muted: #B8AFA1;       /* secondary text on dark */
  --muted-2: #8C8478;     /* tertiary text on dark */
  --line: rgba(216, 174, 115, 0.16);
  --line-soft: rgba(244, 239, 230, 0.08);

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
  --font-editorial: "Lora", Georgia, serif;

  --maxw: 1140px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --shadow-soft: 0 12px 36px -18px rgba(0, 0, 0, 0.55);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  --header-bg: rgba(23, 19, 15, 0.78);
  --field-bg: var(--onyx);
}

/* ---------- Light theme ---------- */
html[data-theme="light"] {
  --onyx: #FBF8F1;        /* background */
  --espresso: #FFFFFF;    /* card / surface */
  --espresso-2: #F5F0E7;  /* raised surface */
  --gold: #D8AE73;        /* accent */
  --gold-soft: #E7C998;
  --ivory: #1E1A16;       /* text / headings */

  --muted: #4A4036;       /* secondary / body text on light — ~9.5:1 on #FBF8F1 */
  --muted-2: #6B6051;     /* tertiary text / labels on light — ~5.8:1 on #FBF8F1 */
  --line: rgba(30, 26, 22, 0.14);
  --line-soft: rgba(30, 26, 22, 0.08);

  --shadow: 0 24px 60px -28px rgba(60, 45, 25, 0.28);
  --shadow-soft: 0 14px 36px -20px rgba(60, 45, 25, 0.22);

  --header-bg: rgba(251, 248, 241, 0.82);
  --field-bg: #FFFFFF;
}
html[data-theme="light"] .wordmark .w-sober { color: #1E1A16; }
html[data-theme="light"] body { background: var(--onyx); }
html[data-theme="light"] .btn--gold { color: #2A2014; }

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--onyx);
  color: var(--ivory);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ivory);
}

h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }

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

.eyebrow {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: inline-block;
}
.eyebrow.--plain { text-transform: uppercase; font-style: normal; letter-spacing: 0.22em; font-family: var(--font-body); font-size: 0.78rem; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 84px) 0; }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 60ch; }

.section-head { max-width: 64ch; margin-bottom: 48px; }
.section-head.--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 18px; }

/* ---------- Wordmark ---------- */
.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  font-size: 1.4rem;
  display: inline-flex;
  align-items: baseline;
}
.wordmark .w-sober { color: var(--ivory); }
.wordmark .w-streak { color: var(--gold); }

.smark {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ivory);
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
}
.smark .dot { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn--gold {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #2A2014;
  box-shadow: 0 12px 30px -12px rgba(216, 174, 115, 0.6);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -12px rgba(216, 174, 115, 0.7); }

.btn--ghost {
  background: transparent;
  color: var(--ivory);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-soft); transform: translateY(-2px); }

.btn--lg { padding: 17px 32px; font-size: 1.05rem; }

/* App store button (icon + two-line label) */
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #2A2014;
  padding: 12px 24px 12px 20px;
  border-radius: 14px;
  font-family: var(--font-body);
  box-shadow: 0 12px 30px -14px rgba(216, 174, 115, 0.6);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn-store:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -14px rgba(216, 174, 115, 0.7); }
.btn-store svg { width: 26px; height: 26px; flex: none; }
.btn-store .store-label { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.btn-store .store-small { font-size: 0.66rem; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.8; }
.btn-store .store-big { font-size: 1.02rem; font-weight: 700; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}
.nav-brand { display: inline-flex; align-items: center; gap: 11px; }
.nav-brand .smark { font-size: 1.5rem; }
.nav-brand .wordmark { font-size: 1.3rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-links a:hover { color: var(--ivory); }
.nav-links a.active { color: var(--gold); }

.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 20px; font-size: 0.9rem; }

/* theme toggle */
.theme-toggle {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}
.theme-toggle:hover { border-color: var(--gold); background: rgba(216, 174, 115, 0.08); }
.theme-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.theme-toggle svg { width: 20px; height: 20px; display: block; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
html[data-theme="light"] .theme-toggle .icon-moon { display: none; }
html[data-theme="light"] .theme-toggle .icon-sun { display: block; }

/* theme toggle row in mobile menu */
.m-theme {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 22px; padding: 16px 4px 0;
  border-top: 1px solid var(--line-soft);
}
.m-theme span { font-family: var(--font-body); font-size: 0.95rem; color: var(--muted); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  width: 46px;
  height: 44px;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--ivory);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateX(-50%) translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateX(-50%) translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 9vw, 112px); overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 78% 18%, rgba(216, 174, 115, 0.16), transparent 60%),
    radial-gradient(50% 50% at 10% 80%, rgba(216, 174, 115, 0.07), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.hero h1 { margin: 18px 0 0; }
.hero p.lede { margin: 22px 0 32px; }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: 0.9rem; color: var(--muted-2); display: flex; align-items: center; gap: 8px; }
.hero-note .dot-i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(216,174,115,0.18); }

/* ---------- Phone mockup (mirrors the real app — always dark) ---------- */
.phone-stage {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;          /* sit above hero glow/background */
  isolation: isolate;  /* own stacking context — nothing bleeds through */
}
.phone {
  /* Local dark palette so the device stays dark even in light site theme */
  --p-onyx: #15110D;
  --p-card: #221D18;
  --p-ivory: #F4EFE6;
  --p-gold: #D8AE73;
  --p-muted: #B3A99B;
  --p-muted-2: #7E7669;
  --p-track: rgba(244, 239, 230, 0.10);
  --p-line: rgba(216, 174, 115, 0.18);

  position: relative;
  z-index: 1;
  width: 312px;
  height: 656px;
  border-radius: 48px;
  background: #2a251f;
  padding: 12px;
  box-shadow:
    0 40px 80px -32px rgba(0, 0, 0, 0.85),
    0 8px 24px -10px rgba(0, 0, 0, 0.6),
    inset 0 0 0 2px rgba(216, 174, 115, 0.16);
}
.phone::after { /* side button */
  content: "";
  position: absolute;
  right: -3px;
  top: 168px;
  width: 3px;
  height: 60px;
  border-radius: 3px;
  background: #2a251f;
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 38px;
  background: var(--p-onyx);   /* fully opaque */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 14px 16px 0;
}

/* status bar */
.app-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--p-ivory);
}
.app-status-icons { display: inline-flex; align-items: center; gap: 5px; color: var(--p-ivory); }
.app-status-icons svg { height: 11px; width: auto; display: block; }

/* greeting */
.app-greet {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px 14px;
}
.greet-small { display: block; font-size: 0.82rem; color: var(--p-muted); line-height: 1.2; }
.greet-name { display: block; font-size: 1.18rem; font-weight: 700; color: var(--p-ivory); letter-spacing: -0.01em; }
.app-bell {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--p-line);
  background: var(--p-card);
  color: var(--p-ivory);
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
}
.app-bell svg { width: 18px; height: 18px; }

/* main card */
.app-card {
  position: relative;
  background: linear-gradient(180deg, #251F1A, #1C1813);
  border: 1px solid var(--p-line);
  border-radius: 24px;
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.app-share {
  position: absolute;
  top: 14px; right: 14px;
  width: 30px; height: 30px;
  border-radius: 9px;
  border: 1px solid var(--p-line);
  background: rgba(216, 174, 115, 0.08);
  color: var(--p-gold);
  display: inline-flex; align-items: center; justify-content: center;
}
.app-share svg { width: 15px; height: 15px; }
.app-card-label {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--p-muted);
  margin-bottom: 3px;
}
.app-card-sub {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--p-gold);
  margin-bottom: 12px;
}

/* gold progress ring — crisp, no glow */
.app-ring { position: relative; width: 186px; height: 186px; }
.app-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); display: block; }
.app-ring .ring-track { fill: none; stroke: var(--p-track); stroke-width: 11; }
.app-ring .ring-progress {
  fill: none;
  stroke: url(#appGoldRing);
  stroke-width: 11;
  stroke-linecap: round;
  stroke-dasharray: 528;
  stroke-dashoffset: 53;   /* ~90% filled */
}
.app-ring-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.app-days { display: inline-flex; align-items: flex-start; gap: 4px; }
.app-days .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--p-ivory);
}
.app-days .flame { width: 17px; height: 17px; color: var(--p-gold); margin-top: 7px; }
.app-days-label {
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--p-muted);
  margin-top: 4px;
}
.app-pill {
  margin-top: 14px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #2A2014;
  background: linear-gradient(180deg, #E7C998, var(--p-gold));
  padding: 6px 16px;
  border-radius: 999px;
}
.app-quote {
  margin: 16px 4px 2px;
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--p-muted);
}

/* track another recovery */
.app-track {
  margin-top: 14px;
  width: 100%;
  border: 1px solid rgba(216, 174, 115, 0.55);
  background: transparent;
  color: var(--p-gold);
  border-radius: 14px;
  padding: 12px;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
}

/* next milestone */
.app-milestone { margin-top: 16px; padding: 0 2px; }
.app-milestone-label {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--p-muted-2);
  margin-bottom: 9px;
}
.app-bar {
  height: 8px;
  border-radius: 999px;
  background: var(--p-track);
  overflow: hidden;
}
.app-bar > span {
  display: block;
  height: 100%;
  width: 62%;
  border-radius: 999px;
  background: linear-gradient(90deg, #E7C998, var(--p-gold));
}

/* bottom nav pinned */
.app-nav {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 9px 4px calc(9px + env(safe-area-inset-bottom, 14px));
  border-top: 1px solid rgba(244, 239, 230, 0.07);
  background: #18130F;
  margin-left: -16px;
  margin-right: -16px;
}
.app-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.58rem;
  letter-spacing: 0.02em;
  color: var(--p-muted-2);
}
.app-nav-item svg { width: 19px; height: 19px; }
.app-nav-item.active { color: var(--p-gold); }

/* ---------- Generic cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: linear-gradient(180deg, var(--espresso-2), var(--espresso));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: var(--shadow-soft); }
.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.98rem; }

.card-step .step-num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  margin-bottom: 20px;
}
.card-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.card-head h3 { margin: 0; }

/* coming soon badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(216, 174, 115, 0.1);
  border: 1px solid var(--line);
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* feature icon */
.f-icon {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: rgba(216, 174, 115, 0.1);
  border: 1px solid var(--line);
  margin-bottom: 20px;
  color: var(--gold);
}
.f-icon svg { width: 26px; height: 26px; }

.sublist { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.sublist li {
  position: relative;
  padding-left: 26px;
  font-size: 0.94rem;
  color: var(--muted);
}
.sublist li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.sublist li em { font-style: italic; color: var(--muted-2); }

/* ---------- Founder ---------- */
.founder-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.founder-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 30% 20%, rgba(216,174,115,0.16), transparent 55%),
    linear-gradient(160deg, var(--espresso-2), #14100c);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.founder-photo .smark { font-size: 3.6rem; opacity: 0.5; }
.founder-photo .photo-tag {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.founder-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}
.founder-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.35));
  pointer-events: none;
}
.founder-quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  line-height: 1.45;
  color: var(--ivory);
  font-weight: 500;
  margin: 18px 0 0;
}
.founder-body { margin-top: 22px; font-size: 1.05rem; }
.founder-sign { margin-top: 24px; display: flex; align-items: center; gap: 12px; }
.founder-sign .line { width: 40px; height: 1px; background: var(--gold); }
.founder-sign span { font-family: var(--font-editorial); font-style: italic; color: var(--gold); }
.founder-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s ease;
}
.founder-social:hover { color: var(--gold-soft); text-decoration: underline; }
.founder-social:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Value block (Free to start) ---------- */
.value-block {
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(216,174,115,0.1), transparent 55%),
    linear-gradient(180deg, var(--espresso-2), var(--espresso));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(34px, 5vw, 60px);
}
.value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.value-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin-top: 8px; }
.value-list li {
  position: relative;
  padding-left: 30px;
  font-size: 1rem;
  color: var(--ivory);
  font-weight: 500;
}
.value-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(216,174,115,0.14);
  border: 1px solid var(--line);
}
.value-list li::after {
  content: "";
  position: absolute;
  left: 6px; top: 8px;
  width: 8px; height: 5px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.value-sub { margin-top: 24px; font-size: 0.95rem; color: var(--muted-2); font-style: italic; font-family: var(--font-editorial); }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 22px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: inline-flex;
  gap: 0;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--muted);
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  gap: 26px;
}
.marquee-track span::after { content: "•"; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- FAQ / Accordion ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: linear-gradient(180deg, var(--espresso-2), var(--espresso));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}
.faq-item[open] { border-color: var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--ivory);
  font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q-text { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.faq-icon { flex: none; width: 26px; height: 26px; position: relative; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--gold);
  border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.faq-icon::before { top: 12px; left: 4px; width: 18px; height: 2px; }
.faq-icon::after { top: 4px; left: 12px; width: 2px; height: 18px; }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-answer { padding: 0 26px 24px; }
.faq-answer p { color: var(--muted); font-size: 1rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); text-transform: uppercase; }
.field input, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ivory);
  background: var(--field-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(216,174,115,0.16);
}
.contact-card { display: flex; flex-direction: column; gap: 22px; }
.contact-line { display: flex; align-items: flex-start; gap: 16px; }
.contact-line .ci {
  flex: none; width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; background: rgba(216,174,115,0.1); border: 1px solid var(--line);
  color: var(--gold);
}
.contact-line .ci svg { width: 22px; height: 22px; }
.contact-line a { color: var(--gold-soft); }
.contact-line a:hover { color: var(--gold); }
.contact-line .label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }

/* ---------- Email capture / signup ---------- */
.signup-band { text-align: center; }
.signup-inner {
  max-width: 720px;
  margin: 0 auto;
  background:
    radial-gradient(80% 140% at 50% 0%, rgba(216, 174, 115, 0.12), transparent 60%),
    linear-gradient(180deg, var(--espresso-2), var(--espresso));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 56px);
  box-shadow: var(--shadow-soft);
}
.signup-inner .eyebrow { margin-bottom: 16px; }
.signup-inner h2 { margin-bottom: 14px; }
.signup-inner > p { max-width: 46ch; margin: 0 auto; }

.signup { max-width: 480px; margin: 26px auto 0; }
.signup-form { display: flex; gap: 12px; }
.signup-form input[type="email"] {
  flex: 1; min-width: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ivory);
  background: var(--field-bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 22px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.signup-form input[type="email"]::placeholder { color: var(--muted-2); }
.signup-form input[type="email"]:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(216, 174, 115, 0.16);
}
.signup-form .btn { flex: none; }

/* form result messages */
.form-success { margin-top: 16px; color: var(--gold); font-weight: 600; }
.form-error { margin-top: 16px; color: var(--crisis); font-weight: 500; }
.form-error a { color: var(--crisis); text-decoration: underline; }

/* honeypot (anti-spam) — visually hidden */
.hp-field { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* compact footer signup */
.footer-signup-label { font-size: 0.9rem; color: var(--muted-2); margin-top: 20px; margin-bottom: 10px; }
.footer-signup { display: flex; gap: 8px; max-width: 340px; }
.footer-signup input[type="email"] {
  flex: 1; min-width: 0;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ivory);
  background: var(--field-bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 16px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.footer-signup input[type="email"]::placeholder { color: var(--muted-2); }
.footer-signup input[type="email"]:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(216, 174, 115, 0.16);
}
.footer-signup .btn { flex: none; padding: 11px 18px; font-size: 0.88rem; }

@media (max-width: 520px) {
  .signup-form, .footer-signup { flex-direction: column; }
  .signup-form .btn, .signup-form input[type="email"],
  .footer-signup .btn, .footer-signup input[type="email"] { width: 100%; }
}

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band-inner {
  background:
    radial-gradient(80% 140% at 50% 0%, rgba(216,174,115,0.16), transparent 60%),
    linear-gradient(180deg, var(--espresso-2), var(--espresso));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 64px);
  box-shadow: var(--shadow-soft);
}
.cta-band h2 { max-width: 18ch; margin: 0 auto 28px; }
.cta-band .eyebrow { margin-bottom: 18px; }

/* ---------- Legal pages ---------- */
.legal { padding: clamp(48px, 7vw, 96px) 0; }
.legal-wrap { max-width: 760px; margin: 0 auto; }
.legal .updated {
  font-size: 0.85rem;
  color: var(--muted-2);
  letter-spacing: 0.04em;
  margin: 10px 0 28px;
}
.legal h1 { margin-bottom: 8px; }
.legal h4, .legal-wrap h2 {
  font-size: 1.2rem;
  margin: 36px 0 12px;
  color: var(--ivory);
}
.legal-wrap h2 { font-size: 1.35rem; }
.legal p { margin-bottom: 16px; color: var(--muted); font-size: 1.02rem; }
.legal a { color: var(--gold-soft); border-bottom: 1px solid var(--line); }
.legal a:hover { color: var(--gold); }
.legal .crisis-note {
  background: rgba(192, 57, 43, 0.08);
  border: 1px solid rgba(192, 57, 43, 0.35);
  border-left: 3px solid var(--crisis);
  border-radius: 12px;
  padding: 16px 20px;
}
.legal .crisis-note p { margin: 0; color: var(--ivory); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 56px 0 36px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.25));
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line-soft);
}
.footer-brand { max-width: 340px; }
.footer-brand .wordmark { font-size: 1.5rem; }
.footer-brand p { margin-top: 14px; font-size: 0.95rem; color: var(--muted-2); }
.footer-nav { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--muted); font-size: 0.96rem; padding: 5px 0; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--gold); }
.footer-social {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; color: var(--muted);
}
.footer-social a {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; border: 1px solid var(--line);
  color: var(--gold); transition: all 0.25s var(--ease);
}
.footer-social a:hover { background: rgba(216,174,115,0.1); transform: translateY(-2px); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  padding-top: 28px;
  font-size: 0.86rem; color: var(--muted-2);
}
.footer-bottom .legal-links { display: flex; gap: 24px; }
.footer-bottom a:hover { color: var(--gold); }

/* medical / crisis disclaimer — readable in both themes */
.footer-disclaimer {
  max-width: 880px;
  margin: 26px 0 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
}
.footer-disclaimer a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.footer-disclaimer a:hover { color: var(--gold); }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding: clamp(56px, 8vw, 100px) 0 clamp(32px, 5vw, 56px); position: relative; }
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(50% 60% at 70% 0%, rgba(216,174,115,0.1), transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 { margin: 16px 0 0; }
.page-hero p.lede { margin: 20px 0 0; }
.page-hero .hero-actions { margin-top: 30px; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.divider { height: 1px; background: var(--line-soft); border: 0; }

/* skip link */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: #2A2014; padding: 10px 16px; border-radius: 0 0 10px 0;
  font-weight: 600; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .phone-stage { margin-top: 12px; }
  .phone { transform: none; }
  .phone:hover { transform: none; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-photo { max-width: 380px; margin: 0 auto; }
  .value-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  /* mobile nav */
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .mobile-menu {
    position: fixed;
    inset: 74px 0 0;
    background: var(--onyx);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 99;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
    display: flex;
    flex-direction: column;
    padding: 28px 24px 40px;
    gap: 6px;
    overflow-y: auto;
  }
  .mobile-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .mobile-menu a.m-link {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--ivory);
    padding: 16px 4px;
    border-bottom: 1px solid var(--line-soft);
  }
  .mobile-menu a.m-link.active { color: var(--gold); }
  .mobile-menu .btn-store { margin-top: 24px; align-self: flex-start; }
  body.menu-open { overflow: hidden; }

  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .value-list { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .footer-nav { gap: 36px; }
  .streak-number { font-size: 3.6rem; }
  body { font-size: 16px; }
}

@media (max-width: 420px) {
  .container { padding: 0 18px; }
  .phone { width: 270px; height: 552px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .hero-actions .btn-store { width: 100%; justify-content: center; }
}

/* hide desktop-only mobile menu container on large screens */
@media (min-width: 761px) { .mobile-menu { display: none; } }
