/* =========================================================
   base
   ========================================================= */

:root {
  --paper: #f7f4ed;
  --ink: #1e211d;
  --muted: #66685f;
  --line: #d9d3c6;
  --green: #126b5c;
  --green-deep: #0c4b40;
  --amber: #ae6a1b;
  --white: #ffffff;
  --shell: 1180px;
  --content: 1120px;
  --reading: 760px;
  --radius: 8px;
  --radius-sm: 4px;
  --shadow: 0 1px 2px rgba(30, 33, 29, 0.06), 0 8px 20px rgba(30, 33, 29, 0.04);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--green);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--green-deep);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

figure {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 60;
  padding: 10px 16px;
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius-sm);
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

/* =========================================================
   layout
   ========================================================= */

.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
}

.site-main {
  flex: 1 1 auto;
  width: 100%;
}

.inner-main {
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 24px 72px;
}

.home-main {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px 80px;
}

.home-main > section {
  margin-top: 64px;
}

.home-main > section:first-child {
  margin-top: 32px;
}

.inner-main > section {
  margin-top: 56px;
}

.inner-main > section:first-of-type {
  margin-top: 40px;
}

/* =========================================================
   header / navigation
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 244, 237, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(120%) blur(4px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 14px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0;
  white-space: nowrap;
}

.brand::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(18, 107, 92, 0.14);
}

.brand:hover {
  color: var(--green-deep);
}

.primary-nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-block;
  padding: 8px 12px;
  font-size: 0.95rem;
  color: var(--muted);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.nav-link:hover {
  color: var(--green-deep);
  background: rgba(18, 107, 92, 0.07);
}

.nav-link.is-current {
  color: var(--green-deep);
  font-weight: 600;
  background: rgba(18, 107, 92, 0.1);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.menu-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu-list {
  display: flex;
  flex-direction: column;
  padding: 8px 16px 16px;
}

.mobile-menu-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 6px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.mobile-menu-list li:last-child a {
  border-bottom: 0;
}

.mobile-menu-list a.is-current {
  color: var(--green-deep);
  font-weight: 600;
}

/* =========================================================
   footer
   ========================================================= */

.site-footer {
  background: #1c1f1b;
  color: #d9d3c6;
  margin-top: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(150px, 1fr));
  gap: 40px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 56px 24px 40px;
}

.footer-brand-name {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
}

.footer-brand-text {
  max-width: 320px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #a9a79c;
}

.footer-col-title {
  margin: 0 0 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: #b6b3a7;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 20px 24px 28px;
  border-top: 1px solid rgba(217, 211, 198, 0.16);
}

.footer-copy,
.footer-note {
  font-size: 0.82rem;
  color: #8f8d83;
}

/* =========================================================
   components
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--green-deep);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--green);
  color: var(--green-deep);
  background: rgba(18, 107, 92, 0.06);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--green);
}

.text-link::after {
  content: "→";
  font-size: 0.9em;
  transition: transform 0.18s ease;
}

.text-link:hover::after {
  transform: translateX(3px);
}

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  font-size: 1.6rem;
}

.section-head p {
  margin-top: 10px;
  max-width: var(--reading);
  color: var(--muted);
  font-size: 0.98rem;
}

.section-title {
  font-size: 1.6rem;
}

.section-lead,
.section-intro,
.section-desc {
  margin-top: 10px;
  max-width: var(--reading);
  color: var(--muted);
  font-size: 0.98rem;
}

.field-label {
  display: inline-block;
  margin-right: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber);
}

/* breadcrumb + page header */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 24px 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--green-deep);
}

.breadcrumb-sep {
  color: #b3ad9f;
}

.breadcrumb-current {
  color: var(--ink);
  font-weight: 500;
}

.page-header {
  padding: 18px 0 0;
}

.page-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.22;
  color: var(--ink);
}

.page-title-lead,
.page-lead {
  margin-top: 16px;
  max-width: 720px;
  font-size: 1.02rem;
  color: var(--muted);
}

.page-eyebrow,
.page-kicker {
  margin-bottom: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.02em;
}

/* figures */

.gallery-media,
.hero-visual,
.service-figure,
.story-media,
.media-figure,
.handoff-figure,
.issue-media,
.support-scope-media {
  overflow: hidden;
  border-radius: var(--radius);
  background: #ece7db;
}

