/* ============================================================================
   SITE STYLES — consumes ONLY the tokens in brand.css.
   No raw colour / font / radius values live here. If you reach for a hex code,
   it belongs in the design system, not in this file.
   ============================================================================ */

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

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

body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  font-weight: var(--w-regular);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--accent-strong); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Type ---- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: var(--w-black);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  margin: 0 0 var(--space-4);
  color: var(--text-body);
}
h1 { font-size: clamp(34px, 6vw, var(--fs-display)); line-height: var(--lh-tight); }
h2 { font-size: clamp(24px, 3.2vw, 34px); }
h3 { font-size: var(--fs-h2); font-weight: var(--w-bold); }
p  { margin: 0 0 var(--space-4); }
.lead { font-size: clamp(16px, 1.6vw, 18px); color: var(--text-muted); max-width: 60ch; }
.muted { color: var(--text-muted); }
.small { font-size: var(--fs-small); }

/* ---- Layout ---- */
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 var(--space-5); }
.section { padding: var(--space-7) 0; }
.section--tight { padding: var(--space-6) 0; }
.center { text-align: center; }
.center h1, .center .lead { margin-left: auto; margin-right: auto; }
.stack > * + * { margin-top: var(--space-4); }

/* ---- Heart glyph (the only mark — plump, slightly hand-drawn, solid Rose) ---- */
.heart { display: inline-block; width: 1em; height: 1em; vertical-align: -0.12em; color: var(--rose-500); }
.heart svg { width: 100%; height: 100%; display: block; }

/* ============================ NAV ============================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream-50) 88%, transparent);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--border-hair);
}
.nav__inner {
  max-width: 1040px; margin: 0 auto; padding: var(--space-3) var(--space-5);
  display: flex; align-items: center; gap: var(--space-4);
}
.brandmark { display: flex; align-items: center; gap: var(--space-3); text-decoration: none; color: var(--text-body); }
.brandmark:hover { text-decoration: none; }
.brandmark .heart { font-size: 26px; }
/* Wordmark — brand name over the supporting tagline */
.wordmark {
  display: flex; flex-direction: column; gap: 5px; line-height: 1.05;
}
.wordmark__name {
  font-family: var(--font-display); font-weight: var(--w-black);
  font-size: 18px; letter-spacing: var(--ls-tight); line-height: 1;
}
.wordmark__tag {
  font-family: var(--font-text); font-weight: var(--w-semibold);
  font-size: 9px; letter-spacing: var(--ls-caps); text-transform: uppercase;
  color: var(--text-muted); line-height: 1;
}
.nav__spacer { flex: 1; }
.nav__links { display: flex; align-items: center; gap: var(--space-2); }
.nav__link {
  font-weight: var(--w-semibold); font-size: var(--fs-small);
  color: var(--text-body); padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-pill); text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.nav__link:hover { text-decoration: none; background: var(--cream-100); }
.nav__link[aria-current="page"] { background: var(--rose-500); color: var(--text-on-rose); }
.nav__toggle {
  display: none; border: 0; background: transparent; cursor: pointer;
  padding: var(--space-2); color: var(--text-body);
}

@media (max-width: 680px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: var(--space-1);
    background: var(--cream-50); border-bottom: 1px solid var(--border-hair);
    padding: var(--space-3) var(--space-5); box-shadow: var(--shadow-md);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__link { padding: var(--space-3) var(--space-5); }
}

/* ============================ BUTTONS ============================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-text); font-weight: var(--w-bold); font-size: var(--fs-body);
  padding: var(--space-3) var(--space-5); border-radius: var(--radius-pill);
  border: 0; cursor: pointer; text-decoration: none; line-height: 1.1;
  transition: background .15s ease, transform .08s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--rose-500); color: var(--text-on-rose); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--rose-600); box-shadow: var(--shadow-md); }
.btn--primary:active { background: var(--rose-700); transform: translateY(1px); }
.btn--ghost { background: var(--surface-card); color: var(--text-body); }
.btn--ghost:hover { background: var(--cream-200); }
.btn--lg { font-size: var(--fs-body); padding: var(--space-3) var(--space-6); }
.btn--block { width: 100%; }

/* ============================ HERO ============================ */
.hero { padding: var(--space-7) 0 var(--space-6); }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-weight: var(--w-semibold); font-size: var(--fs-small);
  color: var(--rose-600); background: var(--rose-100);
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill);
  margin-bottom: var(--space-5);
}
.hero h1 { font-size: clamp(27px, 4.4vw, 46px); max-width: 20ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }

/* ============================ CARDS ============================ */
.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface-card);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-md);
}
.card h3 { margin-bottom: var(--space-3); }
.card p:last-child { margin-bottom: 0; }

