/* ============================================================
   Tidiest — marketing site
   Bold modern / Swiss-pop. Light only. Hard grid, ink rules,
   electric blue + gem gold on warm paper. Oversized Archivo
   display type over the fast Apple system stack for body.
   Motion: scroll-reveal + count-up (JS), one ticker band.
   All motion settles under prefers-reduced-motion.
   ============================================================ */

/* ---- Display face: self-hosted Archivo variable (OFL). Body stays
   on the system stack — only headings/labels use the web font. ---- */
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 100%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ---- Color: paper + ink + one electric blue + one gem gold ---- */
  --ink:        #111114;   /* headlines, rules, borders */
  --ink-soft:   #34343c;   /* body text */
  --ink-mute:   #6a6a72;   /* captions, secondary */
  --paper:      #F4F0E6;   /* page background (warm poster paper) */
  --paper-2:    #EBE6D7;   /* recessed panels */
  --white:      #FFFFFF;   /* raised blocks */

  --blue:       #2440FF;   /* primary signal color */
  --blue-700:   #1A30CC;   /* hover / pressed */
  --blue-ink:   #0C1A66;   /* deep blue text on light */

  --gold:       #FFC23D;   /* gem / reward accent */
  --gold-deep:  #E09A10;   /* gold text on light (legible) */

  --success:    #1F8A4C;   /* mock chore-card payout only */

  /* ---- Type ---- */
  --font:      -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  --font-disp: "Archivo", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  /* Fluid display sizes (Swiss-pop = oversized) */
  --d-hero:  clamp(2.6rem, 1.6rem + 4.4vw, 4.75rem);
  --d-2xl:   clamp(2.1rem, 1.2rem + 3.9vw, 4rem);
  --d-xl:    clamp(1.6rem, 1.05rem + 2.2vw, 2.6rem);
  --d-lg:    clamp(1.25rem, 1rem + 1.1vw, 1.7rem);
  --text-md:   1.2rem;
  --text-base: 1rem;
  --text-sm:   0.875rem;
  --text-xs:   0.78rem;

  /* ---- Spacing (8pt) ---- */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --space-9: 96px; --space-10: 128px;

  /* ---- Radius (Swiss-pop is squarer) ---- */
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-pill: 999px;

  /* ---- Rules / shadow (hard offset, not soft blur) ---- */
  --rule: 2px;
  --shadow-block: 8px 8px 0 var(--ink);
  --shadow-block-blue: 8px 8px 0 var(--blue);

  /* ---- Motion ---- */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-fast: 140ms;
  --dur-base: 240ms;

  /* ---- Layout ---- */
  --maxw: 1180px;
  --measure: 660px;
}

