/* ==========================================================================
   Story Group - landing pages
   Brand tokens: see DESIGN.md. Do not re-choose the palette or fonts.
   ========================================================================== */

/* --- Fonts ---------------------------------------------------------------
   Poppins is the web stand-in for GT Walsheim Pro (licensed).
   To switch: add the GT Walsheim woff2 files to /assets/fonts/, uncomment
   the block below, then change the ONE line --font-brand in :root.

@font-face { font-family: "GT Walsheim Pro"; src: url("/assets/fonts/GT-Walsheim-Pro-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "GT Walsheim Pro"; src: url("/assets/fonts/GT-Walsheim-Pro-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "GT Walsheim Pro"; src: url("/assets/fonts/GT-Walsheim-Pro-Black.woff2") format("woff2"); font-weight: 800 900; font-style: normal; font-display: swap; }
*/
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-latin-900-normal.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

/* --- Tokens --------------------------------------------------------------- */
:root {
  --font-brand: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --burgundy: #550C29;
  --navy: #072C49;
  --cream: #FFEDDE;
  --blush: #FDDBD1;
  --pink: #F59DBC;
  --blue: #71C5E7;
  --white: #FFFFFF;
  --muted: #4A5F73;
  --field-border: #9B7F74;

  --focus: 3px solid var(--navy);
  --radius-card: 28px;
  --radius-pill: 999px;
  --box-gap: 8px;

  --container: 1200px;
  --gutter: 16px;
  --section-y: clamp(64px, 9vw, 120px);
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* --- Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-brand);
  font-size: 1.125rem; /* 18px */
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
h1, h2, h3 { color: var(--burgundy); text-wrap: balance; }
p { text-wrap: pretty; }
a { color: var(--burgundy); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
strong { font-weight: 700; }

.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 10;
  background: var(--burgundy); color: var(--white);
  padding: 12px 24px; border-radius: var(--radius-pill); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.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;
}

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* --- Type scale ----------------------------------------------------------- */
.display {
  font-size: clamp(2.125rem, 1.2rem + 4.6vw, 4.5rem); /* 34px to 72px */
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: calc(1em + var(--box-gap)); /* box height 1em + 8px gap */
}
/* Longer hero questions (KiwiSaver) step down so the boxes stay readable */
.display--long { font-size: clamp(2rem, 1.3rem + 3.4vw, 3.75rem); }
.h1 { font-size: clamp(2.125rem, 1.5rem + 2.4vw, 3rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; }
.h2, h2 { font-size: clamp(1.75rem, 1.45rem + 1vw, 2rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.h3, h3 { font-size: 1.375rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }

/* One emphasised line per section only. Never headlines or body. */
.serif-line {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--burgundy);
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.005em;
}
.eyebrow {
  font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--burgundy);
}
.lede { font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.25rem); }
.muted { color: var(--muted); }

/* --- Signature highlight boxes --------------------------------------------
   Square pink boxes hugging each rendered line, 8px apart. Each wrapped line
   gets its own box (box-decoration-break: clone). The band is 1em tall and
   centred on the line; line-height is 1em + 8px, so the gap is always 8px. */
.hl-line { display: block; }
.hl {
  color: var(--burgundy);
  padding: 0 0.16em;
  background-image: linear-gradient(var(--pink), var(--pink));
  background-repeat: no-repeat;
  background-size: 100% 1em;
  background-position: 0 52%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* --- Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 48px;
  border-radius: var(--radius-pill); border: 2px solid var(--burgundy);
  background: var(--burgundy); color: var(--white);
  font: 700 1.0625rem/1.2 var(--font-brand); letter-spacing: -0.005em;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.btn:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn:focus-visible { outline: var(--focus); outline-offset: 4px; }
.btn-arrow { width: 20px; height: 20px; flex: none; }
/* Navy hover is fine: the button sits on cream, blush or pink, never on burgundy or navy. */

/* --- Header ---------------------------------------------------------------- */
.site-header { padding-block: 14px; }
@media (min-width: 768px) { .site-header { padding-block: 22px; } }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-block; border-radius: 4px; }
.logo img { height: 26px; width: auto; }
@media (min-width: 768px) { .logo img { height: 34px; } }
.header-note { font-size: 0.9375rem; color: var(--muted); font-weight: 400; display: none; }
@media (min-width: 640px) { .header-note { display: block; } }

