:root {
  --paper: #f7f7f2;
  --surface: #ffffff;
  --ink: #18222d;
  --muted: #63717b;
  --line: #dce1dd;
  --coral: #e75b4a;
  --coral-dark: #bf4134;
  --teal: #127b75;
  --teal-dark: #0a5551;
  --gold: #f4b942;
  --navy: #14213d;
  --shadow: 0 16px 40px rgba(20, 33, 61, 0.12);
  --radius: 6px;
  --content: 1160px;
}

* {
  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;
  line-height: 1.75;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 8px 12px;
  color: #fff;
  background: var(--navy);
  transform: translateY(-160%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  border-bottom: 1px solid rgba(24, 34, 45, 0.1);
  background: rgba(247, 247, 242, 0.96);
  backdrop-filter: blur(12px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 6px;
}

.main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.main-nav > a:not(.button) {
  position: relative;
  font-size: 15px;
  font-weight: 700;
}

.main-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--coral);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.main-nav > a[aria-current="page"]::after,
.main-nav > a:not(.button):hover::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: 2px solid var(--coral);
  border-radius: 4px;
  color: #fff;
  background: var(--coral);
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 4px 4px 0 var(--navy);
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.button:hover {
  background: var(--coral-dark);
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--navy);
}

.button:focus-visible,
.menu-toggle:focus-visible,
.faq-question:focus-visible,
.shot-button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.button.secondary {
  border-color: #fff;
  color: var(--navy);
  background: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

.hero {
  min-height: min(650px, 78svh);
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.hero-layout {
  display: grid;
  min-height: inherit;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 72px;
  align-items: center;
}

.hero-media {
  display: flex;
  align-self: stretch;
  align-items: center;
  justify-content: center;
  padding-block: 40px;
}

.hero-art {
  width: min(100%, 252px);
  max-width: 400px;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  box-shadow: 18px 18px 0 rgba(231, 91, 74, 0.28);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 78px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.eyebrow::before {
  width: 34px;
  height: 3px;
  margin-right: 10px;
  background: var(--coral);
  content: "";
}

.hero h1 {
  max-width: 660px;
  margin: 0;
  font-size: 64px;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero .lead {
  max-width: 610px;
  margin: 24px 0 30px;
  color: #e6eaee;
  font-size: 18px;
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 36px;
  color: #d4dbe2;
  font-size: 14px;
}

.trust-row strong {
  color: #fff;
  font-size: 20px;
}

.section {
  padding: 88px 0;
}

.section.white {
  background: var(--surface);
}

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

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}

.section h2,
.page-hero h1 {
  margin: 0;
  color: var(--navy);
  font-size: 44px;
  line-height: 1.18;
  letter-spacing: 0;
}

.dark h2 {
  color: #fff;
}

.section-index {
  min-width: 72px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--coral);
  color: var(--coral);
  font-family: Consolas, Monaco, monospace;
  font-size: 14px;
  font-weight: 700;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature-item {
  min-height: 245px;
  padding: 30px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.feature-no {
  display: block;
  margin-bottom: 44px;
  color: var(--coral);
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
  font-weight: 800;
}

.feature-item h3,
.content-card h3,
.step h3,
.faq-item h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: 0;
}

.feature-item p,
.content-card p,
.step p {
  margin: 0;
  color: var(--muted);
}

.showcase {
  overflow: hidden;
}

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

.shot-button {
  position: relative;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: #e5e8ea;
  box-shadow: var(--shadow);
  cursor: zoom-in;
}

.shot-button img,
.phone-shot {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.shot-caption {
  margin: 16px 0 0;
  color: #dbe4ea;
  font-size: 14px;
}

.shot-caption strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 16px;
}

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

.content-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 28px;
  border-top: 4px solid var(--teal);
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(20, 33, 61, 0.08);
}

.content-card:nth-child(2) {
  border-color: var(--coral);
}

.content-card:nth-child(3) {
  border-color: var(--gold);
}

.text-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 24px;
  color: var(--teal-dark);
  font-weight: 800;
}

.text-link::after {
  content: "  →";
}

.review-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
}

.review {
  margin: 0;
  padding: 28px;
  border-left: 4px solid var(--gold);
  background: var(--surface);
}

.review blockquote {
  margin: 0 0 24px;
  color: var(--navy);
  font-size: 17px;
}

.review:first-child blockquote {
  font-size: 22px;
}

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

.download-band {
  padding: 64px 0;
  color: #fff;
  background: var(--teal);
}

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

.download-band h2 {
  margin: 0 0 8px;
  font-size: 38px;
  line-height: 1.2;
  letter-spacing: 0;
}

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

.page-hero {
  position: relative;
  padding: 88px 0 74px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.page-hero::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 34%;
  height: 100%;
  border-left: 12px solid var(--gold);
  background: var(--teal);
  content: "";
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 700px;
}

