/* Missing Clarity homepage — paper notebook × drafting sheet.
   Direction: docs/design-vision.md. Fonts are self-hosted to satisfy the CSP in _headers. */

@font-face { font-family: "Tinos"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/tinos-400.woff2") format("woff2"); }
@font-face { font-family: "Tinos"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/tinos-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Tinos"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/tinos-700.woff2") format("woff2"); }
@font-face { font-family: "Cousine"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/cousine-400.woff2") format("woff2"); }

:root {
  --paper: #f4efe4;
  --sheet: #faf6ed;
  --lift: #fffbf3;
  --ink: #1c2e2d;
  --ink-hover: #2a4543;
  --ink-2: #465351;
  --faint: #57615f;
  --rule: #d9d0bf;
  --brass: #8a5a12;
  --ok: #2f6b4f;
  --serif: "Tinos", "Times New Roman", Times, serif;
  --mono: "Cousine", "Courier New", ui-monospace, monospace;
  --head-h: 3.6rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 0.5rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--serif);
  background-color: var(--paper);
  background-image: repeating-linear-gradient(to bottom, transparent 0 31px, color-mix(in oklab, var(--rule) 45%, transparent) 31px 32px);
}
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-weight: 400; }
.wrap { width: min(70rem, calc(100% - 2rem)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 0.75rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--sheet); padding: 0.6rem 0.9rem; font: 400 0.85rem var(--mono); }
.skip:focus { top: 0.75rem; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.label { font: 400 0.7rem/1.3 var(--mono); letter-spacing: 0.13em; text-transform: uppercase; color: var(--faint); margin: 0; }
.label.brass { color: var(--brass); }
.hand { font-family: var(--serif); font-style: italic; color: var(--brass); font-size: 1.3rem; line-height: 1.2; }
.fine { color: var(--ink-2); font-size: 0.92rem; margin: 0.9rem 0 0; }
.fine a { color: var(--ink); text-underline-offset: 3px; }

.btn {
  display: inline-flex; align-items: center; gap: 0.55rem; min-height: 3rem; padding: 0 1.2rem;
  background: var(--ink); color: var(--sheet); text-decoration: none; font: 400 0.85rem/1.2 var(--mono);
  border: 1px solid var(--ink); transition: background-color 0.15s, transform 0.15s;
}
.btn:hover { background: var(--ink-hover); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 2.5rem; padding: 0 0.9rem; font-size: 0.76rem; }

/* header */
.site-head { position: sticky; top: 0; z-index: 20; background: var(--sheet); border-bottom: 1px solid var(--ink); --p: 0; }
.site-head::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px; height: 2px; width: 100%;
  background: var(--brass);
  transform: scaleX(var(--p));
  transform-origin: left center;
  pointer-events: none;
}
.site-head .wrap { display: flex; align-items: center; gap: 1.25rem; height: var(--head-h); }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; font-size: 1.05rem; flex-shrink: 0; white-space: nowrap; }
.mark { font: 400 0.78rem var(--mono); border: 1.5px solid var(--ink); padding: 0.28rem 0.42rem; }
.nav { display: none; margin-left: auto; gap: 1.5rem; }
.nav a { font: 400 0.8rem var(--mono); color: var(--ink-2); text-decoration: none; }
.nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.nav a[aria-current="true"] { color: var(--ink); text-decoration: none; box-shadow: inset 0 -2px 0 var(--brass); }
.nav a[aria-current="true"]:hover { text-decoration: none; }
.site-head .btn { margin-left: auto; text-align: center; }
/* On a phone the header button breaks after "20-minute", never inside "fit-check". */
.nw { white-space: nowrap; }
@media (max-width: 22rem) { .site-head .mark { display: none; } }

/* framed sheet with corner ticks */
.frame { position: relative; background: var(--sheet); border: 1px solid var(--ink); }
.frame::before, .frame::after { content: ""; position: absolute; width: 14px; height: 14px; border: 0 solid var(--ink); pointer-events: none; }
.frame::before { top: -7px; left: -7px; border-top-width: 1px; border-left-width: 1px; }
.frame::after { bottom: -7px; right: -7px; border-bottom-width: 1px; border-right-width: 1px; }

