/* ==========================================================================
   Aloo — styles.css
   Order: tokens → base → layout → signature marks → components → pages
          → utilities → motion → print
   The reasoning behind every token is in design-system.md.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Fonts (self-hosted, variable WOFF2; licenses in assets/fonts/OFL-*.txt)
   Each family is split into Latin and Latin Extended. Browsers only download
   the Latin Extended file if a page uses one of its characters.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/source-serif-4-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/source-serif-4-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Metric-matched fallbacks: while the web fonts load, text renders in a
   system font resized to the same widths and line positions, so very
   little moves when the real font arrives. Values were measured against this site's
   own copy (see design-system.md). Desktop/iOS use Arial and Georgia (Linux:
   Liberation Sans); Android uses Roboto and Noto Serif. If a font is missing,
   the browser moves on to the next family in the stack. */
@font-face {
  font-family: "Schibsted Grotesk Fallback";
  font-style: normal;
  font-weight: 400 549;
  src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("LiberationSans");
  size-adjust: 105.37%;
  ascent-override: 92.68%;
  descent-override: 24.47%;
  line-gap-override: 0.00%;
}

@font-face {
  font-family: "Schibsted Grotesk Fallback Roboto";
  font-style: normal;
  font-weight: 400 549;
  src: local("Roboto"), local("Roboto Regular"), local("Roboto-Regular");
  size-adjust: 105.36%;
  ascent-override: 92.68%;
  descent-override: 24.47%;
  line-gap-override: 0.00%;
}

@font-face {
  font-family: "Schibsted Grotesk Fallback";
  font-style: normal;
  font-weight: 550 649;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("LiberationSans-Bold");
  size-adjust: 100.82%;
  ascent-override: 96.87%;
  descent-override: 25.57%;
  line-gap-override: 0.00%;
}

@font-face {
  font-family: "Schibsted Grotesk Fallback Roboto";
  font-style: normal;
  font-weight: 550 649;
  src: local("Roboto Bold"), local("Roboto-Bold");
  size-adjust: 107.19%;
  ascent-override: 91.10%;
  descent-override: 24.05%;
  line-gap-override: 0.00%;
}

@font-face {
  font-family: "Schibsted Grotesk Fallback";
  font-style: normal;
  font-weight: 650 900;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("LiberationSans-Bold");
  size-adjust: 102.86%;
  ascent-override: 94.94%;
  descent-override: 25.06%;
  line-gap-override: 0.00%;
}

@font-face {
  font-family: "Schibsted Grotesk Fallback Roboto";
  font-style: normal;
  font-weight: 650 900;
  src: local("Roboto Bold"), local("Roboto-Bold");
  size-adjust: 109.47%;
  ascent-override: 89.21%;
  descent-override: 23.55%;
  line-gap-override: 0.00%;
}

@font-face {
  font-family: "Source Serif 4 Fallback";
  font-style: normal;
  font-weight: 400 900;
  src: local("Georgia");
  size-adjust: 108.18%;
  ascent-override: 95.76%;
  descent-override: 30.97%;
  line-gap-override: 0.00%;
}

@font-face {
  font-family: "Source Serif 4 Fallback Noto";
  font-style: normal;
  font-weight: 400 900;
  src: local("Noto Serif"), local("Noto Serif Regular"), local("NotoSerif-Regular");
  size-adjust: 99.86%;
  ascent-override: 103.74%;
  descent-override: 33.55%;
  line-gap-override: 0.00%;
}

@font-face {
  font-family: "Source Serif 4 Fallback";
  font-style: italic;
  font-weight: 400 900;
  src: local("Georgia Italic"), local("Georgia-Italic");
  size-adjust: 97.29%;
  ascent-override: 106.49%;
  descent-override: 34.43%;
  line-gap-override: 0.00%;
}

