:root {
  --ink: #101015;
  --paper: #f7f7f2;
  --paper-strong: #ffffff;
  --cyan: #20d9d2;
  --cyan-dark: #087b78;
  --coral: #ff5d55;
  --yellow: #ffd84d;
  --muted: #686871;
  --line: #d9d9d2;
  --shadow: 8px 8px 0 var(--ink);
  --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.7;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.18;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
}

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

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

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

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--paper-strong);
  background: var(--ink);
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 3px solid var(--ink);
  background: rgba(247, 247, 242, 0.96);
  backdrop-filter: blur(12px);
}

.nav-shell {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

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

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

.main-nav a:not(.button) {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a[aria-current="page"],
.main-nav a:not(.button):hover {
  border-color: var(--coral);
}

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

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

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

.button:active {
  box-shadow: none;
  transform: translate(4px, 4px);
}

.button-coral {
  background: var(--coral);
}

.button-light {
  background: var(--paper-strong);
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 16px;
  padding: 5px 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  font-size: 13px;
  font-weight: 900;
}

.hero {
  overflow: hidden;
  padding: 76px 0 84px;
  border-bottom: 3px solid var(--ink);
  background: var(--paper-strong);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: 72px;
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 68px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy > p:first-of-type,
.page-hero .lead {
  max-width: 670px;
  margin: 24px 0 0;
  color: #3e3e46;
  font-size: 19px;
}

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

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 22px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  list-style: none;
}

.hero-note li::before {
  margin-right: 7px;
  color: var(--cyan-dark);
  content: "●";
}

.hero-stage {
  position: relative;
  min-height: 560px;
}

.hero-stage::before,
.hero-stage::after {
  position: absolute;
  content: "";
  border: 3px solid var(--ink);
}

.hero-stage::before {
  inset: 42px 40px 46px 58px;
  background: var(--cyan);
  transform: rotate(4deg);
}

.hero-stage::after {
  top: 18px;
  right: 3px;
  width: 92px;
  height: 92px;
  background: var(--coral);
  box-shadow: 8px 8px 0 var(--ink);
  transform: rotate(10deg);
}

.hero-phone {
  position: relative;
  z-index: 2;
  width: 312px;
  margin: 0 auto;
  padding: 10px;
  border: 4px solid var(--ink);
  border-radius: 28px;
  background: var(--ink);
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
}

.hero-phone img {
  width: 100%;
  border-radius: 18px;
}

.hero-sticker {
  position: absolute;
  right: 0;
  bottom: 35px;
  z-index: 3;
  width: 138px;
  padding: 12px;
  border: 3px solid var(--ink);
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--ink);
  font-size: 15px;
  font-weight: 900;
  text-align: center;
  transform: rotate(6deg);
}

.ticker {
  overflow: hidden;
  border-bottom: 3px solid var(--ink);
  color: var(--paper-strong);
  background: var(--ink);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 26s linear infinite;
}

.ticker-track span {
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.ticker-track span::after {
  margin-left: 42px;
  color: var(--coral);
  content: "◆";
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

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

.section-dark {
  color: var(--paper-strong);
  background: var(--ink);
}

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

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

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

.section-head h2,
.section > .container > h2 {
  max-width: 760px;
  margin: 0;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-index {
  flex: 0 0 auto;
  color: var(--coral);
  font-family: Consolas, Monaco, monospace;
  font-size: 14px;
  font-weight: 700;
}

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

.feature-card {
  grid-column: span 4;
  min-height: 250px;
  padding: 28px;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.feature-card:nth-child(2) {
  grid-column: span 5;
  background: var(--yellow);
}

.feature-card:nth-child(3) {
  grid-column: span 3;
  color: var(--paper-strong);
  background: var(--ink);
}

.feature-card:nth-child(4) {
  grid-column: span 7;
  min-height: 220px;
  background: var(--cyan);
}

.feature-card:nth-child(5) {
  grid-column: span 5;
  min-height: 220px;
  background: var(--coral);
}

.feature-no {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-family: Consolas, Monaco, monospace;
  font-size: 14px;
  font-weight: 800;
}

.feature-card h3 {
  margin: 42px 0 10px;
  font-size: 25px;
  line-height: 1.25;
}

.feature-card p {
  margin: 0;
  color: inherit;
  opacity: 0.78;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.shot-card {
  margin: 0;
}

.shot-frame {
  padding: 12px;
  border: 3px solid var(--ink);
  border-radius: 22px;
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.shot-frame img {
  width: 100%;
  max-width: 338px;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
}

.shot-card figcaption {
  margin-top: 20px;
  font-size: 16px;
}

.shot-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 19px;
}

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

.portal-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.portal-card:nth-child(2) {
  background: var(--yellow);
}

.portal-card h3 {
  margin: 0 0 12px;
  font-size: 30px;
}

.portal-card p {
  margin: 0;
  color: #45454c;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-weight: 900;
}

.text-link::after {
  font-size: 22px;
  content: "→";
  transition: transform 160ms ease;
}

.text-link:hover::after {
  transform: translateX(6px);
}

.review-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
  margin-top: 38px;
}

.stat-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 3px solid var(--paper-strong);
}

.stat {
  min-height: 160px;
  padding: 28px;
  border-right: 2px solid var(--paper-strong);
  border-bottom: 2px solid var(--paper-strong);
}

.stat:nth-child(even) {
  border-right: 0;
}

.stat:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.stat strong {
  display: block;
  color: var(--cyan);
  font-family: Consolas, Monaco, monospace;
  font-size: 40px;
  line-height: 1.1;
}

.stat span {
  color: #b8b8bf;
  font-size: 14px;
}

.review-list {
  display: grid;
  gap: 18px;
}

.review {
  margin: 0;
  padding: 24px 26px;
  border-left: 6px solid var(--coral);
  background: #202027;
}

.review p {
  margin: 0 0 12px;
  font-size: 17px;
}

.review cite {
  color: #a9a9b0;
  font-size: 13px;
  font-style: normal;
}

.faq-preview {
  display: grid;
  gap: 14px;
  margin-top: 38px;
}

.faq-item {
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-strong);
}

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

.faq-question::after {
  flex: 0 0 auto;
  font-size: 24px;
  line-height: 1;
  content: "+";
}

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

.faq-answer {
  display: none;
  padding: 0 20px 20px;
  color: #4e4e56;
}

.faq-answer p {
  margin: 0;
}

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

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

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

.download-band h2 {
  margin: 0;
  font-size: 48px;
  line-height: 1.08;
}

.download-band p {
  max-width: 650px;
  margin: 12px 0 0;
  color: #4d471f;
}

.site-footer {
  padding: 46px 0 26px;
  color: #d7d7dd;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 42px;
}

.site-footer .brand {
  color: var(--paper-strong);
}

.footer-about p {
  max-width: 500px;
  margin: 18px 0 0;
  color: #a6a6ad;
}

.footer-nav strong {
  display: block;
  margin-bottom: 12px;
  color: var(--paper-strong);
}

.footer-nav a {
  display: block;
  width: fit-content;
  margin: 8px 0;
  color: #b6b6bd;
}

.footer-nav a:hover {
  color: var(--cyan);
}

.disclaimer {
  margin: 38px 0 0;
  padding-top: 24px;
  border-top: 1px solid #34343c;
  color: #85858e;
  font-size: 13px;
}

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

.page-hero {
  padding: 72px 0 62px;
  border-bottom: 3px solid var(--ink);
  background: var(--cyan);
}

.page-hero-coral {
  background: var(--coral);
}

.page-hero .breadcrumb {
  margin: 0 0 20px;
  font-size: 14px;
  font-weight: 800;
}

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

.page-hero .lead {
  color: #202027;
}

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

.article-nav {
  position: sticky;
  top: 104px;
  border: 3px solid var(--ink);
  background: var(--paper-strong);
  box-shadow: 5px 5px 0 var(--ink);
}

.article-nav strong {
  display: block;
  padding: 14px 18px;
  color: var(--paper-strong);
  background: var(--ink);
}

.article-nav a {
  display: block;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
}

.article-nav a:hover {
  background: var(--yellow);
}

.article-content {
  min-width: 0;
}

.article-section {
  margin-bottom: 64px;
  scroll-margin-top: 110px;
}

.article-section h2 {
  margin: 0 0 24px;
  font-size: 42px;
  line-height: 1.16;
}

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

.article-section p {
  margin: 12px 0;
  color: #45454d;
}

.step-list {
  display: grid;
  gap: 22px;
  counter-reset: steps;
}

.step-card {
  position: relative;
  padding: 28px 30px 28px 90px;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-strong);
  box-shadow: 6px 6px 0 var(--ink);
  counter-increment: steps;
}

.step-card::before {
  position: absolute;
  top: 28px;
  left: 26px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--cyan);
  content: counter(steps, decimal-leading-zero);
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
  font-weight: 900;
}

.step-card:nth-child(even)::before {
  background: var(--yellow);
}

.step-card h3 {
  margin: 0 0 8px;
}

.step-card p {
  margin: 0;
}

.notice {
  padding: 22px 24px;
  border: 3px solid var(--ink);
  border-left-width: 10px;
  background: var(--yellow);
}

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

.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  padding: 16px 18px;
  border: 2px solid var(--ink);
  background: var(--paper-strong);
  font-weight: 700;
}