.gallery-media img,
.hero-visual img,
.service-figure img,
.story-media img,
.media-figure img,
.handoff-figure img,
.issue-media img,
.support-scope-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-caption,
.gallery-caption,
.service-figure-caption,
.story-caption,
.media-caption,
.figure-caption,
.support-scope-caption {
  margin-top: 10px;
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--muted);
}

/* faq */

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  padding: 14px 18px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--green);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq-answer {
  padding: 14px 18px 18px;
  font-size: 0.95rem;
  color: var(--muted);
}

.faq-answer p + p {
  margin-top: 10px;
}

.faq-answer .faq-more {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
}

/* =========================================================
   pages — home
   ========================================================= */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
  padding-top: 12px;
}

.hero-copy {
  min-width: 0;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-deep);
  background: rgba(18, 107, 92, 0.1);
  border-radius: 999px;
}

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.24;
}

.hero-lead {
  margin-top: 18px;
  max-width: 540px;
  font-size: 1.02rem;
  color: var(--muted);
}

.hero-catalog {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.hero-catalog-item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.catalog-num {
  grid-row: 1 / span 2;
  align-self: start;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber);
}

.catalog-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.catalog-desc {
  font-size: 0.83rem;
  line-height: 1.55;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-visual {
  position: relative;
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.hero-visual img {
  position: absolute;
  inset: 0;
}

.hero-visual .hero-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  margin: 0;
  padding: 10px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
}

/* visit strip */

.visit-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.visit-item {
  padding: 20px 22px;
  border-right: 1px solid var(--line);
  min-width: 0;
}

.visit-item:last-child {
  border-right: 0;
}

.visit-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--amber);
}

.visit-text {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink);
}

/* service gallery */

.gallery-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.gallery-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.gallery-item .gallery-media {
  aspect-ratio: 16 / 10;
}

.gallery-item-b .gallery-media {
  order: 2;
}

.gallery-item-b .gallery-label {
  order: 1;
}

.gallery-label {
  min-width: 0;
}

.gallery-num {
  display: block;
  margin-bottom: 8px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--amber);
}

.gallery-label h3 {
  font-size: 1.25rem;
}

.gallery-label p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

.gallery-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gallery-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.92rem;
  color: var(--ink);
}

.gallery-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.gallery-label .text-link {
  margin-top: 16px;
}

/* workflow preview */

.phase-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.phase-card {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.phase-num {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 8px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green-deep);
  background: rgba(18, 107, 92, 0.1);
  border-radius: var(--radius-sm);
}

.phase-name {
  font-size: 1.05rem;
}

.phase-input,
.phase-output {
  margin-top: 10px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
}

.phase-input::before {
  content: "输入 · ";
  font-weight: 600;
  color: var(--ink);
}

.phase-output::before {
  content: "产出 · ";
  font-weight: 600;
  color: var(--ink);
}

.workflow-more {
  margin-top: 20px;
}

/* scene index */

.scene-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.scene-item {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.scene-item h3 {
  font-size: 1.05rem;
}

.scene-item h3 a {
  color: var(--ink);
}

.scene-item h3 a:hover {
  color: var(--green-deep);
}

.scene-item p {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}

.scene-item-warn {
  grid-column: 1 / -1;
  background: rgba(174, 106, 27, 0.08);
  border-color: rgba(174, 106, 27, 0.3);
}

.scene-item-warn h3 {
  color: var(--amber);
  font-size: 0.95rem;
}

.scene-item-warn p a {
  font-weight: 600;
}

/* prep preview */

.prep-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.prep-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.prep-name {
  font-size: 1.05rem;
}

.prep-list {
  flex: 1 1 auto;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prep-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--muted);
}

.prep-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 0.85rem;
}

.prep-card .text-link {
  margin-top: 16px;
}

/* faq preview */

.faq-preview .faq-list {
  max-width: var(--reading);
}

.faq-more {
  margin-top: 16px;
}

/* support entry */

.support-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.support-path-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.support-path-card h3 {
  font-size: 1.1rem;
}

.support-path-card p {
  flex: 1 1 auto;
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--muted);
}

