/* Lintel tokens: the site's own (lintel-owner/site/app/styles/tokens.css and themes.css, the ember theme), value for
   value. Colour, type, radius, motion and layout. Nothing here is invented for the preview. */

@font-face {
  font-family: "Geist";
  src: url("fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("fonts/geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;

  /* ember */
  --bg: #191918;
  --surface-1: #212120;
  --surface-2: #292927;
  --surface-3: #333330;
  --border: #30302d;
  --border-strong: #42423e;
  --field-border: #6e6d67;
  --text-1: #f3f2ee;
  --text-2: #abaaa4;
  --text-3: #9c9b96;
  --text-signoff: #6e6d67;
  --accent: #fb732b;
  --accent-hover: #fe8e53;
  --accent-contrast: #1a0d04;
  /* status is a temperature: blue = settled, violet = waiting on an answer, the accent = needs you */
  --ok: #80aecf;
  --ok-fg: #8dbbdc;
  --warn: #d0aae2;
  --warn-fg: #d0aae2;
  --bad: #fb732b;
  --bad-fg: #ff9a5f;
  --chart-dim: #55544f;
  --chart-cell: #2d2d2b;
  --overlay: rgb(0 0 0 / 0.62);
  --hard-shadow: #121211;
  --accent-soft: color-mix(in srgb, var(--accent) 14%, transparent);
  --ok-soft: color-mix(in srgb, var(--ok) 14%, transparent);
  --warn-soft: color-mix(in srgb, var(--warn) 14%, transparent);
  --selection: color-mix(in srgb, var(--accent) 30%, transparent);

  /* type */
  --font-sans: "Geist", "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Geist Mono", "Cascadia Mono", Consolas, ui-monospace, monospace;

  /* radius */
  --r-panel: 14px;
  --r-card: 10px;
  --r-control: 8px;
  --r-chip: 6px;
  --r-pill: 999px;

  /* motion */
  --ease-panel: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-draw: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 140ms;
  --dur-panel: 220ms;

  --shadow-float: 0 16px 40px -12px rgb(0 0 0 / 0.55), 0 2px 8px rgb(0 0 0 / 0.24);

  /* layout */
  --header-h: 56px;
  --gutter: max(16px, env(safe-area-inset-left));
  --gutter-r: max(16px, env(safe-area-inset-right));
}
@media (min-width: 640px) {
  :root {
    --gutter: max(24px, env(safe-area-inset-left));
    --gutter-r: max(24px, env(safe-area-inset-right));
  }
}
@media (min-width: 1024px) {
  :root {
    --gutter: max(48px, env(safe-area-inset-left));
    --gutter-r: max(48px, env(safe-area-inset-right));
  }
}

/* The paper theme (the site's "kertas"), for a report that is printed or saved as a PDF. */
.paper,
[data-theme="kertas"] {
  color-scheme: light;
  --bg: #f3efe7;
  --surface-1: #faf8f3;
  --surface-2: #ffffff;
  --surface-3: #efebe1;
  --border: #e3ded2;
  --border-strong: #cfc8b8;
  --field-border: #8c8676;
  --text-1: #25221c;
  --text-2: #5d584e;
  --text-3: #6f695d;
  --accent: #b3471d;
  --accent-hover: #9a3914;
  --accent-contrast: #ffffff;
  --ok: #1a8758;
  --ok-fg: #036942;
  --warn: #a36c03;
  --warn-fg: #7f5302;
  --bad: #c53b2c;
  --bad-fg: #ad2115;
  --chart-dim: #cfc8b8;
  --chart-cell: #ece7dc;
}

/* Base: the page, the type roles, the frame. Charcoal page, the dot canvas behind everything, no grids or gradients as
   backgrounds, depth from surface steps (no shadows on cards). */

*,
::before,
::after {
  box-sizing: border-box;
  border: 0 solid var(--border);
}

html {
  font-size: 100%;   /* the reader's own text size: every size below is in rem and follows it */
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  min-height: 100dvh;
  background: transparent;
  color: var(--text-1);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 400;
  font-synthesis: none;
  overflow-x: clip;
  overflow-wrap: break-word;      /* a word too long for its line (an invoice number, an email, a long name) breaks instead of running off the page */
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
  padding: 0;
}
ul,
ol {
  list-style: none;
}
h1,
h2,
h3,
h4 {
  font-weight: 500;
  font-size: inherit;
}
b,
strong {
  font-weight: 600;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
}
button {
  background: none;
  padding: 0;
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}
table {
  border-collapse: collapse;
  width: 100%;
}
th,
td {
  padding: 0;
  text-align: left;
  font-weight: inherit;
}
::selection {
  background: var(--selection);
  color: var(--text-1);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
:focus:not(:focus-visible) {
  outline: none;
}
input::placeholder,
textarea::placeholder {
  color: var(--text-3);
  opacity: 1;
}
[hidden] {
  display: none !important;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track,
::-webkit-scrollbar-corner {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  min-height: 40px;
  border: 4px solid transparent;
  border-radius: 999px;
  background-color: var(--border-strong);
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-3);
}

/* the page's only backdrop: 1.5px squares every 28px, fixed behind everything */
.dot-canvas {
  position: fixed;
  inset: 0;
  z-index: -10;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ── frame ─────────────────────────────────────────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}
.column {
  max-width: 680px;
  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;
}

/* ── type roles (the site's: titles 500 only, figures in the mono, labels in mono capitals) ─────────────────── */
.t-display {
  font-size: 2.25rem;
  line-height: 2.625rem;
  font-weight: 500;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.t-title {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 500;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.t-heading {
  font-size: 1.375rem;
  line-height: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
/* the large reading size, for phones and older readers */
.t-row {
  font-size: 1.25rem;
  line-height: 1.8125rem;
  text-wrap: pretty;
}
.t-lead {
  font-size: 1.125rem;
  line-height: 1.6875rem;
  text-wrap: pretty;
}
.t-body {
  font-size: 1rem;
  line-height: 1.5rem;
  text-wrap: pretty;
}
.t-small {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.t-micro {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  line-height: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.t-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.t-kpi {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  line-height: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.t-hero-num {
  font-family: var(--font-mono);
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}
@media (min-width: 640px) {
  .t-display {
    font-size: 3.375rem;
    line-height: 3.75rem;
  }
  .t-title {
    font-size: 2.375rem;
    line-height: 2.75rem;
  }
  .t-heading {
    font-size: 1.5rem;
    line-height: 1.875rem;
  }
  .t-row {
    font-size: 1.375rem;
    line-height: 2rem;
  }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .t-display {
    font-size: 2.75rem;
    line-height: 3.125rem;
  }
}

.c-1 {
  color: var(--text-1);
}
.c-2 {
  color: var(--text-2);
}
.c-3 {
  color: var(--text-3);
}
.c-accent {
  color: var(--accent);
}
.c-blue {
  color: var(--ok-fg);
}
.hot {
  color: var(--accent);
}
.center {
  text-align: center;
}
.nowrap {
  white-space: nowrap;
}

/* ── keyframes (the site's) ──────────────────────────────────────────────────────────────────────────────── */
@keyframes fade-in {
  from {
    opacity: 0;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
@keyframes rise-y {
  from {
    transform: translateY(6px);
  }
}
@keyframes caption-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
@keyframes badge-in {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
}
@keyframes draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes hold {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes rail {
  from {
    transform: scaleY(0);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
/* the Lintel mark goes up: posts rise from the ground, then the beam settles onto them */
@keyframes lintel-post {
  from {
    transform: scaleY(0);
  }
}
@keyframes lintel-beam {
  from {
    opacity: 0;
    transform: translateY(-45%);
  }
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  30% {
    opacity: 1;
  }
}
/* a soft band moves down a document while it is read */
@keyframes scan {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(520%);
  }
}

.rise {
  animation: rise var(--dur-panel) var(--ease-panel) both;
}
.rise-y {
  animation: rise-y var(--dur-panel) var(--ease-panel) both;
}

/* ── scroll-in entrances (the site's Reveal): a block below the fold is armed, then shown once it scrolls in ── */
.rs-grow {
  transform-origin: left center;
  transition:
    transform 900ms var(--ease-panel) var(--rs-delay, 0ms),
    opacity 140ms ease-out;
}
.rs-fade {
  transition:
    opacity 560ms var(--ease-panel) var(--rs-delay, 0ms),
    transform 560ms var(--ease-panel) var(--rs-delay, 0ms);
}
.rs-pop {
  transition:
    opacity 320ms var(--ease-panel) var(--rs-delay, 0ms),
    transform 320ms var(--ease-panel) var(--rs-delay, 0ms);
}
.rs-line {
  transform-origin: top center;
  transition: transform 640ms var(--ease-draw) var(--rs-delay, 0ms);
}
[data-reveal="armed"] :is(.rs-grow, .rs-fade, .rs-pop, .rs-line) {
  transition: none;
}
[data-reveal="armed"] .rs-grow {
  transform: scaleX(0);
}
[data-reveal="armed"] .rs-fade {
  opacity: 0;
  transform: translateY(12px);
}
[data-reveal="armed"] .rs-pop {
  opacity: 0;
  transform: scale(0.4);
}
[data-reveal="armed"] .rs-line {
  transform: scaleY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal="armed"] :is(.rs-grow, .rs-fade, .rs-pop, .rs-line) {
    transform: none !important;
    opacity: 1 !important;
  }
}

/* a field inside a label that is kept off the screen takes no room of its own either */
.sr-only > input {
  width: 1px;
  height: 1px;
  min-width: 0;
  padding: 0;
  border: 0;
}

/* Components: the pieces every page shares. Materials are the site's own: surface-1 panels with hairline borders, mono
   micro labels, tabular mono figures, filled orange ticks, rails between steps. Orange is used sparingly. */

/* ── the brand lockup: the Bearing mark on its own in the accent, then the word in the primary text colour ── */
.lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--r-control);
}
.lockup__words {
  display: flex;
  flex-direction: column;
}
.lockup__name {
  font-size: 0.8125rem;
  line-height: 1rem;
  font-weight: 500;
  color: var(--text-1);
}
.lockup__sub {
  color: var(--text-3);
}
.mark {
  flex: none;
  fill: var(--accent);
}
.mark--rising .mark__post {
  transform-box: fill-box;
  transform-origin: bottom;
  animation: lintel-post 460ms var(--ease-panel) 260ms both;
}
.mark--rising .mark__post + .mark__post {
  animation-delay: 350ms;
}
.mark--rising .mark__beam {
  transform-box: fill-box;
  transform-origin: center;
  animation: lintel-beam 560ms var(--ease-panel) 640ms both;
}
[data-reveal="armed"] .mark--rising :is(.mark__post, .mark__beam) {
  animation-play-state: paused;
}

/* ── buttons (the app's Button: two quiet sizes; thumb-sized on phones) ──────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--r-control);
  font-size: 0.9375rem;
  line-height: 1.25rem;
  font-weight: 500;
  white-space: nowrap;
  user-select: none;
  transition:
    background-color var(--dur-fast) ease-out,
    border-color var(--dur-fast) ease-out,
    color var(--dur-fast) ease-out,
    opacity var(--dur-fast) ease-out;
}
.btn svg {
  flex: none;
  width: 16px;
  height: 16px;
}
.btn--primary {
  background: var(--accent);
  color: var(--accent-contrast);
}
.btn--primary:not(:disabled):hover {
  background: var(--accent-hover);
}
.btn--secondary {
  border-color: var(--border);
  background: var(--surface-3);
  color: var(--text-1);
}
.btn--secondary:not(:disabled):hover {
  border-color: var(--border-strong);
}
.btn--secondary:not(:disabled):active {
  background: var(--surface-2);
}
/* the bot check's box: it holds something only when Cloudflare wants a click */
.human {
  margin-top: 12px;
}
body > .human {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 60;
  margin: 0;
  transform: translateX(-50%);
}
.btn--ghost {
  background: transparent;
  color: var(--text-2);
}
.btn--ghost:not(:disabled):hover {
  background: var(--surface-3);
  color: var(--text-1);
}
.btn:disabled {
  opacity: 0.45;
}
.btn--lg {
  height: 52px;
  padding: 0 22px;
  font-size: 1.0625rem;
  font-weight: 600;
  border-radius: var(--r-card);
}
.btn--block {
  width: 100%;
}
@media (min-width: 640px) {
  .btn {
    height: 40px;
    font-size: 0.875rem;
  }
  .btn--lg {
    height: 52px;
    font-size: 1.0625rem;
  }
}

/* a text link inside copy: underlined in the strong border, the accent on hover */
.link {
  color: var(--text-1);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color var(--dur-fast) ease-out;
}
.link:hover {
  text-decoration-color: var(--accent);
}
.link--arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}
.link--arrow svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}
.link--arrow:hover svg {
  transform: translateX(3px);
}

/* ── the page's one call to action: a full pill in the accent on a solid offset shadow, the arrow in its own dark
   disc. Flat, like the rest of Lintel: no glow, no gloss. A press sinks it into its shadow. ─────────────────── */
.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  height: 60px;
  padding: 0 8px 0 30px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--accent-contrast);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  max-width: 100%;      /* never wider than the place it stands in */
  box-shadow: 5px 6px 0 0 var(--hard-shadow);
  transition:
    transform var(--dur-fast) ease-out,
    box-shadow var(--dur-fast) ease-out,
    background-color var(--dur-fast) ease-out;
}
.cta:hover {
  background: var(--accent-hover);
}
.cta:active {
  transform: translate(3px, 4px);
  box-shadow: 2px 2px 0 0 var(--hard-shadow);
}
.cta__disc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  background: var(--accent-contrast);
  color: var(--accent);
  overflow: hidden;
}
.cta__disc svg {
  width: 18px;
  height: 18px;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}
.cta:hover .cta__disc svg {
  transform: translateX(3px);
}
.cta--down:hover .cta__disc svg {
  transform: translateY(3px);
}
@media (max-width: 639px) {
  .cta {
    width: 100%;
    justify-content: space-between;
  }
}

/* ── the small mono label above a title: index, a short rule, the words, all in the solid accent ─────────── */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 20px;
  color: var(--accent);
}
.eyebrow__rule {
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.sec-head {
  max-width: 600px;
}
.sec-head .t-title {
  margin-top: 12px;
}
.sec-head__intro {
  margin-top: 16px;
  color: var(--text-2);
}
.sec-head--center {
  margin-inline: auto;
  text-align: center;
}
.sec-head--center .eyebrow {
  justify-content: center;
}

/* ── panels and cells ──────────────────────────────────────────────────────────────────────────────────── */
.panel {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--r-panel);
  background: var(--surface-1);
}
.panel--pad {
  padding: 24px;
}
@media (min-width: 640px) {
  .panel--pad {
    padding: 32px;
  }
}
/* the accent rule drawn along a panel's top edge */
.panel__rule {
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: translateY(-1px);
  transform-origin: left center;
}
/* a faint field of the page's own dots in a panel's corner */
.panel__dots {
  position: absolute;
  top: -8px;
  right: 0;
  z-index: 0;
  width: 320px;
  height: 288px;
  max-width: 100%;
  pointer-events: none;
  mask-image: radial-gradient(closest-side at 70% 35%, black, transparent);
  -webkit-mask-image: radial-gradient(closest-side at 70% 35%, black, transparent);
}
/* cells share hairlines: a grid with 1px gaps on the border colour */
.cells {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-panel);
  background: var(--border);
}
.cells > * {
  background: var(--surface-1);
  padding: 20px;
}
.cells--canvas > * {
  background: var(--bg);
}
@media (min-width: 640px) {
  .cells > * {
    padding: 24px;
  }
}

/* a label with a hairline running out to the right */
.ruled-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-3);
}
.ruled-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── verdict marks: a small square and mono capitals. Blue = fine, violet = ask, the accent = needs you ──── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  line-height: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tag::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  background: currentColor;
}
.tag--ok {
  color: var(--ok-fg);
}
.tag--ask {
  color: var(--warn-fg);
}
.tag--bad {
  color: var(--accent);
}
.tag--na {
  color: var(--text-3);
}

