/* ============================================================================
   tidyplannery.com — landing page styles
   Tokens lifted verbatim from the brand book (tidyplannery_brandbook.html).
   Hand-written, zero JavaScript, self-hosted fonts.
   ========================================================================== */

/* ---- Fonts (self-hosted, latin subset covers ä ö ü ß) -------------------- */
@font-face {
  font-family: "Newsreader"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("/assets/fonts/newsreader-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader"; font-style: normal; font-weight: 500;
  font-display: swap; src: url("/assets/fonts/newsreader-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader"; font-style: normal; font-weight: 600;
  font-display: swap; src: url("/assets/fonts/newsreader-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader"; font-style: italic; font-weight: 400;
  font-display: swap; src: url("/assets/fonts/newsreader-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader"; font-style: italic; font-weight: 500;
  font-display: swap; src: url("/assets/fonts/newsreader-latin-500-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Inter Tight"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("/assets/fonts/inter-tight-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter Tight"; font-style: normal; font-weight: 500;
  font-display: swap; src: url("/assets/fonts/inter-tight-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter Tight"; font-style: normal; font-weight: 600;
  font-display: swap; src: url("/assets/fonts/inter-tight-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono"; font-style: normal; font-weight: 500;
  font-display: swap; src: url("/assets/fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
}

/* ---- Tokens -------------------------------------------------------------- */
:root {
  --paper:      #FAF6EA;
  --paper-soft: #FFFDF6;
  --paper-deep: #F1ECDC;
  --paper-edge: #D2C7A8;
  --ink:        #2E2E1F;
  --ink-soft:   #5A5841;
  --ink-muted:  #8C8870;
  --forest:     #4A4A2C;
  --forest-deep:#363620;
  --forest-mid: #6E6D48;
  --olive:      #9CA53D;
  --olive-deep: #7E862E;
  --olive-ink:  #5F671F; /* AA-safe olive for text on paper */
  --olive-soft: #C4CC78;
  --olive-wash: #E6E9C4;
  --wine:       #7A1F3A;
  --wine-deep:  #5A1129;
  --wine-soft:  #A85574;
  --wine-wash:  #E8D2DA;
  --sand-soft:  #DCD0A8;

  --serif: "Newsreader", "Source Serif 4", Georgia, serif;
  --sans:  "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;

  --maxw: 1120px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(54,54,32,.06), 0 12px 32px rgba(54,54,32,.10);
  --shadow-lg: 0 2px 6px rgba(54,54,32,.10), 0 28px 64px rgba(54,54,32,.16);
}

/* ---- Reset / base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.97rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; }
a { color: var(--wine); text-decoration-thickness: 1px; text-underline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; }

:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 3px;
  border-radius: 3px;
}

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--forest); color: var(--paper);
  padding: .6rem 1rem; border-radius: 0 0 var(--radius-sm) 0;
  font-family: var(--mono); font-size: .85rem;
}
.skip-link:focus { left: 0; }

/* ---- Shared bits --------------------------------------------------------- */
.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive-ink);
  margin: 0 0 .9rem;
}
.eyebrow--center { text-align: center; }

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section__head { max-width: 46ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__title { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.5rem); margin: 0 0 1rem; }
.section__intro { font-size: 1.075rem; color: var(--ink-soft); margin: 0; }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; flex-direction: column; align-items: center;
  gap: .15rem;
  font-family: var(--sans); font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  padding: .85rem 1.6rem;
  line-height: 1.2;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn__hint {
  font-family: var(--mono); font-weight: 400;
  font-size: .62rem; letter-spacing: .04em; text-transform: lowercase;
  opacity: .8;
}
.btn--primary { background: var(--forest); color: var(--paper); box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--forest-mid); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }

/* Quiet variant — outline only, for the mid-page CTA. */
.btn--ghost { background: transparent; color: var(--forest); border: 1px solid var(--forest-mid); }
.btn--ghost:hover { background: var(--paper-deep); transform: translateY(-1px); }
.btn--ghost:active { transform: translateY(0); }

/* CTA expectation line under the button. */
.cta-note {
  font-family: var(--mono); font-size: .78rem; color: var(--ink-soft);
  margin: .8rem 0 0;
}
.cta-note--invert { color: color-mix(in srgb, var(--paper) 80%, transparent); }

/* ---- Header -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--paper-edge);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: .85rem;
}
.wordmark {
  font-family: var(--serif); font-size: 1.6rem; line-height: 1;
  color: var(--forest); letter-spacing: -0.02em; text-decoration: none;
  font-weight: 500;
}
.wordmark em { font-style: italic; color: var(--wine); }
.wordmark--sm { font-size: 1.3rem; }

/* Brand lockup in the header: logo mark + wordmark + slogan. */
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand__logo { display: block; border-radius: 50%; }
.brand__tagline {
  font-family: var(--serif); font-style: italic; font-size: .92rem;
  color: var(--ink-soft); margin-left: .35rem; transform: translateY(2px);
}
@media (max-width: 700px) { .brand__tagline { display: none; } }

.lang-toggle { display: inline-flex; align-items: center; gap: .2rem; font-family: var(--mono); font-size: .8rem; }
.lang-toggle__item {
  display: inline-block; padding: .3rem .55rem; border-radius: 999px;
  color: var(--ink-soft); text-decoration: none; letter-spacing: .04em;
}
.lang-toggle__item:hover { color: var(--ink); background: var(--paper-deep); }
.lang-toggle__item.is-active { color: var(--paper); background: var(--forest); }

/* ---- Hero ---------------------------------------------------------------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem); }
.hero__inner { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.hero__headline {
  font-size: clamp(2rem, 1.3rem + 3.4vw, 3.4rem);
  margin: .2rem 0 1rem;
}
.hero__subline { font-size: 1.1rem; max-width: 40ch; margin: 0 0 1.6rem; }
.hero__cta { margin-top: .5rem; }

@media (min-width: 860px) {
  .hero__inner { grid-template-columns: 1.05fr 1fr; }
}

/* ---- Device mockups ------------------------------------------------------ */
.devices { position: relative; padding: 1rem 0 3rem; }
.device__screen { background: var(--paper-soft); overflow: hidden; }

.device--laptop {
  position: relative; margin-inline: auto; max-width: 540px;
}
.device--laptop .device__screen {
  border: 10px solid var(--forest);
  border-radius: 16px 16px 0 0;
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow-lg);
}
.device--laptop .device__base {
  height: 16px;
  background: linear-gradient(var(--forest-mid), var(--forest));
  border-radius: 0 0 12px 12px;
  margin-inline: -4%;
  position: relative;
}
.device--laptop .device__base::after {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 16%; height: 6px; background: var(--forest-deep);
  border-radius: 0 0 6px 6px;
}

.device--phone {
  position: absolute; left: 2%; bottom: 0; width: 31%; max-width: 168px;
  z-index: 2;
}
.device--phone .device__screen {
  border: 8px solid var(--forest-deep);
  border-radius: 22px;
  aspect-ratio: 9 / 16;
  box-shadow: var(--shadow-lg);
}

/* Real screenshots: <img class="device__shot"> fills the screen. */
.device__shot { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Placeholder app chrome ---------------------------------------------------*/
.ph-app { display: flex; flex-direction: column; height: 100%; background: var(--paper-soft); }
.ph-app__bar {
  display: flex; align-items: center; gap: .35rem;
  padding: .5rem .7rem; background: var(--olive-wash);
  border-bottom: 1px solid color-mix(in srgb, var(--olive-deep) 18%, transparent);
}
.ph-dot { width: 7px; height: 7px; border-radius: 50%; background: color-mix(in srgb, var(--forest) 40%, var(--paper)); }
.ph-app__title { margin-left: .35rem; font-family: var(--serif); font-size: .72rem; color: var(--forest); font-style: italic; }
.ph-app__body { flex: 1; display: flex; gap: .6rem; padding: .7rem; min-height: 0; }
.ph-app--phone .ph-app__body, .ph-app--mini .ph-app__body { flex-direction: column; gap: .45rem; }
.ph-app--mini { height: 100%; }

.ph-col { display: flex; flex-direction: column; gap: .4rem; }
.ph-col--nav { flex: 0 0 28%; }
.ph-col--main { flex: 1; }

.ph-line { height: 7px; border-radius: 4px; background: var(--paper-deep); display: block; }
.ph-line--head { height: 10px; width: 55%; background: var(--olive-soft); }
.ph-line--w50 { width: 50%; } .ph-line--w60 { width: 60%; } .ph-line--w70 { width: 70%; }
.ph-line--w80 { width: 80%; } .ph-line--w90 { width: 90%; }

.ph-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: .6rem 0; }
.ph-card { height: 34px; border-radius: 6px; background: var(--paper-deep); border: 1px solid var(--paper-edge); }
.ph-card--wide { height: 46px; }

.ph-screens-label {
  margin-top: auto; align-self: center;
  font-family: var(--mono); font-size: .54rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-muted);
}

/* ---- Story --------------------------------------------------------------- */
.story__inner { max-width: 58ch; }
.story__body { font-size: 1.15rem; line-height: 1.65; }

/* ---- Features ------------------------------------------------------------ */
.feature-grid {
  list-style: none;
  display: grid; gap: clamp(1rem, 2.5vw, 1.6rem);
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  background: var(--paper-soft);
  border: 1px solid var(--paper-edge);
  border-radius: var(--radius);
  padding: 1rem 1rem 1.2rem;
  display: flex; flex-direction: column;
}
.feature-card__shot {
  width: 100%; max-width: 190px; margin: 0 auto .9rem;
  aspect-ratio: 9 / 16;            /* matches the 540×960 phone shots: no crop */
  border-radius: var(--radius-sm); overflow: hidden;
  background: var(--paper-deep); border: 1px solid var(--paper-edge);
}
.feature-card__shot .ph-app--mini { padding: 0; }
.feature-card__shot .ph-app__body { padding: .6rem; }
/* Clickable screenshots: open the full-size shot in a new tab (zero-JS). */
a.feature-card__shot--link { display: block; position: relative; cursor: zoom-in; }
a.feature-card__shot--link:hover, a.feature-card__shot--link:focus-visible { border-color: var(--forest); }
a.feature-card__shot--link::after {
  content: "+"; position: absolute; right: .4rem; bottom: .4rem;
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--forest) 85%, transparent); color: var(--paper);
  font-family: var(--mono); font-size: 1rem; line-height: 1;
  opacity: 0; transition: opacity .15s ease;
}
a.feature-card__shot--link:hover::after, a.feature-card__shot--link:focus-visible::after { opacity: 1; }

/* ---- Lightbox (zero-JS, CSS :target) ------------------------------------- */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 100;
  align-items: center; justify-content: center;
  padding: clamp(1.5rem, 5vw, 3rem);
  background: color-mix(in srgb, var(--forest-deep) 80%, transparent);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.lightbox:target { display: flex; }
/* Lock background scroll while a lightbox is open (progressive: needs :has). */
:root:has(.lightbox:target) { overflow: hidden; }
.lightbox__dismiss { position: absolute; inset: 0; cursor: zoom-out; }
.lightbox__figure {
  position: relative; z-index: 1; margin: 0;
  display: flex; flex-direction: column; align-items: center; gap: .65rem;
  max-width: min(90vw, 380px); max-height: 92vh;
  animation: lightbox-in .18s ease both;
}
.lightbox__figure img {
  display: block; width: 100%; height: auto; max-height: 84vh; object-fit: contain;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); background: var(--paper-soft);
}
.lightbox__cap {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .06em;
  text-transform: uppercase; color: color-mix(in srgb, var(--paper) 88%, transparent);
}
.lightbox__close {
  position: fixed; top: clamp(.85rem, 3vw, 1.6rem); right: clamp(.85rem, 3vw, 1.6rem);
  z-index: 2; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  display: grid; place-items: center; line-height: 1; font-size: 1.5rem;
  text-decoration: none; color: var(--paper);
  background: color-mix(in srgb, var(--paper) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--paper) 34%, transparent);
  transition: background .15s ease;
}
.lightbox__close:hover, .lightbox__close:focus-visible { background: color-mix(in srgb, var(--paper) 26%, transparent); }
@keyframes lightbox-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lightbox__figure { animation: none; } }
.feature-card__name { font-size: 1.15rem; margin: 0 0 .35rem; color: var(--forest); }
.feature-card__caption { font-size: .92rem; margin: 0; }