/* hero */
.hero { padding: 2.75rem 0 3rem; }
h1 { font: 400 clamp(2.6rem, 9vw, 5.6rem)/0.98 var(--serif); letter-spacing: -0.025em; margin: 0; max-width: 17ch; }
h1 em { font-style: italic; position: relative; white-space: nowrap; }
h1 em svg { position: absolute; left: -2%; bottom: -0.12em; width: 104%; height: 0.35em; overflow: visible; }
h1 em svg path { stroke: var(--brass); stroke-width: 3; fill: none; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1s 0.4s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 36rem; margin: 1.25rem 0 0; }

.which { margin-top: 2.25rem; }
.which-head { display: flex; align-items: baseline; gap: 0.4rem 0.75rem; flex-wrap: wrap; }
.which-head h2 { font: 400 1.6rem/1.2 var(--serif); margin: 0; }
.who { display: grid; gap: 0.75rem; margin-top: 1rem; }
.who button {
  font: inherit; color: inherit; text-align: left; cursor: pointer;
  display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 1rem; align-items: start;
  padding: 1rem 1.1rem; background: var(--sheet); border: 1px solid var(--ink); border-radius: 0;
  transition: background-color 0.15s, box-shadow 0.15s;
}
.who button:hover { background: var(--lift); }
.who .box { grid-row: span 2; width: 1.35rem; height: 1.35rem; border: 1.5px solid var(--ink); margin-top: 0.22rem; position: relative; }
.who .is-on .box::after {
  content: ""; position: absolute; inset: -6px -4px 2px 2px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M4 17c4 3 6 6 8 10C15 17 21 9 29 3' fill='none' stroke='%231c2e2d' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.who strong { font: 400 1.2rem var(--serif); }
.who small { color: var(--ink-2); font-size: 0.95rem; line-height: 1.4; }
.who .is-on { background: var(--lift); box-shadow: 4px 4px 0 var(--ink); }
.hero-cta { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; align-items: center; }
.hero-cta p { margin: 0; font: 400 0.78rem var(--mono); color: var(--faint); }

/* numbered parts */
.part { padding: 3rem 0; }
.part-head { display: flex; gap: 1rem; align-items: baseline; border-bottom: 1px solid var(--ink); padding-bottom: 0.75rem; }
.part-head .no { font: 400 0.78rem var(--mono); color: var(--brass); border: 1px solid var(--brass); padding: 0.15rem 0.4rem; }
.big { font: 400 clamp(2rem, 5.8vw, 3.4rem)/1.04 var(--serif); letter-spacing: -0.02em; margin: 1.25rem 0 0; max-width: 22ch; }
.sub { color: var(--ink-2); max-width: 38rem; margin: 0.75rem 0 0; }

/* flow board */
.picks { display: flex; flex-wrap: wrap; margin-top: 1.5rem; }
.picks button {
  font: 400 0.78rem/1.3 var(--mono); color: var(--ink); cursor: pointer; flex: 1 1 12rem; text-align: center;
  padding: 0.8rem 0.75rem; min-height: 2.9rem; border: 1px solid var(--ink); border-radius: 0; margin: 0 -1px -1px 0; background: var(--sheet);
}
.picks button:hover { background: var(--lift); }
.picks button.is-on { background: var(--ink); color: var(--sheet); }
/* Phone: one choice per line. Three columns wrapped the labels into a thin measure. */
@media (max-width: 47.99rem) {
  .picks { flex-direction: column; }
  .picks button {
    flex: none;
    width: 100%;
    margin: 0;
    text-align: left;
    padding: 0.9rem 1rem;
  }
  .picks button + button { margin-top: -1px; }
}
.plot { margin-top: 1.25rem; display: grid; }
.plot .col { padding: 1.25rem; position: relative; }
.plot .col + .col { border-top: 1px dashed var(--ink); }
.plot h3 { font: 400 1.45rem/1.15 var(--serif); margin: 0.5rem 0 1rem; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: flex; gap: 0.85rem; align-items: center; padding: 0.65rem 0; border-top: 1px dashed var(--rule); }
.steps li::before { content: counter(s); font: 400 0.72rem var(--mono); width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border: 1.2px solid var(--ink-2); border-radius: 50%; flex: none; }
.steps li.is-stuck { flex-wrap: wrap; row-gap: 0.2rem; padding-bottom: 0.85rem; }
.steps li.is-stuck > span:not(.note) { position: relative; }
/* Drawn on, same gesture as the headline underline. Hidden until the example is in view. */
.steps li.is-stuck .ring {
  position: absolute;
  left: -0.65rem;
  right: -0.7rem;
  top: -0.42rem;
  bottom: -0.38rem;
  width: auto;
  height: auto;
  overflow: visible;
  pointer-events: none;
  transform: rotate(-1.5deg);
}
.steps li.is-stuck .ring path {
  fill: none;
  stroke: var(--brass);
  stroke-width: 2.25px;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
}
.js .steps li.is-stuck .ring path { stroke-dashoffset: 100; }
.js .plot.is-drawing .steps li.is-stuck .ring path {
  animation: ring 0.85s cubic-bezier(0.22, 0.7, 0.24, 1) forwards;
}
@keyframes ring { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.steps li.is-stuck::before { border-color: var(--brass); color: var(--brass); }
.after .steps li { opacity: 0.35; transition: opacity 0.3s; }
.after .steps li.is-done { opacity: 1; }
/* Done is a pen tick in the step circle, not a filled badge. */
.after .steps li::before { display: none; }
.after .steps li .step-no {
  position: relative;
  width: 1.6rem;
  height: 1.6rem;
  flex: none;
  display: grid;
  place-items: center;
  border: 1.2px solid var(--ink-2);
  border-radius: 50%;
  font: 400 0.72rem var(--mono);
  color: var(--ink-2);
}
.after .steps li .step-no::before { content: counter(s); transition: opacity 0.2s ease; }
.after .steps li.is-done .step-no { border-color: var(--ink); color: var(--ink); }
.after .steps li.is-done .step-no::before { opacity: 0; }
.after .steps li .tick {
  position: absolute;
  inset: -0.42rem -0.28rem -0.08rem -0.38rem;
  width: auto;
  height: auto;
  overflow: visible;
  pointer-events: none;
}
.after .steps li .tick path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.6px;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
}
.js .after .steps li .tick path { stroke-dashoffset: 100; }
.js .after .steps li.is-done .tick path {
  animation: tick 0.48s cubic-bezier(0.22, 0.7, 0.24, 1) forwards;
}
@keyframes tick { to { stroke-dashoffset: 0; } }
/* Sits under the circled step, lined up with the words, not in the card corner. */
.steps li.is-stuck .note {
  position: static;
  flex: 1 0 100%;
  width: auto;
  max-width: 100%;
  margin: 0.05rem 0 0;
  padding-left: 2.45rem;
  transform: rotate(-1.5deg);
  transform-origin: left center;
}
.readout { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; border-top: 1px solid var(--ink); padding: 0.6rem 1.25rem; font: 400 0.72rem var(--mono); color: var(--ink-2); }
.readout .ok { color: var(--ok); }

/* cost */
.cost { display: grid; margin-top: 1.75rem; }
.cost > div { padding: 1.25rem; }
.cost > div + div { border-top: 1px solid var(--ink); }
.field + .field { margin-top: 1.1rem; }
.field label { display: flex; justify-content: space-between; font: 400 0.8rem var(--mono); color: var(--ink-2); }
.field output { color: var(--ink); font-variant-numeric: tabular-nums; }
/* Jobs-per-week is a scale. --p is 0–1 along the thumb's travel, not a raw percent. */
input[type=range] {
  --thumb: 22px;
  --p: 0.05;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  margin: 0;
  cursor: grab;
}
input[type=range]:active { cursor: grabbing; }
input[type=range]::-moz-focus-outer { border: 0; }
input[type=range]::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  height: 2px;
  background: linear-gradient(
    to right,
    var(--ink) 0,
    var(--ink) calc(var(--thumb) / 2 + (100% - var(--thumb)) * var(--p, 0.05)),
    var(--rule) calc(var(--thumb) / 2 + (100% - var(--thumb)) * var(--p, 0.05)),
    var(--rule) 100%
  );
}
input[type=range]::-moz-range-track { height: 2px; background: var(--rule); border: 0; }
input[type=range]::-moz-range-progress { height: 2px; background: var(--ink); }
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  width: var(--thumb);
  height: var(--thumb);
  margin-top: -10px;
  border-radius: 0;
  border: 1.5px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  background: var(--sheet) center / 12px 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' fill='none' stroke='%238a5a12' stroke-width='1.6'/%3E%3C/svg%3E");
}
input[type=range]::-moz-range-thumb {
  box-sizing: border-box;
  width: var(--thumb);
  height: var(--thumb);
  border-radius: 0;
  border: 1.5px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  background: var(--sheet) center / 12px 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M7 1v12M1 7h12' fill='none' stroke='%238a5a12' stroke-width='1.6'/%3E%3C/svg%3E");
}
input[type=range]:active::-webkit-slider-thumb,
input[type=range]:active::-moz-range-thumb { box-shadow: none; }
@media (hover: hover) {
  input[type=range]:hover::-webkit-slider-thumb,
  input[type=range]:hover::-moz-range-thumb { border-color: var(--brass); }
}
.ruler {
  --thumb: 22px;
  position: relative;
  height: 1.7rem;
  margin: -0.35rem calc(var(--thumb) / 2) 0;
  user-select: none;
  background-image:
    linear-gradient(to right, var(--ink) 1px, transparent 1px),
    linear-gradient(to right, color-mix(in oklab, var(--ink) 28%, var(--rule)) 1px, transparent 1px);
  background-size: calc(100% / 4) 8px, calc(100% / 20) 5px;
  background-repeat: repeat-x;
  background-position: left top;
}
.ruler::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 8px;
  background: var(--ink);
}
.ruler span {
  position: absolute;
  left: calc(var(--at) * 100%);
  top: 0.78rem;
  transform: translateX(-50%);
  font: 400 0.62rem/1 var(--mono);
  color: var(--faint);
}
.job { display: flex; align-items: baseline; gap: 0.15rem; border-bottom: 1.5px solid var(--ink); font: 400 2.1rem var(--serif); margin-top: 0.3rem; }
.job input { font: inherit; color: inherit; border: 0; background: transparent; padding: 0; width: 100%; min-width: 0; }
.job:focus-within { outline: 2px solid var(--brass); outline-offset: 4px; }
.job input:focus-visible { outline: none; }
.n { font: 400 clamp(3.4rem, 13vw, 5.6rem)/1 var(--serif); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin: 0.5rem 0 0; }
.n small { font: 400 0.9rem var(--mono); color: var(--faint); letter-spacing: 0; }
.math { font: 400 0.76rem var(--mono); color: var(--ink-2); margin: 0.75rem 0 1.25rem; }
.cost-note { display: block; margin-top: 0.6rem; }
.payback { margin: -0.5rem 0 1.25rem; color: var(--ink); max-width: 28rem; }

