/* Kounted. Ledger direction.
   Paper, ink, hairline rules, one red for flags. */

@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f4f1ea;
  --paper-2: #fbf9f4;
  --paper-3: #ede8dc;
  --ink: #17191e;
  --ink-2: #5e5b53;
  --rule: #d8d2c3;
  --rule-soft: #e6e1d5;
  --flag: #c8432b;
  --flag-text: #b23a24;
  --flag-bg: #f6e3dd;
  --pos: #2e6a4e;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --wrap: 75rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --sec: clamp(4.5rem, 10vw, 8.5rem);
  --z-header: 10;
  --indent: calc(25% + 1.5rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  margin: 0;
  font-optical-sizing: auto;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 0.9rem;
  z-index: 100;
  text-decoration: none;
}
.skip:focus { top: 1rem; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.label {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}

/* Buttons. Feedback on press, not on release. */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.875rem;
  padding: 0.7rem 1.15rem;
  background: var(--ink);
  color: var(--paper);
  font: 500 0.9375rem/1.2 var(--sans);
  text-decoration: none;
  border-radius: 3px;
  transition: transform 100ms ease-out, background-color 150ms ease-out;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: #2a2d34; }
.btn:active { transform: scale(0.97); }
.btn .arrow { transition: transform 150ms ease-out; }
.btn:hover .arrow { transform: translateX(3px); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: #fff; }
.btn--paper:focus-visible { outline-color: var(--paper); }
.btn--sm { min-height: 2.25rem; padding: 0.45rem 0.8rem; font-size: 0.875rem; }

/* Header: translucent paper, content scrolls under it */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(244, 241, 234, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease-out;
}
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4rem;
}
.brand { display: inline-flex; padding: 0.5rem 0; }
.brand img { width: 7.75rem; height: auto; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav ul { display: none; list-style: none; margin: 0; padding: 0; gap: 1.5rem; }
.nav ul a {
  font-size: 0.9375rem;
  color: var(--ink-2);
  text-decoration: none;
  padding: 0.5rem 0;
}
.nav ul a:hover { color: var(--ink); }

/* Menu toggle, below 900px. Opens from the header, closes back into it. */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.25rem;
  padding: 0.45rem 0.75rem;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 3px;
  font: 500 0.875rem/1.2 var(--sans);
  cursor: pointer;
  transition: transform 100ms ease-out, border-color 150ms ease-out;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle:hover { border-color: var(--ink-2); }
.nav-toggle:active { transform: scale(0.97); }
.nav-toggle-icon { position: relative; width: 0.875rem; height: 0.625rem; }
.nav-toggle-icon i {
  position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 1px;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-toggle-icon i:first-child { top: 0.0625rem; }
.nav-toggle-icon i:last-child { bottom: 0.0625rem; }
.nav.is-open .nav-toggle-icon i:first-child { transform: translateY(0.21875rem) rotate(45deg); }
.nav.is-open .nav-toggle-icon i:last-child { transform: translateY(-0.21875rem) rotate(-45deg); }

@media (max-width: 56.24em) {
  .nav { gap: 0.625rem; }
  .js .nav-toggle { display: inline-flex; }
  .js .nav ul {
    display: grid;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0.25rem var(--gutter) 1rem;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 18px 30px -24px rgba(23, 25, 30, 0.35);
    opacity: 0;
    transform: translateY(-0.5rem);
    visibility: hidden;
    transition: opacity 160ms ease-out, transform 220ms cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 220ms;
  }
  .js .nav.is-open ul {
    opacity: 1;
    transform: none;
    visibility: visible;
    transition-delay: 0s;
  }
  .js .nav ul a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--rule-soft);
    font-family: var(--serif);
    font-size: 1.25rem;
    letter-spacing: -0.008em;
    color: var(--ink);
  }
  .js .nav ul li:last-child a { border-bottom: 0; }
  .site-header:has(.nav.is-open) { background: var(--paper); border-bottom-color: var(--rule); }
}
@media (min-width: 56.25em) {
  .nav ul { display: flex; }
}

/* Sections */
.sec { padding: var(--sec) 0; border-top: 1px solid var(--rule); }
.sec-head { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.sec-no { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--ink-2); }
.sec-no b { color: var(--flag-text); font-weight: 500; }
.sec-head h2 {
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.022em;
  max-width: 20ch;
}
.lede {
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  color: var(--ink-2);
  max-width: 38rem;
}

/* Hero */
.hero { padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem); }
.hero-grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.25rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 1.25rem 0 1.5rem;
  max-width: 14ch;
}
.hero h1 em { font-style: italic; font-weight: 400; }
.hero h1 .h-line { display: block; }
.hero .lede { margin-bottom: 2rem; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; }
.cta-note { font-size: 0.9375rem; color: var(--ink-2); max-width: 22rem; }
.cta-alt { margin-top: 1.25rem; font-size: 0.9375rem; }
.cta-alt a { color: var(--ink); text-decoration-color: var(--flag); text-decoration-thickness: 1.5px; }
.cta-alt a:hover { color: #000; }
.phases {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  max-width: 34rem;
}
.phases li { padding: 0.75rem 1rem 0.8rem 0; font-family: var(--serif); font-size: 1.125rem; line-height: 1.25; letter-spacing: -0.008em; }
.phases li + li { padding-left: 1rem; border-left: 1px solid var(--rule); }
.phases .label { display: block; margin-bottom: 0.2rem; font-size: 0.6875rem; }
.phases li:first-child .label { color: var(--flag-text); }

/* Sheet: the product visual. A slice of a tracking sheet. */
.sheet {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 1px 0 rgba(23, 25, 30, 0.04), 0 18px 40px -24px rgba(23, 25, 30, 0.25);
}
.sheet-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
}
.sheet-bar strong { color: var(--ink); font-weight: 500; }
.sheet table { width: 100%; border-collapse: collapse; }
.sheet th, .sheet td {
  text-align: right;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--rule-soft);
  white-space: nowrap;
}
.sheet th:first-child, .sheet td:first-child { text-align: left; }
.sheet th { font-weight: 400; color: var(--ink-2); background: var(--paper-3); }
.sheet tr.is-flag td { background: var(--flag-bg); }
.sheet .up { color: var(--pos); }
.sheet .flag { color: var(--flag-text); font-weight: 500; }
.sheet .hide-sm, .sheet .hide-md { display: none; }
.sheet tr.is-dupe td { color: var(--ink-2); }
.sheet tr.is-dupe td:first-child { text-decoration: line-through; text-decoration-color: var(--flag); }
.sheet .muted { color: var(--ink-2); }
.sheet .ask { color: var(--ink); text-decoration: underline dotted var(--ink-2); text-underline-offset: 0.2em; }
.sheet-tabs {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--rule);
  background: var(--paper-3);
  color: var(--ink-2);
  overflow: hidden;
}
.sheet-tabs span { padding: 0.5rem 0.9rem; border-right: 1px solid var(--rule); }
.sheet-tabs span.on { background: var(--paper-2); color: var(--ink); }
.sample {
  margin-top: 0.75rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink-2);
}
.sample::before { content: ""; display: inline-block; width: 0.5rem; height: 0.5rem; background: var(--flag); margin-right: 0.5rem; vertical-align: 0.05em; }

