/* Take Stock website: the one shared stylesheet.
   Visual frame (Brand & Content Guide Part 1): Public Sans 400 and 600,
   brand green #245139, page green #38614B (large grounds only, never ink),
   near-black #1C211E, off-white (cream) #F6F1E7, white, deep sage #C7D4C2, pale sage #E6EDE3.

   Design system agreed 10 Nov 2026:
   1. One frame: the same header on every page; a page-green title band under it
      (a larger hero band on the home page); one left edge for everything (.wrap).
   2. Six type sizes: 56 home headline, 48 page title, 30 section heading,
      22 opening lines and sub-headings, 18 body (about 65 characters a line), 14 small print.
   3. Sections in alternating cream and pale-sage bands; white cards; two button styles.
   4. Footer: wordmark and links, disclaimer and AI line in two columns, a softer legal strip.
   Mobile first. */

@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/public-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "Public Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/public-sans-600.woff2") format("woff2");
}

:root {
  --brand: #245139;
  --page: #38614B;
  --ink: #1C211E;
  --ground: #F6F1E7;
  --white: #FFFFFF;
  --sage-deep: #C7D4C2;
  --sage-pale: #E6EDE3;
  --line: #DCD6C8;

  /* The six sizes (mobile values; desktop values below) */
  --fs-hero: 2.375rem;
  --fs-title: 2.125rem;
  --fs-section: 1.5rem;
  --fs-lead: 1.25rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-nav: 1rem;

  --measure: 37rem;
  --gutter: 1.25rem;
  --section-space: 3.25rem;
}
@media (min-width: 48rem) {
  :root {
    --fs-hero: 3.5rem;
    --fs-title: 3rem;
    --fs-section: 1.875rem;
    --fs-lead: 1.375rem;
    --fs-body: 1.125rem;
    --fs-nav: 1.0625rem;
    --gutter: 2rem;
    --section-space: 4.5rem;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Public Sans", system-ui, sans-serif;
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.65;
}

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

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

h1, h2, h3 { font-weight: 600; color: var(--brand); }
h1 { font-size: var(--fs-title); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 1.25rem; }
h2 { font-size: var(--fs-section); line-height: 1.2; letter-spacing: -0.01em; margin: 3rem 0 1rem; }
h3 { font-size: var(--fs-lead); line-height: 1.3; margin: 2rem 0 0.6rem; }
h2:first-child, h3:first-child { margin-top: 0; }

p, ul, ol { margin: 0 0 1.1rem; }
ul, ol { padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }
strong { font-weight: 600; }

.lede { font-size: var(--fs-lead); line-height: 1.5; }
.small { font-size: var(--fs-small); line-height: 1.55; }
.label {
  font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand); margin: 0 0 0.75rem;
}
.label a { color: inherit; text-decoration: none; }
.label a:hover { text-decoration: underline; }

/* The grid: one container, one left edge */
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 var(--gutter); }
.prose { max-width: var(--measure); }

.skip { position: absolute; left: -999px; top: 0; background: var(--brand); color: var(--white); padding: 0.5rem 1rem; z-index: 10; }
.skip:focus { left: 0; }

/* 1. Header: identical on every page */
.masthead { background: var(--page); border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.masthead a:focus-visible { outline-color: var(--white); }
.masthead__row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.9rem 2rem; padding-top: 1.1rem; padding-bottom: 1.1rem;
}
.masthead__home { display: block; }
.masthead__home img { width: 150px; height: auto; }
@media (min-width: 48rem) {
  .masthead__row { min-height: 5.5rem; padding-top: 1.25rem; padding-bottom: 1.25rem; }
  .masthead__home img { width: 196px; }
}

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.4rem; }
.nav li { margin: 0; }
.nav a { font-size: var(--fs-nav); font-weight: 600; text-decoration: none; color: var(--white); }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
.nav .nav__join {
  display: inline-block; background: var(--white); color: var(--brand);
  padding: 0.55rem 1.1rem; border-radius: 4px;
}
.nav .nav__join:hover, .nav .nav__join[aria-current="page"] { background: var(--sage-pale); text-decoration: none; }
@media (min-width: 48rem) { .nav ul { gap: 0.5rem 2rem; } }

