:root {
  --ink: #17202a;
  --muted: #586574;
  --line: #dfe5e7;
  --paper: #ffffff;
  --soft: #f5f7f4;
  --mist: #edf6f4;
  --teal: #0f766e;
  --teal-dark: #0b4f4a;
  --gold: #b7791f;
  --coral: #be4b35;
  --shadow: 0 16px 40px rgba(23, 32, 42, 0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.72;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--teal-dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner,
.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

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

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  color: var(--ink);
  border-radius: 8px;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--teal-dark);
  background: var(--mist);
}

.nav-cta {
  color: #fff !important;
  background: var(--teal) !important;
  margin-left: 8px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.notice {
  background: #fff8e8;
  border-bottom: 1px solid #f0dfb9;
  color: #6b4b13;
  font-size: 14px;
}

.notice .container {
  padding: 10px 0;
}

.section {
  padding: 64px 0;
}

.section.soft {
  background: var(--soft);
}

.section.mist {
  background: var(--mist);
}

.hero {
  padding: 78px 0 56px;
  background: linear-gradient(180deg, #f9fbfa 0%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 52px;
  align-items: center;
}

.hero-single {
  max-width: 900px;
  text-align: center;
}

.hero-single h1,
.hero-single .lead {
  margin-left: auto;
  margin-right: auto;
}

.hero-single .hero-actions {
  justify-content: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 800;
}

h1,
h2,
h3,
h4 {
  line-height: 1.22;
  margin: 0;
}

h1 {
  font-size: 48px;
  max-width: 820px;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: keep-all;
}

h2 {
  font-size: 30px;
  margin-bottom: 14px;
}

h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

p {
  margin: 0 0 14px;
}

h1,
h2,
h3,
h4,
p,
li,
a,
th,
td,
.button {
  overflow-wrap: anywhere;
}

.lead {
  margin-top: 18px;
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: #fff;
  background: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover {
  color: #fff;
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}

.button.secondary {
  color: var(--teal-dark);
  background: #fff;
  border-color: #aacac6;
}

.button.secondary:hover {
  color: var(--teal-dark);
  background: var(--mist);
}

.button.subtle {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.button.subtle:hover {
  color: var(--ink);
  background: var(--soft);
}

.visual-panel {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.visual-panel img {
  display: block;
  width: 100%;
}

.section-head {
  max-width: 930px;
  margin-bottom: 26px;
}

.section-head .lead {
  max-width: 900px;
}

.fit-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(2, minmax(230px, 0.68fr));
  gap: 20px;
  align-items: stretch;
}

.fit-panel .card {
  min-height: 0;
  box-shadow: 0 18px 36px rgba(23, 32, 42, 0.048);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.metric {
  min-height: 76px;
  padding: 12px;
  background: #f7fbf9;
  border: 1px solid #d9e8e4;
  border-radius: 8px;
}

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  color: var(--teal-dark);
  font-size: 20px;
  line-height: 1.15;
}

.metric span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: normal;
  text-wrap: pretty;
  word-break: keep-all;
}

.fit-panel .check-list li,
.fit-panel .plain-list li {
  overflow-wrap: normal;
  text-wrap: pretty;
  word-break: keep-all;
}

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

.readiness-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(23, 32, 42, 0.045);
}

.readiness-card span {
  width: fit-content;
  margin-bottom: 18px;
  color: var(--teal-dark);
  font-weight: 800;
}

.readiness-card p {
  color: var(--muted);
}

.readiness-card a {
  width: fit-content;
  margin-top: auto;
  font-weight: 800;
}

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

.problem-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.problem-row p {
  max-width: 760px;
  color: var(--muted);
}

.task-flow {
  display: grid;
  gap: 12px;
}

.task-flow a {
  display: grid;
  grid-template-columns: 38px 150px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 74px;
  padding: 16px 18px;
  color: var(--ink);
  background: #fff;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.task-flow a:hover {
  background: #f8fbfa;
}

.task-flow span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--teal);
  border-radius: 8px;
  font-weight: 800;
}

.task-flow strong,
.task-flow em {
  display: block;
  font-style: normal;
}

.task-flow strong {
  font-size: 18px;
}

.task-flow em {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.home-entry-card,
.home-prereq-card {
  display: flex;
  flex-direction: column;
}

.home-entry-card p {
  max-width: 88%;
}

.home-entry-card .button,
.home-prereq-card a {
  width: fit-content;
  margin-top: auto;
}

.home-prereq-card p {
  min-height: 88px;
}

.path-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.route-card {
  position: relative;
  min-height: 292px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(23, 32, 42, 0.055);
}

.route-card::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 3px;
  background: var(--teal);
  border-radius: 0 0 999px 999px;
}

.route-card:nth-child(2)::before {
  background: var(--gold);
}

.route-card:nth-child(3)::before {
  background: #17302d;
}