.check-list li::before {
  margin-right: 10px;
  color: var(--cyan-dark);
  content: "✓";
  font-weight: 900;
}

.setting-table {
  width: 100%;
  border-collapse: collapse;
  border: 3px solid var(--ink);
  background: var(--paper-strong);
}

.setting-table th,
.setting-table td {
  padding: 15px 18px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.setting-table th {
  background: var(--yellow);
}

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

.related-link {
  padding: 24px;
  border: 3px solid var(--ink);
  background: var(--paper-strong);
  box-shadow: 5px 5px 0 var(--ink);
}

.related-link strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

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

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

  .ticker-track {
    animation: none;
  }

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

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-stage {
    width: min(100%, 520px);
    margin: 0 auto;
  }

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

  .shot-grid {
    gap: 18px;
  }

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

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

  .article-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .nav-shell {
    min-height: 66px;
  }

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

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 66px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 18px 20px 24px;
    border-bottom: 3px solid var(--ink);
    background: var(--paper);
  }

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

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

  .main-nav .button {
    margin-top: 16px;
  }

  .hero {
    padding: 56px 0 64px;
  }

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

  .section-head h2,
  .section > .container > h2,
  .download-band h2 {
    font-size: 38px;
  }

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

  .hero-copy > p:first-of-type,
  .page-hero .lead {
    font-size: 17px;
  }

  .hero-stage {
    min-height: 520px;
  }

  .hero-stage::before {
    inset: 54px 18px 54px 32px;
  }

  .hero-phone {
    width: min(76vw, 300px);
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .shot-grid,
  .portal-grid,
  .footer-grid,
  .check-list,
  .related-links {
    grid-template-columns: 1fr;
  }

  .shot-grid {
    gap: 42px;
  }

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

  .download-band .button {
    width: 100%;
  }

  .article-nav {
    grid-template-columns: 1fr 1fr;
  }

  .step-card {
    padding: 84px 22px 24px;
  }

  .step-card::before {
    top: 22px;
    left: 22px;
  }

  .setting-table {
    display: block;
    overflow-x: auto;
  }
}

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

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

  .hero-sticker {
    right: 2px;
    width: 116px;
    font-size: 13px;
  }

  .stat-panel {
    grid-template-columns: 1fr;
  }

  .stat,
  .stat:nth-child(even),
  .stat:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 2px solid var(--paper-strong);
  }

  .stat:last-child {
    border-bottom: 0;
  }
}