/* ---- Video --------------------------------------------------------------- */
.video__inner { text-align: center; max-width: 800px; }
.video__inner .section__title { margin-inline: auto; }
.video__placeholder, .video__frame {
  margin-top: 1.5rem; border-radius: var(--radius); overflow: hidden;
}
.video__placeholder { aspect-ratio: 16 / 9; }
.video__placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  background:
    repeating-linear-gradient(135deg, transparent 0 18px, color-mix(in srgb, var(--forest) 4%, transparent) 18px 19px),
    var(--paper-deep);
  border: 1px dashed var(--paper-edge);
  color: var(--ink-soft);
}
.video__play {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--forest); position: relative; box-shadow: var(--shadow);
}
.video__play::after {
  content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--paper);
}
.video__placeholder-text { font-family: var(--mono); font-size: .82rem; margin: 0; max-width: 36ch; }
.video__frame {
  aspect-ratio: 1 / 1; max-width: 480px; margin-inline: auto;
  box-shadow: var(--shadow-lg);
}
.video__el { width: 100%; height: 100%; object-fit: contain; background: var(--forest-deep); }
.video__credit {
  margin: .9rem 0 0; font-family: var(--mono); font-size: .72rem;
  color: var(--ink-muted); letter-spacing: .02em;
}
.video__credit a { color: var(--ink-soft); text-underline-offset: 2px; }

