:root {
  --ink: #171717;
  --paper: #fffdf8;
  --soft: #f4f0e8;
  --red: #f04f4f;
  --red-dark: #c9343b;
  --mint: #45b98b;
  --yellow: #f4c84a;
  --line: #d9d4ca;
  --muted: #65625c;
  --shadow: 0 18px 45px rgba(23, 23, 23, 0.12);
}

* {
  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;
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 2px solid var(--ink);
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(12px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
}

.brand img {
  width: 42px;
  height: 42px;
  border: 2px solid var(--ink);
  border-radius: 8px;
}

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

.nav-links a {
  padding: 8px 12px;
  border-bottom: 2px solid transparent;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: var(--red);
  color: var(--red-dark);
}

.nav-download,
.button-primary {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--red);
  box-shadow: 4px 4px 0 var(--ink);
  color: #fff;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.nav-download:hover,
.button-primary:hover {
  box-shadow: 2px 2px 0 var(--ink);
  transform: translate(2px, 2px);
}

.button-secondary {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--paper);
  font-weight: 900;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font-size: 23px;
  cursor: pointer;
}

.hero {
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}

.hero-grid {
  display: grid;
  min-height: 650px;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 60px;
  padding: 64px 0 48px;
}

.eyebrow,
.section-kicker {
  display: inline-block;
  margin: 0 0 14px;
  padding: 4px 10px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  font-size: 13px;
  font-weight: 900;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  max-width: 650px;
  margin-bottom: 22px;
  font-size: 72px;
  font-weight: 950;
}

h2 {
  margin-bottom: 28px;
  font-size: 44px;
}

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

.hero-copy > p {
  max-width: 660px;
  margin: 0;
  color: #3d3a35;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.micro-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.micro-info span::before {
  color: var(--mint);
  content: "●";
  margin-right: 7px;
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: start center;
}

.hero-visual::before {
  position: absolute;
  top: 30px;
  left: 50%;
  width: 88%;
  height: 82%;
  border: 3px solid var(--ink);
  background: var(--mint);
  box-shadow: 16px 16px 0 var(--yellow);
  content: "";
  transform: translateX(-50%) rotate(3deg);
}

.hero-phone {
  position: relative;
  z-index: 2;
  top: 4px;
  width: min(320px, 80%);
  max-width: 400px;
  height: auto;
  margin-inline: auto;
  border: 3px solid var(--ink);
  border-radius: 28px;
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
}

.sticker {
  position: absolute;
  z-index: 3;
  right: -8px;
  bottom: 80px;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  text-align: center;
  transform: rotate(8deg);
}

.quick-strip {
  border-bottom: 2px solid var(--ink);
  background: var(--ink);
  color: #fff;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.quick-item {
  min-height: 112px;
  padding: 22px 24px;
  border-right: 1px solid #474747;
}

.quick-item:last-child {
  border-right: 0;
}

.quick-item strong {
  display: block;
  color: var(--yellow);
  font-size: 18px;
}

.quick-item span {
  color: #d5d5d5;
  font-size: 13px;
}

.section {
  padding: 88px 0;
  border-bottom: 2px solid var(--ink);
}

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

.section-red {
  background: var(--red);
  color: #fff;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.section-heading .section-link {
  margin-bottom: 32px;
  border-bottom: 2px solid currentColor;
  font-weight: 900;
}

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

.feature-card {
  min-height: 250px;
  padding: 26px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
}

.feature-card:nth-child(2) {
  background: #fdf2ef;
}

.feature-card:nth-child(3) {
  background: #eef8f3;
}

.feature-card:nth-child(4) {
  background: #fff7d9;
}

.feature-card:nth-child(5) {
  background: #f0eff8;
}

.feature-card:nth-child(6) {
  background: #f8f1ea;
}

.feature-number {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 30px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  font-weight: 950;
}

.feature-card p,
.guide-card p,
.quote-card p,
.info-panel p {
  margin: 0;
  color: var(--muted);
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: start;
}

.shot-figure {
  margin: 0;
}

.shot-figure img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border: 2px solid var(--ink);
  border-radius: 22px;
  box-shadow: 7px 7px 0 var(--ink);
}

.shot-figure:nth-child(even) {
  margin-top: 42px;
}

.shot-figure figcaption {
  padding: 18px 6px 0;
  font-size: 14px;
  font-weight: 900;
}