/* ============================================================
   Reset / base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* faint blueprint grid behind everything (replaces the particle canvas) */
  background-image:
    linear-gradient(to right, rgba(17,17,20,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17,17,20,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ol { margin: 0; padding: 0; list-style: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}

[data-placeholder] { cursor: default; }

/* Shared shell width */
.shell {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--space-5);
  padding-right: var(--space-5);
}

/* ============================================================
   Scroll-reveal (only when motion is welcome — reduced-motion
   users get fully-settled content with no rule applied at all)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  }
  [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   Skip link
   ============================================================ */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: var(--space-3) var(--space-5);
  font-family: var(--font-disp); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.skip:focus { left: var(--space-4); top: var(--space-4); }

/* ============================================================
   Eyebrow — boxed Swiss label
   ============================================================ */
.eyebrow {
  display: inline-block;
  font-family: var(--font-disp);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  border: var(--rule) solid var(--ink);
  padding: 5px var(--space-3);
  margin-bottom: var(--space-5);
}

/* ============================================================
   Wordmark
   ============================================================ */
.wordmark {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-family: var(--font-disp);
  font-size: 1.35rem; font-weight: 800;
  letter-spacing: -0.02em; text-transform: lowercase;
  color: var(--ink);
}
.wordmark__mark { display: block; height: clamp(28px, 2em + 0.6vw, 38px); }
.wordmark__mark img { display: block; height: 100%; width: auto; object-fit: contain; }
.wordmark--footer .wordmark__mark { height: clamp(24px, 1.6em + 0.4vw, 32px); }
.wordmark:focus-visible { outline: var(--rule) solid var(--blue); outline-offset: 4px; }

/* ============================================================
   App Store badge — hard-edged blue block button
   ============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: var(--space-3);
  background: var(--blue); color: var(--white);
  padding: var(--space-3) var(--space-4);
  border: var(--rule) solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease),
              background-color var(--dur-fast) var(--ease);
}
.badge:hover {
  background: var(--blue-700);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}
.badge:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.badge:focus-visible { outline: var(--rule) solid var(--ink); outline-offset: 3px; }
.badge__glyph { width: 22px; height: 22px; fill: var(--white); flex: 0 0 auto; }
.badge__text { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.badge__small {
  font-size: 9px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; opacity: 0.9;
}
.badge__large { font-family: var(--font-disp); font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }

/* ============================================================
   Secondary link — underline-on-ink
   ============================================================ */
.link-secondary {
  font-family: var(--font-disp);
  font-size: var(--text-sm); font-weight: 700;
  letter-spacing: 0.01em; text-transform: uppercase;
  color: var(--ink);
  border-bottom: var(--rule) solid var(--blue);
  padding-bottom: 2px;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.link-secondary:hover { color: var(--blue); }
.link-secondary:focus-visible { outline: var(--rule) solid var(--blue); outline-offset: 3px; }

/* ============================================================
   Nav — sticky, hard ink underline
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: var(--paper);
  border-bottom: var(--rule) solid var(--ink);
  transition: box-shadow var(--dur-base) var(--ease);
}
.nav.scrolled { box-shadow: 0 6px 0 -3px rgba(17,17,20,0.12); }
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: var(--space-3) var(--space-5);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-5);
}
.nav__links { display: flex; gap: var(--space-6); margin-left: auto; margin-right: var(--space-5); }
.nav__links a {
  font-family: var(--font-disp);
  font-size: var(--text-sm); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--ink);
  padding-bottom: 2px; border-bottom: var(--rule) solid transparent;
  transition: border-color var(--dur-fast) var(--ease);
}
.nav__links a:hover { border-bottom-color: var(--blue); }
.nav__links a:focus-visible { outline: var(--rule) solid var(--blue); outline-offset: 4px; }

/* ============================================================
   Hero — asymmetric: oversized copy | bold blue block + phone
   ============================================================ */
.hero { border-bottom: var(--rule) solid var(--ink); overflow: hidden; }
.hero__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: var(--space-9) var(--space-5);
  display: grid; grid-template-columns: 1fr; gap: var(--space-8);
  align-items: center;
}
.hero__copy { max-width: 40ch; }
.hero__h1 {
  font-family: var(--font-disp);
  font-size: var(--d-hero);
  line-height: 0.94;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--ink);
  text-transform: none;
}
.hero__h1 .pop { color: var(--blue); }
.hero__sub {
  font-size: var(--text-md);
  line-height: 1.45; color: var(--ink-soft);
  margin-top: var(--space-5); max-width: 46ch;
}
.hero__cta {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--space-5); margin-top: var(--space-7);
}

/* hero visual block */
.hero__visual { margin: 0; position: relative; justify-self: center; }
.hero__block {
  position: relative;
  background: var(--blue);
  border: var(--rule) solid var(--ink);
  box-shadow: var(--shadow-block);
  padding: var(--space-7) var(--space-6);
  display: flex; align-items: center; justify-content: center;
}
/* overlapping gem badge — grid-breaking accent */
.hero__gem {
  position: absolute;
  top: calc(-1 * var(--space-5)); right: calc(-1 * var(--space-4));
  z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-disp); font-weight: 800; font-size: 1.4rem;
  color: var(--ink);
  background: var(--gold);
  border: var(--rule) solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  padding: var(--space-2) var(--space-4);
  transform: rotate(4deg);
}
.hero__gem svg { width: 22px; height: 22px; }