/* Lane cards — the three conversation lanes. Colour lives ONLY in the dot. */
.lane { position: relative; }
.lane__dot { display: inline-flex; align-items: center; gap: var(--space-2);
  font-weight: var(--w-bold); font-size: var(--fs-small);
  text-transform: uppercase; letter-spacing: var(--ls-caps); margin-bottom: var(--space-3); }
.lane__dot::before { content: ""; width: 12px; height: 12px; border-radius: var(--radius-pill); background: var(--dot, var(--rose-500)); }
.lane--solo   { --dot: var(--lane-solo); }
.lane--single { --dot: var(--lane-single); }
.lane--couple { --dot: var(--lane-couple); }

/* Door cards (the two big CTAs on the landing) */
.door {
  display: flex; flex-direction: column; gap: var(--space-3);
  background: var(--surface-card); border: 1px solid var(--border-hair);
  border-radius: var(--radius-lg); padding: var(--space-6);
  box-shadow: var(--shadow-md); text-decoration: none; color: var(--text-body);
  transition: transform .12s ease, box-shadow .15s ease;
}
.door:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.door__label { font-family: var(--font-display); font-weight: var(--w-black); font-size: clamp(20px, 2.2vw, 26px); white-space: nowrap; }
/* Funnel: 3-up on desktop, single column before it gets cramped (keeps labels on one line) */
@media (max-width: 820px) { .funnel { grid-template-columns: 1fr; } }
.door__arrow { color: var(--rose-500); font-weight: var(--w-bold); margin-top: auto; padding-top: var(--space-3); }

/* Receipts / stat row (brands page) */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }
.stat__num { font-family: var(--font-display); font-weight: var(--w-black);
  font-size: var(--fs-h1); color: var(--rose-600); line-height: 1; margin-bottom: var(--space-2); }

/* Section on sand surface for contrast */
.band { background: var(--surface-card); }

/* ============================ FORMS ============================ */
.form { max-width: 640px; }
/* Split a long form into calmer sections so it reads as less of a wall */
.form__section + .form__section {
  margin-top: var(--space-6); padding-top: var(--space-6);
  border-top: 1px solid var(--border-hair);
}
.form__legend {
  font-family: var(--font-display); font-weight: var(--w-bold);
  font-size: var(--fs-h3); letter-spacing: var(--ls-tight);
  margin: 0 0 var(--space-4);
}
.field { margin-bottom: var(--space-4); }
.field label { display: block; font-weight: var(--w-semibold); font-size: var(--fs-small); margin-bottom: var(--space-2); }
.field .hint { font-size: var(--fs-small); color: var(--text-muted); margin: 0 0 var(--space-2); }
.field input[type="text"],
.field input[type="email"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%; font-family: var(--font-text); font-size: var(--fs-body); color: var(--text-body);
  background: var(--white); border: 1px solid var(--border-hair); border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4); transition: border-color .15s ease, box-shadow .15s ease;
}
/* Custom dropdown chevron so the arrow sits clear of the right edge */
.field select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding-right: var(--space-7);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236E635A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--rose-500);
  box-shadow: 0 0 0 3px var(--rose-100);
}
/* Validation state */
.field--error input,
.field--error select,
.field--error textarea { border-color: var(--rose-600); background: color-mix(in srgb, var(--rose-100) 45%, var(--white)); }
.field--error input:focus,
.field--error select:focus,
.field--error textarea:focus { box-shadow: 0 0 0 3px var(--rose-100); }
.field__error {
  display: none; margin: var(--space-2) 0 0;
  font-size: var(--fs-small); font-weight: var(--w-semibold); color: var(--rose-600);
}
.field--error .field__error { display: block; }
.choices { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label {
  display: inline-block; cursor: pointer; margin: 0;
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill);
  border: 1px solid var(--border-hair); background: var(--white);
  font-weight: var(--w-semibold); font-size: var(--fs-small);
  transition: all .12s ease;
}
.choice input:checked + label { background: var(--rose-500); color: var(--text-on-rose); border-color: var(--rose-500); }
.choice input:focus-visible + label { box-shadow: 0 0 0 3px var(--rose-100); }
.check { display: flex; gap: var(--space-3); align-items: flex-start; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--rose-500); flex: none; }
.check label { font-weight: var(--w-regular); font-size: var(--fs-small); color: var(--text-muted); margin: 0; }
.hp { position: absolute; left: -9999px; }  /* honeypot */
.form__nav { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }
.form--stepped .form__step + .form__step { border-top: 0; margin-top: 0; padding-top: 0; }
.form__progress { margin-bottom: var(--space-5); }
.form__count { margin: 0 0 var(--space-2); }
.form__bar { height: 6px; border-radius: var(--radius-pill); background: var(--cream-200); overflow: hidden; }
.form__bar span { display: block; height: 100%; width: 0; background: var(--rose-500); transition: width .25s ease; }
.form__fineprint { margin: var(--space-4) 0 0; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ============================ FOOTER ============================ */
.footer { border-top: 1px solid var(--border-hair); padding: var(--space-6) 0; margin-top: var(--space-7); }
.footer__grid { display: flex; flex-wrap: wrap; gap: var(--space-5); align-items: center; justify-content: space-between; }
.footer__note { color: var(--text-muted); font-size: var(--fs-small); max-width: 46ch; }
.tbd-badge {
  display: inline-block; font-size: var(--fs-caption); font-weight: var(--w-semibold);
  letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--text-muted);
  background: var(--cream-100); border: 1px solid var(--border-hair);
  padding: 2px var(--space-3); border-radius: var(--radius-pill);
}

