:root {
  --paper: #f7f5ef;
  --paper-strong: #ffffff;
  --ink: #1a1d1b;
  --muted: #5f6763;
  --line: #c9cec8;
  --green: #0f6f5d;
  --green-dark: #094c40;
  --mint: #dff1e9;
  --yellow: #f3c953;
  --red: #b94634;
  --shadow: 8px 8px 0 #1a1d1b;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

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.72;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button,
input {
  font: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 2px solid var(--ink);
  background: rgba(247, 245, 239, 0.97);
}

.header-inner,
.hero-inner,
.section-inner,
.footer-inner,
.page-hero-inner {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
  font-size: 19px;
  font-weight: 900;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 700;
}

.site-nav a:not(.download-link) {
  position: relative;
  padding: 9px 0;
}

.site-nav a:not(.download-link)::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 160ms ease;
}

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

.download-link,
.button-primary,
.button-secondary {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  font-weight: 900;
  letter-spacing: 0;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.download-link,
.button-primary {
  color: #fff;
  background: var(--green);
  box-shadow: 4px 4px 0 var(--ink);
}

.button-secondary {
  background: var(--yellow);
}

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

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 4px;
  color: var(--ink);
  background: var(--yellow);
  cursor: pointer;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
  width: 20px;
  height: 2px;
  display: block;
  content: "";
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle-lines {
  position: relative;
}

.menu-toggle-lines::before {
  position: absolute;
  top: -6px;
}

.menu-toggle-lines::after {
  position: absolute;
  top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

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

.hero-inner {
  min-height: 646px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  align-items: center;
  gap: 64px;
  padding-block: 46px 42px;
}

.eyebrow,
.page-kicker,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow::before,
.page-kicker::before,
.section-tag::before {
  width: 30px;
  height: 8px;
  content: "";
  border: 2px solid var(--ink);
  background: var(--yellow);
}

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

h1,
h2,
h3 {
  line-height: 1.18;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 620px;
  margin-bottom: 24px;
  font-size: 64px;
  font-weight: 950;
}

.hero-summary {
  max-width: 650px;
  margin-bottom: 28px;
  color: #39413d;
  font-size: 18px;
}

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

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-facts li {
  padding: 6px 10px;
  border: 1px solid var(--ink);
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

.hero-media {
  min-height: 520px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-color-slab {
  width: 88%;
  height: 88%;
  position: absolute;
  inset: 6% 0 6% auto;
  border: 2px solid var(--ink);
  background: var(--green);
}

.hero-media::before {
  width: 112px;
  height: 48px;
  position: absolute;
  top: 22px;
  left: 0;
  z-index: 2;
  content: "READ / SAVE";
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  background: var(--yellow);
  font-size: 11px;
  font-weight: 950;
}

.hero-device {
  width: 269px;
  height: auto;
  max-width: 400px;
  position: relative;
  z-index: 3;
  border: 7px solid var(--ink);
  border-radius: 4px;
  background: #fff;
  box-shadow: 12px 12px 0 var(--yellow);
}

.hero-note {
  max-width: 154px;
  position: absolute;
  right: 0;
  bottom: 28px;
  z-index: 4;
  padding: 12px;
  border: 2px solid var(--ink);
  background: var(--paper-strong);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.metadata-ticker {
  border-bottom: 2px solid var(--ink);
  background: var(--yellow);
}

.metadata-ticker .section-inner {
  min-height: 54px;
  display: grid;
  grid-template-columns: 120px 1fr 1fr 1fr;
  align-items: stretch;
}

.metadata-ticker span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-left: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 850;
  text-align: center;
}

.metadata-ticker span:first-child {
  border-left: 0;
  color: #fff;
  background: var(--ink);
}

.section {
  padding-block: 84px;
}

.section-tight {
  padding-block: 64px;
}

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

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

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

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading h2 {
  margin-bottom: 18px;
  font-size: 42px;
  font-weight: 950;
}

.section-intro {
  color: var(--muted);
  font-size: 17px;
}

.section-dark .section-intro {
  color: #c8cfcb;
}

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

.feature-item {
  min-height: 260px;
  padding: 30px 24px;
  border-left: 2px solid var(--ink);
}

.feature-item:first-child {
  border-left: 0;
}

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

.feature-item h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

.feature-item p {
  margin-bottom: 0;
  color: #48514c;
  font-size: 15px;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  align-items: end;
}

.preview-figure {
  margin: 0;
}

.preview-frame {
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  border: 2px solid #fff;
  background: #252a27;
}

.preview-figure:nth-child(2) .preview-frame {
  background: var(--green);
}

.preview-figure:nth-child(3) .preview-frame {
  background: var(--red);
}

.preview-frame img {
  width: 269px;
  height: auto;
  max-width: 400px;
  border: 4px solid #fff;
}

.preview-figure figcaption {
  min-height: 104px;
  padding: 18px 0 0;
  color: #d7ddd9;
  font-size: 14px;
}

.preview-figure strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 18px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 72px;
  align-items: start;
}

.workflow-statement {
  position: sticky;
  top: 116px;
}

.workflow-statement h2 {
  margin-bottom: 20px;
  font-size: 44px;
  font-weight: 950;
}

.workflow-statement p,
.workflow-copy {
  color: #35403b;
}

.workflow-list {
  border-top: 2px solid var(--ink);
}

.workflow-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 22px;
  padding-block: 28px;
  border-bottom: 2px solid var(--ink);
}

.workflow-index {
  color: var(--red);
  font-size: 30px;
  font-weight: 950;
}

.workflow-item h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.workflow-item p {
  margin-bottom: 0;
}

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

.deep-link {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 32px;
  border: 2px solid var(--ink);
  background: #fff;
  box-shadow: var(--shadow);
}

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

.deep-link h3 {
  max-width: 420px;
  margin-bottom: 12px;
  font-size: 29px;
}

.deep-link p {
  max-width: 500px;
  color: #3f4844;
}

.text-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 950;
}

.text-arrow::after {
  content: "→";
  font-size: 22px;
}

.faq-preview {
  max-width: 900px;
}

.faq-item {
  border-top: 2px solid var(--ink);
}

.faq-item:last-child {
  border-bottom: 2px solid var(--ink);
}

.faq-item summary {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 4px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 850;
  list-style: none;
}

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

.faq-item summary::after {
  flex: 0 0 auto;
  content: "+";
  font-size: 28px;
  font-weight: 500;
}

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

.faq-answer {
  max-width: 780px;
  padding: 0 4px 24px;
  color: #404944;
}

.faq-answer p:last-child,
.faq-answer ul:last-child {
  margin-bottom: 0;
}

.cta-band {
  border-block: 2px solid var(--ink);
  background: var(--green);
}

.cta-inner {
  min-height: 300px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
}

.cta-band h2 {
  max-width: 700px;
  margin-bottom: 14px;
  color: #fff;
  font-size: 44px;
  font-weight: 950;
}

.cta-band p,
.cta-copy {
  max-width: 680px;
  margin-bottom: 0;
  color: #dcebe6;
}

.cta-band .button-primary {
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 6px 6px 0 #fff;
}

.page-hero {
  border-bottom: 2px solid var(--ink);
  background: var(--mint);
}

.page-hero-inner {
  min-height: 390px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  align-items: center;
  gap: 70px;
  padding-block: 62px;
}

.page-hero h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: 52px;
  font-weight: 950;
}