/* 1. Title band (sub-pages) and hero band (home): page green, white type */
.band { background: var(--page); color: var(--white); padding: 2.75rem 0 3.25rem; }
.band h1 { color: var(--white); max-width: 22ch; }
.band .lede { color: var(--sage-pale); max-width: 38rem; margin-bottom: 0; }
.band .label { color: var(--sage-deep); }
.band a:not(.button) { color: var(--white); }
.band a:focus-visible { outline-color: var(--white); }
.band .band__actions { margin: 2.25rem 0 0; }
.band__small { color: var(--sage-pale); max-width: 34rem; margin: 1rem 0 0; }
@media (min-width: 48rem) { .band { padding: 4rem 0 4.5rem; } }

.band--hero { padding: 3.5rem 0 4rem; }
.band--hero h1 { font-size: var(--fs-hero); line-height: 1.05; letter-spacing: -0.025em; max-width: 18em; margin-bottom: 1.5rem; }
.band--hero .lede { max-width: 36rem; }
@media (min-width: 48rem) { .band--hero { padding: 5.5rem 0 6rem; } }

/* 3. Sections */
.section { padding: var(--section-space) 0; }
.section--sage { background: var(--sage-pale); }
.section--tight { padding-top: calc(var(--section-space) * 0.75); }
.section__head { margin-bottom: 2rem; }
.section__head p { max-width: var(--measure); }

/* Heading on the left, content on the right, on wide screens */
.split { display: grid; gap: 1rem 3rem; }
.split > :first-child { margin: 0; }
@media (min-width: 60rem) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
}
.split__body > :last-child { margin-bottom: 0; }

/* 3. Buttons: solid for the main action, outlined for the secondary one */
.button {
  display: inline-block; font-size: var(--fs-body); font-weight: 600; line-height: 1.2;
  text-decoration: none; text-align: center;
  padding: 0.9rem 1.6rem; border-radius: 4px; border: 2px solid var(--brand);
  background: var(--brand); color: var(--white);
}
.button:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.button--outline { background: transparent; color: var(--brand); }
.button--outline:hover { background: var(--brand); border-color: var(--brand); color: var(--white); }
.buttons { display: flex; flex-wrap: wrap; gap: 0.9rem 1rem; align-items: center; margin: 0; }
.buttons + .small { margin-top: 1rem; }
/* On a green band the colours invert */
.band .button { background: var(--white); border-color: var(--white); color: var(--brand); }
.band .button:hover { background: var(--sage-pale); border-color: var(--sage-pale); color: var(--brand); }
.band .button--outline { background: transparent; border-color: rgba(255, 255, 255, 0.7); color: var(--white); }
.band .button--outline:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); color: var(--white); }
.band .button:focus-visible { outline-color: var(--white); }