@font-face {
  font-family: "Source Serif 4 Fallback Noto";
  font-style: italic;
  font-weight: 400 900;
  src: local("Noto Serif Italic"), local("NotoSerif-Italic");
  size-adjust: 94.45%;
  ascent-override: 109.69%;
  descent-override: 35.47%;
  line-gap-override: 0.00%;
}

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Palette (6 named colors) */
  --spruce: #173A33;
  --paper: #FCFCFA;
  --mist: #E8EFEA;
  --pencil: #2A4FBF;
  --marigold: #F3BF4C;
  --signal: #B42318;

  /* Derived tints */
  --spruce-muted: #4A5E58;
  --spruce-deep: #0F2924;
  --rule: #C5D1CB;
  --field: #6B7D77;
  --mist-on-dark: #BFD3CA;
  --marigold-light: #F7D27F;
  --white: #FFFFFF;

  /* Semantic roles (re-mapped inside .band) */
  --bg: var(--paper);
  --text: var(--spruce);
  --text-muted: var(--spruce-muted);
  --mark: var(--pencil);
  --link: var(--pencil);
  --focus: var(--pencil);
  --line: var(--rule);
  --btn-bg: var(--spruce);
  --btn-fg: var(--paper);
  --btn-bg-hover: var(--spruce-deep);

  /* Typography */
  --font-sans: "Schibsted Grotesk", "Schibsted Grotesk Fallback", "Schibsted Grotesk Fallback Roboto", Arial, sans-serif;
  --font-serif: "Source Serif 4", "Source Serif 4 Fallback", "Source Serif 4 Fallback Noto", Georgia, "Times New Roman", serif;
  --step--1: clamp(0.875rem, 0.8542rem + 0.0926vw, 0.9375rem);
  --step-0: clamp(1.0625rem, 1.0208rem + 0.1852vw, 1.1875rem);
  --step-1: clamp(1.25rem, 1.1875rem + 0.2778vw, 1.4375rem);
  --step-2: clamp(1.5rem, 1.375rem + 0.5556vw, 1.875rem);
  --step-3: clamp(1.75rem, 1.5rem + 1.1111vw, 2.5rem);
  --step-4: clamp(2.125rem, 1.7083rem + 1.8519vw, 3.375rem);
  --step-5: clamp(2.5rem, 1.9167rem + 2.5926vw, 4.25rem);
  --measure: 65ch;

  /* Spacing */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --section: clamp(3.5rem, 2.3333rem + 5.1852vw, 7rem);
  --gutter: clamp(1rem, 0.5rem + 2.2222vw, 2.5rem);
  --container: 76rem;
  --narrow: 44rem;
  --header-h: 4.5rem;

  /* Radius: press = round, read = soft, data = square */
  --radius-m: 8px;
  --radius-l: 14px;
  --radius-pill: 999px;

  --shadow-sheet: 0 1px 2px rgb(23 58 51 / 0.06), 0 20px 44px -20px rgb(23 58 51 / 0.3);

  /* Signature: blue-pencil marks.
     Masks (black strokes) are tinted with background-color: var(--mark),
     so they turn Marigold automatically inside dark bands. */
  --m-tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.2 13.1c2.1 1.5 3.7 3.3 5.1 5.7 2.7-6.2 6.3-10.7 10.6-14.2' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --m-circle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M45 8.5C34 3.8 18 6.4 10.4 17.6 3 28.6 5.8 45.8 18 53.8c12.4 8.1 31.2 5.6 39-6.6 7.2-11.2 3.6-27.4-6.8-35.2C44 7 35.6 5.8 28.4 7' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  --m-strike: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M2 11.6c44-2.4 96-3.2 196-1.6' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  --m-wave-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12'%3E%3Cpath d='M0 6q5-4.5 10 0t10 0 10 0 10 0' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
  --m-wave-y: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 40'%3E%3Cpath d='M6 0q-4.5 5 0 10t0 10 0 10 0 10' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
  --m-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 26'%3E%3Cpath d='M3 3.5c1.4 9.6 8.4 15.6 22.4 15.8M19.6 13.4l6.2 5.9-6.8 4.6' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  /* Underlines are background images (they must wrap across lines),
     so they carry their color. Two weights × two colors. */
  --u-lg-pencil: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16' preserveAspectRatio='none'%3E%3Cpath d='M3 10.5C41 6.4 82 4.6 128 5.2c52 .8 101 2.9 169-1.6' fill='none' stroke='%232A4FBF' stroke-width='4' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M24 13.4c66-3.6 150-4.4 262-2.4' fill='none' stroke='%232A4FBF' stroke-width='2.2' stroke-linecap='round' opacity='.6' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  --u-lg-marigold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16' preserveAspectRatio='none'%3E%3Cpath d='M3 10.5C41 6.4 82 4.6 128 5.2c52 .8 101 2.9 169-1.6' fill='none' stroke='%23F3BF4C' stroke-width='4' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M24 13.4c66-3.6 150-4.4 262-2.4' fill='none' stroke='%23F3BF4C' stroke-width='2.2' stroke-linecap='round' opacity='.6' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  --u-sm-pencil: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16' preserveAspectRatio='none'%3E%3Cpath d='M3 10.5C41 6.4 82 4.6 128 5.2c52 .8 101 2.9 169-1.6' fill='none' stroke='%232A4FBF' stroke-width='2.4' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  --u-sm-marigold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16' preserveAspectRatio='none'%3E%3Cpath d='M3 10.5C41 6.4 82 4.6 128 5.2c52 .8 101 2.9 169-1.6' fill='none' stroke='%23F3BF4C' stroke-width='2.4' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
  --u-lg: var(--u-lg-pencil);
  --u-sm: var(--u-sm-pencil);
  --highlight: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M4 8.5C52 5 128 3.6 197 5.5l-2.6 27.8C130 36.4 64 37 2.6 33.4z' fill='%23F3BF4C'/%3E%3C/svg%3E");
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23173A33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

@media (min-width: 64em) {
  :root { --header-h: 5rem; }
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Keeps anchored and focused content clear of the sticky header (WCAG 2.4.11). */
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--spruce);
  font-family: var(--font-serif);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main { flex: 1 0 auto; }

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  text-wrap: balance;
}

h1 { font-size: var(--step-4); line-height: 1.05; letter-spacing: -0.025em; font-weight: 750; }
h2 { font-size: var(--step-3); line-height: 1.12; letter-spacing: -0.02em; }
h3 { font-size: var(--step-2); line-height: 1.2; letter-spacing: -0.01em; }
h4 { font-size: var(--step-1); line-height: 1.3; font-weight: 650; }

p { margin: 0; text-wrap: pretty; }

ul, ol { margin: 0; }

strong { font-weight: 600; }

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { text-decoration-thickness: 2px; }

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

::selection { background: var(--marigold); color: var(--spruce); }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.container--narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }

.section {
  padding-block: var(--section);
  background: var(--bg);
  color: var(--text);
}

.section--mist { --bg: var(--mist); }

.section--tight-top { padding-top: 0; }

/* Dark Spruce band: every mark, link, focus ring and button re-maps here. */
.band {
  --bg: var(--spruce);
  --text: var(--paper);
  --text-muted: var(--mist-on-dark);
  --mark: var(--marigold);
  --link: var(--marigold);
  --focus: var(--marigold);
  --line: rgb(252 252 250 / 0.24);
  --btn-bg: var(--marigold);
  --btn-fg: var(--spruce);
  --btn-bg-hover: var(--marigold-light);
  --u-lg: var(--u-lg-marigold);
  --u-sm: var(--u-sm-marigold);
}

.section-head { max-width: 46rem; margin-bottom: var(--space-xl); }
.section-head > * + * { margin-top: var(--space-s); }
.section-head p:not(.eyebrow) { font-size: var(--step-1); line-height: 1.5; }

.split { display: grid; gap: var(--space-l) var(--space-2xl); }

@media (min-width: 64em) {
  .split { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .split__head {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    align-self: start;
  }
}

.split__head > * + * { margin-top: var(--space-s); }

.prose { max-width: var(--measure); }
.prose > * + * { margin-top: var(--space-s); }
.prose > * + h3 { margin-top: var(--space-l); }

.stack > * + * { margin-top: var(--space-s); }

.lead {
  font-size: var(--step-1);
  line-height: 1.5;
  max-width: 34em;
}

.muted { color: var(--text-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 600;
  line-height: 1.3;
  color: var(--mark);
}

.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 0.75rem;
  flex: none;
  background-color: currentColor;
  -webkit-mask: var(--m-wave-x) left center / 1.25rem 0.375rem repeat-x;
  mask: var(--m-wave-x) left center / 1.25rem 0.375rem repeat-x;
}

/* --------------------------------------------------------------------------
   4. Signature: blue-pencil marks
   -------------------------------------------------------------------------- */

/* Underline: the one key phrase per page. */
.u {
  background: var(--u-lg) 0 96% / 100% 0.3em no-repeat;
  padding-bottom: 0.08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Highlighter: the single most important reassurance on a page. */
.hl {
  background: var(--highlight) 0 60% / 100% 78% no-repeat;
  padding-inline: 0.15em;
  margin-inline: -0.15em;
  color: var(--spruce);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* Circle: sequence numbers. */
.num {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 3rem;
  height: 3rem;
  font-family: var(--font-sans);
  font-size: var(--step-1);
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  background: var(--bg);
  border-radius: 50%;
  font-variant-numeric: lining-nums tabular-nums;
}

.num::before {
  content: "";
  position: absolute;
  inset: -3px;
  background-color: var(--mark);
  -webkit-mask: var(--m-circle) center / 100% 100% no-repeat;
  mask: var(--m-circle) center / 100% 100% no-repeat;
}

.num--lg { width: 3.75rem; height: 3.75rem; font-size: var(--step-2); }

/* Tick: included / committed. */
.ticks {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-xs);
}

.ticks li { position: relative; padding-left: 2rem; }

.ticks li::before,
.tick::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 1.35em;
  height: 1.35em;
  background-color: var(--mark);
  -webkit-mask: var(--m-tick) center / contain no-repeat;
  mask: var(--m-tick) center / contain no-repeat;
}

.ticks--inline {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-l);
  font-family: var(--font-sans);
  font-weight: 600;
}

