/* Service pages: the classic moawj.com chaptered-editorial look, on the scrollcraft engine.
   Tokens and most chapter styles come from the classic page; the rest is new for the service copy. */
:root {
  --sc-canvas:     #F1F2EF;
  --sc-surface:    #FFFFFF;
  --sc-ink:        #12171B;
  --sc-ink-soft:   #4E5961;
  --sc-accent:     #0E5A6B;
  --sc-accent-ink: #FFFFFF;
  --sc-font-display: "Archivo", system-ui, sans-serif;
  --sc-font-text:    "Geist", system-ui, sans-serif;
  --sc-font-mono:    "Geist", system-ui, sans-serif;
  --sc-shadow-color: 190 18% 30%;
  --sc-edge: inset 0 1px 0 rgba(255,255,255,0.8);

  --g-paper: #F1F2EF;
  --g-white: #FBFBFA;
  --g-mist:  #E3EAEA;
  --g-deep:  #D7E2E1;
  --pencil:  #0E5A6B;
  --line: color-mix(in oklab, var(--sc-ink) 12%, transparent);
}

body { background: var(--g-paper); }
h1, h2, h3, p, ol, ul, figure, dl, dd { margin: 0; }
.sc-label { letter-spacing: 0.12em; font-weight: 500; }
a { color: var(--sc-accent); }
:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--g-white); padding: 0.6rem 1rem; border-radius: var(--sc-r-sm); }
.skip:focus { left: 8px; }

