:root {
  --brand: #2F8F83;
  --brand-strong: #24776d;
  --brand-soft: #dcece8;
  --apricot: #F2B36F;
  --ink: #243331;
  --text: #2E3836;
  --muted: #71807C;
  --paper: #FAFCFA;
  --surface: #EEF5F2;
  --accent: #E96B4C;
  --accent-soft: #fff0eb;
  --white: #ffffff;
  --line: #d9e5e1;
  --shadow-sm: 0 6px 20px rgba(36, 51, 49, .07);
  --shadow-md: 0 18px 50px rgba(36, 51, 49, .12);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --shell: 1180px;
  --reading: 720px;
  --header-h: 76px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-width: 320px; color: var(--text); background: var(--paper); font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; font-size: 16px; line-height: 1.72; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
[hidden] { display: none !important; }
::selection { background: rgba(47,143,131,.22); }
:focus-visible { outline: 3px solid rgba(233,107,76,.65); outline-offset: 3px; border-radius: 4px; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; transform: translateY(-160%); background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; transition: transform .2s ease; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(250,252,250,.9); backdrop-filter: blur(18px); border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.site-header.is-scrolled { background: rgba(250,252,250,.96); border-bottom-color: var(--line); box-shadow: 0 8px 30px rgba(36,51,49,.06); }
.scroll-marker { height: 1px; pointer-events: none; }
.header-shell { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-mark { width: 46px; height: 46px; border-radius: 16px; background: var(--brand-soft); overflow: hidden; flex: 0 0 auto; box-shadow: inset 0 0 0 1px rgba(47,143,131,.12); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-copy { display: grid; line-height: 1.1; gap: 4px; }
.brand-copy strong { color: var(--ink); font-size: 18px; letter-spacing: .01em; }
.brand-copy small { color: var(--muted); font-size: 12px; white-space: nowrap; }
.primary-nav { display: flex; align-items: center; gap: 8px; }
.nav-link { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 15px; color: #53605d; text-decoration: none; border-radius: 999px; font-weight: 680; transition: background .18s ease, color .18s ease, transform .18s ease; }
.nav-link:hover { background: var(--surface); color: var(--ink); }
.nav-link.is-active { background: var(--brand); color: #fff; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 10px; border-radius: 12px; cursor: pointer; }
.menu-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.menu-toggle__bars { display: grid; gap: 5px; width: 25px; }
.menu-toggle__bars i { display: block; height: 2px; background: var(--ink); border-radius: 999px; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

main { overflow: clip; }
.hero { padding: 64px 0 54px; background: radial-gradient(circle at 84% 16%, rgba(242,179,111,.24), transparent 24%), linear-gradient(180deg, #f8fbf9 0%, #edf6f3 100%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(380px, .96fr); align-items: center; gap: clamp(38px, 7vw, 88px); }
.hero-copy { max-width: 690px; }
.eyebrow { margin: 0 0 12px; color: var(--brand-strong); font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.hero h1, .inner-hero h1, .error-page h1 { margin: 0; color: var(--ink); font-size: clamp(42px, 6vw, 74px); line-height: 1.06; letter-spacing: -.038em; font-weight: 850; }
.inner-hero h1 { font-size: clamp(38px, 5vw, 62px); }
.hero-lede { margin: 24px 0 0; max-width: 700px; color: #50615d; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; border: 1px solid transparent; border-radius: 14px; font-weight: 760; text-decoration: none; cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(47,143,131,.2); }
.button--primary:hover { background: var(--brand-strong); box-shadow: 0 14px 30px rgba(47,143,131,.24); }
.button--ghost { background: rgba(255,255,255,.55); border-color: #c8d9d4; color: var(--ink); }
.button--ghost:hover { background: #fff; border-color: #b8cec8; }
.button--light { background: #fff; color: var(--ink); box-shadow: 0 10px 28px rgba(0,0,0,.16); }
.button--dark { background: var(--ink); color: #fff; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 18px; padding: 0; margin: 24px 0 0; list-style: none; color: #596864; font-size: 14px; }
.hero-points li { position: relative; padding-left: 18px; }
.hero-points li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--apricot); transform: translateY(-50%); }
.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.hero-visual::before { content: ""; position: absolute; inset: 7% 8% 5%; border-radius: 42% 58% 51% 49% / 53% 43% 57% 47%; background: linear-gradient(140deg, rgba(47,143,131,.25), rgba(242,179,111,.28)); transform: rotate(-5deg); }
.hero-visual img { position: relative; width: min(100%, 540px); height: 500px; object-fit: cover; border-radius: 34px; box-shadow: var(--shadow-md); }
.hero-float { position: absolute; z-index: 2; width: 210px; padding: 14px 16px; border-radius: 18px; background: rgba(255,255,255,.92); box-shadow: var(--shadow-sm); backdrop-filter: blur(12px); }
.hero-float span { display: block; color: var(--muted); font-size: 12px; }
.hero-float strong { display: block; margin-top: 3px; color: var(--ink); font-size: 15px; }
.hero-float--top { top: 11%; right: -4%; }
.hero-float--bottom { bottom: 8%; left: -5%; }

.section { padding: 86px 0; }
.section--tight { padding: 64px 0; }
.section--surface { background: var(--surface); }
.section--visual-break { background: linear-gradient(180deg, #fff 0%, #f7fbf9 100%); }
.section--dark { background: var(--ink); color: #dce8e5; }
.section--accent { background: linear-gradient(135deg, #f6c28a 0%, #f3b26b 55%, #ee9d60 100%); }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading h2, .editorial-sticky h2, .visual-break__copy h2, .split-info h2, .device-panel h2, .accent-panel h2, .safety-strip h2 { margin: 0; color: var(--ink); font-size: clamp(30px, 4vw, 48px); line-height: 1.14; letter-spacing: -.026em; }
.section-heading p:not(.eyebrow), .editorial-sticky > p:not(.eyebrow), .visual-break__copy > p:not(.eyebrow), .split-info > div > p:not(.eyebrow), .safety-strip > div > p:not(.eyebrow) { margin: 16px 0 0; color: var(--muted); font-size: 17px; }
.section-heading--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .7fr); gap: 56px; align-items: end; }
.section-heading--split > p { margin: 0 !important; }

.route-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; }
.route-card { min-height: 220px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; text-decoration: none; box-shadow: 0 10px 32px rgba(36,51,49,.05); transition: transform .22s var(--ease), box-shadow .22s ease, border-color .22s ease; }
.route-card:hover { transform: translateY(-4px); border-color: #bfd7d1; box-shadow: var(--shadow-md); }
.route-card--wide { grid-row: span 2; min-height: 458px; display: grid; grid-template-rows: auto 1fr; overflow: hidden; padding-bottom: 0; }
.route-card--wide img { width: calc(100% + 56px); max-width: none; height: 235px; margin: 24px -28px 0; object-fit: cover; align-self: end; }
.route-kicker { display: inline-block; color: var(--brand-strong); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.route-card h3 { margin: 8px 0 8px; color: var(--ink); font-size: 25px; line-height: 1.2; }
.route-card p { margin: 0; color: var(--muted); }

.topic-search { margin: 0 0 28px; padding: 22px; border-radius: 20px; background: rgba(255,255,255,.72); border: 1px solid rgba(47,143,131,.12); }
.topic-search label { display: block; margin-bottom: 8px; color: var(--ink); font-weight: 760; }
.search-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.search-row input { min-width: 0; height: 50px; padding: 0 15px; border: 1px solid #c9dad5; border-radius: 13px; background: #fff; color: var(--text); outline: none; }
.search-row input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(47,143,131,.12); }
.search-status, .filter-hint { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.filter-hint { grid-column: 1 / -1; }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.topic-card { overflow: hidden; min-width: 0; background: #fff; border: 1px solid rgba(36,51,49,.08); border-radius: 22px; box-shadow: 0 10px 28px rgba(36,51,49,.05); }
.topic-card__media { position: relative; aspect-ratio: 3 / 2; background: #dfeae7; overflow: hidden; }
.topic-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease), opacity .25s ease; }
.topic-card:hover .topic-card__media img { transform: scale(1.025); }
.topic-card__body { padding: 22px; }
.topic-card__body h3 { margin: 0; color: var(--ink); font-size: 21px; line-height: 1.28; }
.topic-card__body > p:not(.eyebrow) { margin: 12px 0 0; color: #5d6b68; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; padding: 0; margin: 18px 0 0; }
.tag-list li { padding: 5px 10px; background: var(--surface); color: #52615e; border-radius: 999px; font-size: 12px; font-weight: 650; }
.empty-state { padding: 46px; text-align: center; border: 1px dashed #b8d2cb; border-radius: 24px; background: rgba(255,255,255,.6); }
.empty-state h3 { margin: 0; color: var(--ink); font-size: 24px; }
.empty-state p { color: var(--muted); }

.editorial-layout { display: grid; grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr); gap: clamp(50px, 9vw, 120px); align-items: start; }
.editorial-sticky { position: sticky; top: calc(var(--header-h) + 28px); }
.editorial-list { border-top: 1px solid var(--line); }
.editorial-item { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.editorial-item > span { color: var(--apricot); font-weight: 850; font-size: 30px; line-height: 1; }
.editorial-item h3 { margin: 0; color: var(--ink); font-size: 23px; }
.editorial-item p { margin: 9px 0 0; color: var(--muted); }

.visual-break { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); gap: clamp(40px, 7vw, 86px); align-items: center; }
.visual-break--reverse .visual-break__media { order: 2; }
.visual-break__media { min-width: 0; }
.visual-break__media img { width: 100%; max-height: 610px; object-fit: cover; border-radius: 30px; box-shadow: var(--shadow-md); }
.visual-break__copy { max-width: 560px; }
.text-link { display: inline-flex; gap: 8px; margin-top: 22px; color: var(--brand-strong); font-weight: 780; text-decoration: none; border-bottom: 1px solid currentColor; }
.text-link span { transition: transform .18s ease; }
.text-link:hover span { transform: translateX(4px); }
.check-list { list-style: none; padding: 0; margin: 22px 0 0; }
.check-list li { position: relative; padding: 8px 0 8px 29px; color: #52605e; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 8px; color: var(--brand); font-weight: 900; }

.device-panel { display: grid; grid-template-columns: 1fr minmax(320px, .8fr); gap: 56px; align-items: center; }
.device-panel h2 { color: #fff; }
.device-panel p:not(.eyebrow) { color: #b9c9c5; font-size: 17px; }
.device-panel img { width: 100%; border-radius: 26px; object-fit: cover; max-height: 450px; }
.device-panel--compact img { max-height: 360px; }
.section--dark .eyebrow { color: #79cbbf; }

.faq-layout { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr); gap: clamp(44px, 8vw, 100px); align-items: start; }
.faq-layout .section-heading { position: sticky; top: calc(var(--header-h) + 30px); margin: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; border: 0; background: transparent; text-align: left; cursor: pointer; color: var(--ink); font-weight: 760; font-size: 18px; }
.faq-icon { flex: 0 0 34px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--surface); color: var(--brand-strong); font-size: 22px; }
.faq-answer { padding: 0 54px 22px 0; }
.faq-answer p { margin: 0; color: var(--muted); }

.page-top { padding-top: 24px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; font-size: 13px; color: var(--muted); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: #aab5b2; }
.breadcrumb a { color: var(--brand-strong); text-decoration: none; }
.inner-hero { padding: 44px 0 76px; }
.inner-hero__grid { min-height: 520px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr); gap: clamp(42px, 7vw, 86px); align-items: center; }
.inner-hero__media { position: relative; }
.inner-hero__media::before { content: ""; position: absolute; inset: 9% -7% -7% 12%; border-radius: 36px; z-index: -1; background: var(--brand-soft); }
.inner-hero__media img { width: 100%; height: 500px; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-md); }
.inner-hero--web { background: radial-gradient(circle at 90% 10%, rgba(242,179,111,.22), transparent 26%); }
.inner-hero--desktop { background: linear-gradient(180deg, #fbfcfb 0%, #f4f8f6 100%); }
.inner-hero--app { background: radial-gradient(circle at 85% 15%, rgba(233,107,76,.10), transparent 24%), #fbfcfb; }
.inner-hero__media--frame::after { content: ""; position: absolute; left: 9%; right: 9%; bottom: -19px; height: 18px; background: #cad7d3; border-radius: 0 0 40px 40px; box-shadow: 0 16px 24px rgba(36,51,49,.12); }

.step-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.step-card { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.step-card > span { display: inline-block; color: var(--accent); font-size: 13px; font-weight: 900; letter-spacing: .1em; }
.step-card h3 { margin: 36px 0 8px; color: var(--ink); font-size: 20px; line-height: 1.28; }
.step-card p { margin: 0; color: var(--muted); font-size: 15px; }

.split-info { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(48px, 9vw, 110px); align-items: start; }
.split-info dl { margin: 0; }
.info-rows { border-top: 1px solid #cbdcd7; }
.info-row { display: grid; grid-template-columns: 145px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid #cbdcd7; }
.info-row dt { color: var(--ink); font-weight: 780; }
.info-row dd { margin: 0; color: var(--muted); }
.prose-callout { margin-top: 24px; padding: 20px; border-radius: 18px; background: #fff; border-left: 4px solid var(--apricot); }
.prose-callout strong { color: var(--ink); }
.prose-callout p { margin: 6px 0 0; color: var(--muted); }
.split-info--image { grid-template-columns: minmax(0,.9fr) minmax(320px,.75fr); align-items: center; }
.split-info--image img { width: 100%; border-radius: 28px; max-height: 520px; object-fit: cover; box-shadow: var(--shadow-sm); }

.trio-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.trio-grid article { padding: 28px; border-top: 4px solid var(--brand); background: #fff; box-shadow: var(--shadow-sm); border-radius: 0 0 20px 20px; }
.metric { color: var(--apricot); font-size: 14px; font-weight: 900; letter-spacing: .14em; }
.trio-grid h2 { margin: 28px 0 8px; color: var(--ink); font-size: 24px; }
.trio-grid p { margin: 0; color: var(--muted); }

.desktop-guide-list { display: grid; gap: 16px; }
.desktop-guide-item { display: grid; grid-template-columns: 84px 1fr; gap: 26px; padding: 30px; background: #fff; border: 1px solid rgba(36,51,49,.08); border-radius: 22px; }
.desktop-guide-number { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; background: var(--brand-soft); color: var(--brand-strong); font-weight: 900; }
.desktop-guide-item h3 { margin: 0; color: var(--ink); font-size: 23px; }
.desktop-guide-item p { margin: 8px 0 12px; color: var(--muted); }
.desktop-guide-item ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.desktop-guide-item li { padding: 5px 10px; background: #f5f8f7; border-radius: 999px; color: #5d6a67; font-size: 13px; }
.note-stack { display: grid; gap: 10px; margin-top: 24px; }
.note-stack > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.note-stack strong { color: var(--ink); }
.note-stack span { color: var(--muted); }

.safety-strip { display: grid; grid-template-columns: 1fr minmax(260px,.55fr); gap: 56px; align-items: center; padding: 34px; border-radius: 28px; background: #fff; box-shadow: var(--shadow-sm); }
.safety-strip img { width: 100%; max-height: 320px; object-fit: cover; border-radius: 20px; }
.guide-masonry { columns: 2; column-gap: 18px; }
.guide-card { break-inside: avoid; margin: 0 0 18px; padding: 28px; border-radius: 22px; background: #fff; border: 1px solid rgba(36,51,49,.08); box-shadow: 0 10px 26px rgba(36,51,49,.04); }
.guide-card > span { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); font-weight: 900; }
.guide-card h3 { margin: 20px 0 8px; color: var(--ink); font-size: 22px; }
.guide-card p { margin: 0; color: var(--muted); }

.accent-panel { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.accent-panel h2 { max-width: 760px; }
.accent-panel p:not(.eyebrow) { max-width: 720px; color: #5b4938; }
.accent-panel .eyebrow { color: #75472f; }

.error-page { padding: 88px 0 110px; min-height: 70vh; display: grid; align-items: center; }
.error-grid { display: grid; grid-template-columns: 1fr .7fr; gap: 60px; align-items: center; }
.error-page p:not(.eyebrow) { max-width: 620px; color: var(--muted); font-size: 18px; }
.error-grid img { border-radius: 28px; box-shadow: var(--shadow-md); }

.site-footer { padding: 64px 0 26px; background: #1d2a28; color: #c9d5d2; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr .9fr; gap: 56px; }
.footer-brand { color: #fff; font-size: 26px; font-weight: 850; text-decoration: none; }
.footer-intro p, .footer-note p { max-width: 420px; color: #9fb1ad; }
.footer-nav h2, .footer-note h2 { margin: 0 0 14px; color: #fff; font-size: 15px; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-nav a { color: #c9d5d2; text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: #8fa39f; font-size: 13px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #c9d5d2; }

.reveal-ready { opacity: 0; transform: translateY(12px); }
.reveal-ready.is-revealed { opacity: 1; transform: translateY(0); transition: opacity .48s ease var(--reveal-delay,0ms), transform .48s var(--ease) var(--reveal-delay,0ms); }
.hash-target { animation: hashPulse 1.5s ease; }
@keyframes hashPulse { 0%,100% { box-shadow: none; } 35% { box-shadow: 0 0 0 5px rgba(47,143,131,.16); } }
.image-error { background: linear-gradient(135deg, #dce9e5, #edf4f2); }
.image-error img { opacity: .35; }

@media (max-width: 1050px) {
  .hero-grid, .inner-hero__grid { grid-template-columns: 1fr 420px; gap: 42px; }
  .hero h1 { font-size: clamp(40px, 5.4vw, 58px); }
  .hero-visual { min-height: 460px; }
  .hero-visual img { height: 440px; }
  .topic-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .step-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .device-panel { gap: 36px; }
}

@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .hero { padding-top: 44px; }
  .hero-grid, .inner-hero__grid, .visual-break, .split-info, .split-info--image, .device-panel, .safety-strip, .error-grid { grid-template-columns: 1fr; }
  .hero-copy, .visual-break__copy { max-width: none; }
  .hero-visual { min-height: 420px; max-width: 640px; margin-inline: auto; width: 100%; }
  .hero-visual img { height: 400px; }
  .inner-hero__media { max-width: 700px; width: 100%; }
  .inner-hero__media img { height: 440px; }
  .section-heading--split { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .route-grid { grid-template-columns: 1fr 1fr; }
  .route-card--wide { grid-column: 1 / -1; grid-row: auto; min-height: 390px; }
  .editorial-layout, .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .editorial-sticky, .faq-layout .section-heading { position: static; }
  .visual-break--reverse .visual-break__media { order: 0; }
  .device-panel img { max-width: 700px; }
  .accent-panel { align-items: flex-start; flex-direction: column; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-intro { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .site-header { backdrop-filter: blur(14px); }
  .header-shell { min-height: 68px; }
  .brand-mark { width: 42px; height: 42px; border-radius: 14px; }
  .brand-copy small { display: none; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .primary-nav { position: absolute; top: calc(100% + 8px); left: 16px; right: 16px; display: grid; gap: 6px; padding: 10px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.98); box-shadow: var(--shadow-md); transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
  .primary-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
  .nav-link { min-height: 46px; border-radius: 12px; }
  .nav-link.is-active { background: var(--surface); color: var(--brand-strong); }
  body.menu-open { overflow: hidden; }
  .hero h1, .inner-hero h1 { font-size: clamp(36px, 11vw, 52px); }
  .hero-lede { font-size: 17px; }
  .hero-float { width: 190px; }
  .hero-float--top { right: 1%; }
  .hero-float--bottom { left: 1%; }
  .section { padding: 66px 0; }
  .section--tight { padding: 50px 0; }
  .section-heading h2, .editorial-sticky h2, .visual-break__copy h2, .split-info h2, .device-panel h2, .accent-panel h2, .safety-strip h2 { font-size: clamp(28px, 8vw, 40px); }
  .topic-grid, .trio-grid { grid-template-columns: 1fr; }
  .route-grid { grid-template-columns: 1fr; }
  .route-card--wide { grid-column: auto; min-height: 360px; }
  .step-grid { grid-template-columns: 1fr; }
  .step-card h3 { margin-top: 22px; }
  .guide-masonry { columns: 1; }
  .desktop-guide-item { grid-template-columns: 1fr; }
  .desktop-guide-number { width: 54px; height: 54px; }
  .info-row { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-intro { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
  .shell { width: min(calc(100% - 24px), var(--shell)); }
  .hero { padding-top: 34px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .hero-points { display: grid; gap: 8px; }
  .hero-visual { min-height: 350px; }
  .hero-visual img { height: 340px; border-radius: 24px; }
  .hero-float { width: 170px; padding: 11px 12px; }
  .hero-float strong { font-size: 13px; }
  .route-card, .topic-card__body, .guide-card { padding: 22px; }
  .route-card--wide { padding-bottom: 0; }
  .route-card--wide img { width: calc(100% + 44px); margin-left: -22px; margin-right: -22px; }
  .topic-search { padding: 16px; }
  .search-row { grid-template-columns: 1fr; }
  .editorial-item { grid-template-columns: 46px 1fr; gap: 14px; }
  .editorial-item > span { font-size: 22px; }
  .inner-hero { padding-top: 30px; }
  .inner-hero__grid { min-height: 0; }
  .inner-hero__media img { height: 360px; border-radius: 22px; }
  .faq-question { font-size: 16px; gap: 14px; }
  .faq-answer { padding-right: 0; }
  .desktop-guide-item { padding: 22px; }
  .note-stack > div { grid-template-columns: 1fr; gap: 3px; }
  .safety-strip { padding: 22px; gap: 26px; }
  .error-page { padding: 60px 0 80px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal-ready { opacity: 1; transform: none; }
}


/* Content-safe utility layer used by editorial PHP templates. */
.prose { max-width: var(--reading); }
.prose > *:first-child { margin-top: 0; }
.prose > *:last-child { margin-bottom: 0; }
.prose h2 { margin: 2.2em 0 .7em; color: var(--ink); font-size: 30px; line-height: 1.22; }
.prose h3 { margin: 1.8em 0 .6em; color: var(--ink); font-size: 23px; line-height: 1.3; }
.prose p, .prose li { color: #52615e; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose a { color: var(--brand-strong); font-weight: 700; }
.surface-card { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.soft-card { padding: 24px; border-radius: 20px; background: var(--surface); }
.accent-card { padding: 24px; border-radius: 20px; background: var(--accent-soft); border: 1px solid rgba(233,107,76,.16); }
.inline-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--muted); font-size: 13px; }
.inline-meta span { display: inline-flex; align-items: center; gap: 6px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 36px 0; }
.reading-narrow { max-width: 680px; }
.reading-wide { max-width: 860px; }
.text-muted { color: var(--muted); }
.text-brand { color: var(--brand-strong); }
.text-accent { color: var(--accent); }
.stack-8 > * + * { margin-top: 8px; }
.stack-12 > * + * { margin-top: 12px; }
.stack-16 > * + * { margin-top: 16px; }
.stack-24 > * + * { margin-top: 24px; }
.stack-32 > * + * { margin-top: 32px; }
.cluster { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.grid-2 { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 20px; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
@media (max-width: 760px) { .grid-2,.grid-3 { grid-template-columns: 1fr; } }

/* Extended responsive and accessibility states for production deployment. */
@media (hover: hover) and (pointer: fine) {
  .brand-lockup:hover .brand-mark { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(47,143,131,.16); }
  .brand-mark { transition: transform .18s var(--ease), box-shadow .18s ease; }
  .topic-card { transition: transform .22s var(--ease), box-shadow .22s ease, border-color .22s ease; }
  .topic-card:hover { transform: translateY(-4px); border-color: #c2d9d3; box-shadow: var(--shadow-md); }
  .step-card { transition: transform .2s var(--ease), border-color .2s ease, box-shadow .2s ease; }
  .step-card:hover { transform: translateY(-3px); border-color: #bfd7d0; box-shadow: var(--shadow-sm); }
  .guide-card { transition: transform .2s var(--ease), box-shadow .2s ease; }
  .guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
  .desktop-guide-item { transition: border-color .2s ease, transform .2s var(--ease); }
  .desktop-guide-item:hover { border-color: #bed5cf; transform: translateX(3px); }
}

@media (pointer: coarse) {
  .nav-link { min-height: 48px; }
  .faq-question { min-height: 58px; }
  .button { min-height: 50px; }
  .footer-nav a { display: inline-flex; min-height: 40px; align-items: center; }
  .breadcrumb a { display: inline-flex; min-height: 34px; align-items: center; }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #4e5a57;
    --line: #98aaa5;
    --brand-strong: #155f56;
  }
  .site-header { background: #fff; backdrop-filter: none; }
  .nav-link, .button, .topic-card, .route-card, .step-card, .guide-card, .desktop-guide-item { border-width: 2px; }
  .button--primary { box-shadow: none; }
  .eyebrow { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
  .tag-list li { border: 1px solid #819690; }
}

@media (forced-colors: active) {
  .site-header, .topic-card, .route-card, .step-card, .guide-card, .desktop-guide-item, .safety-strip, .prose-callout { forced-color-adjust: auto; }
  .nav-link.is-active, .button--primary, .button--dark, .button--light { border: 1px solid ButtonText; }
  .hero-float, .tag-list li, .faq-icon { border: 1px solid CanvasText; }
  .hero-visual::before, .inner-hero__media::before { display: none; }
}

@media (orientation: landscape) and (max-height: 620px) and (max-width: 900px) {
  .site-header { position: relative; }
  .hero { padding-top: 28px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; }
  .hero-visual { min-height: 320px; }
  .hero-visual img { height: 300px; }
  .hero-float { display: none; }
  .inner-hero__grid { grid-template-columns: 1.1fr .9fr; min-height: 0; }
  .inner-hero__media img { height: 300px; }
}

@media (min-width: 1400px) {
  :root { --shell: 1240px; }
  .hero-grid { gap: 96px; }
  .hero-visual img { width: 570px; height: 530px; }
  .topic-grid { gap: 24px; }
  .topic-card__body { padding: 24px; }
}

@media (min-width: 1800px) {
  :root { --shell: 1320px; }
  body { font-size: 17px; }
  .hero { padding-top: 76px; padding-bottom: 72px; }
  .section { padding-block: 96px; }
  .topic-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .topic-card__body h3 { font-size: 22px; }
}

@media print {
  @page { margin: 14mm 16mm; }
  :root { --paper: #fff; --text: #111; --ink: #000; --muted: #333; --line: #bbb; }
  html { scroll-behavior: auto; }
  body { background: #fff; color: #111; font-family: Arial, "Microsoft YaHei", sans-serif; font-size: 11pt; line-height: 1.55; }
  .site-header, .site-footer, .menu-toggle, .hero-actions, .topic-search, .button, .skip-link, .hero-float, [data-back-to-top] { display: none !important; }
  main { overflow: visible; }
  .shell { width: 100%; max-width: none; }
  .hero, .inner-hero, .section, .section--tight { padding: 10mm 0; background: transparent !important; color: #111 !important; }
  .hero-grid, .inner-hero__grid, .visual-break, .split-info, .device-panel, .faq-layout, .editorial-layout, .error-grid, .safety-strip { display: block; }
  .hero h1, .inner-hero h1, .section-heading h2, .visual-break__copy h2, .split-info h2, .device-panel h2, .accent-panel h2 { color: #000 !important; page-break-after: avoid; }
  .hero-visual, .inner-hero__media, .visual-break__media, .device-panel img, .split-info--image img, .safety-strip img { max-width: 120mm; margin: 8mm auto; }
  .hero-visual img, .inner-hero__media img, .visual-break__media img { height: auto; box-shadow: none; }
  .hero-visual::before, .inner-hero__media::before, .inner-hero__media--frame::after { display: none; }
  .topic-grid, .step-grid, .trio-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 6mm; }
  .topic-card, .route-card, .step-card, .guide-card, .desktop-guide-item { break-inside: avoid; box-shadow: none; border: 1px solid #bbb; }
  .topic-card__media { max-height: 45mm; }
  .topic-card__media img { max-height: 45mm; object-fit: cover; }
  .route-grid { display: block; }
  .route-card { display: block; margin-bottom: 5mm; min-height: 0; }
  .route-card--wide img { width: 100%; margin: 5mm 0 0; height: auto; }
  .editorial-sticky, .faq-layout .section-heading { position: static; }
  .faq-answer[hidden] { display: block !important; }
  .faq-icon { display: none; }
  .faq-question { padding: 3mm 0; }
  .faq-answer { padding: 0 0 4mm; }
  .section--dark { background: #fff !important; color: #111 !important; }
  .section--dark .eyebrow, .device-panel p:not(.eyebrow), .device-panel h2 { color: #111 !important; }
  .section--accent { background: #fff !important; }
  a { color: #000; text-decoration: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; color: #444; overflow-wrap: anywhere; }
  .brand-lockup::after, .breadcrumb a::after { content: none !important; }
  .reveal-ready { opacity: 1 !important; transform: none !important; }
}

/* Detailed image states keep layout stable while the separate resource pack loads. */
.hero-visual, .topic-card__media, .inner-hero__media, .visual-break__media { background-color: #dfeae7; }
.hero-visual img, .topic-card__media img, .inner-hero__media img, .visual-break__media img { opacity: .985; }
.image-loaded img { opacity: 1; }
.image-error { position: relative; min-height: 180px; }
.image-error::after { content: "图片资源将在部署后显示"; position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: #687873; font-size: 13px; }
.image-error img { visibility: hidden; }

/* Form controls use native semantics while matching the visual system. */
input[type="search"] { appearance: none; -webkit-appearance: none; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
input::placeholder { color: #91a09c; opacity: 1; }
button:disabled, input:disabled { cursor: not-allowed; opacity: .6; }

/* Robust wrapping for Chinese/Latin mixed SEO copy and long URLs. */
h1, h2, h3, p, li, dd, dt, a, span { overflow-wrap: break-word; }
.prose, .hero-copy, .visual-break__copy, .section-heading { word-break: normal; }
code, pre { overflow-wrap: normal; word-break: normal; }

/* Stable states for no-JS browsing: primary navigation remains visible on desktop and content remains expanded by default where HTML permits. */
html:not(.js) .primary-nav { visibility: visible; opacity: 1; pointer-events: auto; transform: none; }
html:not(.js) .reveal-ready { opacity: 1; transform: none; }
html:not(.js) .filter-hint { display: none; }

/* Fine-grained spacing adaptations for short and long Chinese text. */
.topic-card__body h3 + p { margin-top: 10px; }
.topic-card__body .eyebrow + h3 { margin-top: 0; }
.section-heading .eyebrow + h2 { margin-top: 0; }
.hero-copy .eyebrow + h1, .inner-hero .eyebrow + h1 { margin-top: 0; }
.route-card .route-kicker + h3 { margin-top: 8px; }
.faq-answer p + p { margin-top: 10px; }
.check-list li + li { margin-top: 2px; }

/* Horizontal overflow guards for embedded or unexpectedly long content. */
main, header, footer, section, article, nav, aside, div { min-width: 0; }
pre, table { max-width: 100%; overflow-x: auto; }
table { border-collapse: collapse; width: 100%; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--ink); background: var(--surface); }

/* Browser autofill and high zoom considerations. */
input:-webkit-autofill { -webkit-text-fill-color: var(--text); box-shadow: 0 0 0 1000px #fff inset; transition: background-color 9999s ease-out; }
@media (max-width: 420px) {
  .brand-copy strong { font-size: 16px; }
  .hero h1, .inner-hero h1 { font-size: 34px; }
  .hero-lede { font-size: 16px; }
  .hero-visual { min-height: 310px; }
  .hero-visual img { height: 300px; }
  .hero-float { display: none; }
  .section { padding: 56px 0; }
  .topic-card__body h3 { font-size: 20px; }
  .route-card h3 { font-size: 22px; }
  .editorial-item { grid-template-columns: 1fr; }
  .editorial-item > span { margin-bottom: -4px; }
  .inner-hero__media img { height: 310px; }
  .desktop-guide-item, .guide-card, .safety-strip { border-radius: 18px; }
}

/* Additional layout resilience for intermediate tablet widths and text zoom. */
@media (min-width: 761px) and (max-width: 980px) {
  .primary-nav { gap: 3px; }
  .nav-link { padding-inline: 11px; font-size: 14px; }
  .brand-copy small { max-width: 150px; overflow: hidden; text-overflow: ellipsis; }
  .topic-grid { gap: 16px; }
  .topic-card__body { padding: 20px; }
  .route-card { padding: 24px; }
  .route-card--wide img { width: calc(100% + 48px); margin-inline: -24px; }
  .editorial-layout { gap: 52px; }
  .faq-layout { gap: 46px; }
}

@media (min-width: 981px) and (max-width: 1180px) {
  .shell { width: min(calc(100% - 48px), var(--shell)); }
  .hero-grid { gap: 56px; }
  .hero-float--top { right: 0; }
  .hero-float--bottom { left: 0; }
  .section-heading--split { gap: 38px; }
  .faq-layout { gap: 64px; }
}

/* Semantic list and quote presentation for longer editorial copy. */
.prose blockquote { margin: 1.6em 0; padding: 16px 20px; border-left: 4px solid var(--apricot); background: #fffaf5; color: #4e5a57; }
.prose blockquote p { margin: 0; }
.prose figure { margin: 28px 0; }
.prose figcaption { margin-top: 8px; color: var(--muted); font-size: 13px; text-align: center; }
.prose mark { background: #fff1c9; color: var(--ink); padding: .05em .18em; border-radius: 3px; }
.prose kbd { display: inline-block; min-width: 1.8em; padding: .12em .42em; border: 1px solid #b8c5c1; border-bottom-width: 2px; border-radius: 6px; background: #fff; color: var(--ink); font: 700 .86em ui-monospace, SFMono-Regular, Consolas, monospace; text-align: center; }
.prose code { padding: .1em .35em; border-radius: 5px; background: var(--surface); color: #355650; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .92em; }
.prose pre { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #f6f9f8; }
.prose pre code { padding: 0; background: transparent; }

/* Reusable media rows for future editorial expansion without framework dependencies. */
.media-row { display: grid; grid-template-columns: 180px 1fr; gap: 22px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.media-row__image { aspect-ratio: 4/3; overflow: hidden; border-radius: 16px; background: var(--surface); }
.media-row__image img { width: 100%; height: 100%; object-fit: cover; }
.media-row__content h3 { margin: 0; color: var(--ink); font-size: 20px; }
.media-row__content p { margin: 7px 0 0; color: var(--muted); }
@media (max-width: 560px) {
  .media-row { grid-template-columns: 1fr; }
  .media-row__image { max-height: 240px; }
}

/* Status badges and neutral notices avoid using fabricated metrics. */
.status-badge { display: inline-flex; align-items: center; min-height: 28px; padding: 3px 9px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-strong); font-size: 12px; font-weight: 800; }
.status-badge--warm { background: #fff1df; color: #8b5a25; }
.status-badge--accent { background: var(--accent-soft); color: #a84731; }
.notice { display: grid; grid-template-columns: 4px 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.notice::before { content: ""; background: var(--brand); }
.notice__body { padding: 16px 18px; }
.notice__body strong { display: block; color: var(--ink); }
.notice__body p { margin: 4px 0 0; color: var(--muted); }
.notice--warm::before { background: var(--apricot); }
.notice--alert::before { background: var(--accent); }

/* Pagination and index controls are ready for server-rendered content growth. */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; padding: 0; margin: 36px 0 0; list-style: none; }
.pagination a, .pagination span { min-width: 42px; min-height: 42px; display: inline-grid; place-items: center; padding: 0 10px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; }
.pagination a:hover { border-color: var(--brand); color: var(--brand-strong); }
.pagination [aria-current="page"] { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Definition lists and compact comparison blocks. */
.definition-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--line); }
.definition-grid > div { padding: 20px; background: #fff; }
.definition-grid dt { color: var(--muted); font-size: 13px; font-weight: 700; }
.definition-grid dd { margin: 6px 0 0; color: var(--ink); font-weight: 720; }
@media (max-width: 620px) { .definition-grid { grid-template-columns: 1fr; } }

/* Explicit focus treatment for complex cards that become linked containers. */
.route-card:focus-visible, .text-link:focus-visible, .footer-nav a:focus-visible, .breadcrumb a:focus-visible { outline: 3px solid rgba(233,107,76,.72); outline-offset: 4px; }
.topic-card:focus-within, .guide-card:focus-within, .desktop-guide-item:focus-within { box-shadow: 0 0 0 4px rgba(47,143,131,.13); }

/* Selection and caret colors remain legible against warm/green surfaces. */
input, textarea { caret-color: var(--accent); }
.section--dark ::selection { background: rgba(242,179,111,.45); color: #fff; }
.section--accent ::selection { background: rgba(36,51,49,.24); color: var(--ink); }

/* Prevent accidental overlap when browser text size is substantially increased. */
@supports (text-wrap: balance) {
  h1, h2 { text-wrap: balance; }
  .hero-lede, .section-heading p { text-wrap: pretty; }
}
@supports (overflow-wrap: anywhere) {
  .footer-bottom, .breadcrumb, .inline-meta { overflow-wrap: anywhere; }
}