/* a source citation, always in the accent */
.cite {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--accent);
}

/* ── custom icons: drawn on the mark's own 16-unit grid, in whole squares, one block in the accent ───────── */
.pix {
  flex: none;
  width: 32px;
  height: 32px;
  color: var(--text-2);
  shape-rendering: crispEdges;
}
.pix--48 {
  width: 48px;
  height: 48px;
}
.pix--64 {
  width: 64px;
  height: 64px;
}
.pix-a {
  fill: var(--accent);
}
.pix-d {
  fill: var(--chart-dim);
}
.pix-m {
  fill: currentColor;
}
.tile {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface-1);
}
.ico {
  flex: none;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── steps on a rail (the thank-you panel's): a filled disc with a tick, or a ring with a slow pulse ─────── */
.step {
  position: relative;
  display: flex;
  gap: 16px;
  padding-bottom: 24px;
}
.step:last-child {
  padding-bottom: 0;
}
.step__rail {
  position: absolute;
  top: 28px;
  bottom: 4px;
  left: 11.5px;
  width: 1px;
  background: var(--border-strong);
  transform-origin: top center;
}
.step__rail--on {
  background: var(--accent);
}
.dot {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 1.5rem;       /* in the reader’s text size, so the number inside always has room */
  height: 1.5rem;
  border-radius: var(--r-pill);
}
.dot--done {
  background: var(--accent);
  color: var(--accent-contrast);
}
.dot--todo {
  border: 1px solid var(--border-strong);
  background: var(--surface-1);
}
.dot--todo::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--accent);
  animation: pulse-dot 1800ms ease-in-out infinite;
}
.dot--num {
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
}
.dot--num.is-on {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-contrast);
}

/* ── the statement as a ledger: labels left, amounts right in tabular mono, hairline between lines ───────── */
.ledger {
  padding: 20px 20px 18px;
}
.ledger__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-3);
}
.ledger__addr {
  margin-top: 6px;
  font-size: 0.9375rem;
  line-height: 1.375rem;
  color: var(--text-2);
}
.ledger__rows {
  margin-top: 12px;
}
.ledger__rows tr {
  border-top: 1px solid var(--border);
}
.ledger__rows th,
.ledger__rows td {
  position: relative;
  padding: 9px 0;
  vertical-align: top;
  font-size: 0.9375rem;
  line-height: 1.375rem;
}
.ledger__rows th {
  color: var(--text-1);
  padding-right: 12px;
}
.ledger__rows td {
  width: 1%;
  text-align: right;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-1);
}
.ledger__rows .is-quiet th,
.ledger__rows .is-quiet td {
  color: var(--text-2);
}
/* a marked line: an orange marker in the left margin and a short note under the label */
.ledger__rows .is-flag th::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 9px;
  bottom: 9px;
  width: 3px;
  background: var(--accent);
}
.ledger__note {
  display: block;
  margin-top: 2px;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--text-2);
}
.ledger__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 0;
  padding-top: 12px;
  border-top: 1px solid var(--border-strong);
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
}
.ledger__total .num {
  font-size: 0.9375rem;
}
@media (min-width: 640px) {
  .ledger {
    padding: 24px 28px 22px;
  }
  .ledger__rows .is-flag th::before {
    left: -28px;
  }
}

/* ── ruled rows that open (questions, messages): a plus that turns to a minus, in the accent ─────────────── */
.acc {
  border-top: 1px solid var(--border);
}
.acc:last-of-type {
  border-bottom: 1px solid var(--border);
}
.acc > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 16px 0;
  list-style: none;
  cursor: pointer;
  font-size: 1.125rem;
  line-height: 1.625rem;
  font-weight: 500;
  color: var(--text-1);
}
.acc > summary::-webkit-details-marker {
  display: none;
}
.acc__sign {
  position: relative;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  transition: background-color var(--dur-fast) ease-out;
}
.acc__sign::before,
.acc__sign::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 7px;
  width: 10px;
  height: 2px;
  background: var(--accent);
  transition: transform var(--dur-panel) var(--ease-panel);
}
.acc__sign::after {
  transform: rotate(90deg);
}
.acc[open] .acc__sign::after {
  transform: rotate(0deg);
}
.acc > summary:hover .acc__sign {
  background: var(--surface-3);
}
.acc__body {
  padding: 0 40px 20px 0;
  color: var(--text-2);
  font-size: 1.0625rem;
  line-height: 1.625rem;
}
.acc__body p + p {
  margin-top: 10px;
}

/* ── fields ───────────────────────────────────────────────────────────────────────────────────────────── */
.field {
  display: block;
}
.field__label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9375rem;
  line-height: 1.375rem;
  font-weight: 500;
  color: var(--text-1);
}
.input {
  display: block;
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--field-border);
  border-radius: var(--r-card);
  background: var(--bg);
  color: var(--text-1);
  font-size: 1.0625rem;
  transition: border-color var(--dur-fast) ease-out;
}
.input:hover {
  border-color: var(--text-3);
}
.input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.input.is-invalid {
  border-color: var(--bad-fg);
}
.field__error {
  margin-top: 8px;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--bad-fg);
}

/* ── a sheet that asks one thing (the email gate) ─────────────────────────────────────────────────────── */
.sheet {
  width: min(460px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-panel);
  background: var(--surface-1);
  color: var(--text-1);
  box-shadow: var(--shadow-float);
}
.sheet[open] {
  animation: dialog-in var(--dur-panel) var(--ease-panel) both;
}
.sheet::backdrop {
  background: var(--overlay);
  animation: fade-in 60ms var(--ease-panel) both;
}
.sheet__in {
  position: relative;
  padding: 28px 24px 24px;
}
.sheet__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-control);
  color: var(--text-2);
}
.sheet__close:hover {
  background: var(--surface-3);
  color: var(--text-1);
}

/* a quiet line under an example */
.fineprint {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--text-3);
}

/* a thin outline with a small orange label: a note that matters (never a tinted box with a side bar) */
.callout {
  border: 1px solid var(--accent);
  border-radius: var(--r-card);
  padding: 16px 18px;
  color: var(--text-1);
}
.callout__label {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
}
.callout--quiet {
  border-color: var(--border-strong);
}
.callout--quiet .callout__label {
  color: var(--text-3);
}

/* measured bars on one shared scale */
.bar {
  height: 8px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}
.bar__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--text-signoff);
}
.bar__fill--accent {
  background: var(--accent);
}

/* On a small phone a button wraps its words when they do not fit (a long label, or a reader who has set very large
   text) instead of letting them run past its edge. At the usual text size every button still sits on one line. */
@media (max-width: 420px) {
  .btn {
    height: auto;
    min-height: 44px;
    padding-top: 8px;
    padding-bottom: 8px;
    white-space: normal;
    text-align: center;
  }
  .btn--lg {
    min-height: 52px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

/* a field never asks for more room than its place has, whatever the text size */
.field {
  min-width: 0;
}
.input {
  min-width: 0;
  max-width: 100%;
}

/* A button is never wider than the place it stands in: its words go to a second line first. */
.btn {
  max-width: 100%;
}
/* The main call keeps to one line wherever its words fit (every phone at ordinary text sizes). Where they cannot fit,
   as with very large text on a phone, they break instead of running off the screen, and the button grows with them. */
.cta > span:not(.cta__disc) {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
.cta {
  height: auto;
  min-height: 60px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.cta .cta__disc {
  flex: none;
}

/* a button marked as not available for a moment (the PDF while it is made) looks as a switched-off one does, and a
   pointer does nothing on it. It keeps the keyboard's place. */
.btn[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}

/* Sections: the header, the hero, the footer and each part of the pages. Phone first: 375px wide, 16px gutters,
   no sideways scroll, big tap targets. Then desktop. */

/* ── header: solid, 56px, sticky ────────────────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.site-header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--header-h);      /* at least this tall: with very large text the name takes the room it needs */
}
.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 10;
  padding: 8px 12px;
  border-radius: var(--r-control);
  background: var(--surface-2);
  color: var(--text-1);
}
.skip:focus {
  top: 12px;
}
.site-nav {
  display: none;
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 12px;
  border-radius: var(--r-control);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--text-2);
  transition:
    background-color var(--dur-fast) ease-out,
    color var(--dur-fast) ease-out;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text-1);
}
.site-nav a:hover {
  background: var(--surface-2);
}
.site-header__end {
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-header__cta {
  height: 40px;
  font-size: 0.875rem;
}
body[data-page="check"] .site-header__cta {
  display: none;
}
.site-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border-radius: var(--r-control);
  color: var(--text-1);
}
.site-menu-btn .ico {
  width: 20px;
  height: 20px;
}
.site-menu-btn:hover {
  background: var(--surface-2);
}
.site-menu {
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.site-menu ul {
  display: flex;
  flex-direction: column;
  padding-top: 8px;
  padding-bottom: 12px;
}
.site-menu a {
  display: flex;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--border);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-1);
}
.site-menu li:last-child a {
  border-bottom: 0;
  color: var(--accent);
}
/* phones: the mark and the name alone, so the button and the menu fit on one line */
@media (max-width: 479px) {
  .site-header .lockup__sub {
    display: none;
  }
}
@media (min-width: 860px) {
  .site-nav {
    display: block;
  }
  .site-menu-btn,
  .site-menu {
    display: none !important;
  }
}

/* ── sections ─────────────────────────────────────────────────────────────────────────────────────────── */
.sec {
  position: relative;
  padding-block: 64px;
}
.sec--tight {
  padding-block: 40px;
}
.sec--ruled {
  border-top: 1px solid var(--border);
}
@media (min-width: 640px) {
  .sec {
    padding-block: 104px;
  }
  .sec--tight {
    padding-block: 64px;
  }
}

/* ── hero: the owner's line, what we do about it, one button; beside it, a rental and its statement ─────── */
.hero {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
}
.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 48px;
}
.hero__words {
  text-align: center;
}
.hero__words .t-display {
  max-width: 640px;
  margin-inline: auto;
}
/* each ad's own line: only the default shows, unless the visit came with a tag (the layout's script) */
.hero [data-v]:not([data-v="default"]) {
  display: none;
}
/* the answer half of the page's own headline starts on its own line */
.hero__turn {
  display: block;
}
/* a visit from an ad keeps that ad's line as the headline, so the page's own framing moves into the sentence under it */
.hero [data-ad-only] {
  display: none;
}
html[data-ad] .hero [data-ad-only] {
  display: inline;
}
.hero__sub {
  max-width: 540px;
  margin: 24px auto 0;
  color: var(--text-2);
}
.hero__sub b {
  font-weight: 500;
  color: var(--text-1);
}
.hero__actions {
  margin-top: 28px;
}
.hero__promise {
  margin-top: 16px;
  font-size: 0.9375rem;
  line-height: 1.5rem;
  color: var(--text-2);
}
.hero__second {
  margin-top: 4px;
  font-size: 1rem;
}
.hero__art {
  position: relative;
  max-width: 640px;
  width: 100%;
  margin-inline: auto;
}
.hero-fig {
  position: relative;
}
.hero-fig .town {
  width: 100%;
  height: auto;
}
/* the statement of one house in the town, on a leader line */
.hero-card {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 16px 18px 18px;
  background: var(--surface-1);
}
.hero-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-3);
}
.hero-card__big {
  margin-top: 10px;
  font-size: 1.1875rem;
  line-height: 1.625rem;
  font-weight: 500;
  color: var(--text-1);
}
.hero-card__big .num {
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--accent);
}
.hero-card__ticks {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 3px;
  margin-top: 12px;
}
.hero-card__ticks span {
  height: 8px;
  background: var(--surface-3);
}
.hero-card__ticks .is-on {
  background: var(--accent);
}
.hero-card__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  font-size: 0.9375rem;
  line-height: 1.375rem;
  color: var(--text-2);
}
.hero-card__foot .num {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-1);
}
.hero-fig__lead {
  position: absolute;
  z-index: 1;
  left: 17.6%;
  top: 0;
  width: 1px;
  height: 0;
  background: var(--accent);
  pointer-events: none;
}
.hero-fig__lead::after {
  content: "";
  position: absolute;
  left: -5.5px;
  bottom: -6px;
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--accent);
  border-radius: var(--r-pill);
  background: var(--bg);
}
.hero__art .fineprint {
  margin-top: 4px;
  text-align: center;
}
@media (max-width: 899px) {
  /* phones: the card sits above the town, its line dropping to the house */
  .hero-fig .town {
    margin-top: -6%;
  }
  .hero-fig__lead {
    top: 100px;
    height: calc(36% - 20px);
  }
}
@media (min-width: 900px) {
  .hero__in {
    grid-template-columns: minmax(0, 1fr) minmax(0, min(560px, 47%));
    align-items: center;
    gap: 48px;
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .hero__words {
    text-align: left;
  }
  .hero__words .t-display,
  .hero__sub {
    margin-inline: 0;
  }
  .hero-fig {
    padding-top: 40px;
  }
  .hero-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 280px;
  }
  .hero-fig__lead {
    top: 120px;
    height: calc(47% - 96px);
  }
}

