:root {
  --ink: #27232b;
  --muted: #6c6470;
  --paper: #fffaf5;
  --cream: #fff1e5;
  --pink: #ff5c7c;
  --coral: #ff936b;
  --mint: #79cbb8;
  --white: #ffffff;
  --line: #e6d8cf;
  --shadow: 7px 7px 0 rgba(39, 35, 43, 0.14);
  --container: 1180px;
}

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

body.menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
}

.skip-link:focus {
  top: 12px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 76px;
  border-bottom: 2px solid var(--ink);
  background: rgba(255, 250, 245, 0.97);
  backdrop-filter: blur(12px);
}

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

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

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

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

.site-nav a {
  position: relative;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a:not(.button)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 3px;
  background: var(--pink);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  content: "";
}

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

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

.button-dark {
  background: var(--ink);
  box-shadow: 4px 4px 0 var(--coral);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 4px 10px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--mint);
  font-size: 13px;
  font-weight: 900;
}

.hero {
  position: relative;
  display: flex;
  min-height: 630px;
  align-items: center;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background: var(--cream);
}

.hero-media {
  position: absolute;
  inset: 0 0 0 48%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 42px;
  border-left: 2px solid var(--ink);
  background: var(--cream);
}

.hero-media::before {
  display: none;
}

.hero-media::after {
  display: none;
}

.hero-screen {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 320px;
  height: min(82%, 500px);
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 10px 10px 0 rgba(39, 35, 43, 0.32);
  transform: translateX(-200px);
}

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

.hero-copy {
  width: 46%;
  max-width: 610px;
  padding: 56px 0;
}

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

.hero h1 span {
  color: var(--pink);
}

.hero h1 + p {
  max-width: 590px;
  margin: 24px 0 0;
  color: #4f4852;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.trust-row li::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border: 2px solid var(--ink);
  background: var(--mint);
  content: "";
}

.section {
  padding: 88px 0;
}

.section-cream {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--cream);
}

.section-mint {
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: #dff5ee;
}

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

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

h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: 0;
}

.text-link {
  border-bottom: 2px solid var(--pink);
  font-weight: 800;
}

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

.feature-card {
  position: relative;
  min-height: 220px;
  padding: 28px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-card:nth-child(1),
.feature-card:nth-child(4) {
  grid-column: span 7;
}

.feature-card:nth-child(2),
.feature-card:nth-child(3) {
  grid-column: span 5;
}

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

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

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

.feature-card p,
.journey-copy p,
.quote-card p,
.step-card p,
.topic-block p,
.answer p,
.related-item p {
  margin: 12px 0 0;
  color: var(--muted);
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.screen-shot {
  margin: 0;
}

.screen-shot button {
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--white);
  box-shadow: 5px 5px 0 var(--ink);
  cursor: zoom-in;
}

.screen-shot img {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto;
}

.screen-shot figcaption {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

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

.journey-link {
  display: grid;
  min-height: 260px;
  grid-template-columns: 86px 1fr;
  gap: 24px;
  align-items: start;
  padding: 32px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.journey-link:nth-child(2) {
  background: #ffe3e8;
}

.journey-index {
  font-size: 58px;
  font-weight: 900;
  line-height: 1;
  color: var(--pink);
}

.journey-copy strong {
  display: inline-block;
  margin-top: 22px;
  border-bottom: 2px solid var(--ink);
}

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

.quote-card {
  margin: 0;
  padding: 28px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--white);
}

.quote-card::before {
  content: "“";
  display: block;
  height: 40px;
  color: var(--pink);
  font-family: Georgia, serif;
  font-size: 60px;
  line-height: 1;
}

.quote-card footer {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 800;
}

.quick-faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}

.quick-faq article {
  min-height: 170px;
  padding: 26px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--white);
}

.quick-faq p {
  margin: 10px 0 0;
  color: var(--muted);
}

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

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

.download-band h2 {
  max-width: 720px;
}

.download-band p {
  margin: 12px 0 0;
  color: #dcd5df;
}

.page-hero {
  position: relative;
  padding: 84px 0 72px;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  background: var(--cream);
}

.page-hero::after {
  position: absolute;
  right: -80px;
  bottom: -50px;
  width: 420px;
  height: 150px;
  border: 2px solid var(--ink);
  background: var(--coral);
  transform: rotate(-8deg);
  content: "";
}

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

.page-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: 50px;
  line-height: 1.15;
  letter-spacing: 0;
}

.page-hero h1 + p {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.crumbs {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  counter-reset: steps;
}

.step-card {
  min-height: 280px;
  padding: 30px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--white);
  box-shadow: var(--shadow);
  counter-increment: steps;
}