/* Audience */
.duo { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.duo article { padding: 1.75rem 0; border-bottom: 1px solid var(--rule); }
.duo h3 { font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.012em; margin: 0.75rem 0 0.6rem; }
.duo p { color: var(--ink-2); max-width: 32rem; }
.aside-note {
  margin-top: 2.5rem;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.625rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  max-width: 40rem;
}

/* Problem list: ruled ledger rows */
.ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); counter-reset: row; }
.ledger li {
  display: grid;
  gap: 0.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
}
.ledger li::before {
  counter-increment: row;
  content: counter(row, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--flag-text);
  padding-top: 0.35rem;
}
.ledger h3 { font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.01em; }
.ledger p { color: var(--ink-2); max-width: 36rem; }

/* Sourcing */
.vet { border-top: 1px solid var(--ink); }
.vet-title { padding: 1rem 0 0.25rem; }
.ledger--tight { border-top: 0; }
.ledger--tight li:first-child { border-top: 0; }
.shortlist { margin: clamp(2.5rem, 6vw, 4rem) 0 0; }
@media (max-width: 63.99em) {
  .shortlist .sheet th { white-space: normal; vertical-align: bottom; }
}
@media (max-width: 37.49em) {
  .shortlist .sheet { font-size: 0.6875rem; }
  .shortlist .sheet th, .shortlist .sheet td { padding: 0.55rem 0.4rem; }
  .shortlist .sheet th:first-child, .shortlist .sheet td:first-child { padding-left: 0.7rem; }
  .shortlist .sheet th:last-child, .shortlist .sheet td:last-child { padding-right: 0.7rem; }
  .shortlist .sheet th { white-space: normal; vertical-align: bottom; }
}
.notes { display: grid; gap: 1rem; margin-top: clamp(2rem, 5vw, 3rem); }
.notes .panel p:not(.panel-head) { color: var(--ink-2); font-size: 0.9375rem; }
.notes .panel-head { color: var(--ink); }
.notes .panel { align-self: stretch; }