.page-hero p {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.breadcrumb {
  margin-bottom: 26px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 700;
}

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

.steps {
  counter-reset: guide;
}

.step {
  position: relative;
  padding: 0 0 48px 78px;
  border-left: 2px solid var(--line);
  counter-increment: guide;
}

.step:last-child {
  border-color: transparent;
}

.step::before {
  position: absolute;
  top: 0;
  left: -25px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 4px solid var(--paper);
  border-radius: 50%;
  color: #fff;
  background: var(--coral);
  content: counter(guide, decimal-leading-zero);
  font-family: Consolas, Monaco, monospace;
  font-weight: 800;
}

.step ul,
.article-block ul {
  padding-left: 20px;
  color: var(--muted);
}

.step-media {
  margin-top: 20px;
}

.step-media img {
  width: min(100%, 320px);
  max-width: 400px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.side-note {
  position: sticky;
  top: 100px;
  padding: 26px;
  border-top: 5px solid var(--gold);
  background: var(--navy);
  color: #e1e8ee;
}

.side-note h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 22px;
}

.side-note ol {
  margin: 0 0 24px;
  padding-left: 20px;
}

.article-block {
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.article-block:first-child {
  padding-top: 0;
}

.article-block h2 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 28px;
}

.article-block p {
  margin: 0 0 14px;
  color: #43515b;
}

.article-block .tip {
  padding: 16px 18px;
  border-left: 4px solid var(--gold);
  background: #fff7df;
  color: #57461f;
}

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

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

.faq-question {
  display: grid;
  width: 100%;
  grid-template-columns: 42px 1fr 28px;
  gap: 14px;
  align-items: center;
  padding: 22px 0;
  border: 0;
  color: var(--navy);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.faq-question .number {
  color: var(--coral);
  font-family: Consolas, Monaco, monospace;
  font-weight: 800;
}

.faq-question strong {
  font-size: 18px;
}

.faq-question .plus {
  position: relative;
  width: 20px;
  height: 20px;
}

.faq-question .plus::before,
.faq-question .plus::after {
  position: absolute;
  top: 9px;
  left: 2px;
  width: 16px;
  height: 2px;
  background: var(--teal);
  content: "";
}

.faq-question .plus::after {
  transform: rotate(90deg);
  transition: transform 180ms ease;
}

.faq-question[aria-expanded="true"] .plus::after {
  transform: rotate(0);
}

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

.faq-answer p {
  margin: 0;
}

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

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 30px;
  background: rgba(8, 16, 29, 0.9);
}

.modal.is-open {
  display: grid;
}

.modal img {
  width: auto;
  max-width: 400px;
  max-height: 88vh;
  border-radius: var(--radius);
}

.modal-close {
  position: fixed;
  top: 22px;
  right: 22px;
  width: 46px;
  height: 46px;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.site-footer {
  padding: 48px 0 28px;
  color: #cbd3da;
  background: #0d1729;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}

.site-footer .brand {
  color: #fff;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 16px;
}

.site-footer p {
  margin: 16px 0 0;
  font-size: 13px;
}

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

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

.disclaimer {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #9faab4;
  font-size: 12px;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    padding: 24px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

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

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
    gap: 34px;
  }

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

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

  .shot-track {
    grid-template-columns: repeat(4, 270px);
    padding-bottom: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .shot-track > div {
    scroll-snap-align: start;
  }

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

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

  .side-note {
    position: static;
  }

  .page-hero::after {
    width: 12%;
  }
}

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

  .site-header {
    height: 64px;
  }

  .main-nav {
    top: 64px;
  }

  .brand {
    font-size: 16px;
  }

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

  .hero {
    min-height: auto;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-media {
    align-self: auto;
    padding: 0 0 52px;
  }

  .hero-art {
    width: min(68vw, 240px);
  }

  .hero-content {
    padding: 52px 0 34px;
  }

  .hero h1 {
    max-width: 340px;
    font-size: 43px;
  }

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

  .trust-row {
    gap: 16px;
  }

  .section {
    padding: 62px 0;
  }

  .section-head {
    align-items: start;
    flex-direction: column-reverse;
    gap: 12px;
  }

  .section h2,
  .page-hero h1 {
    font-size: 32px;
  }

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

  .feature-item {
    min-height: 0;
  }

  .feature-no {
    margin-bottom: 24px;
  }

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

  .page-hero {
    padding: 58px 0;
  }

  .page-hero p {
    max-width: 86%;
    font-size: 16px;
  }

  .step {
    padding-left: 50px;
  }

  .step::before {
    left: -21px;
    width: 40px;
    height: 40px;
    font-size: 13px;
  }

  .faq-question {
    grid-template-columns: 34px 1fr 24px;
  }

  .faq-answer {
    padding-left: 48px;
  }

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