/* ---- Proof row ----------------------------------------------------------- */
.proof { background: var(--forest); color: var(--paper); }
.proof .eyebrow { color: var(--olive-soft); }
.proof-row {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: .75rem 1.25rem; text-align: center;
}
.proof-row__item {
  font-family: var(--serif); font-size: clamp(1.1rem, .9rem + 1vw, 1.5rem);
  color: var(--paper); display: inline-flex; align-items: center;
}
.proof-row__item:not(:last-child)::after {
  content: "·"; margin-left: 1.25rem; color: var(--olive-soft);
}

/* ---- FAQ ----------------------------------------------------------------- */
.faq__inner { max-width: 760px; }
.faq-list { border-top: 1px solid var(--paper-edge); }
.faq-item { border-bottom: 1px solid var(--paper-edge); }
.faq-item__q {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem .2rem;
  font-family: var(--serif); font-size: 1.15rem; color: var(--ink);
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__marker { position: relative; flex: 0 0 18px; height: 18px; }
.faq-item__marker::before, .faq-item__marker::after {
  content: ""; position: absolute; background: var(--olive-ink);
  transition: transform .2s ease, opacity .2s ease;
}
.faq-item__marker::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-item__marker::after  { top: 0; left: 8px; width: 2px; height: 18px; }
.faq-item[open] .faq-item__marker::after { transform: scaleY(0); opacity: 0; }
.faq-item__a { padding: 0 .2rem 1.2rem; max-width: 64ch; }

/* ---- Mid-page CTA -------------------------------------------------------- */
.mid-cta { text-align: center; padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.mid-cta__inner {
  max-width: 38rem; margin-inline: auto;
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.5rem, 5vw, 3rem);
  border-radius: var(--radius);
  background: radial-gradient(135% 130% at 50% -10%, var(--paper-soft) 0%, var(--olive-wash) 115%);
  border: 1px solid color-mix(in srgb, var(--olive-deep) 22%, transparent);
  box-shadow: var(--shadow);
}
.mid-cta__lead {
  font-family: var(--serif); font-size: clamp(1.4rem, 1.1rem + 1.5vw, 1.95rem);
  line-height: 1.2; color: var(--forest-deep); margin: 0 0 1.4rem; font-weight: 500;
}
/* The mid CTA stays the quiet variant, but reads crisply on the sage panel
   and fills forest on hover for a satisfying, intentional interaction. */
.mid-cta .btn--ghost {
  border-color: var(--forest); border-width: 1.5px;
  background: color-mix(in srgb, var(--paper-soft) 65%, transparent);
}
.mid-cta .btn--ghost:hover { background: var(--forest); color: var(--paper); }
.mid-cta .cta-note { color: var(--ink-soft); }

/* ---- Founder ------------------------------------------------------------- */
.founder { background: var(--paper-deep); }
.founder__inner { max-width: 60ch; }
.founder__body { font-size: 1.05rem; color: var(--ink-soft); }
.founder__body p { margin-bottom: 1rem; }

/* ---- Next band ----------------------------------------------------------- */
.next-band { text-align: center; }
.next-band__inner { max-width: 56ch; margin-inline: auto; }
.next-band__lead {
  font-family: var(--serif); font-size: clamp(1.3rem, 1rem + 1.6vw, 1.9rem);
  color: var(--ink); margin: 0 0 .8rem; font-weight: 500;
}
.next-band__body { color: var(--ink-soft); margin: 0; }

/* ---- Closing CTA --------------------------------------------------------- */
.closing { background: var(--forest-deep); color: var(--paper); text-align: center; }
.closing__inner { max-width: 46ch; margin-inline: auto; }
.closing__headline {
  font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.6rem); color: var(--paper); margin: 0 0 1.8rem;
}
.closing .btn--primary { background: var(--olive); color: var(--forest-deep); }
.closing .btn--primary:hover { background: var(--olive-soft); }

