:root {
  color-scheme: light dark;
  --bg: #f3f6f4;
  --surface: #fbfcfb;
  --surface-strong: #e7ece8;
  --surface-accent: #dce9e2;
  --text: #18211e;
  --muted: #53615b;
  --subtle: #718078;
  --line: #cfd8d2;
  --accent: #28644e;
  --accent-strong: #1f513f;
  --accent-text: #f5faf7;
  --warning-bg: #eef2e9;
  --warning-border: #829077;
  --shadow: 0 24px 70px rgba(25, 46, 37, 0.13);
  --radius-card: 16px;
  --radius-control: 10px;
  --font-sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-reading: Charter, "Bitstream Charter", "Sitka Text", Cambria, serif;
  --page: min(1180px, calc(100% - 40px));
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101714;
    --surface: #161f1b;
    --surface-strong: #202b26;
    --surface-accent: #193326;
    --text: #edf4ef;
    --muted: #b3c1ba;
    --subtle: #94a69d;
    --line: #34443c;
    --accent: #78b795;
    --accent-strong: #9bcaae;
    --accent-text: #0f2118;
    --warning-bg: #252d22;
    --warning-border: #7b8c6d;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  }
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f6f4;
  --surface: #fbfcfb;
  --surface-strong: #e7ece8;
  --surface-accent: #dce9e2;
  --text: #18211e;
  --muted: #53615b;
  --subtle: #718078;
  --line: #cfd8d2;
  --accent: #28644e;
  --accent-strong: #1f513f;
  --accent-text: #f5faf7;
  --warning-bg: #eef2e9;
  --warning-border: #829077;
  --shadow: 0 24px 70px rgba(25, 46, 37, 0.13);
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101714;
  --surface: #161f1b;
  --surface-strong: #202b26;
  --surface-accent: #193326;
  --text: #edf4ef;
  --muted: #b3c1ba;
  --subtle: #94a69d;
  --line: #34443c;
  --accent: #78b795;
  --accent-strong: #9bcaae;
  --accent-text: #0f2118;
  --warning-bg: #252d22;
  --warning-border: #7b8c6d;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  content: "";
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

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

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 10px 14px;
  border-radius: var(--radius-control);
  background: var(--text);
  color: var(--bg);
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 6;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 76%, transparent);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: var(--page);
  min-height: 70px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 15px;
  font-weight: 720;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: -0.1em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 32px);
}

.primary-nav a,
.nav-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 620;
  text-decoration: none;
  cursor: pointer;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"],
.nav-button:hover {
  color: var(--accent);
}

.nav-button {
  min-width: 62px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
}

.menu-button {
  display: none;
}

.page-shell {
  width: var(--page);
  margin-inline: auto;
}

.hero {
  min-height: calc(100dvh - 70px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  padding-block: clamp(48px, 8vh, 84px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.article-heading h1,
.legal-heading h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(42px, 6.1vw, 74px);
  font-weight: 680;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 48ch;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.55;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 19px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-control);
  background: var(--accent);
  color: var(--accent-text);
  font-size: 14px;
  font-weight: 740;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.button:active {
  transform: translateY(1px);
}

.button-secondary {
  background: transparent;
  color: var(--accent);
}

.button-secondary:hover {
  background: var(--surface-accent);
  color: var(--text);
}

.hero-visual {
  position: relative;
  min-height: min(68vh, 700px);
}

.hero-visual img {
  width: 100%;
  height: min(68vh, 700px);
  object-fit: cover;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}

.hero-note {
  position: absolute;
  right: -18px;
  bottom: 24px;
  width: min(265px, 78%);
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  border-radius: var(--radius-card);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow);
  color: var(--muted);
  font-size: 13px;
  backdrop-filter: blur(18px);
}

.hero-note strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
  font-size: 15px;
}

.safety-banner {
  width: var(--page);
  margin: 0 auto 30px;
  padding: 18px 20px;
  border-left: 4px solid var(--warning-border);
  border-radius: 0 var(--radius-control) var(--radius-control) 0;
  background: var(--warning-bg);
  color: var(--muted);
  font-size: 14px;
}

.safety-banner strong {
  color: var(--text);
}

.safety-banner a {
  color: var(--accent);
  font-weight: 700;
}

.section {
  padding-block: clamp(72px, 10vw, 132px);
}