/* Strike: only for things we refuse to do.
   One thin stroke through the middle of the lowercase letters, where a
   strike disturbs letter shapes least: the tops and bottoms of every letter,
   which carry most of their identity, stay clear. */
.strike {
  position: relative;
  display: inline-block;
}

.strike::after {
  content: "";
  position: absolute;
  left: -0.12em;
  right: -0.12em;
  /* Schibsted's baseline sits about 0.96em down a 1.2em line and its
     x-height is 0.53em, so 0.7em is the middle of the lowercase letters. */
  top: 0.7em;
  height: 0.4em;
  transform: translateY(-50%);
  background-color: var(--mark);
  -webkit-mask: var(--m-strike) 0 0 / 100% 100% no-repeat;
  mask: var(--m-strike) 0 0 / 100% 100% no-repeat;
}

/* Margin note: a caveat worth knowing. */
.note {
  position: relative;
  max-width: 32em;
  padding-left: 2.6rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--step-0);
  line-height: 1.45;
  color: var(--mark);
}

.note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 1.9rem;
  height: 1.5rem;
  background-color: var(--mark);
  -webkit-mask: var(--m-arrow) center / contain no-repeat;
  mask: var(--m-arrow) center / contain no-repeat;
}

/* The sheet: only for things that are really documents. */
.sheet {
  background: var(--white);
  color: var(--spruce);
  border: 1px solid rgb(23 58 51 / 0.08);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-sheet);
  padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem);
}

/* --------------------------------------------------------------------------
   5. Components
   -------------------------------------------------------------------------- */

/* Skip link */
.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -10rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-m);
  background: var(--spruce);
  color: var(--paper);
  font-family: var(--font-sans);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus { top: 0.75rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--btn-bg);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  background: var(--btn-bg-hover);
  border-color: var(--btn-bg-hover);
  color: var(--btn-fg);
}

.btn--outline {
  background: transparent;
  border-color: var(--text);
  color: var(--text);
}

.btn--outline:hover {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

.btn--small {
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  font-size: var(--step--1);
}

.btn[disabled] { opacity: 0.7; cursor: progress; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--mark);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

.link-arrow:hover { color: var(--text); text-decoration-thickness: 3px; }

.link-arrow .icon { width: 1.1em; height: 1.1em; transition: transform 0.15s ease; }

.link-arrow:hover .icon { transform: translateX(3px); }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-s) var(--space-l);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(252 252 250 / 0.94);
  border-bottom: 1px solid var(--rule);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  backdrop-filter: saturate(1.2) blur(8px);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs);
  min-height: var(--header-h);
  padding-block: 0.5rem;
}

.logo {
  display: inline-flex;
  align-items: flex-end;
  gap: 1px;
  margin-right: auto;
  color: var(--spruce);
  font-family: var(--font-sans);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  text-decoration: none;
}

.logo:hover { color: var(--spruce); }

.logo__tick {
  width: 0.62em;
  height: 0.62em;
  margin-bottom: 0.2em;
  fill: none;
  stroke: var(--pencil);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-cta { white-space: nowrap; }
.header-cta--desktop { display: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 0.7rem;
  border: 2px solid var(--spruce);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--spruce);
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 600;
  cursor: pointer;
}

.nav-toggle .icon { width: 1.3rem; height: 1.3rem; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 29.99em) {
  .nav-toggle__text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

.nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--font-sans);
}

.nav-menu a {
  display: inline-block;
  padding-block: 0.5rem;
  color: var(--spruce);
  text-decoration: none;
  font-weight: 600;
}

.nav-menu a:hover { text-decoration: underline; text-decoration-color: var(--pencil); text-decoration-thickness: 2px; text-underline-offset: 0.35em; }

.nav-menu a[aria-current="page"] {
  background: var(--u-sm) 0 92% / 100% 0.45em no-repeat;
}

.nav-menu a[aria-current="page"]:hover { text-decoration: none; }

/* No JavaScript: links show as a wrapped row under the logo. */
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .site-header { position: relative; } /* the wrapped link row is too tall to stick */
html:not(.js) .site-nav { width: 100%; }
html:not(.js) .nav-menu { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }

/* With JavaScript: a drop-down panel below 1024px. */
.js .nav-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: var(--space-xs) var(--gutter) var(--space-l);
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 24px 32px -24px rgb(23 58 51 / 0.35);
}

.js .nav-menu.is-open { display: block; }

.js .nav-menu li { border-bottom: 1px solid var(--rule); }

.js .nav-menu a {
  padding-block: 0.75rem;
  font-size: var(--step-2);
  letter-spacing: -0.01em;
}

@media (min-width: 64em) {
  .header-inner { flex-wrap: nowrap; gap: var(--space-l); }
  .header-cta--mobile { display: none; }
  .header-cta--desktop { display: inline-flex; }
  .nav-toggle,
  html:not(.js) .nav-toggle { display: none; }

  .js .nav-menu,
  html:not(.js) .nav-menu,
  .nav-menu {
    position: static;
    display: flex;
    gap: var(--space-l);
    max-height: none;
    overflow: visible;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }

  html:not(.js) .site-nav { width: auto; }
  .js .nav-menu li { border: 0; }
  .js .nav-menu a,
  .nav-menu a { padding-block: 0.5rem; font-size: var(--step-0); }
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: var(--mist);
  color: var(--spruce);
  padding-block: var(--space-2xl) var(--space-l);
  font-family: var(--font-sans);
}

.footer-grid { display: grid; gap: var(--space-xl); }

@media (min-width: 48em) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-about { grid-column: 1 / -1; }
}

@media (min-width: 64em) {
  .footer-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.3fr); }
  .footer-about { grid-column: auto; }
}

