:root {
  --page: #f5f5f3;
  --ink: #161616;
  --sheet: #ffffff;
  --grey-text: #565656;   /* 6.9:1 on --page */
  --rule: #d6d6d3;
  --on-dark-grey: #b5b5b2;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--sans);
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
  padding-bottom: env(safe-area-inset-bottom);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.site-header, main, .site-footer { max-width: 70rem; margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  background: var(--ink); color: #fff; padding: 10px 14px;
}
.skip:focus { top: 8px; }

a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.band-dark :focus-visible { outline-color: #fff; }

/* Header */
.site-header { padding: max(18px, env(safe-area-inset-top)) 0 10px; }
.wordmark {
  font: 800 1.875rem/1 var(--sans);
  font-stretch: 78%; font-variation-settings: "wdth" 78;
  letter-spacing: -0.01em; text-decoration: none; display: inline-block;
}

/* Type */
h1, h2, h3 {
  font-family: var(--sans); font-weight: 800; margin: 0;
  font-stretch: 78%; font-variation-settings: "wdth" 78;
  line-height: 1.02; letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.9rem, 1.6rem + 6.4vw, 5rem); text-wrap: balance; }
h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); }
h3 {
  font: 700 0.8125rem/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--grey-text); margin: 22px 0 8px; padding-top: 14px; border-top: 1px solid var(--rule);
}
p { margin: 0; }

/* Top: intro + report */
.top { display: grid; gap: 44px; padding: 20px 0 56px; }

.eyebrow {
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--grey-text); margin-bottom: 16px;
}
.lede { font-size: 1.25rem; line-height: 1.45; color: var(--grey-text); margin-top: 20px; max-width: 30rem; }
.offer { margin-top: 14px; max-width: 30rem; }
.offer strong { font-weight: 800; }

.actions { margin-top: 26px; }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 26px;
  background: var(--ink); color: #fff;
  font: 700 1.0625rem/1 var(--sans);
  text-decoration: none; border: 0; border-radius: 4px;
  touch-action: manipulation;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  transition: transform 160ms var(--ease-out), background-color 150ms ease;
}
.button:active { transform: scale(0.97); }

