:root {
  --ink: #202626;
  --muted: #66706f;
  --line: #d8dfdd;
  --paper: #ffffff;
  --mist: #f2f5f4;
  --ochre: #8a6424;
  --ochre-dark: #674714;
  --ochre-soft: #f5ecdc;
  --teal: #3d7772;
  --teal-soft: #e3efed;
  --footer: #1f302f;
  --shell: min(1160px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
}

.header-shell {
  width: var(--shell);
  height: 70px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  color: #314441;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
}

.site-menu {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-menu a {
  min-height: 42px;
  padding: 8px 13px;
  border-bottom: 2px solid transparent;
  color: #46504f;
}

.site-menu a:hover,
.site-menu a.active {
  color: var(--ochre-dark);
  border-bottom-color: var(--ochre);
}

.header-actions,
.hero-actions,
.final-buttons,
.manual-download nav,
.faq-download nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-width: 126px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 19px;
  border: 1px solid var(--ochre);
  border-radius: 5px;
  background: var(--ochre);
  color: #ffffff;
  font-weight: 800;
  line-height: 1.2;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  background: var(--ochre-dark);
  border-color: var(--ochre-dark);
  transform: translateY(-1px);
}

.button-small {
  min-width: 90px;
  min-height: 40px;
  padding: 8px 13px;
  font-size: 14px;
}

.button-outline {
  background: transparent;
  color: var(--ochre-dark);
}

.button-outline:hover {
  color: #ffffff;
}

.button-light {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--footer);
}

.button-light:hover {
  border-color: var(--ochre-soft);
  background: var(--ochre-soft);
  color: var(--footer);
}

.button-light-outline {
  border-color: rgba(255, 255, 255, 0.72);
  background: transparent;
  color: #ffffff;
}

.button-light-outline:hover {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--footer);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #ffffff;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.brief-hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--mist);
}

.hero-shell {
  width: var(--shell);
  min-height: 530px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(390px, 0.82fr);
  align-items: center;
  gap: 56px;
  padding: 42px 0 34px;
}

.eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--ochre-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-copy h1,
.manual-hero h1,
.faq-hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-copy > p {
  max-width: 650px;
  margin: 20px 0 0;
  color: #4e5958;
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions {
  margin-top: 24px;
}

.hero-facts {
  margin: 26px 0 0;
  padding: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #cfd7d5;
}

.hero-facts div {
  padding-right: 14px;
}

.hero-facts div + div {
  padding-left: 14px;
  border-left: 1px solid #cfd7d5;
}

.hero-facts dt {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.hero-facts dd {
  margin: 2px 0 0;
  color: #394241;
  font-size: 14px;
}

.hero-media {
  position: relative;
  height: 426px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.permission-frame,
.freeze-inset {
  margin: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #cfd6d4;
  box-shadow: 0 18px 40px rgba(32, 38, 38, 0.1);
}

.permission-frame {
  position: absolute;
  left: 32px;
  top: 8px;
  width: 250px;
  height: 410px;
  padding: 38px 10px 10px;
  border-radius: 6px;
}

.permission-frame .figure-index {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 34px;
  padding: 6px 11px;
  background: var(--ochre-soft);
  color: var(--ochre-dark);
  font-size: 12px;
  font-weight: 900;
}

.permission-frame img {
  width: 100%;
  max-width: 400px;
}

.freeze-inset {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 36px;
  width: 208px;
  height: 230px;
  padding: 34px 9px 9px;
  border-radius: 5px;
}

.freeze-inset > span {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 32px;
  padding: 5px 9px;
  border-bottom: 1px solid var(--line);
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.freeze-inset img {
  width: 100%;
  max-width: 400px;
  transform: translateY(-80px);
}

.checkpoint-rail {
  width: 100%;
  min-height: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--footer);
  color: #ffffff;
}

.checkpoint-rail div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 13px;
  padding: 17px max(24px, calc((100vw - 1160px) / 6));
}

.checkpoint-rail div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.checkpoint-rail b {
  color: #d9c18d;
  font-size: 13px;
}

.checkpoint-rail span {
  font-size: 14px;
  line-height: 1.6;
}

.content-shell {
  width: var(--shell);
  margin: 0 auto;
}

.status-section,
.feature-section,
.preview-section,
.freeze-section,
.faq-preview {
  padding: 78px 0;
}

.feature-section,
.faq-preview {
  background: var(--mist);
}

.section-label {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.section-label span {
  padding-bottom: 12px;
  color: var(--ochre);
  font-size: 12px;
  font-weight: 900;
}

.section-label h2 {
  margin: 0 0 -1px;
  padding: 0 0 11px;
  border-bottom: 3px solid var(--ochre);
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: 0;
}

.status-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 64px;
  align-items: start;
}

.status-copy h3 {
  margin: 0 0 14px;
  font-size: 26px;
}

.status-copy > div {
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--teal);
  font-weight: 800;
  border-bottom: 1px solid var(--teal);
}

.status-sequence {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: status;
}

.status-sequence li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.status-sequence li:last-child {
  border-bottom: 1px solid var(--line);
}

.status-sequence b {
  color: var(--teal);
}

.status-sequence span {
  color: var(--muted);
}

.feature-ledger {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #cdd5d3;
  border-left: 1px solid #cdd5d3;
}

.feature-ledger article {
  min-height: 208px;
  padding: 28px;
  border-right: 1px solid #cdd5d3;
  border-bottom: 1px solid #cdd5d3;
  background: #ffffff;
}

.feature-ledger article > b {
  color: var(--ochre);
  font-size: 13px;
}

.feature-ledger h3 {
  margin: 8px 0 11px;
  font-size: 22px;
}

.feature-ledger article > div {
  color: var(--muted);
}

.preview-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.preview-track figure {
  margin: 0;
  min-width: 0;
}

.image-window {
  height: 430px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.image-window img {
  width: min(100%, 319px);
  max-width: 400px;
  align-self: flex-start;
}

.image-window-low img {
  transform: translateY(-18px);
}

.image-window-account img {
  width: min(100%, 399px);
}

.preview-track figcaption {
  padding: 17px 4px 0;
  display: grid;
  gap: 5px;
}

.preview-track figcaption b {
  font-size: 18px;
}

.preview-track figcaption span {
  color: var(--muted);
  font-size: 14px;
}

.freeze-section {
  background: var(--teal-soft);
}

.freeze-layout {
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  gap: 70px;
}

.freeze-title > span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.freeze-title h2 {
  margin: 8px 0 16px;
  font-size: 34px;
}

.freeze-title > div {
  color: #53615f;
}

.freeze-rules {
  display: grid;
  gap: 12px;
}

.freeze-rules article {
  display: grid;
  grid-template-columns: 106px 1fr;
  gap: 18px;
  padding: 18px 20px;
  border-left: 3px solid var(--teal);
  background: rgba(255, 255, 255, 0.72);
}

.freeze-rules b {
  color: #285a56;
}

.freeze-rules span {
  color: #53615f;
}

.question-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.question-grid a {
  min-height: 176px;
  padding: 25px;
  display: grid;
  align-content: space-between;
  background: #ffffff;
}

.question-grid a:hover b {
  color: var(--ochre-dark);
}

.question-grid b {
  font-size: 18px;
  line-height: 1.55;
}

.question-grid span {
  color: var(--muted);
  font-size: 14px;
}

.final-action {
  padding: 50px 0;
  background: var(--footer);
  color: #ffffff;
}

.final-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.final-layout span,
.manual-download span,
.faq-download span {
  color: #d9c18d;
  font-size: 12px;
  font-weight: 900;
}

.final-layout h2,
.manual-download h2,
.faq-download h2 {
  margin: 5px 0;
  font-size: 28px;
  line-height: 1.35;
}

.final-layout > div > div,
.manual-download > div > div,
.faq-download > div > div {
  color: rgba(255, 255, 255, 0.74);
}

.site-footer {
  padding: 42px 0;
  background: #192120;
  color: rgba(255, 255, 255, 0.72);
}

.footer-shell {
  width: var(--shell);
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #ffffff;
}

.footer-brand img {
  border-radius: 7px;
}

.footer-shell nav {
  margin: 18px 0;
  display: flex;
  justify-content: center;
  gap: 26px;
}

.footer-shell nav a:hover {
  color: #ffffff;
}

.footer-shell p {
  margin: 0 auto 10px;
  max-width: 760px;
  font-size: 13px;
}

.footer-shell small {
  display: block;
  font-size: 12px;
}

.manual-main,
.faq-main {
  background: var(--mist);
}

.manual-hero,
.faq-hero {
  padding: 64px 0 54px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.manual-shell {
  width: var(--shell);
  margin: 0 auto;
}

.manual-hero h1,
.faq-hero h1 {
  font-size: clamp(36px, 4vw, 52px);
}

.manual-intro {
  max-width: 790px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}

.manual-body {
  width: var(--shell);
  margin: 0 auto;
  padding: 54px 0 80px;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.manual-index {
  position: sticky;
  top: 24px;
  display: grid;
  border-top: 3px solid var(--ochre);
  background: #ffffff;
}

.manual-index strong {
  padding: 15px 17px;
  color: var(--ochre-dark);
}

.manual-index a {
  padding: 11px 17px;
  display: grid;
  grid-template-columns: 27px 1fr;
  gap: 8px;
  border-top: 1px solid var(--line);
  color: #505a59;
  font-size: 14px;
}

.manual-index a:hover {
  color: var(--teal);
}

.manual-index span {
  color: var(--ochre);
  font-size: 12px;
  font-weight: 900;
}

.manual-pages {
  min-width: 0;
}

.manual-page {
  scroll-margin-top: 30px;
  padding: 34px 38px;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.manual-page:first-child {
  border-top: 3px solid var(--teal);
}

.manual-page + .manual-page {
  margin-top: 18px;
}

.manual-page header span {
  color: var(--ochre);
  font-size: 12px;
  font-weight: 900;
}

.manual-page h2 {
  margin: 6px 0 18px;
  font-size: 27px;
  line-height: 1.4;
}

.manual-page p {
  margin: 0;
  color: #505a59;
}

.manual-page p + p {
  margin-top: 14px;
}

.manual-page a {
  color: var(--teal);
  font-weight: 800;
  border-bottom: 1px solid var(--teal);
}

.manual-callout {
  margin-top: 20px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 14px;
  background: var(--ochre-soft);
  color: #554524;
}

.manual-page-image {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 34px;
  align-items: center;
}

.manual-page-image.reverse {
  grid-template-columns: minmax(0, 1fr) 240px;
}

.manual-page-image figure {
  margin: 0;
}

.manual-page-image figure img {
  width: 100%;
  max-width: 400px;
  max-height: 410px;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--line);
}

.manual-page-image figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.manual-download,
.faq-download {
  margin-top: 18px;
  padding: 28px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  background: var(--footer);
  color: #ffffff;
}

.faq-workspace {
  width: var(--shell);
  margin: 0 auto;
  padding: 54px 0 80px;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

.faq-side {
  position: sticky;
  top: 24px;
  padding: 22px;
  background: var(--teal-soft);
  border-top: 3px solid var(--teal);
}

.faq-side > span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.faq-side ol {
  margin: 15px 0 20px;
  padding-left: 22px;
  color: #53615f;
}

.faq-side a {
  color: var(--teal);
  font-weight: 800;
  border-bottom: 1px solid var(--teal);
}

.faq-list details {
  scroll-margin-top: 26px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.faq-list details:last-of-type {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 20px 54px 20px 22px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 23px;
  top: 19px;
  color: var(--ochre);
  font-size: 24px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list summary span {
  color: var(--ochre);
  font-size: 12px;
}

.faq-list details > div {
  padding: 0 56px 22px 64px;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .header-actions {
    display: none;
  }

  .header-shell {
    grid-template-columns: auto 1fr;
  }

  .site-menu {
    justify-self: end;
  }

  .hero-shell {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 32px;
  }

  .permission-frame {
    left: 0;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 32px, 720px);
  }

  .site-header {
    position: relative;
  }

  .header-shell {
    height: 64px;
    grid-template-columns: 1fr auto;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .menu-button {
    display: block;
  }

  .site-menu {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    padding: 10px 16px 16px;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(32, 38, 38, 0.08);
  }

  .site-menu.open {
    display: grid;
  }

  .site-menu a {
    padding: 10px 4px;
    border-bottom: 1px solid var(--line);
  }

  .hero-shell {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px 0 18px;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-copy > p {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.75;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .hero-facts {
    margin-top: 18px;
    padding-top: 13px;
  }

  .hero-media {
    height: 215px;
    justify-content: flex-start;
  }

  .permission-frame {
    left: 0;
    top: 0;
    width: 138px;
    height: 204px;
    padding: 28px 6px 6px;
  }

  .permission-frame .figure-index {
    height: 25px;
    padding: 3px 6px;
    font-size: 10px;
  }

  .freeze-inset {
    right: 0;
    bottom: 11px;
    width: calc(100% - 150px);
    height: 171px;
    padding-top: 28px;
  }

  .freeze-inset > span {
    height: 27px;
    padding: 3px 8px;
    font-size: 11px;
  }

  .freeze-inset img {
    width: 190px;
    margin: 0 auto;
    transform: translateY(-88px);
  }

  .checkpoint-rail {
    grid-template-columns: 1fr;
  }

  .checkpoint-rail div {
    min-height: 48px;
    padding: 10px 16px;
  }

  .checkpoint-rail div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-left: 0;
  }

  .status-section,
  .feature-section,
  .preview-section,
  .freeze-section,
  .faq-preview {
    padding: 58px 0;
  }

  .status-layout,
  .freeze-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .preview-track {
    grid-template-columns: 1fr;
  }

  .image-window {
    height: 420px;
  }

  .question-grid {
    grid-template-columns: 1fr;
  }

  .question-grid a {
    min-height: 130px;
  }

  .final-layout,
  .manual-download,
  .faq-download {
    align-items: flex-start;
    flex-direction: column;
  }

  .manual-body,
  .faq-workspace {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .manual-index,
  .faq-side {
    position: static;
  }

  .manual-index {
    grid-template-columns: repeat(3, 1fr);
  }

  .manual-index strong {
    grid-column: 1 / -1;
  }

  .manual-page-image,
  .manual-page-image.reverse {
    grid-template-columns: 1fr;
  }

  .manual-page-image figure img {
    width: 280px;
  }
}

@media (max-width: 520px) {
  :root {
    --shell: calc(100% - 32px);
  }

  .hero-copy h1,
  .manual-hero h1,
  .faq-hero h1 {
    font-size: 32px;
  }

  .eyebrow {
    margin-bottom: 8px;
  }

  .hero-actions,
  .final-buttons,
  .manual-download nav,
  .faq-download nav {
    width: 100%;
  }

  .hero-actions .button,
  .final-buttons .button,
  .manual-download nav .button,
  .faq-download nav .button {
    flex: 1;
    min-width: 0;
  }

  .hero-facts dd {
    font-size: 12px;
  }

  .checkpoint-rail div:nth-child(3) {
    display: none;
  }

  .section-label {
    margin-bottom: 26px;
  }

  .section-label h2 {
    font-size: 27px;
  }

  .feature-ledger {
    grid-template-columns: 1fr;
  }

  .feature-ledger article {
    min-height: 0;
    padding: 23px;
  }

  .status-sequence li,
  .freeze-rules article {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .image-window {
    height: 400px;
  }

  .final-action {
    padding: 40px 0;
  }

  .footer-shell nav {
    gap: 16px;
    font-size: 14px;
  }

  .manual-hero,
  .faq-hero {
    padding: 42px 0 38px;
  }

  .manual-intro {
    font-size: 16px;
  }

  .manual-body,
  .faq-workspace {
    padding: 34px 0 56px;
  }

  .manual-index {
    grid-template-columns: repeat(2, 1fr);
  }

  .manual-page {
    padding: 27px 22px;
  }

  .manual-page h2 {
    font-size: 23px;
  }

  .manual-callout {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .manual-download,
  .faq-download {
    padding: 25px 22px;
  }

  .faq-list summary {
    padding: 18px 48px 18px 18px;
    grid-template-columns: 34px 1fr;
    line-height: 1.55;
  }

  .faq-list summary::after {
    right: 18px;
  }

  .faq-list details > div {
    padding: 0 20px 20px 52px;
  }
}