.footer-about { max-width: 22rem; }
.footer-about .logo { font-size: 1.6rem; margin: 0 0 var(--space-s); }
.footer-about p:not(.logo) { font-family: var(--font-serif); }
.footer-about p:last-child { margin-top: var(--space-xs); color: var(--spruce-muted); font-size: var(--step--1); }

.footer-heading {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0;
  color: var(--spruce-muted);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin-top: var(--space-xs);
  display: grid;
  gap: 0.15rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-block: 0.3rem;
  color: var(--spruce);
  text-decoration: none;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.footer-links a:hover { text-decoration: underline; text-decoration-color: var(--pencil); }

.footer-links .icon { color: var(--pencil); width: 1.1em; height: 1.1em; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-s) var(--space-l);
  margin-top: var(--space-2xl);
  padding-top: var(--space-m);
  border-top: 1px solid var(--rule);
  font-size: var(--step--1);
  color: var(--spruce-muted);
}

.footer-bottom ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.footer-bottom a { color: var(--spruce); font-weight: 600; }

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) clamp(2rem, 1rem + 3vw, 3.5rem); }
.page-hero h1 { margin-top: var(--space-s); max-width: 17em; }
.page-hero .lead { margin-top: var(--space-m); }

.page-hero + .section:not(.section--mist):not(.band) { padding-top: var(--space-l); }

/* On-this-page links */
.onpage {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs) var(--space-m);
  margin-top: var(--space-l);
  padding: 0;
  list-style: none;
  font-family: var(--font-sans);
  font-size: var(--step--1);
}

.onpage a { color: var(--text); font-weight: 600; text-decoration-color: var(--mark); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }

/* Index rows (home: service categories) */
.index { list-style: none; padding: 0; border-bottom: 1px solid var(--line); }

.index__row {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  grid-template-areas: "num body" ". links";
  gap: var(--space-s) var(--space-m);
  padding-block: var(--space-l);
  border-top: 1px solid var(--line);
}

.index__row .num { grid-area: num; }
.index__body { grid-area: body; }
.index__body p { margin-top: var(--space-2xs); max-width: 32em; }
.index__body h3 a { color: inherit; text-decoration: none; }
.index__body h3 a:hover { text-decoration: underline; text-decoration-color: var(--mark); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }

.index__links {
  grid-area: links;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.15rem;
  font-family: var(--font-sans);
}

.index__links a {
  display: inline-block;
  padding-block: 0.3rem;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

.index__links a:hover { text-decoration-color: var(--mark); text-decoration-thickness: 2px; }

@media (min-width: 64em) {
  .index__row {
    grid-template-columns: 3rem minmax(0, 1.15fr) minmax(0, 1fr);
    grid-template-areas: "num body links";
    gap: var(--space-l);
    padding-block: var(--space-xl);
  }
  .index__links { padding-top: 0.35rem; }
}

.after-list { margin-top: var(--space-l); }

/* Steps on a pencil line: each step draws the connector to the next one. */
.steps {
  --steps-gap: var(--space-xl);
  position: relative;
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--steps-gap);
}

.step {
  position: relative;
  display: grid;
  align-content: start;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: var(--space-2xs) var(--space-m);
}

.step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 3.5rem;
  bottom: calc(-1 * var(--steps-gap) + 0.5rem);
  left: 1.5rem;
  width: 12px;
  transform: translateX(-50%);
  background-color: var(--mark);
  -webkit-mask: var(--m-wave-y) center top / 12px 40px repeat-y;
  mask: var(--m-wave-y) center top / 12px 40px repeat-y;
  opacity: 0.55;
}

.step .num { z-index: 1; }
.step__body > * + * { margin-top: var(--space-2xs); }
.step__body h3 { font-size: var(--step-1); padding-top: 0.6rem; }

.step__part {
  font-family: var(--font-sans);
  font-size: var(--step--1);
  color: var(--text-muted);
}

.step__part strong { color: var(--mark); font-weight: 700; }

@media (min-width: 64em) {
  .steps--row { --steps-gap: var(--space-l); grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps--row .step:not(:last-child)::before {
    top: 1.5rem;
    bottom: auto;
    left: 3.75rem;
    right: calc(-1 * var(--steps-gap) + 0.75rem);
    width: auto;
    height: 12px;
    transform: translateY(-50%);
    -webkit-mask: var(--m-wave-x) left center / 40px 12px repeat-x;
    mask: var(--m-wave-x) left center / 40px 12px repeat-x;
  }
  .steps--row .step { grid-template-columns: 1fr; gap: var(--space-m); }
  .steps--row .step__body h3 { padding-top: 0; }
}

/* Commitments grid (bands) */
.commit-grid {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-l) var(--space-2xl);
}

@media (min-width: 48em) {
  .commit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.commit { position: relative; padding-left: 2.6rem; }
.commit::before { content: ""; position: absolute; left: 0; top: 0.1em; width: 1.75rem; height: 1.75rem; background-color: var(--mark); -webkit-mask: var(--m-tick) center / contain no-repeat; mask: var(--m-tick) center / contain no-repeat; }
.commit h3 { font-size: var(--step-1); line-height: 1.3; }
.commit p { margin-top: var(--space-2xs); color: var(--text-muted); }

.band-footnote {
  margin-top: var(--space-xl);
  padding-top: var(--space-m);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-s) var(--space-l);
}

/* Ledger (packages preview, add-ons) */
.ledger {
  list-style: none;
  padding: 0;
  display: grid;
  border-top: 3px solid var(--text);
}

.ledger__col { padding-block: var(--space-l); border-bottom: 1px solid var(--line); }
.ledger__col:last-child { border-bottom: 0; }
.ledger__col > * + * { margin-top: var(--space-xs); }

.ledger__format {
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--text-muted);
}

