:root {
  color-scheme: light;
  --bg: #f7f7f3;
  --surface: #ffffff;
  --ink: #080807;
  --muted: #44433e;
  --line: #171714;
  --blue: #154fd8;
  --blue-dark: #0a2f8f;
  --yellow: #ffd338;
  --green: #0f7a4c;
  --pink: #f05a7d;
  --soft-blue: #eaf0ff;
  --soft-yellow: #fff3b8;
  --shadow: 0 18px 45px rgba(8, 8, 7, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  max-width: 100%;
  background: var(--bg);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.125rem;
  line-height: 1.45;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(21, 79, 216, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 79, 216, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
}

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

a {
  color: inherit;
  font-weight: 900;
  text-decoration-thickness: 0.14em;
  text-underline-offset: 0.18em;
  overflow-wrap: anywhere;
}

a:hover {
  color: var(--blue);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
.table-wrap:focus-visible {
  outline: 5px solid var(--yellow);
  outline-offset: 4px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.brand,
.button,
.big-stat,
.step-number {
  font-weight: 900;
  letter-spacing: 0;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.4rem;
  font-size: clamp(3.1rem, 5.5vw, 6.6rem);
  line-height: 0.9;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.25rem, 5vw, 5.4rem);
  line-height: 0.92;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1;
}

p,
li,
label,
td,
th {
  font-size: clamp(1.08rem, 1.5vw, 1.25rem);
}

main {
  max-width: 100vw;
  overflow: hidden;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  transform: translateY(-180%);
  background: var(--ink);
  color: var(--surface);
  padding: 0.8rem 1rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  min-width: 0;
  max-width: 100%;
  background: rgba(247, 247, 243, 0.94);
  border-bottom: 3px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
  font-size: clamp(1rem, 1.8vw, 1.45rem);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  background: var(--yellow);
  border: 3px solid var(--line);
  color: var(--ink);
  font-size: 0.9rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
  min-width: 0;
  max-width: 100%;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  padding: 0.55rem 0.8rem;
  border: 2px solid transparent;
  text-decoration: none;
  font-size: 0.98rem;
  line-height: 1.05;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.hero-section,
.page-hero,
.page-section,
.data-section,
.notice-band,
.benefit-band,
.warning-panel,
.link-panel,
.measure-layout,
.timeline,
.comparison-panel {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(1.2rem, 4vw, 4rem);
  align-items: center;
  min-height: calc(76vh - 86px);
  padding-block: clamp(1.2rem, 3vw, 2.5rem);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-text,
.page-hero p,
.section-heading p,
.notice-band p,
.benefit-band p,
.warning-panel p {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
}

.eyebrow,
.section-kicker,
.result-label {
  display: inline-flex;
  margin-bottom: 0.95rem;
  padding: 0.35rem 0.55rem;
  background: var(--yellow);
  border: 3px solid var(--line);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.6rem;
  padding: 0.95rem 1.2rem;
  border: 3px solid var(--line);
  box-shadow: 5px 5px 0 var(--line);
  text-decoration: none;
  text-align: center;
  line-height: 1.05;
  cursor: pointer;
}

.button-primary {
  background: var(--blue);
  color: var(--surface);
}

.button-secondary {
  background: var(--yellow);
  color: var(--ink);
}

.button-dark {
  margin-top: 1.25rem;
  background: var(--ink);
  color: var(--surface);
}

.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--line);
}

.hero-visual {
  margin: 0;
  border: 4px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.notice-band,
.benefit-band,
.warning-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: start;
  margin-bottom: clamp(2rem, 6vw, 5rem);
  padding: clamp(1.2rem, 4vw, 3rem);
  border: 4px solid var(--line);
  background: var(--soft-yellow);
  box-shadow: 8px 8px 0 var(--line);
}

.warning-panel {
  display: block;
  background: var(--soft-blue);
}

.warning-panel .button {
  margin-top: 1rem;
}

.page-section,
.data-section,
.link-panel,
.comparison-panel {
  margin-bottom: clamp(2rem, 6vw, 5rem);
  padding-block: clamp(1rem, 3vw, 2rem);
}

.section-heading {
  margin-bottom: clamp(1.4rem, 4vw, 3rem);
}

.step-grid,
.check-grid,
.route-grid,
.compare-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.step-card,
.check-grid article,
.route-grid article,
.compare-columns article,
.note-card {
  padding: 1.2rem;
  border: 3px solid var(--line);
  background: var(--surface);
  box-shadow: 6px 6px 0 var(--line);
}

.step-card a,
.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  background: var(--blue);
  color: var(--surface);
  border: 3px solid var(--line);
  font-size: 2rem;
}

.data-section {
  padding: clamp(1.2rem, 4vw, 3rem);
  border: 4px solid var(--line);
  background: var(--surface);
  box-shadow: 8px 8px 0 var(--line);
}

.figure-callout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.figure-callout > div {
  padding: 1.2rem;
  background: var(--soft-blue);
  border: 3px solid var(--line);
}

.big-stat {
  display: block;
  margin-bottom: 0.5rem;
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: 0.85;
  color: var(--blue);
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 3px solid var(--line);
  background: var(--surface);
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

caption {
  padding: 0.9rem;
  text-align: left;
  font-weight: 900;
}

th,
td {
  padding: 0.9rem;
  border-top: 2px solid var(--line);
  text-align: left;
  vertical-align: top;
}

thead th {
  background: var(--ink);
  color: var(--surface);
}

tbody tr:nth-child(even) {
  background: #f0f4ff;
}

.big-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.big-list li {
  padding: 0.85rem 1rem;
  border: 3px solid var(--line);
  background: var(--surface);
  font-weight: 900;
}

.quote-panel,
.summary-template {
  padding: clamp(1.2rem, 4vw, 2rem);
  border-left: 10px solid var(--blue);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.quote-panel p,
.summary-template p {
  margin-bottom: 1rem;
  font-weight: 800;
}

.quote-panel p:last-child,
.summary-template p:last-child {
  margin-bottom: 0;
}

.page-hero {
  padding-block: clamp(2.5rem, 7vw, 6rem) clamp(2rem, 5vw, 4rem);
}

.page-hero.compact h1 {
  max-width: 11ch;
}

.page-hero.compact.terms-hero h1 {
  max-width: 16ch;
}

.measure-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: start;
  margin-bottom: clamp(2rem, 6vw, 5rem);
}

.calculator-panel,
.benchmark-panel {
  min-width: 0;
  padding: clamp(1.2rem, 4vw, 2rem);
  border: 4px solid var(--line);
  background: var(--surface);
  box-shadow: 8px 8px 0 var(--line);
}

.measure-layout > * {
  min-width: 0;
}

.measure-form {
  display: grid;
  gap: 1rem;
}

.calculator-intro {
  color: var(--muted);
  font-weight: 800;
}

.source-note {
  max-width: 980px;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border: 3px solid var(--line);
  background: var(--soft-blue);
  color: var(--ink);
  font-weight: 900;
}

.measure-form label {
  display: grid;
  gap: 0.45rem;
  font-weight: 900;
}

.field-help {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

input[type="number"] {
  width: 100%;
  min-height: 3.6rem;
  padding: 0.75rem 0.85rem;
  border: 3px solid var(--line);
  background: #fbfbff;
  color: var(--ink);
  font: inherit;
  font-weight: 900;
}

.button-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.8rem;
}

.result-box {
  margin-top: 1.4rem;
  padding: 1.2rem;
  border: 3px solid var(--line);
  background: var(--soft-yellow);
}

.result-box strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.9;
}

.result-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin: 1rem 0;
}

.result-metrics span {
  padding: 0.7rem;
  border: 2px solid var(--line);
  background: var(--surface);
  font-weight: 900;
}

.consider-box {
  margin-bottom: 1.4rem;
  padding: 1rem;
  border: 3px solid var(--line);
  background: var(--soft-yellow);
}

.consider-box ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding-left: 1.1rem;
}

