:root {
  --ink: #14233a;
  --muted: #5f6d7b;
  --paper: #fffdf7;
  --surface: #f5f1e6;
  --line: #d8dde1;
  --primary: #177c8f;
  --primary-dark: #0f5f70;
  --secondary: #e9bc56;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(20, 35, 58, 0.12);
}

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(20, 35, 58, 0.1);
  background: rgba(255, 253, 247, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner,
.hero-inner,
.section-inner,
.download-inner,
.footer-inner,
.inner-hero-content,
.article-layout,
.faq-page-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.header-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

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

.site-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 0.94rem;
}

.site-nav a {
  color: var(--muted);
  padding: 21px 0 18px;
  border-bottom: 3px solid transparent;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ink);
  border-bottom-color: var(--primary);
}

.header-actions,
.hero-actions,
.download-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease;
}

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

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

.button-primary:hover {
  background: var(--primary-dark);
}

.button-secondary {
  border-color: var(--line);
  background: var(--white);
}

.button-light {
  color: var(--ink);
  background: var(--white);
}

.button-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.56);
}

.menu-toggle {
  display: none;
}

.hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(23, 124, 143, 0.07) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(rgba(23, 124, 143, 0.07) 1px, transparent 1px) 0 0 / 64px 64px,
    var(--paper);
}

.hero-inner {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.82fr);
  grid-template-areas: "copy media";
  align-items: center;
  gap: 72px;
  padding: 48px 0 52px;
}

.hero-copy {
  grid-area: copy;
}

.hero-media {
  grid-area: media;
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  gap: 18px;
}

