:root {
  --ink: #102a2a;
  --ink-soft: #385052;
  --brand: #0d4d4a;
  --brand-deep: #073a39;
  --brand-pale: #e8f1ef;
  --warm: #c9784a;
  --warm-pale: #fbefe7;
  --paper: #ffffff;
  --canvas: #f5f7f5;
  --line: #dbe4e1;
  --danger: #9b3f36;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 16px 45px rgba(15, 55, 54, .09);
  --space-1: .5rem;
  --space-2: .75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;
  --space-7: 4.5rem;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, .button { -webkit-tap-highlight-color: transparent; }
:where(a, button, input, select, textarea, summary, [tabindex]:not([tabindex="-1"])):focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 2px var(--paper); scroll-margin: .5rem; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 999; background: var(--paper); padding: .7rem 1rem; border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { top: 1rem; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 860px); margin-inline: auto; }
.eyebrow { margin: 0 0 .8rem; color: var(--warm); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.muted { color: var(--ink-soft); }
.kicker { display: inline-flex; gap: .45rem; align-items: center; padding: .35rem .72rem; border: 1px solid rgba(201,120,74,.35); border-radius: 999px; background: var(--warm-pale); color: #7a4228; font-size: .78rem; font-weight: 750; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(219,228,225,.85); background: rgba(255,255,255,.95); backdrop-filter: blur(14px); }
.nav-shell { display: flex; min-height: 72px; gap: 1.5rem; align-items: center; justify-content: space-between; }
.brand { display: flex; gap: .75rem; align-items: center; flex: 0 1 290px; font-weight: 850; line-height: 1.25; }
.brand-mark { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 13px 13px 13px 4px; background: var(--brand); position: relative; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; background: var(--paper); opacity: .95; }
.brand-mark::before { width: 17px; height: 2px; left: 10px; top: 17px; }
.brand-mark::after { width: 2px; height: 17px; left: 17px; top: 10px; }
.brand small { display: block; color: var(--ink-soft); font-size: .67rem; font-weight: 600; }
.nav-list { list-style: none; display: flex; flex-wrap: wrap; gap: .15rem; align-items: center; justify-content: flex-end; padding: 0; margin: 0; }
.nav-list a { display: block; padding: .55rem .72rem; border-radius: 8px; color: var(--ink-soft); font-size: .9rem; font-weight: 700; white-space: nowrap; }
.nav-list a:hover, .nav-list a[aria-current="page"] { background: var(--brand-pale); color: var(--brand); }
.nav-list .nav-cta { background: var(--brand); color: white; }
.nav-list .nav-cta:hover, .nav-list .nav-cta[aria-current="page"] { background: var(--brand-deep); color: white; }

.hero { padding: 4.8rem 0 4.2rem; background: radial-gradient(circle at 85% 15%, rgba(201,120,74,.12), transparent 28%), linear-gradient(145deg, #f8fbfa 0%, #edf4f2 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, .55fr); gap: 4.5rem; align-items: center; }
.hero h1, .page-hero h1 { max-width: 820px; margin: .9rem 0 1.25rem; font-size: clamp(2.2rem, 4.5vw, 4.35rem); line-height: 1.08; letter-spacing: -.045em; }
.home-page .hero h1 { text-align: left; text-wrap: wrap; word-spacing: normal; }
.home-page .hero-title-line { display: contents; }
.home-page .keep-together { white-space: nowrap; }
.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3.65rem); }
.hero-lead, .page-lead { max-width: 790px; margin: 0 0 1.8rem; color: var(--ink-soft); font-size: clamp(1rem, 1.5vw, 1.18rem); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.button { display: inline-flex; min-height: 46px; justify-content: center; align-items: center; gap: .45rem; padding: .7rem 1.05rem; border: 1px solid transparent; border-radius: 10px; font-weight: 800; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--brand); color: white; }
.button-primary:hover { background: var(--brand-deep); }
.button-secondary { border-color: var(--brand); background: transparent; color: var(--brand); }
.button-secondary:hover { background: var(--brand-pale); }
.button-quiet { border-color: var(--line); background: white; color: var(--ink); }
.text-link { color: var(--brand); font-weight: 800; text-decoration: underline; text-decoration-color: rgba(13,77,74,.25); text-underline-offset: 4px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-top: 1.1rem; }
.hero-note { margin-top: 1.5rem; display: flex; gap: .65rem; align-items: flex-start; color: var(--ink-soft); font-size: .9rem; }
.hero-note::before { content: "i"; display: grid; width: 22px; height: 22px; flex: 0 0 22px; place-items: center; border-radius: 50%; background: var(--brand); color: white; font-size: .72rem; font-weight: 900; }

.contact-card { padding: 1.4rem; border: 1px solid rgba(13,77,74,.14); border-radius: var(--radius-lg); background: rgba(255,255,255,.86); box-shadow: var(--shadow); text-align: center; }
.contact-card img { width: min(230px, 100%); aspect-ratio: 1; margin: 0 auto 1rem; border-radius: 16px; border: 1px solid var(--line); }
.contact-card strong { display: block; font-size: 1.08rem; }
.contact-card p { margin: .35rem 0 1rem; color: var(--ink-soft); font-size: .88rem; }
.contact-card__wechat { margin: .35rem 0; font-weight: 800; user-select: all; }
.contact-card__status { margin: .75rem 0 0; font-size: .88rem; font-weight: 800; }
.contact-card [data-contact-copy-trigger] { min-inline-size: 8em; }

.page-hero { padding: 4rem 0 3.6rem; background: linear-gradient(135deg, #f7faf9, #edf4f2); border-bottom: 1px solid var(--line); }
.page-hero .page-meta { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.5rem; }
.page-meta span { padding: .32rem .65rem; border-radius: 999px; background: white; border: 1px solid var(--line); color: var(--ink-soft); font-size: .78rem; font-weight: 700; }

.section { padding: var(--space-7) 0; }
.section-alt { background: var(--canvas); }
.section-dark { background: var(--brand-deep); color: white; }
.section-dark .muted, .section-dark .section-head p { color: rgba(255,255,255,.76); }
.section-head { display: flex; gap: 2rem; align-items: end; justify-content: space-between; margin-bottom: 2rem; }
.section-head > div { max-width: 760px; }
.section-head h2 { margin: .15rem 0 .5rem; font-size: clamp(1.65rem, 3vw, 2.55rem); line-height: 1.18; letter-spacing: -.025em; }
.section-head p { margin: 0; color: var(--ink-soft); }
.section-index { color: var(--warm); font-size: .82rem; font-weight: 900; letter-spacing: .1em; }

.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { min-width: 0; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.card:hover { border-color: rgba(13,77,74,.3); }
.card h3 { margin: 0 0 .55rem; font-size: 1.12rem; line-height: 1.35; }
.card p { margin: 0; color: var(--ink-soft); }
.card .button, .card .text-link { margin-top: 1.15rem; }
.feature-card { padding: 2rem; border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.feature-card::after { content: attr(data-no); position: absolute; right: 1rem; bottom: -2.7rem; color: rgba(13,77,74,.065); font-size: 8rem; line-height: 1; font-weight: 900; }
.feature-card h3 { font-size: clamp(1.45rem, 2.2vw, 2rem); }
.feature-card p { max-width: 500px; }
.feature-card .tag-row { margin-top: 1rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.tag { display: inline-flex; padding: .3rem .55rem; border-radius: 999px; background: var(--brand-pale); color: var(--brand); font-size: .76rem; font-weight: 750; }
.scene-card { padding-top: 1.25rem; border-top: 3px solid var(--warm); }
.model-card { position: relative; padding-left: 4.5rem; }
.model-card .number { position: absolute; left: 1.35rem; top: 1.35rem; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--brand-pale); color: var(--brand); font-weight: 900; }

.case-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.case-list li { position: relative; padding-left: 1.35rem; color: var(--ink-soft); }
.case-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--warm); }
.check-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 2rem; }
.check-list li { break-inside: avoid; position: relative; padding: .45rem 0 .45rem 1.55rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 900; }
.number-list { list-style: none; padding: 0; margin: 0; counter-reset: steps; display: grid; gap: .85rem; }
.number-list li { counter-increment: steps; display: grid; grid-template-columns: 2.25rem 1fr; gap: .75rem; align-items: start; }
.number-list li::before { content: counter(steps, decimal-leading-zero); color: var(--warm); font-size: .78rem; font-weight: 900; padding-top: .18rem; }
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 3rem; align-items: start; }
.sticky-intro { position: sticky; top: 104px; }
.panel { padding: 1.75rem; border-radius: var(--radius); background: var(--brand-pale); }
.panel h3 { margin-top: 0; }
.notice { padding: 1rem 1.15rem; border-left: 4px solid var(--warm); background: var(--warm-pale); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: #653c28; }
.notice strong { color: var(--ink); }
.danger-notice { border-color: var(--danger); background: #fbefed; color: #713732; }
.safety-notice { margin-top: 1rem; }

.case-directory { display: grid; gap: 1rem; }
.directory-card { display: grid; grid-template-columns: 1fr 1.1fr auto; gap: 1.5rem; align-items: center; padding: 1.4rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.directory-card h3, .directory-card p { margin: 0; }
.directory-card p { color: var(--ink-soft); }

.process { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: .65rem; }
.process-step { padding: 1rem; border-radius: var(--radius-sm); background: white; border: 1px solid rgba(255,255,255,.15); color: var(--ink); }
.process-step b { display: block; color: var(--warm); font-size: .75rem; margin-bottom: .4rem; }
.process-step span { font-size: .88rem; line-height: 1.45; }

.faq-groups { display: grid; gap: 2.5rem; }
.faq-group h2 { margin-bottom: 1rem; }
details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: white; }
details + details { margin-top: .65rem; }
summary { padding: 1rem 1.15rem; cursor: pointer; font-weight: 800; }
details p { margin: 0; padding: 0 1.15rem 1.1rem; color: var(--ink-soft); }

.consult-layout { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(300px,.85fr); gap: 2rem; align-items: start; }
.form-card, .summary-card { padding: 1.7rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.field { min-width: 0; }
.field-full { grid-column: 1 / -1; }
label, legend { display: block; margin-bottom: .4rem; font-size: .88rem; font-weight: 800; }
input, select, textarea { width: 100%; border: 1px solid #cbd8d4; border-radius: 9px; background: white; color: var(--ink); padding: .7rem .75rem; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); }
fieldset { padding: 0; margin: 0; border: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: .55rem; }
.choice-row label { display: flex; align-items: center; gap: .4rem; margin: 0; padding: .45rem .65rem; border: 1px solid var(--line); border-radius: 8px; font-weight: 650; }
.choice-row input { width: auto; }
.form-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.4rem; }
.summary-card { position: sticky; top: 96px; background: var(--brand-pale); }
.summary-output { min-height: 260px; margin: 1rem 0; padding: 1rem; border: 1px dashed rgba(13,77,74,.35); border-radius: 10px; background: white; white-space: pre-wrap; color: var(--ink-soft); font-size: .88rem; }
.status { min-height: 1.4em; color: var(--brand); font-weight: 750; font-size: .85rem; }
.guided-step { display: block; margin-top: 1rem; padding: 1rem; border: 1px solid var(--line); }
.guided-step h3, .guided-step p { margin-top: 0; }
.guided-step [role="status"]:empty, #consultation-form-status:empty { display: none; }
.evidence-field { min-inline-size: 0; }
.materials-section { margin: 1rem 0; padding: 1rem; border: 1px solid var(--line); }
.materials-section h3 { margin: 0 0 .65rem; }
.materials-output { display: grid; gap: .55rem; margin: 0; padding-inline-start: 1.25rem; color: var(--ink-soft); font-size: .88rem; line-height: 1.65; list-style-position: outside; }
.materials-output li { padding-inline-start: .15rem; }
.materials-output strong { font-weight: 800; }
.materials-note { margin: .85rem 0 0; color: var(--ink-soft); font-size: .88rem; line-height: 1.65; }
.consultation-page .summary-output { min-height: 0; }
.consultation-page .summary-placeholder { margin: 1rem 0; color: var(--ink-soft); }
.consultation-page .guided-step { margin-top: .75rem; padding: .85rem; }
.consultation-page .guided-step h3 { margin: 0 0 .75rem; font-size: 1rem; line-height: 1.55; }
.consultation-page .guided-step p { margin: 0 0 .75rem; color: var(--ink-soft); font-size: .92rem; line-height: 1.6; }
.consultation-page #copy-button { min-inline-size: 11em; }
.consultation-page .page-hero { padding: 2.35rem 0 2rem; }
.consultation-page .page-hero h1 { max-inline-size: 760px; margin: .6rem 0 .75rem; font-size: clamp(2rem, 3.5vw, 3.2rem); line-height: 1.12; text-align: left; }
.consultation-page .consult-hero-title-line { display: contents; }
.consultation-page .keep-together { white-space: nowrap; }
.consultation-page .page-lead { margin-bottom: .9rem; }
.consultation-page .page-hero .notice { margin: 0; padding: .75rem .9rem; font-size: .92rem; line-height: 1.5; }
.consultation-page .page-hero + .section { padding-top: 2rem; }

.wechat-layout { display: grid; grid-template-columns: 320px 1fr; gap: 3.5rem; align-items: start; }
.qr-panel { padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: var(--shadow); text-align: center; }
.qr-panel img { width: min(250px,100%); margin: 0 auto 1rem; border-radius: 16px; }
.contact-lines { display: grid; gap: .4rem; margin-top: 1rem; }
.contact-lines span { color: var(--ink-soft); }

.cta-band { display: flex; gap: 2rem; align-items: center; justify-content: space-between; padding: 2rem; border-radius: var(--radius-lg); background: var(--brand); color: white; }
.cta-band h2 { margin: 0 0 .35rem; font-size: clamp(1.45rem,2.5vw,2.2rem); }
.cta-band p { margin: 0; color: rgba(255,255,255,.78); }
.cta-band .button { flex: 0 0 auto; background: white; color: var(--brand); }

.site-footer { background: #082f2f; color: white; padding: 3rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 2.5rem; }
.site-footer h2, .site-footer h3 { margin-top: 0; }
.site-footer p, .site-footer a { color: rgba(255,255,255,.72); }
.footer-links { display: grid; gap: .4rem; }
.compliance { margin: 2rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.65); font-size: .8rem; }
.mobile-bar { display: none; }

@media (max-width: 980px) {
  .hero-grid { gap: 2rem; }
  .grid-4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .grid-3 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .process { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .directory-card { grid-template-columns: 1fr 1fr; }
  .directory-card .button { grid-column: 1/-1; justify-self: start; }
  .consult-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
}

@media (min-width: 981px) {
  .home-page .hero-grid { grid-template-columns: minmax(0, 1.75fr) minmax(220px, .5fr); gap: 3rem; }
  .home-page .hero h1 { font-size: clamp(2.2rem, 3.9vw, 3.65rem); }
  .home-page .hero-title-line { display: block; white-space: nowrap; }
}

@media (min-width: 769px) {
  .consultation-page .consult-hero-title-line { display: block; white-space: nowrap; }
}

@media (min-width: 768px) and (max-width: 980px) {
  .home-page .hero h1 { font-size: clamp(2rem, 5.75vw, 2.6rem); }
}

@media (max-width: 768px) {
  .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .site-header { position: static; backdrop-filter: none; }
  .nav-shell { display: block; padding: .75rem 0 .65rem; }
  .brand { margin-bottom: .6rem; }
  .brand-mark { width: 32px; height: 32px; flex-basis: 32px; border-radius: 10px 10px 10px 3px; }
  .brand-mark::before { left: 8px; top: 15px; }
  .brand-mark::after { left: 15px; top: 8px; }
  .brand small { display: none; }
  .nav-shell > nav[aria-label="主导航"] { min-width: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; scroll-padding-inline-end: 2.5rem; -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 2rem), transparent 100%); mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 2rem), transparent 100%); }
  .nav-shell > nav[aria-label="主导航"]::-webkit-scrollbar { display: none; }
  .nav-list { width: max-content; min-width: 100%; flex-wrap: nowrap; justify-content: flex-start; gap: .15rem .05rem; padding-inline-end: 2.5rem; white-space: nowrap; }
  .nav-list li, .nav-list a { flex: 0 0 auto; }
  .nav-list::after { content: ""; flex: 0 0 2.5rem; }
  .nav-list a { padding: .38rem .46rem; font-size: .78rem; }
  .nav-list .nav-cta { background: transparent; color: var(--brand); }
  .hero, .page-hero { padding: 2.3rem 0 2.5rem; }
  .hero-grid, .split, .wechat-layout { grid-template-columns: 1fr; gap: 1.6rem; }
  .hero h1, .page-hero h1 { margin-top: .7rem; font-size: clamp(2rem, 10vw, 3rem); }
  .hero-lead, .page-lead { margin-bottom: 1.35rem; }
  .actions .button { flex: 1 1 160px; }
  .contact-card { width: min(100%, 360px); margin: 0 auto; padding: 1rem; }
  .contact-card img { width: min(180px,55vw); }
  .section { padding: 2.6rem 0; }
  .section-head { display: block; margin-bottom: 1.35rem; }
  .section-head .button, .section-head .text-link { margin-top: 1rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .card { padding: 1.2rem; }
  .feature-card { padding: 1.4rem; }
  .model-card { padding-left: 4rem; }
  .check-list { columns: 1; }
  .sticky-intro { position: static; }
  .process { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .directory-card { grid-template-columns: 1fr; gap: .75rem; }
  .directory-card .button { grid-column: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .choice-row label { min-height: 44px; }
  .wechat-layout { text-align: left; }
  .qr-panel { width: min(100%,330px); margin: 0 auto; }
  .qr-panel img { width: min(180px,55vw); }
  .cta-band { display: block; padding: 1.4rem; }
  .cta-band .button { margin-top: 1rem; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .mobile-bar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; padding: .55rem max(.7rem, env(safe-area-inset-left)); padding-bottom: calc(.55rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); }
  .mobile-bar .button { min-height: 45px; padding: .55rem; font-size: .88rem; }
  .consultation-page .page-hero { padding: .9rem 0 .75rem; }
  .consultation-page .page-hero h1 { margin: .45rem 0 .55rem; font-size: clamp(1.75rem, 7.7vw, 2.25rem); line-height: 1.14; }
  .consultation-page .page-lead { margin-bottom: .55rem; font-size: .95rem; }
  .consultation-page .page-hero .notice { padding: .6rem .7rem; font-size: .875rem; line-height: 1.5; }
  .consultation-page .page-hero + .section { padding-top: .45rem; }
  .consultation-page .form-card,
  .consultation-page .summary-card { min-width: 0; max-width: 100%; }
  .consultation-page .form-card { padding: 1.05rem; }
  .consultation-page .form-card > .notice { margin: .6rem 0; padding: .6rem .7rem; font-size: .82rem; line-height: 1.45; }
}

@media (max-width: 700px) {
  html { scroll-padding-bottom: var(--mobile-action-bar-reserve); }
  body { padding-bottom: var(--mobile-action-bar-reserve); }
  .nav-list a { display: inline-flex; align-items: center; min-height: 44px; }
  form,
  form input,
  form select,
  form textarea,
  form button,
  form .button { scroll-margin-bottom: var(--mobile-action-bar-reserve); }
}

@media (max-width: 340px) {
  .consultation-page .page-hero { padding-block: .55rem .6rem; }
  .consultation-page .page-hero + .section { padding-top: .25rem; }
}

@media (max-width: 768px) {
  .home-page .home-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .home-page .home-nav::-webkit-scrollbar { display: none; }
  .home-page .nav-list { width: max-content; min-width: 100%; flex-wrap: nowrap; justify-content: flex-start; white-space: nowrap; }
  .home-page .nav-list li,
  .home-page .nav-list a { flex: 0 0 auto; }
  .home-page .nav-list a { min-height: 44px; }
}

@media (max-width: 767px) {
  .home-page .hero .contact-card { display: none; }
  .home-page .hero-grid { gap: 0; }
  .home-page .hero h1 { font-size: clamp(1.875rem, 9vw, 2.25rem); }
  .home-page .home-nav { scroll-padding-inline-end: 2.5rem; }
  .home-page .hero .actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .home-page .hero .actions .button { min-width: 0; min-height: 44px; padding-inline: .5rem; white-space: nowrap; }
  .home-page .hero-links { display: block; margin-top: 1rem; text-align: center; white-space: nowrap; }
}

@media (max-width: 390px) {
  .nav-list a { font-size: .73rem; padding-inline: .37rem; }
  .process { grid-template-columns: 1fr; }
  .hero-links { gap: .65rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Content review edition: prose, service rows and in-page orientation. */
.content-edition .page-hero h1, .content-edition .hero h1 { line-height: 1.25; letter-spacing: -.025em; text-wrap: pretty; }
.content-edition .breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; padding-block: 1.1rem; font-size: .88rem; }
.content-edition .page-jumps { display: flex; flex-wrap: wrap; gap: .5rem 1.8rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.content-edition .page-jumps a { display: inline-flex; min-height: 44px; align-items: center; }
.content-edition .service-list { max-width: 980px; }
.content-edition .service-row { display: grid; grid-template-columns: minmax(180px,.7fr) minmax(0,1.8fr); gap: 2.5rem; padding-block: 1.65rem; border-top: 1px solid var(--line); }
.content-edition .service-row__title { display: flex; gap: 1rem; align-items: baseline; }
.content-edition .service-row__title > span { color: var(--brand); font-size: .8rem; font-weight: 700; }
.content-edition .service-row h3 { margin: 0; font-size: 1.18rem; line-height: 1.6; }
.content-edition .service-row p { margin: 0 0 .7rem; line-height: 1.85; }
.content-edition .service-row p:last-child { margin-bottom: 0; }
.content-edition .profile-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; }
.content-edition .prose p { margin-top: 0; line-height: 1.9; }
.content-edition .identity-list { margin: 0; min-width: 0; }
.content-edition .identity-list > div { display: grid; grid-template-columns: 100px 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.content-edition .identity-list dt { font-weight: 700; }
.content-edition .identity-list dd { margin: 0; overflow-wrap: anywhere; }
.content-edition .related-links { display: flex; flex-wrap: wrap; gap: .6rem 1.8rem; }
.content-edition .related-links a { min-height: 44px; display: inline-flex; align-items: center; }
.content-edition .faq-stack { max-width: 920px; }
.content-edition .faq-item { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin: 0 0 .8rem; }
.content-edition .faq-item summary { padding: 1rem 1.2rem; cursor: pointer; font-weight: 750; line-height: 1.65; }
.content-edition .faq-answer { padding: 0 1.2rem 1.1rem; line-height: 1.85; }
.content-edition .faq-answer p { margin: .2rem 0; }
.content-edition .law-sources { margin-top: 1.5rem; max-width: 920px; font-size: .86rem; line-height: 1.8; }
.content-edition main section[id] { scroll-margin-top: 9rem; }
.content-edition .scenario-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem; }
.content-edition .scenario { padding: 1.5rem; border: 1px solid var(--line); border-radius: 12px; }
.content-edition .scenario h3 { margin: 0 0 1rem; }
.content-edition .scenario-number { font-size: .84rem; color: var(--brand); font-weight: 700; }
.content-edition .contact-card img, .content-edition .qr-card img { width: 220px; height: auto; aspect-ratio: 1; object-fit: contain; margin-inline: auto; background: #fff; }
.content-edition .directory-card h2 { margin: 0; font-size: 1.25rem; line-height: 1.6; }
.content-edition .card p { line-height: 1.85; }
.content-edition .notice { margin-top: 1.5rem; line-height: 1.8; }
@media(max-width: 768px) {
 .content-edition .service-row, .content-edition .profile-grid, .content-edition .scenario-list { grid-template-columns: 1fr; gap: .8rem; }
 .content-edition .service-row { padding-block: 1.35rem; }
 .content-edition .profile-grid { gap: 1.5rem; }
 .content-edition .breadcrumb { font-size: .8rem; padding-block: .85rem; }
 .content-edition .page-jumps { gap: .2rem 1.5rem; }
 .content-edition .hero h1, .content-edition .page-hero h1 { font-size: clamp(1.85rem,8vw,2.5rem); line-height: 1.3; }
 .content-edition .hero p, .content-edition .page-hero p { line-height: 1.8; }
 .content-edition .scenario { padding: 1.1rem; }
 .content-edition .identity-list > div { grid-template-columns: 84px 1fr; gap: .7rem; }
}

.content-edition .home-nav .nav-list a { padding-inline: .6rem; }
.content-edition .home-page .hero h1 { white-space: normal; }
.content-edition .hero .eyebrow { color: #7a4228; }
.content-edition .section-index { letter-spacing: .04em; }
@media(max-width: 767px) { .content-edition.home-page .hero .actions { display: flex; } }

.content-edition .actions > .button + .button { background: transparent; color: var(--brand); border-color: var(--brand); }