.step-card::before {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--pink);
  color: var(--white);
  content: counter(steps, decimal-leading-zero);
  font-weight: 900;
}

.step-card ul,
.check-list {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.notice {
  margin-top: 30px;
  padding: 24px 28px;
  border: 2px solid var(--ink);
  border-left: 12px solid var(--coral);
  background: #fff4d9;
}

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

.topic-block {
  padding: 28px;
  border-top: 7px solid var(--pink);
  background: var(--white);
}

.topic-block:nth-child(2) {
  border-color: var(--mint);
}

.topic-block:nth-child(3) {
  border-color: var(--coral);
}

.faq-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.faq-search {
  width: min(100%, 430px);
  height: 50px;
  padding: 0 16px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  color: var(--ink);
  background: var(--white);
}

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

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

.faq-item summary {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--pink);
  font-size: 28px;
  line-height: 1;
}

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

.answer {
  padding: 0 20px 20px;
  border-top: 1px solid var(--line);
}

.answer p {
  margin-top: 16px;
}

.faq-empty {
  display: none;
  padding: 28px;
  border: 2px dashed var(--ink);
  text-align: center;
}

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

.related-item {
  padding: 30px;
  border: 2px solid var(--ink);
  background: var(--white);
}

.related-item .text-link {
  display: inline-block;
  margin-top: 20px;
}

.site-footer {
  padding: 46px 0 28px;
  color: #d8d1db;
  background: #1e1b22;
}

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

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

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 28px;
  font-weight: 700;
}

.disclaimer {
  margin: 24px 0 0;
  padding-top: 24px;
  border-top: 1px solid #4c4650;
  color: #bdb5c0;
  font-size: 13px;
}

.copyright {
  margin: 10px 0 0;
  color: #938b96;
  font-size: 13px;
}

.lightbox {
  width: min(92vw, 460px);
  max-height: 92vh;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.4);
}

.lightbox::backdrop {
  background: rgba(30, 27, 34, 0.78);
}

.lightbox img {
  width: auto;
  max-width: 100%;
  max-height: 82vh;
  margin: 0 auto;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--white);
  background: var(--pink);
  cursor: pointer;
}

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

  .site-nav {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    display: none;
    padding: 26px 20px 34px;
    border-bottom: 2px solid var(--ink);
    background: var(--paper);
  }

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

  .hero {
    min-height: 680px;
    align-items: flex-end;
  }

  .hero-media {
    inset: 0 0 auto;
    height: 320px;
    padding: 20px 18px 30px;
    border-bottom: 2px solid var(--ink);
    border-left: 0;
  }

  .hero-media::after {
    right: 14px;
    bottom: 14px;
    left: 14px;
    height: 6px;
  }

  .hero-screen {
    width: auto;
    max-width: 76%;
    height: 260px;
    object-fit: contain;
    box-shadow: 6px 6px 0 rgba(39, 35, 43, 0.3);
    transform: translateX(-50px);
  }

  .hero-copy {
    width: 100%;
    max-width: 720px;
    padding: 360px 0 42px;
  }

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

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

  .feature-card:nth-child(n) {
    grid-column: span 6;
  }

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

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

  .brand {
    font-size: 18px;
  }

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

  .hero {
    min-height: 748px;
  }

  .hero-media {
    height: 240px;
    padding: 16px 12px 28px;
  }

  .hero-screen {
    height: 196px;
    transform: translateX(-32px);
  }

  .hero-copy {
    padding: 278px 0 24px;
  }

  .hero h1 + p {
    margin-top: 18px;
  }

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

  .trust-row {
    margin-top: 16px;
  }

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

  .hero h1 + p,
  .page-hero h1 + p {
    font-size: 16px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-row {
    gap: 8px 14px;
    margin-top: 22px;
    font-size: 12px;
  }

  .section {
    padding: 62px 0;
  }

  .section-heading,
  .faq-toolbar,
  .download-band-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  h2 {
    font-size: 30px;
  }

  .feature-grid,
  .journey-grid,
  .quote-grid,
  .step-list,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .feature-card:nth-child(n) {
    grid-column: span 12;
  }

  .screens-grid {
    display: flex;
    margin-right: -14px;
    padding: 0 14px 18px 0;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .screen-shot {
    min-width: 72vw;
    scroll-snap-align: start;
  }

  .journey-link {
    min-height: 0;
    grid-template-columns: 58px 1fr;
    padding: 24px;
  }

  .journey-index {
    font-size: 42px;
  }

  .quick-faq {
    grid-template-columns: 1fr;
  }

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

  .page-hero::after {
    display: none;
  }

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

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

  .footer-links {
    justify-content: flex-start;
  }
}

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

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