/* ============================================================
   DADOS — warm, dad-to-dad landing page
   ============================================================ */

:root {
  /* color */
  --cream:      #F5EFE6;
  --cream-2:    #FBF7F0;   /* lighter card cream */
  --cream-3:    #EFE6D8;   /* deeper cream / borders */
  --ink:        #221C16;   /* near-black headline */
  --ink-soft:   #4A4038;   /* warm dark gray body */
  --ink-mute:   #8A7E70;   /* muted captions */
  --accent:     #D9521A;   /* burnt orange */
  --accent-dk:  #BC430F;
  --accent-soft:#F3D9C7;
  --border:     #E3D8C8;

  /* type */
  --display: "Inter Tight", system-ui, -apple-system, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;

  /* spacing */
  --container: 1120px;
  --radius:    24px;
  --radius-lg: 36px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--cream);
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

/* ---------- typography helpers ---------- */
.eyebrow, .kicker {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
/* preserve mixed-case for the DadOS brand name even inside uppercase eyebrows */
.brand-case { text-transform: none; letter-spacing: 0; font-size: 1.05em; }
.kicker { margin-bottom: 18px; }

.section__title {
  font-family: var(--display);
  font-weight: 800;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.lead {
  font-size: clamp(1.05rem, 2.2vw, 1.22rem);
  color: var(--ink-soft);
  margin-top: 22px;
  max-width: 36ch;
}
.lead--center { max-width: 52ch; margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  padding: 16px 30px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 22px -8px rgba(217,82,26,.55);
}
.btn--primary:hover { background: var(--accent-dk); transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(217,82,26,.6); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn--ghost:hover { background: var(--cream-2); border-color: var(--ink-mute); transform: translateY(-2px); }

/* --- "See how it works" tour button --- */
.btn--tour {
  background: #FFFFFF;
  color: var(--ink);
  border: 2px solid var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  box-shadow: 0 8px 22px -10px rgba(217,82,26,.35);
  padding-top: 14px;
  padding-bottom: 14px;
}
.btn--tour .btn__icon {
  color: var(--accent);
  flex-shrink: 0;
  transition: transform .35s var(--ease);
}
.btn--tour .btn__arrow {
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  display: inline-block;
  animation: tour-bob 1.8s ease-in-out infinite;
}
.btn--tour:hover {
  background: #FFF;
  border-color: var(--accent-dk);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(217,82,26,.55);
}
.btn--tour:hover .btn__icon { transform: scale(1.12) rotate(-3deg); }
.btn--tour:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

@keyframes tour-bob {
  0%, 100% { transform: translateY(0); opacity: .75; }
  50%      { transform: translateY(3px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .btn--tour .btn__arrow { animation: none; }
}
.btn--sm { padding: 11px 22px; font-size: 15px; }
.btn--lg { padding: 19px 40px; font-size: 18px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s var(--ease);
}
.nav--scrolled {
  background: rgba(245,239,230,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
}
.brand-mark {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.brand-word {
  font-family: var(--display);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
}
.logo { color: var(--ink); display: block; } /* kept for footer wordmark */

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(64px, 11vw, 130px) 0 clamp(72px, 12vw, 140px);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 70% 30%;
  opacity: .92;
}
.hero__bg-fade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--cream) 8%, rgba(245,239,230,.78) 42%, rgba(245,239,230,.15) 78%),
    linear-gradient(0deg, var(--cream) 2%, transparent 30%);
}
.hero__inner { position: relative; z-index: 1; max-width: 760px; }
.hero__title {
  font-family: var(--display);
  font-weight: 900;
  color: var(--ink);
  font-size: clamp(2.6rem, 7.6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-top: 22px;
}
.hero__sub {
  font-size: clamp(1.12rem, 2.4vw, 1.35rem);
  color: var(--ink-soft);
  margin-top: 26px;
  max-width: 50ch;
  line-height: 1.55;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__caption {
  display: flex; align-items: center; gap: 9px;
  margin-top: 26px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-mute);
}
.hero__caption .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(217,82,26,.16);
}

/* ============================================================
   SOCIAL PROOF (under hero CTAs)
   ============================================================ */
.social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.social-proof__avatars { display: flex; }
.avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--cream);
  margin-left: -10px;
  display: block;
  box-shadow: 0 1px 3px rgba(34,28,22,.12);
}
.avatar--1 { margin-left: 0; background: #C9764E; }   /* terracotta */
.avatar--2 { background: #7C93A6; }                    /* dusty blue */
.avatar--3 { background: #8C9A78; }                    /* sage */
.avatar--4 { background: #C9A14E; }                    /* mustard */
.social-proof__text {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-mute);
  line-height: 1.4;
}
.social-proof__text strong { color: var(--ink-soft); font-weight: 700; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how__head { text-align: center; max-width: 680px; margin: 0 auto clamp(44px, 6vw, 64px); }
.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.how-step {
  position: relative;
  background: var(--cream-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px 32px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.how-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -28px rgba(34,28,22,.32);
  border-color: var(--accent-soft);
}
.how-step__num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--accent);
  display: block;
  margin-bottom: 18px;
}
.how-step__icon {
  display: inline-flex;
  width: 56px; height: 56px;
  border-radius: 18px;
  background: var(--accent-soft);
  color: var(--accent);
  align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.how-step__icon svg { width: 30px; height: 30px; }
.how-step__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.32rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.how-step__text { font-size: 15.5px; color: var(--ink-soft); line-height: 1.6; }

/* ============================================================
   SECTIONS / SPLIT
   ============================================================ */
.section { padding: clamp(72px, 11vw, 140px) 0; }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 90px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__copy .checklist { margin-top: 30px; }
.lead { line-height: 1.6; }

/* checklist */
.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li {
  position: relative;
  padding-left: 34px;
  font-size: 16px;
  color: var(--ink-soft);
  font-weight: 500;
}
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l4 4 10-11' stroke='%23D9521A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 15px;
}

/* ---------- phone mockups ---------- */
.phone {
  margin: 0 auto;
  width: min(330px, 86%);
  aspect-ratio: 9 / 17.5;
  background: var(--ink);
  border-radius: 44px;
  padding: 11px;
  box-shadow: 0 40px 80px -30px rgba(34,28,22,.5), 0 0 0 1px rgba(34,28,22,.06);
}
.phone--tall { aspect-ratio: 9 / 18.4; }
.phone__screen {
  width: 100%; height: 100%;
  border-radius: 34px;
  background: var(--cream);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* pause screen */
.pause-screen {
  align-items: center;
  justify-content: center;
  gap: 30px;
  background: radial-gradient(120% 90% at 50% 18%, #FBF1E7 0%, var(--cream) 55%);
  padding: 30px 22px;
}
.pause-screen__label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
}
.pause-screen__hint { font-size: 14px; color: var(--ink-mute); font-weight: 500; }
.pause-orb {
  position: relative;
  width: 132px; height: 132px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: 0 18px 40px -12px rgba(217,82,26,.6);
}
.pause-orb__bars { display: flex; gap: 11px; z-index: 2; }
.pause-orb__bars i {
  display: block; width: 12px; height: 42px;
  border-radius: 6px; background: #fff;
}
.pause-orb__ring, .pause-orb__ring--2 {
  position: absolute; inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(217,82,26,.4);
  animation: pulse 3s var(--ease) infinite;
}
.pause-orb__ring--2 { animation-delay: 1.5s; }
@keyframes pulse {
  0% { transform: scale(.85); opacity: .8; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* chat screen */
.chat-screen { padding: 18px 16px; gap: 12px; background: var(--cream-2); }
.chat-screen__head {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--display); font-weight: 700; font-size: 15px;
  color: var(--ink);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}
.chat-screen__avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
}
.bubble {
  font-size: 13.5px; line-height: 1.5;
  padding: 12px 14px; border-radius: 18px;
  max-width: 86%;
}
.bubble--me {
  align-self: flex-end;
  background: var(--accent); color: #fff;
  border-bottom-right-radius: 6px;
}
.bubble--coach {
  align-self: flex-start;
  background: #fff; color: var(--ink-soft);
  border: 1px solid var(--border);
  border-bottom-left-radius: 6px;
  display: grid; gap: 8px;
}
.bubble--coach em { color: var(--ink); font-style: italic; }
.bubble--coach strong { color: var(--accent-dk); }
.chat-screen__input {
  margin-top: auto;
  padding: 13px 16px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--border);
  font-size: 13.5px; color: var(--ink-mute);
}

/* section backgrounds for rhythm */
.coach { background: linear-gradient(180deg, var(--cream) 0%, #F0E7D9 100%); }

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features__head { text-align: center; max-width: 720px; margin: 0 auto clamp(48px, 7vw, 72px); }
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.card {
  background: var(--cream-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 32px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -28px rgba(34,28,22,.32);
  border-color: var(--accent-soft);
}
.card--wide { grid-column: 1 / -1; }
.card__icon {
  display: inline-flex;
  width: 56px; height: 56px;
  border-radius: 18px;
  background: var(--accent-soft);
  color: var(--accent);
  align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.card__icon svg { width: 30px; height: 30px; }
.card__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.32rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.card__text { font-size: 15.5px; color: var(--ink-soft); line-height: 1.6; max-width: 46ch; }

/* ============================================================
   FOUNDER NOTE
   ============================================================ */
.founder { background: var(--ink); }
.founder__inner { max-width: 820px; margin: 0 auto; text-align: center; }
.founder .kicker { color: var(--accent); }
.founder__quote {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.4rem, 3.4vw, 2.05rem);
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin: 8px 0 28px;
}
.founder__sign {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--accent-soft);
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta { position: relative; padding: clamp(96px, 14vw, 170px) 0; overflow: hidden; text-align: center; }
.final-cta__bg { position: absolute; inset: 0; z-index: 0; }
.final-cta__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.final-cta__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(34,28,22,.62) 0%, rgba(34,28,22,.5) 45%, rgba(34,28,22,.78) 100%);
}
.final-cta__inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.final-cta__title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.2rem, 6.4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #fff;
}
.final-cta__sub {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: rgba(255,255,255,.85);
  margin: 22px auto 34px;
  max-width: 44ch;
}
.disclaimer {
  margin-top: 34px;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255,255,255,.6);
  max-width: 52ch;
  margin-left: auto; margin-right: auto;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--cream); padding: 60px 0 48px; border-top: 1px solid var(--border); }
.footer__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.footer__brand {
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer__mark { display: block; width: 44px; height: 44px; object-fit: contain; }
.footer__word {
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.footer__tag { font-family: var(--display); font-weight: 600; color: var(--ink-soft); font-size: 16px; }
.footer__meta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.footer__meta a { color: var(--ink-soft); transition: color .2s var(--ease); }
.footer__meta a:hover { color: var(--accent); }
.footer__meta a[aria-disabled="true"] { color: var(--ink-mute); }
.footer__sep { color: var(--ink-mute); }
.footer__copy { font-size: 13px; color: var(--ink-mute); margin-top: 4px; }

/* ============================================================
   FINAL CTA — share line
   ============================================================ */
.final-cta__share {
  margin-top: 22px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,.82);
}
.text-link {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255,255,255,.55);
  transition: text-decoration-color .25s var(--ease), color .25s var(--ease);
}
.text-link:hover { text-decoration-color: #fff; }

/* ============================================================
   EXIT-INTENT MODAL
   ============================================================ */
.exit-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}
.exit-modal[hidden] { display: none; }
.exit-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  animation: exit-fade .3s var(--ease);
}
.exit-modal__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 460px;
  background: var(--cream);
  border-radius: 20px;
  padding: 44px 40px 38px;
  box-shadow: 0 40px 90px -30px rgba(34,28,22,.55);
  text-align: center;
  animation: exit-pop .4s var(--ease);
}
.exit-modal__close {
  position: absolute;
  top: 14px; right: 16px;
  width: 38px; height: 38px;
  border: none;
  background: transparent;
  color: var(--ink-mute);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.exit-modal__close:hover { background: var(--cream-3); color: var(--ink); }
.exit-modal__card h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 12px;
}
.exit-modal__card > p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 36ch;
  margin: 0 auto;
}
.exit-modal__form {
  display: flex;
  gap: 10px;
  margin: 26px 0 14px;
  flex-wrap: wrap;
}
.exit-modal__form input[type="email"] {
  flex: 1 1 180px;
  min-width: 0;
  font-family: var(--body);
  font-size: 16px;
  padding: 15px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
}
.exit-modal__form input[type="email"]:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217,82,26,.18);
}
.exit-modal__form .btn { flex: 0 0 auto; }
.exit-modal__fine { font-size: 13px; color: var(--ink-mute); }
.exit-modal__success {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--accent-dk);
  margin: 26px 0 8px;
}
.exit-modal__error {
  font-size: 13px;
  color: #B23A1F;
  margin: 8px 0 0;
}
@keyframes exit-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes exit-pop {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .exit-modal__backdrop, .exit-modal__card { animation: none; }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .pause-orb__ring, .pause-orb__ring--2 { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split--reverse .split__media { order: 0; }
  .split__copy { text-align: center; }
  .split__copy .lead, .lead { margin-left: auto; margin-right: auto; }
  .checklist { display: inline-grid; text-align: left; }
  .split__copy .kicker { margin-left: auto; margin-right: auto; }
  .grid { grid-template-columns: 1fr; }
  .card__text { max-width: none; }
  .how__steps { grid-template-columns: 1fr; gap: 16px; }
  .hero__bg img { object-position: 64% 28%; }
  .hero__bg-fade {
    background:
      linear-gradient(90deg, var(--cream) 4%, rgba(245,239,230,.62) 55%, rgba(245,239,230,.25) 100%),
      linear-gradient(0deg, var(--cream) 1%, transparent 38%);
  }
}

@media (max-width: 460px) {
  .container { padding: 0 20px; }
  .nav__inner { padding: 14px 20px; }
  .logo { width: 116px; height: auto; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-word { font-size: 24px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .phone { width: min(280px, 92%); }
  .exit-modal__card { padding: 40px 26px 32px; }
  .exit-modal__form .btn { flex: 1 1 100%; }
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) 24px clamp(72px, 10vw, 120px);
}

.legal__updated {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mute);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.legal__disclaimer {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  padding: 14px 20px;
  margin: 24px 0 40px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* TOC */
.legal__toc {
  background: var(--cream-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 56px;
}

.legal__toc-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.legal__toc ol {
  list-style: none;
  counter-reset: toc-counter;
  display: grid;
  gap: 6px;
  padding: 0;
  column-count: 2;
}

.legal__toc li {
  counter-increment: toc-counter;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  padding-left: 0;
}

.legal__toc li::before { content: none; }

.legal__toc a {
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .2s var(--ease);
}

.legal__toc a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* Headings */
.legal h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 1.75rem);
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-top: 52px;
  margin-bottom: 16px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.legal h2:first-of-type { margin-top: 0; border-top: none; padding-top: 0; }

.legal h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin-top: 30px;
  margin-bottom: 10px;
}

/* Body text */
.legal p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 70ch;
}

.legal p:last-child { margin-bottom: 0; }

/* Lists */
.legal ul,
.legal ol {
  padding-left: 0;
  margin: 0 0 18px 0;
  list-style: none;
}

.legal ul li,
.legal ol li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 8px;
}

