:root {
  --navy: #0e2f33;
  --teal: #145e5a;
  --teal-deep: #0e3d3a;
  --on-teal: #f6f1e7;
  --sand: #f4efe6;
  --sand-deep: #e6dccb;
  --card: #fffdf8;
  --ink: #142326;
  --ink-soft: #3d4c4e;
  --muted: #4e5c5e;
  --paper: var(--sand);
  --paper-deep: var(--sand-deep);
  --line: #ddd4c6;
  --accent: #b8431f;
  --accent-text: #8d3416;
  --on-accent: #fffdf8;
  --accent-line: #b8431f;
  --stamp: var(--accent);
  --sage: #1d6b45;
  --sage-text: #14663c;
  --sage-soft: #e5f3ec;
  --warn-soft: #f8efd8;
  --bad-soft: #f8e4de;
  --inverse: #142326;
  --on-inverse: #fffdf8;
  --badge-bg: var(--sand-deep);
  --badge-ink: var(--teal-deep);
  --paper-fixed: #fffdf8;
  --ink-fixed: #142326;
  --focus: #9a3412;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 40px;
  --space-7: 64px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(14, 47, 51, 0.06);
  --shadow: 0 16px 36px rgba(14, 47, 51, 0.08);
  --shadow-md: var(--shadow);
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1.0625rem;
  --text-lg: 1.2rem;
  --text-xl: 1.35rem;
  --text-2xl: clamp(1.5rem, 2vw, 1.875rem);
  --text-3xl: clamp(2.15rem, 4vw, 3.15rem);
  --serif: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(20, 94, 90, 0.08), transparent 32rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--text-base);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: var(--text-3xl); margin: 0.15em 0 0.25em; max-width: 16em; }
h2 { font-size: var(--text-2xl); margin: 0 0 0.35em; max-width: 22em; }
h3 { font-size: var(--text-xl); margin: 0 0 0.3em; }
p, .lede { margin: 0.35em 0 0.8em; max-width: 65ch; }
.hero h1 { font-size: var(--text-3xl); max-width: 12em; }
.wrap { width: min(1080px, calc(100% - 32px)); margin-inline: auto; }
.narrow { width: min(720px, calc(100% - 32px)); }
.skip {
  position: absolute; left: var(--space-3); top: -40px; z-index: 10;
  background: var(--ink-fixed); color: var(--paper-fixed); padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
}
.skip:focus { top: var(--space-3); }

