:root {
  --primary-800: #0f4938;
  --primary-700: #155e48;
  --primary-100: #e7f3ee;
  --accent-700: #a84022;
  --accent-100: #fbe9e1;
  --warm-100: #fff8ed;
  --page: #f8faf7;
  --surface: #ffffff;
  --ink: #1b2b27;
  --muted: #55645f;
  --line: #cad7d1;
  --control-line: #7e938a;
  --warning-text: #805000;
  --container: 1180px;
  --reading-width: 760px;
  --radius-label: 4px;
  --radius-button: 6px;
  --radius-panel: 8px;
  --radius-image: 10px;
  --shadow: 0 8px 22px rgba(20, 72, 59, .08);
  --header-height: 76px;
}

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

html {
  color: var(--ink);
  background: var(--page);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background: var(--surface);
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

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

a {
  color: var(--primary-700);
  text-underline-offset: .16em;
}

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

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

[hidden] {
  display: none !important;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 700;
  letter-spacing: .01em;
}

h1 {
  margin-bottom: 24px;
  font-size: 44px;
  line-height: 1.35;
}

h2 {
  margin-bottom: 20px;
  font-size: 32px;
  line-height: 1.45;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.55;
}

p {
  margin-bottom: 20px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: var(--radius-button);
  color: #fff;
  background: var(--primary-800);
  font-weight: 700;
}

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

.container,
.header-inner,
.footer-grid,
.footer-bottom {
  width: min(calc(100% - 64px), var(--container));
  margin-inline: auto;
}

.narrow-container,
.reading-container {
  width: min(calc(100% - 64px), var(--reading-width));
  margin-inline: auto;
}

.section {
  padding-block: 88px;
}

.section-tight {
  padding-top: 64px;
}

.section-tint {
  background: var(--primary-100);
}

.section-warm {
  background: var(--warm-100);
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--primary-700);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow-accent {
  color: #ffd7c7;
}

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

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 64px;
  align-items: end;
}

.split-heading h2,
.center-heading h2 {
  margin-bottom: 0;
}

.split-heading > p,
.center-heading > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.center-heading {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.center-heading h2 {
  margin-bottom: 16px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-button);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

.button .icon,
.text-link .icon,
.official-link .icon,
.guide-cards .icon,
.name-grid .icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.button-primary {
  color: #fff;
  background: var(--primary-800);
}

.button-primary:hover {
  color: #fff;
  background: var(--primary-700);
}

.button-secondary,
.button-outline {
  border-color: var(--primary-700);
  color: var(--primary-800);
  background: #fff;
}

.button-secondary:hover,
.button-outline:hover {
  color: var(--primary-800);
  background: var(--primary-100);
}

.button-accent {
  color: #fff;
  background: var(--accent-700);
}

.button-accent:hover {
  color: #fff;
  background: #8e351b;
}

.button-light {
  border-color: #fff;
  color: var(--primary-800);
  background: #fff;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.icon {
  width: 24px;
  height: 24px;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .97);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: block;
  flex: 0 0 auto;
}

.brand img {
  width: 250px;
  height: 50px;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.global-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.global-nav a:hover,
.global-nav a[aria-current="page"] {
  color: var(--primary-700);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.global-nav .nav-cta {
  margin-left: 8px;
  padding-inline: 16px;
  border-radius: var(--radius-button);
  color: #fff;
  background: var(--accent-700);
}

.global-nav .nav-cta:hover {
  color: #fff;
  background: #8e351b;
  text-decoration: none;
}

.menu-button {
  display: none;
  min-width: 64px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--control-line);
  border-radius: var(--radius-button);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

.menu-lines {
  display: grid;
  width: 20px;
  gap: 4px;
}

.menu-lines i {
  display: block;
  height: 2px;
  background: var(--ink);
}

.menu-button[aria-expanded="true"] .menu-lines i:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-lines i:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] .menu-lines i:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */
.home-hero {
  position: relative;
  display: grid;
  height: 500px;
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
  background: #f4f1e9;
}

.hero-media,
.hero-overlay,
.hero-inner {
  grid-area: 1 / 1;
  min-height: 0;
}

.hero-media,
.hero-media img {
  width: 100%;
  height: 100%;
}

.hero-media {
  overflow: hidden;
}

.hero-media img {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.91) 35%, rgba(255,255,255,.2) 62%, rgba(255,255,255,0) 76%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(calc(100% - 64px), var(--container));
  margin-inline: auto;
  align-items: center;
}