.legal ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

.legal ol {
  counter-reset: legal-counter;
}

.legal ol li {
  counter-increment: legal-counter;
}

.legal ol li::before {
  content: counter(legal-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}

/* Links */
.legal a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(217,82,26,.35);
  transition: text-decoration-color .2s var(--ease), color .2s var(--ease);
}

.legal a:hover {
  color: var(--accent-dk);
  text-decoration-color: var(--accent-dk);
}

/* TL;DR summary box */
.legal__tldr {
  background: var(--cream-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 36px;
  margin-bottom: 40px;
}

.legal__tldr-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ink);
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

.legal__tldr ul {
  margin: 0;
}

.legal__tldr ul li {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink-soft);
  padding-left: 26px;
}

.legal__tldr ul li::before {
  width: 7px;
  height: 7px;
  top: 9px;
  opacity: 1;
}

/* Page title area */
.legal__header {
  margin-bottom: 36px;
}

.legal__page-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 8px;
}

/* Responsive TOC */
@media (max-width: 600px) {
  .legal__toc ol { column-count: 1; }
  .legal { padding: 40px 20px 80px; }
  .legal__toc { padding: 22px 22px; }
  .legal__tldr { padding: 24px 22px; }
}

/* ============================================================
   SUPPORT FORM
   ============================================================ */
