:root {
  color-scheme: light;
  --paper: #fff8f1;
  --paper-soft: #f8ede1;
  --card: #fffdf9;
  --ink: #352c29;
  --ink-soft: #554944;
  --muted: #7b6f68;
  --line: rgba(111, 82, 59, 0.14);
  --line-strong: rgba(111, 82, 59, 0.24);
  --amber: #98652f;
  --gold: #e4a86c;
  --safe: #6f806c;
  --danger: #c65353;
  --shadow: rgba(76, 48, 29, 0.09);
  --shell: min(100% - 48px, 1180px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 0%, rgba(228, 168, 108, 0.17), transparent 29rem),
    linear-gradient(180deg, var(--paper) 0%, #fffdf9 44%, var(--paper) 100%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image: radial-gradient(rgba(152, 101, 47, 0.08) 0.65px, transparent 0.65px);
  background-size: 8px 8px;
  opacity: 0.2;
}

a { color: var(--amber); }

a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(152, 101, 47, 0.32);
  outline-offset: 4px;
  border-radius: 8px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 100;
  padding: 9px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--ink);
  text-decoration: none;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(111, 82, 59, 0.1);
  background: rgba(255, 248, 241, 0.88);
  backdrop-filter: blur(18px) saturate(140%);
}

.nav-shell,
.footer-shell {
  width: var(--shell);
  margin-inline: auto;
}

.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-icon {
  flex: none;
  border-radius: 22.5%;
  box-shadow: 0 8px 24px rgba(95, 56, 24, 0.16);
}

.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-size: 17px; letter-spacing: 0.08em; }
.brand-copy small { color: var(--muted); font-size: 11px; letter-spacing: 0.04em; }

.site-nav { display: flex; align-items: center; gap: 8px; }

.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover { color: var(--ink); background: rgba(152, 101, 47, 0.07); }
.site-nav a[aria-current="page"] { color: var(--ink); background: rgba(152, 101, 47, 0.12); }
.site-nav .nav-language { border: 1px solid var(--line); color: var(--ink); }
.site-nav .nav-home { margin-left: 8px; color: #fff; background: var(--ink); }
.site-nav .nav-home:hover { color: #fff; background: #211b19; }

.page-shell {
  width: var(--shell);
  margin-inline: auto;
  padding: 54px 0 104px;
}

.document-hero {
  position: relative;
  min-height: 410px;
  padding: clamp(42px, 7vw, 78px);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: end;
  gap: 52px;
  border-radius: 34px;
  color: #fffaf5;
  background:
    radial-gradient(circle at 83% 18%, rgba(243, 188, 106, 0.23), transparent 17rem),
    linear-gradient(135deg, #211c19 0%, #352923 54%, #503820 100%);
  box-shadow: 0 28px 80px rgba(53, 44, 41, 0.16);
}

.document-hero::after {
  position: absolute;
  right: -72px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  content: "";
}

.hero-copy,
.hero-side { position: relative; z-index: 1; }

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: #f3bc6a;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.16em;
}

.document-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.13;
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 250, 245, 0.7);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.85;
}

.hero-meta {
  margin: 24px 0 0;
  color: rgba(255, 250, 245, 0.5);
  font-size: 13px;
}

.hero-side {
  align-self: stretch;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
}