.support-path-card .btn {
  align-self: flex-start;
  margin-top: 18px;
}

/* =========================================================
   pages — services
   ========================================================= */

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.choice-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.choice-step {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 2px 8px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--amber);
  background: rgba(174, 106, 27, 0.1);
  border-radius: var(--radius-sm);
}

.choice-title {
  font-size: 1.05rem;
}

.choice-text {
  flex: 1 1 auto;
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}

.choice-link {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
}

.service-figure {
  margin-bottom: 28px;
}

.service-figure img {
  aspect-ratio: 16 / 7;
}

.service-item {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 18px;
}

.service-item-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.service-item-index {
  grid-row: 1 / span 2;
  align-self: start;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--amber);
}

.service-item-title {
  font-size: 1.2rem;
}

.service-item-summary {
  margin-top: 6px;
  font-size: 0.92rem;
  color: var(--muted);
}

.service-item-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
  padding-top: 18px;
}

.service-field {
  min-width: 0;
}

.service-field-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-deep);
}

.service-field-text {
  margin-top: 6px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted);
}

.service-item-related {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-size: 0.9rem;
  font-weight: 600;
}

.boundary-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.boundary-col {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.boundary-col-allow {
  background: rgba(18, 107, 92, 0.06);
  border-color: rgba(18, 107, 92, 0.28);
}

.boundary-col-deny {
  background: rgba(174, 106, 27, 0.07);
  border-color: rgba(174, 106, 27, 0.3);
}

.boundary-col-title {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.boundary-col-allow .boundary-col-title {
  color: var(--green-deep);
}

.boundary-col-deny .boundary-col-title {
  color: var(--amber);
}

.boundary-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.boundary-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink);
}

.boundary-col-allow .boundary-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
}

.boundary-col-deny .boundary-list li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: var(--amber);
}

.boundary-note {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--muted);
}

.boundary-note a {
  font-weight: 600;
}

/* =========================================================
   pages — workflow
   ========================================================= */

.process-overview .phase-track {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.phase-track-item {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.phase-goal {
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
}

.phase-detail .phase-card {
  padding: 24px;
  margin-bottom: 16px;
}

.phase-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.phase-card-head .phase-num {
  margin-bottom: 0;
}

.phase-card-title {
  font-size: 1.15rem;
}

.phase-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 28px;
  margin: 18px 0 0;
}

.phase-field {
  min-width: 0;
}

.phase-field dt {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-deep);
}

.phase-field dd {
  margin: 6px 0 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--muted);
}

.handoff-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: start;
}

.handoff-copy {
  min-width: 0;
}

.handoff-copy h2 {
  font-size: 1.6rem;
}

.handoff-copy p {
  margin-top: 12px;
  max-width: var(--reading);
  color: var(--muted);
  font-size: 0.95rem;
}