/* --- Hero: headline + vertical video (VSL-style) ------------------------------ */
.hero { padding-block: 12px var(--section-y); }
.hero-grid { display: grid; gap: 22px; align-items: start; }
.hero-copy { display: grid; gap: 14px; justify-items: start; }
.hero-copy .serif-line { font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.5rem); }
.hero-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 1rem; color: var(--navy); }
.display { margin-left: -0.16em; } /* box padding bleeds left so the words line up with the text below */
.hero-video { width: clamp(240px, 68vw, 300px); justify-self: center; }
.hero-video .video-frame--tall { max-width: none; margin: 0; }
.video-caption { margin-top: 10px; font-weight: 700; font-size: 0.9375rem; color: var(--burgundy); }
.hero-actions { display: grid; gap: 12px; justify-items: start; }
@media (max-width: 599px) { .hero-actions .btn { width: 100%; padding-inline: 24px; } }
.hero-actions .trust-line { margin: 0; text-align: left; }

@media (min-width: 960px) {
  .hero { padding-top: 32px; }
  /* Text block vertically centred against the taller video */
  .hero-grid { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto auto 1fr; column-gap: clamp(48px, 6vw, 96px); row-gap: 28px; }
  .hero-copy { grid-column: 1; grid-row: 2; }
  .hero-actions { grid-column: 1; grid-row: 3; }
  .hero-video { grid-column: 2; grid-row: 1 / span 4; width: clamp(300px, 26vw, 360px); justify-self: end; }
  .hero-copy { gap: 20px; }
  .hero-copy .eyebrow { margin-bottom: 4px; }
}

/* --- Booking section (the form) ------------------------------------------------ */
.book-section { padding-block: clamp(48px, 7vw, 96px); }
.book-grid { display: grid; gap: 28px; align-items: center; }
.book-copy { display: grid; gap: 18px; max-width: 32rem; }
.book-copy h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; }
.book-points { list-style: none; padding: 0; display: grid; gap: 10px; }
.book-points li { display: flex; gap: 12px; align-items: flex-start; }
.check { width: 24px; height: 24px; flex: none; stroke: var(--burgundy); margin-top: 2px; }
.book-section .form-card { background: var(--cream); border: 2px solid var(--pink); }
@media (min-width: 960px) {
  .book-grid { grid-template-columns: minmax(0, 1fr) minmax(400px, 520px); gap: clamp(48px, 6vw, 96px); }
}