/* ------------------------------------------------------------ folio -- */
.folio {
  position: fixed; z-index: var(--sc-z-chrome);
  top: max(14px, env(safe-area-inset-top)); left: var(--sc-gutter);
  font-size: var(--sc-t-sm);
}
.folio__btn, .pill {
  display: inline-flex; align-items: center; gap: 0.6rem;
  min-height: 44px; padding: 0 0.95rem 0 0.8rem;
  border: 1px solid color-mix(in oklab, var(--sc-ink) 14%, transparent);
  border-radius: var(--sc-r-pill);
  background: color-mix(in oklab, var(--g-white) 88%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  cursor: pointer; color: var(--sc-ink); font: inherit; text-decoration: none;
  transition: border-color 160ms var(--sc-ease-out), transform 120ms var(--sc-ease-out);
}
.folio__btn:active, .pill:active { transform: translateY(1px); }
@media (hover: hover) and (pointer: fine) {
  .folio__btn:hover, .pill:hover { border-color: color-mix(in oklab, var(--sc-ink) 34%, transparent); }
}
.folio__mark { width: 30px; height: auto; color: var(--sc-accent); }
.folio__brand { font-family: var(--sc-font-display); font-weight: 600; letter-spacing: -0.01em; }
.folio__sep { width: 1px; height: 14px; background: color-mix(in oklab, var(--sc-ink) 22%, transparent); }
.folio__num { font-variant-numeric: tabular-nums; color: var(--sc-accent); font-weight: 600; min-width: 1.6em; }
.folio__title { color: var(--sc-ink-soft); }
.folio__num:empty { display: none; }
.folio__list {
  list-style: none; padding: 0.5rem; margin-top: 0.4rem;
  background: var(--g-white);
  border: 1px solid var(--line);
  border-radius: var(--sc-r-md);
  box-shadow: var(--sc-e2);
  min-width: 16rem; max-height: calc(100svh - 90px); overflow-y: auto;
}
.folio__list[hidden] { display: none; }
.folio__list a {
  display: flex; gap: 0.9rem; align-items: baseline;
  min-height: 44px; padding: 0.6rem 0.75rem; border-radius: var(--sc-r-sm);
  text-decoration: none; color: var(--sc-ink);
}
.folio__list a span:first-child { color: var(--sc-accent); width: 2.2em; flex: none; font-variant-numeric: tabular-nums; }
.folio__list a[aria-current="true"] { background: var(--g-mist); }
.folio__list .folio__sub { padding: 0.8rem 0.75rem 0.3rem; margin-top: 0.3rem; border-top: 1px solid var(--line); font-size: var(--sc-t-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--sc-ink-soft); }
@media (hover: hover) and (pointer: fine) { .folio__list a:hover { background: var(--g-paper); } }
.pill--write {
  position: fixed; z-index: var(--sc-z-chrome);
  top: max(14px, env(safe-area-inset-top)); right: var(--sc-gutter);
  font-size: var(--sc-t-sm); font-weight: 500; padding-inline: 1rem;
}

/* ------------------------------------------------------- title page -- */
.tp {
  position: relative; overflow: clip;
  min-height: 100vh; min-height: 100svh;
  background: var(--g-paper);
  isolation: isolate;
  display: flex; flex-direction: column;
  padding: max(15vh, 7rem) var(--sc-gutter) clamp(2.5rem, 9vh, 6.5rem);
}
.tp__plane { position: absolute; inset: 0; pointer-events: none; will-change: transform; }
.tp__wave {
  position: absolute; right: -8vw; top: 9vh; width: 78vw; max-width: none;
  color: color-mix(in oklab, var(--sc-accent) 8%, var(--g-paper));
}
.tp__crumbs { position: relative; z-index: 5; font-size: var(--sc-t-sm); color: var(--sc-ink-soft); margin-bottom: var(--sc-5); }
.tp__crumbs ol { list-style: none; padding: 0; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.tp__crumbs li + li::before { content: "/"; margin-right: 0.5rem; color: color-mix(in oklab, var(--sc-ink) 30%, transparent); }
.tp__crumbs a { color: var(--sc-ink-soft); }
/* The headline rides at 1x between the far and near paper planes; only the paper moves. */
.tp__head {
  position: relative; z-index: 5;
  margin-left: -0.04em; width: min(62rem, 64vw);
  font-family: var(--sc-font-display); font-weight: 600;
  font-size: clamp(2.6rem, 5.4vw, 6.2rem); line-height: 0.96; letter-spacing: -0.045em;
  text-wrap: balance; color: var(--sc-ink);
}
.tp__gap { flex: 1 0 clamp(3rem, 8vh, 7rem); }
.tp__foot { position: relative; z-index: 5; max-width: 40rem; }
.tp__lede { color: var(--sc-ink); font-size: var(--sc-t-lg); line-height: 1.42; text-wrap: pretty; max-width: 40ch; }
.tp__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: var(--sc-5); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.4rem;
  border-radius: var(--sc-r-pill); font-weight: 500; text-decoration: none;
  background: var(--sc-accent); color: var(--sc-accent-ink); border: 1px solid var(--sc-accent);
  transition: transform 120ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out);
}
.btn:active { transform: translateY(1px); }
.btn--ghost { background: color-mix(in oklab, var(--g-white) 80%, transparent); color: var(--sc-ink); border-color: color-mix(in oklab, var(--sc-ink) 18%, transparent); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: color-mix(in oklab, var(--sc-accent) 88%, black); }
  .btn--ghost:hover { background: var(--g-white); border-color: color-mix(in oklab, var(--sc-ink) 40%, transparent); }
}
.sheet { position: absolute; max-width: none; height: auto; }
.sheet img { width: 100%; max-width: none; height: auto; }
.sheet--far img  { filter: drop-shadow(4px 8px 10px hsl(var(--sc-shadow-color) / 0.16)) blur(0.4px); }
.sheet--near img { filter: drop-shadow(14px 26px 30px hsl(var(--sc-shadow-color) / 0.26)); }
/* Four slots, the same on every page; the paper in them changes. */
.sheet--farA  { left: 55%; top: 44vh; width: clamp(7rem, 11vw, 13rem); rotate: -9deg; }
.sheet--farB  { right: 6%; top: 58vh; width: clamp(6rem, 10vw, 11rem); rotate: 14deg; }
.sheet--nearA { right: -4%; top: 4vh;  width: clamp(14rem, 24vw, 27rem); rotate: 8deg; }
.sheet--nearB { right: 21%; bottom: -16vh; width: clamp(13rem, 21vw, 24rem); rotate: -7deg; }

