:root {
  color-scheme: light dark;
  --page: #f6f8f9;
  --surface: #ffffff;
  --surface-soft: #edf2f4;
  --ink: #1c2c3b;
  --navy: #18364d;
  --muted: #5b6e7a;
  --line: #d7dfe4;
  --accent: #ad3541;
  --accent-hover: #922b35;
  --accent-soft: #f7e9eb;
  --on-accent: #fffafa;
  --focus: #0b64a0;
  --shadow: 0 24px 64px rgba(24, 54, 77, 0.12);
  --radius: 14px;
  --header-height: 72px;
  font-family: "MiSans", "HarmonyOS Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #101820;
    --surface: #17232d;
    --surface-soft: #1e2e39;
    --ink: #eef4f6;
    --navy: #dceaf0;
    --muted: #b4c3cb;
    --line: #31434f;
    --accent: #dc6670;
    --accent-hover: #ed7c85;
    --accent-soft: #3b2329;
    --on-accent: #181013;
    --focus: #8fd0ff;
    --shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

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

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

button,
.button {
  touch-action: manipulation;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 10px;
  z-index: 40;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  transform: translateY(-140%);
  transition: transform 160ms ease;
}

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

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-height);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  background: color-mix(in srgb, var(--page) 92%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 186px;
  text-decoration: none;
}

.brand-mark {
  color: var(--accent);
  font-size: 24px;
  font-weight: 850;
  letter-spacing: -0.08em;
}

.brand-name {
  padding-left: 12px;
  border-left: 1px solid var(--line);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  white-space: nowrap;
}

.desktop-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

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

.desktop-nav .nav-cta {
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--on-accent);
}

.desktop-nav .nav-cta:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
}

.mobile-menu-button {
  display: none;
  min-width: 58px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  font-weight: 750;
}

.mobile-panel {
  position: fixed;
  inset: var(--header-height) 0 0;
  z-index: 18;
  display: none;
  padding: 28px 24px 96px;
  background: var(--page);
}

.mobile-panel.is-open {
  display: block;
}

.mobile-panel nav {
  display: grid;
  gap: 8px;
}

.mobile-panel a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
}

.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);
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 760;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 100ms ease;
}

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

.button:active {
  transform: scale(0.98);
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--navy);
}

.button-secondary:hover {
  border-color: var(--muted);
  background: var(--surface-soft);
}

.text-link {
  color: var(--navy);
  font-weight: 760;
}

.hero {
  min-height: calc(100dvh - var(--header-height));
  display: grid;
  align-items: center;
  padding-block: 36px 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: center;
  gap: clamp(44px, 7vw, 96px);
}

.hero-copy {
  max-width: 540px;
}

.hero-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero h1 {
  max-width: 10em;
  margin: 0;
  color: var(--navy);
  font-size: clamp(42px, 5.2vw, 72px);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.hero h1 span {
  display: block;
}

.hero-lead {
  max-width: 31em;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.hero-media {
  position: relative;
  min-height: min(68vh, 690px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}

.hero-media img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.concept-figure {
  min-width: 0;
}

.concept-caption {
  margin: 10px 2px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.trust-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  min-height: 116px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}

.trust-item:first-child {
  padding-left: 0;
}

.trust-item:last-child {
  border-right: 0;
  padding-right: 0;
}

.trust-item strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
}

.trust-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding-block: clamp(76px, 9vw, 126px);
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-heading h2,
.page-intro h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 830;
  letter-spacing: -0.045em;
  line-height: 1.16;
}

.section-heading p,
.page-intro p {
  max-width: 44em;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.concern-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  grid-template-rows: repeat(2, minmax(170px, auto));
  gap: 16px;
}

.concern {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.concern-main {
  grid-row: span 2;
  padding: 38px;
  background: var(--navy);
  color: var(--page);
}

.concern h3 {
  max-width: 12em;
  margin: 0;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.35;
}

.concern-main h3 {
  color: var(--page);
  font-size: clamp(28px, 3vw, 42px);
}

.concern p {
  margin: 18px 0 0;
  color: var(--muted);
}

.concern-main p {
  max-width: 29em;
  color: color-mix(in srgb, var(--page) 78%, transparent);
}

.concern b {
  display: block;
  margin-top: 28px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.concern-main b {
  color: var(--page);
}

.pathway {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}

.pathway article {
  min-height: 230px;
  padding: 30px 28px 24px 0;
  border-right: 1px solid var(--line);
}

.pathway article:not(:first-child) {
  padding-left: 28px;
}

.pathway article:last-child {
  border-right: 0;
}

.pathway strong {
  color: var(--accent);
  font-size: 14px;
}

.pathway h3 {
  margin: 28px 0 8px;
  color: var(--navy);
  font-size: 24px;
}

.pathway p {
  margin: 0;
  color: var(--muted);
}

.split-story {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
}

.split-image {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}

.split-image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 40%;
}

.split-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 54px);
  letter-spacing: -0.045em;
  line-height: 1.18;
}

