:root {
  --ink: #0b201d;
  --pine: #0d3c36;
  --green: #53b67b;
  --lime: #b7e946;
  --paper: #f8faf7;
  --fog: #eef4ef;
  --line: rgba(11, 32, 29, 0.14);
  --muted: #58706a;
  --shadow: 0 22px 56px rgba(13, 60, 54, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.print-only { display: none; }
.shell { width: min(1160px, calc(100% - 3rem)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: auto; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 50; background: white; padding: 0.75rem 1rem; color: var(--pine); }

.page-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
}
.nav-bar {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand img { display: block; width: 188px; height: auto; mix-blend-mode: multiply; }
.header-actions { display: flex; align-items: center; gap: 1.2rem; }
.language-picker {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.22rem;
  border-radius: 999px;
  background: #e4ece5;
}
.language-picker button {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 0.45rem 0.72rem;
  background: transparent;
  color: #46635d;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}
.language-picker button:active { transform: scale(0.98); }
.language-picker button.is-active { background: var(--pine); color: white; }
.header-home { padding-block: 0.35rem; border-bottom: 2px solid var(--lime); font-size: 0.82rem; font-weight: 700; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 680px;
  padding: 10.5rem 0 6.25rem;
  background: linear-gradient(118deg, #f8faf7 0%, #edf4ee 55%, #dceadd 100%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -160px;
  bottom: -330px;
  border: 1px solid rgba(13, 60, 54, 0.14);
  border-radius: 50%;
}
.hero-orbit {
  position: absolute;
  width: 180px;
  height: 180px;
  left: 48%;
  top: 120px;
  border: 1px solid rgba(13, 60, 54, 0.12);
  border-radius: 50%;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(350px, 0.72fr);
  align-items: center;
  gap: 5rem;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1rem;
  color: #49736a;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.eyebrow > span:first-child { width: 28px; height: 2px; background: var(--green); flex: 0 0 auto; }
.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.2rem, 6vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.94;
}
.hero-lede { max-width: 650px; margin: 1.8rem 0; color: #405d56; font-size: 1.08rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 0.38rem;
  font-size: 0.88rem;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: scale(0.98); }
.button-primary { background: var(--pine); color: white; }
.button-secondary { border-color: var(--line); }
.scenario-card {
  position: relative;
  margin: 0;
  padding: 1.8rem;
  border-radius: 1.3rem;
  background: var(--pine);
  color: white;
  box-shadow: 0 28px 64px rgba(13, 60, 54, 0.2);
  transform: rotate(1.2deg);
}
.card-kicker { margin: 0; color: #b8d7c3; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; }
.scenario-card h2 { margin: 0.65rem 0 1.6rem; font-size: 1.75rem; letter-spacing: -0.04em; line-height: 1.1; }
.scope-list { margin: 0; padding: 0; list-style: none; }
.scope-list li { display: grid; grid-template-columns: 40px 1fr; gap: 0.75rem; padding: 1rem 0; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.scope-list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.scope-list span { color: #91b3a4; font-size: 0.72rem; }
.scope-list strong { font-size: 0.94rem; }

.privacy-strip { background: var(--ink); color: white; }
.privacy-inner { min-height: 76px; display: flex; align-items: center; gap: 1rem; }
.privacy-inner p { margin: 0; color: #b8cbc2; font-size: 0.87rem; }
.privacy-inner strong { color: white; }
.privacy-mark { width: 12px; height: 12px; border: 3px solid var(--lime); border-radius: 50%; box-shadow: 0 0 0 6px rgba(183, 233, 70, 0.12); }

.role-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(430px, 1.2fr);
  gap: 4rem;
  padding-block: 5rem 1rem;
}
.role-intro h2 { margin: 0; font-size: clamp(2rem, 3.4vw, 3.5rem); letter-spacing: -0.05em; line-height: 1.02; }
.role-intro > p:last-child { max-width: 570px; margin: 1.2rem 0 0; color: var(--muted); }
.role-options { display: grid; gap: 0.65rem; margin: 0; padding: 0; border: 0; }
.role-options label { display: grid; grid-template-columns: 22px 1fr; gap: 0.9rem; align-items: start; padding: 1rem; border: 1px solid #dce5de; border-radius: 0.75rem; background: white; cursor: pointer; }
.role-options input { margin-top: 0.3rem; accent-color: var(--pine); }
.role-options strong, .role-options small { display: block; }
.role-options strong { color: var(--ink); }
.role-options small { margin-top: 0.18rem; color: var(--muted); }
.role-options label:has(input:checked) { border-color: var(--green); box-shadow: 0 0 0 3px rgba(83, 182, 123, 0.14); }
.role-result { grid-column: 2; margin: -3rem 0 0; padding-left: 1rem; color: #356b53; font-size: 0.82rem; font-weight: 700; }

.preparation {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 5rem;
  align-items: start;
  padding-block: 7rem 4.5rem;
}
.preparation h2, .checklist-heading h2, .support-section h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4.5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.98;
}
.preparation-notes { border-top: 1px solid var(--line); }
.preparation-notes p { margin: 0; padding: 1.1rem 0 1.1rem 2.2rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; position: relative; }
.preparation-notes p::before { content: ""; position: absolute; left: 0; top: 1.4rem; width: 9px; height: 9px; border-radius: 50%; background: var(--green); }

.checklist-area { padding-bottom: 7.5rem; scroll-margin-top: 1rem; }
.progress-panel {
  position: sticky;
  top: 1rem;
  z-index: 5;
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1rem 1.15rem;
  margin-bottom: 4.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: rgba(13, 60, 54, 0.96);
  color: white;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.progress-label { margin: 0 0 0.2rem; color: #b7d0c4; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.progress-value { display: flex; align-items: baseline; gap: 0.6rem; }
.progress-value strong { min-width: 70px; font-size: 1.15rem; }
.progress-value span { color: #c2d5cc; font-size: 0.78rem; }
.progress-track { height: 8px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, 0.12); }
.progress-track span { display: block; width: 100%; height: 100%; background: var(--lime); transform: scaleX(var(--progress-scale, 0)); transform-origin: left center; transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1); }
.reset-button { min-height: 44px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 0.45rem; padding: 0.55rem 0.8rem; background: transparent; color: white; font-size: 0.78rem; font-weight: 700; cursor: pointer; }
.progress-actions { display: flex; gap: 0.5rem; }
.print-button { min-height: 44px; border: 0; border-radius: 0.45rem; padding: 0.55rem 0.8rem; background: var(--lime); color: var(--pine); font-size: 0.78rem; font-weight: 800; cursor: pointer; }
.reset-button:active, .print-button:active { transform: scale(0.98); }
.checklist-heading { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: end; margin-bottom: 3.5rem; }
.checklist-heading > p { max-width: 470px; margin: 0; color: var(--muted); line-height: 1.75; }
.requirement-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: -1.7rem 0 2.2rem; }
.requirement-legend p { flex-basis: 100%; margin: 0.25rem 0 0; color: var(--muted); font-size: 0.82rem; }
.requirement-badge { display: inline-flex; width: fit-content; margin-top: 0.35rem; padding: 0.18rem 0.48rem; border-radius: 999px; font-size: 0.62rem; font-weight: 800; line-height: 1.3; text-decoration: none; }
.is-required-document { background: #dff2e5; color: #1b6843; }
.is-required-information { background: #e5ecf6; color: #385f8c; }
.is-conditional { background: #f6edcf; color: #7e6421; }
.group-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.check-group { overflow: hidden; border: 1px solid #dde6df; border-radius: 1.25rem; background: white; box-shadow: 0 12px 34px rgba(13, 60, 54, 0.06); }
.group-header { display: flex; align-items: center; gap: 1rem; padding: 1.4rem 1.45rem; border-bottom: 1px solid #e1e9e2; background: #f1f6f1; }
.group-index { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--pine); color: var(--lime); font-weight: 800; }
.group-header p { margin: 0 0 0.18rem; color: #528064; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.group-header h3 { margin: 0; font-size: 1.28rem; letter-spacing: -0.035em; }
.group-note { margin: 0; padding: 1rem 1.45rem; border-bottom: 1px solid #e5ebe6; background: #fbfcfa; color: var(--muted); font-size: 0.8rem; line-height: 1.6; }
.items { padding: 0.2rem 1.45rem 0.6rem; }
.check-row { position: relative; border-bottom: 1px solid #e6ece7; }
.check-row .check-item { border-bottom: 0; padding-right: 6.7rem; }
.check-item { position: relative; display: grid; grid-template-columns: 25px minmax(0, 1fr); gap: 0.8rem; align-items: start; min-height: 54px; padding: 0.9rem 0; border-bottom: 1px solid #e6ece7; cursor: pointer; }
.check-item:last-child { border-bottom: 0; }
.check-item input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.check-box { width: 23px; height: 23px; display: grid; place-items: center; border: 1.5px solid #85a69a; border-radius: 0.34rem; background: white; transition: transform 160ms ease, background 160ms ease, border-color 160ms ease; }
.check-box::after { content: ""; width: 9px; height: 5px; border-left: 2px solid white; border-bottom: 2px solid white; opacity: 0; transform: translateY(-1px) rotate(-45deg); }
.check-item > span[data-copy] { padding-top: 0.08rem; color: #28413b; font-size: 0.9rem; line-height: 1.55; }
.check-item:hover .check-box { border-color: var(--green); transform: scale(1.05); }
.check-item input:checked + .check-box { border-color: var(--pine); background: var(--pine); }
.check-item input:checked + .check-box::after { opacity: 1; }
.check-item input:checked ~ span[data-copy] { color: #6f817c; text-decoration: line-through; text-decoration-color: #9eb0aa; }
.sample-button { position: absolute; z-index: 2; right: 0; top: 50%; transform: translateY(-50%); border: 1px solid #bdd5c5; border-radius: 999px; padding: 0.36rem 0.6rem; background: #f4faf5; color: #2a694b; font-size: 0.66rem; font-weight: 800; cursor: pointer; }
.sample-button:hover { background: #e7f5ea; }

.packaging-section { padding: 7rem 0; background: #eaf2eb; }
.packaging-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr); gap: 5rem; align-items: start; }
.packaging-section h2 { margin: 0; font-size: clamp(2.4rem, 4.5vw, 4.4rem); letter-spacing: -0.055em; line-height: 0.98; }
.packaging-section h2 + p { max-width: 670px; margin: 1.4rem 0; color: var(--muted); }
.packaging-steps { margin: 2rem 0 0; padding-left: 1.3rem; color: #38534d; }
.packaging-steps li { margin: 0.65rem 0; padding-left: 0.4rem; }
.folder-card { padding: 1.5rem; border-radius: 1rem; background: var(--pine); color: white; box-shadow: var(--shadow); }
.folder-card p { margin: 0 0 0.6rem; color: #b8d0c5; font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; }
.folder-card p:not(:first-child) { margin-top: 1.3rem; }
.folder-card code { display: block; overflow-wrap: anywhere; margin: 0.35rem 0; padding: 0.55rem 0.65rem; border-radius: 0.35rem; background: rgba(255,255,255,0.08); color: #e4f4e8; font-size: 0.78rem; }
.folder-card pre { margin: 0.65rem 0 0; color: var(--lime); font: 0.8rem/1.8 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; }
.folder-card .button { width: 100%; margin-top: 1.4rem; background: var(--lime); color: var(--pine); }

.sample-dialog { width: min(900px, calc(100% - 2rem)); max-height: calc(100vh - 2rem); padding: 0; border: 0; border-radius: 1rem; background: white; color: var(--ink); box-shadow: 0 26px 80px rgba(0,0,0,0.28); }
.sample-dialog::backdrop { background: rgba(4, 25, 21, 0.76); backdrop-filter: blur(4px); }
.sample-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.sample-dialog-head p { margin: 0; color: var(--muted); font-size: 0.65rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.sample-dialog-head h2 { margin: 0.2rem 0 0; font-size: 1.2rem; }
.sample-dialog-head button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--ink); font-size: 1.5rem; cursor: pointer; }
.sample-dialog img { display: block; width: 100%; max-height: calc(100vh - 250px); object-fit: contain; background: #e8ece8; }
.sample-dialog-note { display: flex; flex-direction: column; padding: 0.9rem 1.2rem 1.1rem; }
.sample-dialog-note strong { color: #8b5524; font-size: 0.8rem; }
.sample-dialog-note span { margin-top: 0.2rem; color: var(--muted); font-size: 0.76rem; }

.support-section { padding: 6.5rem 0; background: var(--pine); color: white; }
.support-grid { display: grid; grid-template-columns: 1fr auto; gap: 4rem; align-items: end; }
.eyebrow-light { color: #b9d8c4; }
.eyebrow-light > span:first-child { background: var(--lime); }
.support-section h2 { max-width: 760px; }
.support-section p:not(.eyebrow) { max-width: 660px; margin: 1.4rem 0 0; color: #bed0c7; line-height: 1.75; }
.button-lime { background: var(--lime); color: var(--pine); white-space: nowrap; }
.disclaimer { padding-block: 4rem; }
.disclaimer h2 { margin: 0 0 0.7rem; font-size: 1rem; letter-spacing: 0.02em; }
.disclaimer p { max-width: 900px; margin: 0; color: var(--muted); font-size: 0.82rem; line-height: 1.7; }
.disclaimer .review-date { margin-top: 0.65rem; color: #3f5c55; font-weight: 700; }

.page-footer { padding: 3.2rem 0 1.5rem; background: #071512; color: white; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 3rem; }
.footer-inner img { width: 165px; mix-blend-mode: screen; filter: grayscale(1) brightness(3); }
.footer-inner p { margin: 0.7rem 0 0; color: #9eb7aa; font-size: 0.84rem; }
.footer-inner > div:last-child { display: flex; flex-direction: column; align-items: flex-start; }
.footer-inner > div:last-child span { margin-bottom: 0.45rem; color: #89a99a; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.footer-inner a { margin-top: 0.35rem; color: #c2d8cc; font-size: 0.84rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, 0.12); color: #8da89b; font-size: 0.72rem; }

:is(a, button, input):focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.check-item input:focus-visible + .check-box { outline: 3px solid #7ba63a; outline-offset: 3px; }

@media (max-width: 860px) {
  .hero-grid, .role-section, .preparation, .checklist-heading, .support-grid, .packaging-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .role-result { grid-column: auto; margin: -1.5rem 0 0; }
  .hero { min-height: auto; padding-top: 8.5rem; }
  .scenario-card { max-width: 590px; transform: none; }
  .group-grid { grid-template-columns: 1fr; }
  .progress-panel { grid-template-columns: auto 1fr; }
  .progress-actions { grid-column: 1 / -1; justify-self: start; }
  .support-grid { align-items: start; }
  .button-lime { justify-self: start; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 2rem, 1160px); }
  .nav-bar { min-height: 80px; align-items: flex-start; padding-top: 1rem; }
  .brand img { width: 145px; }
  .header-actions { align-items: flex-end; flex-direction: column-reverse; gap: 0.45rem; }
  .header-home { min-height: 32px; font-size: 0.75rem; }
  .language-picker button { min-height: 38px; padding-inline: 0.55rem; font-size: 0.67rem; }
  .hero { padding-top: 9.5rem; padding-bottom: 4.5rem; }
  .hero h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .scenario-card { padding: 1.35rem; }
  .privacy-inner { align-items: flex-start; padding-block: 1.1rem; }
  .privacy-mark { margin-top: 0.25rem; flex: 0 0 auto; }
  .preparation { padding-block: 5rem 3rem; }
  .preparation h2, .checklist-heading h2, .support-section h2 { font-size: 2.6rem; }
  .progress-panel { position: relative; top: auto; grid-template-columns: 1fr; margin-bottom: 3.5rem; }
  .progress-track { grid-row: 2; }
  .progress-actions { grid-column: auto; flex-wrap: wrap; }
  .checklist-area { padding-bottom: 5rem; }
  .checklist-heading { margin-bottom: 2.5rem; }
  .group-header { padding: 1.2rem; }
  .items { padding-inline: 1.2rem; }
  .group-note { padding-inline: 1.2rem; }
  .support-section { padding-block: 4.5rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@page { size: A4; margin: 12mm; }
@media print {
  body { background: white; color: black; font-size: 9pt; }
  .page-header, .hero, .privacy-strip, .role-section, .preparation, .progress-panel, .checklist-heading, .requirement-legend, .sample-button, .packaging-section, .support-section, .disclaimer, .page-footer, .sample-dialog { display: none !important; }
  .shell { width: 100%; }
  .checklist-area { padding: 0; }
  .print-only { display: block; }
  .print-heading { margin-bottom: 6mm; border-bottom: 1px solid #777; }
  .print-heading h1 { margin: 0 0 2mm; font-size: 16pt; }
  .print-heading p { margin: 1.5mm 0; }
  .group-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4mm; align-items: start; }
  .check-group { break-inside: avoid; box-shadow: none; border: 1px solid #777; border-radius: 0; }
  .group-header { padding: 3mm; background: #eee !important; print-color-adjust: exact; }
  .group-index { width: 8mm; height: 8mm; background: #222 !important; color: white; print-color-adjust: exact; }
  .group-note { padding: 2mm 3mm; }
  .items { padding: 0 3mm; }
  .check-row { border-bottom: 1px solid #bbb; }
  .check-row .check-item { padding-right: 0; }
  .check-item { min-height: 0; padding: 2mm 0; grid-template-columns: 5mm 1fr; gap: 2mm; border-bottom: 1px solid #bbb; }
  .check-box { width: 4mm; height: 4mm; border-radius: 0; }
  .check-item > span[data-copy] { font-size: 8pt; line-height: 1.25; }
  .requirement-badge { margin-top: 0.5mm; padding: 0; background: none !important; color: #444; font-size: 6.5pt; }
}

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