/* ==========================================================================
   Scribed V2: site foundation
   Tokens, base type, layout shells, header, menu sheet, footer, buttons,
   forms and page level layouts. Components live in components.css.
   Docs: docs/COMPONENTS.md
   ========================================================================== */

:root {
  /* brand */
  --brown: #3D2500;
  --brown-ink: #2c1a00;
  --brown-deep: #241500;
  --taupe: #94857B;          /* logo color: large text and decoration only (3.4:1 on cream) */
  --taupe-deep: #6b5c4f;     /* small text on light (6.2:1 on cream) */
  --taupe-soft: #B9AEA5;     /* text on dark (6.4:1 on brown) */
  --cream: #FBF8F4;
  --paper: #FFFDF9;
  --tint: #F2ECE6;
  --line: #E7DFD6;
  --line-dark: rgba(251, 248, 244, 0.14);
  --gold: #B08A4E;           /* CTA fill, always brown-ink text on it (5.3:1) */
  --gold-soft: #D2B07A;      /* gold text on dark (7:1 on brown) */
  --gold-hover: #C29B5C;
  --ink: #3D2500;
  --ink-soft: #5a4736;       /* body copy on light (8:1 on cream) */
  --ok: #3f5a34;
  --err: #9a3412;

  /* type */
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --fs-display: clamp(2.7rem, 1.6rem + 5vw, 5.6rem);
  --fs-h1: clamp(2.2rem, 1.5rem + 3vw, 3.6rem);
  --fs-h2: clamp(1.9rem, 1.35rem + 2.2vw, 3rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --fs-lede: clamp(1.05rem, 1rem + 0.3vw, 1.22rem);

  /* shape + motion */
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(44, 26, 0, 0.06), 0 2px 8px rgba(44, 26, 0, 0.04);
  --shadow: 0 2px 6px rgba(44, 26, 0, 0.05), 0 14px 34px -12px rgba(44, 26, 0, 0.16);
  --shadow-lg: 0 30px 70px -28px rgba(36, 21, 0, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 220ms;
  --dur: 450ms;
  --dur-slow: 700ms;

  /* layout */
  --container: 1160px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --header-h: 72px;
}

/* ---- base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
svg.icon { display: inline-block; flex: none; vertical-align: -0.2em; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 1.12;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: balance;
}
em { font-style: italic; }
button { font: inherit; }
::selection { background: rgba(176, 138, 78, 0.3); color: var(--brown-ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--brown); color: var(--cream); padding: 10px 16px; border-radius: 8px;
  text-decoration: none; font-weight: 600; transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---- layout shells ------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 780px; }
.wrap--wide { max-width: 1320px; }
.section { padding: var(--section-y) 0; position: relative; }
.section--tight { padding: calc(var(--section-y) * 0.6) 0; }
.section--tint { background: var(--tint); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--brown); color: var(--cream); }
.section[id] { scroll-margin-top: var(--header-h); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 1.2rem;
  font: 600 0.74rem/1.2 var(--sans);
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--taupe-deep);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.on-dark .eyebrow, .section--dark .eyebrow { color: var(--gold-soft); }

.display { font-size: var(--fs-display); font-weight: 300; line-height: 1.02; letter-spacing: -0.025em; }
.h1 { font-size: var(--fs-h1); font-weight: 300; line-height: 1.06; letter-spacing: -0.02em; }
.h2 { font-size: var(--fs-h2); font-weight: 300; line-height: 1.1; }
.h3 { font-size: var(--fs-h3); font-weight: 400; }
.display em, .h1 em, .h2 em, .h3 em { font-weight: 300; color: var(--taupe-deep); }
.on-dark .display em, .on-dark .h1 em, .on-dark .h2 em, .section--dark .h2 em { color: var(--gold-soft); }
.lede { font-size: var(--fs-lede); line-height: 1.75; color: var(--ink-soft); max-width: 40rem; }
.on-dark .lede, .section--dark .lede { color: var(--taupe-soft); }
.muted { color: var(--taupe-deep); }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

.section-head { margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head--center { text-align: center; }
.section-head--center .lede { margin: 1.2rem auto 0; }
.section-head--split { display: grid; gap: 1.5rem; align-items: end; }
.section-head .lede { margin-top: 1.2rem; margin-bottom: 0; }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; }
  .section-head--split .lede { margin-top: 0; }
}

/* ---- buttons ------------------------------------------------------------- */
.btn {
  --btn-bg: var(--brown); --btn-fg: var(--cream); --btn-bd: var(--brown);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px;
  border: 1px solid var(--btn-bd); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 0.9rem/1 var(--sans); letter-spacing: 0.02em; text-decoration: none;
  cursor: pointer; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-loading { opacity: 0.7; cursor: progress; transform: none; box-shadow: none; }
.btn .icon { transition: transform var(--dur) var(--ease); }
.btn:hover .icon--arrow, .btn:hover .icon:last-child { transform: translateX(3px); }
.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--brown-ink); --btn-bd: var(--gold); }
.btn--gold:hover { --btn-bg: var(--gold-hover); --btn-bd: var(--gold-hover); }
.btn--dark:hover { --btn-bg: var(--brown-ink); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: rgba(61, 37, 0, 0.35); }
.btn--outline:hover { --btn-bg: var(--brown); --btn-fg: var(--cream); --btn-bd: var(--brown); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--cream); --btn-bd: rgba(251, 248, 244, 0.4); }
.btn--ghost-light:hover { --btn-bg: rgba(251, 248, 244, 0.08); --btn-bd: var(--cream); }
.btn--light { --btn-bg: var(--cream); --btn-fg: var(--brown); --btn-bd: var(--cream); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 0.82rem; }
.btn--lg { min-height: 58px; padding: 0 34px; font-size: 0.95rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn-row--center { justify-content: center; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600; font-size: 0.9rem; text-decoration: none; color: inherit;
}
.text-link .icon { transition: transform var(--dur) var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }

/* ---- header -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 244, 0.86);
  -webkit-backdrop-filter: saturate(1.2) blur(14px); backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(44, 26, 0, 0.25); }
.site-header__inner {
  max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter);
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.wordmark {
  font-family: var(--serif); font-weight: 400; font-size: 1.55rem; line-height: 1;
  letter-spacing: -0.01em; color: var(--brown); text-decoration: none;
  display: inline-flex; align-items: baseline; min-height: 44px; align-items: center;
}
.wordmark span { color: var(--gold); }
.wordmark--light { color: var(--cream); }
.wordmark--light span { color: var(--gold-soft); }
.wordmark--lg { font-size: 2.3rem; }
.site-nav { display: none; gap: 2rem; align-items: center; }
.site-nav a { font-size: 0.88rem; font-weight: 500; color: var(--ink-soft); text-decoration: none; padding: 10px 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle, .menu-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer;
}
.menu-toggle:hover { background: var(--tint); }
@media (max-width: 420px) { .header-cta { padding: 0 16px; } }
@media (min-width: 1000px) {
  .site-nav { display: flex; }
  .menu-toggle { display: none; }
}

/* mobile menu sheet */
.menu-sheet {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column;
  padding: 0 var(--gutter) max(24px, env(safe-area-inset-bottom));
  background: radial-gradient(120% 70% at 80% 0%, #4d3108 0%, var(--brown) 45%, var(--brown-deep) 100%);
  color: var(--cream);
  opacity: 0; transform: translateY(-8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.menu-sheet[hidden] { display: none; }
.menu-sheet.is-open { opacity: 1; transform: none; }
.menu-sheet__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.menu-close { color: var(--cream); border-color: var(--line-dark); }
.menu-sheet__nav { display: flex; flex-direction: column; margin-top: 2vh; }
.menu-sheet__nav a {
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 7vw, 2.4rem); line-height: 1.2;
  color: var(--cream); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line-dark);
  opacity: 0; transform: translateY(10px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), color var(--dur-fast);
  transition-delay: calc(var(--i, 0) * 45ms + 80ms);
}
.menu-sheet.is-open .menu-sheet__nav a { opacity: 1; transform: none; }
.menu-sheet__nav a:hover, .menu-sheet__nav a[aria-current="page"] { color: var(--gold-soft); }
.menu-sheet__foot { margin-top: auto; padding-top: 2rem; }
.menu-sheet__verse { margin: 1.4rem 0 0; font-family: var(--serif); font-style: italic; color: var(--taupe-soft); text-align: center; }
.menu-sheet__verse span { display: block; font: 500 0.72rem/1.6 var(--sans); font-style: normal; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 4px; }
html.menu-open { overflow: hidden; }

/* ---- footer -------------------------------------------------------------- */
.site-footer { background: var(--brown-deep); color: var(--taupe-soft); padding: clamp(3.5rem, 3rem + 3vw, 5.5rem) 0 2rem; }
.site-footer a { color: var(--taupe-soft); text-decoration: none; transition: color var(--dur-fast); }
.site-footer a:hover { color: var(--cream); }
.site-footer__top { display: grid; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 780px) { .site-footer__top { grid-template-columns: 1.6fr 1fr 1.2fr; gap: 3rem; } }
.site-footer__tag { margin: 0.8rem 0 0; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--cream); }
.site-footer__verse { margin: 1.2rem 0 0; font-size: 0.9rem; max-width: 22rem; }
.site-footer__verse span { display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; margin-top: 4px; color: var(--gold-soft); }
.site-footer__h { margin: 0 0 0.8rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-soft); }
.site-footer__col { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer__col a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; font-size: 0.92rem; overflow-wrap: anywhere; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between;
  padding-top: 1.6rem; font-size: 0.8rem;
}
.site-footer__bottom p { margin: 0; }
.site-footer__legal { display: flex; gap: 1.4rem; }
.site-footer__legal a { display: inline-flex; min-height: 44px; align-items: center; }
.powered-by { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.powered-by img { height: 32px; width: auto; padding: 4px 8px; border-radius: 8px; background: var(--cream); object-fit: contain; }
body.has-sticky-join .site-footer { padding-bottom: calc(2rem + 76px); }
@media (min-width: 768px) { body.has-sticky-join .site-footer { padding-bottom: 2rem; } }

/* ---- forms --------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 8px; position: relative; }
.field label, .label {
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--taupe-deep);
}
.field label .opt { text-transform: none; letter-spacing: 0; font-weight: 400; }
.input, .field input, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px;
  font: 400 1rem/1.4 var(--sans); color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast);
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.input::placeholder, .field input::placeholder, .field textarea::placeholder { color: #9b8c80; }
.input:hover, .field input:hover, .field textarea:hover { border-color: #d6cabd; }
.input:focus, .field input:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(176, 138, 78, 0.18);
}
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--err); box-shadow: 0 0 0 4px rgba(154, 52, 18, 0.1); }
.field.is-valid input { border-color: #a9b89d; }
.field__error { display: none; margin: 0; font-size: 0.82rem; color: var(--err); }
.field.is-invalid .field__error { display: block; }
.field__hint { margin: 0; font-size: 0.82rem; color: var(--taupe-deep); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-grid { display: grid; gap: 18px; }
@media (min-width: 560px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.form-msg {
  display: none; margin: 16px 0 0; padding: 12px 16px; border-radius: 12px;
  font-size: 0.9rem; background: var(--tint); color: var(--ink);
}
.form-msg.is-shown { display: block; }
.form-msg.is-error { background: #fbeee8; color: var(--err); }
.form-note { margin: 14px 0 0; font-size: 0.8rem; color: var(--taupe-deep); display: flex; gap: 8px; align-items: flex-start; }
.form-note .icon { margin-top: 3px; }
.cf-turnstile { min-height: 65px; }

/* ---- legal / long form pages -------------------------------------------- */
.page-hero { padding: clamp(3.5rem, 3rem + 4vw, 6.5rem) 0 clamp(2.5rem, 2rem + 2vw, 4rem); position: relative; overflow: hidden; }
.page-hero--dark { background: var(--brown); color: var(--cream); }
.page-hero .lede { margin-top: 1.2rem; }
.page-hero__meta { margin-top: 1.4rem; font-size: 0.85rem; color: var(--taupe-deep); }

.legal { display: grid; gap: 3rem; padding-bottom: var(--section-y); }
@media (min-width: 1000px) { .legal { grid-template-columns: 240px minmax(0, 70ch); gap: 5rem; justify-content: center; } .legal__toc { order: 0; } }
@media (max-width: 999px) { .legal__main { display: contents; } .legal-head { order: -1; } }
.legal__toc { font-size: 0.88rem; }
.legal__toc-inner { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.legal__toc p { margin: 0 0 0.6rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--taupe-deep); }
.legal__toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.legal__toc li a {
  display: flex; gap: 10px; align-items: baseline; padding: 7px 0 7px 12px; min-height: 36px;
  color: var(--ink-soft); text-decoration: none; border-left: 2px solid var(--line);
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.legal__toc li a:hover { color: var(--ink); border-left-color: var(--taupe); }
.legal__toc li a.is-active { color: var(--ink); border-left-color: var(--gold); font-weight: 600; }
@media (min-width: 1000px) {
  .legal__toc-inner { position: sticky; top: calc(var(--header-h) + 24px); background: transparent; border: 0; padding: 0; }
}
@media (max-width: 999px) {
  .legal__toc li a { border-left: 0; padding-left: 0; min-height: 40px; }
}
.prose { max-width: 70ch; font-size: 1.04rem; line-height: 1.8; color: var(--ink-soft); }
.prose h2 {
  font-size: clamp(1.45rem, 1.3rem + 0.6vw, 1.8rem); font-weight: 400; color: var(--ink);
  margin: 3.2rem 0 1rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; font-weight: 500; color: var(--ink); margin: 1.8rem 0 0.6rem; }
.prose a { color: var(--ink); text-decoration-color: var(--gold); }
.prose b, .prose strong { color: var(--ink); font-weight: 600; }
.prose ul { padding-left: 1.2rem; }
.prose ul.check { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.prose ul.check li { position: relative; padding-left: 1.9rem; margin-bottom: 0.6rem; }
.prose ul.check li::before {
  content: ''; position: absolute; left: 0; top: 0.5em; width: 1rem; height: 1rem;
  border: 1.5px solid var(--taupe); border-radius: 4px;
}
.prose ul.check li::after {
  content: ''; position: absolute; left: 0.33rem; top: calc(0.5em + 0.15rem); width: 0.3rem; height: 0.55rem;
  border: solid var(--gold); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg);
}
.tblwrap { overflow-x: auto; margin: 0 0 1.4rem; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.93rem; line-height: 1.6; }
.prose th, .prose td { text-align: left; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose th { font-family: var(--serif); font-weight: 500; color: var(--ink); background: var(--tint); }
.callout {
  margin-top: 3rem; padding: 1.3rem 1.5rem; background: var(--tint);
  border-left: 3px solid var(--gold); border-radius: 0 14px 14px 0; font-size: 0.93rem; color: var(--taupe-deep);
}

/* ---- simple centered state pages (404, unsubscribe) ---------------------- */
.state-page { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; padding: 4rem 0; text-align: center; }
.state-page .lede { margin: 1.2rem auto 2rem; }
.state-page__mark {
  width: 72px; height: 72px; margin: 0 auto 1.6rem; border-radius: 50%;
  display: grid; place-items: center; background: rgba(210, 176, 122, 0.14); color: var(--gold-soft);
  border: 1px solid rgba(210, 176, 122, 0.3);
}
.state-page--light .state-page__mark { background: var(--tint); color: var(--gold); border-color: var(--line); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

.legal { padding-top: clamp(3rem, 2.5rem + 3vw, 6rem); }
.legal__main { min-width: 0; }
.legal-head { max-width: 70ch; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.legal-head .lede { margin-top: 1.2rem; }
@media (min-width: 1000px) { .legal__toc { padding-top: 0.4rem; } }
@media (max-width: 999px) { .legal__toc ol { columns: 2; column-gap: 1.5rem; } .legal__toc li { break-inside: avoid; } }
@media (max-width: 380px) { .legal__toc ol { columns: 1; } }
@media (max-width: 359px) { .header-cta { display: none; } }
.legal { grid-template-columns: minmax(0, 1fr); } .legal > *, .legal__toc { min-width: 0; }
@media (min-width: 1000px) { .legal { grid-template-columns: 240px minmax(0, 70ch); } }

/* Optional opt-in checkbox (contact form) */
.opt-in { display: flex; gap: 12px; align-items: flex-start; font-size: 0.92rem; line-height: 1.5; color: var(--brown); cursor: pointer; min-height: 44px; }
.opt-in input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--brown); cursor: pointer; }
.opt-in input:focus-visible { outline: 2px solid var(--brown); outline-offset: 3px; }
