:root {
  --ink: #14100c;
  --panel: #1d1610;
  --paper: #fcfbf6;
  --cream: #f4ecdc;
  --muted: #a39a8f;
  --line: #4a3826;
  --rule: #d8cebf;
  --soft: #645a50;
  --gold: #e0a425;
  --gold-hi: #f0b93f;
  --rust: #cc2c1c;
  --max: 69rem;
  --narrow: 50rem;
  --mono: "Courier New", Courier, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ink); color: var(--paper); }
body { font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.55; -webkit-text-size-adjust: 100%; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }

.shell { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.shell.narrow { width: min(calc(100% - 40px), var(--narrow)); }

/* Navigation */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 104px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.brand span, .eyebrow, .nav-links, .beat-number, .footer, .button, .field label { font-family: var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.brand span { color: var(--cream); font-size: .71rem; font-weight: 700; white-space: nowrap; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 22px; color: var(--muted); font-size: .7rem; }
.nav-links a { text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold); }

.eyebrow { margin: 0; color: var(--gold); font-weight: 700; font-size: .76rem; }

.button { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 52px; padding: 14px 20px; border: 0; border-radius: 5px; background: var(--gold); color: var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--gold-hi); }
.button[disabled] { opacity: .6; cursor: default; }

/* Landing page */
.hero { min-height: 690px; display: grid; align-content: center; gap: 28px; padding: 86px 0 96px; }
.mark { width: 86px; height: 86px; border-radius: 22px; }
.hero h1 { max-width: 12ch; margin-bottom: 0; font-size: clamp(3.7rem, 10vw, 7.8rem); line-height: .91; letter-spacing: -.065em; font-weight: 500; }
.lede { max-width: 620px; margin: 0; color: var(--cream); font-size: clamp(1.45rem, 2.6vw, 2.2rem); line-height: 1.24; }

.statement { padding: 90px 0; border-top: 1px solid var(--line); }
.statement-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 64px; }
.statement h2, .practice h2 { margin-bottom: 24px; font-size: clamp(2.2rem, 4vw, 4rem); font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.statement p { max-width: 670px; color: var(--cream); font-size: 1.28rem; }
.statement p:last-child { margin-bottom: 0; }
.statement p.eyebrow { color: var(--gold); font-size: .76rem; }
.statement .aside { color: var(--muted); font-size: 1.05rem; }
.statement .aside a { color: var(--gold); }

.practice { padding: 88px 0 100px; background: var(--paper); color: var(--ink); }
.practice .eyebrow { color: var(--rust); }
.practice-header { max-width: 690px; }
.practice-header p { color: var(--soft); font-size: 1.2rem; }
.practice-header p.eyebrow { color: var(--rust); font-size: .76rem; margin-bottom: 14px; }
.beats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 52px; border: 1px solid var(--rule); }
.beat { min-height: 254px; padding: 24px; border-right: 1px solid var(--rule); }
.beat:last-child { border-right: 0; }
.beat-number { margin: 0; color: var(--rust); font-size: .72rem; font-weight: 700; }
.beat h3 { margin: 46px 0 8px; font-size: 1.7rem; font-weight: 500; }
.beat p { color: var(--soft); font-size: 1rem; }
.beat p.beat-number { color: var(--rust); font-size: .72rem; }

/* Footer */
.footer { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 28px 0 42px; color: var(--muted); border-top: 1px solid var(--line); font-size: .67rem; line-height: 1.9; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 20px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer .lower { text-transform: none; letter-spacing: .04em; }

/* Text pages (privacy, terms, texts, support) */
.page .nav { min-height: 88px; }
.page main { padding: 82px 0 90px; }
.page main p.eyebrow { margin-bottom: 14px; color: var(--gold); font-size: .72rem; }
.page h1 { margin: 0 0 14px; font-size: clamp(2.8rem, 8vw, 5.4rem); font-weight: 500; letter-spacing: -.055em; line-height: .95; }
.page h2 { margin: 52px 0 12px; font-size: 1.55rem; font-weight: 500; }
.page h3 { margin: 28px 0 8px; font-size: 1.15rem; font-weight: 700; color: var(--paper); }
.page main p, .page main li { color: var(--cream); line-height: 1.65; }
.page main a { color: var(--gold); }
.page .intro { max-width: 640px; font-size: 1.3rem; line-height: 1.45; }
.page .muted { color: var(--muted); }
.page ul { padding-left: 1.25em; }
.page li + li { margin-top: 8px; }
.page .notice { margin-top: 38px; padding: 22px 24px; border-left: 3px solid var(--rust); background: var(--panel); }
.page .callout { margin: 20px 0 24px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.page .callout p:last-child { margin-bottom: 0; }

.card { margin-top: 28px; padding: 28px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.card h2 { margin: 0 0 10px; font-size: 1.42rem; }
.card p { margin: 0; }
.card p + p { margin-top: 12px; }

/* Sign-up form */
.signup { margin-top: 34px; padding: clamp(22px, 4vw, 36px); border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.field label { display: block; margin-bottom: 10px; color: var(--gold); font-size: .7rem; font-weight: 700; }
.field input[type="tel"] { width: 100%; max-width: 380px; min-height: 54px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 5px; background: var(--ink); color: var(--paper); font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; }
.field input[type="tel"]::placeholder { color: #6f665c; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; margin: 26px 0; }
.consent input { width: 22px; height: 22px; margin: 4px 0 0; accent-color: var(--gold); }
.consent label { color: var(--cream); font-size: .95rem; line-height: 1.55; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 18px 0 0; font-size: .95rem; }
.form-note:empty { margin: 0; }
.form-note.error { color: #ff8f7f; }
.done h2 { margin: 0 0 10px; font-size: 1.9rem; font-weight: 500; }
.done p:last-child { margin-bottom: 0; }
[hidden] { display: none !important; }

@media (max-width: 720px) {
  body { font-size: 17px; }
  .shell, .shell.narrow { width: min(calc(100% - 32px), var(--max)); }
  .nav { min-height: 84px; }
  .nav-links { gap: 14px; font-size: .63rem; }
  .hero { min-height: 610px; padding: 66px 0; }
  .statement { padding: 68px 0; }
  .statement-grid { grid-template-columns: 1fr; gap: 8px; }
  .practice { padding: 68px 0; }
  .beats { grid-template-columns: repeat(2, 1fr); }
  .beat { min-height: 220px; }
  .beat:nth-child(2) { border-right: 0; }
  .beat:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .footer { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
  .page main { padding: 62px 0 72px; }
}

@media (max-width: 460px) {
  .brand span { display: none; }
}