.three { display: grid; margin-top: 1.5rem; }
.three > div { padding: 1rem 1.25rem; }
.three > div + div { border-top: 1px solid var(--ink); }
.three b { font: 400 1.2rem/1.25 var(--serif); display: block; margin-top: 0.2rem; }
.three p { margin: 0.25rem 0 0; color: var(--ink-2); font-size: 0.98rem; }

/* steps & prices table */
.spec { width: 100%; border-collapse: collapse; margin-top: 1.5rem; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 0.85rem 0.8rem; border: 1px solid var(--ink); background: var(--sheet); }
.spec th { font: 400 0.72rem/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--brass); width: 5.25rem; }
.spec td b { font: 400 1.2rem var(--serif); display: block; }
.spec td span { color: var(--ink-2); }
.spec tr.hl th, .spec tr.hl td { background: var(--lift); }
.spec tr.hl th { box-shadow: inset 3px 0 0 var(--brass); }

/* Phone: each step is its own sheet, label above the copy.
   The row-header column was leaving the offer in a thin measure. */
@media (max-width: 47.99rem) {
  .spec, .spec tbody { display: block; }
  .spec { margin-top: 1.35rem; }
  .spec tr {
    display: block;
    position: relative;
    border: 1px solid var(--ink);
    background: var(--sheet);
  }
  .spec tr + tr { margin-top: 1.15rem; }
  .spec tr::before, .spec tr::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    border: 0 solid var(--ink);
    pointer-events: none;
  }
  .spec tr::before { top: -7px; left: -7px; border-top-width: 1px; border-left-width: 1px; }
  .spec tr::after { bottom: -7px; right: -7px; border-bottom-width: 1px; border-right-width: 1px; }
  .spec th, .spec td {
    display: block;
    width: auto;
    border: 0;
    background: transparent;
  }
  .spec th { padding: 0.95rem 1.15rem 0.15rem; white-space: nowrap; }
  .spec td { padding: 0.15rem 1.15rem 1.05rem; }
  .spec tr.hl {
    background: var(--lift);
    box-shadow: inset 3px 0 0 var(--brass);
  }
  .spec tr.hl th, .spec tr.hl td { background: transparent; }
  .spec tr.hl th { box-shadow: none; }
}
.notes { display: grid; gap: 0.75rem; margin-top: 1.25rem; }
.notes p { margin: 0; padding: 0.9rem 1rem; border: 1px dashed var(--ink-2); background: var(--sheet); color: var(--ink-2); font-size: 0.97rem; }
.notes b { color: var(--ink); }