/* 3. Cards */
.cards { display: grid; gap: 1.25rem; }
@media (min-width: 48rem) { .cards--2 { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.offer {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--brand);
  border-radius: 4px; padding: 1.75rem 1.5rem 1.6rem;
}
@media (min-width: 48rem) { .offer { padding: 2.25rem 2.25rem 2rem; } }
.offer h3 { font-size: var(--fs-section); margin: 0 0 0.9rem; }
.offer p { margin-bottom: 1rem; }
.offer__foot { margin-top: auto; padding-top: 0.5rem; }
.offer--later { border-top-color: var(--sage-deep); }
.status {
  display: inline-block; align-self: flex-start;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.65rem; border-radius: 3px; margin: 0 0 1.1rem;
  background: var(--brand); color: var(--white);
}
.status--later { background: var(--sage-pale); color: var(--brand); }

/* Ticked lists (What stays free) */
.ticks { list-style: none; padding: 0; margin: 0 0 1rem; }
.ticks li { position: relative; padding-left: 2rem; margin-bottom: 0.85rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0.1rem; top: 0.35em;
  width: 0.55rem; height: 1rem; border: solid var(--brand); border-width: 0 3px 3px 0; transform: rotate(45deg);
}

.strip {
  background: var(--white); border: 1px solid var(--line); border-radius: 4px;
  padding: 1.5rem; margin-top: 1.5rem;
}
@media (min-width: 48rem) { .strip { padding: 1.75rem 2.25rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 0 3rem; align-items: start; } }
.strip h3 { margin: 0 0 0.5rem; }
.strip .ticks { margin-bottom: 0; }

/* Newsletter issue card */
.issue {
  display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1.25rem; align-items: start;
  background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 1.25rem;
  max-width: 40rem;
}
@media (min-width: 36rem) { .issue { grid-template-columns: 10rem minmax(0, 1fr); gap: 1.75rem; padding: 1.5rem; } }
.issue__cover { border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(28, 33, 30, 0.12); }
.issue h3 { margin: 0 0 0.5rem; }
.issue p { margin-bottom: 1.25rem; }
.issue .label { margin-bottom: 0.5rem; }
.issue .button { padding: 0.75rem 1.3rem; }

/* Brand devices (from the guides and newsletter) */
.key, .vital { padding: 1.1rem 1.25rem 1.1rem 1.4rem; margin: 1.5rem 0; border-radius: 0; }
.key { background: var(--sage-pale); border: 2px solid var(--brand); border-left: 7px solid var(--brand); }
.vital { background: var(--ink); color: var(--white); border: 2px solid var(--sage-deep); border-left: 7px solid var(--sage-deep); }
.key__label, .vital__label { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.4rem; }
.key__label { color: var(--brand); }
.vital__label { color: var(--sage-deep); }
.key p:last-child, .vital p:last-child { margin-bottom: 0; }
.key--promise { margin: 2rem 0 0; }
.key--promise p { font-size: var(--fs-lead); line-height: 1.45; }
.key--promise .key__label { font-size: 0.8125rem; line-height: 1.4; }
.section-head { background: var(--ink); color: var(--white); font-size: var(--fs-lead); padding: 0.6rem 0.9rem; margin: 2.5rem 0 1rem; }
.card { background: var(--white); border: 3px solid var(--brand); padding: 1rem 1.1rem; margin: 1.5rem 0; }
.card__label { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); margin-bottom: 0.75rem; }
.card table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.card td { padding: 0.4rem 0; border-top: 1px solid var(--sage-pale); vertical-align: top; }
.card td:last-child { text-align: right; padding-left: 1rem; white-space: nowrap; font-weight: 600; }
.card tr:first-child td { border-top: 0; }

/* Explainers and hubs */
.gap { border-top: 3px solid var(--brand); border-bottom: 1px solid var(--sage-deep); padding: 1rem 0; margin: 2rem 0; font-weight: 600; }
.gap p { margin: 0; }
.video { margin: 2rem 0; }
.video__play { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--ink); cursor: pointer; aspect-ratio: 16 / 9; }
.video__play img { width: 100%; height: 100%; object-fit: cover; }
.video__icon { position: absolute; left: 50%; top: 50%; width: 4.5rem; height: 4.5rem; margin: -2.25rem 0 0 -2.25rem; border-radius: 50%; background: var(--brand); }
.video__icon::after { content: ""; position: absolute; left: 1.75rem; top: 1.35rem; border-style: solid; border-width: 0.9rem 0 0.9rem 1.5rem; border-color: transparent transparent transparent var(--white); }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.video figcaption { font-size: var(--fs-small); margin-top: 0.5rem; }
.partof { margin: 2rem 0; font-size: var(--fs-small); }
.partof ul { padding-left: 1.1rem; }
.explainer-list { padding-left: 1.4rem; }
.explainer-list span { display: block; font-size: var(--fs-small); }
.explainer-list--plain { list-style: none; padding-left: 0; }
.explainer-list--plain li { border-top: 1px solid var(--sage-deep); padding: 0.7rem 0; margin: 0; }
.explainer-list .tag { display: inline; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); margin-left: 0.4rem; }
.links { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.links li { border-top: 1px solid var(--sage-deep); padding: 0.9rem 0; margin: 0; }
.links li:last-child { border-bottom: 1px solid var(--sage-deep); }
.links a { font-weight: 600; }
.links span { display: block; font-size: var(--fs-small); }

/* Call to action band, at the foot of sub-pages */
.cta { background: var(--sage-pale); padding: var(--section-space) 0; }
.cta h2 { margin: 0 0 0.75rem; }
.cta p { max-width: var(--measure); }
.cta .buttons { margin-top: 1.5rem; }

/* Byline and dates */
.byline { border-top: 1px solid var(--sage-deep); margin-top: 2.5rem; padding-top: 1rem; font-size: var(--fs-small); }
.byline p { margin: 0 0 0.25rem; }
.byline__name { font-weight: 600; }
.asat { font-size: var(--fs-small); margin: 2rem 0 0; color: #4A524D; }

/* Privacy notice tables */
.table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; }
.data-table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); background: var(--white); }
.data-table th, .data-table td { text-align: left; vertical-align: top; padding: 0.65rem 0.8rem; border: 1px solid var(--sage-deep); }
.data-table th { background: var(--ink); color: var(--white); font-weight: 600; }
.prose--wide { max-width: 46rem; }