.ledger__price {
  font-family: var(--font-sans);
  font-size: var(--step-2);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.ledger__price small { font-size: var(--step--1); font-weight: 600; color: var(--text-muted); letter-spacing: 0; }
.ledger .ticks { margin-top: var(--space-m); font-size: var(--step--1); font-family: var(--font-sans); }
.ledger .ticks li { padding-left: 1.75rem; }

@media (min-width: 48em) {
  .ledger { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ledger__col { padding: var(--space-l) var(--space-l) var(--space-m); border-bottom: 0; border-left: 1px solid var(--line); }
  .ledger__col:first-child { border-left: 0; padding-left: 0; }
  .ledger__col:last-child { padding-right: 0; }

  /* Four packages: two by two on tablets, one row on desktops. */
  .ledger--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger--4 .ledger__col:nth-child(odd) { border-left: 0; padding-left: 0; }
  .ledger--4 .ledger__col:nth-child(even) { padding-right: 0; }
  .ledger--4 .ledger__col:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (min-width: 64em) {
  .ledger--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ledger--4 .ledger__col:nth-child(n) { padding-right: var(--space-l); border-bottom: 0; }
  .ledger--4 .ledger__col:nth-child(n+2) { padding-left: var(--space-l); border-left: 1px solid var(--line); }
  .ledger--4 .ledger__col:nth-child(n):last-child { padding-right: 0; }
  .ledger--4 .ledger__price .per { display: block; }
}

.ledger--thin { border-top-width: 1px; }

/* Footnote marker linking a price to the founding client note. */
.fn-ref {
  margin-left: 0.05em;
  padding-inline: 0.1em;
  color: var(--mark);
  font-weight: 700;
  text-decoration: none;
}
.fn-ref:hover { text-decoration: underline; }

/* Founding client pricing: a pencilled note above the comparison. */
.founding {
  margin-top: var(--space-l);
  padding: var(--space-m);
  border: 2px dashed var(--mark);
  border-radius: var(--radius-m);
  font-family: var(--font-sans);
  font-size: var(--step--1);
}
.founding > * + * { margin-top: var(--space-xs); }
.founding__title { font-size: var(--step-1); color: var(--mark); }
.founding p:not(.founding__fine) { font-family: var(--font-serif); font-size: var(--step-0); max-width: 40em; }
.founding__prices {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-s) var(--space-m);
  margin-top: var(--space-m);
}
.founding__prices span { display: block; font-weight: 600; color: var(--text-muted); }
.founding__prices strong { font-size: var(--step-1); font-weight: 700; }
.founding__prices small { font-size: var(--step--1); font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.founding__fine { margin-top: var(--space-m); color: var(--text-muted); }
#founding:target, #founding-note:target { background: var(--mist); }

@media (min-width: 64em) {
  .founding__prices { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.start-here {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m) var(--space-xl);
  margin-bottom: var(--space-xl);
  padding: var(--space-m);
  border: 2px dashed var(--mark);
  border-radius: var(--radius-m);
  font-family: var(--font-sans);
}

.start-here__main { flex: 1 1 20rem; }
.start-here__label { display: block; margin-bottom: var(--space-3xs); font-size: var(--step--1); font-weight: 700; color: var(--mark); }
.start-here__title { display: block; font-size: var(--step-1); font-weight: 700; line-height: 1.25; }
.start-here__desc { display: block; margin-top: 0.3rem; font-family: var(--font-serif); font-size: var(--step-0); color: var(--text-muted); }
.start-here__aside {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-xs) var(--space-l);
}
.start-here__price { font-size: var(--step-2); font-weight: 700; line-height: 1; }

@media (max-width: 29.99em) {
  .start-here__aside { flex: 1 1 100%; justify-content: space-between; padding-top: var(--space-s); border-top: 1px solid var(--line); }
}

@media (min-width: 48em) {
  .start-here { padding: var(--space-m) var(--space-l); }
}

/* Founder note */
.founder { display: grid; gap: var(--space-l); align-items: start; }

@media (min-width: 48em) {
  .founder { grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: var(--space-xl); }
}

@media (min-width: 64em) {
  .founder { grid-template-columns: minmax(0, 17rem) minmax(0, 46rem); gap: var(--space-2xl); }
}

.photo-ph {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  width: min(100%, 11rem);
  padding: var(--space-m);
  border: 2px dashed var(--pencil);
  border-radius: var(--radius-l);
  background: var(--paper);
  color: var(--pencil);
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 700;
  text-align: center;
}

.section--mist .photo-ph { background: var(--paper); }
.section:not(.section--mist) .photo-ph { background: var(--mist); }

.founder-photo { border-radius: var(--radius-l); aspect-ratio: 4 / 5; object-fit: cover; width: min(100%, 11rem); }

@media (min-width: 48em) {
  .photo-ph,
  .founder-photo { width: 100%; max-width: 17rem; }
}

.letter > * + * { margin-top: var(--space-s); }
.letter p:not(.eyebrow):not(.signature) { font-size: var(--step-1); line-height: 1.55; }
.letter .signature { font-family: var(--font-sans); font-size: var(--step-0); font-weight: 600; }
.letter .signature span { display: block; font-weight: 400; color: var(--spruce-muted); }

.ph-block {
  margin-top: var(--space-l);
  padding: var(--space-m);
  border: 2px dashed var(--pencil);
  border-radius: var(--radius-m);
  color: var(--pencil);
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 600;
}

/* Accordion */
.accordion { border-bottom: 1px solid var(--line); }
.accordion__item { border-top: 1px solid var(--line); }
.accordion__heading { margin: 0; font-size: var(--step-1); }

.accordion__trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-m);
  padding: var(--space-m) 0;
  border: 0;
  background: none;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.005em;
  text-align: left;
  cursor: pointer;
}

.accordion__trigger:hover { color: var(--text); text-decoration: underline; text-decoration-color: var(--mark); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }

.accordion__icon {
  flex: none;
  width: 2rem;
  height: 2rem;
  padding: 0.35rem;
  border: 2px solid var(--rule);
  border-radius: 50%;
  color: var(--mark);
}

.accordion__icon .icon { width: 100%; height: 100%; stroke-width: 2.4; }
.accordion__icon .v { transform-box: fill-box; transform-origin: center; transition: transform 0.2s ease, opacity 0.2s ease; }
.accordion__trigger[aria-expanded="true"] .accordion__icon .v { transform: scaleY(0); opacity: 0; }

.accordion__panel { padding-bottom: var(--space-m); max-width: var(--measure); }
.accordion__panel > * + * { margin-top: var(--space-xs); }
.accordion__panel[hidden] { display: none; }

/* Comparison table */
.compare-wrap { margin-top: var(--space-l); }

.table-scroll {
  position: relative; /* contains the visually hidden cell labels so they can't widen the page */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-scroll:focus-visible { outline-offset: 6px; }

.compare {
  width: 100%;
  min-width: 40rem;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: var(--step--1);
  line-height: 1.4;
}

.compare caption { text-align: left; }

.compare th,
.compare td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}

.compare thead th,
.compare thead td { border-bottom: 3px solid var(--spruce); vertical-align: bottom; padding-top: 0; }

.compare thead th { font-size: var(--step-1); font-weight: 700; width: 18%; }
.compare thead th span { display: block; margin-top: 0.15rem; font-size: var(--step--1); font-weight: 600; color: var(--spruce-muted); }

.compare tbody th { font-weight: 500; padding-left: 0; }
.compare thead td { padding-left: 0; }

.compare .row-price td { font-size: var(--step-1); font-weight: 700; }
.compare .row-price td small { font-size: var(--step--1); font-weight: 600; color: var(--spruce-muted); }
.compare .row-price .per { display: block; }

.compare .group th {
  padding: 0.55rem 0.75rem;
  background: var(--mist);
  border-bottom: 0;
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--spruce);
}