.split-copy > p {
  margin: 22px 0 30px;
  color: var(--muted);
  font-size: 18px;
}

.paired-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.paired-points div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.paired-points h3 {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
}

.paired-points p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.service-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: minmax(250px, auto) minmax(250px, auto);
  gap: 16px;
}

.service-tile {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.service-tile-large {
  grid-row: span 2;
  min-height: 520px;
}

.service-tile img {
  height: 100%;
  object-fit: cover;
}

.service-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 72px 28px 28px;
  background: linear-gradient(to top, rgba(15, 30, 41, 0.92), rgba(15, 30, 41, 0));
  color: #f7fbfc;
}

.service-overlay h3 {
  margin: 0;
  font-size: 27px;
}

.service-overlay p {
  max-width: 29em;
  margin: 8px 0 0;
  color: rgba(247, 251, 252, 0.82);
}

.service-copy {
  display: grid;
  align-content: space-between;
  padding: 30px;
}

.service-copy h3 {
  margin: 0;
  color: var(--navy);
  font-size: 27px;
}

.service-copy p {
  margin: 12px 0 24px;
  color: var(--muted);
}

.service-copy .service-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.faq-list {
  max-width: 900px;
}

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

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 24px 44px 24px 0;
  color: var(--navy);
  font-size: 20px;
  font-weight: 760;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 22px;
  color: var(--accent);
  font-size: 24px;
  line-height: 1;
}

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

.faq-answer {
  max-width: 720px;
  padding: 0 0 26px;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
}

.section-link {
  margin-top: 24px;
}

.location-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.location-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 62px);
}

.location-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.2;
}

.location-copy address {
  margin: 20px 0 28px;
  color: var(--muted);
  font-style: normal;
  font-size: 17px;
}

.location-media img {
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.final-cta {
  padding-block: 84px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.final-cta h2 {
  max-width: 15em;
  margin: 0 auto;
  color: var(--navy);
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.18;
}

.final-cta p {
  max-width: 37em;
  margin: 18px auto 28px;
  color: var(--muted);
}

.site-footer {
  padding-block: 48px 92px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 48px;
}

.footer-grid h2,
.footer-grid h3 {
  margin: 0 0 12px;
  color: var(--navy);
}

.footer-grid h2 {
  font-size: 24px;
}

.footer-grid h3 {
  font-size: 15px;
}

.footer-grid p,
.footer-grid a {
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-note {
  max-width: 32em;
}

.mobile-appointment {
  display: none;
}

.page-intro {
  padding-block: clamp(70px, 9vw, 120px) 60px;
}

.page-intro .breadcrumb {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.page-intro h1 {
  max-width: 16em;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 72px;
  align-items: start;
}

.article-body {
  min-width: 0;
}

.article-body section {
  padding-block: 36px;
  border-top: 1px solid var(--line);
}

.article-body h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.28;
}

.article-body h3 {
  margin: 28px 0 10px;
  color: var(--navy);
  font-size: 21px;
}

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

.article-body ul {
  padding-left: 1.2em;
}

.content-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 11px;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--line));
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
}

.content-status::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
}

.answer-box {
  margin-bottom: 22px;
  padding: clamp(24px, 4vw, 36px);
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--page);
}

.answer-box strong {
  display: block;
  margin-bottom: 10px;
  color: var(--page);
  font-size: 13px;
  letter-spacing: 0.08em;
}

.answer-box p {
  margin: 0;
  color: color-mix(in srgb, var(--page) 88%, transparent);
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.65;
}

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

.fact-card,
.guide-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.fact-card h3,
.guide-card h2 {
  margin: 0;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.35;
}

.fact-card p,
.guide-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.guide-grid {
  padding-bottom: 110px;
}

.guide-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: space-between;
}

.guide-card a {
  text-decoration: none;
}

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

.guide-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
}

.guide-card-link {
  display: inline-block;
  margin-top: 24px;
  color: var(--navy);
  font-weight: 760;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0 !important;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 15px 18px 15px 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.check-list li::before {
  position: absolute;
  left: 17px;
  top: 15px;
  color: var(--accent);
  font-weight: 850;
  content: "✓";
}

.caution-note {
  margin: 24px 0;
  padding: 18px 20px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--ink);
}

.source-list {
  display: grid;
  gap: 10px;
  padding: 0 !important;
  list-style: none;
}

.source-list a {
  color: var(--navy);
  font-weight: 700;
}