/* the town in grey at a whisper, off each edge of a centred section (the live owner page's backdrop) */
.backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 72%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 18%, black 72%, transparent);
}
.backdrop .town {
  position: absolute;
  width: 640px;
  max-width: none;
  height: auto;
  opacity: 0.16;
}
.backdrop .town :is(path, ellipse) {
  fill: none !important;
  stroke: var(--text-3) !important;
}
.backdrop .town:first-child {
  left: 0;
  top: 6%;
  transform: translateX(-40%);
  mask-image: linear-gradient(to right, black 40%, transparent 82%);
  -webkit-mask-image: linear-gradient(to right, black 40%, transparent 82%);
}
.backdrop .town:last-child {
  right: 0;
  top: 22%;
  transform: translateX(40%) scaleX(-1);
  mask-image: linear-gradient(to right, black 40%, transparent 82%);
  -webkit-mask-image: linear-gradient(to right, black 40%, transparent 82%);
}
@media (max-width: 1023px) {
  .backdrop {
    display: none;
  }
}

/* ── footer ───────────────────────────────────────────────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.site-footer__top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 24px;
  padding-block: 64px;
}
.site-footer__brand {
  grid-column: 1 / -1;
  max-width: 380px;
}
.site-footer__blurb {
  margin-top: 16px;
  font-size: 0.9375rem;
  line-height: 1.375rem;
  color: var(--text-2);
}
.site-footer nav ul {
  display: flex;
  flex-direction: column;
  margin-top: 6px;
}
.site-footer nav a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  font-size: 0.9375rem;
  color: var(--ok-fg);
  transition: color var(--dur-fast) ease-out;
}
.site-footer nav a:hover {
  color: var(--text-1);
}
.site-footer nav a .ico {
  width: 12px;
  height: 12px;
  stroke-width: 2;
}
.site-footer__base {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-block: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--text-2);
}
.site-footer__scene {
  position: relative;
  overflow: hidden;
}
.footer-scene {
  position: relative;
  left: 50%;
  display: block;
  width: 100%;
  min-width: 1400px;
  max-width: none;
  height: auto;
  transform: translateX(calc(-50% + 260px));
}
.site-footer__signoff {
  position: absolute;
  inset-inline: 0;
  top: 7%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
  pointer-events: none;
  user-select: none;
}
.site-footer__signoff .mark {
  width: clamp(56px, 11vw, 112px);
  height: clamp(56px, 11vw, 112px);
}
.site-footer__signoff span {
  /* the smallest size is the usual one on every phone from 320 wide. With very large text it stops at what the window holds */
  font-size: clamp(min(4rem, 20vw), 15vw, 10.5rem);
  line-height: 0.8;
  font-weight: 600;
  letter-spacing: -0.05em;
  color: var(--text-signoff);
}
@media (min-width: 640px) {
  .site-footer__top {
    padding-block: 80px;
  }
  .site-footer__base {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .footer-scene {
    transform: translateX(-50%);
  }
}
@media (min-width: 900px) {
  .site-footer__top {
    grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
  .site-footer__brand {
    grid-column: auto;
  }
}

/* ── the owner quotes on a picker wheel (the live site's, class for class) ──────────────────────────────── */
.quotes {
  padding-top: 24px;
  padding-bottom: 40px;
}
.quotes__trust {
  margin-top: 8px;
}
.quotes__trust span {
  display: block;
}
.quotes__balance {
  max-width: 460px;
  margin: 16px auto 0;
}
.wheel {
  --wheel-row: 268px;
  position: relative;
  width: 100%;
  max-width: 680px;
  overflow-x: clip;      /* a row never reaches past the wheel's own width */
  margin-inline: auto;
  height: calc(var(--wheel-row) * 2.55);
  margin-top: calc(var(--wheel-row) * -0.27);
  perspective: 900px;
  touch-action: manipulation;
  mask-image: linear-gradient(to bottom, transparent, transparent calc(var(--wheel-row) * 0.2), black calc(var(--wheel-row) * 0.38), black 82%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, transparent calc(var(--wheel-row) * 0.2), black calc(var(--wheel-row) * 0.38), black 82%, transparent);
}
.wheel__mid {
  top: calc(var(--wheel-row) * 0.95);
}
.wheel__band {
  position: absolute;
  left: 12px;
  right: 12px;
  height: var(--wheel-row);
  transform: translateY(-50%);
  pointer-events: none;
}
.wheel__controls {
  z-index: 10;
}
.wheel__measure {
  position: absolute;
  inset: 0 0 auto;
  z-index: -10;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}
.wheel__row-in {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-inline: 20px;
  text-align: center;
}
.wheel__row {
  position: absolute;
  left: 0;
  right: 0;
  height: var(--wheel-row);
  transition-property: transform, opacity;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  backface-visibility: hidden;
  will-change: transform, opacity;
}
.wheel__q {
  font-size: 1.125rem;
  line-height: 1.6875rem;
  text-wrap: pretty;
  color: var(--text-2);
}
.wheel__row[data-lit] .wheel__q {
  color: var(--text-1);
}
.wheel__mark {
  font-weight: 600;
  color: var(--accent);
}
.wheel__who {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.wheel__face-svg {
  position: absolute;
  inset: 0;
  overflow: visible;
}
.wheel__face {
  fill: color-mix(in srgb, var(--surface-1) 55%, var(--bg));
  transition: fill 160ms ease-out;
}
.wheel[data-pressed] .wheel__face {
  fill: var(--surface-2);
  transition-duration: 90ms;
}
.wheel__corner {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
}
.wheel__tab {
  white-space: nowrap;
  color: var(--text-2);
  font-size: min(0.75rem, 4.4vw);      /* the usual size on every phone. With very large text the label stops at what its band holds */
  line-height: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.wheel__probe {
  position: absolute;
  top: 0;
  left: 0;
  visibility: hidden;
}
.wheel__tab-box {
  position: absolute;
  left: 50%;
  display: flex;
  align-items: center;
  height: 24px;
}
.wheel__tab-box--top {
  top: 0;
  transform: translate(-50%, -50%);
}
.wheel__tab-box--bottom {
  bottom: 0;
  transform: translate(-50%, 50%);
}
.wheel__tab-in {
  animation: fade-in 420ms 260ms both;
}
.wheel__id {
  color: var(--ok-fg);
}
.wheel__count {
  position: absolute;
  right: 16px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wheel__odo {
  display: inline-flex;
  color: var(--text-2);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.wheel__odo-cell {
  display: inline-block;
  height: 1em;
  line-height: 1em;
  overflow: hidden;
}
.wheel__odo-col {
  display: flex;
  flex-direction: column;
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
.wheel__count-rule {
  width: 1px;
  height: 10px;
  background: var(--text-3);
  opacity: 0.6;
  transform: rotate(20deg);
}
.wheel__count-total {
  color: var(--text-3);
  font-size: 0.6875rem;
  line-height: 0.875rem;
  letter-spacing: 0.04em;
}
/* the play or pause disc: grey with pause while rolling, orange with play once stopped; 24px drawn, 44px to the finger */
.wheel__disc {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  box-sizing: content-box;
  padding: 10px;
  margin: -10px -10px -10px -6px;
  border-radius: 999px;
  background: var(--surface-3);
  background-clip: content-box;
  color: var(--text-1);
  pointer-events: auto;
  transition:
    background-color 140ms ease-out,
    transform 100ms ease-out;
}
.wheel__disc[data-held] {
  background-color: var(--accent);
  color: var(--accent-contrast);
}
@media (hover: hover) {
  .wheel__disc:hover {
    background-color: var(--border-strong);
  }
  .wheel__disc[data-held]:hover {
    background-color: var(--accent-hover);
  }
}
.wheel__disc:active {
  transform: scale(0.92);
}
.wheel__disc:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -8px;
}
.wheel__disc[data-nudge] {
  animation: wheel-nudge 260ms ease-out;
}
@keyframes wheel-nudge {
  40% {
    transform: scale(1.15);
  }
}
@media (max-width: 359px) {
  .wheel {
    --wheel-row: 300px;
  }
}
@media (min-width: 640px) {
  .wheel {
    --wheel-row: 236px;
  }
  .wheel__row-in {
    padding-inline: 40px;
  }
  .wheel__q {
    font-size: 1.3125rem;
    line-height: 1.9375rem;
  }
  .wheel__tab,
  .wheel__who {
    font-size: 0.8125rem;
    line-height: 1.125rem;
  }
  .wheel__count {
    top: 12px;
    bottom: auto;
  }
  .quotes__trust span {
    display: inline;
  }
}

/* touch screens: the header's button is a full finger tall */
@media (max-width: 859px) {
  .site-header__cta {
    height: 44px;
  }
}
/* the smallest phones (320 wide): the mark, the name, the button and the menu still fit on one line, so the page
   never scrolls sideways. The words of the button stay as they are: only the space around them gets tighter. */
@media (max-width: 359px) {
  .site-header__in {
    gap: 6px;
  }
  .site-header__end {
    gap: 6px;
  }
  .site-header__cta {
    padding-left: 8px;
    padding-right: 8px;
    font-size: 0.8125rem;
    white-space: nowrap;
  }
  .site-header .lockup {
    gap: 6px;
  }
}
/* touch screens: the things a finger presses are a finger tall and wide (44 px). Links inside a sentence stay as they are. */
@media (max-width: 859px) {
  .lockup {
    min-height: 44px;
  }
  .rep__all-toggle,
  .grp__more {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .fbk__copy {
    min-width: 44px;
  }
}
.skip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* Without scripts the phone menu's button could open nothing, so it is not shown. The owners' quotes, which the
   wheel would turn, are a plain list to read. */
html:not(.js) .site-menu-btn {
  display: none;
}
html:not(.js) .wheel {
  display: none;
}
html:not(.js) .quotes > .sr-only {
  position: static;
  width: auto;
  height: auto;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
}
html:not(.js) .quotes > .sr-only li {
  margin-top: 18px;
  font-size: 1.0625rem;
  line-height: 1.625rem;
  color: var(--text-1);
}

/* A reader who has set very large text. The header's bar is measured in the reader's own text size: when it is too
   narrow for the main button, the button gives way (the same link is in the menu, one tap away), and on the
   narrowest the line under the name does too. At the usual text size nothing changes, on any phone. */
.site-header {
  container-type: inline-size;
  container-name: bar;
}
@container bar (max-width: 15em) {
  .site-header__cta {
    display: none;
  }
}
@container bar (max-width: 11em) {
  .lockup__sub {
    display: none;
  }
}

.site-header__cta[hidden] {
  display: none;
}

/* The home page's sections below the hero. Each one answers a question a visitor has, in their order. */

/* the hero's first words: what this is, said before the owner's line */
.hero__for {
  margin-bottom: 16px;
  color: var(--accent);
}

/* ── why should I care: is this me, what owners found in dollars, the fix, and why now ───────────────────── */
.care {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}
.care__text .t-title {
  margin-top: 12px;
  max-width: 560px;
}
.care__intro {
  max-width: 540px;
  margin-top: 16px;
  color: var(--text-2);
}
.care__label {
  margin-top: 32px;
}
.care__balance {
  max-width: 460px;
  margin-top: 28px;
}
/* ticked lines between hairlines */
.ticks {
  margin-top: 12px;
  border-top: 1px solid var(--border);
}
.ticks li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 1.0625rem;
  line-height: 1.625rem;
  color: var(--text-1);
}
.ticks .dot {
  margin-top: 1px;
}
/* three charges owners found, each as its amount and one plain line */
.cases {
  overflow: hidden;
}
.cases__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-3);
}
.cases__rows li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  padding: 22px 20px;
  border-bottom: 1px solid var(--border);
}
.cases__amt {
  font-size: 1.875rem;
  line-height: 2.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-1);
}
.cases__what {
  font-size: 1.0625rem;
  line-height: 1.625rem;
  text-wrap: pretty;
  color: var(--text-2);
}
.cases__what .num {
  font-size: 0.92em;
  color: var(--text-1);
}
.cases__foot {
  padding: 14px 20px;
  background: var(--bg);
}
/* the fix, and why now: two cells on the page's own ground */
.fix {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 48px;
}
.fix > div {
  padding: 24px 20px;
}
.fix__line,
.fix__quote {
  max-width: 500px;
  margin-top: 12px;
  font-size: 1.25rem;
  line-height: 1.8125rem;
  text-wrap: pretty;
  color: var(--text-1);
}
.fix__quote .hot {
  font-weight: 600;
}
.fix__who {
  margin-top: 8px;
}
.fix__now {
  max-width: 500px;
  margin-top: 16px;
  font-size: 1.0625rem;
  line-height: 1.625rem;
  text-wrap: pretty;
  color: var(--text-2);
}
@media (min-width: 640px) {
  .cases__head,
  .cases__foot {
    padding-inline: 28px;
  }
  .cases__rows li {
    grid-template-columns: 7.75rem minmax(0, 1fr);      /* in the reader's text size: a figure in larger text keeps its own column */
    gap: 24px;
    align-items: baseline;
    padding: 26px 28px;
  }
  .fix > div {
    padding: 32px;
  }
}
@media (min-width: 900px) {
  .care {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
    align-items: start;
  }
  .cases {
    margin-top: 32px;
  }
  .fix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 64px;
  }
  .fix__line,
  .fix__quote {
    font-size: 1.375rem;
    line-height: 2rem;
  }
}

/* ── what you need, what you get: two panels and the arrow between them ──────────────────────────────── */
.swap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: 40px;
}
.swap__col {
  padding: 24px 20px 6px;
}
.swap__list {
  margin-top: 6px;
}
.swap__list li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  column-gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.swap__list li:last-child {
  border-bottom: 0;
}
.swap__list h3 {
  font-size: 1.125rem;
  line-height: 1.625rem;
  font-weight: 500;
  color: var(--text-1);
}
.swap__list p {
  margin-top: 2px;
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--text-2);
}
.swap__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--accent);
}
.swap__arrow .ico {
  width: 18px;
  height: 18px;
  transform: rotate(90deg);
}
@media (min-width: 640px) {
  .swap {
    margin-top: 56px;
  }
  .swap__col {
    padding: 32px 32px 12px;
  }
}
@media (min-width: 900px) {
  .swap {
    grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
    gap: 20px;
  }
  .swap__arrow {
    align-self: center;
  }
  .swap__arrow .ico {
    transform: none;
  }
}