.compare td[data-included] { text-align: left; }

.cell-yes,
.cell-no,
.cell-addon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cell-yes .icon { color: var(--pencil); width: 1.5rem; height: 1.5rem; stroke-width: 2.6; }
.cell-no { color: var(--spruce-muted); }
.cell-addon { color: var(--spruce-muted); font-weight: 600; }
.cell-detail { display: block; margin-top: 0.15rem; color: var(--spruce-muted); }

.compare-note { margin-top: var(--space-m); font-size: var(--step--1); font-family: var(--font-sans); color: var(--text-muted); }

/* Package cards: built from the table by main.js below 768px. */
.plan-cards { display: grid; gap: var(--space-l); }
.plan-cards:empty { display: none; }

.plan-card {
  padding: var(--space-m);
  background: var(--white);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--spruce);
  border-radius: var(--radius-m);
  font-family: var(--font-sans);
}

.plan-card h3 { font-size: var(--step-2); }
.plan-card__format { margin-top: 0.15rem; font-size: var(--step--1); font-weight: 600; color: var(--spruce-muted); }
.plan-card__price { margin-top: var(--space-s); font-size: var(--step-2); font-weight: 700; }
.plan-card__price small { font-size: var(--step--1); font-weight: 600; color: var(--spruce-muted); }
.plan-card__best { margin-top: var(--space-2xs); font-family: var(--font-serif); }
.plan-card__label { margin-top: var(--space-m); font-size: var(--step--1); font-weight: 700; color: var(--spruce-muted); }
.plan-card .ticks { margin-top: var(--space-xs); font-size: var(--step-0); }

@media (min-width: 48em) {
  .plan-cards { display: none; }
}

@media (max-width: 47.99em) {
  .compare-wrap.has-cards .table-scroll { display: none; }
}

/* Facts (services) */
.facts { margin: var(--space-l) 0 0; border-top: 1px solid var(--line); }

.facts > div {
  display: grid;
  gap: 0.35rem var(--space-l);
  padding-block: var(--space-s);
  border-bottom: 1px solid var(--line);
}

.facts dt {
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--text-muted);
  padding-top: 0.2em;
}

.facts dd { margin: 0; max-width: var(--measure); }
.facts .ticks { gap: var(--space-2xs); }

@media (min-width: 48em) {
  .facts > div { grid-template-columns: 10.5rem minmax(0, 1fr); }
}

/* Services layout */
.services-layout { display: grid; gap: var(--space-xl); }

@media (min-width: 64em) {
  .services-layout { grid-template-columns: 15rem minmax(0, 1fr); gap: var(--space-2xl); }
}

.toc {
  padding: var(--space-m);
  background: var(--mist);
  border-radius: var(--radius-m);
  font-family: var(--font-sans);
}

.toc__title { font-size: var(--step--1); font-weight: 700; color: var(--spruce-muted); }

.toc > ol {
  list-style: none;
  padding: 0;
  margin-top: var(--space-2xs);
  display: grid;
  gap: 0.1rem;
}

.toc a {
  display: inline-flex;
  gap: 0.6rem;
  padding-block: 0.4rem;
  color: var(--spruce);
  font-weight: 600;
  text-decoration: none;
}

.toc a:hover { text-decoration: underline; text-decoration-color: var(--pencil); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }

.toc a[aria-current] span:last-child { background: var(--u-sm) 0 100% / 100% 0.45em no-repeat; }

.toc__n { color: var(--pencil); font-variant-numeric: tabular-nums; }

.toc ol ol { display: none; }

@media (min-width: 30em) and (max-width: 63.99em) {
  .toc > ol { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-m); }
}

@media (min-width: 64em) {
  .toc {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    align-self: start;
    max-height: calc(100vh - var(--header-h) - 4rem);
    overflow-y: auto;
    padding: 0;
    background: none;
    border-radius: 0;
  }
  .toc ol ol {
    display: grid;
    list-style: none;
    padding: 0 0 var(--space-2xs) 1.55rem;
    gap: 0;
    font-size: var(--step--1);
  }
  .toc ol ol a { font-weight: 500; padding-block: 0.25rem; }
}

.category + .category { margin-top: var(--space-2xl); padding-top: var(--space-2xl); border-top: 3px solid var(--spruce); }

.category__head { display: flex; gap: var(--space-m); align-items: flex-start; }
.category__head > div > * + * { margin-top: var(--space-xs); }
.category__head p { font-size: var(--step-1); line-height: 1.5; max-width: 34em; }

.service { padding-block: var(--space-xl) 0; }
.service + .service { margin-top: var(--space-xl); border-top: 1px solid var(--line); }

.service__num {
  display: block;
  margin-bottom: var(--space-2xs);
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--mark);
  font-variant-numeric: tabular-nums;
}

.service__summary { margin-top: var(--space-xs); font-size: var(--step-1); line-height: 1.5; max-width: 34em; }
.service .note { margin-top: var(--space-m); }

/* Principles (how we work) */
.principles { list-style: none; padding: 0; border-top: 3px solid var(--text); }

.principle {
  display: grid;
  gap: var(--space-s) var(--space-2xl);
  padding-block: var(--space-xl);
  border-bottom: 1px solid var(--line);
}

.principle h3 { display: flex; align-items: center; gap: var(--space-m); font-size: var(--step-3); letter-spacing: -0.02em; }
.principle__body > * + * { margin-top: var(--space-xs); }