/* ---- Phone mockup (CSS-drawn, squared Swiss frame) ---- */
.phone {
  width: 244px; background: var(--ink);
  border: var(--rule) solid var(--ink);
  border-radius: 30px; padding: 12px; position: relative;
}
.phone__notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 20px; background: var(--ink);
  border-radius: 0 0 12px 12px; z-index: 2;
}
.phone__screen {
  background: var(--paper); border-radius: 20px;
  padding: var(--space-7) var(--space-4) var(--space-5);
  min-height: 440px; display: flex; align-items: center; justify-content: center;
}
.chore-card {
  width: 100%; background: var(--white);
  border: var(--rule) solid var(--ink);
  padding: var(--space-4);
  display: flex; flex-direction: column; gap: var(--space-4);
}
.chore-card__top { display: flex; flex-direction: column; gap: var(--space-1); }
.chore-card__eyebrow {
  font-family: var(--font-disp); font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute);
}
.chore-card__title {
  font-family: var(--font-disp); font-size: 1.35rem; font-weight: 800;
  letter-spacing: -0.02em; color: var(--ink);
}
.chore-card__photo {
  background: var(--paper-2); border: var(--rule) solid var(--ink);
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
  color: var(--ink-mute);
}
.chore-card__icon { width: 56px; height: 56px; }
.chore-card__grade {
  display: flex; align-items: center; gap: var(--space-3);
  background: var(--gold); border: var(--rule) solid var(--ink);
  padding: var(--space-3) var(--space-4);
}
.chore-card__check {
  width: 26px; height: 26px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: var(--success); color: var(--white);
  border: var(--rule) solid var(--ink);
}
.chore-card__check svg { width: 15px; height: 15px; }
.chore-card__payout {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-disp); font-size: 1.35rem; font-weight: 800;
  letter-spacing: -0.01em; color: var(--ink); white-space: nowrap;
}
.chore-card__gem { width: 17px; height: 17px; flex: 0 0 auto; }

/* ============================================================
   Ticker band — bold running strip (Swiss-pop poster energy)
   ============================================================ */
.ticker {
  background: var(--ink); color: var(--paper);
  border-bottom: var(--rule) solid var(--ink);
  overflow: hidden; padding: var(--space-3) 0;
}
.ticker__track {
  display: inline-flex; align-items: center; gap: var(--space-6);
  white-space: nowrap; will-change: transform;
  animation: ticker-scroll 26s linear infinite;
}
.ticker__item {
  font-family: var(--font-disp); font-weight: 800;
  font-size: 1.15rem; letter-spacing: 0.02em; text-transform: uppercase;
}
.ticker__star { color: var(--gold); margin: 0 var(--space-5); font-size: 1rem; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   Why — oversized statement
   ============================================================ */
.why { border-bottom: var(--rule) solid var(--ink); }
.why__inner { max-width: var(--maxw); margin: 0 auto; padding: var(--space-9) var(--space-5); }
.why__line {
  max-width: 22ch;
  font-family: var(--font-disp);
  font-size: var(--d-2xl); line-height: 1.02; letter-spacing: -0.03em;
  font-weight: 800; color: var(--ink);
}
.why__line em { font-style: normal; color: var(--blue); }

/* ============================================================
   Features — 3-up grid, big index numbers, hard cells
   ============================================================ */
.features { border-bottom: var(--rule) solid var(--ink); }
.features__inner { max-width: var(--maxw); margin: 0 auto; padding: var(--space-9) var(--space-5); }
.section-head { margin-bottom: var(--space-8); max-width: var(--measure); }
.section-head__h2 {
  font-family: var(--font-disp);
  font-size: var(--d-xl); line-height: 1.0; letter-spacing: -0.03em;
  font-weight: 800; color: var(--ink); margin-top: var(--space-2);
}
.section-head__sub { font-size: var(--text-md); color: var(--ink-soft); margin-top: var(--space-4); max-width: 50ch; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: var(--rule) solid var(--ink); }
.feature {
  background: var(--white);
  padding: var(--space-6);
  display: flex; flex-direction: column; gap: var(--space-4);
  border-right: var(--rule) solid var(--ink);
}
.feature:last-child { border-right: 0; }
.feature__index {
  font-family: var(--font-disp); font-size: 1rem; font-weight: 800;
  letter-spacing: 0.08em; color: var(--blue);
}
.feature__icon {
  width: 64px; height: 64px; display: flex; align-items: center; justify-content: center;
  background: var(--paper); border: var(--rule) solid var(--ink); color: var(--ink);
}
.feature__icon svg { width: 36px; height: 36px; }
.feature__title {
  font-family: var(--font-disp); font-size: var(--d-lg); line-height: 1.05;
  letter-spacing: -0.02em; font-weight: 800; color: var(--ink); margin-top: var(--space-1);
}
.feature__body { font-size: var(--text-base); color: var(--ink-soft); }

/* ============================================================
   How it works — three colored beat blocks
   ============================================================ */
.how { background: var(--paper-2); border-bottom: var(--rule) solid var(--ink); }
.how__inner { max-width: var(--maxw); margin: 0 auto; padding: var(--space-9) var(--space-5); }
.beats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6);
  margin-top: var(--space-8);
}
.beat {
  position: relative;
  border: var(--rule) solid var(--ink);
  box-shadow: var(--shadow-block);
  padding: var(--space-6);
  display: flex; flex-direction: column; gap: var(--space-3);
  min-height: 220px;
}
.beat--1 { background: var(--white); }
.beat--2 { background: var(--blue); color: var(--white); }
.beat--3 { background: var(--gold); }
.beat__num {
  font-family: var(--font-disp); font-size: 3.2rem; line-height: 1;
  font-weight: 800; letter-spacing: -0.03em;
}
.beat--2 .beat__num { color: var(--white); }
.beat__title {
  font-family: var(--font-disp); font-size: var(--d-lg); line-height: 1;
  letter-spacing: -0.02em; font-weight: 800; color: inherit;
}
.beat--1 .beat__title, .beat--3 .beat__title { color: var(--ink); }
.beat__clause { font-size: var(--text-base); margin-top: auto; }
.beat--2 .beat__clause { color: rgba(255,255,255,0.92); }
.beat--1 .beat__clause, .beat--3 .beat__clause { color: var(--ink-soft); }
.how__cta { margin-top: var(--space-8); }