/* 4. Footer */
.footer { background: var(--page); color: var(--sage-pale); font-size: var(--fs-small); line-height: 1.6; padding: 2.75rem 0 2rem; }
.footer a { color: var(--white); }
.footer a:focus-visible { outline-color: var(--white); }
.footer__top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  padding-bottom: 1.75rem; border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.footer__brand { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1rem; }
.footer__brand img { width: 128px; height: auto; }
.footer__tagline { color: var(--sage-deep); margin: 0; }
.footer__nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; }
.footer__nav li { margin: 0; }
.footer__nav a { font-weight: 600; text-decoration: none; font-size: 0.9375rem; }
.footer__nav a:hover { text-decoration: underline; }
.footer__cols { display: grid; gap: 0 3rem; padding: 1.75rem 0 0.75rem; }
@media (min-width: 48rem) { .footer__cols { grid-template-columns: 1fr 1fr; } }
.footer__lead { color: var(--white); font-weight: 600; font-size: 1rem; margin-bottom: 0.4rem; }
.footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.16); padding-top: 1.25rem; margin: 0;
  font-size: 0.8125rem; color: var(--sage-deep);
}
.footer__legal a { color: var(--sage-pale); }

/* Preview builds only */
.draft-flag { background: var(--ink); color: var(--white); text-align: center; margin: 0; padding: 0.4rem; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

@media print {
  .nav, .skip, .footer__nav, .video__play, .cta { display: none; }
  .band, .masthead, .footer { background: none; color: var(--ink); }
  .band h1, .band .lede, .band .label, .footer a, .footer__legal, .footer__tagline { color: var(--ink); }
}

/* Wide tables may run past the text column, up to 46rem */
.prose .table-wrap { width: min(46rem, calc(100vw - 2 * var(--gutter))); }
.prose + .buttons { margin-top: 2rem; }
.cards--spaced { margin-top: 2.5rem; }
.band--hero .label { margin-bottom: 1.25rem; }
@media (max-width: 35.99rem) {
  .issue { display: block; }
  .issue > a { display: block; width: 8rem; margin-bottom: 1.25rem; }
}

/* Why Take Stock?: the six stages */
.stages { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; counter-reset: none; }
@media (min-width: 48rem) { .stages { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }
.stage {
  margin: 0; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--brand);
  border-radius: 4px; padding: 1.5rem 1.5rem 1.4rem;
}
.stage--later { border-top-color: var(--sage-deep); }
.stage h3 { margin: 0.9rem 0 0.6rem; }
.stage p { margin: 0; }
.stage__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--brand); color: var(--white); font-weight: 600; font-size: 1rem;
}
.stage--later .stage__n { background: var(--sage-deep); color: var(--brand); }
.stages__note { font-size: var(--fs-small); margin: 1rem 0 0; max-width: var(--measure); }
.stages__part { margin-top: 2.75rem; }