@media (min-width: 64em) {
  .principle { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
}

/* What we don't do */
.donts { list-style: none; padding: 0; display: grid; gap: var(--space-xl) var(--space-2xl); }

@media (min-width: 48em) {
  .donts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.dont { padding-top: var(--space-m); border-top: 1px solid var(--line); }
.dont h3 { font-size: var(--step-2); }
.dont p { margin-top: var(--space-xs); }
.dont p + p { color: var(--text-muted); }

.legal-note {
  display: grid;
  gap: var(--space-s);
  max-width: 50rem;
}

/* About: the story behind the name */
.name-close {
  font-family: var(--font-sans);
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.45;
}

/* Values */
.values {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-xl) var(--space-2xl);
  counter-reset: value;
}

@media (min-width: 48em) {
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.value { padding-top: var(--space-m); border-top: 1px solid var(--line); }
.value h3 { font-size: var(--step-2); }
.value p { margin-top: var(--space-xs); }

/* Forms */
.form { display: grid; gap: var(--space-l); }
.form-intro { font-family: var(--font-sans); font-size: var(--step--1); color: var(--text-muted); }

.field { display: grid; gap: var(--space-2xs); }

.field > label,
.fieldset legend {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

.optional { font-weight: 400; color: var(--text-muted); }

.hint { font-size: var(--step--1); line-height: 1.45; color: var(--text-muted); }

.input,
.select,
.textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--field);
  border-radius: var(--radius-m);
  background: var(--white);
  color: var(--spruce);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.4;
}

.select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.75rem;
  background: var(--white) var(--chevron) right 0.8rem center / 1.25rem no-repeat;
}

.textarea { min-height: 9rem; resize: vertical; }

.input:hover,
.select:hover,
.textarea:hover { border-color: var(--spruce); }

.input:focus-visible,
.select:focus-visible,
.textarea:focus-visible {
  outline: 3px solid var(--pencil);
  outline-offset: 1px;
  border-color: var(--pencil);
}

.input[aria-invalid="true"],
.select[aria-invalid="true"],
.textarea[aria-invalid="true"] { border: 2px solid var(--signal); }

.field-error {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
  font-family: var(--font-sans);
  font-size: var(--step--1);
  font-weight: 600;
  line-height: 1.4;
  color: var(--signal);
}

.field-error[hidden] { display: none; }
.field-error .icon { width: 1.15rem; height: 1.15rem; margin-top: 0.05rem; }

.fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.fieldset legend { padding: 0; margin-bottom: var(--space-2xs); }
.fieldset .hint { margin-bottom: var(--space-xs); }

.checks { display: grid; gap: var(--space-xs); }
.check { display: flex; gap: 0.75rem; align-items: flex-start; }

.check input {
  flex: none;
  width: 1.375rem;
  height: 1.375rem;
  margin: 0.1rem 0 0;
  accent-color: var(--spruce);
  cursor: pointer;
}

.check label { font-family: var(--font-sans); font-size: var(--step-0); line-height: 1.4; cursor: pointer; }
.check label span { display: block; font-size: var(--step--1); color: var(--text-muted); }

.notice {
  display: flex;
  gap: var(--space-s);
  padding: var(--space-m);
  background: var(--white);
  border: 1.5px solid var(--pencil);
  border-left-width: 6px;
  border-radius: var(--radius-m);
}

.notice .icon { color: var(--pencil); width: 1.6rem; height: 1.6rem; margin-top: 0.1rem; }
.notice > div > * + * { margin-top: var(--space-2xs); }
.notice strong { font-family: var(--font-sans); font-size: var(--step-1); font-weight: 700; line-height: 1.3; display: block; }

.error-summary {
  padding: var(--space-m);
  background: var(--white);
  border: 2px solid var(--signal);
  border-left-width: 6px;
  border-radius: var(--radius-m);
}

.error-summary[hidden] { display: none; }
.error-summary:focus-visible { outline: 3px solid var(--pencil); outline-offset: 3px; }
.error-summary h2 { font-size: var(--step-1); color: var(--signal); }
.error-summary ul { margin-top: var(--space-2xs); padding-left: 1.2rem; font-family: var(--font-sans); }
.error-summary a { color: var(--signal); font-weight: 600; }

.form-status {
  padding: var(--space-m);
  border-radius: var(--radius-m);
  border: 2px solid var(--pencil);
  border-left-width: 6px;
  background: var(--white);
}

.form-status[hidden] { display: none; }
.form-status:focus-visible { outline: 3px solid var(--pencil); outline-offset: 3px; }
.form-status h2 { font-size: var(--step-2); }
.form-status > * + * { margin-top: var(--space-xs); }
.form-status.is-error { border-color: var(--signal); }
.form-status.is-error h2 { color: var(--signal); }

.form-submit { display: grid; gap: var(--space-s); justify-items: start; }
.form-submit p { font-size: var(--step--1); color: var(--text-muted); }

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Contact layout */
.contact-layout { display: grid; gap: var(--space-2xl); }

@media (min-width: 64em) {
  .contact-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--space-3xl); }
  .contact-aside { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}

.aside-block > * + * { margin-top: var(--space-s); }
.aside-block + .aside-block { margin-top: var(--space-xl); padding-top: var(--space-xl); border-top: 1px solid var(--line); }
.aside-block h2 { font-size: var(--step-2); }

.contact-list { list-style: none; padding: 0; display: grid; gap: var(--space-2xs); font-family: var(--font-sans); }
.contact-list a { display: inline-flex; gap: 0.6rem; align-items: center; padding-block: 0.3rem; color: var(--spruce); font-weight: 600; overflow-wrap: anywhere; }
.contact-list .icon { color: var(--pencil); }

.next-steps { list-style: none; padding: 0; display: grid; gap: var(--space-m); }
.next-steps li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); gap: var(--space-s); align-items: start; }
.next-steps .num { width: 2.5rem; height: 2.5rem; font-size: var(--step-0); }
.next-steps p { padding-top: 0.35rem; }

/* Report sheet (packages) */
.offer { display: grid; gap: var(--space-2xl); align-items: center; }