.page-hero p {
  max-width: 780px;
  margin-bottom: 0;
  color: #38423d;
  font-size: 17px;
}

.page-marker {
  width: 220px;
  height: 220px;
  display: grid;
  place-items: center;
  border: 3px solid var(--ink);
  color: #fff;
  background: var(--green);
  box-shadow: 12px 12px 0 var(--yellow);
  font-size: 62px;
  font-weight: 950;
}

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

.side-index {
  position: sticky;
  top: 108px;
  border-top: 2px solid var(--ink);
}

.side-index a {
  display: block;
  padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 800;
}

.side-index a:hover {
  color: var(--green);
}

.article-section {
  margin-bottom: 70px;
  scroll-margin-top: 100px;
}

.article-section:last-child {
  margin-bottom: 0;
}

.article-section h2 {
  margin-bottom: 22px;
  font-size: 34px;
  font-weight: 950;
}

.article-section h3 {
  margin: 30px 0 12px;
  font-size: 22px;
}

.article-section p,
.article-section li {
  color: #37413c;
}

.article-section ul,
.article-section ol {
  padding-left: 22px;
}

.step-list {
  counter-reset: steps;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  min-height: 126px;
  position: relative;
  padding: 24px 24px 24px 98px;
  border-top: 2px solid var(--ink);
  counter-increment: steps;
}

.step-list li:last-child {
  border-bottom: 2px solid var(--ink);
}

.step-list li::before {
  width: 52px;
  height: 52px;
  position: absolute;
  top: 24px;
  left: 12px;
  display: grid;
  place-items: center;
  content: counter(steps, decimal-leading-zero);
  border: 2px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  font-weight: 950;
}

.step-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 18px;
}

.notice {
  margin-block: 26px;
  padding: 22px 24px;
  border-left: 8px solid var(--red);
  background: #fff;
}

.notice strong {
  display: block;
  margin-bottom: 6px;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.check-item {
  padding: 20px;
  border: 2px solid var(--ink);
  background: #fff;
}

.check-item strong {
  display: block;
  margin-bottom: 6px;
}

.faq-tools {
  margin-bottom: 34px;
}

.faq-search-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 900;
}