.route-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 34px;
  margin-bottom: 20px;
  color: var(--teal-dark);
  background: var(--mist);
  border-radius: 8px;
  font-weight: 800;
}

.route-card h3 {
  font-size: 22px;
}

.route-card p {
  color: var(--muted);
}

.route-fact {
  margin-top: auto;
  padding: 14px;
  background: #f7faf9;
  border: 1px solid #d9e8e4;
  border-radius: 8px;
}

.route-fact strong,
.route-fact span {
  display: block;
}

.route-fact strong {
  color: var(--teal-dark);
}

.route-fact span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
}

.path-action-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-top: 18px;
  padding: 18px 20px;
  background: #f8fbfa;
  border: 1px solid #d9e8e4;
  border-radius: 8px;
}

.path-action-row p {
  margin: 0;
  color: var(--muted);
}

.path-action-row .actions {
  margin-top: 0;
  justify-content: flex-end;
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 36px;
  border: 1px solid var(--line);
  background: var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.summary-item {
  min-height: 112px;
  padding: 18px;
  background: #fff;
}

.summary-item strong {
  display: block;
  font-size: 22px;
  line-height: 1.2;
}

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

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.card {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
}

.card.tint {
  background: #fbf8f1;
  border-color: #eadab7;
}

.card.warn {
  background: #fff;
  border-color: #eadbd2;
}

.card.good {
  background: #fff;
  border-color: #d3e5e0;
}

.card.fit-intro {
  color: var(--ink);
  background: linear-gradient(135deg, #ffffff 0%, #f7faf8 100%);
  border-color: #d9e7e3;
  border-top: 3px solid #17302d;
}

.card.fit-intro p,
.card.fit-intro li {
  color: var(--muted);
}

.fit-panel .card.good {
  background: #fff;
  border-top: 3px solid var(--teal);
}

.fit-panel .card.warn {
  background: #fff;
  border-top: 3px solid var(--gold);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 32px;
  align-items: start;
}

.check-list,
.plain-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 28px;
  margin: 10px 0;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--teal);
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--gold);
}

.table-wrap {
  margin-top: 20px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

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

th,
td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  background: #f2f6f5;
  color: var(--teal-dark);
  font-size: 14px;
}

tr:last-child td {
  border-bottom: 0;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.step {
  position: relative;
  padding: 20px 20px 20px 72px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--teal);
  border-radius: 8px;
  font-weight: 800;
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  color: var(--ink);
  background: #fff;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: left;
}

.faq-item button::after {
  content: "+";
  color: var(--teal);
  font-size: 24px;
  line-height: 1;
}

.faq-item.is-open button::after {
  content: "-";
}

.faq-answer {
  display: none;
  padding: 0 18px 18px;
  color: var(--muted);
}

.faq-item.is-open .faq-answer {
  display: block;
}

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

.breadcrumb a {
  color: var(--muted);
}

.callout {
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  background: #fff8e8;
  border-radius: 0 8px 8px 0;
}

.source-list {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.plain-hero {
  background: #f8faf8;
}

.plain-hero .hero-single {
  max-width: 860px;
}

.home-hero .hero-single {
  max-width: 1120px;
}

.home-hero h1 {
  max-width: none;
  white-space: nowrap;
}

.home-hero .lead {
  max-width: 880px;
}

.decision-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  text-align: left;
}

.decision-panel > div {
  min-height: 130px;
  padding: 20px;
  background: #fff;
}

.decision-panel span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
}

.decision-panel strong {
  display: block;
  font-size: 20px;
  line-height: 1.25;
}

.decision-panel p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.home-overview > div {
  min-height: 118px;
}

.home-route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.home-route-card {
  min-height: 258px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(23, 32, 42, 0.045);
}

.home-route-card:nth-child(2) {
  border-top-color: var(--gold);
}

.home-route-card:nth-child(3) {
  border-top-color: #17302d;
}

.home-route-card:nth-child(4) {
  border-top-color: var(--coral);
}

.home-route-card span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 18px;
  padding: 4px 10px;
  color: var(--teal-dark);
  background: var(--mist);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.home-route-card p {
  color: var(--muted);
}