/* ── the deep check: one charge checked both ways, what it adds, what it saves, why now ────────────────── */
.duo {
  margin-top: 40px;
}
.duo__cap {
  margin-bottom: 12px;
}
.duo__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
.duo__side {
  padding: 22px 20px 20px;
}
/* the quick check's side sits back on the page's own ground */
.duo__side--quick {
  background: var(--bg);
}
.duo__charge {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 500;
  color: var(--text-1);
}
.duo__charge .num {
  font-size: 1.125rem;
}
.duo__side .tag {
  margin-top: 10px;
}
.duo__why {
  margin-top: 8px;
  font-size: 1.0625rem;
  line-height: 1.625rem;
  text-wrap: pretty;
  color: var(--text-2);
}
.duo__facts {
  margin-top: 18px;
  border-top: 1px solid var(--border);
}
.duo__facts > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.duo__facts > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.duo__facts dt {
  color: var(--text-3);
}
.duo__facts dd {
  font-size: 1rem;
  line-height: 1.5rem;
  text-wrap: pretty;
  color: var(--text-1);
}
.duo__facts .duo__unknown {
  color: var(--text-3);
}
.duo__facts .duo__amt {
  font-size: 1.875rem;
  line-height: 2.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.duo__sum {
  max-width: 640px;
  margin-top: 20px;
  font-size: 1.125rem;
  line-height: 1.6875rem;
  text-wrap: pretty;
  color: var(--text-2);
}
.duo__sum b {
  font-weight: 500;
  color: var(--text-1);
}
.duo__sum .c-accent {
  font-weight: 600;
  color: var(--accent);
}
.duo .fineprint {
  margin-top: 6px;
}
.next__sub {
  margin-top: 56px;
}
.next__sub .t-body {
  max-width: 620px;
  margin-top: 8px;
}
/* what it adds: ruled rows, each with its icon */
.stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 20px;
  border-top: 1px solid var(--border);
}
.stack li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  column-gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.stack h4 {
  font-size: 1.125rem;
  line-height: 1.625rem;
  font-weight: 500;
  color: var(--text-1);
}
.stack p {
  margin-top: 2px;
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--text-2);
}
/* what it saves: the four ruled columns of the why page */
.saves {
  margin-top: 20px;
}
@media (min-width: 640px) {
  .duo {
    margin-top: 56px;
  }
  .duo__side {
    padding: 30px 32px 28px;
  }
  .next__sub {
    margin-top: 72px;
  }
}
@media (min-width: 900px) {
  .duo__grid {
    grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
    gap: 20px;
  }
  .stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 64px;
  }
}
@media (min-width: 1024px) {
  .saves {
    margin-top: 24px;
  }
}

/* ── how it works: one isometric stage (33-how-stage.css) and three short steps that light up with it ─────── */
.works {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  margin-top: 36px;
}
.works__stage {
  position: relative;
}
/* the answer, on a leader line from the statement, as the hero's card hangs from its house */
.works__card {
  position: relative;
  z-index: 1;
  width: min(100%, 250px);
  margin: -2px 0 0 auto;
  padding: 14px 16px 16px;
}
.works__card .hero-card__big {
  margin-top: 8px;
}
.works__steps {
  border-top: 1px solid var(--border);
}
.works__step button,
.works__step .works__still {
  position: relative;
  display: grid;
  grid-template-columns: 1.625rem minmax(0, 1fr);      /* in the reader's text size: the step's number keeps its column at large text */
  gap: 14px;
  width: 100%;
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.works__n {
  padding-top: 6px;
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--text-2);
}
.works__text b {
  display: block;
  font-size: 1.1875rem;
  line-height: 1.625rem;
  font-weight: 500;
  color: var(--text-1);
}
.works__text span {
  display: block;
  margin-top: 4px;
  font-size: 1rem;
  line-height: 1.5rem;
  text-wrap: pretty;
  color: var(--text-2);
}
/* a line under each step that fills while its part of the scene plays */
.works__bar {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
}
.works.is-on .works__step:nth-child(1) {
  animation: works-step-1 12s linear 3;
}
.works.is-on .works__step:nth-child(2) {
  animation: works-step-2 12s linear 3;
}
.works.is-on .works__step:nth-child(3) {
  animation: works-step-3 12s linear 3;
}
.works.is-on .works__step:nth-child(1) .works__bar {
  animation: works-bar-1 12s linear 3;
}
.works.is-on .works__step:nth-child(2) .works__bar {
  animation: works-bar-2 12s linear 3;
}
.works.is-on .works__step:nth-child(3) .works__bar {
  animation: works-bar-3 12s linear 3;
}
@keyframes works-step-1 {
  0%,
  24.99% {
    opacity: 1;
  }
  25%,
  100% {
    opacity: 0.8;
  }
}
@keyframes works-step-2 {
  0%,
  24.99% {
    opacity: 0.8;
  }
  25%,
  58.32% {
    opacity: 1;
  }
  58.33%,
  100% {
    opacity: 0.8;
  }
}
@keyframes works-step-3 {
  0%,
  58.32% {
    opacity: 0.8;
  }
  58.33%,
  100% {
    opacity: 1;
  }
}
@keyframes works-bar-1 {
  0% {
    transform: scaleX(0);
  }
  25%,
  100% {
    transform: scaleX(1);
  }
}
@keyframes works-bar-2 {
  0%,
  25% {
    transform: scaleX(0);
  }
  58.33%,
  100% {
    transform: scaleX(1);
  }
}
@keyframes works-bar-3 {
  0%,
  58.33% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}
.how__after {
  margin-top: 32px;
}
@media (max-width: 639px) {
  /* the room the drawing leaves above the doorway is for the card on wide screens. Here the card sits below. */
  .works__stage .wk-art {
    margin-top: -6%;
  }
  .how__after .btn {
    width: 100%;
  }
}
@media (min-width: 640px) {
  .works {
    margin-top: 48px;
  }
  .works__card {
    position: absolute;
    top: 0;
    right: 0;
    width: min(250px, calc(100% - var(--wk-gate-right) - 12px));
    margin: 0;
  }
}
@media (min-width: 900px) {
  .works {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    gap: 56px;
  }
  .how__after {
    margin-top: 40px;
  }
}

/* ── why trust us: the case on the left, what it can't do to you on the right ────────────────────── */
.why {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px;
}
.why__text .t-title {
  margin-top: 12px;
  max-width: 560px;
}
.why__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
  margin-top: 24px;
  color: var(--text-2);
}
.why__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
  margin-top: 16px;
}
.promises {
  margin-top: 8px;
}
.promises li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  column-gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.promises h3 {
  font-size: 1.125rem;
  line-height: 1.625rem;
  font-weight: 500;
}
.promises p {
  margin-top: 2px;
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--text-2);
}
@media (min-width: 900px) {
  .why {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 80px;
    align-items: start;
  }
}

/* ── the close ──────────────────────────────────────────────────────────────────────────────────────── */
.close {
  isolation: isolate;
  overflow-x: clip;
  border-top: 1px solid var(--border);
}
.close__sub {
  margin-top: 14px;
}
.close__cta {
  margin-top: 32px;
}
.close .hero__promise {
  margin-top: 20px;
}

/* The inner pages: What we found, Why Lintel, Privacy. */

.page-hero {
  padding-top: 48px;
  padding-bottom: 24px;
}
.page-hero__in {
  max-width: 820px;
}
.page-hero__title {
  margin-top: 16px;
  overflow-wrap: break-word;      /* a word too long for a narrow phone at very large text breaks instead of running off the page */
}
.page-hero__lead {
  max-width: 620px;
  margin-top: 20px;
}
.page-hero--plain .page-hero__title {
  margin-top: 12px;
}
@media (min-width: 640px) {
  .page-hero {
    padding-top: 88px;
    padding-bottom: 40px;
  }
}

/* two columns from desktop: the heading on the left, the content on the right */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 80px;
    align-items: start;
  }
  .split--wide {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
  }
}

/* running text */
.prose .t-title {
  margin-top: 12px;
}
.prose > p:not(.eyebrow) {
  max-width: 580px;
  margin-top: 16px;
  font-size: 1.125rem;
  line-height: 1.6875rem;
  text-wrap: pretty;
  color: var(--text-2);
}
.prose .t-title + p {
  margin-top: 24px;
}
.prose .num {
  color: var(--text-1);
  font-size: 0.92em;
}

/* ruled rows of a heading and one or two plain lines */
.plain-rows {
  border-top: 1px solid var(--border);
}
.plain-rows li {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.plain-rows :is(h2, h3) {
  font-size: 1.125rem;
  line-height: 1.625rem;
  font-weight: 500;
  color: var(--text-1);
}
.plain-rows p {
  max-width: 600px;
  margin-top: 4px;
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--text-2);
}

/* ── What owners found ───────────────────────────────────────────────────────────────────────────────── */
/* what they caught */
.caught {
  margin-top: 40px;
}
.caught__table thead th {
  padding-bottom: 12px;
  color: var(--text-3);
}
.caught__table tbody tr {
  border-top: 1px solid var(--border);
}
.caught__table tbody tr:last-child {
  border-bottom: 1px solid var(--border);
}
.caught__table tbody th {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px 18px 0;
  font-size: 1.0625rem;
  line-height: 1.5rem;
  font-weight: 500;
  color: var(--text-1);
}
.caught__table tbody td {
  padding: 18px 0;
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--text-2);
  vertical-align: middle;
}
.caught__table .num {
  color: var(--text-1);
  font-weight: 600;
  font-size: 0.9375rem;
}
.caught .fineprint {
  margin-top: 12px;
}
/* where and when, under each case */
.caught__tag {
  display: block;
  margin-top: 6px;
  color: var(--text-3);
}
@media (max-width: 719px) {
  .caught__table thead {
    display: none;
  }
  .caught__table tbody tr {
    display: block;
    padding: 16px 0;
  }
  .caught__table tbody th,
  .caught__table tbody td {
    display: flex;
    padding: 0;
  }
  .caught__table tbody td {
    display: block;
    margin-top: 6px;
    padding-left: 46px;
  }
}
@media (min-width: 720px) {
  .caught__table tbody th {
    width: 46%;
  }
}

/* ── Why Lintel ──────────────────────────────────────────────────────────────────────────────────────── */
/* who sees what: five things on one side, one on the other */
.sees {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
}
.sees__col {
  padding: 20px 16px;
}
.sees__col + .sees__col {
  border-left: 1px solid var(--border);
  background: var(--bg);
}
.sees ul {
  margin-top: 12px;
}
.sees li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  border-top: 1px solid var(--border);
  font-size: 0.9375rem;
  line-height: 1.25rem;
  color: var(--text-1);
}
.sees__col--you li:first-child {
  color: var(--text-1);
  font-weight: 500;
}
.sees .is-empty {
  position: relative;
}
.sees .is-empty::after {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--border-strong);
}
@media (min-width: 640px) {
  .sees__col {
    padding: 28px;
  }
  .sees li {
    gap: 16px;
    font-size: 1.0625rem;
    line-height: 1.5rem;
  }
}

.pull blockquote {
  font-size: 1.375rem;
  line-height: 2rem;
  text-wrap: pretty;
  color: var(--text-1);
}
.pull blockquote .hot {
  font-weight: 600;
}
.pull .t-label {
  margin-top: 10px;
}
.pull .t-label + blockquote {
  margin-top: 32px;
}
.pull .link {
  margin-top: 20px;
}
@media (min-width: 900px) {
  .pull {
    padding-top: 40px;
  }
  .pull blockquote {
    font-size: 1.625rem;
    line-height: 2.25rem;
  }
}

/* what it does: four ruled columns (no boxes), each with its number and its icon */
.does {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 40px;
  border-top: 1px solid var(--border);
}
.does li {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.does__n {
  position: absolute;
  top: 26px;
  right: 0;
  font-size: 0.75rem;
  color: var(--text-3);
}
.does :is(h3, h4) {
  margin-top: 18px;
  font-size: 1.1875rem;
  line-height: 1.625rem;
  font-weight: 500;
}
.does p {
  margin-top: 6px;
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--text-2);
}
.does__name {
  margin-top: 28px;
  font-weight: 500;
  color: var(--text-1);
}
@media (min-width: 1024px) {
  .does {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 56px;
  }
  .does li {
    padding: 28px 28px 12px;
    border-bottom: 0;
    border-left: 1px solid var(--border);
  }
  .does li:first-child {
    padding-left: 0;
    border-left: 0;
  }
  .does__n {
    top: 30px;
    right: 28px;
  }
}

.promises--page {
  margin-top: 0;
  border-top: 1px solid var(--border);
}

/* ── Privacy ─────────────────────────────────────────────────────────────────────────────────────────── */
.legal {
  max-width: 680px;
}
.legal .callout {
  margin-bottom: 28px;
  font-size: 1.0625rem;
  line-height: 1.625rem;
}
.legal > .t-body {
  margin-top: 24px;
}