.hero-copy {
  width: min(610px, 52%);
  padding-block: 56px;
}

.hero-copy h1 {
  margin-bottom: 20px;
}

.hero-lead {
  max-width: 580px;
  margin-bottom: 28px;
  color: #344640;
  font-size: 17px;
  line-height: 1.75;
}

.hero-note {
  display: flex;
  max-width: 590px;
  align-items: flex-start;
  gap: 8px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.hero-note .icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
}

.scenario-nav {
  display: grid;
  width: min(calc(100% - 64px), var(--container));
  margin-inline: auto;
  grid-template-columns: repeat(3, 1fr);
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.scenario-nav a {
  display: grid;
  min-height: 112px;
  align-items: center;
  padding: 20px 24px;
  grid-template-columns: 36px 1fr 20px;
  gap: 16px;
  border-right: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}

.scenario-nav a:last-child {
  border-right: 0;
}

.scenario-nav a:hover {
  color: var(--primary-800);
  background: var(--primary-100);
}

.scenario-nav > a > .icon:first-child {
  width: 32px;
  height: 32px;
  color: var(--primary-700);
}

.scenario-nav strong,
.scenario-nav small {
  display: block;
}

.scenario-nav strong {
  font-size: 17px;
}

.scenario-nav small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Tables */
.mobile-table-hint {
  display: none;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
}

.table-scroll {
  position: relative;
  overflow-x: auto;
  border: 1px solid var(--control-line);
  border-radius: var(--radius-panel);
  background: #fff;
  box-shadow: inset -18px 0 16px -18px rgba(15, 73, 56, .35);
  overscroll-behavior-inline: contain;
}

.comparison-table {
  width: 100%;
  min-width: 1240px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  line-height: 1.6;
}

.comparison-table caption {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: var(--warm-100);
  font-size: 15px;
  font-weight: 700;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  min-width: 145px;
  padding: 14px 16px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}

.comparison-table thead th {
  color: #fff;
  background: var(--primary-800);
  font-size: 13px;
}

.comparison-table tbody th {
  position: sticky;
  z-index: 2;
  left: 0;
  width: 168px;
  min-width: 168px;
  color: var(--ink);
  background: #fff;
  box-shadow: 6px 0 9px -9px rgba(0,0,0,.7);
}

.comparison-table tbody tr:nth-child(even) th,
.comparison-table tbody tr:nth-child(even) td {
  background: #f5f8f6;
}

.comparison-table tbody tr:nth-child(even) th {
  background: #f5f8f6;
}

.comparison-table th:last-child,
.comparison-table td:last-child {
  border-right: 0;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

.comparison-table tbody th strong,
.comparison-table tbody th small {
  display: block;
}

.comparison-table tbody th strong {
  margin-bottom: 6px;
  font-size: 16px;
}

.comparison-table tbody th small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.type-label {
  display: inline-block;
  padding: 2px 6px;
  border-radius: var(--radius-label);
  color: var(--primary-800);
  background: var(--primary-100);
  font-size: 12px;
  font-weight: 700;
}

.price-cell {
  font-variant-numeric: tabular-nums;
}

.official-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.official-link .icon {
  width: 17px;
  height: 17px;
}

.section-actions {
  margin-top: 24px;
  text-align: right;
}

.comparison-conditions {
  margin-top: 32px;
  padding: 28px;
  border-left: 4px solid var(--accent-700);
  border-radius: 0 var(--radius-panel) var(--radius-panel) 0;
  background: var(--warm-100);
}

.comparison-conditions h2 {
  font-size: 24px;
}

.comparison-conditions li + li {
  margin-top: 8px;
}

/* Feature and cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-grid article {
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: #fff;
}

.feature-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: var(--radius-panel);
  color: var(--primary-800);
  background: var(--warm-100);
}

.step-number,
.step-kicker {
  margin-bottom: 4px;
  color: var(--accent-700);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
}

.feature-grid article > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.name-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.name-grid a {
  display: grid;
  min-height: 112px;
  align-content: center;
  padding: 20px;
  grid-template-columns: 1fr 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  color: var(--ink);
  background: #fff;
  text-decoration: none;
}

.name-grid a:hover {
  border-color: var(--primary-700);
  background: var(--primary-100);
}

.name-grid span {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
}

.name-grid strong {
  font-size: 17px;
}

.guide-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.guide-cards > a {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  color: var(--ink);
  background: #fff;
  text-decoration: none;
}

.guide-cards > a:hover {
  border-color: var(--primary-700);
  box-shadow: var(--shadow);
}

.guide-cards span {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 3px 8px;
  border-radius: var(--radius-label);
  color: var(--primary-800);
  background: var(--primary-100);
  font-size: 13px;
  font-weight: 700;
}

.guide-cards p {
  color: var(--muted);
}

.guide-cards strong {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: var(--primary-700);
}

.source-notice {
  display: flex;
  margin-top: 32px;
  padding: 24px;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--warm-100);
}

.source-notice > .icon {
  flex: 0 0 auto;
  color: var(--accent-700);
}

.source-notice strong {
  display: block;
  margin-bottom: 4px;
}

.source-notice p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Page hero */
.page-hero {
  padding: 44px 0 52px;
  border-bottom: 1px solid var(--line);
  background: var(--primary-100);
}

.page-hero h1 {
  max-width: 850px;
  margin-bottom: 16px;
}

.page-lead {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* Filters and service cards */
.compare-controls {
  display: grid;
  margin-bottom: 24px;
  padding: 20px 24px;
  grid-template-columns: minmax(230px, .8fr) minmax(430px, 1.2fr) auto;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--page);
}

.compare-controls strong {
  display: block;
}

.compare-controls p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-buttons button {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--control-line);
  border-radius: var(--radius-button);
  color: var(--ink);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.filter-buttons button:hover,
.filter-buttons button.is-active {
  border-color: var(--primary-800);
  color: #fff;
  background: var(--primary-800);
}

.filter-result {
  min-width: 80px;
  color: var(--ink) !important;
  font-weight: 700;
  text-align: right;
}

.service-list {
  display: grid;
  gap: 24px;
}

.service-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: #fff;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.service-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.service-card-head h2 {
  margin: 0;
  font-size: 28px;
}

.service-type {
  margin-bottom: 4px;
  color: var(--primary-700);
  font-size: 13px;
  font-weight: 700;
}

.checked-date {
  padding: 4px 8px;
  border-radius: var(--radius-label);
  color: var(--muted);
  background: var(--page);
  font-size: 12px;
}

.service-facts {
  display: grid;
  margin-bottom: 24px;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-facts > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-facts dt,
.service-facts dd {
  margin: 0;
  padding: 14px;
}

.service-facts dt {
  color: var(--primary-800);
  background: var(--primary-100);
  font-size: 13px;
  font-weight: 700;
}

.service-facts dd {
  font-size: 14px;
}

.balanced-notes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.balanced-notes > div {
  padding: 20px;
  border-left: 4px solid var(--primary-700);
  background: var(--primary-100);
}

.balanced-notes .caution {
  border-left-color: var(--accent-700);
  background: var(--warm-100);
}

.balanced-notes h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 16px;
}

.balanced-notes h3 .icon {
  width: 19px;
  height: 19px;
}

.balanced-notes p {
  margin: 0;
  font-size: 14px;
}

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

.source-details summary {
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 10px 4px;
  color: var(--primary-700);
  font-weight: 700;
  cursor: pointer;
}

.source-details dl {
  display: grid;
  gap: 8px;
}

.source-details dl > div {
  display: grid;
  grid-template-columns: 100px 1fr;
}

.source-details dt {
  font-weight: 700;
}

.source-details dd {
  margin: 0;
}

.source-details ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 20px;
}