/* ============================================================
   Personalities — bordered cards, boxed chips
   ============================================================ */
.personas { border-bottom: var(--rule) solid var(--ink); }
.personas__inner { max-width: var(--maxw); margin: 0 auto; padding: var(--space-9) var(--space-5); }
.persona-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); margin-top: var(--space-8); }
.persona-card {
  background: var(--white); border: var(--rule) solid var(--ink);
  box-shadow: var(--shadow-block);
  padding: var(--space-6);
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3);
}
.persona-card__name {
  font-family: var(--font-disp); font-size: var(--d-lg); line-height: 1;
  font-weight: 800; letter-spacing: -0.02em; color: var(--ink);
}
.chip {
  display: inline-block;
  font-family: var(--font-disp); font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink); background: var(--gold);
  border: var(--rule) solid var(--ink);
  padding: 3px var(--space-3);
}
.persona-card__quote { font-size: var(--text-md); line-height: 1.4; color: var(--ink-soft); }

/* ============================================================
   Trust / privacy — blue block on the page
   ============================================================ */
.trust { background: var(--blue); color: var(--white); border-bottom: var(--rule) solid var(--ink); }
.trust__inner { max-width: var(--maxw); margin: 0 auto; padding: var(--space-9) var(--space-5); }
.trust .eyebrow { background: var(--gold); color: var(--ink); }
.trust__h2 {
  font-family: var(--font-disp); font-size: var(--d-xl); line-height: 1;
  letter-spacing: -0.03em; font-weight: 800; color: var(--white); margin-top: var(--space-2);
}
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); margin-top: var(--space-8); }
.trust-point {
  background: rgba(255,255,255,0.06);
  border: var(--rule) solid var(--white);
  padding: var(--space-6);
  display: flex; flex-direction: column; gap: var(--space-3);
}
.trust-point__icon {
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  border: var(--rule) solid var(--white); color: var(--white);
}
.trust-point__icon svg { width: 34px; height: 34px; }
.trust-point__title {
  font-family: var(--font-disp); font-size: var(--d-lg); line-height: 1.05;
  letter-spacing: -0.02em; font-weight: 800; color: var(--white);
}
.trust-point__clause { font-size: var(--text-base); color: rgba(255,255,255,0.9); }

/* ============================================================
   Closer — big black CTA band
   ============================================================ */