/* Why Take Stock?: everything we produce */
.group {
  background: var(--white); border: 1px solid var(--line); border-radius: 4px;
  padding: 1.5rem 1.25rem; margin-bottom: 1.5rem;
}
@media (min-width: 48rem) { .group { padding: 2rem 2.25rem; } }
.group__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin-bottom: 0.5rem; }
.group__head .status { margin: 0; }
.group__head h3 { margin: 0; font-size: var(--fs-section); }
.group__foot { margin: 1.5rem 0 0; }
.items { margin: 0; }
.item { border-top: 1px solid var(--line); padding: 1.1rem 0; display: grid; gap: 0.35rem 3rem; }
.item:last-child { padding-bottom: 0.25rem; }
@media (min-width: 60rem) { .item { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }
.item dt { font-weight: 600; color: var(--brand); font-size: var(--fs-lead); line-height: 1.3; }
.item dd { margin: 0; max-width: var(--measure); }

/* Who it's for: situations (11 Nov 2026) */
.situations { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
@media (min-width: 48rem) { .situations { grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; } }
.situations li {
  margin: 0; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--brand);
  border-radius: 4px; padding: 1.1rem 1.25rem; font-size: var(--fs-lead); line-height: 1.4;
}
.situations__foot { max-width: var(--measure); margin: 1.75rem 0 0; }
.next-step { margin-top: 2rem; }

/* Why join: the reasons people leave it (11 Nov 2026) */
.reasons { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; }
@media (min-width: 48rem) { .reasons { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
@media (min-width: 48rem) and (max-width: 69.99rem) { .reason:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 70rem) {
  .reasons { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .reason { grid-column: span 2; }
  .reason:nth-child(n+4) { grid-column: span 3; }
}
.reason {
  margin: 0; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--brand);
  border-radius: 4px; padding: 1.5rem 1.5rem 1.4rem;
}
.reason h3 { margin: 0 0 0.6rem; color: var(--brand); }
.reason p { margin: 0; }
.join-foot { margin-top: 2rem; }

/* Contact: info beside the form (11 Nov 2026) */
.contact { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 60rem) { .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 3.5rem; } }
.contact__info .key { margin-top: 0; }
.contact__info h2 { font-size: var(--fs-lead); margin: 2rem 0 1rem; }
.form-card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: 4px; padding: 1.5rem 1.25rem; }
@media (min-width: 48rem) { .form-card { padding: 2rem 2.25rem; } }
.form-card h2 { font-size: var(--fs-section); margin: 0 0 1.5rem; }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-weight: 600; margin-bottom: 0.4rem; }
.field input, .field select, .field textarea {
  display: block; width: 100%; font: inherit; font-size: var(--fs-body); color: var(--ink);
  background: var(--white); border: 2px solid var(--sage-deep); border-radius: 4px; padding: 0.7rem 0.85rem;
}
.field textarea { min-height: 10rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--sage-pale); border-color: var(--brand); }
.hint { display: block; font-size: var(--fs-small); color: #4A524D; margin-top: 0.4rem; }
.check { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: 0.75rem; align-items: start; margin-bottom: 1rem; }
.check input { width: 1.25rem; height: 1.25rem; margin: 0.2rem 0 0; accent-color: var(--brand); }
.optional { color: #4A524D; font-size: var(--fs-small); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile-placeholder { border: 2px dashed var(--sage-deep); border-radius: 4px; background: var(--ground); padding: 1rem 1.1rem; font-size: var(--fs-small); color: #4A524D; margin: 1.25rem 0 1.5rem; }
.cf-turnstile { margin: 1.25rem 0 1.5rem; }
button.button { cursor: pointer; font-family: inherit; }
.form__small { margin-top: 1.25rem; }

/* What it is: Take Stock and advice compared (11 Nov 2026) */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.compare-wrap { overflow-x: auto; margin: 2.25rem 0 2.5rem; }
.compare { width: 100%; max-width: 58rem; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--line); border-radius: 4px; }
.compare caption { text-align: left; margin-bottom: 0.9rem; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 1rem 1rem; border-top: 1px solid var(--line); }
.compare thead th { border-top: 0; background: var(--brand); color: var(--white); font-weight: 600; font-size: var(--fs-body); }
.compare thead th:first-child { border-top-left-radius: 3px; }
.compare thead th:last-child { border-top-right-radius: 3px; }
.compare tbody th { font-weight: 400; width: 46%; }
.compare td { width: 27%; }
.compare td:nth-child(2) { background: #F4F8F2; }
@media (min-width: 48rem) { .compare th, .compare td { padding: 1rem 1.4rem; } }
.mark { display: inline-block; position: relative; width: 1.6rem; height: 1.6rem; border-radius: 50%; vertical-align: -0.35rem; }
.mark--yes { background: var(--brand); }
.mark--yes::after { content: ""; position: absolute; left: 0.56rem; top: 0.32rem; width: 0.38rem; height: 0.72rem; border: solid var(--white); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.mark--no { border: 2px solid #8C958F; }
.mark--no::before, .mark--no::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0.75rem; height: 2px; background: #8C958F; transform: translate(-50%, -50%) rotate(45deg); }
.mark--no::after { transform: translate(-50%, -50%) rotate(-45deg); }
.mark--part { border: 2px solid var(--brand); background: var(--sage-pale); }
.mark--part::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0.7rem; height: 3px; background: var(--brand); transform: translate(-50%, -50%); }
.mark__note { display: block; font-size: var(--fs-small); line-height: 1.45; color: #4A524D; margin-top: 0.45rem; }
.compare__after { margin-top: 0; }
/* On phones each row stacks: the statement across the top, the two answers side by side under it */
@media (max-width: 47.99rem) {
  .compare-wrap { overflow: visible; }
  .compare, .compare thead, .compare tbody { display: block; }
  .compare tr { display: grid; grid-template-columns: 1fr 1fr; }
  .compare thead th:first-child { display: none; }
  .compare thead th { padding: 0.8rem 1rem; }
  .compare thead th:nth-child(2) { border-top-left-radius: 3px; }
  .compare tbody th { grid-column: 1 / -1; width: auto; font-weight: 600; padding: 1rem 1rem 0.5rem; }
  .compare td { width: auto; border-top: 0; padding: 0.4rem 1rem 1rem; }
}
.compare__label { margin-bottom: 0.9rem; }
.key--promise + p { margin-top: 1.5rem; }

/* Phones: Join free and a Menu button that opens the full list (agreed 12 Nov 2026). No script needed. */
.masthead { position: relative; }
.nav-phone { display: flex; align-items: center; gap: 0.6rem; }
.nav--wide { display: none; }
@media (max-width: 47.99rem) {
  .masthead__row { flex-wrap: nowrap; gap: 0.75rem; }
  .masthead__home img { width: 128px; }
}
@media (min-width: 48rem) {
  .nav--wide { display: block; }
  .nav-phone { display: none; }
}
.nav-phone .nav__join {
  display: inline-block; background: var(--white); color: var(--brand); font-weight: 600; font-size: 0.9375rem;
  text-decoration: none; padding: 0.5rem 0.8rem; border-radius: 4px; white-space: nowrap;
}
.nav-phone__toggle {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 0.5rem;
  color: var(--white); font-weight: 600; font-size: 0.9375rem; white-space: nowrap;
  border: 2px solid rgba(255, 255, 255, 0.55); border-radius: 4px; padding: 0.4rem 0.7rem;
}
.nav-phone__toggle::-webkit-details-marker { display: none; }
.nav-phone__toggle::marker { content: ""; }
.nav-phone__toggle:focus-visible { outline: 3px solid var(--white); outline-offset: 2px; }
.nav-phone__icon { display: inline-block; width: 1rem; height: 2px; background: var(--white); box-shadow: 0 -5px 0 var(--white), 0 5px 0 var(--white); }
.nav-phone__close { display: none; }
.nav-phone__menu[open] .nav-phone__open { display: none; }
.nav-phone__menu[open] .nav-phone__close { display: inline; }
.nav-phone__menu[open] .nav-phone__icon { height: 0; box-shadow: none; position: relative; }
.nav-phone__menu[open] .nav-phone__icon::before, .nav-phone__menu[open] .nav-phone__icon::after {
  content: ""; position: absolute; left: 0; top: -1px; width: 1rem; height: 2px; background: var(--white); transform: rotate(45deg);
}
.nav-phone__menu[open] .nav-phone__icon::after { transform: rotate(-45deg); }
.nav-phone__panel {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 20; background: var(--page);
  border-top: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 14px 24px rgba(0, 0, 0, 0.18);
}
.nav-phone__panel ul { list-style: none; margin: 0; padding: 0.25rem 0 0.75rem; }
.nav-phone__panel li { margin: 0; }
.nav-phone__panel a {
  display: block; padding: 0.95rem var(--gutter); color: var(--white); font-weight: 600; font-size: 1.0625rem;
  text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.nav-phone__panel a[aria-current="page"] { background: rgba(255, 255, 255, 0.08); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.35em; }

/* Terms of use (12 Nov 2026) */
.terms__version { margin-top: 0; }
.terms__contents { background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 1.25rem 1.5rem; margin: 1.5rem 0 2.5rem; }
.terms__contents .label { margin-top: 0; }
.terms__contents ol { margin: 0; padding-left: 1.4rem; }
.terms__contents li { margin: 0.3rem 0; }
@media (min-width: 48rem) { .terms__contents ol { columns: 2; column-gap: 2.5rem; } .terms__contents li { break-inside: avoid; } }