/* founder, faq, close */
.founder { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.25rem; }
.founder img { width: 4.75rem; height: 4.75rem; object-fit: cover; filter: grayscale(1); border: 1px solid var(--ink); flex: none; }
.founder p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }
.founder b { color: var(--ink); }
.founder a { color: var(--ink); text-underline-offset: 3px; }
.faq-item { border-top: 1px solid var(--ink); }
.faq-item h3 { margin: 0; }
.faq-item button {
  font: 400 1.1rem/1.3 var(--serif); color: var(--ink); background: none; border: 0; cursor: pointer; text-align: left;
  width: 100%; display: flex; justify-content: space-between; gap: 1rem; padding: 0.95rem 1.25rem; min-height: 3rem;
}
@media (hover: hover) {
  .faq-item button:hover { background: var(--lift); }
}
.faq-item button::after { content: "+"; font-family: var(--mono); color: var(--brass); flex: none; }
.faq-item[data-open=true] button::after { content: "–"; }
/* The answer unfolds. 0fr clips it; 1fr is the full note. */
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.32s ease; }
.faq-item[data-open=true] .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; min-height: 0; }
.faq-a p { margin: 0; padding: 0 1.25rem 1rem; color: var(--ink-2); }
.two > * + * { margin-top: 2.75rem; }
.close .big { font-size: clamp(2.3rem, 7.5vw, 4.4rem); max-width: 16ch; }
.close-cta { margin: 1.5rem 0 0; }
/* Proof block: one fix story, right above the audit section. */
.proof-part { padding-bottom: 0; }
.proof { margin: 0; padding: 1.4rem 1.25rem; background: var(--lift); }
.proof-intro { margin: 0.6rem 0 0; color: var(--ink); max-width: 44rem; }
.proof blockquote { margin: 0.6rem 0 0; }
.proof blockquote p { margin: 0.75rem 0 0; color: var(--ink-2); max-width: 44rem; }
.proof .proof-lead { font: 400 clamp(1.35rem, 3.4vw, 1.75rem)/1.25 var(--serif); color: var(--ink); margin-top: 0.4rem; }
.proof .proof-bridge { color: var(--ink); border-top: 1px dashed var(--ink-2); padding-top: 0.75rem; }