.site-header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.badge {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px;
  border-radius: var(--radius-pill); background: var(--badge-bg); color: var(--badge-ink);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.header-row {
  display: flex; justify-content: space-between; gap: var(--space-4); align-items: center;
  min-height: 68px; flex-wrap: wrap; padding: var(--space-2) 0;
}
.brand {
  display: inline-flex; gap: 10px; align-items: center; text-decoration: none;
  font-weight: 700; letter-spacing: -0.03em; min-height: 44px;
}
.stamp {
  width: 28px; height: 28px; display: grid; place-items: center;
  background: var(--accent); color: var(--on-accent); border-radius: 50%; font-family: var(--serif);
}
.nav { display: flex; gap: var(--space-2) var(--space-4); align-items: center; flex-wrap: wrap; }
.nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

.button, button, .text-button { font: inherit; cursor: pointer; }
.button, button.button {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 0 var(--space-4); border-radius: var(--radius-pill);
  border: 1px solid var(--ink); background: transparent; color: var(--ink); text-decoration: none;
  transition: transform 120ms ease, background-color 120ms ease;
}
.button:active, button.button:active { transform: translateY(1px) scale(0.98); }
.button.primary, button.primary {
  background: var(--accent); border-color: var(--accent); color: var(--on-accent);
}
.button.small { min-height: 44px; padding: 0 14px; }
.button:disabled, button:disabled { opacity: 0.45; cursor: not-allowed; }
.text-button {
  background: none; border: 0; color: var(--muted); min-height: 44px; padding: 0;
  text-decoration: underline; text-underline-offset: 3px;
}
.text-button.danger { color: var(--accent-text); }

.hero { display: grid; gap: var(--space-5); padding: var(--space-6) 0 var(--space-3); align-items: center; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: var(--text-xs);
  color: var(--accent-text); font-weight: 700; margin: 0 0 var(--space-2);
}
.lede { font-size: var(--text-lg); max-width: 38rem; }
.hero-actions, .row-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: var(--space-4) 0; }
.fine { color: var(--muted); font-size: var(--text-sm); }
.band { background: var(--teal-deep); color: var(--on-teal); padding: var(--space-6) 0; }
.band a { color: var(--on-teal); }
.band h2, .band p { color: inherit; }
.section { padding: var(--space-6) 0; }
.split-3, .split-2, .price-grid, .state-grid { display: grid; gap: var(--space-4); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5); box-shadow: var(--shadow-sm);
}
.price { display: flex; flex-direction: column; }
.price .button, .price button { margin-top: auto; }
.price-figure { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 2.75rem); margin: 0 0 var(--space-2); line-height: 1; }
.price ul, .price-list {
  list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; gap: var(--space-2);
}
.price li { position: relative; padding-left: 16px; }
.price li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px;
  border-radius: 50%; background: var(--accent);
}
.price.featured { outline: 2px solid var(--accent-line); outline-offset: 0; }
.steps { padding-left: 1.2rem; display: grid; gap: var(--space-3); }
.state-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.state-card, .state-wide {
  display: flex; gap: var(--space-3); align-items: flex-start; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--space-4); min-height: 72px;
}
.state-card span, .state-wide span {
  flex: 0 0 2.75rem; font-family: var(--serif); color: var(--accent-text);
  font-size: 1.15rem; line-height: 1.2; padding-top: 2px;
}
.state-wide p { margin: 2px 0 0; color: var(--ink-soft); }
.state-wide strong, .state-card strong { display: block; }
.faq { border-top: 1px solid var(--line); padding: var(--space-1) 0; }
.faq summary {
  cursor: pointer; min-height: 48px; display: flex; align-items: center; gap: var(--space-3);
  font-weight: 650; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font-family: var(--serif); font-size: 1.25rem; color: var(--muted); }
.faq[open] summary::after { content: "–"; }
.faq p { margin: 0 0 var(--space-3); }
.site-footer { border-top: 1px solid var(--line); padding: var(--space-6) 0 var(--space-7); margin-top: var(--space-4); }
.footer-grid { display: grid; gap: var(--space-4); }
.footer-grid a { display: flex; align-items: center; min-height: 44px; }

.banner { border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); }
.banner.info, .banner.good { background: var(--sage-soft); }
.banner.warn { background: var(--warn-soft); }
.banner.bad { background: var(--bad-soft); }
.stack { display: grid; gap: var(--space-4); }
label { display: grid; gap: 6px; font-weight: 650; }
input, select, textarea {
  font: inherit; color: inherit; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-md); min-height: 48px; padding: 10px 12px; width: 100%;
}
textarea { min-height: 120px; }
::placeholder { color: var(--muted); opacity: 1; }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--accent);
}
fieldset {
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-3);
  display: flex; gap: var(--space-2); flex-wrap: wrap; margin: 0;
}
legend { padding: 0 var(--space-1); }
.choice { font-weight: 600; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 88px; min-height: 48px;
  border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 0 var(--space-3); background: var(--card);
}
.choice input:checked + span { background: var(--inverse); color: var(--on-inverse); border-color: var(--inverse); }
.choice.yes input:checked + span { background: var(--sage); border-color: var(--sage); color: var(--on-accent); }
.choice.no input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.choice input:focus-visible + span, a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 2px;
}
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.link-box {
  background: var(--teal-deep); color: var(--on-teal); border-radius: var(--radius-lg); padding: var(--space-4);
}
.link-box p { color: inherit; }
.link-box code, .share-card code {
  display: block; overflow-wrap: anywhere; font-size: var(--text-sm); margin: var(--space-2) 0;
}
.link-box .button { color: var(--ink-fixed); background: var(--paper-fixed); border-color: transparent; }
.room-card { text-decoration: none; display: flex; justify-content: space-between; gap: var(--space-3); align-items: center; }
.empty, .empty-state { color: var(--muted); }
.card.empty { border-style: dashed; }
.item-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-3) var(--space-4); background: var(--card);
}
.item-top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); }
.rating-row { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; margin: var(--space-2) 0; }
.rating-row > span { min-width: 7.5rem; color: var(--ink-soft); }
.notes { margin-top: var(--space-3); }
.save-bar {
  position: sticky; bottom: 0; padding: var(--space-3) 0 calc(var(--space-3) + env(safe-area-inset-bottom));
  background: linear-gradient(transparent, var(--paper) 30%);
}
.photo-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.photo-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 10px; }
.photo-card img { border-radius: var(--radius-sm); max-height: 280px; object-fit: cover; width: 100%; background: var(--paper-deep); }
.camera input { padding: var(--space-4); background: var(--paper); }
.check { font-weight: 600; grid-template-columns: auto 1fr; align-items: center; }
.check input { width: auto; min-height: 24px; min-width: 24px; }
.inline { display: flex; gap: var(--space-2); align-items: end; flex-wrap: wrap; }
.inline label { flex: 1; min-width: min(100%, 12rem); }
.prose-list { padding-left: 1.15rem; display: grid; gap: var(--space-2); }
.prose h2 { margin-top: 1.5em; }
.prose ul, .prose ol { display: grid; gap: var(--space-2); padding-left: 1.15rem; }
.prose li { max-width: 65ch; }
.prose a { text-underline-offset: 3px; }