/* a narrow desktop (a side pane, a small laptop): the same two columns, closer together */
@media (min-width: 900px) and (max-width: 1099px) {
  .split,
  .split--wide,
  .why,
  .faq {
    gap: 48px;
  }
  .hero__in {
    gap: 32px;
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .hero-card {
    width: 248px;
  }
  .hero-fig {
    padding-top: 72px;
  }
  .hero-fig__lead {
    top: 118px;
    height: calc(47% - 82px);
  }
}

/* on the narrowest phones the two columns keep their words inside */
@media (max-width: 359px) {
  .sees__col {
    padding: 20px 12px;
  }
  .sees li {
    gap: 8px;
  }
}
.sees li span {
  min-width: 0;
  overflow-wrap: anywhere;      /* a word too long for its column breaks instead of running out of it */
}

/* Made by tools/make_how_stage.py. Do not edit by hand.
   The "How it works" stage, drawn in the same hand as the town in the hero: its lines, and the twelve-second loop.
     0.0s  the statement lands on the first bay                         step 1
     3.0s  it slides through the doorway, each line read at the beam    step 2
     7.0s  it arrives with seven lines lit, and the card says so        step 3
   Without the .is-on class (no script, or reduced motion) the scene rests on its last frame. */
.works__stage {
  --wk-lead-x: 74.79%;
  --wk-gate-right: 62.47%;
}
.wk-art {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.wk-art :is(polygon, path, line, circle) {
  vector-effect: non-scaling-stroke;
}
.wk-art path {
  fill: none;
}
.wk-slab-t {
  fill: var(--surface-1);
  stroke: var(--text-signoff);
  stroke-width: 1;
}
.wk-slab-l,
.wk-slab-r {
  fill: var(--bg);
  stroke: var(--chart-dim);
  stroke-width: 1;
}
.wk-hair {
  stroke: var(--border-strong);
  stroke-width: 0.75;
}
.wk-bay {
  fill: var(--surface-2);
  fill-opacity: 0.55;
  stroke: var(--chart-dim);
  stroke-width: 0.75;
}
.wk-corner {
  stroke: var(--text-3);
  stroke-width: 1.25;
}
.wk-rail {
  stroke: var(--chart-dim);
  stroke-width: 1;
}
.wk-tick {
  stroke: var(--chart-dim);
  stroke-width: 0.75;
}
.wk-chev {
  stroke: var(--text-signoff);
  stroke-width: 1.25;
}
/* the doorway: three dark faces and thin light edges, like the buildings of the town */
.wk-gate-t {
  fill: var(--surface-3);
  stroke: var(--text-signoff);
  stroke-width: 1;
}
.wk-gate-r {
  fill: var(--surface-2);
  stroke: var(--text-signoff);
  stroke-width: 1;
}
.wk-gate-l {
  fill: var(--bg);
  stroke: var(--text-signoff);
  stroke-width: 1;
}
.wk-seam {
  stroke: var(--chart-dim);
  stroke-width: 0.75;
}
.wk-edge {
  stroke: var(--text-3);
  stroke-width: 1.25;
}
.wk-mark {
  fill: var(--accent);
}
.wk-curtain {
  fill: var(--accent);
  opacity: 0;
}
.wk-read {
  stroke: var(--accent);
  stroke-width: 1.5;
}
/* the statement: the one thing drawn in the light line, as the house is in the town */
.wk-paper-t {
  fill: var(--surface-2);
  stroke: var(--text-1);
  stroke-width: 1.25;
}
.wk-paper-l,
.wk-paper-r {
  fill: var(--surface-3);
  stroke: var(--text-3);
  stroke-width: 1;
}
.wk-sh-block {
  fill: var(--text-signoff);
}
.wk-sh-head {
  stroke: var(--text-3);
  stroke-width: 1.25;
}
.wk-sh-rule {
  stroke: var(--chart-dim);
  stroke-width: 0.75;
}
.wk-row {
  stroke: var(--text-signoff);
  stroke-width: 1.5;
}
.wk-sh-total {
  stroke: var(--text-1);
  stroke-width: 1.5;
}
.wk-lead line {
  stroke: var(--accent);
  stroke-width: 1;
}
.wk-lead circle {
  fill: var(--bg);
  stroke: var(--accent);
  stroke-width: 1.5;
}
.wk-lead--up {
  display: none;
}
@media (min-width: 640px) {
  .wk-lead--up {
    display: inline;
  }
  .wk-lead--down {
    display: none;
  }
}

/* the last frame, which is also what shows without motion */
.wk-sheet {
  transform: translate(286.0px, 143.0px);
}
.wk-row--flag {
  stroke: var(--accent);
}

/* the loop */
.works.is-on .wk-sheet {
  animation: wk-sheet 12s linear 3;
}
.works.is-on .wk-curtain {
  animation: wk-curtain 12s linear 3;
}
.works.is-on :is(.wk-lead, .works__card) {
  animation: wk-card 12s linear 3;
}
.works.is-paused * {
  animation-play-state: paused !important;
}
@keyframes wk-sheet {
  0% {
    opacity: 0;
    transform: translate(0, -18px);
  }
  5.00% {
    opacity: 1;
    transform: translate(0, 0);
    animation-timing-function: linear;
  }
  25.00% {
    transform: translate(0, 0);
    animation-timing-function: cubic-bezier(0.5, 0, 0.6, 1);
  }
  32.50% {
    transform: translate(98.1px, 49.1px);
    animation-timing-function: linear;
  }
  50.83% {
    transform: translate(187.8px, 93.9px);
    animation-timing-function: cubic-bezier(0.4, 0, 0.3, 1);
  }
  58.33%,
  94.17% {
    opacity: 1;
    transform: translate(286.0px, 143.0px);
  }
  100% {
    opacity: 0;
    transform: translate(286.0px, 143.0px);
  }
}
@keyframes wk-curtain {
  0%,
  29.17% {
    opacity: 0;
  }
  32.50%,
  50.83% {
    opacity: 0.12;
  }
  54.17%,
  100% {
    opacity: 0;
  }
}
@keyframes wk-card {
  0%,
  58.33% {
    opacity: 0;
  }
  62.08%,
  94.17% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.works.is-on .wk-row--3 {
  animation: wk-row-3 12s linear 3;
}
@keyframes wk-row-3 {
  0%,
  43.00% {
    stroke: var(--text-signoff);
  }
  44.00%,
  100% {
    stroke: var(--accent);
  }
}

.works.is-on .wk-row--4 {
  animation: wk-row-4 12s linear 3;
}
@keyframes wk-row-4 {
  0%,
  41.93% {
    stroke: var(--text-signoff);
  }
  42.93%,
  100% {
    stroke: var(--accent);
  }
}

.works.is-on .wk-row--5 {
  animation: wk-row-5 12s linear 3;
}
@keyframes wk-row-5 {
  0%,
  40.87% {
    stroke: var(--text-signoff);
  }
  41.87%,
  100% {
    stroke: var(--accent);
  }
}

.works.is-on .wk-row--6 {
  animation: wk-row-6 12s linear 3;
}
@keyframes wk-row-6 {
  0%,
  39.81% {
    stroke: var(--text-signoff);
  }
  40.81%,
  100% {
    stroke: var(--accent);
  }
}

.works.is-on .wk-row--7 {
  animation: wk-row-7 12s linear 3;
}
@keyframes wk-row-7 {
  0%,
  38.74% {
    stroke: var(--text-signoff);
  }
  39.74%,
  100% {
    stroke: var(--accent);
  }
}

.works.is-on .wk-row--9 {
  animation: wk-row-9 12s linear 3;
}
@keyframes wk-row-9 {
  0%,
  36.62% {
    stroke: var(--text-signoff);
  }
  37.62%,
  100% {
    stroke: var(--accent);
  }
}

.works.is-on .wk-row--10 {
  animation: wk-row-10 12s linear 3;
}
@keyframes wk-row-10 {
  0%,
  35.56% {
    stroke: var(--text-signoff);
  }
  36.56%,
  100% {
    stroke: var(--accent);
  }
}

/* The statement check: your own statement in three steps, or a sample report with two views. Phone first. */

.app {
  padding-top: 40px;
  padding-bottom: 72px;
}
.app__col {
  max-width: 760px;
  margin-inline: auto;
}
.app__head .t-title {
  margin-top: 12px;
}
.app__lead {
  margin-top: 12px;
  max-width: 560px;
}
.app__note {
  margin-top: 24px;
  text-align: center;
}
@media (min-width: 640px) {
  .app {
    padding-top: 64px;
    padding-bottom: 112px;
  }
}

/* ── the private session: the page where an owner's own documents go. The site's header and footer step aside and
   the window is framed in a thick grey band, lighter than the page, from the window's edge to the page's
   rounded corners. A hairline marks its inner edge. The band breaks at the top centre, where the Lintel
   mark sits on its own. The accent is kept for the mark and the words "Private session".
   A sample report (body.is-sample) keeps the site's own header and footer. ───────────────────────────────────── */
body[data-page="check"]:not(.is-sample) {
  --pv-band: 14px;
  --pv-fill: var(--surface-3); /* grey: two surface steps lighter than the page */
  --pv-line: var(--border-strong);
  /* the page keeps its own breathing room inside the band */
  --gutter: 30px;
  --gutter-r: 30px;
}
body[data-page="check"]:not(.is-sample) .site-header,
body[data-page="check"]:not(.is-sample) .site-footer {
  display: none;
}
/* the band: a rounded hole the size of the page, a hairline round it, and everything outside it filled */
body[data-page="check"]:not(.is-sample)::after {
  content: "";
  position: fixed;
  inset: var(--pv-band);
  z-index: 70;
  border-radius: 18px;
  box-shadow:
    0 0 0 1px var(--pv-line),
    0 0 0 80px var(--pv-fill);
  pointer-events: none;
}
/* the gap in the band, with the mark in it */
.pv-tab {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 71;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 46px;
  border: 1px solid var(--pv-line, var(--border));
  border-top: 0;
  border-radius: 0 0 16px 16px;
  background: var(--bg);
  transform: translateX(-50%);
}
.pv-tab .mark {
  width: 28px;
  height: 28px;
}
body.is-sample .pv-tab,
body:not([data-page="check"]) .pv-tab {
  display: none;
}
.pv-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
body.is-sample .pv-bar {
  display: none;
}
.pv-bar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: calc(var(--pv-band, 14px) + 56px);
  padding-top: var(--pv-band, 14px);
}
/* who is signed in, quietly, beside the way out */
.pv-bar__who {
  margin-left: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 260px;
  color: var(--text-3);
  text-transform: none;
  letter-spacing: 0.02em;
}
/* the way back in, for someone who has an account: a quiet link in the same place */
.pv-bar__in-link {
  margin-left: auto;
  min-height: 44px;
  padding: 0 6px;
  color: var(--text-1);
}
.pv-bar__who:not([hidden]) + .pv-bar__in-link {
  margin-left: 0;
}
@media (max-width: 639px) {
  .pv-bar__in-link {
    display: none;
  }
}
.field__hint {
  display: block;
  margin-top: 6px;
  font-size: 0.8125rem;
  line-height: 1.125rem;
  color: var(--text-3);
}
.gate__swap {
  margin-top: 14px;
  font-size: 0.9375rem;
  line-height: 1.375rem;
  color: var(--text-2);
  text-align: center;
}
.pv-bar__state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
}
.pv-bar__state .pix {
  width: 20px;
  height: 20px;
}
/* the way out: an open door and its two words, thumb-sized */
.pv-bar__end {
  gap: 8px;
  height: 44px;
  padding: 0 14px 0 10px;
}
.pv-bar__end .pix {
  width: 22px;
  height: 22px;
}
/* phones: the label drops its lock, so it clears the mark's tab */
@media (max-width: 479px) {
  .pv-bar__state .pix {
    display: none;
  }
  /* and the way out stacks its two words, so it clears the tab too */
  .pv-bar__end {
    gap: 6px;
    padding: 0 10px 0 8px;
  }
  .pv-bar__end span {
    width: min-content;
    white-space: normal;
    line-height: 0.8125rem;
    text-align: left;
  }
}
/* ── the way in: a loading screen of about four seconds, under the frame and the mark.
     0.2s  the doorway appears on its ground
     0.5s  the first line is written, then one a second. Each gets its tick.
     1.0s  a shutter comes down between the posts, slat by slat, and a keyhole lights when it is shut
     3.6s  the words step back, and the screen opens like two doors onto the session
   CSS only, so it always ends. Drawn like the rest of Lintel: thin grey lines, dark faces, the accent kept small. ── */
.pv-load {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 40px 32px;
  isolation: isolate;
  overflow: hidden;
  animation: pv-load-end 10ms linear 4320ms forwards;
}
body.is-sample .pv-load,
.pv-load.is-done {
  display: none;
}
/* the two doors: the page's own ground, in two halves that part at the end */
.pv-load::before,
.pv-load::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  z-index: -1;
  height: 50.5%;
  background: var(--bg);
  animation: 560ms var(--ease-draw) 3740ms forwards;
}
.pv-load::before {
  top: 0;
  border-bottom: 1px solid var(--border);
  animation-name: pv-load-up;
}
.pv-load::after {
  bottom: 0;
  animation-name: pv-load-down;
}
.pv-load__in {
  width: min(440px, 100%);
  animation: pv-load-out 200ms ease-out 3560ms forwards;
}
/* the doorway, drawn in the same hand as the town (tools/make_how_stage.py), on the page's own ground */
.pv-load__stage {
  display: grid;
  place-items: center;
}
.pv-door {
  width: min(300px, 78%);
}
.pv-door__build {
  opacity: 0;
  animation: pv-load-on 420ms ease-out 150ms forwards;
}
/* the shutter: nine slats, from the beam down to the ground */
.pv-slat {
  fill: var(--surface-2);
  stroke: var(--text-signoff);
  stroke-width: 1;
  opacity: 0;
  animation: pv-load-on 140ms ease-out forwards;
  animation-delay: calc(1000ms + var(--i) * 250ms);
}
.pv-key {
  fill: var(--accent);
  opacity: 0;
  animation: pv-load-on 160ms ease-out 3260ms forwards;
}
.pv-sill {
  stroke: var(--accent);
  stroke-width: 1.5;
  opacity: 0;
  animation: pv-load-on 160ms ease-out 3260ms forwards;
}
/* under it, the section label the rest of the site uses. Its last word reads "Closing" until the shutter is down,
   then "Locked". */
.pv-load__eyebrow {
  margin-top: 26px;
}
.pv-load__tag {
  display: grid;
}
.pv-load__tag > span {
  grid-area: 1 / 1;
}
.pv-load__closing {
  color: var(--text-3);
  animation: pv-load-out 140ms linear 3260ms forwards;
}
.pv-load__locked {
  opacity: 0;
  animation: pv-load-on 140ms linear 3260ms forwards;
}
.pv-load__title {
  margin-top: 10px;
  font-size: 1.75rem;
  line-height: 2.125rem;
  font-weight: 500;
  letter-spacing: -0.018em;
  text-wrap: balance;
  color: var(--text-1);
}
/* the log: each line is written when its turn comes, waits with a pulse, then gets its tick */
.pv-load__steps {
  margin-top: 22px;
  border-top: 1px solid var(--border);
}
.pv-load__steps li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  line-height: 1.375rem;
  color: var(--text-1);
  opacity: 0;
  transform: translateY(6px);
  animation: pv-load-row 320ms var(--ease-panel) var(--at) forwards;
}
.pv-load__n {
  font-size: 0.75rem;
  color: var(--text-3);
}
.pv-load__state {
  position: relative;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: transparent;
  animation: pv-load-tick 220ms ease-out calc(var(--at) + 780ms) forwards;
}
.pv-load__state .ico {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}
.pv-load__state::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent);
  animation:
    pulse-dot 900ms ease-in-out infinite,
    pv-load-out 120ms linear calc(var(--at) + 780ms) forwards;
}
/* the bar: the hero card's ticks, lit one after another */
.pv-load__bar {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 3px;
  margin-top: 26px;
}
.pv-load__bar span {
  height: 8px;
  background: var(--surface-3);
  animation: pv-load-seg 120ms linear forwards;
  animation-delay: calc(300ms + var(--i) * 270ms);
}
@keyframes pv-load-on {
  to {
    opacity: 1;
  }
}
@keyframes pv-load-row {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes pv-load-tick {
  to {
    color: var(--accent);
  }
}
@keyframes pv-load-seg {
  to {
    background: var(--accent);
  }
}
@keyframes pv-load-out {
  to {
    opacity: 0;
  }
}
@keyframes pv-load-up {
  to {
    transform: translateY(-101%);
  }
}
@keyframes pv-load-down {
  to {
    transform: translateY(101%);
  }
}
@keyframes pv-load-end {
  to {
    visibility: hidden;
  }
}
@media (max-width: 479px) {
  .pv-load__title {
    font-size: 1.5rem;
    line-height: 1.875rem;
  }
}
/* what this page is, said once, above the steps */
.pv-note {
  margin-top: 24px;
  padding: 24px 20px 20px;
}
.pv-note .t-heading {
  margin-top: 10px;
}
.pv-note__lead {
  max-width: 560px;
  margin-top: 8px;
}
.pv-facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 18px;
  border-top: 1px solid var(--border);
}
.pv-facts li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  line-height: 1.375rem;
  font-weight: 500;
  color: var(--text-1);
}
/* the statement that closes the note: how Lintel treats an owner's documents, said plainly */
.pv-note__vow {
  max-width: 560px;
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  text-wrap: pretty;
  color: var(--text-1);
}
@media (min-width: 640px) {
  body[data-page="check"]:not(.is-sample) {
    --pv-band: 24px;
    --gutter: 56px;
    --gutter-r: 56px;
  }
  body[data-page="check"]:not(.is-sample)::after {
    border-radius: 26px;
  }
  .pv-tab {
    width: 84px;
    height: 60px;
    border-radius: 0 0 20px 20px;
  }
  .pv-tab .mark {
    width: 32px;
    height: 32px;
  }
  .pv-note {
    margin-top: 32px;
    padding: 32px 32px 26px;
  }
  .pv-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 24px;
  }
  .pv-facts {
    border-bottom: 1px solid var(--border);
  }
  .pv-facts li {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    padding: 18px 0;
    border-bottom: 0;
  }
  .pv-note__vow {
    margin-top: 20px;
    font-size: 1.0625rem;
    line-height: 1.625rem;
  }
}