.section-compact {
  padding-block: clamp(54px, 7vw, 88px);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading h2,
.conversion-panel h2,
.process-copy h2 {
  margin: 0;
  font-size: clamp(32px, 4.8vw, 56px);
  font-weight: 660;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.section-heading p,
.process-copy > p,
.conversion-panel > p {
  max-width: 58ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.path-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: auto auto;
  gap: 18px;
}

.path-card {
  min-height: 250px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: transform 220ms ease, border-color 220ms ease;
}

.path-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.path-card h3 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.path-card p {
  max-width: 42ch;
  margin: 16px 0 0;
  color: var(--muted);
}

.path-card span {
  display: inline-block;
  margin-top: 28px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 740;
}

.path-card-featured {
  grid-row: span 2;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background:
    linear-gradient(to top, rgba(11, 22, 17, 0.86), rgba(11, 22, 17, 0.05) 70%),
    url("../images/rebuilding-trust.webp") center / cover;
  color: #f2f7f4;
}

.path-card-featured p,
.path-card-featured span {
  color: #dce7e1;
}

.path-card-tint {
  background: var(--surface-accent);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(290px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(42px, 8vw, 110px);
  align-items: start;
}

.process-image {
  position: sticky;
  top: 108px;
}

.process-image img {
  width: 100%;
  max-height: 690px;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.process-list {
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.process-list li:last-child {
  border-bottom: 0;
}

.process-list .process-number {
  color: var(--accent);
  font-size: 13px;
  font-weight: 760;
}

.process-list h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.process-list p {
  margin: 7px 0 0;
  color: var(--muted);
}

.decision-box {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(38px, 8vw, 100px);
  padding: clamp(28px, 6vw, 72px);
  border-radius: var(--radius-card);
  background: var(--surface-strong);
}

.decision-box h2 {
  max-width: 11ch;
  margin: 0;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.decision-tabs {
  align-self: center;
  min-width: 0;
}

.tab-list {
  display: flex;
  gap: 8px;
  margin-bottom: 26px;
  overflow-x: auto;
}

.tab-button {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 720;
  cursor: pointer;
  white-space: nowrap;
}

.tab-button[aria-selected="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-text);
}

.tab-panel h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.025em;
}

.tab-panel p {
  max-width: 50ch;
  color: var(--muted);
}

.standards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 60px;
}

.standard {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.standard h3 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.015em;
}

.standard p {
  margin: 8px 0 0;
  color: var(--muted);
}

.conversion-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 7vw, 82px);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.conversion-panel::after {
  position: absolute;
  right: -100px;
  bottom: -160px;
  width: 430px;
  height: 430px;
  border: 82px solid var(--surface-accent);
  border-radius: 50%;
  content: "";
}

.conversion-panel > * {
  position: relative;
  z-index: 1;
}

.site-footer {
  margin-top: 90px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  width: var(--page);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 0.75fr);
  gap: 38px;
  padding-block: 58px;
}

.footer-intro p {
  max-width: 33ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-column h2 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 760;
}

.footer-column a {
  display: block;
  width: fit-content;
  margin: 8px 0;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--accent);
}

.footer-bottom {
  width: var(--page);
  margin-inline: auto;
  padding: 18px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 12px;
}

/* Article pages */
.reading-progress {
  position: fixed;
  top: 70px;
  left: 0;
  z-index: 7;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent);
}

@supports (animation-timeline: scroll()) {
  .reading-progress {
    animation: reading linear both;
    animation-timeline: scroll(root);
  }
  @keyframes reading {
    to { transform: scaleX(1); }
  }
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 34px;
  color: var(--subtle);
  font-size: 13px;
}

.breadcrumbs a {
  text-decoration: none;
}

.article-heading {
  max-width: 920px;
  padding-block: clamp(56px, 8vw, 100px) 46px;
}

.article-heading h1 {
  max-width: 17ch;
  font-size: clamp(42px, 6vw, 72px);
}

.article-dek {
  max-width: 62ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 22px);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 28px;
  color: var(--subtle);
  font-size: 13px;
}

.article-meta strong {
  color: var(--text);
}