.benchmark-list {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.benchmark-list li {
  display: grid;
  gap: 0.25rem;
  padding: 0.95rem;
  border: 3px solid var(--line);
  background: var(--soft-blue);
}

.benchmark-list strong {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.9;
}

.next-step-panel,
.worked-example {
  margin-bottom: clamp(2rem, 6vw, 5rem);
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.example-card {
  min-width: 0;
  padding: clamp(1.1rem, 3vw, 1.6rem);
  border: 4px solid var(--line);
  background: var(--surface);
  box-shadow: 6px 6px 0 var(--line);
}

.example-card ul {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 0;
  padding-left: 1.1rem;
}

.example-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 1rem;
}

.example-metrics span {
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem;
  border: 2px solid var(--line);
  background: var(--soft-yellow);
  font-weight: 900;
}

.careful-summary {
  background: var(--soft-blue);
}

.timeline {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2rem, 6vw, 5rem);
}

.timeline-item {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.2rem;
  border: 3px solid var(--line);
  background: var(--surface);
  box-shadow: 6px 6px 0 var(--line);
}

.timeline-item span {
  display: inline-grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  background: var(--yellow);
  border: 3px solid var(--line);
  font-weight: 900;
}

.comparison-panel {
  padding: clamp(1.2rem, 4vw, 3rem);
  border: 4px solid var(--line);
  background: var(--soft-blue);
}