.faq-search {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 2px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.faq-search:focus {
  box-shadow: 0 0 0 4px var(--yellow);
}

.faq-empty {
  display: none;
  padding: 24px;
  border: 2px solid var(--ink);
  background: #fff;
}

.site-footer {
  padding-block: 44px 24px;
  color: #d9dfdb;
  background: var(--ink);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid #515854;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 20px;
  font-weight: 950;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  border: 2px solid #fff;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 24px;
  font-size: 14px;
}

.footer-meta {
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
}

.footer-meta p {
  margin-bottom: 8px;
}

.footer-meta p:last-child {
  margin-bottom: 0;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .site-nav {
    gap: 16px;
  }

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

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

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

  .feature-item:nth-child(3) {
    border-left: 0;
    border-top: 2px solid var(--ink);
  }

  .feature-item:nth-child(4) {
    border-top: 2px solid var(--ink);
  }

  .gallery-strip {
    gap: 18px;
  }

  .preview-frame {
    min-height: 470px;
    padding: 16px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 78px;
  }

  .header-inner,
  .hero-inner,
  .section-inner,
  .footer-inner,
  .page-hero-inner {
    width: min(100% - 32px, var(--container));
  }

  .header-inner {
    min-height: 66px;
  }

  .brand {
    font-size: 17px;
  }

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

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 66px 0 auto;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 20px 16px 26px;
    border-bottom: 2px solid var(--ink);
    background: var(--paper);
  }

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

  .site-nav a:not(.download-link) {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:not(.download-link)::after {
    display: none;
  }

  .site-nav .download-link {
    margin-top: 16px;
  }

  .hero-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 22px;
    padding-block: 34px 28px;
  }

  .eyebrow {
    margin-bottom: 12px;
  }

  .hero h1 {
    margin-bottom: 16px;
    font-size: 40px;
  }

  .hero-summary {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-actions {
    margin-bottom: 16px;
  }

  .hero-media {
    min-height: 250px;
    justify-content: flex-start;
    padding-left: 34px;
  }

  .hero-color-slab {
    width: calc(100% - 28px);
    height: 220px;
    inset: 15px 0 auto auto;
  }

  .hero-device {
    width: 142px;
    border-width: 4px;
    box-shadow: 8px 8px 0 var(--yellow);
  }

  .hero-media::before {
    width: 90px;
    height: 38px;
    top: 2px;
    left: auto;
    right: 10px;
  }

  .hero-note {
    right: 8px;
    bottom: 20px;
    max-width: 142px;
    padding: 9px;
    font-size: 11px;
  }

  .metadata-ticker .section-inner {
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .metadata-ticker span {
    min-height: 44px;
    border-top: 1px solid var(--ink);
  }

  .metadata-ticker span:nth-child(odd) {
    border-left: 0;
  }

  .metadata-ticker span:nth-child(-n + 2) {
    border-top: 0;
  }

  .section,
  .section-tight {
    padding-block: 58px;
  }

  #features {
    padding-top: 24px;
  }

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

  .section-heading h2,
  .workflow-statement h2,
  .cta-band h2 {
    font-size: 34px;
  }

  .feature-grid,
  .gallery-strip,
  .workflow-grid,
  .deep-links,
  .cta-inner,
  .page-hero-inner,
  .guide-layout,
  .faq-layout,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .feature-item,
  .feature-item:nth-child(3) {
    min-height: 0;
    border-top: 2px solid var(--ink);
    border-left: 0;
  }

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

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

  .gallery-strip {
    gap: 36px;
  }

  .preview-frame {
    min-height: 0;
    padding: 22px;
  }

  .preview-frame img {
    width: min(240px, 84vw);
  }

  .preview-figure figcaption {
    min-height: 0;
  }

  .workflow-grid {
    gap: 28px;
  }

  .workflow-statement,
  .side-index {
    position: static;
  }

  .workflow-item {
    grid-template-columns: 54px 1fr;
  }

  .deep-link {
    min-height: 210px;
    padding: 26px;
  }

  .cta-inner {
    min-height: 0;
    gap: 28px;
    padding-block: 54px;
  }

  .cta-inner .button-primary {
    justify-self: start;
  }

  .page-hero-inner {
    min-height: 0;
    gap: 32px;
    padding-block: 48px;
  }

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

  .page-marker {
    width: 120px;
    height: 120px;
    font-size: 40px;
    box-shadow: 8px 8px 0 var(--yellow);
  }

  .guide-layout,
  .faq-layout {
    gap: 38px;
  }

  .side-index {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-bottom: 1px solid var(--line);
  }

  .side-index a:nth-child(even) {
    border-left: 1px solid var(--line);
    padding-left: 12px;
  }

  .article-section h2 {
    font-size: 30px;
  }

  .step-list li {
    padding: 84px 14px 24px;
  }

  .step-list li::before {
    left: 14px;
  }

  .footer-top {
    flex-direction: column;
  }

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

@media (max-width: 390px) {
  .hero h1,
  .page-hero h1 {
    font-size: 36px;
  }

  .hero-media {
    padding-left: 20px;
  }

  .hero-note {
    max-width: 130px;
  }

  .section-heading h2,
  .workflow-statement h2,
  .cta-band h2 {
    font-size: 31px;
  }
}

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