.email-line { display: flex; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.email { font-weight: 700; font-variant-numeric: tabular-nums; }

.copy {
  font: 700 0.9375rem/1 var(--sans);
  min-width: 78px; min-height: 44px; padding: 0 14px;
  background: var(--sheet); color: var(--ink);
  border: 1px solid var(--ink); border-radius: 4px; cursor: pointer;
  touch-action: manipulation;
  user-select: none; -webkit-user-select: none;
  transition: transform 160ms var(--ease-out), background-color 150ms ease;
}
.copy:active { transform: scale(0.97); }

@media (hover: hover) and (pointer: fine) {
  .button:hover { background: #3a3a3a; }
  .copy:hover { background: #ebebe8; }
}

/* Report document */
.report h2 { margin-bottom: 8px; }
.report-lead { color: var(--grey-text); margin-bottom: 18px; max-width: 34rem; }

.doc {
  background: var(--sheet); border: 1px solid var(--rule);
  border-top: 4px solid var(--ink);
  padding: 18px 16px 20px;
}
.doc-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px 12px;
  flex-wrap: wrap; padding-bottom: 10px; border-bottom: 2px solid var(--ink);
}
.doc-title { font: 800 1.375rem/1.1 var(--sans); font-stretch: 78%; font-variation-settings: "wdth" 78; }
.tag {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--ink); color: #fff; padding: 4px 8px; line-height: 1.2;
}

table { width: 100%; border-collapse: collapse; margin-top: 2px; font-variant-numeric: tabular-nums lining-nums; }
caption {
  caption-side: top; text-align: left; padding: 10px 0 8px;
  font-size: 0.875rem; color: var(--grey-text); line-height: 1.4;
}
thead th {
  font-size: 0.8125rem; font-weight: 700; color: var(--grey-text);
  padding: 6px 0 6px 8px; text-align: left; border-bottom: 1px solid var(--rule);
}
thead th:first-child { padding-left: 0; }
tbody th, tbody td { padding: 11px 0 11px 8px; border-bottom: 1px dashed var(--rule); vertical-align: top; text-align: left; }
tbody th { padding-left: 0; font-weight: 700; font-size: 1rem; line-height: 1.3; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 2px solid var(--ink); }
.num { text-align: right !important; white-space: nowrap; }
td.num { font-size: 1rem; }
td.num:last-child { font-weight: 800; font-size: 1.0625rem; }
.ref {
  display: block; font: 400 0.8125rem/1.3 var(--sans); color: var(--grey-text); margin-top: 3px;
}
.mark { position: relative; display: inline-block; }
.mark svg {
  position: absolute; left: -10px; top: -7px; width: calc(100% + 20px); height: calc(100% + 14px);
  max-width: none; overflow: visible; pointer-events: none;
}
.mark ellipse { fill: none; stroke: var(--ink); stroke-width: 2.2; vector-effect: non-scaling-stroke; }

.reply, .note { font-size: 1rem; line-height: 1.5; }
.reply { background: var(--page); border-left: 3px solid var(--ink); padding: 12px 14px; }
.note { color: var(--grey-text); }

/* Bands */
.band { display: grid; gap: 20px; padding: 40px 0 48px; border-top: 1px solid var(--ink); }
.band-dark {
  background: var(--ink); color: #f0f0ee; border-top: 0;
  box-shadow: 0 0 0 100vmax var(--ink); clip-path: inset(0 -100vmax);
  margin-top: 8px;
}
.band-head { display: grid; gap: 12px; }
.lead { font-size: 1.1875rem; line-height: 1.45; color: var(--on-dark-grey); max-width: 32rem; }

.steps {
  margin: 12px 0 0; padding: 0; list-style: none; counter-reset: s;
  display: grid; gap: 22px;
}
.steps li {
  counter-increment: s; border-top: 2px solid #fff; padding-top: 12px; font-size: 1.0625rem;
}
.steps li::before {
  content: counter(s); display: block; margin-bottom: 10px;
  font: 800 2.75rem/1 var(--sans); font-stretch: 70%; font-variation-settings: "wdth" 70;
  font-variant-numeric: lining-nums;
}
.privacy {
  margin-top: 8px; padding: 16px 18px; max-width: 46rem;
  border: 1px solid #5a5a58; color: #f0f0ee; font-size: 1rem; line-height: 1.5;
}

.band-body > * + * { margin-top: 14px; }
.band-body > p:first-child { font-size: 1.1875rem; line-height: 1.45; }
.contact {
  font: 800 clamp(1.5rem, 1rem + 2vw, 2rem)/1.1 var(--sans);
  font-stretch: 78%; font-variation-settings: "wdth" 78;
}
.contact a { text-underline-offset: 4px; text-decoration-thickness: 2px; }
.band-body .button { margin-top: 20px; }

.site-footer {
  border-top: 1px solid var(--rule); padding: 20px 0 32px;
  font-size: 0.9375rem; color: var(--grey-text);
}

/* Desktop: introduction beside the report */
@media (min-width: 60rem) {
  .top { grid-template-columns: minmax(0, 6fr) minmax(0, 5.6fr); gap: 72px; padding: 36px 0 72px; align-items: start; }
  .doc { padding: 22px 24px 24px; }
  .band { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; padding: 56px 0 64px; }
  .band-dark { grid-template-columns: 1fr; gap: 28px; }
  .band-head { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: end; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .privacy { max-width: none; font-size: 1.0625rem; }
  .band-dark .privacy { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .button, .copy { transition: none; }
  .button:active, .copy:active { transform: none; }
}

@media (max-width: 30rem) {
  .doc { padding-inline: 12px; }
  thead th, tbody td { padding-left: 6px; }
  .mark svg { left: -4px; top: -5px; width: calc(100% + 8px); height: calc(100% + 10px); }
  td.num:last-child { padding-left: 10px; }
}

/* Menu-price example */
.calc { margin: 0 0 12px; font-variant-numeric: tabular-nums lining-nums; }
.calc div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--rule); }
.calc dt { font-size: 1rem; line-height: 1.35; }
.calc dd { margin: 0; font-weight: 700; text-align: right; white-space: nowrap; }
.calc .total { border-bottom: 2px solid var(--ink); }
.calc .total dt, .calc .total dd { font-weight: 800; font-size: 1.0625rem; }