.source-details a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 6px;
}

.source-details a .icon {
  width: 16px;
  height: 16px;
}

.service-card-foot {
  margin-top: 24px;
  text-align: right;
}

/* Prose and content */
.page-toc {
  margin-bottom: 48px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--page);
}

.page-toc ol {
  display: grid;
  margin: 12px 0 0;
  padding-left: 22px;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 32px;
}

.page-toc a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.prose > section {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.prose > section + section {
  margin-top: 64px;
}

.prose h2 {
  font-size: 28px;
}

.prose h3 {
  font-size: 21px;
}

.prose a {
  text-decoration: underline;
}

.prose li + li {
  margin-top: 6px;
}

.definition-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.definition-grid > div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
}

.definition-grid p {
  margin: 0;
}

.condition-sections {
  display: grid;
  gap: 24px;
}

.condition-panel {
  display: grid;
  padding: 32px;
  grid-template-columns: 64px 1.1fr 1fr;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.condition-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: var(--radius-panel);
  color: var(--primary-800);
  background: var(--primary-100);
}

.condition-copy h2 {
  margin-bottom: 8px;
  font-size: 28px;
}

.condition-checks {
  padding: 20px;
  background: var(--warm-100);
}

.condition-checks h3,
.condition-services h3 {
  font-size: 16px;
}