/* ---- Footer -------------------------------------------------------------- */
.site-footer { background: var(--forest); color: var(--paper); padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.site-footer__inner { display: grid; gap: 1.5rem; }
.site-footer__brand { display: flex; align-items: center; gap: .9rem; }
.site-footer__logo { display: block; border-radius: 50%; }
.site-footer .wordmark { color: var(--paper); }
.site-footer .wordmark em { color: var(--wine-soft); }
.site-footer__tagline { font-family: var(--serif); font-style: italic; color: var(--olive-soft); margin: .4rem 0 0; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; }
.site-footer__links a { color: var(--paper); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--paper) 35%, transparent); padding-bottom: 1px; }
.site-footer__links a:hover { border-bottom-color: var(--olive-soft); color: var(--olive-soft); }
.site-footer__legal { font-family: var(--mono); font-size: .78rem; color: color-mix(in srgb, var(--paper) 70%, transparent); margin: 0; }

@media (min-width: 760px) {
  .site-footer__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .site-footer__legal { grid-column: 1 / -1; }
}

/* ---- Legal pages --------------------------------------------------------- */
.legal { padding-block: clamp(3rem, 7vw, 5rem); }
.legal__inner { max-width: 70ch; }
.legal h1 { font-size: clamp(1.8rem, 1.4rem + 2vw, 2.6rem); margin: 0 0 1.5rem; }
.legal h2 { font-size: 1.3rem; margin: 2rem 0 .6rem; color: var(--forest); }
.legal p, .legal li { color: var(--ink-soft); }
.legal address { font-style: normal; line-height: 1.7; }
.legal__date { margin-top: 2.5rem; font-family: var(--mono); font-size: .8rem; color: var(--ink-soft); }
.legal__back { display: inline-block; margin-top: 2rem; font-family: var(--mono); font-size: .85rem; }

/* ---- 404 ----------------------------------------------------------------- */
.notfound { min-height: 52vh; display: grid; place-content: center; text-align: center; padding-block: 4rem; }
.notfound__code { font-family: var(--mono); color: var(--olive-ink); letter-spacing: .3em; margin: 0 0 1rem; }
.notfound__title { font-size: clamp(1.8rem, 1.4rem + 2vw, 2.6rem); margin: 0 0 1rem; }
.notfound__links { display: inline-flex; gap: 1.5rem; margin-top: 1rem; font-family: var(--mono); font-size: .9rem; }

/* ---- Motion preference --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