@media (min-width: 64em) {
  .offer { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

.offer__text > * + * { margin-top: var(--space-s); }
.offer__text .actions { margin-top: var(--space-l); }

.price-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: var(--step-3);
  font-weight: 750;
  letter-spacing: -0.02em;
}

.price-tag small { font-size: var(--step--1); font-weight: 600; letter-spacing: 0; color: var(--text-muted); }

.report { max-width: 32rem; justify-self: center; width: 100%; }
.report__label { font-family: var(--font-sans); font-size: var(--step--1); font-weight: 600; color: var(--spruce-muted); }
.report__title { margin-top: var(--space-2xs); font-family: var(--font-sans); font-size: var(--step-2); font-weight: 700; line-height: 1.2; }
.report .ticks { margin-top: var(--space-m); gap: var(--space-m); }
.report .ticks li { padding-left: 2.25rem; padding-bottom: var(--space-m); border-bottom: 1px solid var(--rule); }
.report .ticks li:last-child { border-bottom: 0; padding-bottom: 0; }
.report .ticks strong { display: block; font-family: var(--font-sans); font-weight: 700; }
.report .ticks span { display: block; font-size: var(--step--1); color: var(--spruce-muted); line-height: 1.5; }
.report__foot { margin-top: var(--space-m); padding-top: var(--space-s); border-top: 2px solid var(--spruce); font-family: var(--font-sans); font-size: var(--step--1); font-weight: 600; }

/* CTA band */
.cta h2 { margin-top: var(--space-s); font-size: var(--step-4); line-height: 1.05; max-width: 15em; letter-spacing: -0.025em; }
.cta__text { margin-top: var(--space-m); font-size: var(--step-1); line-height: 1.5; max-width: 34em; }
.cta .ticks--inline { margin-top: var(--space-l); }
.cta .ticks--inline li { padding-left: 1.85rem; }
.cta .actions { margin-top: var(--space-xl); }
.cta__fine { font-family: var(--font-sans); font-size: var(--step--1); color: var(--text-muted); }

/* Document pages (privacy, accessibility) */
.doc { max-width: var(--narrow); }
.doc h2 { font-size: var(--step-2); margin-top: var(--space-xl); }
.doc h3 { font-size: var(--step-1); margin-top: var(--space-l); }
.doc p,
.doc ul,
.doc ol { margin-top: var(--space-s); }
.doc ul,
.doc ol { padding-left: 1.25rem; }
.doc li + li { margin-top: var(--space-2xs); }
.doc-meta { margin-top: var(--space-s); font-family: var(--font-sans); font-size: var(--step--1); color: var(--text-muted); }

.summary-box {
  margin-top: var(--space-l);
  padding: var(--space-m) var(--space-l);
  background: var(--mist);
  border-radius: var(--radius-m);
}

.summary-box h2 { margin-top: 0; font-size: var(--step-1); }
.summary-box .ticks { margin-top: var(--space-s); padding-left: 0; }

/* --------------------------------------------------------------------------
   6. Pages
   -------------------------------------------------------------------------- */

/* Home hero */
.hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) var(--section); }

.hero-grid { display: grid; gap: var(--space-xl); align-items: center; }

@media (min-width: 64em) {
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--space-2xl); }
}

.hero h1 { margin-top: var(--space-s); font-size: var(--step-5); line-height: 1.02; max-width: 11em; }
.hero .lead { margin-top: var(--space-m); }
.hero .actions { margin-top: var(--space-l); }
.hero__fine { margin-top: var(--space-s); max-width: 34em; font-family: var(--font-sans); font-size: var(--step--1); color: var(--text-muted); }

.hero-figure {
  margin: 0;
  width: 100%;
  max-width: 34rem;
  justify-self: center;
  padding: clamp(1rem, 0.5rem + 2.5vw, 2.25rem);
  background: var(--mist);
  border-radius: var(--radius-l);
}

.draft-svg { display: block; width: 100%; height: auto; }
.draft-svg .t-label { font-family: var(--font-sans); font-size: 11.5px; font-weight: 600; fill: var(--spruce-muted); }
.draft-svg .t-note { font-family: var(--font-serif); font-style: italic; font-size: 15px; fill: var(--pencil); }
.draft-svg .t-check { font-family: var(--font-sans); font-size: 13px; font-weight: 600; fill: var(--spruce); }
.draft-svg .pen { fill: none; stroke: var(--pencil); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* "Sound familiar?" list */
.familiar { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }

.familiar li {
  position: relative;
  padding: var(--space-m) 0 var(--space-m) 2.75rem;
  border-bottom: 1px solid var(--line);
  font-size: var(--step-1);
  line-height: 1.45;
}

.familiar li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(var(--space-m) + 0.55em);
  width: 1.6rem;
  height: 0.6rem;
  background-color: var(--mark);
  -webkit-mask: var(--m-wave-x) left center / 1.2rem 0.36rem repeat-x;
  mask: var(--m-wave-x) left center / 1.2rem 0.36rem repeat-x;
}

.familiar-close { margin-top: var(--space-l); font-family: var(--font-sans); font-size: var(--step-2); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; max-width: 22em; }

/* 404 */
.notfound { display: grid; gap: var(--space-xl); align-items: center; }

@media (min-width: 48em) {
  .notfound { grid-template-columns: auto minmax(0, 1fr); gap: var(--space-2xl); }
}

.notfound__code {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: clamp(9rem, 6rem + 12vw, 14rem);
  aspect-ratio: 1.25;
  font-family: var(--font-sans);
  font-size: var(--step-5);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--spruce);
}

.notfound__code::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--pencil);
  -webkit-mask: var(--m-circle) center / 100% 100% no-repeat;
  mask: var(--m-circle) center / 100% 100% no-repeat;
}

.notfound__body > * + * { margin-top: var(--space-s); }
.notfound__body .actions { margin-top: var(--space-l); }

/* --------------------------------------------------------------------------
   7. Utilities
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.nowrap { white-space: nowrap; }
.mt-l { margin-top: var(--space-l); }
.mt-xl { margin-top: var(--space-xl); }

/* --------------------------------------------------------------------------
   8. Motion: pencil marks draw in once, only when motion is welcome
   -------------------------------------------------------------------------- */
.js .u { transition: background-size 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s; }
.js .u:not(.is-drawn) { background-size: 0% 0.3em; }

.js .strike::after { transition: clip-path 0.7s ease-out 0.1s; }
.js .strike:not(.is-drawn)::after { clip-path: inset(0 100% 0 0); }

.js .draft-svg .pen {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 0.8s ease-out forwards;
}

.js .draft-svg .d1 { animation-delay: 0.5s; }
.js .draft-svg .d2 { animation-delay: 0.9s; }
.js .draft-svg .d3 { animation-delay: 1.3s; }
.js .draft-svg .d4 { animation-delay: 1.7s; }
.js .draft-svg .d5 { animation-delay: 2.1s; }
.js .draft-svg .d6 { animation-delay: 2.4s; }

@keyframes draw { to { stroke-dashoffset: 0; } }

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

/* Windows High Contrast / forced colors: keep the masked marks visible. */
@media (forced-colors: active) {
  .ticks li::before,
  .commit::before,
  .num::before,
  .strike::after,
  .note::before,
  .eyebrow::before,
  .familiar li::before,
  .notfound__code::before,
  .step::before {
    background-color: CanvasText;
    forced-color-adjust: none;
  }
  .btn { border: 2px solid ButtonText; }
}

/* --------------------------------------------------------------------------
   9. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header,
  .skip-link,
  .nav-toggle,
  .toc,
  .cta { display: none !important; }
  .band { --bg: #fff; --text: #000; --text-muted: #333; --mark: #000; --link: #000; }
  body { background: #fff; }
  .section { padding-block: 1.5rem; }
  .accordion__panel[hidden] { display: block !important; }
}