.support-form {
  margin-top: 24px;
  padding: 32px 28px;
  background: var(--cream-2, #EFE7D8);
  border-radius: 18px;
  display: grid;
  gap: 18px;
}

.support-form__row {
  display: grid;
  gap: 18px;
}

@media (min-width: 620px) {
  .support-form__row--split {
    grid-template-columns: 1fr 1fr;
  }
}

.support-form__field {
  display: grid;
  gap: 6px;
}

.support-form__label {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.005em;
}

.support-form__optional {
  font-weight: 400;
  color: var(--ink-mute);
  font-size: 13px;
}

.support-form input[type="text"],
.support-form input[type="email"],
.support-form select,
.support-form textarea {
  font-family: var(--body);
  font-size: 16px;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  line-height: 1.5;
  width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.support-form textarea {
  resize: vertical;
  min-height: 140px;
  font-family: var(--body);
}

.support-form select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%),
    linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 22px,
    calc(100% - 13px) 22px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
  cursor: pointer;
}

.support-form input:focus-visible,
.support-form select:focus-visible,
.support-form textarea:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 82, 26, 0.18);
}

.support-form__counter {
  font-size: 12px;
  color: var(--ink-mute);
  text-align: right;
  margin-top: 2px;
}

.support-form__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.support-form__fine {
  font-size: 13px;
  color: var(--ink-mute);
  margin: 0;
}