/* Differentiators */
.feature {
  display: grid;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  border-top: 1px solid var(--rule);
}
.feature:first-of-type { border-top-color: var(--ink); }
.feature .feature-no { font-family: var(--mono); font-size: 0.75rem; color: var(--flag-text); }
.feature .feature-no { margin-bottom: -1.25rem; }
.feature h3 { font-size: clamp(1.5rem, 2.8vw, 2.125rem); line-height: 1.12; letter-spacing: -0.018em; margin: 0.75rem 0 1rem; max-width: 18ch; }
.feature p { color: var(--ink-2); max-width: 30rem; }
.feature p + p { margin-top: 0.75rem; }
.panel {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: clamp(1rem, 3vw, 1.5rem);
  align-self: start;
}
.panel-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--ink-2);
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--rule-soft);
}

.rows { list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
.rows li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--rule-soft); }
.rows li:last-child { border-bottom: 0; }
.rows .k { color: var(--ink-2); }
.rows .strike { text-decoration: line-through; text-decoration-color: var(--flag); color: var(--ink-2); }
.rows .total { color: var(--ink); font-weight: 500; }
.rows .flag { color: var(--flag-text); font-weight: 500; }
.rows .up { color: var(--pos); }

/* Velocity chart */
.chart { width: 100%; height: auto; overflow: visible; }
.chart .axis { stroke: var(--rule); stroke-width: 1; }
.chart .tick { font: 400 12px var(--mono); fill: var(--ink-2); }
.chart .line { fill: none; stroke: var(--ink); stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; }
.chart .day7 { stroke: var(--ink-2); stroke-width: 1; stroke-dasharray: 3 4; }
.chart .flat { stroke: var(--flag); stroke-width: 1.5; stroke-dasharray: 5 4; fill: none; }
.chart .gap { fill: url(#hatch); }
.chart .note { font: 500 13px var(--mono); fill: var(--flag-text); }
.chart .note2 { font: 400 13px var(--mono); fill: var(--ink); }
@media (max-width: 37.49em) {
  .chart .tick { font-size: 19px; }
  .chart .tick-mid { display: none; }
  .chart .note { font-size: 21px; }
  .chart .note2 { display: none; }
}
.legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 0.75rem; font-family: var(--mono); font-size: 0.75rem; color: var(--ink-2); }
.legend span::before { content: ""; display: inline-block; width: 1.25rem; height: 0; border-top: 2px solid var(--ink); margin-right: 0.5rem; vertical-align: 0.25em; }
.legend span.l-flat::before { border-top: 2px dashed var(--flag); }
.legend span.l-gap::before { height: 0.6rem; border: 1px solid var(--flag); background: var(--flag-bg); vertical-align: -0.05em; }

.js .chart .line { stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.js .chart .gap, .js .chart .flat, .js .chart .note { opacity: 0; }
.js .chart.is-drawn .line { stroke-dashoffset: 0; transition: stroke-dashoffset 1200ms cubic-bezier(0.22, 1, 0.36, 1); }
.js .chart.is-drawn .gap, .js .chart.is-drawn .flat, .js .chart.is-drawn .note { opacity: 1; transition: opacity 400ms ease-out 900ms; }

/* Deliverables */
.cards { display: grid; gap: 1.25rem; }
.card {
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: clamp(1.25rem, 3vw, 1.75rem);
}
.card .cadence { font-family: var(--mono); font-size: 0.75rem; color: var(--flag-text); }
.card h3 { font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.012em; margin: 0.6rem 0 0.6rem; }
.card > p { color: var(--ink-2); margin-bottom: 1.5rem; }
.card > p.cadence { margin-bottom: 0; }
.card .specimen {
  margin-top: auto;
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
}
.specimen .rows { font-size: 0.75rem; }
.mini-sheet { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 0.75rem; font-variant-numeric: tabular-nums; }
.mini-sheet th, .mini-sheet td { padding: 0.4rem 0.25rem; text-align: right; border-bottom: 1px solid var(--rule-soft); }
.mini-sheet th:first-child, .mini-sheet td:first-child { text-align: left; }
.mini-sheet th { font-weight: 400; color: var(--ink-2); }
.memo { font-family: var(--serif); font-size: 1rem; line-height: 1.45; }
.memo p + p { margin-top: 0.6rem; }
.memo .memo-h { font-family: var(--mono); font-size: 0.75rem; color: var(--ink-2); margin-bottom: 0.5rem; }
.memo mark { background: var(--flag-bg); color: inherit; padding: 0 0.15em; }

/* Comparison. A table on wide screens, stacked rows on small ones. */
.compare { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.compare caption { text-align: left; }
.compare th, .compare td { text-align: left; vertical-align: top; font-weight: 400; }
.compare thead { display: none; }
.compare tbody tr { display: block; padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
.compare tbody th { display: block; font-family: var(--serif); font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 0.75rem; }
.compare tbody td { display: grid; grid-template-columns: 8.5rem 1fr; gap: 0.75rem; padding: 0.35rem 0; font-size: 0.9375rem; color: var(--ink-2); }
.compare tbody td::before { content: attr(data-label); font-family: var(--mono); font-size: 0.75rem; color: var(--ink-2); padding-top: 0.2rem; }
.compare td.us { color: var(--ink); font-weight: 500; }
.compare td.us::before { color: var(--flag-text); }
.compare .no { color: var(--ink-2); }
.compare-note { margin-top: 2rem; max-width: 40rem; color: var(--ink-2); }
.compare-note strong { color: var(--ink); font-weight: 500; }

/* Pricing band */
.quote-band {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--flag);
}
.quote-band h3 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; letter-spacing: -0.015em; margin-top: 0.5rem; }
.quote-band p { color: var(--ink-2); max-width: 36rem; }

/* Audit */
.audit-grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.steps li { display: grid; grid-template-columns: 3rem 1fr; padding: 1.5rem 0; border-bottom: 1px solid var(--rule); }
.steps .n { font-family: var(--serif); font-size: 2rem; line-height: 1; color: var(--flag-text); }
.steps h3 { font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 0.4rem; }
.steps p { color: var(--ink-2); }
.page-doc {
  background: #fffdf8;
  border: 1px solid var(--rule);
  padding: clamp(1.25rem, 4vw, 2rem);
  box-shadow: 0 1px 0 rgba(23, 25, 30, 0.04), 0 24px 48px -30px rgba(23, 25, 30, 0.35);
  transform: rotate(-0.6deg);
}
.page-doc h3 { font-size: 1.5rem; letter-spacing: -0.012em; margin: 0.4rem 0 1rem; }
.stats { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.25fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); margin-bottom: 1rem; }
.stats div { padding: 0.75rem 0.5rem 0.75rem 0; }
.stats div + div { padding-left: 0.75rem; border-left: 1px solid var(--rule-soft); }
.stats b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 4vw, 1.875rem); line-height: 1.1; font-variant-numeric: tabular-nums lining-nums; }
.stats span { display: block; margin-top: 0.3rem; font-family: var(--mono); font-size: 0.6875rem; line-height: 1.35; color: var(--ink-2); }
.page-doc .memo { font-size: 0.9375rem; }
.lines { margin-top: 1rem; display: grid; gap: 0.45rem; }
.lines i { display: block; height: 0.4rem; background: var(--rule-soft); border-radius: 1px; }
.lines i:nth-child(2) { width: 92%; }
.lines i:nth-child(3) { width: 74%; }

