
:root {
  color-scheme: light;
  --bg: #fbfbf8;
  --paper: #ffffff;
  --ink: #171717;
  --muted: #5e6268;
  --line: #e7e0dc;
  --soft: #f5f1ee;
  --berry: #b61935;
  --berry-dark: #7f1024;
  --leaf: #2d7455;
  --shadow: 0 24px 70px rgba(80, 38, 43, .12);
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.72; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
  background: rgba(251, 251, 248, .88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(231, 224, 220, .76);
}
.brand-mark { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #fff 0 10%, transparent 11%),
    radial-gradient(circle at 60% 62%, #d9284f 0 14%, transparent 15%),
    var(--berry);
  box-shadow: inset -5px -6px 0 rgba(73, 8, 21, .2);
  flex: 0 0 auto;
}
.brand-mark strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 15px; letter-spacing: 0; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: 8px 11px; border: 1px solid transparent; color: #3b3f45; font-size: 14px; }
.site-nav a:hover, .site-nav a:focus { border-color: var(--line); background: #fff; color: var(--berry-dark); }
.menu-button { display: none; border: 1px solid var(--line); background: #fff; padding: 8px 12px; color: var(--ink); }
.home-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 24px 42px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, 1.08fr);
  gap: 42px;
  align-items: center;
}
.hero-copy { min-width: 0; }
.eyebrow { color: var(--berry-dark); font-weight: 800; font-size: 13px; margin: 0 0 12px; }
h1, h2, h3 { line-height: 1.16; letter-spacing: 0; margin: 0; }
h1 { font-size: clamp(34px, 4.8vw, 58px); max-width: 920px; }
h2 { font-size: clamp(24px, 3vw, 38px); }
.hero-lead, .inner-hero p, .section-head p { color: var(--muted); font-size: 18px; margin: 22px 0 0; max-width: 760px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 800;
}
.button.primary { background: var(--berry); color: #fff; border-color: var(--berry); }
.button.ghost:hover, .button.ghost:focus { border-color: var(--berry); color: var(--berry-dark); }
.quickline {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.quickline li { border: 1px solid var(--line); background: rgba(255,255,255,.75); padding: 7px 10px; color: #46484c; font-size: 13px; }
.hero-visual {
  margin: 0;
  background: #fff;
  border: 1px solid #eee5e0;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-visual img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; height: 100%; }
.thin-board, .split-section, .route-table-section, .article-ledger, .faq-compact, .page-shell, .article-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 24px;
}
.thin-board {
  display: grid;
  grid-template-columns: minmax(220px, .34fr) minmax(0, .66fr);
  gap: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.task-rows { display: grid; gap: 0; background: #fff; border: 1px solid var(--line); }
.task-row { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.task-row:last-child { border-bottom: 0; }
.task-row strong { color: var(--berry-dark); }
.task-row span { color: var(--muted); }
.split-section { display: grid; grid-template-columns: .42fr .58fr; gap: 32px; align-items: start; }
.split-section p { color: var(--muted); margin-top: 16px; }
.platform-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); background: #fff; }
.platform-strip a { padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.platform-strip a:nth-child(2n) { border-right: 0; }
.platform-strip a:nth-last-child(-n+2) { border-bottom: 0; }
.platform-strip span { display: block; font-weight: 900; color: var(--ink); }
.platform-strip small { display: block; color: var(--muted); margin-top: 5px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin-bottom: 20px; }
.section-head a { color: var(--berry-dark); font-weight: 800; border-bottom: 1px solid currentColor; }
.simple-table { border: 1px solid var(--line); background: #fff; overflow: hidden; }
.table-row { display: grid; grid-template-columns: .7fr 1fr 1.2fr; border-bottom: 1px solid var(--line); }
.table-row:last-child { border-bottom: 0; }
.table-row > * { padding: 16px 18px; border-right: 1px solid var(--line); }
.table-row > *:last-child { border-right: 0; }
.table-row.head { background: var(--soft); color: #303236; }
.article-list { display: grid; border-top: 1px solid var(--line); }
.article-list article { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.42); }
.article-list a { display: grid; grid-template-columns: 110px minmax(180px, .56fr) minmax(0, 1fr); gap: 18px; padding: 20px 0; align-items: start; }
.article-list time { color: var(--berry-dark); font-weight: 800; font-size: 13px; }
.article-list strong { font-size: 18px; line-height: 1.35; }
.article-list span { color: var(--muted); }
.article-list.compact a { grid-template-columns: 92px 1fr; }
.article-list.compact span { grid-column: 2; }
.faq-compact { display: grid; grid-template-columns: .3fr .7fr; gap: 28px; }
.faq-lines { display: grid; gap: 10px; }
details { background: #fff; border: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 900; padding: 16px 18px; }
details p { color: var(--muted); margin: 0; padding: 0 18px 18px; }
.inner-hero {
  padding: 46px 0 34px;
  border-bottom: 1px solid var(--line);
}
.inner-hero h1 { font-size: clamp(32px, 5vw, 60px); }
.device-matrix, .pricing-board, .help-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: #fff;
  margin-top: 34px;
}
.device-matrix article, .pricing-board article, .help-groups a {
  padding: 22px;
  border-right: 1px solid var(--line);
  min-width: 0;
}
.device-matrix article:last-child, .pricing-board article:last-child, .help-groups a:last-child { border-right: 0; }
.device-matrix h2, .pricing-board h2 { font-size: 21px; }
.matrix-line, .pricing-board small { display: block; color: var(--berry-dark); font-weight: 800; margin: 12px 0; }
.device-matrix p, .pricing-board p, .help-groups span { color: var(--muted); }
.checklist-panel, .notice-band, .related-panel, .policy-text, .contact-desk {
  margin-top: 34px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px;
}
.step-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.step-list li { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.step-list span { color: var(--muted); }
.text-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 34px; }
.text-columns article { background: #fff; border: 1px solid var(--line); padding: 26px; }
.text-columns.uneven { grid-template-columns: .58fr .42fr; }
.notice-band p, .policy-text p, .contact-desk p { color: var(--muted); }
.notice-band .button { margin-top: 12px; }
.help-groups a strong { display: block; color: var(--berry-dark); margin-bottom: 8px; }
.faq-lines.wide { margin-top: 28px; }
.contact-desk { display: grid; grid-template-columns: .45fr .55fr; gap: 30px; }
.contact-desk form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 800; }
input, textarea { width: 100%; border: 1px solid var(--line); padding: 12px; font: inherit; background: var(--bg); color: var(--ink); }
.policy-text h2 { margin-top: 24px; }
.policy-text h2:first-child { margin-top: 0; }
.article-shell { display: grid; grid-template-columns: minmax(0, .72fr) 300px; gap: 42px; align-items: start; }
.article-body { background: #fff; border: 1px solid var(--line); padding: 34px; }
.article-body h1 { font-size: clamp(30px, 4vw, 56px); }
.article-body time { display: inline-block; color: var(--berry-dark); font-weight: 800; margin: 18px 0 10px; }
.article-summary { color: var(--muted); font-size: 18px; }
.article-body section { margin-top: 32px; }
.article-body p { color: #383d42; }
.back-link { display: inline-block; color: var(--berry-dark); font-weight: 800; margin-bottom: 20px; }
.article-side { position: sticky; top: 88px; display: grid; gap: 12px; }
.article-side a { display: grid; gap: 4px; background: #fff; border: 1px solid var(--line); padding: 16px; }
.article-side time { color: var(--berry-dark); font-size: 12px; font-weight: 800; }
.site-footer {
  max-width: 1180px;
  margin: 42px auto 0;
  padding: 32px 24px 44px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: .35fr .65fr;
  gap: 30px;
}
.site-footer p { color: var(--muted); margin: 8px 0 0; }
.site-footer nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.site-footer h2 { font-size: 14px; margin-bottom: 8px; color: var(--berry-dark); }
.site-footer a { display: block; color: #46484c; padding: 4px 0; font-size: 14px; }
[id] { scroll-margin-top: 96px; }
@media (max-width: 860px) {
  .site-header { padding: 14px 16px; }
  .menu-button { display: inline-flex; }
  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--line);
    padding: 8px;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .home-hero, .thin-board, .split-section, .faq-compact, .article-shell, .site-footer, .contact-desk, .text-columns, .text-columns.uneven {
    grid-template-columns: 1fr;
  }
  .home-hero { padding-top: 32px; gap: 24px; }
  h1 { font-size: clamp(32px, 12vw, 48px); }
  .platform-strip, .device-matrix, .pricing-board, .help-groups, .site-footer nav {
    grid-template-columns: 1fr;
  }
  .platform-strip a, .device-matrix article, .pricing-board article, .help-groups a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .platform-strip a:last-child, .device-matrix article:last-child, .pricing-board article:last-child, .help-groups a:last-child {
    border-bottom: 0;
  }
  .task-row, .step-list li, .table-row, .article-list a, .article-list.compact a {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .table-row.head { display: none; }
  .table-row { padding: 14px 0; }
  .table-row > * { border-right: 0; padding: 6px 16px; }
  .section-head { align-items: start; flex-direction: column; }
  .article-body { padding: 24px 18px; }
  .article-side { position: static; }
}
@media (max-width: 420px) {
  .home-hero, .thin-board, .split-section, .route-table-section, .article-ledger, .faq-compact, .page-shell, .article-shell {
    padding-left: 16px;
    padding-right: 16px;
  }
  .brand-mark strong { max-width: 190px; }
  .hero-actions .button { width: 100%; }
}