.deep-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.deep-link {
  position: relative;
  min-height: 300px;
  padding: 34px;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}

.deep-link::after {
  position: absolute;
  right: 28px;
  bottom: 18px;
  color: var(--red);
  content: "→";
  font-size: 62px;
  font-weight: 900;
}

.deep-link:first-child {
  background: var(--yellow);
}

.deep-link h3 {
  max-width: 390px;
  font-size: 32px;
}

.deep-link p {
  max-width: 420px;
  color: #4b463b;
}

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

.quote-card {
  padding: 26px;
  border-left: 5px solid var(--red);
  background: #fff;
}

.quote-card footer {
  margin-top: 20px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.faq-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 30px;
}

.faq-preview a {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.faq-preview a span {
  float: right;
  color: var(--red);
}

.download-band {
  padding: 65px 0;
  border-bottom: 2px solid var(--ink);
  background: var(--yellow);
}

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

.download-band h2 {
  margin-bottom: 8px;
}

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

.site-footer {
  padding: 54px 0 28px;
  background: var(--ink);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 50px;
}

.footer-brand p,
.footer-note {
  color: #bfbfbf;
  font-size: 13px;
}

.footer-links strong {
  display: block;
  margin-bottom: 12px;
}

.footer-links a {
  display: block;
  margin: 7px 0;
  color: #d8d8d8;
  font-size: 14px;
}

.footer-bottom {
  display: flex;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid #3b3b3b;
  justify-content: space-between;
  gap: 30px;
  color: #9f9f9f;
  font-size: 12px;
}

.subhero {
  padding: 78px 0 64px;
  border-bottom: 2px solid var(--ink);
  background: var(--yellow);
}

.subhero h1 {
  max-width: 900px;
  margin-bottom: 16px;
  font-size: 64px;
}

.subhero p {
  max-width: 780px;
  margin: 0;
  font-size: 18px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 48px;
  align-items: start;
}

.side-index {
  position: sticky;
  top: 98px;
  padding: 22px;
  border: 2px solid var(--ink);
  background: var(--paper);
}

.side-index strong {
  display: block;
  margin-bottom: 9px;
}

.side-index a {
  display: block;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.article-block {
  margin-bottom: 70px;
  scroll-margin-top: 110px;
}

.article-block h2 {
  padding-bottom: 14px;
  border-bottom: 3px solid var(--ink);
}

.article-block p {
  margin: 0 0 16px;
  color: #46423d;
}

.steps {
  display: grid;
  gap: 18px;
}

.guide-card {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 22px;
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fff;
}

.step-num {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 24px;
  font-weight: 950;
}

.note-box {
  margin: 22px 0;
  padding: 18px 20px;
  border-left: 5px solid var(--mint);
  background: #eef8f3;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 30px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--mint);
  content: "✓";
  font-weight: 950;
}

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

.info-panel {
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fff;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: #fff;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  flex: 0 0 auto;
  content: "+";
  color: var(--red);
  font-size: 24px;
}

.faq-item.open .faq-question::after {
  content: "−";
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer p {
  margin: 0;
}

@media (max-width: 900px) {
  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 38px;
  }

  .subhero h1 {
    font-size: 52px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    right: 20px;
    left: 20px;
    display: none;
    padding: 14px;
    border: 2px solid var(--ink);
    background: var(--paper);
    box-shadow: 7px 7px 0 var(--ink);
  }

  .nav-links.open {
    display: grid;
  }

  .nav-links .nav-download {
    margin-top: 5px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .quick-grid,
  .feature-grid,
  .shot-grid,
  .quote-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shot-figure:nth-child(even) {
    margin-top: 0;
  }

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

  .side-index {
    position: static;
    order: -1;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1160px);
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .subhero h1 {
    font-size: 40px;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 44px;
  }

  .hero-visual {
    min-height: 455px;
  }

  .sticker {
    right: 2px;
    bottom: 48px;
    width: 96px;
    height: 96px;
    font-size: 15px;
  }

  .quick-grid,
  .feature-grid,
  .shot-grid,
  .deep-grid,
  .quote-grid,
  .faq-preview,
  .feature-detail,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .quick-item {
    border-right: 0;
    border-bottom: 1px solid #474747;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading,
  .download-band .container,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading .section-link {
    margin: -14px 0 28px;
  }

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

  .button-primary,
  .button-secondary {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