.progress { height: 8px; background: var(--line); border-radius: var(--radius-pill); overflow: hidden; margin: var(--space-2) 0 var(--space-4); }
.progress span { display: block; height: 100%; background: var(--teal); }
.progress-label { font-weight: 700; margin: 0; }
.trust {
  list-style: none; padding: 0; margin: var(--space-2) 0 0; display: flex; flex-wrap: wrap;
  gap: var(--space-2) var(--space-4); color: var(--muted); font-size: var(--text-sm);
}
.trust li { min-height: 24px; }
.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;
}
.stepper {
  display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: center;
  gap: var(--space-3); margin: var(--space-4) 0 var(--space-2);
}
.stepper strong {
  font-family: var(--serif); font-size: 2.5rem; min-width: 2.5ch; text-align: center;
  flex: 0 0 auto; white-space: nowrap; line-height: 1;
}
.stepper form { margin: 0; width: auto; flex: 0 0 auto; }
.stepper-btn {
  width: 48px; height: 48px; min-width: 48px; min-height: 48px; flex: 0 0 auto;
  border-radius: 50%; font-size: 1.5rem; padding: 0;
}
.type-grid { display: grid; gap: var(--space-3); }
.type-choice span { width: 100%; min-height: 64px; font-size: var(--text-lg); }
.yesno {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2) var(--space-3);
  align-items: center; background: var(--card);
}
.yesno legend { grid-column: 1 / -1; font-weight: 700; margin: 0; padding: 0; }
.yesno .choice span { width: 100%; }
.phone-handoff { display: none; }
.qr { width: min(180px, 30vh); height: min(180px, 30vh); max-width: 200px; max-height: 30vh; }
.qr svg { display: block; width: 100%; height: 100%; max-width: 200px; max-height: 30vh; }
.room-row { display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-3); align-items: center; }
.room-open { text-decoration: none; display: grid; min-height: 48px; align-content: center; gap: 2px; }
.room-open span { color: var(--muted); font-size: var(--text-sm); }
.room-move { display: flex; flex-direction: row; gap: 6px; }
.room-move .button { min-width: 52px; }
.next-action .button, .upgrade .button { width: 100%; }
.upgrade { outline: 2px solid var(--accent-line); }
.area-preview { padding-left: 1.2rem; display: grid; gap: var(--space-2); }
.walk { display: grid; gap: var(--space-3); }
.walk-bar {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--space-2);
  align-items: center;
}
.walk-bar h1 {
  margin: 0; font-family: var(--sans); font-size: var(--text-base); font-weight: 700;
  letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.walk-bar a { min-height: 44px; display: inline-flex; align-items: center; }
.shot-strip { list-style: none; display: flex; gap: var(--space-2); margin: 0; padding: 0; overflow-x: auto; width: 100%; }
.shot-strip img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); }
.shot-strip [data-queued] img { outline: 2px dashed var(--accent); outline-offset: 2px; }
.rate { border: 0; margin: 0; padding: 0; display: grid; gap: var(--space-2); width: 100%; }
.rate-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.rate-row button {
  min-height: 44px; border-radius: var(--radius-pill); border: 1px solid var(--ink);
  background: transparent; color: inherit; padding: 0 var(--space-3); font: inherit; cursor: pointer;
}
.rate-row button[aria-pressed="true"] { background: var(--inverse); color: var(--on-inverse); border-color: var(--inverse); }
.walk video {
  width: 100%; min-height: 240px; max-height: 58vh; background: #16130f;
  border-radius: var(--radius-lg); object-fit: cover;
}
.walk-controls { display: grid; gap: var(--space-3); justify-items: stretch; width: 100%; }
.walk-controls form, .walk-controls .button, .walk-controls select, .walk-controls label { width: 100%; }
.walk-controls select { min-height: 48px; }
.walk-controls .shutter { width: 88px; justify-self: center; }
.shutter {
  width: 88px; height: 88px; border-radius: 50%; border: 6px solid var(--paper-fixed);
  background: var(--accent); color: var(--on-accent); font: inherit; font-weight: 700;
  font-size: var(--text-sm); line-height: 1.05; display: grid; place-items: center; text-align: center; padding: 8px;
}
.photo-tag {
  display: inline-block; margin: var(--space-2) 0 0; padding: 4px 8px; border-radius: var(--radius-pill);
  background: var(--inverse); color: var(--on-inverse); font-size: var(--text-sm);
}
.gap-list { list-style: none; padding: 0; display: grid; gap: var(--space-2); }
.gap-list a { font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.gap-head { display: grid; gap: var(--space-2); }
.gap-head details summary { min-height: 44px; cursor: pointer; font-weight: 700; }
.gap-items { margin: var(--space-2) 0 0; padding-left: 1.1rem; display: grid; gap: 6px; }
.retake { width: 100%; display: grid; gap: 10px; }
.retake img { width: 100%; border-radius: var(--radius-md); max-height: 40vh; object-fit: cover; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; }
.check-list li {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px var(--space-2); padding: var(--space-2) 0;
  border-bottom: 1px solid var(--line); align-items: baseline; font-size: var(--text-sm);
}
.check-list li strong { grid-column: 1 / -1; font-size: var(--text-base); color: var(--ink); }
.mark-no { color: var(--accent-text); font-weight: 700; }
.mark-yes { color: var(--sage-text); }
.mark-blank { color: var(--muted); }
.slot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-deep);
  box-shadow: var(--shadow);
}
.sample-slot { aspect-ratio: 4 / 3; }
.sample-slot img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.hero-slot {
  width: min(100%, 480px);
  max-width: 480px;
  height: auto;
  aspect-ratio: 4 / 3;
  justify-self: center;
  align-self: center;
  background: transparent;
  box-shadow: var(--shadow);
}
.hero-slot img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  display: block;
}
.steps-section h2 { margin-left: 0; max-width: none; }
.step-grid {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0 0;
  display: grid;
  gap: var(--space-4);
  align-items: stretch;
}
.step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: var(--space-3) var(--space-4);
  align-items: start;
  height: 100%;
  margin: 0;
}
.step-media { display: grid; gap: var(--space-2); justify-items: center; }
.step-badge {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--teal-deep); color: var(--on-accent);
  display: grid; place-items: center; font-weight: 700; font-size: var(--text-sm);
}
.step img { width: 56px; height: 56px; }
.step-copy { min-width: 0; }
.step-copy h3 { margin: 0 0 6px; }
.step-copy p { margin: 0; }
.sample-section { display: grid; gap: var(--space-5); align-items: center; }
.paywall { margin-top: var(--space-5); }
.paywall .button { margin-top: var(--space-3); width: 100%; }
.hero-copy .lede { max-width: 34rem; }
.report-lead { display: grid; gap: var(--space-2); margin-bottom: var(--space-4); }