/* --- Sticky mobile booking bar ------------------------------------------------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: var(--cream); border-top: 2px solid var(--pink);
}
.sticky-cta .btn { width: 100%; padding-inline: 24px; }
@media (max-width: 959px) { body:has(.sticky-cta) { padding-bottom: 84px; } }
@media (min-width: 960px) { .sticky-cta { display: none !important; } }

/* --- Form card ------------------------------------------------------------- */
.form-card {
  background: var(--blush);
  border-radius: var(--radius-card);
  padding: clamp(20px, 3vw, 36px);
  scroll-margin-top: 16px;
}
.form-card .form-intro { margin-top: 6px; font-size: 1rem; line-height: 1.45; color: var(--navy); }
.ghl-form { border-radius: 16px; }
.ghl-form iframe { display: block; width: 100%; border: 0; min-height: 460px; }
/* Form preview: shows the intended look until the GHL embed is pasted in. Not a real form. */
.ghl-placeholder { display: grid; gap: 16px; }
.ghl-note { justify-self: start; background: var(--pink); color: var(--burgundy); font-size: 0.875rem; font-weight: 700; padding: 4px 10px; }
.mock { display: grid; gap: 14px; }
.mock-field { display: grid; gap: 6px; }
.mock-field span { font-size: 0.9375rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.mock-field i { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 14px; background: var(--white); border: 1px solid var(--field-border); border-radius: 12px; font-style: normal; color: var(--navy); }
.mock-field b { color: var(--muted); font-weight: 400; }
.mock-btn { display: flex; align-items: center; justify-content: center; min-height: 56px; margin-top: 4px; border-radius: var(--radius-pill); background: var(--burgundy); color: var(--white); font-weight: 700; text-align: center; padding: 0 24px; }
.trust-line { margin-top: 16px; text-align: center; font-size: 0.9375rem; font-weight: 700; color: var(--burgundy); }

/* --- Sections -------------------------------------------------------------- */
.section { padding-block: var(--section-y); }
.section--blush { background: var(--blush); }
.section-head { display: grid; gap: 12px; max-width: 46rem; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p:not(.serif-line):not(.eyebrow) { max-width: 40rem; }

/* Steps: what happens on the call */
.steps { list-style: none; padding: 0; display: grid; gap: 40px; counter-reset: step; }
.step { border-top: 2px solid var(--burgundy); padding-top: 20px; display: grid; gap: 10px; align-content: start; }
.step-num {
  font-weight: 900; font-size: 3.5rem; line-height: 1; letter-spacing: -0.04em; color: var(--burgundy);
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* Worth knowing: burgundy cards */
.facts { list-style: none; padding: 0; display: grid; gap: 16px; }
.fact {
  background: var(--burgundy); color: var(--cream);
  border-radius: var(--radius-card); padding: clamp(24px, 3vw, 36px);
  display: grid; gap: 10px; align-content: start;
}
.fact h3 { color: var(--cream); }
.fact p { color: var(--cream); }
@media (min-width: 768px) { .facts { grid-template-columns: repeat(2, 1fr); gap: 20px; } }

/* Why Story Group */
.why-grid { display: grid; gap: 40px; }
.why-list { list-style: none; padding: 0; display: grid; gap: 0; }
.why-item { padding-block: 22px; border-top: 2px solid var(--pink); }
.why-item:last-child { border-bottom: 2px solid var(--pink); }
.why-item h3 { margin-bottom: 6px; display: flex; align-items: baseline; gap: 14px; }
.why-item h3::before { content: ""; flex: none; width: 12px; height: 12px; background: var(--blue); transform: translateY(-1px); } /* blue: decorative accent only */
.why-item p { padding-left: 26px; }
@media (min-width: 960px) {
  .why-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 80px; align-items: start; }
  .why-grid .section-head { margin-bottom: 0; position: sticky; top: 32px; }
}

/* Meet your adviser */
.adviser { display: grid; gap: 32px; align-items: center; }
.adviser-photo { border-radius: var(--radius-card); overflow: hidden; background: var(--blush); aspect-ratio: 2 / 3; max-width: 420px; }
.adviser-photo img { width: 100%; height: 100%; object-fit: cover; }
.adviser-copy { display: grid; gap: 18px; max-width: 36rem; }
.adviser-quote { font-size: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem); line-height: 1.45; color: var(--navy); }
.adviser-name { font-weight: 700; color: var(--burgundy); }
.adviser-name span { display: block; font-weight: 400; color: var(--muted); font-size: 1rem; }
.team { margin-top: clamp(48px, 6vw, 80px); display: grid; gap: 16px; }
.team-photo { border-radius: var(--radius-card); overflow: hidden; background: var(--blush); aspect-ratio: 3 / 2; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.team { max-width: 960px; }
.team figcaption { font-size: 1rem; color: var(--muted); }
@media (max-width: 599px) { .team-photo { aspect-ratio: 4 / 3; } }
@media (min-width: 768px) {
  .adviser { grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); }
}

/* FAQ accordion (native details/summary: keyboard accessible by default) */
.faq { display: grid; gap: 12px; max-width: 52rem; }
.faq details {
  background: var(--cream); border: 2px solid var(--pink); border-radius: 20px;
}
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 16px 20px 16px 24px;
  font-weight: 700; font-size: 1.125rem; line-height: 1.3; color: var(--burgundy);
  border-radius: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: var(--focus); outline-offset: 3px; }