.hero-side img {
  width: 68px;
  height: 68px;
  border-radius: 22.5%;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.hero-side p { margin: 28px 0 0; color: rgba(255, 250, 245, 0.72); font-size: 14px; }
.hero-side strong { display: block; margin-top: 8px; color: #fffaf5; font-size: 19px; line-height: 1.5; }

.hero-side .hero-action {
  margin-top: 24px;
  padding: 11px 15px;
  display: inline-flex;
  justify-content: center;
  border-radius: 999px;
  color: var(--ink);
  background: #fffaf5;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.trust-strip {
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.trust-item {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.78);
}

.trust-item strong { display: block; font-size: 15px; }
.trust-item span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.6; }

.document-layout {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: clamp(36px, 7vw, 84px);
}

.page-toc {
  position: sticky;
  top: 108px;
}

.page-toc p {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.page-toc ol,
.page-toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-toc li + li { margin-top: 4px; }

.page-toc a {
  padding: 6px 0;
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
}

.page-toc a:hover { color: var(--amber); }

.toc-note {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.document {
  min-width: 0;
  padding: clamp(30px, 5vw, 60px);
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 253, 249, 0.92);
  box-shadow: 0 24px 70px var(--shadow);
}

.document-section {
  scroll-margin-top: 112px;
}

.document-section + .document-section {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.document h2 {
  margin: 0 0 20px;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.document h3 {
  margin: 28px 0 8px;
  font-size: 18px;
  line-height: 1.45;
}

.document p,
.document li {
  color: var(--ink-soft);
  font-size: 16px;
}

.document p { margin: 0; }
.document p + p { margin-top: 16px; }
.document ul { margin: 18px 0 0; padding-left: 22px; }
.document li + li { margin-top: 10px; }
.document a { text-underline-offset: 3px; }

.plain-language {
  margin-bottom: 42px;
  padding: 26px 28px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(228, 168, 108, 0.16), rgba(152, 101, 47, 0.06));
}

.plain-language .section-kicker { margin-bottom: 8px; color: var(--amber); }
.plain-language strong { font-size: 21px; line-height: 1.45; }
.plain-language p { margin-top: 9px; color: var(--muted); }

.notice {
  margin-top: 20px;
  padding: 18px 20px;
  border-left: 3px solid var(--safe);
  border-radius: 8px 16px 16px 8px;
  background: rgba(111, 128, 108, 0.09);
}

.notice strong { display: block; color: var(--safe); font-size: 14px; }
.notice p { margin-top: 5px; font-size: 14px; }

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

.topic-card {
  min-height: 150px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--ink);
  background: rgba(255, 253, 249, 0.82);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.topic-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 14px 34px var(--shadow);
  transform: translateY(-2px);
}

.topic-card span { color: var(--amber); font-size: 12px; font-weight: 750; letter-spacing: 0.08em; }
.topic-card strong { margin-top: 20px; font-size: 18px; line-height: 1.45; }

.faq-item {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.faq-item:first-of-type { padding-top: 0; border-top: 0; }
.faq-item h3 { margin-top: 0; }

.contact-card {
  margin-top: 54px;
  padding: clamp(26px, 5vw, 42px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  border-radius: 26px;
  color: #fffaf5;
  background: var(--ink);
}

.contact-card p { margin: 8px 0 0; color: rgba(255, 250, 245, 0.62); font-size: 14px; }
.contact-card strong { display: block; font-size: clamp(22px, 3vw, 30px); }

.contact-button {
  padding: 12px 20px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--paper);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.site-footer {
  padding: 52px 0 max(44px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.66);
}

.footer-shell {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}

.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 22px; }
.footer-nav a { color: var(--muted); font-size: 13px; font-weight: 650; text-decoration: none; }
.footer-nav a:hover { color: var(--amber); }
.copyright { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 12px; }

@media (max-width: 920px) {
  .document-hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-side { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; }
  .hero-side p { margin: 0; }
  .hero-side .hero-action { grid-column: 1 / -1; margin-top: 0; }
  .document-layout { grid-template-columns: 1fr; }
  .page-toc { position: static; }
  .page-toc ol,
  .page-toc ul { display: flex; flex-wrap: wrap; gap: 4px 16px; }
  .toc-note { display: none; }
}

@media (max-width: 720px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .nav-shell { min-height: 68px; gap: 12px; }
  .brand-copy small { display: none; }
  .brand-icon { width: 40px; height: 40px; }
  .site-nav { gap: 2px; }
  .site-nav a { padding: 7px 8px; font-size: 12px; }
  .site-nav .nav-home { display: none; }
  .page-shell { padding: 24px 0 72px; }
  .document-hero { padding: 34px 26px; gap: 34px; border-radius: 26px; }
  .document-hero h1 { font-size: clamp(36px, 12vw, 52px); }
  .hero-side { padding: 20px; }
  .hero-side img { width: 54px; height: 54px; }
  .trust-strip,
  .support-topics { grid-template-columns: 1fr; }
  .trust-item { padding: 15px 17px; }
  .document-layout { margin-top: 48px; gap: 28px; }
  .page-toc ol,
  .page-toc ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; }
  .document { padding: 28px 22px; border-radius: 24px; }
  .document-section + .document-section { margin-top: 38px; padding-top: 38px; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-button { text-align: center; }
  .footer-shell { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; }
  .copyright { grid-column: auto; }
}

@media (max-width: 420px) {
  .brand-copy strong { font-size: 15px; }
  .site-nav a { padding-inline: 6px; }
  .page-toc ol,
  .page-toc ul { grid-template-columns: 1fr; }
}

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