/* Sample audit page: example data, framed as the "before" diagnostic. */
.sample { margin: 1.5rem 0 0; padding: 1.25rem; }
.sample figcaption { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; align-items: baseline; }
.sample-note { font: 400 0.76rem var(--mono); color: var(--faint); }
.sample h3 { font: 400 1.45rem/1.15 var(--serif); margin: 0.6rem 0 0.75rem; }
.sample-t { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.sample-t th, .sample-t td { text-align: left; vertical-align: top; padding: 0.6rem 0.5rem; border-top: 1px dashed var(--rule); }
.sample-t thead th { font: 400 0.68rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); border-top: 0; }
.sample-t tbody th { font: 400 1.05rem var(--serif); white-space: nowrap; }
.sample-t td { color: var(--ink-2); }
.sample-t td:last-child { color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sample-next { margin: 0.9rem 0 0; padding-top: 0.75rem; border-top: 1px solid var(--ink); color: var(--ink-2); }
.sample-next b { color: var(--ink); }
.guarantee { margin: 1.25rem 0 0; max-width: 44rem; color: var(--ink-2); }
.guarantee b { color: var(--ink); }
@media (max-width: 47.99rem) {
  .sample-t thead { display: none; }
  .sample-t tr { display: grid; grid-template-columns: 1fr auto; gap: 0.15rem 0.75rem; padding: 0.6rem 0; border-top: 1px dashed var(--rule); }
  .sample-t th, .sample-t td { padding: 0; border: 0; }
  .sample-t td:not(:last-child) { grid-column: 1 / -1; grid-row: 2; }
  .sample-t td:last-child { grid-row: 1; grid-column: 2; }
}

/* Build layers inside the steps table. */
.spec .layers { list-style: none; margin: 0.75rem 0 0; padding: 0; }
.spec .layers li { padding: 0.5rem 0; border-top: 1px dashed var(--rule); }
.spec .layers b { font: 400 1.02rem var(--serif); display: block; }
.spec .layers span { font-size: 0.95rem; }
.spec .layers .scope { display: grid; gap: 0.75rem; margin-top: 0.6rem; }
.spec .layers .scope h4 { font: 400 0.68rem var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin: 0 0 0.2rem; }
.spec .layers .scope ul { list-style: none; margin: 0; padding: 0; }
.spec .layers .scope li { border-top: 0; padding: 0.2rem 0 0.2rem 1rem; position: relative; font-size: 0.9rem; color: var(--ink-2); }
.spec .layers .scope li::before { content: "+"; position: absolute; left: 0; color: var(--ink); }
.spec .layers .scope section + section li::before { content: "\2212"; }
@media (min-width: 48rem) { .spec .layers .scope { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }

.site-foot { background: var(--sheet); border-top: 1px solid var(--ink); padding: 1.25rem 0 2.5rem; font: 400 0.76rem var(--mono); color: var(--faint); }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.site-foot a { color: var(--ink-2); display: inline-flex; align-items: center; min-height: 24px; }

@media (min-width: 48rem) {
  h1 { max-width: none; text-wrap: balance; }
  .who { grid-template-columns: repeat(3, 1fr); }
  .plot { grid-template-columns: 1fr 1fr; }
  .plot .col + .col { border-top: 0; border-left: 1px dashed var(--ink); }
  .cost { grid-template-columns: 1fr 1.15fr; }
  .cost > div + div { border-top: 0; border-left: 1px solid var(--ink); }
  .three { grid-template-columns: repeat(3, 1fr); }
  .three > div + div { border-top: 0; border-left: 1px solid var(--ink); }
  .notes { grid-template-columns: 1fr 1fr; }
  .spec th { width: 7.5rem; }
  .two > * + * { margin-top: 0; }
  .two { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
}
@media (min-width: 60rem) {
  .nav { display: flex; }
  .nav + .btn { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  h1 em svg path,
  .js .steps li.is-stuck .ring path,
  .js .after .steps li .tick path { stroke-dashoffset: 0; }
}