.faq-icon { flex: none; width: 28px; height: 28px; stroke: var(--burgundy); transition: transform .2s ease; }
.faq details[open] .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 22px; display: grid; gap: 12px; }
.faq-answer p { max-width: 42rem; }

/* Repeat CTA */
.cta-box {
  background: var(--pink); color: var(--burgundy);
  border-radius: var(--radius-card);
  padding: clamp(32px, 6vw, 72px);
  display: grid; gap: 20px; justify-items: start;
}
.cta-box h2 { font-size: clamp(2.125rem, 1.5rem + 2.4vw, 3rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; }
.cta-box p { color: var(--burgundy); max-width: 36rem; }
.cta-box .serif-line { color: var(--burgundy); }
.cta-box .btn:hover { background: var(--navy); border-color: var(--navy); }

/* --- Footer (navy) ---------------------------------------------------------- */
.site-footer { background: var(--navy); color: var(--cream); padding-block: 56px 40px; font-size: 0.9375rem; }
.site-footer a { color: var(--cream); }
.site-footer :focus-visible { outline-color: var(--cream); }
.footer-grid { display: grid; gap: 32px; }
.footer-brand { font-weight: 900; font-size: 1.5rem; letter-spacing: -0.03em; color: var(--cream); }
.footer-disclaimer { font-weight: 700; font-size: 1rem; }
.footer-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-links a, .footer-contact a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-contact { list-style: none; padding: 0; display: grid; gap: 0; }
.footer-legal { margin-top: 32px; border-top: 1px solid rgba(255, 237, 222, 0.25); padding-top: 24px; display: grid; gap: 12px; color: var(--cream); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }

/* --- Stars (text glyphs, burgundy: no gold in the palette) --- */
.stars { color: var(--burgundy); letter-spacing: 0.12em; font-size: 1.125rem; line-height: 1; }

/* --- Video (YouTube click-to-play facade: nothing loads from YouTube until pressed) --- */
.video-frame { position: relative; width: 100%; border-radius: var(--radius-card); overflow: hidden; background: var(--navy); }
.video-frame--wide { aspect-ratio: 16 / 9; }
.video-frame--tall { aspect-ratio: 9 / 16; max-width: 360px; margin-inline: auto; }
.video-frame iframe, .yt-facade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-facade { padding: 0; margin: 0; cursor: pointer; background: var(--navy); display: block; }
.yt-facade picture { display: block; width: 100%; height: 100%; }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; left: 50%; top: 50%; width: 80px; height: 80px; transform: translate(-50%, -50%); transition: transform .18s ease; }
.yt-facade:hover .video-play { transform: translate(-50%, -50%) scale(1.08); }
.yt-facade:focus-visible { outline: 3px solid var(--navy); outline-offset: -6px; box-shadow: inset 0 0 0 6px var(--cream); }

