/* Hallmark · shape: app screen · genre: modern-minimal · theme: Furrow, monochrome · signature: evidence ledger */
/* Critique: keep the comparison on the first screen; no decorative dashboard metrics. */
/* Waiver: dense reference table, not a marketing hero. */
:root {
  color-scheme: light;
  --bg: #fafafa; --surface: #f1f1f1; --fg: #161616; --muted: #585858;
  --line: #d7d7d7; --strong: #242424; --button: #fff; --font: system-ui, sans-serif;
  --gray-06: #0f0f0f; --gray-10: #191919; --gray-95: #f1f1f1;
  --gray-67: #aaa; --gray-21: #363636; --gray-87: #dedede;
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem;
  --gutter: clamp(1rem, 4vw, 3rem); --max: 76rem; --radius: .375rem;
}
.dark {
  color-scheme: dark;
  --bg: var(--gray-06); --surface: var(--gray-10); --fg: var(--gray-95); --muted: var(--gray-67);
  --line: var(--gray-21); --strong: var(--gray-87); --button: var(--gray-10);
}
@media (prefers-color-scheme: dark) {
  :root:not(.light) {
    color-scheme: dark;
    --bg: var(--gray-06); --surface: var(--gray-10); --fg: var(--gray-95); --muted: var(--gray-67);
    --line: var(--gray-21); --strong: var(--gray-87); --button: var(--gray-10);
  }
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1rem/1.55 var(--font); }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), var(--max)); margin-inline: auto; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .13em; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: var(--s3); }
.mark { font-size: .875rem; font-weight: 650; text-decoration: none; }
.mark:hover { text-decoration: underline; }
button, select, input {
  min-height: 44px; color: var(--fg); background: var(--button); border: 1px solid var(--line);
  border-radius: var(--radius); padding: var(--s2) var(--s3); font: inherit;
}
button, select { cursor: pointer; }
button:hover, select:hover, input:hover { border-color: var(--muted); }
button:active, select:active { background: var(--surface); }
button:disabled, select:disabled, input:disabled { cursor: not-allowed; color: var(--muted); }
input::placeholder { color: var(--muted); opacity: 1; }
.theme { font-size: .875rem; }
.intro { padding-block: clamp(2rem, 5vw, 4rem) var(--s6); }
h1, h2, h3 { margin: 0; min-width: 0; overflow-wrap: break-word; text-wrap: balance; line-height: 1.13; }
h1 { font-size: clamp(2.25rem, 6vw, 4.75rem); letter-spacing: -.055em; font-weight: 720; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -.035em; }
h3 { font-size: 1.1rem; }
p { margin: 0; }
.intro p { margin-top: var(--s3); max-width: 65ch; }
.snapshot, .controls, .quiet, .terms, .links, footer { color: var(--muted); }
.snapshot { font-size: .875rem; }
.toc { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin-top: var(--s3); }
.toc a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; font-weight: 580; }
.comparison-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s2); }
.controls { display: flex; flex-wrap: wrap; gap: var(--s3); margin-block: var(--s4); align-items: end; }
.controls label { display: grid; gap: var(--s1); font-size: .875rem; }
.controls input { width: 18rem; max-width: 100%; }
.controls p { font-size: .875rem; padding-bottom: var(--s2); margin-left: auto; }
.empty { padding: var(--s4) 0; }
table { border-collapse: collapse; width: 100%; table-layout: fixed; font-size: .91rem; line-height: 1.45; font-variant-numeric: tabular-nums; }
thead { background: var(--surface); border-top: 1px solid var(--strong); }
td, th { text-align: left; vertical-align: top; padding: var(--s3); overflow-wrap: anywhere; border-bottom: 1px solid var(--line); }
thead th { font-size: .85rem; font-weight: 600; }
tbody th { font-weight: 650; }
tbody tr.group > * { border-top: 1px solid var(--strong); }
.provider { width: 11%; }
.plan { width: 15%; }
.cost { width: 12%; }
.models { width: 21%; }
.price { font-weight: 650; font-variant-numeric: tabular-nums; }
.measure { font-weight: 660; }
.gap { color: var(--muted); }
.kind { display: block; color: var(--muted); font-size: .8rem; margin-top: var(--s1); }
.terms, .links { font-size: .85rem; margin-top: var(--s1); }
.links a { display: inline-flex; align-items: center; min-height: 28px; margin-right: var(--s3); }
.mobile-label { display: none; }
.notes { margin-top: var(--s7); border-top: 1px solid var(--strong); padding-block: var(--s6); }
.notes p, .notes li { max-width: 72ch; }
.notes p, .notes ul, .notes details { margin-top: var(--s3); }
.notes ul { padding-inline-start: var(--s5); }
.notes li + li { margin-top: var(--s2); }
.notes summary { cursor: pointer; padding-block: var(--s3); width: fit-content; font-weight: 650; }
footer { padding-block: var(--s5) var(--s6); border-top: 1px solid var(--line); font-size: .875rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: clip;
  clip-path: inset(50%); white-space: nowrap;
}
@media (max-width: 52rem) {
  .controls p { margin-left: 0; }
  table, tbody { display: block; }
  thead { position: absolute; width: 1px; height: 1px; overflow: clip; clip-path: inset(50%); }
  tbody { border-top: 1px solid var(--strong); }
  tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s1) var(--s4); padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
  tbody tr.group { border-top: 1px solid var(--strong); }
  tbody tr.group > *, td, th { padding: 0; border: 0; }
  tbody th { grid-column: 1; }
  tbody td:nth-child(2) { grid-column: 1; }
  tbody td:nth-child(3) { grid-column: 2; grid-row: 1 / 3; text-align: right; }
  tbody td:nth-child(n+4) { grid-column: 1 / -1; margin-top: var(--s2); }
  .mobile-label { display: block; color: var(--muted); font-size: .8rem; }
  .links a { min-height: 44px; }
}
@media (max-width: 27rem) {
  .intro { padding-block: var(--s5) var(--s4); }
  .toc { column-gap: var(--s3); }
  .toc a { font-size: .81rem; }
  .controls label { flex: 1 1 100%; }
  .controls input { width: 100%; }
  tbody tr { grid-template-columns: minmax(0, 1fr) minmax(0, 43%); }
}