.home-route-card a {
  width: fit-content;
  margin-top: auto;
  font-weight: 800;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.toc-card {
  position: sticky;
  top: 92px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.toc-card h2,
.toc-card h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.toc-card a {
  display: block;
  padding: 9px 0;
  border-top: 1px solid #edf1f1;
  color: var(--ink);
  text-decoration: none;
}

.toc-card a:hover {
  color: var(--teal-dark);
}

.manual-steps {
  display: grid;
  gap: 18px;
}

.manual-step {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(23, 32, 42, 0.04);
}

.manual-step .step-label {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--mist);
  font-size: 13px;
  font-weight: 800;
}

.manual-step h3 {
  font-size: 23px;
}

.manual-step > p {
  color: var(--muted);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.screen-cue {
  min-height: 122px;
  padding: 16px;
  border: 1px solid #dbe6e4;
  border-radius: 8px;
  background: #f8fbfa;
}

.screen-cue strong,
.screen-cue span {
  display: block;
}

.screen-cue strong {
  margin-bottom: 8px;
  color: var(--teal-dark);
}

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

.step-media,
.step-media-row {
  margin: 18px 0 0;
}

.step-media {
  overflow: hidden;
  border: 1px solid #dbe6e4;
  border-radius: 8px;
  background: #f8fbfa;
}

.step-media-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.step-media img {
  display: block;
  width: 100%;
  background: #fff;
}

.step-media figcaption {
  padding: 10px 14px;
  color: var(--muted);
  border-top: 1px solid #dbe6e4;
  font-size: 13px;
  line-height: 1.55;
}

.term-brief {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0 18px;
}

.term-brief > div {
  padding: 18px 20px;
  border: 1px solid #d9e8e4;
  border-radius: 8px;
  background: #f8fbfa;
}

.term-brief > div:nth-child(2) {
  border-color: #eadab7;
  background: #fffaf0;
}

.term-brief strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.35;
}

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

.payment-shot-stack {
  display: grid;
  gap: 22px;
  max-width: 980px;
  margin: 28px auto 0;
}

.payment-shot {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(23, 32, 42, 0.045);
}

.payment-shot .step-media {
  margin-top: 16px;
  background: #fff;
}

.payment-shot .step-media img {
  background: #fff;
}

.shot-copy {
  max-width: 820px;
}

.shot-copy span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 10px;
  color: var(--teal-dark);
  background: var(--mist);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.shot-copy p {
  color: var(--muted);
}

.feature-stack .section-head {
  max-width: 880px;
}

.dimension-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.dimension-card {
  min-height: 178px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(23, 32, 42, 0.04);
}

.dimension-card:nth-child(2),
.dimension-card:nth-child(5) {
  border-top-color: var(--gold);
}

.dimension-card:nth-child(3),
.dimension-card:nth-child(6) {
  border-top-color: #17302d;
}

.dimension-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
}

.dimension-card p {
  color: var(--muted);
}

.quick-check {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.quick-check div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.quick-check strong,
.quick-check span {
  display: block;
}

.quick-check span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.issue-list,
.choice-grid {
  display: grid;
  gap: 14px;
}

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

.choice-card,
.issue-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  min-width: 0;
}

.choice-card.recommended {
  border-top: 3px solid var(--teal);
}

.choice-card.caution {
  border-top: 3px solid var(--gold);
}

.issue-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.25fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.issue-card strong {
  color: var(--teal-dark);
}

.source-note {
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid #d9e8e4;
  border-radius: 8px;
  background: #f7fbfa;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  padding: 42px 0;
  color: #dbe5e3;
  background: #17302d;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(140px, 0.5fr));
  gap: 28px;
}

.site-footer a {
  color: #e8faf6;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 10px;
}

.site-footer p,
.site-footer li {
  color: #c9d7d4;
  font-size: 14px;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin: 7px 0;
}

@media (max-width: 920px) {
  .header-inner,
  .container {
    width: min(calc(100% - 28px), 760px);
  }

  .menu-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .brand {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .main-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 68px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    justify-content: flex-start;
    min-height: 44px;
  }

  .nav-cta {
    margin-left: 0;
  }

  .hero-grid,
  .split,
  .fit-panel,
  .readiness-grid,
  .problem-row,
  .task-flow,
  .path-board,
  .path-action-row,
  .decision-panel,
  .guide-layout,
  .home-route-grid,
  .dimension-grid,
  .step-grid,
  .step-media-row,
  .term-brief,
  .quick-check,
  .choice-grid,
  .issue-card,
  .grid.two,
  .grid.three,
  .grid.four,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .toc-card {
    position: static;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .path-action-row .actions {
    justify-content: flex-start;
  }

  .problem-row {
    gap: 10px;
  }

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

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 26px;
  }

  .home-hero h1 {
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .hero,
  .section {
    padding: 44px 0;
  }

  h1 {
    font-size: 28px;
    overflow-wrap: anywhere;
    word-break: break-all;
    text-wrap: balance;
  }

  .hero-single,
  .lead,
  p,
  li,
  .choice-card,
  .card,
  .home-route-card,
  .dimension-card,
  .payment-shot,
  .manual-step,
  .step-media {
    max-width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .lead {
    font-size: 16px;
  }

  .summary-strip {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .card,
  .step {
    padding: 18px;
  }

  .readiness-card,
  .problem-row,
  .task-flow a {
    padding: 18px;
  }

  .task-flow a {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .task-flow em {
    grid-column: 2;
  }

  .route-card {
    min-height: 0;
    padding: 20px;
  }

  .home-entry-card p,
  .home-prereq-card p {
    max-width: none;
    min-height: 0;
  }

  .step {
    padding-left: 64px;
  }
}