@media (min-width: 640px) {
  .gap-head { grid-template-columns: 1fr auto; align-items: start; }
  .check-list li { grid-template-columns: minmax(8rem, 1.3fr) repeat(3, minmax(6.5rem, auto)); }
  .check-list li strong { grid-column: auto; font-size: inherit; }
}
@media (min-width: 720px) {
  .section { padding: var(--space-7) 0; }
  .hero { grid-template-columns: 1.05fr 0.95fr; align-items: center; padding-top: var(--space-7); }
  .step-grid, .split-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sample-section { grid-template-columns: 1fr 1fr; }
  .split-2 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.5fr 0.8fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .phone-handoff {
    display: flex; align-items: center; gap: var(--space-4) var(--space-5);
    max-width: 40rem; background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: var(--space-4);
  }
  .handoff-copy { flex: 1; min-width: 0; }
  .phone-handoff h2 { font-size: var(--text-xl); margin: 0 0 0.2em; }
  .phone-handoff p { margin: 0 0 var(--space-3); }
  .phone-handoff .qr { flex: 0 0 auto; }
}
@media (min-width: 900px) {
  .price-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1040px) {
  .state-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
  .wrap { width: min(1080px, calc(100% - 48px)); }
  .hero-copy .lede, .section > p { max-width: 42rem; }
}
@media (max-width: 899px) {
  .price.featured { order: -1; }
}
@media (max-width: 720px) {
  body.walk-mode { background: var(--navy); color: var(--on-teal); }
  body.walk-mode .site-header, body.walk-mode .site-footer { display: none; }
  body.walk-mode .walk { min-height: 100dvh; padding: var(--space-3) var(--space-3) var(--space-5); }
  body.walk-mode .walk-bar a, body.walk-mode .walk a { color: var(--on-teal); }
  body.walk-mode .walk video { min-height: 42vh; max-height: 52vh; }
  body.walk-mode .button { color: var(--on-teal); border-color: var(--on-teal); }
  body.walk-mode .button.primary,
  body.walk-mode .rate-row button[aria-pressed="true"] {
    background: var(--on-teal); color: var(--ink-fixed); border-color: var(--on-teal);
  }
  body.walk-mode .shutter { border-color: var(--paper-fixed); background: var(--accent); color: var(--on-accent); }
  body.walk-mode select, body.walk-mode input { background: var(--paper-fixed); color: var(--ink-fixed); }
  body.walk-mode .rate-row button { color: var(--on-teal); border-color: var(--on-teal); }
}
@media (min-width: 721px) {
  body.walk-mode .walk {
    width: min(440px, calc(100% - 32px));
    margin: var(--space-5) auto var(--space-7);
  }
}
@media (max-width: 640px) {
  .header-row { align-items: center; }
  .nav { width: 100%; justify-content: flex-start; }
  .nav .button { margin-left: auto; }
  .room-row { grid-template-columns: 1fr auto; }
  .room-move { grid-column: 1 / -1; }
  .rating-row { display: grid; grid-template-columns: 1fr 1fr; }
  .rating-row > span { grid-column: 1 / -1; min-width: 0; }
  .rating-row .choice span { width: 100%; }
  .row-actions .button, .next-action .button, .hero-actions .button, .paywall .button, .sample-section .button { width: 100%; }
  .gap-head { grid-template-columns: 1fr; }
  .gap-area .button { width: 100%; }
  .link-box code { font-size: var(--text-sm); }
  .walk-controls, .walk-controls form, .walk-controls .button, .walk-controls select, .walk-controls label { width: 100%; }
  .stepper, .stepper form { flex-direction: row; flex-wrap: nowrap; width: auto; }
  .stepper .button, .stepper-btn { width: 48px; min-width: 48px; flex: 0 0 48px; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --sand: #121a1b;
    --sand-deep: #1c2829;
    --card: #1a2627;
    --ink: #f4efe6;
    --ink-soft: #ddd4c8;
    --muted: #cfc6bb;
    --line: #3a4c4e;
    --accent-text: #f0b59a;
    --accent-line: #f0b59a;
    --sage-text: #9ed7b8;
    --sage-soft: #16352a;
    --warn-soft: #3a3018;
    --bad-soft: #3a221c;
    --inverse: #f4efe6;
    --on-inverse: #142326;
    --badge-bg: #243e3c;
    --badge-ink: #e7f3ef;
    --focus: #f0b59a;
    --shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
  body {
    background:
      radial-gradient(circle at top left, rgba(20, 94, 90, 0.22), transparent 32rem),
      var(--paper);
  }
  .site-header { background: color-mix(in srgb, var(--paper) 92%, transparent); }
  input, select, textarea, .choice span { background: #101718; color: var(--ink); }
  .link-box .button { background: var(--paper-fixed); color: var(--ink-fixed); }
  .progress span { background: #3d9a90; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, button.button, .progress span, .banner { transition: none; animation: none; }
  .button:active, button.button:active { transform: none; }
}