.compare-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compare-columns ul,
.route-grid ul {
  margin: 0;
  padding-left: 1.1rem;
}

.link-panel {
  padding: clamp(1.2rem, 4vw, 3rem);
  border: 4px solid var(--line);
  background: var(--surface);
  box-shadow: 8px 8px 0 var(--line);
}

.link-panel.major {
  background: var(--soft-yellow);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.link-grid a {
  display: flex;
  align-items: center;
  min-height: 4.2rem;
  padding: 0.9rem 1rem;
  border: 3px solid var(--line);
  background: var(--surface);
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--line);
}

.link-grid a::after {
  content: ">";
  margin-left: auto;
  padding-left: 0.8rem;
  color: var(--blue);
  font-size: 1.5rem;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.resource-grid.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.resource-card {
  display: grid;
  align-content: start;
  min-height: 15rem;
  padding: 1.15rem;
  border: 3px solid var(--line);
  background: var(--surface);
  box-shadow: 5px 5px 0 var(--line);
  text-decoration: none;
}

.resource-card::after {
  content: ">";
  justify-self: end;
  align-self: end;
  color: var(--blue);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}

.resource-card:hover {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 var(--line);
}

.resource-card p {
  margin-bottom: 1rem;
  color: var(--muted);
  font-weight: 800;
}

.resource-meta {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.8rem;
  padding: 0.3rem 0.45rem;
  border: 2px solid var(--line);
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.email-card {
  min-height: 12rem;
  background: var(--soft-blue);
}

.panel-note {
  max-width: 900px;
  margin-bottom: 1.4rem;
  color: var(--muted);
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-card {
  border: 4px solid var(--line);
  background: var(--surface);
  box-shadow: 6px 6px 0 var(--line);
}

.faq-card summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-height: 4.5rem;
  padding: 1rem 1.15rem;
  cursor: pointer;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 900;
  line-height: 1.05;
  list-style: none;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 3px solid var(--line);
  background: var(--yellow);
  color: var(--ink);
  font-size: 1.8rem;
  line-height: 1;
}

.faq-card[open] summary {
  border-bottom: 3px solid var(--line);
  background: var(--soft-yellow);
}

.faq-card[open] summary::after {
  content: "-";
}

.faq-answer {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
}

.faq-answer p {
  max-width: 980px;
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 800;
}

.answer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.4rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1rem;
  align-items: start;
}

.checklist {
  display: grid;
  gap: 0.75rem;
}

.checklist label {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
  padding: 1rem;
  border: 3px solid var(--line);
  background: var(--surface);
  font-weight: 900;
}

.checklist input {
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.1rem;
  accent-color: var(--blue);
}

.print-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.print-sheet {
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto clamp(2rem, 6vw, 5rem);
  padding: clamp(1.2rem, 4vw, 3rem);
  border: 4px solid var(--line);
  background: var(--surface);
  box-shadow: 8px 8px 0 var(--line);
}

.print-sheet-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.45fr);
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 4px solid var(--line);
}

.print-sheet-header p {
  color: var(--muted);
  font-weight: 900;
}

.form-lines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.form-lines label {
  display: grid;
  gap: 0.5rem;
  font-weight: 900;
}

.form-lines span {
  display: block;
  min-height: 3rem;
  border: 3px solid var(--line);
  background: #fbfbff;
}

.checklist-section {
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 3px solid var(--line);
}

.print-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.print-checklist label {
  display: grid;
  grid-template-columns: 1.8rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
  min-height: 4.4rem;
  padding: 0.9rem;
  border: 3px solid var(--line);
  background: var(--soft-blue);
  font-weight: 900;
}

.print-checklist input {
  width: 1.45rem;
  height: 1.45rem;
  margin-top: 0.1rem;
  accent-color: var(--blue);
}

