*,
*::before,
*::after { box-sizing: border-box; }
img { display: block; max-width: 100%; height: auto; }
body { margin: 0; }

:root {
  color-scheme: light;
  --bg: #faf5f3;
  --ink: #30232b;
  --muted: #66545e;
  --surface: #fffaf7;
  --surface-hover: #f6e9e8;
  --line: #decccf;
  --line-hover: #96505e;
  --accent: #842f46;
  --accent-hover: #642036;
  --on-accent: #fff9f5;
  --dark: #241b20;
  --on-dark: #fff3eb;
  --dark-muted: #d8c4cc;
  --dark-line: #66505a;
  --shadow: 0 12px 32px rgba(132, 47, 70, .10);
  --shadow-hover: 0 18px 40px rgba(132, 47, 70, .17);
  --radius: 18px;
  --radius-small: 10px;
  --body-size: clamp(16px, 1rem + .3vw, 18px);
  --small: 14px;
  --h1: clamp(34px, 4.7vw, 62px);
  --h2: clamp(28px, 3vw, 40px);
  --h3: clamp(20px, 1.7vw, 26px);
  --brand-size: 22px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: clamp(56px, 7vw, 88px);
  --shell: 1160px;
}

html { scroll-behavior: smooth; background: var(--bg); color: var(--ink); }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: var(--body-size);
  line-height: 1.65;
  overflow-wrap: anywhere;
}
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { color: inherit; line-height: 1.2; }
h1 { font-size: var(--h1); letter-spacing: 1px; }
h2 { font-size: var(--h2); letter-spacing: 1px; }
h3 { font-size: var(--h3); }
a { color: var(--accent); text-underline-offset: 4px; }
button, summary { font: inherit; }
button { cursor: pointer; }
a, button, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
[hidden] { display: none !important; }
.shell { width: min(var(--shell), calc(100% - var(--space-4))); margin-inline: auto; }
section { scroll-margin-top: var(--space-3); }
.skip-link {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  z-index: 20;
  padding: var(--space-2);
  transform: translateY(-180%);
  background: var(--surface);
  color: var(--accent);
  border-radius: var(--radius-small);
}
.skip-link:focus { transform: none; }
.masthead { background: var(--dark); color: var(--on-dark); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding-block: var(--space-2);
}
.brand {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  min-height: 44px;
  color: var(--on-dark);
  text-decoration: none;
}
.brand > span:first-child { font-size: var(--h2); }
.brand strong { font-size: var(--brand-size); }
.brand small {
  display: block;
  color: var(--dark-muted);
  font-size: var(--small);
  letter-spacing: 1px;
}
.menu { position: relative; }
.menu summary {
  min-height: 44px;
  padding: var(--space-1) var(--space-2);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-small);
  background: var(--dark);
  color: var(--on-dark);
  cursor: pointer;
}
.menu nav {
  position: absolute;
  inset: calc(100% + var(--space-1)) 0 auto auto;
  z-index: 10;
  display: grid;
  gap: var(--space-1);
  width: min(280px, calc(100vw - var(--space-4)));
  padding: var(--space-2);
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.menu nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: var(--space-1) var(--space-2);
  border: 1px solid transparent;
  border-radius: var(--radius-small);
  text-decoration: none;
}
.menu nav a:hover { background: var(--surface-hover); color: var(--accent); border-color: var(--line-hover); }
.hero { display: grid; gap: var(--space-4); padding-block: var(--space-6); align-items: center; }
.hero > *, .feature > *, .story > *, .about-layout > * { min-width: 0; }
.eyebrow {
  color: var(--accent);
  font-size: var(--small);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: var(--space-2);
}
.hero-intro { margin-top: var(--space-3); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-3); }
.button, .carousel-controls button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--accent);
  border-radius: var(--radius-small);
  background: var(--accent);
  color: var(--on-accent);
  text-decoration: none;
  font-weight: 700;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.button:hover, .carousel-controls button:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
  border-color: var(--accent-hover);
  box-shadow: var(--shadow-hover);
}
.button.secondary { background: var(--surface); color: var(--accent); border-color: var(--line); }
.button.secondary:hover { background: var(--surface-hover); color: var(--accent); border-color: var(--line-hover); }
.tags { display: flex; flex-wrap: wrap; gap: var(--space-1); padding: 0; margin: var(--space-3) 0; list-style: none; }
.tags li {
  font-size: var(--small);
  padding: var(--space-1) var(--space-2);
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
}
.motto { color: var(--accent); }
.hero-figure {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.hero-figure img { width: 100%; aspect-ratio: 16 / 9; }
.hero-figure figcaption { padding: var(--space-3); }
.hero-figure figcaption span { display: block; font-size: var(--small); color: var(--muted); margin-bottom: var(--space-1); }
.hero-figure figcaption strong { display: block; font-size: var(--h3); line-height: 1.4; }
.section { padding-block: var(--space-6); }
.section-heading { margin-bottom: var(--space-4); }
.section-heading > p:last-child { color: var(--muted); margin-top: var(--space-2); }
.panel, .card {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.feature { display: grid; overflow: hidden; }
.feature figure { padding: var(--space-2); }
.feature figure img { width: 100%; border-radius: var(--radius-small); }
.feature-copy, .story-copy { padding: var(--space-3); }
.feature-copy > p:not(.eyebrow), .story-copy > p:not(.eyebrow) { margin-top: var(--space-2); }
.feature-copy h3 { font-size: var(--h2); }
.hook { color: var(--accent); font-weight: 700; }
.facts { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); margin-block: var(--space-3); }
.facts div { min-width: 0; }
.facts dt { color: var(--muted); font-size: var(--small); }
.facts dd { font-weight: 700; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: var(--space-2); }
.band { background: var(--dark); color: var(--on-dark); }
.band .section-heading > p:last-child, .band .editor-note { color: var(--dark-muted); }
.band .section-heading .eyebrow { color: var(--dark-muted); }
.carousel-controls { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3); }
.carousel-controls p { min-width: 0; color: var(--on-dark); font-size: var(--small); }
.carousel-controls button { font-size: var(--small); }
.story-list { display: grid; gap: var(--space-3); }
.story { display: grid; overflow: hidden; }
.story > img { width: 100%; }
.story-copy h3 { font-size: var(--h2); }
.editor-note { margin-top: var(--space-3); font-size: var(--small); }
.grid, .faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: var(--space-3); }
.card {
  min-width: 0;
  padding: var(--space-3);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-hover); box-shadow: var(--shadow-hover); }