.support-form__error {
  background: #FCEAE3;
  color: #B23A1F;
  border: 1px solid #F2BFB0;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  margin: 0;
}

.support-form__success {
  background: #E8F1E5;
  border: 1px solid #BBD5B3;
  color: #2E5A26;
  padding: 22px 24px;
  border-radius: 14px;
  font-family: var(--body);
}

.support-form__success-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink);
  margin: 0 0 6px;
}

.support-form__success p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
}

@media (max-width: 460px) {
  .support-form { padding: 24px 18px; }
  .support-form__actions .btn { flex: 1 1 100%; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--cream-2); }
.testimonials__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.testimonials .kicker { color: var(--accent); }

.testimonial__stars {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 18px;
}
.testimonial__stars svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
  flex-shrink: 0;
}

.testimonial__attr {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--ink-mute);
  margin-top: 18px;
  flex-wrap: wrap;
}
.testimonial__name {
  font-weight: 700;
  color: var(--ink);
}
.testimonial__dot { color: var(--border); }
.testimonial__role { color: var(--ink-mute); }

/* Featured hero quote */
.testimonial-featured {
  max-width: 880px;
  margin: 0 auto 56px;
  padding: clamp(36px, 5vw, 56px) clamp(28px, 5vw, 64px);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  text-align: left;
}
.testimonial-featured::before {
  content: "";
  position: absolute;
  top: 0; left: clamp(28px, 5vw, 64px);
  width: 56px; height: 4px;
  background: var(--accent);
  border-radius: 0 0 4px 4px;
}
.testimonial-featured .testimonial__stars svg {
  width: 20px;
  height: 20px;
}
.testimonial-featured__quote {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  line-height: 1.42;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 8px;
}
.testimonial-featured__quote .hl {
  background: linear-gradient(180deg, transparent 62%, var(--accent-soft) 62%);
  padding: 0 2px;
}