.article-hero {
  width: var(--page);
  height: min(62vw, 620px);
  margin: 0 auto 56px;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.article-layout {
  width: var(--page);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 230px minmax(0, 720px) 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}

.toc {
  position: sticky;
  top: 105px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.toc h2 {
  margin: 0 0 12px;
  font-size: 13px;
}

.toc a {
  display: block;
  margin: 10px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}

.toc a:hover {
  color: var(--accent);
}

.article-body {
  min-width: 0;
  font-family: var(--font-reading);
  font-size: 18px;
  line-height: 1.78;
}

.article-body > p:first-child {
  margin-top: 0;
  font-size: 21px;
  line-height: 1.65;
}

.article-body h2,
.article-body h3 {
  font-family: var(--font-sans);
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.article-body h2 {
  margin: 78px 0 20px;
  font-size: clamp(29px, 4vw, 42px);
}

.article-body h3 {
  margin: 42px 0 12px;
  font-size: 23px;
}

.article-body p,
.article-body li {
  color: color-mix(in srgb, var(--text) 90%, var(--muted));
}

.article-body a {
  color: var(--accent);
  font-weight: 650;
}

.article-body ul,
.article-body ol {
  padding-left: 1.3em;
}

.article-body li {
  margin: 11px 0;
  padding-left: 5px;
}

.quick-answer,
.article-callout {
  margin: 32px 0;
  padding: 22px 24px;
  border-radius: var(--radius-card);
  background: var(--surface-accent);
  font-family: var(--font-sans);
  font-size: 16px;
}

.quick-answer strong,
.article-callout strong {
  display: block;
  margin-bottom: 6px;
}

.article-callout-safety {
  border-left: 4px solid var(--warning-border);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  background: var(--warning-bg);
}

.checklist {
  margin: 30px 0;
  padding: 8px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  font-family: var(--font-sans);
  list-style: none;
}

.checklist li {
  position: relative;
  margin: 0;
  padding: 15px 0 15px 32px;
  border-bottom: 1px solid var(--line);
}

.checklist li:last-child {
  border-bottom: 0;
}

.checklist li::before {
  position: absolute;
  top: 21px;
  left: 4px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  content: "";
}

.article-aside {
  position: sticky;
  top: 105px;
  padding-left: 22px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.article-aside strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.article-aside a {
  color: var(--accent);
  font-weight: 700;
}

.faq {
  margin-top: 44px;
  font-family: var(--font-sans);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  padding: 20px 4px;
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.faq details p {
  margin-top: 0;
  padding: 0 4px 18px;
  color: var(--muted);
  font-family: var(--font-reading);
}

.references {
  margin-top: 72px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-family: var(--font-sans);
  font-size: 14px;
}

.references h2 {
  margin-top: 0;
  font-size: 24px;
}

.references li {
  margin: 9px 0;
}

.related-guides {
  width: var(--page);
  margin: 90px auto 0;
  padding: 56px;
  border-radius: var(--radius-card);
  background: var(--surface-strong);
}

.related-guides h2 {
  margin: 0 0 26px;
  font-size: 32px;
  letter-spacing: -0.035em;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 42px;
}

.related-grid a {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.related-grid a:hover {
  color: var(--accent);
}

/* Legal and utility pages */
.legal-shell {
  width: min(760px, calc(100% - 40px));
  margin-inline: auto;
  padding-block: 82px 120px;
}

.legal-heading {
  margin-bottom: 52px;
}

.legal-heading h1 {
  max-width: 18ch;
  font-size: clamp(42px, 7vw, 68px);
}

.legal-heading p {
  color: var(--muted);
}

.legal-body h2 {
  margin: 48px 0 12px;
  font-size: 26px;
  letter-spacing: -0.025em;
}

.legal-body p,
.legal-body li {
  color: var(--muted);
}

.error-page {
  min-height: calc(100dvh - 70px);
  display: grid;
  place-items: center;
  padding: 40px;
  text-align: center;
}

.error-page h1 {
  margin: 0;
  font-size: clamp(56px, 14vw, 140px);
  letter-spacing: -0.06em;
}

.error-page p {
  max-width: 46ch;
  color: var(--muted);
}

@media (max-width: 1020px) {
  .hero {
    grid-template-columns: 1fr 0.92fr;
    gap: 40px;
  }

  .article-layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .article-aside {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer-column:last-child {
    grid-column: 2;
  }
}

@media (max-width: 780px) {
  :root {
    --page: min(100% - 32px, 680px);
  }

  .nav-shell {
    min-height: 64px;
    padding-right: env(safe-area-inset-right);
    padding-left: env(safe-area-inset-left);
  }

  .primary-nav {
    position: absolute;
    top: 64px;
    right: 16px;
    left: 16px;
    display: none;
    align-items: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    background: var(--surface);
    box-shadow: var(--shadow);
    max-height: calc(100dvh - 80px - env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .primary-nav[data-open="true"] {
    display: grid;
  }

  .primary-nav a,
  .nav-button {
    display: flex;
    min-height: 46px;
    align-items: center;
    padding: 11px;
    text-align: left;
  }

  .menu-button {
    display: inline-flex;
    min-width: 58px;
    justify-content: center;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 38px 52px;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(42px, 11.2vw, 58px);
    line-height: 1;
  }

  .hero-copy > p:not(.eyebrow) {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.5;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 0;
    height: min(82vw, 390px);
  }

  .hero-note {
    right: 10px;
    bottom: 10px;
    padding: 14px 15px;
    font-size: 12px;
    line-height: 1.5;
  }

  .hero-note strong {
    font-size: 14px;
  }

  .safety-banner {
    margin-bottom: 8px;
    padding: 15px 16px;
  }

  .path-grid,
  .process-layout,
  .decision-box,
  .standards-grid,
  .footer-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .path-card-featured {
    grid-row: auto;
    min-height: 390px;
  }

  .path-card {
    min-height: 0;
    padding: 25px 23px;
  }

  .path-card span {
    margin-top: 20px;
  }

  .process-layout {
    gap: 38px;
  }

  .process-copy {
    order: 1;
  }

  .process-image {
    position: static;
    order: 2;
  }

  .process-image img {
    height: min(92vw, 430px);
    max-height: none;
    object-position: center 58%;
  }

  .decision-box h2 {
    max-width: 15ch;
  }

  .decision-tabs,
  .tab-list,
  .tab-panel {
    width: 100%;
    max-width: 100%;
  }

  .tab-list {
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .tab-list::-webkit-scrollbar {
    display: none;
  }

  .tab-button {
    min-height: 44px;
    scroll-snap-align: start;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 24px;
    padding-block: 44px;
  }

  .footer-intro {
    grid-column: 1 / -1;
  }

  .footer-column:last-child {
    grid-column: auto;
  }

  .article-heading {
    padding-block: 34px 32px;
  }

  .article-heading h1 {
    max-width: none;
    font-size: clamp(34px, 9.4vw, 44px);
    line-height: 1.03;
    letter-spacing: -0.045em;
  }

  .article-heading .eyebrow {
    margin-bottom: 12px;
  }

  .article-dek {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.52;
  }

  .article-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px 16px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    line-height: 1.45;
  }

  .article-meta span:nth-child(-n + 2) {
    grid-column: 1 / -1;
  }

  .article-hero {
    width: calc(100% - 24px);
    height: min(54vw, 280px);
    margin-bottom: 26px;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .toc {
    position: static;
    display: flex;
    width: calc(100vw - 16px);
    max-width: none;
    margin-left: -8px;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .toc::-webkit-scrollbar {
    display: none;
  }

  .toc h2 {
    flex: 0 0 auto;
    margin: 0;
    padding: 0 6px 0 0;
  }

  .toc a {
    display: inline-flex;
    min-height: 44px;
    flex: 0 0 auto;
    align-items: center;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-control);
    background: var(--surface);
    font-size: 13px;
    white-space: nowrap;
    scroll-snap-align: start;
  }

  .article-body {
    font-size: 17px;
    line-height: 1.72;
  }

  .article-body > p:first-child {
    font-size: 19px;
    line-height: 1.62;
  }

  .article-body h2 {
    margin-top: 58px;
  }

  .article-body h3 {
    margin-top: 34px;
  }

  .quick-answer,
  .article-callout {
    margin: 25px 0;
    padding: 18px;
  }

  .checklist {
    padding-inline: 20px;
  }

  .faq summary {
    min-height: 52px;
    padding-block: 16px;
  }

  .related-guides {
    margin-top: 66px;
    padding: 30px 24px;
  }

  .related-grid {
    gap: 0;
  }

  .related-grid a {
    display: flex;
    min-height: 52px;
    align-items: center;
    padding-block: 12px;
  }

  .legal-shell {
    padding-block: 54px 84px;
  }

  .legal-heading {
    margin-bottom: 40px;
  }

  .legal-heading h1 {
    font-size: clamp(38px, 10vw, 50px);
    line-height: 1.03;
  }

  .legal-body h2 {
    margin-top: 38px;
  }
}

@media (max-width: 480px) {
  .brand {
    gap: 9px;
    font-size: 14px;
  }

  .hero-actions,
  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-note {
    width: calc(100% - 24px);
  }

  .section {
    padding-block: 58px;
  }

  .section-compact {
    padding-block: 42px;
  }

  .decision-box {
    padding: 27px 22px;
  }

  .tab-list {
    padding-bottom: 6px;
  }

  .footer-bottom {
    padding-bottom: calc(28px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 340px) {
  :root {
    --page: calc(100% - 24px);
  }

  .hero h1 {
    font-size: 39px;
  }

  .hero-note {
    width: calc(100% - 16px);
    right: 8px;
    bottom: 8px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-intro {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reading-progress {
    display: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .hero-note {
    background: var(--surface);
    backdrop-filter: none;
  }
}