.condition-checks ul,
.condition-services p {
  margin-bottom: 0;
}

.condition-services {
  grid-column: 2 / -1;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.calculation-note {
  padding: 28px;
  border-left: 4px solid var(--accent-700);
  background: var(--warm-100);
}

.calculation-note h2 {
  font-size: 24px;
}

.calculation-note p {
  margin: 0;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--reading-width)) 280px;
  gap: 48px;
  align-items: start;
}

.policy-summary {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--page);
}

.policy-summary h2 {
  font-size: 21px;
}

.policy-summary dl > div {
  display: grid;
  padding: 10px 0;
  grid-template-columns: 1fr 1.2fr;
  gap: 12px;
  border-top: 1px solid var(--line);
}

.policy-summary dt {
  color: var(--muted);
  font-size: 13px;
}

.policy-summary dd {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.policy-summary .button {
  width: 100%;
  margin-top: 16px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: #fff;
}

.faq-list summary {
  min-height: 64px;
  padding: 17px 52px 17px 20px;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.55;
  cursor: pointer;
}

.faq-list details[open] {
  border-color: var(--primary-700);
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
}

.contact-routing {
  display: grid;
  gap: 16px;
}

.contact-routing section {
  display: grid;
  padding: 24px;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
}

.contact-routing section > span {
  color: var(--primary-700);
}

.contact-routing h2 {
  font-size: 21px;
}

.contact-routing p {
  color: var(--muted);
}

.empty-state {
  width: min(calc(100% - 48px), 680px);
  margin: 80px auto;
  padding: 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  text-align: center;
}

.empty-state .button-row {
  justify-content: center;
}

/* CTA and footer */
.cta-band {
  display: grid;
  width: min(calc(100% - 64px), var(--container));
  margin: 0 auto 88px;
  padding: 40px 48px;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
  border-radius: var(--radius-panel);
  color: #fff;
  background: var(--primary-800);
  box-shadow: var(--shadow);
}

.cta-band h2 {
  margin-bottom: 8px;
  color: #fff;
}

.cta-band p {
  margin-bottom: 0;
  color: #e4efe9;
}

.cta-band .button-row {
  justify-content: flex-end;
}

.site-footer {
  padding-top: 56px;
  color: #dce8e3;
  background: #0b3529;
}

.footer-grid {
  display: grid;
  padding-bottom: 48px;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
}

.brand-footer {
  display: inline-block;
  padding: 4px 8px;
  border-radius: var(--radius-panel);
  background: #fff;
}

.footer-about p {
  max-width: 380px;
  margin-top: 20px;
  color: #c5d7d0;
  font-size: 14px;
}

.footer-grid h2 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 15px;
}

.footer-grid > div:not(.footer-about) a {
  display: flex;
  min-height: 40px;
  align-items: center;
  color: #dce8e3;
  font-size: 14px;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  padding: 20px 0;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255,255,255,.18);
  color: #bdd0c8;
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1040px) {
  :root {
    --header-height: 68px;
  }

  .container,
  .header-inner,
  .footer-grid,
  .footer-bottom,
  .hero-inner,
  .scenario-nav,
  .cta-band {
    width: min(calc(100% - 56px), var(--container));
  }

  .menu-button {
    display: inline-flex;
  }

  .global-nav {
    position: fixed;
    z-index: 110;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    padding: 20px 28px 28px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .global-nav.is-open {
    display: flex;
  }

  .global-nav a {
    min-height: 48px;
    border-bottom: 1px solid var(--line);
  }

  .global-nav .nav-cta {
    margin: 12px 0 0;
    justify-content: center;
    border-bottom: 0;
  }

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

  .compare-controls {
    grid-template-columns: 1fr;
  }

  .filter-result {
    text-align: left;
  }

  .policy-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 28px;
  }
}