/* a sample report: the one way out, under the page's lead */
.app__switch {
  margin-top: 20px;
}
/* under the upload box: the other way in */
.stage__alt {
  margin-top: 16px;
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--text-2);
}
.stage__alt .link {
  margin-left: 4px;
}
/* a preview-only helper, set apart from the product by a dashed rule */
.tool {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-strong);
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--text-3);
}
.tool .link {
  min-height: 32px;
  font-size: 0.875rem;
  color: var(--text-2);
}
/* a sample report's two views: two halves of one control, the chosen one lit */
.seg {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin-top: 28px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface-1);
}
.seg button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 10px 14px;
  border-radius: var(--r-control);
  text-align: left;
  color: var(--text-2);
  transition:
    background-color var(--dur-fast) ease-out,
    color var(--dur-fast) ease-out;
}
.seg__words {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.seg__words b {
  font-size: 1rem;
  line-height: 1.375rem;
  font-weight: 500;
  color: var(--text-1);
}
.seg__words span {
  font-size: 0.8125rem;
  line-height: 1.125rem;
}
/* each tab's own icon: quiet until its tab is the one shown */
.seg .pix {
  width: 32px;
  height: 32px;
  color: var(--text-3);
  opacity: 0.7;
  transition: opacity var(--dur-fast) ease-out;
}
.seg button[aria-pressed="true"] .pix {
  color: var(--text-1);
  opacity: 1;
}
@media (max-width: 479px) {
  .seg button {
    gap: 8px;
    padding: 10px;
  }
  .seg .pix {
    width: 24px;
    height: 24px;
  }
}
.seg button:hover {
  background: var(--surface-2);
}
.seg button[aria-pressed="true"] {
  background: var(--surface-3);
  box-shadow: inset 0 -2px 0 0 var(--accent);
}
.seg + .stage__error {
  margin-top: 12px;
}
@media (min-width: 640px) {
  .seg {
    margin-top: 36px;
  }
  .seg button {
    padding: 12px 18px;
  }
}

/* ── the three steps, as a strip ──────────────────────────────────────────────────────────────────────── */
.stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 28px 0 20px;
}
.stepper li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 2px solid var(--border-strong);
  color: var(--text-3);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  transition:
    border-color var(--dur-panel) var(--ease-panel),
    color var(--dur-panel) var(--ease-panel);
}
.stepper li.is-done,
.stepper li.is-now {
  border-top-color: var(--accent);
  color: var(--text-1);
}
.stepper .dot {
  display: none;
}
@media (min-width: 640px) {
  .stepper {
    gap: 16px;
    margin: 36px 0 24px;
  }
  .stepper li {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
  }
  .stepper .dot {
    display: inline-flex;
  }
}

/* ── a step ───────────────────────────────────────────────────────────────────────────────────────────── */
.stage {
  margin-top: 12px;
  padding: 24px 20px;
  transition: opacity var(--dur-panel) var(--ease-panel);
}
.stage__head .t-heading {
  margin-top: 8px;
}
.stage__hint {
  margin-top: 6px;
  max-width: 540px;
}
.stage__error {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--bad-fg);
  border-radius: var(--r-card);
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--bad-fg);
}
@media (min-width: 640px) {
  .stage {
    padding: 32px;
  }
}

/* where a file goes */
.drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 28px 16px 24px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-card);
  background: var(--bg);
  text-align: center;
  transition:
    border-color var(--dur-fast) ease-out,
    background-color var(--dur-fast) ease-out;
}
.drop.is-over {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.drop__title {
  font-size: 1.125rem;
  line-height: 1.625rem;
  font-weight: 500;
}
.drop__btn {
  cursor: pointer;
}
.drop__btn:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.drop__hint {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--text-3);
}
.filebar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 10px 10px 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--bg);
}
.filebar .ico {
  color: var(--ok-fg);
}
.filebar__name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9375rem;
  color: var(--text-1);
}

/* the rules a deep check was held against */
.dot .ico {
  width: 12px;
  height: 12px;
  stroke-width: 2.2;
}
.rules-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
  border-radius: var(--r-card);
}
.rules-grid > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 14px 16px;
  background: var(--bg);
}
.rules-grid__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 32px;
}
.rules-grid__edit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 32px;
  margin-right: -10px;
  border-radius: var(--r-control);
  color: var(--text-3);
}
.rules-grid__edit:hover {
  background: var(--surface-3);
  color: var(--text-1);
}
.rules-grid__v {
  font-size: 1.5rem;
  line-height: 2rem;
}
.rules-grid dt {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--text-2);
}
.rules-grid__input {
  height: 40px;
  padding: 0 10px;
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 600;
}
.rules-note {
  margin-top: 12px;
}
/* what the deep check adds, as ticked lines */
.deep-adds {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px 24px;
  margin-top: 20px;
}
.deep-adds li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--text-1);
}
@media (min-width: 640px) {
  .deep-adds {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 640px) {
  .rules-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .rules-grid > div {
    padding: 16px 18px 18px;
  }
}

/* step 2: the reading, shown */
.reader {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--bg);
}
.reader__in {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.reader__page {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 84px;
  padding: 10px 8px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  background: var(--surface-1);
}
.reader__page i {
  display: block;
  flex: none;
  height: 2px;
  background: var(--chart-dim);
}
.reader__band {
  position: absolute;
  inset: 0 0 auto;
  height: 22%;
  background: var(--accent-soft);
  border-bottom: 1px solid var(--accent);
  animation: scan 1600ms cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
.reader.is-done .reader__band {
  display: none;
}
.reader__file {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.reader__log {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.reader__log li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--text-1);
}

/* a free report that is ready: the seconds until it opens, and the way to open it now */
.wait {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.wait__count {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--text-3);
  font-size: 0.9375rem;
  line-height: 1.375rem;
}
.wait__n {
  min-width: 2ch;
  font-size: 2.75rem;
  line-height: 3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-1);
}
.wait__why {
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--text-2);
}
.wait__say .btn {
  margin-top: 12px;
}
@media (min-width: 640px) {
  .wait {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 28px;
  }
}

.reader__expect {
  margin-top: 12px;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--text-3);
}
.rep__for {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-top: 8px;
  font-size: 0.9375rem;
  line-height: 1.375rem;
  color: var(--text-1);
}

/* while the statement is being read: the line that is still open, and the seconds as they pass */
.reader__log li.reader__now {
  grid-template-columns: 24px minmax(0, 1fr) auto;
}
.reader__dot {
  justify-self: center;
  align-self: center;
  width: 6px;
  height: 6px;
  background: var(--accent);
  animation: pulse-dot 900ms ease-in-out infinite;
}
.reader__secs {
  font-size: 0.8125rem;
  color: var(--text-3);
}

.gate__wait {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--text-1);
}
.gate__wait .reader__secs {
  margin-left: auto;
}