.handoff-points {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.handoff-point {
  position: relative;
  padding-left: 20px;
  font-size: 0.92rem;
  color: var(--ink);
}

.handoff-point::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.handoff-figure {
  aspect-ratio: 4 / 3;
}

.workflow-links .link-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.link-card {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.link-card-title {
  font-size: 1.05rem;
}

.link-card-title a {
  color: var(--ink);
}

.link-card-title a:hover {
  color: var(--green-deep);
}

.link-card-text {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* =========================================================
   pages — scenarios
   ========================================================= */

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.intro-card {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.intro-card-title {
  font-size: 1.05rem;
}

.intro-card-bg,
.intro-card-object,
.intro-card-hint {
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.68;
  color: var(--muted);
}

.intro-card-object,
.intro-card-hint {
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.story {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.story-with-media {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: start;
}

.story-media-right {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.story-media {
  aspect-ratio: 4 / 3;
}

.story-body {
  min-width: 0;
}

.story-index {
  display: inline-block;
  margin-bottom: 8px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--amber);
}

.story-title {
  font-size: 1.2rem;
}

.story-fields {
  margin: 16px 0 0;
}

.story-fields dt {
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-deep);
}

.story-fields dt:first-child {
  margin-top: 0;
}

.story-fields dd {
  margin: 4px 0 0;
  font-size: 0.92rem;
  line-height: 1.72;
  color: var(--muted);
}

.story-link {
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
}

.not-applicable .boundary-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.boundary-item {
  padding: 20px;
  background: rgba(174, 106, 27, 0.07);
  border: 1px solid rgba(174, 106, 27, 0.28);
  border-radius: var(--radius);
  min-width: 0;
}

.boundary-title {
  font-size: 1rem;
  color: var(--amber);
}

.boundary-request,
.boundary-alt {
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.68;
  color: var(--ink);
}

.boundary-alt {
  padding-top: 10px;
  border-top: 1px dashed rgba(174, 106, 27, 0.35);
}

.boundary-alt a {
  font-weight: 600;
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.entry-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.entry-card-title {
  font-size: 1.05rem;
}

.entry-card-text {
  flex: 1 1 auto;
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}

.entry-link {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* =========================================================
   pages — preparation
   ========================================================= */

.checklist-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.summary-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.summary-count {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--amber);
}

.summary-title {
  margin-top: 6px;
  font-size: 1.05rem;
}

.summary-text {
  flex: 1 1 auto;
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.summary-link {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
}

.checklist-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 32px;
  align-items: start;
}

.checklist-body {
  min-width: 0;
}

.checklist-list {
  counter-reset: checklist;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist-item {
  counter-increment: checklist;
  position: relative;
  padding: 18px 20px 18px 56px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.checklist-item::before {
  content: counter(checklist, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 18px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-deep);
}

.checklist-name {
  font-size: 1rem;
}

.checklist-purpose {
  margin-top: 6px;
  font-size: 0.9rem;
  line-height: 1.68;
  color: var(--ink);
}

.checklist-impact {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  font-size: 0.86rem;
  color: var(--muted);
}

.checklist-impact::before {
  content: "缺失影响 · ";
  font-weight: 600;
  color: var(--amber);
}

.checklist-media {
  position: sticky;
  top: 88px;
  min-width: 0;
}

.media-figure {
  border-radius: var(--radius);
}

.media-figure img {
  aspect-ratio: 3 / 4;
}

.permission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.permission-card {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.permission-title {
  font-size: 1.02rem;
}

.permission-scope,
.permission-limit,
.permission-confirm {
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.68;
  color: var(--muted);
}

.permission-scope::before {
  content: "可提交 · ";
  font-weight: 600;
  color: var(--green-deep);
}

.permission-limit::before {
  content: "不可提交 · ";
  font-weight: 600;
  color: var(--amber);
}

.permission-confirm {
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.permission-confirm::before {
  content: "内部确认 · ";
  font-weight: 600;
  color: var(--ink);
}

.check-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.check-step {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.step-index {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--amber);
}

.step-title {
  margin-top: 6px;
  font-size: 1rem;
}

.step-role,
.step-result {
  margin-top: 10px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted);
}

.step-role::before {
  content: "负责人 · ";
  font-weight: 600;
  color: var(--ink);
}

.step-result {
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

.step-result::before {
  content: "确认结果 · ";
  font-weight: 600;
  color: var(--green-deep);
}

.missing-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.missing-item {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.missing-title {
  font-size: 1rem;
}

.missing-case,
.missing-alt {
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.68;
  color: var(--muted);
}

.missing-alt {
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.missing-alt::before {
  content: "替代做法 · ";
  font-weight: 600;
  color: var(--green-deep);
}

.missing-note {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--muted);
}

.missing-note a {
  font-weight: 600;
}

.prep-next-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.next-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.next-title {
  font-size: 1.02rem;
}

.next-text {
  flex: 1 1 auto;
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.next-link {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* =========================================================
   pages — troubleshooting
   ========================================================= */

.issue-media {
  margin-bottom: 24px;
}

.issue-media img {
  aspect-ratio: 16 / 6;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.category-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.category-name {
  font-size: 1.02rem;
}

.category-desc {
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--muted);
}

.category-issues {
  flex: 1 1 auto;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.category-issues li {
  position: relative;
  padding-left: 16px;
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--ink);
}

.category-issues li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.7em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
}

.category-link {
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 600;
}

.faq-group {
  margin-top: 28px;
}

.faq-group:first-of-type {
  margin-top: 0;
}

.faq-group-title {
  margin-bottom: 12px;
  padding-bottom: 8px;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--line);
}

.faq-question {
  font-size: 0.98rem;
}

.faq-list .faq-answer {
  font-size: 0.94rem;
}

.path-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.path-item {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.path-title {
  font-size: 1.02rem;
}

.path-desc {
  flex: 1 1 auto;
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.path-link {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* =========================================================
   pages — support
   ========================================================= */

.page-container {
  width: 100%;
}

.support-scope-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 32px;
  align-items: start;
}

.support-scope-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-width: 0;
}

.support-scope-item {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.support-scope-index {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--amber);
}

.support-scope-name {
  margin-top: 6px;
  font-size: 1.02rem;
}

.support-scope-text {
  margin-top: 8px;
  font-size: 0.9rem;
  line-height: 1.68;
  color: var(--muted);
}

.support-scope-link {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 0.88rem;
  font-weight: 600;
}

.support-scope-media {
  position: sticky;
  top: 88px;
  min-width: 0;
}

.support-scope-media img {
  aspect-ratio: 3 / 4;
}

.before-contact-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.before-contact-item {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.before-contact-step {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--amber);
}

.before-contact-name {
  margin-top: 6px;
  font-size: 1rem;
}

.before-contact-text,
.before-contact-result {
  margin-top: 10px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted);
}

.before-contact-result {
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

.before-contact-result::before {
  content: "核对结果 · ";
  font-weight: 600;
  color: var(--green-deep);
}

.site-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.site-path-item {
  display: flex;
  flex-direction: column;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}

.site-path-name {
  font-size: 1.02rem;
}

.site-path-text {
  flex: 1 1 auto;
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-path-next {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
}

.support-boundary-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.support-boundary-item {
  padding: 20px;
  background: rgba(174, 106, 27, 0.07);
  border: 1px solid rgba(174, 106, 27, 0.28);
  border-radius: var(--radius);
  min-width: 0;
}

.support-boundary-name {
  font-size: 1rem;
  color: var(--amber);
}

.support-boundary-text {
  margin-top: 8px;
  font-size: 0.9rem;
  line-height: 1.68;
  color: var(--ink);
}

/* =========================================================
   pages — 404
   ========================================================= */

.error-main {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.error-panel {
  width: 100%;
  max-width: 640px;
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: left;
}

.error-code {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  color: var(--amber);
}

.error-title {
  margin-top: 14px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.error-text {
  margin-top: 12px;
  font-size: 0.98rem;
  color: var(--muted);
}

.error-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.error-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.92rem;
  color: var(--ink);
}

.error-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.error-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}

.error-note a {
  font-weight: 600;
}

/* =========================================================
   mobile task nav
   ========================================================= */

.mobile-task-nav {
  display: none;
}

.task-nav-list,
.mobile-task-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.task-nav-item,
.task-item,
.mobile-task-list li {
  min-width: 0;
}

.task-nav-link,
.task-link,
.mobile-task-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 8px 4px;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

.task-nav-link.is-current,
.task-link.is-current,
.mobile-task-list a.is-current {
  color: var(--green-deep);
  font-weight: 600;
}

/* =========================================================
   responsive
   ========================================================= */

@media (max-width: 1080px) {
  .header-inner {
    padding: 12px 20px;
  }

  .nav-link {
    padding: 8px 8px;
    font-size: 0.9rem;
  }

  .hero {
    gap: 32px;
  }

  .visit-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .visit-item:nth-child(2) {
    border-right: 0;
  }

  .visit-item:nth-child(1),
  .visit-item:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .phase-track,
  .process-overview .phase-track,
  .check-steps,
  .before-contact-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scene-list,
  .prep-grid,
  .choice-grid,
  .link-cards,
  .entry-grid,
  .checklist-summary-grid,
  .missing-list,
  .prep-next-grid,
  .path-list,
  .site-path-grid,
  .support-boundary-list,
  .workflow-links .link-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scene-item-warn {
    grid-column: 1 / -1;
  }

  .story-with-media,
  .story-media-right {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .story-media-right .story-media {
    order: 2;
  }

  .story-media-right .story-body {
    order: 1;
  }

  .handoff-layout,
  .support-scope-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .checklist-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .checklist-media,
  .support-scope-media {
    position: static;
  }

  .media-figure img,
  .support-scope-media img {
    aspect-ratio: 16 / 9;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15.5px;
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    padding: 10px 16px;
    gap: 12px;
  }

  .brand {
    font-size: 1.12rem;
  }

  .primary-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-menu:not([hidden]) {
    display: block;
  }

  .home-main,
  .inner-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .home-main {
    padding-bottom: 88px;
  }

  .inner-main {
    padding-bottom: 88px;
  }

  .home-main > section {
    margin-top: 44px;
  }

  .inner-main > section {
    margin-top: 40px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-top: 8px;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 7vw, 2.2rem);
  }

  .hero-lead {
    font-size: 0.96rem;
  }

  .hero-catalog {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .btn {
    flex: 1 1 140px;
  }

  .hero-visual {
    aspect-ratio: 16 / 11;
  }

  .hero-visual .hero-caption {
    left: 10px;
    right: 10px;
    bottom: 10px;
    font-size: 0.78rem;
  }

  .visit-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .visit-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 16px 18px;
  }

  .visit-item:last-child {
    border-bottom: 0;
  }

  .section-head h2,
  .section-title {
    font-size: 1.35rem;
  }

  .gallery-item,
  .gallery-item-b {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 20px 0;
  }

  .gallery-item-b .gallery-media,
  .gallery-item-b .gallery-label {
    order: initial;
  }

  .gallery-item .gallery-media {
    aspect-ratio: 16 / 10;
  }

  .phase-track,
  .process-overview .phase-track,
  .check-steps,
  .before-contact-list,
  .scene-list,
  .prep-grid,
  .choice-grid,
  .entry-grid,
  .checklist-summary-grid,
  .missing-list,
  .prep-next-grid,
  .path-list,
  .site-path-grid,
  .support-boundary-list,
  .category-grid,
  .support-paths,
  .link-cards,
  .workflow-links .link-cards,
  .intro-grid,
  .permission-grid,
  .not-applicable .boundary-list,
  .boundary-columns,
  .service-item-body,
  .phase-fields,
  .support-scope-grid,
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .scene-item-warn {
    grid-column: auto;
  }

  .service-item {
    padding: 20px;
  }

  .service-item-head {
    column-gap: 10px;
  }

  .service-figure img {
    aspect-ratio: 16 / 10;
  }

  .phase-card,
  .phase-track-item,
  .choice-card,
  .scene-item,
  .prep-card,
  .entry-card,
  .summary-card,
  .permission-card,
  .check-step,
  .missing-item,
  .next-card,
  .category-card,
  .path-item,
  .site-path-item,
  .support-boundary-item,
  .support-scope-item,
  .before-contact-item,
  .link-card,
  .support-path-card,
  .intro-card {
    padding: 18px;
  }

  .story {
    padding: 20px;
  }

  .checklist-item {
    padding: 16px 16px 16px 48px;
  }

  .checklist-item::before {
    left: 14px;
    top: 16px;
  }

  .issue-media img {
    aspect-ratio: 16 / 10;
  }

  .faq-item summary {
    padding: 12px 14px;
    font-size: 0.95rem;
  }

  .faq-answer {
    padding: 12px 14px 16px;
  }

  .footer-inner {
    padding: 40px 16px 28px;
    gap: 26px;
  }

  .footer-brand-text {
    max-width: none;
  }

  .footer-bottom {
    padding: 16px 16px 88px;
    flex-direction: column;
  }

  .error-main {
    padding: 40px 16px 88px;
  }

  .error-panel {
    padding: 26px 20px;
  }

  .mobile-task-nav {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -2px 10px rgba(30, 33, 29, 0.06);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .task-nav-link,
  .task-link,
  .mobile-task-list a {
    min-height: 52px;
    font-size: 0.8rem;
  }
}

@media (max-width: 390px) {
  .home-main,
  .inner-main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .header-inner {
    padding: 10px 14px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .page-title {
    font-size: clamp(1.6rem, 8vw, 2rem);
  }

  .section-head h2,
  .section-title {
    font-size: 1.25rem;
  }

  .footer-inner {
    padding-left: 14px;
    padding-right: 14px;
  }

  .footer-bottom {
    padding-left: 14px;
    padding-right: 14px;
  }

  .task-nav-link,
  .task-link,
  .mobile-task-list a {
    font-size: 0.76rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