.closer { background: var(--ink); color: var(--paper); border-bottom: var(--rule) solid var(--ink); }
.closer__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: var(--space-10) var(--space-5);
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-5);
}
.closer__h2 {
  font-family: var(--font-disp);
  font-size: var(--d-2xl); line-height: 0.96; letter-spacing: -0.035em;
  font-weight: 800; color: var(--paper); max-width: 16ch;
}
.closer__h2 .pop { color: var(--gold); }
.closer__sub { font-family: var(--font-disp); font-size: 1.1rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }
.closer .badge { box-shadow: 4px 4px 0 var(--gold); }
.closer .badge:hover { box-shadow: 6px 6px 0 var(--gold); }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--paper); padding: var(--space-8) var(--space-5) var(--space-6); }
.footer__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-6); flex-wrap: wrap;
}
.footer__links { display: flex; gap: var(--space-5); }
.footer__links a {
  font-family: var(--font-disp); font-size: var(--text-sm); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink);
  padding-bottom: 2px; border-bottom: var(--rule) solid transparent;
  transition: border-color var(--dur-fast) var(--ease);
}
.footer__links a:hover { border-bottom-color: var(--blue); }
.footer__links a:focus-visible { outline: var(--rule) solid var(--blue); outline-offset: 4px; }
.footer__copy {
  max-width: var(--maxw); margin: var(--space-6) auto 0;
  font-size: var(--text-xs); color: var(--ink-mute);
}

/* ============================================================
   Mobile sticky CTA (shown <= 720px)
   ============================================================ */
.badge--sticky { display: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (min-width: 880px) {
  .hero__inner { grid-template-columns: 1.05fr 0.95fr; gap: var(--space-9); }
}

@media (max-width: 879px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature { border-right: 0; border-bottom: var(--rule) solid var(--ink); }
  .feature:last-child { border-bottom: 0; }
  .beats { grid-template-columns: 1fr; }
  .persona-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav .badge { display: none; }
  .badge--sticky {
    display: inline-flex; position: fixed; left: 50%; bottom: var(--space-4);
    transform: translateX(-50%); z-index: 10;
    min-height: 44px; padding: var(--space-3) var(--space-6);
  }
  .badge--sticky:hover { transform: translateX(-50%) translateY(-2px); box-shadow: 6px 6px 0 var(--ink); }
  .badge--sticky:active { transform: translateX(-50%); }
  .footer { padding-bottom: 92px; }
}

@media (max-width: 600px) {
  .hero__inner { padding-top: var(--space-7); padding-bottom: var(--space-8); }
  .why__inner, .features__inner, .how__inner,
  .personas__inner, .trust__inner { padding-top: var(--space-8); padding-bottom: var(--space-8); }
  .closer__inner { padding-top: var(--space-8); padding-bottom: var(--space-8); }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: var(--space-5); }
  .hero__block { padding: var(--space-6) var(--space-5); }
}

/* ============================================================
   Legal / utility pages (privacy.html, terms.html, 404.html)
   ============================================================ */
.legal { max-width: var(--measure); margin: 0 auto; padding: var(--space-8) var(--space-5) var(--space-9); }
.legal__title {
  font-family: var(--font-disp); font-size: var(--d-xl); line-height: 1;
  font-weight: 800; letter-spacing: -0.03em; color: var(--ink); margin: 0 0 var(--space-3);
}
.legal__meta { font-size: var(--text-sm); color: var(--ink-mute); margin: 0 0 var(--space-6); }
.legal__draft {
  background: var(--gold); border: var(--rule) solid var(--ink);
  color: var(--ink); font-weight: 600;
  font-size: var(--text-sm); padding: var(--space-3) var(--space-4); margin: 0 0 var(--space-6);
}
.legal h2 {
  font-family: var(--font-disp); font-size: var(--d-lg); font-weight: 800;
  letter-spacing: -0.02em; color: var(--ink); margin: var(--space-7) 0 var(--space-2);
}
.legal p { font-size: var(--text-base); line-height: 1.65; color: var(--ink-soft); margin: 0 0 var(--space-3); white-space: pre-line; }
.legal a { color: var(--blue); border-bottom: var(--rule) solid var(--blue); }
.legal a:hover { color: var(--blue-700); }

.oops { max-width: var(--measure); margin: 0 auto; padding: var(--space-10) var(--space-5); }
.oops__title {
  font-family: var(--font-disp); font-size: var(--d-2xl); line-height: 0.96;
  font-weight: 800; letter-spacing: -0.035em; color: var(--ink); margin: 0 0 var(--space-4);
}
.oops__sub { font-size: var(--text-md); color: var(--ink-soft); margin: 0 0 var(--space-6); }

/* ============================================================
   Reduced motion: settle everything
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