/* -------------------------------------------------------- chapters -- */
.ch { position: relative; padding-block: var(--sc-section); }
.ch--white { background: var(--g-white); }
.ch--paper { background: var(--g-paper); }
.ch--mist  { background: var(--g-mist); }
.ch__grid {
  display: grid; gap: var(--sc-7) var(--sc-8);
  grid-template-columns: 11rem minmax(0, 34rem) minmax(0, 1fr);
  align-items: start;
}
.ch__grid--wide { grid-template-columns: 11rem minmax(0, 1fr); }
.ch__num {
  font-family: var(--sc-font-display); font-weight: 500;
  font-size: var(--sc-t-xl); color: var(--sc-accent); line-height: 1;
  padding-top: 0.5rem;
}
.ch__num small { display: block; margin-top: 0.6rem; font-family: var(--sc-font-text); font-size: var(--sc-t-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--sc-ink-soft); font-weight: 500; }
.ch__text h2, .ch h2.h2 { font-family: var(--sc-font-display); font-weight: 500; font-size: var(--sc-t-2xl); line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
.ch__text p { color: var(--sc-ink-soft); max-width: 60ch; text-wrap: pretty; }
.ch__text h2 + p { margin-top: var(--sc-6); }
.ch__text p + p { margin-top: var(--sc-4); }
.ch__text h3 { margin-top: var(--sc-6); font-family: var(--sc-font-display); font-weight: 600; font-size: var(--sc-t-lg); letter-spacing: -0.015em; }
.ch__text h3 + p { margin-top: var(--sc-3); }
.ch__text strong, .ch__text b { color: var(--sc-ink); font-weight: 500; }

.fig img, .fig video { width: 100%; height: auto; border-radius: 2px; }
.fig figcaption {
  margin-top: var(--sc-3); font-size: var(--sc-t-sm); color: var(--sc-ink-soft);
  display: flex; gap: 0.8rem; max-width: 52ch;
}
.fig figcaption b { color: var(--sc-ink); font-weight: 500; white-space: nowrap; }
.ch-pain .fig { max-width: 32rem; justify-self: end; }

/* the situations, as a ruled list */
.pains { list-style: none; padding: 0; margin-top: var(--sc-6) !important; border-top: 1px solid var(--line); }
.pains li {
  display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.5rem; align-items: baseline;
  padding: 0.85rem 0; border-bottom: 1px solid var(--line); color: var(--sc-ink);
}
.pains li span { font-family: var(--sc-font-display); color: var(--sc-accent); font-weight: 600; font-variant-numeric: tabular-nums; font-size: var(--sc-t-sm); }

/* ---------------------------------------------------- margin notes -- */
.note { position: relative; margin-top: var(--sc-6) !important; padding-left: 1.1rem; max-width: 16rem; }
.note__stroke {
  position: absolute; left: 0; top: 0.2rem; width: 6px; height: calc(100% - 0.2rem); overflow: visible;
}
.note__stroke path {
  fill: none; stroke: var(--pencil); stroke-width: 1.6; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 700ms var(--sc-ease-out);
}
.note__kicker {
  font-size: var(--sc-t-xs); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
  color: var(--pencil) !important; opacity: 0.55;
  transition: opacity 400ms var(--sc-ease-out);
}
.note__text {
  margin-top: 0.35rem !important; font-family: var(--sc-font-display); font-style: italic; font-weight: 400;
  font-size: var(--sc-t-base); line-height: 1.38; color: var(--pencil) !important;
  opacity: 0; transform: translate3d(0, 6px, 0);
  transition: opacity 520ms var(--sc-ease-out) 180ms, transform 520ms var(--sc-ease-out) 180ms;
}
.note.is-taken .note__stroke path { stroke-dashoffset: 0; }
.note.is-taken .note__kicker { opacity: 1; }
.note.is-taken .note__text { opacity: 1; transform: none; }
/* Without JavaScript the notes are simply shown. */
html:not(.js) .note__text { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .note__stroke path, .note__text { transition: opacity 200ms linear; transform: none; }
  .note__stroke path { transition: none; }
}

/* ------------------------------------------------------- numbers -- */
.proof { border-top: 1px solid var(--line); }
.proof__row {
  display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; align-items: baseline;
  padding: 1.1rem 0; border-bottom: 1px solid var(--line);
}
.proof__num { font-family: var(--sc-font-display); font-weight: 600; font-size: var(--sc-t-2xl); line-height: 1; letter-spacing: -0.03em; color: var(--sc-accent); font-variant-numeric: tabular-nums; }
.proof__row p { color: var(--sc-ink); }
.proof__row cite { display: block; margin-top: 0.4rem; font-style: normal; font-size: var(--sc-t-xs); line-height: 1.55; color: var(--sc-ink-soft); }
.proof__row cite a { color: var(--sc-ink); }

/* ------------------------------------------------------ intertitle -- */
.inter { height: 100vh; height: 100svh; min-height: 34rem; position: relative; background: var(--g-white); }
.inter__ground {
  position: absolute; inset: 0; background: var(--g-deep);
  display: grid; place-items: center; padding-inline: var(--sc-gutter);
}
.inter__line {
  font-family: var(--sc-font-display); font-weight: 500;
  font-size: var(--sc-t-4xl); letter-spacing: -0.045em; line-height: 0.95; text-align: center; text-wrap: balance;
}
.inter__line em { font-style: italic; font-weight: 400; color: var(--sc-accent); }

/* ------------------------------------------------------------ peak -- */
.spread {
  display: grid; align-items: center; gap: var(--sc-6) var(--sc-8);
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  height: 100%;
  padding: calc(4.5rem + 2vh) var(--sc-gutter) 3vh;
  background: var(--g-paper);
}
.plate { position: relative; aspect-ratio: 16 / 9; overflow: clip; border-radius: 2px; box-shadow: var(--sc-e2); background: #D9DCDA; }
.plate--43 { aspect-ratio: 4 / 3; max-height: 72svh; margin-inline: auto; }
.plate > img, .plate > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spread .fig figcaption { margin-top: var(--sc-3); }
.plate__after { display: none; }
@media (prefers-reduced-motion: reduce) {
  /* No clip under reduced motion: the finished desk arrives with the second caption. */
  .plate__after {
    display: block; z-index: 1;
    opacity: clamp(0, calc((var(--sc-p, 0) - 0.48) * 10), 1);
  }
}
/* Still peaks (no clip): the after frame dissolves in across the pin, under a slow push-in. */
.plate--stills > img { transform: scale(calc(1.06 - 0.06 * var(--sc-p, 0))); transform-origin: 50% 45%; }
.plate--stills .plate__after {
  display: block; z-index: 1;
  opacity: clamp(0, calc((var(--sc-p, 0) - 0.36) * 4), 1);
}
@media (prefers-reduced-motion: reduce) { .plate--stills > img { transform: none; } }
.spread__copy { position: relative; display: grid; }
.spread__copy > * { grid-area: 1 / 1; }
.spread__copy h2 { font-family: var(--sc-font-display); font-weight: 500; font-size: var(--sc-t-2xl); line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
.spread__copy p { color: var(--sc-ink-soft); margin-top: var(--sc-5); }
.spread__num { display: block; margin-bottom: var(--sc-5); }
.spread__after h2 { font-size: var(--sc-t-xl); line-height: 1.12; }

/* ------------------------------------------------------- what it is -- */
.facts { list-style: none; padding: 0; margin-top: var(--sc-6) !important; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.facts li { border: 1px solid color-mix(in oklab, var(--sc-accent) 35%, transparent); color: var(--sc-accent); border-radius: var(--sc-r-pill); padding: 0.4rem 0.9rem; font-size: var(--sc-t-sm); }
.ch-what .lead { font-size: var(--sc-t-lg); color: var(--sc-ink) !important; line-height: 1.5; }
.aside-card {
  background: var(--g-white); border-radius: var(--sc-r-md); padding: var(--sc-6);
  border: 1px solid color-mix(in oklab, var(--sc-ink) 8%, transparent); box-shadow: var(--sc-e1);
  max-width: 26rem; justify-self: end;
}
.aside-card img { width: 72%; height: auto; margin: 0 auto var(--sc-5); display: block; filter: drop-shadow(8px 16px 18px hsl(var(--sc-shadow-color) / 0.2)); }
.aside-card p { color: var(--sc-ink-soft); font-size: var(--sc-t-sm); }

/* ------------------------------------------------------ how it works (pan) -- */
.cat__stage { background: var(--g-white); display: flex; align-items: center; }
.rail { gap: clamp(1.5rem, 3vw, 3.5rem); padding: 5.5rem var(--sc-gutter) 2rem; align-items: stretch; }
.rail__lead { flex: 0 0 auto; width: clamp(16rem, 28vw, 26rem); padding-top: 1rem; }
.rail__lead h2 { font-family: var(--sc-font-display); font-weight: 500; font-size: var(--sc-t-2xl); line-height: 1.04; letter-spacing: -0.03em; margin-top: var(--sc-4); }
.rail__lead p { color: var(--sc-ink-soft); margin-top: var(--sc-5); max-width: 30ch; }
.step {
  flex: 0 0 auto; width: clamp(15rem, 22vw, 21rem);
  background: var(--g-paper); border-radius: var(--sc-r-md); padding: var(--sc-6) var(--sc-5);
  border: 1px solid color-mix(in oklab, var(--sc-ink) 8%, transparent);
  display: flex; flex-direction: column;
}
.step__n { font-family: var(--sc-font-display); font-weight: 600; font-size: var(--sc-t-3xl); line-height: 1; letter-spacing: -0.04em; color: color-mix(in oklab, var(--sc-accent) 70%, var(--g-paper)); }
.step h3 { margin-top: auto; padding-top: var(--sc-8); font-family: var(--sc-font-display); font-weight: 600; font-size: var(--sc-t-lg); letter-spacing: -0.015em; line-height: 1.15; }
.step p { margin-top: var(--sc-3); color: var(--sc-ink-soft); font-size: var(--sc-t-sm); line-height: 1.55; }
.rail__end { flex: 0 0 auto; width: clamp(14rem, 20vw, 19rem); align-self: center; }
.rail__end p { font-family: var(--sc-font-display); font-size: var(--sc-t-xl); line-height: 1.15; letter-spacing: -0.02em; }
.rail__end a { display: inline-block; margin-top: var(--sc-5); }
@media (prefers-reduced-motion: no-preference) {
  .step {
    --t: clamp(0, calc(var(--sc-p, 0) * 7 - var(--i) + 1.6), 1);
    opacity: calc(0.5 + 0.5 * var(--t));
    transform: translate3d(0, calc((1 - var(--t)) * 22px), 0);
  }
}

/* ------------------------------------------------------- uses + table -- */
.uses { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0 var(--sc-7); border-top: 1px solid var(--line); }
.uses li { padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--sc-ink-soft); font-size: var(--sc-t-sm); line-height: 1.55; }
.uses li b { display: block; color: var(--sc-ink); font-weight: 500; font-size: var(--sc-t-base); margin-bottom: 0.2rem; }
.table-scroll { overflow-x: auto; margin-top: var(--sc-7); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; font-size: var(--sc-t-sm); background: var(--g-white); border-radius: var(--sc-r-md); overflow: hidden; }
.compare caption { text-align: left; font-family: var(--sc-font-display); font-weight: 500; font-size: var(--sc-t-lg); padding-bottom: var(--sc-4); }
.compare th, .compare td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-weight: 500; color: var(--sc-ink-soft); background: var(--g-paper); }
.compare thead th:last-child, .compare td:last-child { color: var(--sc-accent); font-weight: 500; }
.compare tbody th { font-weight: 500; }

/* ------------------------------------------------------------- safe -- */
.safe { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: var(--sc-6); }
.safe > div { border-top: 2px solid var(--sc-accent); padding-top: var(--sc-4); }
.safe h3 { font-family: var(--sc-font-display); font-weight: 600; font-size: var(--sc-t-lg); letter-spacing: -0.015em; line-height: 1.2; }
.safe p { margin-top: var(--sc-3); color: var(--sc-ink-soft); }

/* -------------------------------------------------------------- faq -- */
.faq { border-top: 1px solid var(--line); columns: 2 22rem; column-gap: var(--sc-8); }
.faq__item { break-inside: avoid; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.faq__item h3 { font-family: var(--sc-font-display); font-weight: 600; font-size: var(--sc-t-base); letter-spacing: -0.01em; line-height: 1.3; }
.faq__item p { margin-top: 0.45rem; color: var(--sc-ink-soft); font-size: var(--sc-t-sm); line-height: 1.6; }
.byline { margin-top: var(--sc-6); font-size: var(--sc-t-xs); color: var(--sc-ink-soft); }

/* ------------------------------------------------------------ offer -- */
.ch-offer .ch__grid { grid-template-columns: 11rem minmax(0, 46rem); }
.letter {
  background: var(--g-white); border-radius: 3px; padding: clamp(1.75rem, 5vw, 4rem);
  border: 1px solid color-mix(in oklab, var(--sc-ink) 8%, transparent);
  box-shadow: 0 1px 2px hsl(var(--sc-shadow-color) / 0.08), 0 18px 40px -18px hsl(var(--sc-shadow-color) / 0.28);
}
.letter h2 { font-family: var(--sc-font-display); font-weight: 500; font-size: var(--sc-t-2xl); line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance; }
.letter h2 em { font-style: italic; font-weight: 400; color: var(--sc-accent); }
.letter p { color: var(--sc-ink-soft); max-width: 58ch; text-wrap: pretty; }
.letter h2 + p { margin-top: var(--sc-6); }
.letter__terms { list-style: none; padding: 0; margin: var(--sc-6) 0 0; border-top: 1px solid var(--line); }
.letter__terms li {
  display: grid; grid-template-columns: 2rem 1fr; gap: 0.6rem; align-items: baseline;
  padding: 0.85rem 0; border-bottom: 1px solid var(--line); color: var(--sc-ink);
}
.letter__terms li span { font-family: var(--sc-font-display); color: var(--sc-accent); font-weight: 600; font-variant-numeric: tabular-nums; }
.letter .btn { margin-top: var(--sc-6); }
.letter__sign { margin-top: var(--sc-7); display: flex; align-items: center; gap: 0.9rem; }
.letter__sign svg { width: 52px; color: var(--sc-accent); }
.letter__sign p { color: var(--sc-ink); font-family: var(--sc-font-display); font-weight: 600; line-height: 1.25; }
.letter__sign p small { display: block; font-family: var(--sc-font-text); font-weight: 400; color: var(--sc-ink-soft); font-size: var(--sc-t-sm); }

/* -------------------------------------------------------- colophon -- */
.colo { background: var(--g-paper); padding-block: var(--sc-section) var(--sc-7); border-top: 1px solid color-mix(in oklab, var(--sc-ink) 8%, transparent); }
.colo__grid { display: grid; gap: var(--sc-8); grid-template-columns: 11rem minmax(0, 26rem) minmax(0, 1fr); align-items: start; }
.colo__about p { color: var(--sc-ink-soft); font-size: var(--sc-t-sm); }
.colo__about p + p { margin-top: var(--sc-3); }
.colo__mark { width: 64px; color: var(--sc-accent); margin-bottom: var(--sc-5); }
.colo h2 { font-family: var(--sc-font-display); font-weight: 500; font-size: var(--sc-t-xl); letter-spacing: -0.02em; line-height: 1.15; }
.summary__sub { color: var(--sc-ink-soft); font-size: var(--sc-t-sm); margin-top: var(--sc-2); }
.summary { list-style: none; padding: 0; margin-top: var(--sc-5); border-top: 1px solid var(--line); }
.summary li {
  display: grid; grid-template-columns: 2.6rem 1fr; gap: 0.5rem;
  padding: 0.85rem 0; border-bottom: 1px solid var(--line);
  font-family: var(--sc-font-display); font-style: italic; color: var(--pencil);
}
.summary li span { font-style: normal; font-family: var(--sc-font-text); font-size: var(--sc-t-xs); letter-spacing: 0.1em; color: var(--sc-ink-soft); padding-top: 0.25rem; }
.summary li.is-missed { color: color-mix(in oklab, var(--sc-ink) 34%, transparent); }
.summary li.is-missed em { font-style: normal; font-family: var(--sc-font-text); font-size: var(--sc-t-xs); letter-spacing: 0.04em; margin-left: 0.4rem; }
.ask { margin-top: var(--sc-7); font-family: var(--sc-font-display); font-weight: 500; font-size: var(--sc-t-xl); line-height: 1.25; letter-spacing: -0.02em; max-width: 30ch; }
.ask a { text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.related { list-style: none; padding: 0; margin-top: var(--sc-5); border-top: 1px solid var(--line); }
.related a { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--sc-ink); min-height: 44px; }
.related a b { font-weight: 500; display: block; }
.related a span { color: var(--sc-ink-soft); font-size: var(--sc-t-sm); }
@media (hover: hover) and (pointer: fine) { .related a:hover b { color: var(--sc-accent); } }
.colo__links { margin-top: var(--sc-9); display: grid; gap: var(--sc-6); grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.colo__links h3 { font-size: var(--sc-t-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--sc-ink-soft); font-weight: 500; }
.colo__links ul { list-style: none; padding: 0; margin-top: var(--sc-3); }
.colo__links a { display: inline-flex; align-items: center; min-height: 36px; color: var(--sc-ink); text-decoration: none; font-size: var(--sc-t-sm); }
@media (hover: hover) and (pointer: fine) { .colo__links a:hover { color: var(--sc-accent); text-decoration: underline; } }
.colo__fine { margin-top: var(--sc-8); display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; font-size: var(--sc-t-xs); color: var(--sc-ink-soft); letter-spacing: 0.02em; }

/* --------------------------------------------------------- tablet -- */
@media (max-width: 1100px) {
  .ch__grid, .colo__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ch__grid--wide, .ch-offer .ch__grid { grid-template-columns: minmax(0, 1fr); }
  .ch__num { grid-column: 1 / -1; }
  .colo__about { grid-column: 1 / -1; }
  .ch-numbers .ch__text, .ch-numbers .proof { grid-column: 1 / -1; }
  .aside-card { justify-self: start; }
}

/* ---------------------------------------------------------- phone -- */
@media (max-width: 760px) {
  .tp { padding-top: max(13svh, 5.5rem); padding-bottom: max(1.75rem, env(safe-area-inset-bottom)); }
  .tp__head { width: auto; font-size: clamp(2.2rem, 10vw, 3.3rem); line-height: 0.98; }
  .tp__gap { flex: 1 0 max(30svh, 12rem); }
  .tp__lede { font-size: var(--sc-t-base); }
  .tp__wave { width: 140vw; right: -40vw; top: 30svh; }
  /* The paper sits in the gap between headline and lede; svc.js publishes its place. */
  .sheet--farA  { left: auto; right: -6%; top: calc(var(--gapY, 50svh) + var(--gapH, 30svh) * 0.25); width: 28vw; }
  .sheet--farB  { right: auto; left: 4%; top: calc(var(--gapY, 50svh) + var(--gapH, 30svh) * 0.42); width: 16vw; }
  .sheet--nearA { right: -14%; top: calc(var(--gapY, 50svh) + var(--gapH, 30svh) * 0.22); width: 42vw; }
  .sheet--nearB { right: auto; left: 20%; bottom: auto; top: calc(var(--gapY, 50svh) + var(--gapH, 30svh) * 0.16); width: 38vw; }
  .ch__grid, .colo__grid { grid-template-columns: minmax(0, 1fr); gap: var(--sc-6); }
  .ch-pain .fig { justify-self: stretch; }
  .note { max-width: none; }
  .proof__row { grid-template-columns: 5.4rem 1fr; }
  .spread { grid-template-columns: minmax(0, 1fr); align-content: start; padding-top: 4.75rem; gap: var(--sc-5); }
  .spread__copy h2 { font-size: var(--sc-t-xl); }
  .spread__num { margin-bottom: var(--sc-3); }
  .plate--43 { max-height: 40svh; }
  .rail { padding-top: 5rem; }
  .rail__lead { width: 78vw; }
  .step { width: 70vw; }
  .rail__end { width: 70vw; }
  .inter__line { font-size: clamp(2.5rem, 12.5vw, 4rem); }
  .folio__title { max-width: 7.5rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .folio__brand { display: none; }
  .pill--write { padding-inline: 0.9rem; }
  .compare { min-width: 560px; }
  .aside-card { padding: var(--sc-5); }
}
@media (max-width: 380px) {
  .folio__sep, .folio__num { display: none; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .spread .fig figcaption { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tp__plane { transform: none !important; }
}

/* Without JavaScript nothing waits for a scroll cue: every chapter is simply shown. */
html:not(.js) :is([data-sc-in], [data-sc-stagger] > *, [data-sc-cue]) { opacity: 1 !important; transform: none !important; }
html:not(.js) [data-sc-reveal] { clip-path: none !important; }