/* ── the report ───────────────────────────────────────────────────────────────────────────────────────── */
.rep {
  margin-top: 20px;
}
.rep__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px 16px;
}
.rep__when {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-1);
}
.rep__where {
  margin-top: 2px;
  font-size: 0.9375rem;
  line-height: 1.375rem;
  color: var(--text-2);
}
/* the top of the report, one block: the answer on the left, the money on the right, then the split and what was read */
.sum {
  position: relative;
  margin-top: 20px;
  padding: 24px 20px 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-card);
  background: var(--bg);
}
.sum .panel__rule {
  left: 20px;
  right: 20px;
  animation: hold 900ms var(--ease-panel) 80ms both;
}
.sum__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin-top: 12px;
}
.sum__big {
  margin-top: 10px;
  font-size: 1.75rem;
  line-height: 2.125rem;
  font-weight: 500;
  letter-spacing: -0.018em;
  text-wrap: balance;
  color: var(--text-1);
}
.sum__sub {
  margin-top: 6px;
  font-size: 1.0625rem;
  line-height: 1.625rem;
  color: var(--text-2);
}
.sum__sub .num {
  font-weight: 600;
  color: var(--accent);
}
.sum__money div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.sum__money div:first-child {
  border-top: 1px solid var(--border);
}
.sum__money dt {
  font-size: 0.9375rem;
  line-height: 1.375rem;
  color: var(--text-2);
}
.sum__money dd {
  font-size: 1.0625rem;
  line-height: 1.5rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text-1);
}
.sum__money .is-owed dd {
  color: var(--accent);
}
.sum .rep__split {
  margin-top: 20px;
}
.sum__read {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.9375rem;
  line-height: 1.5rem;
  color: var(--text-2);
}
@media (min-width: 720px) {
  .sum {
    padding: 28px 28px 20px;
  }
  .sum .panel__rule {
    left: 28px;
    right: 28px;
  }
  .sum__top {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 36px;
    align-items: center;
  }
  .sum__big {
    font-size: 2.125rem;
    line-height: 2.5rem;
  }
}
/* what stands out across the charges: one line each, with the reason's own icon */
.stands {
  margin-top: 32px;
}
.stands ul {
  margin-top: 6px;
}
.stands li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--text-1);
}
.stands li p {
  max-width: 640px;
  padding-top: 4px;
}
.stands .pix {
  color: var(--text-2);
}
.rep__split {
  margin-top: 16px;
}
.rep__split-bar {
  display: flex;
  gap: 2px;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
}
.rep__split-fine {
  background: var(--chart-dim);
}
.rep__split-q {
  background: var(--accent);
}
.rep__split-key {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-top: 10px;
  font-size: 0.9375rem;
  line-height: 1.375rem;
  color: var(--text-2);
}
.rep__split-key > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.rep__split-key .num {
  color: var(--text-1);
}
.key {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
}
.key--fine {
  background: var(--chart-dim);
}
.key--q {
  background: var(--accent);
}
.rep__group {
  margin-top: 36px;
}
/* the charges: groups that fold, one slim row a charge, the detail inside the row */
.rep__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}
.rep__bar .rep__group {
  flex: 1;
  margin-top: 0;
}
.rep__all-toggle {
  flex: none;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.rep__groups {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}
.rep__groups--fine,
.rep__groups--look {
  margin-top: 10px;
}
/* the other things worth a look are points to ask about, not findings: no dollars, a quieter card */
.grp--look .grp__sum {
  font-size: 0.8125rem;
  color: var(--text-3);
}
.row__where {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.25rem;
  white-space: nowrap;
  color: var(--text-3);
}
/* one reason, one card: its icon, its name, how many charges and how much. It opens to its table. */
.grp {
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--bg);
  transition: border-color var(--dur-fast) ease-out;
}
.grp:hover,
.grp[open] {
  border-color: var(--border-strong);
}
.grp > summary,
.row > summary {
  display: grid;
  align-items: center;
  list-style: none;
  cursor: pointer;
}
.grp > summary::-webkit-details-marker,
.row > summary::-webkit-details-marker {
  display: none;
}
.grp > summary {
  grid-template-columns: 28px minmax(0, 1fr) 24px;
  gap: 2px 12px;
  min-height: 64px;
  padding: 14px 14px;
}
.grp > summary .pix {
  grid-row: 1 / span 2;
  width: 28px;
  height: 28px;
  color: var(--text-3);
}
.grp[open] > summary .pix {
  color: var(--text-1);
}
.grp > summary .acc__sign {
  grid-column: 3;
  grid-row: 1 / span 2;
}
.grp__title {
  grid-column: 2;
}
.grp__meta {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}
.grp[open] > summary {
  border-bottom: 1px solid var(--border);
}
.grp__title {
  font-size: 1.0625rem;
  line-height: 1.5rem;
  font-weight: 500;
  color: var(--text-1);
}
.grp--fine .grp__title {
  color: var(--text-2);
}
.grp__n {
  min-width: 26px;
  padding: 1px 7px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-chip);
  font-size: 0.75rem;
  line-height: 1.125rem;
  text-align: center;
  color: var(--text-2);
}
.grp__sum {
  font-size: 0.875rem;
  line-height: 1.25rem;
  white-space: nowrap;
  color: var(--text-2);
}
.grp[open] > summary .acc__sign::after,
.row[open] > summary .acc__sign::after {
  transform: rotate(0deg);
}
.grp > summary:hover .acc__sign,
.row > summary:hover .acc__sign {
  background: var(--surface-3);
}
.grp__rows {
  padding: 14px 14px 16px;
}
/* a group's rows are a table: the charge, what we found, the amount. The same columns on the head and on every row. */
.rows__head,
.row > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 12px;
  column-gap: 14px;
}
.rows__head {
  display: none;
  padding: 0 0 10px;
  color: var(--text-3);
}
.rows__head span:nth-child(3) {
  text-align: right;
}
.row {
  border-top: 1px solid var(--border);
}
.row[hidden] {
  display: none;
}
.row > summary {
  align-items: start;
  row-gap: 4px;
  min-height: 0;
  margin: 0 -8px;
  padding: 12px 8px;
  border-radius: var(--r-chip);
  transition: background-color var(--dur-fast) ease-out;
}
.row > summary:hover {
  background: var(--surface-1);
}
.row__what {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.row__name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 1rem;
  line-height: 1.375rem;
  color: var(--text-1);
}
.row__meta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.8125rem;
  line-height: 1.125rem;
  color: var(--text-3);
}
.row__why {
  grid-column: 1;
  grid-row: 3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--text-2);
}
/* phones: the amount sits under the name, so the name keeps the full width */
.row__nums {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.row__amt {
  font-size: 0.9375rem;
  line-height: 1.375rem;
  white-space: nowrap;
  color: var(--text-1);
}
.row__q {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  line-height: 1rem;
  white-space: nowrap;
  color: var(--accent);
}
/* the row's own sign: a small quiet chevron that turns when the row is open */
.row__sign {
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-right: 1.5px solid var(--text-3);
  border-bottom: 1.5px solid var(--text-3);
  transform: rotate(45deg);
  transition: transform var(--dur-fast) ease-out;
}
.row[open] .row__sign {
  margin-top: 10px;
  transform: rotate(-135deg);
}
.row > summary:hover .row__name {
  color: var(--accent-hover);
}
.row > summary:hover .row__sign {
  border-color: var(--text-1);
}
.row[open] .row__name {
  -webkit-line-clamp: unset;
}
.row[open] .row__why {
  display: none;
}
.row__body {
  max-width: 660px;
  padding: 2px 0 20px;
}
.row__printed {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-bottom: 12px;
}
.row__raw {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.25rem;
  color: var(--text-2);
}
.row__say {
  margin-top: 16px;
}
.row__say .msg {
  margin-top: 8px;
}
.grp__more {
  margin-top: 12px;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.msg--all {
  max-height: 320px;
  overflow: auto;
}
@media (min-width: 720px) {
  .grp > summary {
    grid-template-columns: 32px minmax(0, 1fr) auto 24px;
    column-gap: 14px;
    padding: 14px 18px;
  }
  .grp > summary .pix {
    grid-row: 1;
    width: 32px;
    height: 32px;
  }
  .grp > summary .acc__sign {
    grid-column: 4;
    grid-row: 1;
  }
  .grp__meta {
    grid-column: 3;
  }
  .grp__rows {
    padding: 16px 18px 18px;
  }
  .rows__head,
  .row > summary {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr) 124px 12px;
    column-gap: 20px;
  }
  .rows__head {
    display: grid;
  }
  .row__why {
    grid-column: 2;
    grid-row: 1;
  }
  .row__nums {
    grid-column: 3;
    grid-row: 1;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
  }
  .row[open] .row__why {
    display: -webkit-box;
    visibility: hidden;
  }
}
.item__why {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
  max-width: 620px;
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--text-2);
}
.item__approve {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 12px;
  font-size: 0.9375rem;
  line-height: 1.375rem;
  color: var(--text-1);
}
.msg {
  margin: 0 0 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.btn.is-done {
  border-color: var(--ok-fg);
}
.rep__all {
  margin-top: 36px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface-2);
}
.rep__all-head {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.rep__all-head .t-heading {
  font-size: 1.25rem;
  line-height: 1.625rem;
}
.rep__all .msg {
  margin-top: 16px;
  max-height: 320px;
  overflow: auto;
}
.rep__all-go {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
/* the letter: a button until it is written, then its subject and its text */
.letter .rep__all-go {
  margin-top: 18px;
}
.letter .msg + .rep__all-go {
  margin-top: 0;
}
.letter__subject {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  margin-top: 18px;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  color: var(--text-1);
}
.letter__subject + .msg {
  margin-top: 10px;
}
.letter__wait {
  margin-top: 18px;
}
.letter__note {
  margin-top: 16px;
  font-size: 0.9375rem;
  line-height: 1.375rem;
  color: var(--text-2);
}
.rep__read {
  margin-top: 28px;
}
.rep__read > summary {
  font-size: 1rem;
  min-height: 56px;
}
.rep__read .acc__body {
  font-size: 1rem;
  line-height: 1.5rem;
}
.rep__notes {
  margin-top: 10px;
  padding-left: 18px;
  list-style: disc;
}
.rep__notes li {
  margin-top: 4px;
}
.rep__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}
/* on a deep check: the rules it was held against, folded under the answer */
.rep__rules {
  margin-top: 16px;
}
.rep__rules > summary {
  min-height: 56px;
  font-size: 1rem;
  line-height: 1.5rem;
}
.rep__rules-sum {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.rep__rules .acc__body {
  padding-right: 0;
}
.rep__rules .rules-grid {
  margin-top: 0;
}
.rules-file {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 14px;
  margin-top: 10px;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--text-3);
}
.rules-file .link {
  min-height: 32px;
  font-size: 0.875rem;
}
.rep__next .deep-adds {
  margin-top: 16px;
}

/* under the quick check: the offer of the deep check, outlined in the accent like a note that matters */
.rep__next {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin-top: 36px;
  padding: 20px;
  border: 1px solid var(--accent);
  border-radius: var(--r-card);
}
.rep__next .t-heading {
  margin-top: 8px;
}
.rep__next .t-body {
  margin-top: 6px;
  max-width: 480px;
}
.rep__next .btn {
  margin-top: 18px;
}
.rep__next .fineprint {
  margin-top: 12px;
}
.rep__trust {
  margin-top: 16px;
}
.rep__sample {
  margin-top: 6px;
}
@media (max-width: 639px) {
  .rep__next .btn {
    width: 100%;
  }
}
@media (min-width: 640px) {
  .rep__next {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 24px;
    padding: 28px;
  }
  .rep__verdict {
    padding: 28px;
  }
  .rep__verdict .panel__rule {
    left: 28px;
    right: 28px;
  }
  .rep__big {
    font-size: 2.125rem;
    line-height: 2.5rem;
  }
  .rep__tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .rep__tiles > div {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 18px 20px;
  }
  .rep__tiles .t-kpi {
    font-size: 1.5rem;
    line-height: 2rem;
  }
  .rep__all {
    padding: 28px;
  }
  .rep__actions {
    flex-direction: row;
  }
}

/* ── the months, side by side ─────────────────────────────────────────────────────────────────────────── */
.months__wrap {
  margin-top: 20px;
  overflow-x: auto;
}
.months th,
.months td {
  padding: 12px 0 12px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  line-height: 1.375rem;
  text-align: right;
  white-space: nowrap;
}
.months th:first-child {
  padding-left: 0;
  text-align: left;
}
.months thead th {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  line-height: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: normal;
  vertical-align: bottom;
}
.months tbody th .link {
  min-height: 32px;
  font-weight: 500;
}
.months .is-current th .link {
  text-decoration-color: var(--accent);
}
.months__q {
  color: var(--accent);
  font-weight: 600;
}
.months tfoot th,
.months tfoot td {
  border-bottom: 0;
  border-top: 1px solid var(--border-strong);
  font-weight: 600;
  color: var(--text-1);
}
.months tfoot .months__q {
  color: var(--accent);
}
.months__patterns li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.months__patterns li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.months__patterns h4 {
  font-size: 1.0625rem;
  line-height: 1.5rem;
  font-weight: 500;
}
.months__patterns p {
  margin-top: 2px;
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--text-2);
}

/* the email sheet */
.gate__step {
  margin-top: 18px;
}
.gate__step + .gate__title {
  margin-top: 6px;
}
.gate__later {
  margin-top: 12px;
}
.sheet .stage__error {
  margin-top: 12px;
}

.gate__title {
  margin-top: 18px;
}
.gate__why {
  margin-top: 8px;
}
.gate__field {
  margin-top: 20px;
}
.gate__go {
  margin-top: 16px;
}
.sheet .fineprint {
  margin-top: 14px;
}

/* ── what the last round of checks changed ────────────────────────────────────────────────────────────── */
/* A sample report never shows the upload step, from the first paint: its scripts may arrive seconds later. */
body.is-sample #pvNote,
body.is-sample #stepper,
body.is-sample #sIn {
  display: none;
}
/* Long names and addresses wrap inside the report's head instead of pushing it past a phone's edge. */
.rep__head > div {
  min-width: 0;
  max-width: 100%;
}
.rep__when,
.rep__where,
.rep__for,
.rep__for span,
.rep__more {
  min-width: 0;
  overflow-wrap: anywhere;
}
/* An open row shows when it was and who was paid in full. */
.row[open] > summary .row__meta {
  overflow: visible;
  white-space: normal;
  overflow-wrap: anywhere;
}
.row__paid {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--text-2);
}
/* The wait: the seconds keep a column of their own, so a long line never runs under them. */
.reader__log li.reader__now {
  grid-template-columns: 24px minmax(0, 1fr) minmax(4ch, auto);
}
.reader__secs {
  text-align: right;
  white-space: nowrap;
}
.reader__one {
  margin-top: 6px;
}
.stage__one {
  margin-top: 10px;
}
/* under an error line: the one thing that can be done about it */
.stage__again {
  margin-top: 12px;
}
.gate__keep {
  margin-top: 10px;
}
/* a number typed for a term that was not taken */
.rules-grid__no {
  color: var(--bad-fg);
}
.rep__pdf-no {
  margin-top: 12px;
}
.letter__pasted {
  margin-top: 12px;
}
.letter:focus {
  outline: none;
}
.letter:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
/* A row reached with the keyboard is scrolled clear of the session's bar and frame. */
html:has(body[data-page="check"]:not(.is-sample)) {
  scroll-padding-top: 88px;
  scroll-padding-bottom: 48px;
}
@media (max-width: 859px) {
  .rules-grid__edit {
    height: 44px;
  }
  .rules-grid__top {
    min-height: 44px;
  }
  .months tbody th .link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}
/* A phone on its side: the opening screen keeps its title and its three lines in view. */
@media (max-height: 520px) {
  .pv-load {
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .pv-load__stage {
    display: none;
  }
}

/* Very large text on a phone: a figure that does not fit beside its label goes under it, and the two halves of the
   split's key may each take a line. */
.sum__money div {
  flex-wrap: wrap;
}
.rep__split-key > span {
  flex-wrap: wrap;
  min-width: 0;
}

/* A group's heading on a narrow phone, or with very long figures: the count and the amount may go under the title
   and break, instead of running past the row. */
.grp__meta {
  flex-wrap: wrap;
  min-width: 0;
}
.grp__sum {
  min-width: 0;
  white-space: normal;
  overflow-wrap: break-word;      /* "$4,828.50" goes to the next line whole. Only a figure longer than a line is broken */
}
.sum__money dd {
  min-width: 0;
  white-space: normal;
  overflow-wrap: break-word;
  text-align: right;
}
.row__nums {
  min-width: 0;
  overflow-wrap: break-word;
}
.months td,
.months th {
  overflow-wrap: break-word;
}
/* on a phone the pencil and the field it opens are full-size targets */
@media (max-width: 859px) {
  .rules-grid__edit {
    width: 44px;
    margin-right: 0;
  }
  .rules-grid__input {
    height: 44px;
  }
}

/* A row's amount in question goes under the amount when the two do not fit side by side (very long figures, or very
   large text, on a narrow phone), and its words may break there. */
.row__nums {
  flex-wrap: wrap;
}
.row__q {
  min-width: 0;
  white-space: normal;
}
/* the pencil keeps its full width: the number beside it gives way first */
.rules-grid__edit {
  flex: none;
}
.rules-grid__top > :first-child {
  min-width: 0;
}
.rules-grid__input {
  min-width: 0;
  flex: 0 1 auto;
}
/* on the narrowest phones the small picture of the page gives its room to the words of the wait */
@media (max-width: 379px) {
  .reader__in {
    grid-template-columns: minmax(0, 1fr);
  }
  .reader__page {
    display: none;
  }
}

/* an open charge: a very long payee or printed line breaks inside the row instead of widening the page */
.row__printed > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
/* The session bar on a phone: its few words stop growing where the mark's tab leaves no room (very large text on a
   narrow phone). At ordinary text sizes they are as they were. */
@media (max-width: 479px) {
  .pv-bar__state,
  .pv-bar__end .t-micro {
    font-size: min(0.6875rem, 3.4vw);
  }
}

/* ── accounts: the sign-up sheet's extra fields, the account button, the account page, the feedback form ──────── */

/* the sheet */
/* the sheet itself scrolls (20-components.css). It is kept short enough that it rarely has to */
.sheet--auth,
.sheet--fb {
  overscroll-behavior: contain;
}
.sheet--auth .gate__field {
  margin-top: 12px;
}
.sheet--auth .gate__why {
  margin-bottom: 4px;
}
.gate__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
}
@media (max-width: 479px) {
  .gate__pair {
    grid-template-columns: 1fr;
  }
}
.gate__pair[hidden],
.gate__field[hidden] {
  display: none;
}
.field__opt {
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* the account button: in the header on wide screens, in the menu on phones */
.site-header__acct {
  display: none;
  gap: 8px;
  height: 40px;
  padding: 0 14px 0 10px;
  font-size: 0.875rem;
}
.site-header__acct .pix,
.site-menu__acct .pix {
  width: 20px;
  height: 20px;
}
.site-header__acct[aria-current="page"] {
  border-color: var(--accent);
}
@media (min-width: 860px) {
  .site-header__acct {
    display: inline-flex;
  }
}
.site-menu .site-menu__acct {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  border-bottom: 1px solid var(--border);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-1);
  text-align: left;
}

/* who is signed in, inside the secure session: a link to their account, and the way in for someone who is not */
a.pv-bar__who,
.pv-bar__in-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 6px;
  color: var(--text-2);
  transition: color var(--dur-fast) ease-out;
}
a.pv-bar__who:hover,
.pv-bar__in-link:hover {
  color: var(--text-1);
}
a.pv-bar__who .pix,
.pv-bar__in-link .pix {
  flex: none;
  width: 20px;
  height: 20px;
}
a.pv-bar__who[hidden],
.pv-bar__in-link[hidden] {
  display: none;
}
#whoName {
  min-width: 0;
  max-width: 14ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
/* under 768px the mark's tab sits where these would be: the same links are under the upload box and in the menu */
@media (max-width: 767px) {
  a.pv-bar__who,
  .pv-bar__in-link {
    display: none;
  }
}