.card p { margin-top: var(--space-2); color: var(--muted); }
.card-number { display: block; font-size: var(--small); color: var(--accent); margin-bottom: var(--space-3); }
.ledger { border-top: 1px solid var(--line); }
.ledger > div { display: grid; gap: var(--space-2); padding-block: var(--space-3); border-bottom: 1px solid var(--line); }
.ledger dt { color: var(--ink); font-weight: 700; }
.ledger dd { color: var(--muted); }
.about-layout { display: grid; gap: var(--space-4); }
.about-points { padding: 0; margin: var(--space-3) 0 0; list-style: none; display: grid; gap: var(--space-2); }
.about-points li { display: grid; gap: var(--space-1); padding-top: var(--space-2); border-top: 1px solid var(--dark-line); }
.about-points span { color: var(--dark-muted); }
.topic-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-3);
  padding: var(--space-3);
  background: var(--surface-hover);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.topic-note p { flex: 1 1 280px; min-width: 0; }
.steps { display: grid; gap: var(--space-3); margin: 0 0 var(--space-4); padding-left: var(--space-3); }
.steps li { padding-left: var(--space-1); }
.steps li::marker { color: var(--accent); font-weight: 700; }
.steps p { margin-top: var(--space-1); color: var(--muted); }
.table-wrap { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; background: var(--surface); color: var(--ink); }
caption { text-align: left; padding: var(--space-2); color: var(--muted); font-size: var(--small); }
th, td { text-align: left; vertical-align: top; padding: var(--space-2); border-top: 1px solid var(--line); }
thead { background: var(--surface-hover); color: var(--ink); }
td a { display: inline-flex; align-items: center; min-height: 44px; }
.footer { padding-block: var(--space-4); background: var(--dark); color: var(--on-dark); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); }
.footer p, .footer-links { font-size: var(--small); color: var(--dark-muted); }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); }
.footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark); }
.footer :focus-visible, .masthead :focus-visible, .carousel-controls :focus-visible { outline-color: var(--on-dark); }

@media (min-width: 600px) {
  .feature { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
  .story { grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); align-items: start; }
  .feature-copy, .story-copy { padding: var(--space-4); }
  .ledger > div { grid-template-columns: minmax(0, 180px) minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--space-5); }
}
@media (min-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-5); }
  .feature { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
  .feature-copy { padding: var(--space-5); }
  .story { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); }
  .about-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--space-5); }
  .faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .menu { width: 100%; }
  .menu summary { width: fit-content; }
  .menu nav { position: static; width: 100%; margin-top: var(--space-1); grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story > img { max-width: min(100%, 320px); margin-inline: auto; margin-top: var(--space-2); border-radius: var(--radius-small); }
  .feature figure { max-width: min(100%, 360px); margin-inline: auto; }
  .carousel-controls p { flex: 1 1 100%; order: -1; }
  .carousel-controls button { padding-inline: var(--space-2); }
  table { font-size: var(--small); }
  th, td { padding: var(--space-1); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .button, .carousel-controls button { transition: none; }
  .card:hover { transform: none; }
}
