:root {
  --chestnut: #6b3326;
  --chestnut-dark: #3d251f;
  --honey: #f2b544;
  --paper: #fff9f0;
  --cream: #f7ead8;
  --leaf: #55745b;
  --ink: #282321;
  --muted: #6f6661;
  --line: #dfd2c3;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(61, 37, 31, 0.14);
  --radius: 8px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
}

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

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

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

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--white);
  background: var(--chestnut);
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 249, 240, 0.96);
  border-bottom: 1px solid rgba(107, 51, 38, 0.14);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(61, 37, 31, 0.08);
}

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

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  font-size: 20px;
  font-weight: 800;
  color: var(--chestnut-dark);
}

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

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

.site-nav a {
  padding: 9px 13px;
  border-bottom: 2px solid transparent;
  color: #4f4642;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--chestnut);
  border-bottom-color: var(--honey);
}

.site-nav .nav-download {
  margin-left: 8px;
  padding: 10px 18px;
  color: var(--white);
  background: var(--chestnut);
  border: 1px solid var(--chestnut);
  border-radius: 6px;
}

.site-nav .nav-download:hover {
  color: var(--white);
  background: var(--chestnut-dark);
  border-bottom-color: var(--chestnut-dark);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: var(--chestnut-dark);
}

.hero {
  position: relative;
  min-height: min(660px, calc(100svh - 108px));
  overflow: hidden;
  background: #f4e2c9;
  border-bottom: 8px solid var(--honey);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: inherit;
  align-items: center;
}

.hero-copy {
  width: min(630px, 60%);
  padding: 72px 0 82px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  color: var(--leaf);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--chestnut-dark);
  line-height: 1.24;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(40px, 6vw, 72px);
}

.hero-copy .lead {
  max-width: 620px;
  margin: 0 0 28px;
  color: #4d433f;
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--chestnut);
  border-radius: 6px;
  font-weight: 800;
  transition: transform 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--chestnut);
}

.button.secondary {
  color: var(--chestnut);
  background: transparent;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 26px 0 0;
  padding: 0;
  color: #5a514c;
  list-style: none;
  font-size: 14px;
  font-weight: 700;
}

.hero-meta li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  background: var(--leaf);
  border-radius: 50%;
}

.hero-stage {
  position: absolute;
  z-index: 1;
  top: 36px;
  right: max(3vw, calc((100vw - var(--container)) / 2));
  width: 430px;
  height: 600px;
  pointer-events: none;
}

.hero-stage::before {
  position: absolute;
  right: -70px;
  bottom: 44px;
  width: 410px;
  height: 360px;
  background: var(--honey);
  border: 12px solid var(--chestnut-dark);
  transform: rotate(-5deg);
  content: "";
}

.phone-shot {
  position: absolute;
  width: 230px;
  max-width: 400px;
  border: 8px solid var(--chestnut-dark);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.phone-shot.main {
  top: 0;
  right: 50px;
  z-index: 2;
  transform: rotate(2deg);
}

.phone-shot.side {
  right: 250px;
  bottom: 10px;
  z-index: 1;
  width: 190px;
  transform: rotate(-7deg);
}

.facts-band {
  background: var(--chestnut-dark);
  color: var(--white);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 24px 0;
  list-style: none;
}

.facts-grid li {
  padding: 2px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.facts-grid li:last-child {
  border-right: 0;
}

.facts-grid strong,
.facts-grid span {
  display: block;
}

.facts-grid strong {
  color: var(--honey);
  font-size: 22px;
}

.facts-grid span {
  color: #eadfd9;
  font-size: 13px;
}

.section {
  padding: 88px 0;
}

.section.alt {
  background: #f2e7d9;
}

.section-title {
  margin-bottom: 40px;
}

.section-title h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 46px);
}

.feature-ledger {
  border-top: 2px solid var(--chestnut);
}