.eyebrow,
.step-label {
  display: inline-block;
  color: var(--primary-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  max-width: 690px;
  margin: 16px 0 20px;
  font-size: clamp(2.65rem, 4.8vw, 4.7rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.hero-copy > p {
  max-width: 670px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  margin: 28px 0 22px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.9rem;
  list-style: none;
}

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

.mode-rail {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border-right: 1px solid var(--line);
  color: #85909b;
  font-size: 0.75rem;
  writing-mode: vertical-rl;
}

.mode-rail .is-current {
  color: var(--primary-dark);
  font-weight: 800;
}

.phone-stage {
  position: relative;
  width: min(100%, 330px);
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.phone-stage img,
.gallery-grid img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 14px;
}

.phone-stage figcaption {
  position: absolute;
  right: 28px;
  bottom: 24px;
  left: 28px;
  padding: 8px 10px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

.section {
  padding: 76px 0;
}

.creation-section,
.checklist-section {
  background: var(--surface);
}

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

.section-heading h2 {
  margin-bottom: 16px;
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  line-height: 1.2;
}

.section-index {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

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

.feature-card {
  min-height: 230px;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--white);
}

.feature-card h3 {
  margin: 24px 0 10px;
  font-size: 1.25rem;
}

.feature-card p,
.gallery-grid span,
.deep-link-card p,
.article-content p,
.article-content li,
.faq-intro p,
.faq-list p {
  color: var(--muted);
}

.feature-number {
  color: var(--primary);
  font-weight: 800;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: end;
  gap: 24px;
}

.gallery-grid figure {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--white);
}

.gallery-large img {
  max-height: 560px;
  object-fit: cover;
  object-position: top;
}

.gallery-small img {
  max-height: 460px;
  object-fit: cover;
  object-position: top;
}

.gallery-grid figcaption {
  display: grid;
  gap: 4px;
  padding: 16px 4px 2px;
}

.checklist-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
}

.section-heading.compact {
  margin-bottom: 18px;
}

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

.checklist li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

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

.deep-link-card {
  align-self: center;
  padding: 34px;
  color: var(--white);
  background: var(--ink);
}

.deep-link-card > span {
  color: var(--secondary);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.deep-link-card h3 {
  margin: 16px 0 12px;
  font-size: 1.7rem;
  line-height: 1.35;
}

.deep-link-card p {
  color: #c7d0d9;
}

.deep-link-card a {
  color: var(--secondary);
  font-weight: 800;
}

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

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

.faq-preview summary,
.faq-list summary {
  padding: 20px 40px 20px 0;
  cursor: pointer;
  font-weight: 750;
}

.faq-preview p {
  max-width: 880px;
  color: var(--muted);
}

.text-link {
  display: inline-block;
  margin-top: 26px;
  color: var(--primary-dark);
  font-weight: 800;
}

.download-band {
  padding: 52px 0;
  color: var(--white);
  background: var(--primary-dark);
}

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

.download-band .eyebrow {
  color: #bfe7ec;
}

.download-band h2 {
  margin: 8px 0 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.site-footer {
  padding: 44px 0;
  background: #0f1c2e;
  color: #d3dbe4;
}

.footer-inner {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.footer-inner nav {
  display: flex;
  gap: 24px;
}

.footer-inner p {
  max-width: 760px;
  margin: 0;
  color: #aeb9c5;
  font-size: 0.88rem;
}

.footer-inner small {
  color: #8492a0;
}

.inner-hero {
  padding: 72px 0 68px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(115deg, rgba(23, 124, 143, 0.11), rgba(233, 188, 86, 0.1));
}

.inner-hero-content {
  max-width: 900px;
  text-align: center;
}

.inner-hero h1 {
  margin: 14px auto 18px;
  font-size: clamp(2.25rem, 4vw, 3.8rem);
  line-height: 1.15;
}

.inner-hero p {
  max-width: 760px;
  margin: 0 auto 26px;
  color: var(--muted);
}

.inner-hero .hero-actions {
  justify-content: center;
  margin: 0;
}

.article-section,
.faq-page-section {
  padding: 64px 0 84px;
}

.article-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 56px;
}

.article-nav {
  position: sticky;
  top: 98px;
  align-self: start;
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--white);
}

.article-nav a {
  color: var(--muted);
  font-size: 0.9rem;
}

.article-nav a:hover {
  color: var(--primary-dark);
}

.article-content {
  max-width: 820px;
}

.article-content section {
  padding: 0 0 42px;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.article-content h2,
.faq-intro h2,
.article-cta h2 {
  margin: 10px 0 18px;
  font-size: clamp(1.6rem, 2.8vw, 2.35rem);
  line-height: 1.25;
}

.article-content ol {
  padding-left: 1.4em;
}

.article-content li {
  margin-bottom: 10px;
}

.article-cta {
  padding: 32px;
  border-left: 5px solid var(--primary);
  background: var(--surface);
}

.article-cta p {
  margin-bottom: 0;
  color: var(--muted);
}

.faq-page-inner {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 56px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 104px;
}

.faq-intro > span {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

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

.faq-list details[open] {
  background: rgba(23, 124, 143, 0.05);
}

.faq-list summary,
.faq-list div {
  padding-left: 20px;
}

.faq-list div {
  padding-right: 24px;
  padding-bottom: 18px;
}

.faq-page-inner .article-cta {
  grid-column: 2;
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: auto auto 1fr;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    font: inherit;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 24px;
    right: 24px;
    display: none;
    padding: 12px;
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 12px;
    border-bottom: 0;
  }

  .header-actions {
    justify-self: end;
  }

  .hero-inner {
    grid-template-columns: 1fr 360px;
    gap: 36px;
  }

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

  .feature-card {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .header-inner,
  .hero-inner,
  .section-inner,
  .download-inner,
  .footer-inner,
  .inner-hero-content,
  .article-layout,
  .faq-page-inner {
    width: min(100% - 32px, 1180px);
  }

  .header-inner {
    min-height: 64px;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

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

  .menu-toggle {
    grid-column: 2;
    grid-row: 1;
  }

  .header-actions {
    display: none;
  }

  .site-nav {
    top: 64px;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "media";
    gap: 18px;
    padding: 24px 0 26px;
  }

  .hero-copy {
    order: 1;
  }

  .hero-media {
    order: 2;
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .hero h1 {
    margin-top: 10px;
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .hero-copy > p {
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .hero-actions {
    flex-wrap: wrap;
    margin: 18px 0 0;
  }

  .hero-actions .button {
    flex: 1 1 140px;
  }

  .phone-stage {
    width: min(100%, 175px);
  }

  .phone-stage img {
    width: 100%;
    max-height: none;
    object-fit: contain;
  }

  .phone-stage figcaption {
    right: 20px;
    bottom: 18px;
    left: 20px;
    padding: 6px 8px;
    font-size: 0.72rem;
  }

  .hero-points {
    display: none;
  }

  .mode-rail {
    gap: 18px;
  }

  .section {
    padding: 54px 0;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .gallery-grid,
  .checklist-layout,
  .article-layout,
  .faq-page-inner {
    grid-template-columns: 1fr;
  }

  .gallery-large img,
  .gallery-small img {
    max-height: 460px;
  }

  .checklist li {
    grid-template-columns: 1fr;
    gap: 5px;
  }

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

  .inner-hero {
    padding: 48px 0;
  }

  .article-section,
  .faq-page-section {
    padding: 42px 0 64px;
  }

  .article-nav,
  .faq-intro {
    position: static;
  }

  .article-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-nav strong {
    grid-column: 1 / -1;
  }

  .faq-page-inner .article-cta {
    grid-column: 1;
  }
}

@media (max-width: 420px) {
  .button {
    padding: 0 16px;
  }

  .feature-card,
  .deep-link-card,
  .article-cta {
    padding: 24px;
  }

  .download-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .download-actions .button {
    flex: 1 1 130px;
  }
}