/* ── the account page ── */
.acct {
  padding-top: 40px;
  padding-bottom: 72px;
}
@media (min-width: 640px) {
  .acct {
    padding-top: 64px;
    padding-bottom: 112px;
  }
}
.acct__gate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 28px;
  text-align: center;
}
.acct__gate[hidden],
.acct__in[hidden] {
  display: none;
}
.acct__gate-title {
  margin-top: 4px;
}
.acct__gate-lead {
  max-width: 40ch;
}
.acct__gate-go {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}
.acct__gate-go .pix,
.acct__go .pix {
  width: 22px;
  height: 22px;
}
.acct__gate-note {
  margin-top: 6px;
}
.acct__in {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.acct__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 8px;
}
.acct__hello {
  margin-top: 10px;
  overflow-wrap: anywhere;
}
.acct__tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.acct__tile {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 16px;
  padding: 20px;
}
.acct__tile .pix {
  grid-row: 1 / 3;
}
.acct__n {
  font-size: 1.875rem;
  line-height: 2.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-1);
}
.acct__tile--money .acct__n {
  color: var(--accent);
}
.acct__what {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--text-2);
}
@media (max-width: 859px) {
  .acct__tiles {
    grid-template-columns: 1fr;
  }
}
.acct__today {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px 28px;
  padding: 18px 20px;
}
.acct__allow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
}
.acct__allow li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.acct__allow .pix {
  flex: none;
  width: 28px;
  height: 28px;
}
.acct__allow-name {
  font-size: 0.9375rem;
  line-height: 1.375rem;
  font-weight: 500;
  color: var(--text-1);
}
.acct__allow-state {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--ok-fg);
}
.acct__allow-state.is-out {
  color: var(--text-3);
}
@media (max-width: 719px) {
  .acct__today,
  .acct__allow {
    grid-template-columns: 1fr;
  }
}
.acct__sec {
  margin-top: 28px;
}
.acct__sec-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}
.acct__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 40px 24px;
  text-align: center;
}
.acct__empty[hidden] {
  display: none;
}
.acct__empty .btn {
  margin-top: 8px;
}
.acct__kept {
  max-width: 72ch;
  margin-top: 12px;
}

/* the checks: a table on wide screens, a card each on phones */
.chks {
  border: 1px solid var(--border);
  border-radius: var(--r-panel);
  background: var(--surface-1);
  overflow: hidden;
}
.chks[hidden] {
  display: none;
}
.chks__cols,
.chk__row {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr) 28px;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
}
.chks__cols {
  height: 40px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}
.chks__cols span:nth-child(3),
.chks__cols span:nth-child(4),
.chks__cols span:nth-child(5),
.chk__num,
.chk__amt {
  text-align: right;
}
.chk + .chk {
  border-top: 1px solid var(--border);
}
.chk__row {
  min-height: 68px;
  padding-top: 12px;
  padding-bottom: 12px;
  cursor: pointer;
  list-style: none;
  transition: background-color var(--dur-fast) ease-out;
}
.chk__row::-webkit-details-marker {
  display: none;
}
summary.chk__row:hover {
  background: var(--surface-2);
}
.chk__month {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.chk__month b {
  font-size: 1rem;
  line-height: 1.375rem;
  font-weight: 500;
  color: var(--text-1);
}
.chk__where {
  overflow: hidden;
  font-size: 0.8125rem;
  line-height: 1.125rem;
  color: var(--text-3);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chk__num {
  font-size: 0.9375rem;
  color: var(--text-1);
}
.chk__amt {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.chk__amt b {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
}
.chk__amt span {
  font-size: 0.75rem;
  line-height: 1rem;
  color: var(--text-3);
}
.chk__open {
  display: flex;
  justify-content: flex-end;
  color: var(--text-3);
}
.chk__open .ico {
  width: 16px;
  height: 16px;
  transition: transform var(--dur-fast) ease-out;
}
.chk[open] .chk__open .ico {
  transform: rotate(180deg);
}
.chk--sum .chk__row {
  min-height: 52px;
  cursor: default;
  background: var(--surface-2);
}
.chk--sum .chk__month {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}
.chk__body {
  padding: 4px 20px 18px;
}
.chk__groups li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 168px;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  line-height: 1.375rem;
}
.chk__groups li span:last-child {
  text-align: right;
}
.chk__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  margin-top: 14px;
}
.chk__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 0.875rem;
}
.chk__drop {
  color: var(--text-3);
}
@media (max-width: 859px) {
  .chks__cols {
    display: none;
  }
  .chk__row {
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
    padding: 16px;
  }
  .chk__month {
    grid-column: 1;
  }
  .chk__row > span:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
  .chk__num,
  .chk__amt {
    grid-column: 1 / 3;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
  }
  .chk__num::before,
  .chk__amt::before {
    content: attr(data-label);
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-3);
  }
  /* the words beside the amount ("in question", "worth a question") stay at every width */
  .chk__amt span {
    font-size: 0.8125rem;
    color: var(--text-3);
  }
  .chk__open {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
  }
  .chk--sum .chk__row > span:empty {
    display: none;
  }
  .chk__body {
    padding: 0 16px 16px;
  }
  .chk__groups li {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  /* the count of charges keeps its place on small screens, under the reason */
  .chk__groups li span:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
    font-size: 0.8125rem;
    line-height: 1.125rem;
  }
  .chk__groups li span:nth-child(3) {
    grid-column: 2;
    grid-row: 1;
  }
}

/* their details */
.acct__details {
  padding: 8px 20px 20px;
}
.acct__dl div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.acct__dl[hidden] {
  display: none;
}
.acct__dl dt {
  font-size: 0.875rem;
  line-height: 1.375rem;
  color: var(--text-3);
}
.acct__dl dd {
  overflow-wrap: anywhere;
  font-size: 1rem;
  line-height: 1.375rem;
  color: var(--text-1);
}
@media (max-width: 559px) {
  .acct__dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
.acct__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 520px;
  padding-top: 16px;
}
.acct__form[hidden] {
  display: none;
}
.acct__form .field {
  margin: 0;
}
.acct__form--danger {
  max-width: 560px;
}
.acct__form-go,
.acct__acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.acct__acts {
  margin-top: 18px;
}
.acct__acts[hidden] {
  display: none;
}
.acct__delete {
  margin-left: auto;
  min-height: 44px;
  font-size: 0.875rem;
  color: var(--text-3);
}
@media (max-width: 559px) {
  .acct__delete {
    margin-left: 0;
  }
}
.acct__saved {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.9375rem;
  color: var(--ok-fg);
}
.acct__saved[hidden] {
  display: none;
}
.acct__saved .ico {
  width: 16px;
  height: 16px;
}
.acct__fb {
  padding: 20px;
}

/* ── the feedback form ── */
.fbk {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 640px;
}
.fbk .field {
  margin: 0;
}
.fbk__text {
  height: auto;
  min-height: 112px;
  padding-top: 12px;
  padding-bottom: 12px;
  line-height: 1.375rem;
  resize: vertical;
}
.fbk__email[hidden] {
  display: none;
}
.fbk__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.fbk__or {
  font-size: 0.9375rem;
  line-height: 1.375rem;
  color: var(--text-2);
}
.fbk__addr {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--text-1);
  user-select: all;
}
.fbk__copy {
  margin-left: 10px;
  font-size: 0.875rem;
}
.fbk__thanks {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  color: var(--ok-fg);
}
.fbk__thanks[hidden] {
  display: none;
}
.fbk__thanks .ico {
  width: 16px;
  height: 16px;
}
/* the home page's band */
.fb-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 32px 56px;
}
.fb-band__say {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fb-band__say .pix {
  margin-bottom: 4px;
}
.fb-band__form {
  padding: 24px;
}
@media (max-width: 859px) {
  .fb-band {
    grid-template-columns: 1fr;
  }
  .fb-band__form {
    padding: 18px;
  }
}
/* the check page's link and sheet */
.rep__fb {
  margin-top: 14px;
  font-size: 0.9375rem;
  line-height: 1.375rem;
  color: var(--text-2);
  text-align: center;
}
.sheet--fb .fbk {
  margin-top: 14px;
}

/* a pixel icon inside one of the account buttons takes the button's own text colour. On the orange button its accent
   part does too, or it would vanish into the button */
.site-header__acct .pix,
.site-menu__acct .pix,
.acct__gate-go .pix,
.acct__go .pix {
  color: inherit;
}
.btn--primary .pix {
  --accent: currentColor;
}

/* on the account page the header's own button is the account: the check is one tap away in the page itself */
body[data-page="account"] .site-header__cta {
  display: none;
}
.acct__n.is-none {
  font-family: var(--font-sans);
  font-size: 1.375rem;
  color: var(--text-2);
}

/* what a signed-in owner is told inside the secure session */
.pv-note__signed {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--text-2);
}
.pv-note__signed[hidden],
.tool[hidden] {
  display: none;
}

/* ── from the UI audit, 14 Nov ── */
summary.chk__row:focus-visible {
  outline-offset: -2px;
}
.acct__form .gate__pair {
  row-gap: 14px;
}
/* the small text links are thumb-sized too */
.gate__swap .link,
.fbk__copy,
.chk__acts .link,
.rep__fb .link,
.stage__alt .link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
/* between 860 and 960px the header holds the nav, the account button and the main button: the small line under the
   name gives them the room */
@media (min-width: 860px) and (max-width: 959px) {
  .site-header .lockup__sub {
    display: none;
  }
}
/* on the orange button the dim parts of a pixel icon take the button's own colour too */
.btn--primary .pix {
  --chart-dim: currentColor;
}
.rep__more {
  margin-top: 6px;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--text-2);
}
@media print {
  .rep__fb {
    display: none;
  }
}

/* the two ways in are the same width when they stack on a phone */
@media (max-width: 479px) {
  .acct__gate-go {
    flex-direction: column;
    align-items: center;
  }
  .acct__gate-go .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* very large text: an amount in a month's row may break rather than run past the row */
.chk__row > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* a month's reasons with very long figures: the amount takes the width it needs and may go to a line of its own */
@media (max-width: 859px) {
  .chk__groups li span:nth-child(3) {
    min-width: 0;
    overflow-wrap: anywhere;
    text-align: right;
  }
}

/* a month's reasons on a phone: a very long amount goes under its reason instead of over it */
@media (max-width: 859px) {
  .chk__groups li {
    grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  }
  .chk__groups li span:nth-child(1) {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 379px) {
  .chk__groups li {
    grid-template-columns: minmax(0, 1fr);
  }
  .chk__groups li span:nth-child(2) {
    grid-row: 3;
  }
  .chk__groups li span:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
    text-align: left;
  }
}

/* ── the error pages (404, 500, 503) and the notices a page shows when something is not working ───────────────── */
.oops {
  padding-top: 56px;
  padding-bottom: 88px;
}
@media (min-width: 640px) {
  .oops {
    padding-top: 96px;
    padding-bottom: 128px;
  }
}
.oops__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 28px 40px;
  text-align: center;
}
.oops__eyebrow {
  justify-content: center;
  margin-top: 6px;
}
.oops__lead {
  max-width: 44ch;
}
.oops__go {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}
.oops__more {
  margin-top: 8px;
}
@media (max-width: 479px) {
  .oops__card {
    padding: 36px 18px 30px;
  }
  .oops__go .btn {
    width: 100%;
  }
}

/* on the check page: the check cannot be used right now */
.stage__down {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-card);
  background: var(--surface-2);
  font-size: 0.9375rem;
  line-height: 1.375rem;
  color: var(--text-1);
}
.stage__down .pix {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: -1px;
}
/* with scripts turned off, the pages that need them say so */
.noscript {
  max-width: 640px;
  margin: 24px auto;
  padding: 16px 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-card);
  background: var(--surface-2);
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--text-1);
  text-align: center;
}

/* ── choices the check page asks for in place, never in a browser pop-up ─────────────────────────────────────── */
/* a statement that looks like another rental's, in the middle of a deep check: what should happen to it */
.stage__ask {
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid var(--accent);
  border-radius: var(--r-card);
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--text-1);
}
.stage__ask-go {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.stage__ask .fineprint {
  margin-top: 12px;
}
@media (max-width: 479px) {
  .stage__ask-go .btn {
    width: 100%;
  }
}
/* "Exit session" while a statement is being read: stay, or leave anyway */
.sheet--ask .gate__title {
  margin-top: 14px;
}
.sheet__go {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
@media (min-width: 480px) {
  .sheet__go {
    flex-direction: row;
  }
  .sheet__go .btn {
    flex: 1 1 0;
  }
}
/* a rule's number the owner changed with the pencil: marked as theirs, with the way back */
.rules-grid > .is-edited {
  box-shadow: inset 0 0 0 1px var(--accent);
}
.rules-grid__was {
  margin-top: 4px;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--text-3);
}
.rules-grid__was .link {
  min-height: 32px;
  font-size: 0.875rem;
}
/* under a report's buttons: what is true of this page */
.rep__hint {
  margin-top: 10px;
}
.rep__actions + .rep__hint {
  margin-top: 14px;
}

/* A report on paper (or saved as a PDF): the site's paper palette, the report alone, every folded part open. */
@media print {
  :root {
    color-scheme: light;
    --bg: #ffffff;
    --surface-1: #ffffff;
    --surface-2: #faf8f3;
    --surface-3: #efebe1;
    --border: #e3ded2;
    --border-strong: #cfc8b8;
    --text-1: #25221c;
    --text-2: #5d584e;
    --text-3: #6f695d;
    --accent: #b3471d;
    --accent-contrast: #ffffff;
    --ok-fg: #036942;
    --warn-fg: #7f5302;
    --bad-fg: #ad2115;
    --chart-dim: #cfc8b8;
    --field-border: #8c8676;
    --accent-hover: #9a3914;
  }
  @page {
    margin: 16mm 14mm;
  }
  html,
  body {
    background: #ffffff;
  }
  .dot-canvas,
  .site-header,
  .site-footer,
  .stepper,
  .pv-bar,
  .pv-tab,
  .pv-load,
  .pv-note,
  #sIn,
  #months,
  .seg,
  .app__head,
  .sheet,
  .rep__actions,
  .rep__next,
  .rep__hint,
  .rep__fb,
  .rep__pdf-no,
  .item__approve,
  .row__say .btn,
  .rep__all-toggle,
  .rep__all-go,
  .grp__more,
  .rules-grid__edit,
  .rules-file .link,
  .acc__sign,
  .row__sign,
  .acct__go,
  .acct__acts,
  .acct__gate-go,
  .acct__sec:has(.acct__fb),
  .chk__acts,
  .chk__open,
  .fbk,
  .cta,
  .skip {
    display: none !important;
  }
  /* the secure session's frame and band belong to the screen */
  body[data-page="check"]:not(.is-sample) {
    padding: 0 !important;
  }
  body[data-page="check"]:not(.is-sample)::after {
    display: none !important;
  }
  /* a block that was waiting to scroll into view is on the paper like the rest */
  [data-reveal="armed"] :is(.rs-grow, .rs-fade, .rs-pop, .rs-line) {
    opacity: 1 !important;
    transform: none !important;
  }
  .app {
    padding: 0;
  }
  .app__col {
    max-width: none;
  }
  .stage {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
  }
  .row,
  .sum,
  .stands li,
  .rep__all,
  .callout {
    break-inside: avoid;
  }
  .rep__all .msg {
    max-height: none;
  }
  .msg {
    border-color: var(--border-strong);
  }
  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