.feature-row {
  display: grid;
  grid-template-columns: 80px 260px 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.feature-number {
  color: var(--honey);
  font-size: 30px;
  font-weight: 900;
}

.feature-row h3 {
  margin-bottom: 6px;
  font-size: 21px;
}

.feature-row p {
  margin: 0;
  color: var(--muted);
}

.shot-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 18px;
  overflow-x: auto;
  padding: 4px 4px 20px;
  scroll-snap-type: x mandatory;
}

.shot-item {
  min-width: 190px;
  margin: 0;
  scroll-snap-align: start;
}

.shot-item img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(61, 37, 31, 0.11);
}

.shot-item figcaption {
  padding-top: 12px;
  color: #594f4a;
  font-size: 14px;
}

.reading-path {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.path-step {
  position: relative;
  padding: 30px 28px;
  border-right: 1px solid var(--line);
}

.path-step:last-child {
  border-right: 0;
}

.path-step b {
  display: block;
  margin-bottom: 12px;
  color: var(--leaf);
  font-size: 13px;
}

.path-step h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.path-step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.split-band {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.split-band h2 {
  margin-bottom: 20px;
  font-size: clamp(30px, 4vw, 46px);
}

.split-band p {
  color: var(--muted);
}

.split-band .reader-image {
  width: min(100%, 360px);
  max-width: 400px;
  margin: 0 auto;
  border: 8px solid var(--chestnut-dark);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.quote-card {
  margin: 0;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.quote-card p {
  margin-top: 0;
  color: #4e4541;
}

.quote-card footer {
  color: var(--leaf);
  font-size: 14px;
  font-weight: 800;
}

.faq-list {
  border-top: 2px solid var(--chestnut);
}

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

.faq-list summary {
  position: relative;
  padding: 22px 48px 22px 0;
  color: var(--chestnut-dark);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 20px;
  right: 4px;
  width: 28px;
  height: 28px;
  color: var(--chestnut);
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "+";
  line-height: 25px;
  text-align: center;
}

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

.faq-list details p,
.faq-list details ol,
.faq-list details ul {
  margin: 0 0 22px;
  padding-right: 48px;
  color: var(--muted);
}

.more-link {
  display: inline-block;
  margin-top: 30px;
  color: var(--chestnut);
  border-bottom: 2px solid var(--honey);
  font-weight: 800;
}

.download-band {
  padding: 62px 0;
  color: var(--white);
  background: var(--leaf);
}

.download-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.download-band h2 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: clamp(28px, 4vw, 42px);
}

.download-band p {
  margin: 0;
  color: #edf4ee;
}

.download-band .button {
  flex: 0 0 auto;
  color: var(--chestnut-dark);
  background: var(--honey);
  border-color: var(--honey);
}

.site-footer {
  padding: 46px 0 28px;
  color: #cfc3bd;
  background: var(--chestnut-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 40px;
}

.site-footer .brand {
  color: var(--white);
}

.site-footer p {
  margin: 15px 0 0;
  font-size: 14px;
}

.site-footer h2 {
  margin-bottom: 14px;
  color: var(--honey);
  font-size: 15px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--white);
}

.copyright {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
}

.page-intro {
  padding: 74px 0 62px;
  background: #f4e2c9;
  border-bottom: 8px solid var(--honey);
}

.page-intro h1 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 66px);
}

.page-intro p {
  max-width: 820px;
  margin: 0;
  color: #514641;
  font-size: 18px;
}

.breadcrumbs {
  margin-bottom: 18px;
  color: var(--leaf);
  font-size: 14px;
  font-weight: 800;
}

.breadcrumbs a {
  border-bottom: 1px solid currentColor;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 54px;
  align-items: start;
}

.guide-main {
  min-width: 0;
}

.guide-step {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 22px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.guide-step:first-child {
  padding-top: 0;
  border-top: 0;
}

.step-marker {
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--chestnut);
  border-radius: 50%;
  font-size: 22px;
  font-weight: 900;
}

.guide-step h2 {
  margin-bottom: 12px;
  font-size: 27px;
}

.guide-step p {
  margin: 0 0 14px;
  color: var(--muted);
}

.guide-step ul,
.guide-step ol {
  margin: 12px 0 0;
  padding-left: 22px;
}

.inline-shot {
  width: min(100%, 320px);
  max-width: 400px;
  height: auto;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(61, 37, 31, 0.12);
}

.guide-aside {
  position: sticky;
  top: 100px;
  padding-left: 24px;
  border-left: 3px solid var(--honey);
}

.guide-aside h2 {
  margin-bottom: 14px;
  font-size: 20px;
}

.guide-aside ol {
  margin: 0;
  padding-left: 20px;
}

.guide-aside a {
  color: var(--muted);
}

.guide-aside a:hover {
  color: var(--chestnut);
}

.notice {
  margin: 26px 0;
  padding: 20px 22px;
  color: #3e4f42;
  background: #e4eee5;
  border-left: 4px solid var(--leaf);
  border-radius: 0 6px 6px 0;
}

.feature-chapter {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 44px;
  padding: 38px 0;
  border-top: 1px solid var(--line);
}

.feature-chapter:first-child {
  padding-top: 0;
  border-top: 0;
}

.feature-chapter h2 {
  position: sticky;
  top: 104px;
  margin-bottom: 0;
  font-size: 27px;
}

.feature-chapter h3 {
  margin: 22px 0 8px;
  font-size: 19px;
}

.feature-chapter h3:first-child {
  margin-top: 0;
}

.feature-chapter p,
.feature-chapter li {
  color: var(--muted);
}

.feature-chapter ul {
  padding-left: 22px;
}

.related-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.related-link {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.related-link strong {
  display: block;
  margin-bottom: 8px;
  color: var(--chestnut);
}

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

@media (max-width: 980px) {
  .hero-copy {
    width: 66%;
  }

  .hero-stage {
    right: -90px;
    opacity: 0.72;
  }

  .phone-shot.side {
    display: none;
  }

  .feature-row {
    grid-template-columns: 60px 210px 1fr;
  }

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

  .path-step:nth-child(2) {
    border-right: 0;
  }

  .path-step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-aside {
    position: static;
    order: -1;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .nav-wrap {
    min-height: 64px;
  }

  .brand {
    font-size: 18px;
  }

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

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    display: none;
    padding: 12px 14px 18px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 28px rgba(61, 37, 31, 0.12);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 11px 10px;
  }

  .site-nav .nav-download {
    margin: 4px 0 0;
    text-align: center;
  }

  .hero {
    min-height: calc(100svh - 138px);
  }

  .hero-inner {
    align-items: flex-start;
  }

  .hero-copy {
    width: 100%;
    padding: 54px 0 64px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .hero-copy .lead {
    font-size: 16px;
  }

  .hero-stage {
    top: auto;
    right: -110px;
    bottom: -220px;
    opacity: 0.13;
  }

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

  .facts-grid li:nth-child(2) {
    border-right: 0;
  }

  .facts-grid li:nth-child(-n + 2) {
    padding-bottom: 18px;
  }

  .section {
    padding: 64px 0;
  }

  .feature-row {
    grid-template-columns: 50px 1fr;
    gap: 14px;
  }

  .feature-row p {
    grid-column: 2;
  }

  .shot-rail {
    grid-template-columns: repeat(5, 210px);
  }

  .split-band {
    grid-template-columns: 1fr;
  }

  .split-band .reader-image {
    order: -1;
    width: min(86vw, 320px);
  }

  .download-band .container {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .page-intro {
    padding: 56px 0 48px;
  }

  .page-intro p {
    font-size: 16px;
  }

  .guide-step {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
  }

  .step-marker {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .feature-chapter {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .feature-chapter h2 {
    position: static;
  }

  .related-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-actions,
  .action-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-meta {
    display: grid;
    gap: 7px;
  }

  .reading-path {
    grid-template-columns: 1fr;
  }

  .path-step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .path-step:last-child {
    border-bottom: 0;
  }
}

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