/* ============================ SOCIAL LINKS ============================ */
.social { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.social__link {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-3) var(--space-5); border-radius: var(--radius-pill);
  background: var(--surface-card); color: var(--text-body); font-weight: var(--w-bold);
  border: 1px solid var(--border-hair); text-decoration: none;
  transition: background .15s ease, transform .08s ease, box-shadow .15s ease;
}
.social__link:hover { background: var(--cream-200); text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.social__link svg { width: 20px; height: 20px; display: block; }
.social--sm .social__link { padding: var(--space-2) var(--space-4); font-size: var(--fs-small); }
.social--sm .social__link svg { width: 16px; height: 16px; }
/* Dulled channel not launched yet — same size as the live pills, with a
   hover tooltip instead of inline text so the row stays aligned. */
.social__link--soon { position: relative; opacity: .5; cursor: default; }
.social__link--soon:hover { background: var(--surface-card); transform: none; box-shadow: none; }
.social__link--soon::after {
  content: "Coming soon";
  position: absolute; bottom: calc(100% + var(--space-2)); left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--ink-900); color: var(--white);
  font-size: var(--fs-caption); font-weight: var(--w-semibold);
  letter-spacing: var(--ls-caps); text-transform: uppercase;
  padding: var(--space-1) var(--space-3); border-radius: var(--radius-sm);
  white-space: nowrap; opacity: 0; pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
}
.social__link--soon:hover::after,
.social__link--soon:focus-visible::after { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Skip link for a11y */
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--space-4); top: var(--space-4); z-index: 100; background: var(--white); padding: var(--space-3); border-radius: var(--radius-md); }

/* ============================ MOBILE TIGHTENING ============================
   Phones: pull in the padding and heavy blocks so the layout stops feeling
   oversized. Spacing only — type sizing is handled by the clamps above. */
@media (max-width: 640px) {
  .wrap { padding: 0 var(--space-4); }
  .section { padding: var(--space-6) 0; }
  .section--tight { padding: var(--space-5) 0; }
  .hero { padding: var(--space-5) 0; }
  .hero__eyebrow { margin-bottom: var(--space-4); }

  .grid { gap: var(--space-4); }
  .card, .door { padding: var(--space-5); }

  .field { margin-bottom: var(--space-4); }

  .footer { margin-top: var(--space-6); padding: var(--space-5) 0; }

  .social { gap: var(--space-2); }
  .social__link { padding: var(--space-2) var(--space-4); font-size: var(--fs-small); }
  .social__link svg { width: 16px; height: 16px; }
  /* Stack the main follow row so all three pills align (footer row still fits) */
  .social:not(.social--sm) { flex-direction: column; align-items: stretch; }
  .social:not(.social--sm) .social__link { justify-content: center; }
}

/* Home hero: the three platforms as big, equal buttons, never stacked into a list */
.social--hero { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); max-width: 560px; }
.social--hero .social__link { justify-content: center; border-radius: var(--radius-lg); padding: var(--space-4) var(--space-3); font-size: var(--fs-body); font-weight: var(--w-bold); }
.social--hero .social__link svg { width: 22px; height: 22px; }
@media (max-width: 640px) {
  .social.social--hero { display: grid; flex-direction: initial; gap: var(--space-2); }
  .social--hero .social__link { flex-direction: column; gap: var(--space-2); padding: var(--space-4) var(--space-2); font-size: var(--fs-small); }
  .social--hero .social__link svg { width: 24px; height: 24px; }
}

/* Home: initial screening card */
.screen { max-width: 560px; margin-top: var(--space-6); }
.screen__count { margin: 0 0 var(--space-3); }
.screen__ask { font-size: clamp(22px, 3vw, 28px); margin: 0 0 var(--space-4); }
.screen__opts { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.screen__q p { margin-bottom: var(--space-4); }