/* Free offers */
.offer + .offer { margin-top: clamp(3.5rem, 8vw, 5.5rem); }
.offer-title {
  font-size: clamp(1.625rem, 3.2vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.018em;
  margin-bottom: 1.75rem;
}
.offer-title .label { display: block; margin-bottom: 0.6rem; color: var(--flag-text); font-family: var(--mono); letter-spacing: 0.04em; }
.offer .audit-cta { margin-top: 2.25rem; }
.page-doc--alt { transform: rotate(0.6deg); }
@media (min-width: 64em) {
  .offers {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(2.5rem, 5vw, 4.5rem);
  }
  .offers { grid-template-rows: repeat(4, auto); }
  .offers .offer { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  .offers .audit-grid { display: contents; }
  .offers figure { margin-top: 2.5rem !important; }
  .offers .audit-cta { align-self: end; }
  .offers .offer + .offer { margin-top: 0; padding-left: clamp(2.5rem, 5vw, 4.5rem); margin-left: calc(-1 * clamp(2.5rem, 5vw, 4.5rem) / 2); border-left: 1px solid var(--rule); }
  .offers .offer-title, .offers .audit-cta, .offers .audit-grid { margin-left: 0; }
  .offers .page-doc { max-width: 24rem; }
  .offers .audit-cta { margin-top: 0; padding-top: 2.25rem; }
}

/* FAQ */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: clamp(1.1875rem, 2vw, 1.375rem);
  line-height: 1.3;
  letter-spacing: -0.008em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 1.125rem;
  color: var(--ink-2);
  transition: transform 200ms ease-out;
  flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: #000; }
.faq .ans { padding: 0 0 1.5rem; color: var(--ink-2); max-width: 40rem; }
.faq .ans p + p { margin-top: 0.6rem; }

/* Final CTA */
.final { background: var(--ink); color: var(--paper); padding: clamp(5rem, 11vw, 9rem) 0; }
.final h2 { font-size: clamp(2.4rem, 6.5vw, 4.75rem); line-height: 1.02; letter-spacing: -0.028em; max-width: 15ch; margin: 1.25rem 0 1.5rem; }
.final p { color: #c9c5bb; max-width: 32rem; font-size: 1.125rem; }
.final .label { color: #c9c5bb; font-size: 0.75rem; }
.final .cta-row { margin-top: 2.25rem; }
.final .mail { color: var(--paper); font-family: var(--mono); font-size: 0.875rem; }
.final-offers { list-style: none; margin: 2.5rem 0 0; padding: 0; border-top: 1px solid #4a4d55; max-width: 46rem; }
.final-offers li {
  display: grid;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #33363d;
}
.final .final-offer-h { color: var(--paper); font-family: var(--serif); font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 0.25rem; }
.final-offers p { font-size: 1rem; }
.final .final-mail { margin-top: 1.75rem; font-size: 0.9375rem; }
.btn--line { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1px #8b8f97; }
.btn--line:hover { background: rgba(244, 241, 234, 0.08); box-shadow: inset 0 0 0 1px var(--paper); }
.btn--line:focus-visible { outline-color: var(--paper); }

/* Footer */
.site-footer { padding: 2.5rem 0 3rem; border-top: 1px solid var(--rule); }
.site-footer .wrap { display: grid; gap: 1.5rem; }
.site-footer img { width: 6.5rem; height: auto; }
.foot-meta { display: grid; gap: 0.4rem; font-size: 0.875rem; color: var(--ink-2); }
.foot-meta a { color: var(--ink); }

/* 404 */
.nf { min-height: calc(100dvh - 4rem - 9rem); display: grid; align-content: center; padding: 5rem 0; }
.nf h1 { font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1; letter-spacing: -0.03em; margin: 1.25rem 0 1.25rem; max-width: 14ch; }
.nf .lede { margin-bottom: 2rem; }

/* ---------- 600px and up ---------- */
@media (min-width: 37.5em) {
  .sheet .hide-sm { display: table-cell; }
  .notes { grid-template-columns: 1fr 1fr; }
  .final-offers li { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 2rem; }
  .final-offers .btn { min-width: 15.5rem; justify-content: space-between; }
  .duo { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
  .cta-note { max-width: 18rem; }
}

/* ---------- 768px and up ---------- */
@media (min-width: 48em) {
  .ledger li { grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1.3fr); column-gap: 2rem; }
  .ledger li::before { padding-top: 0.45rem; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .compare thead { display: table-header-group; }
  .compare thead th {
    font-family: var(--mono);
    font-size: 0.75rem;
    color: var(--ink-2);
    padding: 1rem 1rem 1rem 0;
    border-bottom: 1px solid var(--rule);
  }
  .compare thead th.us { color: var(--flag-text); }
  .compare tbody tr { display: table-row; padding: 0; }
  .compare tbody th, .compare tbody td {
    display: table-cell;
    padding: 1.1rem 1rem 1.1rem 0;
    border-bottom: 1px solid var(--rule);
    margin: 0;
  }
  .compare tbody th { font-size: 1.125rem; width: 26%; }
  .compare tbody td { font-size: 0.9375rem; width: 24.6%; }
  .compare tbody td::before { content: none; }
  .compare td.us { background: var(--paper-2); padding-left: 1rem; }
  .compare thead th.us { background: var(--paper-2); padding-left: 1rem; }

  .quote-band { grid-template-columns: 1fr auto; align-items: end; }
  .site-footer .wrap { grid-template-columns: auto 1fr; align-items: start; column-gap: 4rem; }
}

/* ---------- 1024px and up ---------- */
@media (min-width: 64em) {
  .sec-head { grid-template-columns: calc(25% - 0.5rem) minmax(0, 1fr); column-gap: 2rem; align-items: baseline; }
  .sec-head .sec-no { grid-row: span 2; padding-top: 0.6rem; }
  .sec-head .lede { grid-column: 2; }
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; column-gap: 3.5rem; }
  .hero h1 { max-width: 13ch; font-size: clamp(3.5rem, 5.6vw, 5.25rem); }
  .feature { grid-template-columns: calc(25% - 0.5rem) minmax(0, 1fr) minmax(0, 1.2fr); column-gap: 2rem; align-items: start; }
  .feature--wide .panel { grid-column: 2 / -1; }
  .feature--wide .feature-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); column-gap: 2rem; grid-column: 2 / -1; }
  .feature--wide .feature-body h3 { grid-row: span 2; }
  .feature .feature-no { padding-top: 0.9rem; margin-bottom: 0; }
  .feature h3 { margin-top: 0; }
  .feature-body { grid-column: 2; }
  .duo, .aside-note, .ledger, .faq, .compare-wrap, .quote-band, .audit-cta, .vet, .notes, .offer-title { margin-left: var(--indent); }
  .vet .ledger { margin-left: 0; }
  .sheet .hide-md { display: table-cell; }
  .notes { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-left: 0; }
  .audit-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 4rem; align-items: start; margin-left: var(--indent); }
  .final-inner { margin-left: var(--indent); }
}

/* Accessibility preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .chart .line { stroke-dasharray: none; stroke-dashoffset: 0; }
  .js .chart .gap, .js .chart .flat, .js .chart .note { opacity: 1; }
  .btn:active { transform: none; }
  .page-doc { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --ink-2: #3d3b35; --rule: #8a8577; --rule-soft: #b9b2a2; }
  .site-header { background: var(--paper); backdrop-filter: none; }
}
@media print {
  .site-header, .final .cta-row { display: none; }
}