/* --- Reviews --- */
.reviews-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.reviews { list-style: none; padding: 0; display: grid; gap: 16px; }
@media (min-width: 900px) { .reviews { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.review-card {
  margin: 0; height: 100%; display: flex; flex-direction: column; gap: 16px;
  background: var(--cream); border: 2px solid var(--pink); border-radius: var(--radius-card);
  padding: clamp(22px, 2.6vw, 30px);
}
.review-card blockquote { margin: 0; flex: 1; }
.review-card blockquote p { font-size: 1.0625rem; line-height: 1.55; }
.review-card figcaption { display: flex; align-items: center; gap: 12px; padding-top: 4px; }
.review-avatar { width: 48px; height: 48px; border-radius: 50%; flex: none; object-fit: cover; }
.review-avatar--initial { display: grid; place-items: center; background: var(--pink); color: var(--burgundy); font-weight: 800; font-size: 1.25rem; }
.review-name { display: block; font-weight: 700; color: var(--burgundy); line-height: 1.3; }
.review-source { display: block; font-size: 0.9375rem; color: var(--muted); }

/* --- Thank-you page --------------------------------------------------------- */
.ty-hero { padding-block: 24px 48px; }
.ty-hero .container { display: grid; gap: 18px; }
.calendly-card { background: var(--white); border-radius: var(--radius-card); border: 2px solid var(--pink); overflow: hidden; min-height: 700px; }
.calendly-card .calendly-inline-widget { min-width: 320px; height: 700px; }
.calendly-placeholder {
  display: grid; place-content: center; gap: 8px; text-align: center; min-height: 700px; padding: 24px;
  color: var(--muted); font-size: 0.9375rem;
}
.calendly-placeholder strong { color: var(--burgundy); }
.fallback-line { font-size: 1.0625rem; color: var(--navy); }
.section--flush-top { padding-top: 0; }
.fallback-line strong { color: var(--burgundy); }

/* --- Draft review hub (temporary, remove at launch) --- */
.review-list { list-style: none; padding: 0; display: grid; gap: 16px; }
@media (min-width: 768px) { .review-list { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.review-card {
  display: grid; gap: 6px; min-height: 44px; height: 100%;
  padding: clamp(22px, 3vw, 32px); border: 2px solid var(--pink); border-radius: var(--radius-card);
  background: var(--cream); color: var(--navy); text-decoration: none;
  transition: background-color .18s ease;
}
.review-card .h3 { color: var(--burgundy); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.review-card:hover { background: var(--blush); }
.review-card:focus-visible { outline: var(--focus); outline-offset: 3px; }
.review-desc { color: var(--navy); }
.review-notes { display: grid; gap: 48px; }
.review-notes h2 { margin-bottom: 14px; }
.review-notes p { margin-bottom: 12px; }
.review-notes ul { padding-left: 1.2em; display: grid; gap: 8px; }
@media (min-width: 960px) { .review-notes { grid-template-columns: 1fr 1fr; gap: 80px; } }

/* --- Legal pages ------------------------------------------------------------ */
.legal { padding-block: 24px var(--section-y); }
.legal .container { max-width: calc(48rem + var(--gutter) * 2); }
.legal h1 { margin-bottom: 8px; }
.legal .updated { color: var(--muted); margin-bottom: 40px; font-size: 1rem; }
.legal h2 { margin: 48px 0 14px; }
.legal h3 { margin: 28px 0 10px; }
.legal p, .legal ul, .legal ol { margin-bottom: 14px; }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal li { margin-bottom: 6px; }
.legal .ipp { counter-reset: none; }
/* Inline links: invisible padding grows the tap area to 44px without moving the text */
.legal p a, .legal li a, .legal td a, .footer-legal a { padding: 12px 4px; } /* inline padding: bigger hit area, text still wraps */
.legal-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; margin-bottom: 32px; }
.legal-nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.legal table { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 1rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--field-border); }
.legal th { color: var(--burgundy); }
.legal .table-wrap { overflow-x: auto; }
/* Platforms table: stack each row on phones */
@media (max-width: 699px) {
  .legal table, .legal tbody, .legal tr, .legal th, .legal td { display: block; width: 100%; }
  .legal thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .legal tr { padding-block: 16px; border-bottom: 1px solid var(--field-border); }
  .legal th, .legal td { border: 0; padding: 2px 0; }
  .legal th { font-size: 1.125rem; }
}
.placeholder-note { background: var(--pink); color: var(--burgundy); padding: 2px 6px; font-weight: 700; }

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