.article-media {
  margin: 28px 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.article-media img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.source-note {
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 14px;
}

.article-nav {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.article-nav strong {
  margin-bottom: 4px;
  color: var(--navy);
}

.article-nav a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

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

.license-fact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.license-fact div {
  padding: 24px;
  background: var(--surface);
}

.license-fact strong {
  display: block;
  color: var(--navy);
}

.license-fact span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.assessment-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(42px, 7vw, 92px);
  align-items: start;
  padding-block: 72px 110px;
}

.assessment-copy h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.14;
  letter-spacing: -0.045em;
}

.assessment-copy p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.assessment-points {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}

.assessment-points div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.assessment-points strong {
  display: block;
  color: var(--navy);
}

.assessment-points span {
  color: var(--muted);
  font-size: 14px;
}

.form-card {
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form-card-title {
  margin-top: 0;
  color: var(--navy);
}

.prototype-notice {
  margin: 0 0 26px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label,
.field legend {
  color: var(--navy);
  font-size: 14px;
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--page);
  color: var(--ink);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  opacity: 0.88;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--focus);
}

.field-error {
  min-height: 1.5em;
  margin: 0;
  color: var(--accent);
  font-size: 13px;
}

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--accent);
}

.consent label {
  color: var(--muted);
  font-size: 14px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.form-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.form-status {
  min-height: 1.7em;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.form-status[data-state="success"] {
  color: #197048;
}

.form-status[data-state="error"] {
  color: var(--accent);
}

.legal-page {
  max-width: 780px;
  padding-block: 70px 110px;
}

.legal-page h1 {
  margin: 0 0 24px;
  color: var(--navy);
  font-size: clamp(38px, 5vw, 58px);
}

.legal-page h2 {
  margin: 34px 0 10px;
  color: var(--navy);
  font-size: 24px;
}

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

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

.error-page h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(48px, 10vw, 96px);
}

.error-page p {
  margin: 12px 0 24px;
  color: var(--muted);
}

@media (max-width: 1000px) {
  .desktop-nav {
    gap: 15px;
  }

  .desktop-nav a {
    font-size: 13px;
  }

  .hero-grid {
    gap: 42px;
  }

  .concern-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .concern-main {
    grid-column: 1 / -1;
    grid-row: auto;
  }

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

  .pathway article:nth-child(2) {
    border-right: 0;
  }

  .pathway article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

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

  .container {
    width: min(100% - 32px, 680px);
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .brand {
    min-width: 0;
  }

  .hero {
    min-height: auto;
    padding-block: 40px 52px;
  }

  .hero-grid,
  .split-story,
  .location-panel,
  .assessment-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: none;
  }

  .hero h1 {
    max-width: 11em;
    font-size: clamp(42px, 12vw, 58px);
  }

  .hero-lead {
    max-width: 28em;
  }

  .hero-media {
    min-height: 58vh;
  }

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

  .trust-item {
    min-height: 102px;
    padding: 22px 20px;
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .trust-item:first-child,
  .trust-item:nth-child(3) {
    padding-left: 0;
  }

  .trust-item:nth-child(2),
  .trust-item:last-child {
    padding-right: 0;
  }

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

  .service-tile-large {
    grid-row: auto;
    min-height: 520px;
  }

  .location-copy {
    padding: 38px 28px;
  }

  .location-media {
    min-height: 360px;
  }

  .article-shell {
    grid-template-columns: 1fr;
    gap: 26px;
  }

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

  .article-nav {
    position: static;
    grid-template-columns: 1fr 1fr;
    order: -1;
  }

  .article-nav strong {
    grid-column: 1 / -1;
  }

  .license-fact {
    grid-template-columns: 1fr;
  }

  .assessment-layout {
    padding-block: 52px 90px;
  }
}

@media (max-width: 560px) {
  body {
    padding-bottom: 68px;
  }

  .brand-name {
    display: none;
  }

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

  .hero-actions .button,
  .hero-actions .text-link {
    width: 100%;
    text-align: center;
  }

  .hero-media {
    min-height: 54vh;
  }

  .concern-grid,
  .pathway,
  .paired-points,
  .fact-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .concern-main {
    grid-column: auto;
    min-height: 320px;
  }

  .pathway article,
  .pathway article:not(:first-child) {
    min-height: auto;
    padding: 24px 0;
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .pathway article:first-child {
    border-top: 0;
  }

  .pathway h3 {
    margin-top: 16px;
  }

  .service-tile-large {
    min-height: 460px;
  }

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

  .footer-grid {
    gap: 32px;
  }

  .field-full {
    grid-column: auto;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .form-actions .button {
    width: 100%;
  }

  .mobile-appointment {
    position: fixed;
    inset: auto 0 0;
    z-index: 24;
    display: block;
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: color-mix(in srgb, var(--page) 94%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .mobile-appointment .button {
    width: 100%;
    min-height: 52px;
  }
}

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

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

@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .mobile-appointment {
    background: var(--page);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