.notes-box {
  min-height: 6rem;
  margin-top: 0.9rem;
  padding: 0.85rem;
  border: 3px dashed var(--line);
  color: var(--muted);
  font-weight: 900;
}

.plain-list {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding-left: 1.1rem;
  font-weight: 900;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.2rem, 4vw, 3rem);
  border-top: 4px solid var(--line);
  background: var(--ink);
  color: var(--surface);
}

.site-footer p {
  max-width: 760px;
  margin: 0;
  color: #f4f4f4;
  font-weight: 800;
}

.site-footer a:hover {
  color: var(--yellow);
}

.footer-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem 1rem;
}

.footer-links a {
  min-height: 2.75rem;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero-section,
  .measure-layout,
  .example-grid,
  .notice-band,
  .benefit-band,
  .split-section {
    grid-template-columns: 1fr;
  }

  .step-grid,
  .check-grid,
  .route-grid,
  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  body {
    font-size: 1rem;
  }

  .site-header {
    padding: 0.75rem;
    width: 100vw;
    overflow: hidden;
  }

  .site-nav a {
    flex: 0 0 auto;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.5rem 0.72rem;
    font-size: 0.9rem;
    text-align: center;
    white-space: nowrap;
  }

  .hero-section,
  .page-hero,
  .page-section,
  .data-section,
  .notice-band,
  .benefit-band,
  .warning-panel,
  .link-panel,
  .print-sheet,
  .measure-layout,
  .next-step-panel,
  .worked-example,
  .timeline,
  .comparison-panel {
    width: calc(100vw - 1.5rem);
    max-width: 1180px;
  }

  .calculator-panel,
  .benchmark-panel,
  .data-section,
  .notice-band,
  .benefit-band,
  .warning-panel,
  .link-panel,
  .comparison-panel,
  .example-card,
  .step-card,
  .check-grid article,
  .route-grid article,
  .compare-columns article,
  .note-card {
    box-shadow: 4px 4px 0 var(--line);
  }

  h1 {
    max-width: 100%;
    font-size: 2.85rem;
  }

  h2 {
    font-size: clamp(2.1rem, 11vw, 3.5rem);
  }

  .hero-section {
    min-height: auto;
    padding-block: 2rem;
  }

  .site-nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.35rem;
    min-width: 0;
    width: calc(100vw - 1.5rem);
    max-width: calc(100vw - 1.5rem);
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .page-hero h1 {
    max-width: 9ch;
  }

  .page-hero.compact.terms-hero h1 {
    max-width: 15ch;
  }

  .page-hero p,
  .print-sheet p,
  .print-sheet h2,
  .print-checklist label,
  .form-lines label {
    overflow-wrap: anywhere;
  }

  .hero-visual {
    display: none;
  }

  .hero-actions,
  .print-actions,
  .figure-callout,
  .step-grid,
  .check-grid,
  .route-grid,
  .compare-columns,
  .example-grid,
  .link-grid,
  .resource-grid,
  .resource-grid.two-column,
  .form-lines,
  .print-sheet-header,
  .print-checklist {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .print-actions {
    display: grid;
  }

  .button,
  .link-grid a {
    width: 100%;
  }

  .button-row,
  .result-metrics,
  .example-metrics,
  .answer-actions {
    grid-template-columns: 1fr;
  }

  .answer-actions {
    display: grid;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-actions {
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media print {
  @page {
    margin: 14mm;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  body::before,
  .skip-link,
  .site-header,
  .site-footer,
  .print-actions,
  .no-print,
  .hero-actions,
  script {
    display: none !important;
  }

  main {
    overflow: visible;
  }

  .page-hero,
  .print-sheet {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: #fff;
  }

  .page-hero {
    margin-bottom: 10mm;
  }

  .page-hero h1,
  .print-sheet h2 {
    max-width: none;
    font-size: 28pt;
    line-height: 1;
  }

  .page-hero p,
  .print-sheet p,
  .print-checklist label,
  .form-lines label {
    font-size: 11pt;
  }

  .eyebrow,
  .section-kicker,
  .print-checklist label,
  .form-lines span,
  .notes-box {
    border-color: #000;
    background: #fff;
    box-shadow: none;
  }

  .print-sheet-header,
  .form-lines,
  .print-checklist {
    grid-template-columns: 1fr 1fr;
  }

  .print-checklist label {
    min-height: 0;
    break-inside: avoid;
  }

  .checklist-section {
    break-inside: avoid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