@media (max-width: 900px) {
  h1 {
    font-size: 38px;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-copy {
    width: 58%;
  }

  .feature-grid,
  .guide-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .condition-panel {
    grid-template-columns: 56px 1fr;
  }

  .condition-checks {
    grid-column: 1 / -1;
  }

  .condition-services {
    grid-column: 1 / -1;
  }

  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-summary {
    position: static;
  }

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

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

@media (max-width: 820px) {
  .home-hero {
    display: flex;
    height: auto;
    flex-direction: column;
  }

  .hero-media {
    height: 310px;
    order: 1;
  }

  .hero-media img {
    object-position: center;
  }

  .hero-overlay {
    display: none;
  }

  .hero-inner {
    width: 100%;
    order: 2;
    background: var(--warm-100);
  }

  .hero-copy {
    width: min(calc(100% - 56px), var(--container));
    margin-inline: auto;
    padding: 40px 0 44px;
  }

  .scenario-nav {
    grid-template-columns: 1fr;
    border-right: 0;
    border-left: 0;
  }

  .scenario-nav a,
  .scenario-nav a:last-child {
    min-height: 92px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .mobile-table-hint {
    display: block;
  }

  .comparison-table tbody th {
    width: 136px;
    min-width: 136px;
  }

  .page-toc ol {
    grid-template-columns: 1fr;
  }

  .service-facts {
    grid-template-columns: 1fr;
  }

  .balanced-notes {
    grid-template-columns: 1fr;
  }

  .cta-band {
    grid-template-columns: 1fr;
  }

  .cta-band .button-row {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 64px;
  }

  .container,
  .header-inner,
  .footer-grid,
  .footer-bottom,
  .scenario-nav,
  .cta-band,
  .narrow-container,
  .reading-container {
    width: min(calc(100% - 48px), var(--container));
  }

  .section {
    padding-block: 56px;
  }

  .section-tight {
    padding-top: 48px;
  }

  h1 {
    font-size: 29px;
  }

  h2 {
    font-size: 25px;
  }

  h3 {
    font-size: 19px;
  }

  .brand img {
    width: 210px;
    height: 40px;
  }

  .menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .menu-button {
    min-width: 48px;
    padding: 8px;
  }

  .global-nav {
    padding-inline: 24px;
  }

  .hero-media {
    height: 270px;
  }

  .hero-copy {
    width: calc(100% - 48px);
  }

  .hero-copy h1 {
    font-size: clamp(22px, 6.8vw, 26px);
    letter-spacing: 0;
  }

  .hero-lead {
    font-size: 16px;
  }

  .page-hero {
    padding: 32px 0 40px;
  }

  .page-lead,
  .split-heading > p,
  .center-heading > p {
    font-size: 16px;
  }

  .feature-grid,
  .guide-cards,
  .name-grid,
  .definition-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid article,
  .guide-cards > a,
  .service-card,
  .condition-panel {
    padding: 24px;
  }

  .guide-cards > a {
    min-height: 0;
  }

  .compare-controls {
    padding: 18px;
  }

  .filter-buttons button {
    flex: 1 1 calc(50% - 8px);
  }

  .service-card-head {
    flex-direction: column;
    gap: 8px;
  }

  .service-facts > div {
    grid-template-columns: 92px 1fr;
  }

  .source-details dl > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .source-details ul {
    display: block;
  }

  .condition-panel {
    grid-template-columns: 48px 1fr;
    gap: 16px;
  }

  .condition-icon {
    width: 48px;
    height: 48px;
  }

  .cta-band {
    margin-bottom: 56px;
    padding: 32px 24px;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .empty-state {
    margin: 48px auto;
    padding: 36px 24px;
  }
}

@media (max-width: 560px) {
  .button-row {
    flex-direction: column;
  }

  .button-row .button {
    width: 100%;
  }

  .hero-note {
    max-width: 100%;
  }

  .source-notice {
    padding: 20px;
  }

  .contact-routing section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .container,
  .header-inner,
  .footer-grid,
  .footer-bottom,
  .scenario-nav,
  .cta-band,
  .narrow-container,
  .reading-container {
    width: calc(100% - 40px);
  }

  h1 {
    font-size: 27px;
  }

  .brand img {
    width: 190px;
  }

  .hero-copy {
    width: calc(100% - 40px);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