/* Grid of cards */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -28px rgba(34,28,22,.28);
  border-color: var(--accent-soft);
}
.testimonial-card__quote {
  font-family: var(--body);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  flex: 1;
}
.testimonial-card__quote .hl {
  color: var(--ink);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 980px) {
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .testimonial-grid { grid-template-columns: 1fr; gap: 16px; }
  .testimonial-featured { padding: 32px 24px; }
  .testimonial-featured__quote { font-size: 1.15rem; line-height: 1.45; }
  .testimonial-card { padding: 26px 24px; }
}

/* ============================================================
   LIVE COUNTER + BETA SIGNUP MODAL
   ============================================================ */

/* Subtle "live" pulse next to the count when freshly loaded */
#testerCount {
  font-variant-numeric: tabular-nums;
  transition: color .3s var(--ease);
}
.counter-live #testerCount {
  color: var(--accent);
}

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

/* Beta signup modal — focused, single-purpose, calmer than exit modal */
.beta-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: betaModalFade 0.28s var(--ease);
}
.beta-modal[hidden] { display: none; }
.beta-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(34, 28, 22, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.beta-modal__card {
  position: relative;
  background: var(--cream-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 48px) clamp(28px, 5vw, 48px);
  max-width: 460px;
  width: 100%;
  box-shadow: 0 32px 80px -28px rgba(34, 28, 22, 0.5);
  animation: betaModalRise 0.34s var(--ease);
}
.beta-modal__close {
  position: absolute;
  top: 14px; right: 16px;
  width: 36px; height: 36px;
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: var(--ink-mute);
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.beta-modal__close:hover {
  background: var(--cream-3);
  color: var(--ink);
}
.beta-modal__eyebrow {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.beta-modal__card h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.2;
}
.beta-modal__sub {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.beta-modal__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}
.beta-modal__form input[type=email] {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  outline: none;
}
.beta-modal__form input[type=email]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.beta-modal__form .btn { width: 100%; }
.beta-modal__fine {
  font-size: 12.5px;
  color: var(--ink-mute);
  line-height: 1.45;
  text-align: center;
}
.beta-modal__error {
  color: var(--accent-dk);
  font-size: 14px;
  margin-top: 4px;
}
.beta-modal__success {
  background: var(--accent-soft);
  color: var(--accent-dk);
  padding: 16px 18px;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 12px;
  font-weight: 500;
}

@keyframes betaModalFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes betaModalRise {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .beta-modal, .beta-modal__card { animation: none; }
}
