:root {
  --ink: #17171c;
  --paper: #fffaf0;
  --white: #ffffff;
  --coral: #ff5f5f;
  --coral-dark: #d94348;
  --aqua: #2cc8bd;
  --aqua-dark: #177f7b;
  --yellow: #ffd85c;
  --muted: #67666d;
  --line: #d8d3c9;
  --shadow: 7px 7px 0 var(--ink);
  --radius: 6px;
  --content: 1180px;
}

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

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.23;
  background-image: radial-gradient(var(--ink) 0.7px, transparent 0.7px);
  background-size: 15px 15px;
}

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

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

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

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

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 8px 12px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-140%);
}

.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: 100;
  border-bottom: 2px solid var(--ink);
  background: rgba(255, 250, 240, 0.96);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  min-height: 72px;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  margin-right: 10px;
  border: 2px solid var(--ink);
  border-radius: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a:not(.button) {
  padding: 8px 12px;
  border-bottom: 3px solid transparent;
  font-size: 14px;
  font-weight: 700;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--yellow);
  cursor: pointer;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  color: var(--white);
  background: var(--coral);
  box-shadow: 4px 4px 0 var(--ink);
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

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

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

.button-dark:hover {
  background: #323239;
  box-shadow: 2px 2px 0 var(--aqua);
}

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

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  min-height: 610px;
  gap: 60px;
  padding-block: 60px 48px;
}

.hero-copy h1 {
  max-width: 670px;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 72px;
  line-height: 1.03;
  letter-spacing: 0;
}

.hero-copy,
.subhero-copy,
.subhero-note {
  min-width: 0;
}

.hero-copy > p {
  max-width: 660px;
  margin: 24px 0 0;
  color: #38373e;
  font-size: 18px;
}

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

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 28px;
  font-size: 13px;
  font-weight: 800;
}

.hero-facts span::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  content: "";
  background: var(--aqua);
}

.hero-visual {
  position: relative;
  min-height: 500px;
}

.burst {
  position: absolute;
  top: 18px;
  right: 8%;
  width: 180px;
  height: 180px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  clip-path: polygon(50% 0, 61% 28%, 85% 10%, 76% 38%, 100% 42%, 74% 54%, 94% 77%, 66% 70%, 62% 100%, 49% 75%, 31% 97%, 34% 69%, 5% 78%, 27% 55%, 0 43%, 27% 37%, 14% 10%, 39% 28%);
}

.phone-shot {
  position: absolute;
  width: min(245px, 48%);
  max-width: 400px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.phone-shot.front {
  right: 3%;
  bottom: 0;
  z-index: 2;
  transform: rotate(3deg);
}

.phone-shot.back {
  bottom: 26px;
  left: 3%;
  transform: rotate(-5deg);
}

.ticker {
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
  color: var(--white);
  background: var(--ink);
}

.ticker-track {
  display: flex;
  justify-content: center;
  gap: 34px;
  min-width: max-content;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 900;
}

.ticker-track span::after {
  margin-left: 34px;
  color: var(--aqua);
  content: "✦";
}

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

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

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

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

.section-head h2 {
  max-width: 760px;
  margin: 0;
  font-size: 48px;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-index {
  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: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}

.feature-item {
  min-height: 260px;
  padding: 28px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
}

.feature-item:nth-child(2),
.feature-item:nth-child(7) {
  background: #dff8f5;
}

.feature-item:nth-child(3),
.feature-item:nth-child(5) {
  background: #ffe1de;
}

.feature-number {
  display: block;
  margin-bottom: 34px;
  color: var(--coral-dark);
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
  font-weight: 900;
}

.feature-item h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.feature-item p {
  margin: 0;
  color: #46454b;
  font-size: 14px;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  gap: 22px;
}

.screenshot-frame {
  margin: 0;
}

.screenshot-frame:nth-child(even) {
  margin-top: 46px;
}

.screenshot-frame img {
  width: 100%;
  max-width: 322px;
  height: auto;
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 6px 6px 0 var(--coral);
}

.screenshot-frame:nth-child(even) img {
  box-shadow: 6px 6px 0 var(--aqua);
}

.screenshot-frame figcaption {
  padding-top: 16px;
  font-size: 14px;
}

.screenshot-frame strong {
  display: block;
  font-size: 17px;
}

.watch-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  counter-reset: flow;
}

.flow-step {
  position: relative;
  padding: 26px 28px 26px 0;
  counter-increment: flow;
}

.flow-step:not(:last-child) {
  border-right: 1px solid #5d5c63;
  margin-right: 28px;
}

.flow-step::before {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border: 2px solid var(--white);
  border-radius: 50%;
  color: var(--ink);
  content: counter(flow, decimal-leading-zero);
  background: var(--yellow);
  font-family: Consolas, Monaco, monospace;
  font-size: 12px;
  font-weight: 900;
}

.flow-step h3 {
  margin: 0 0 8px;
  color: var(--aqua);
  font-size: 20px;
}

.flow-step p {
  margin: 0;
  color: #d7d5d9;
  font-size: 14px;
}

.portal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.portal-card {
  position: relative;
  min-height: 310px;
  padding: 38px;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.portal-card:nth-child(2) {
  background: #dff8f5;
}

.portal-card .tag {
  display: inline-block;
  margin-bottom: 54px;
  font-family: Consolas, Monaco, monospace;
  font-size: 12px;
  font-weight: 900;
}

.portal-card h3 {
  max-width: 460px;
  margin: 0 0 12px;
  font-size: 30px;
  line-height: 1.2;
}

.portal-card p {
  max-width: 480px;
  margin: 0 0 22px;
  color: #45444a;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid var(--ink);
  font-weight: 900;
}

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

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

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

.quote-card {
  margin: 0;
  padding: 28px;
  border-left: 5px solid var(--coral);
  background: var(--white);
}

.quote-card:nth-child(2) {
  border-color: var(--aqua);
}

.quote-card:nth-child(3) {
  border-color: var(--yellow);
}

.quote-card p {
  margin: 0 0 20px;
  font-size: 16px;
}

.quote-card cite {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

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

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

.faq-question {
  display: grid;
  grid-template-columns: 1fr 32px;
  align-items: center;
  width: 100%;
  padding: 22px 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.faq-question::after {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  content: "+";
  background: var(--yellow);
  font-size: 18px;
  line-height: 1;
}

.faq-question[aria-expanded="true"]::after {
  content: "−";
  background: var(--aqua);
}

.faq-answer {
  max-width: 900px;
  padding: 0 44px 22px 0;
  color: #49484f;
}

.faq-answer p {
  margin: 0;
}

.cta-band {
  padding-block: 56px;
  color: var(--white);
  background: var(--coral);
}

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

.cta-inner h2 {
  max-width: 720px;
  margin: 0;
  font-size: 46px;
  line-height: 1.1;
}

.site-footer {
  color: #e8e5e8;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 50px;
  padding-block: 58px 40px;
}

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

.footer-brand p {
  max-width: 520px;
  margin: 18px 0 0;
  color: #bdbac0;
  font-size: 14px;
}

.footer-title {
  margin: 0 0 15px;
  color: var(--aqua);
  font-size: 13px;
}

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

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-block: 22px;
  border-top: 1px solid #444249;
  color: #aaa7ae;
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
}

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

.subhero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: end;
  gap: 70px;
  padding-block: 74px 64px;
}

.subhero h1 {
  max-width: 820px;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-all;
  font-size: 64px;
  line-height: 1.08;
  letter-spacing: 0;
}

.subhero-copy > p {
  max-width: 760px;
  margin: 22px 0 0;
  overflow-wrap: anywhere;
  color: #45444a;
  font-size: 17px;
}

.subhero-note {
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--yellow);
  box-shadow: 6px 6px 0 var(--ink);
}

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

.subhero-note span {
  font-size: 13px;
}

.article-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 70px;
  padding-block: 70px 90px;
}

.article-nav {
  position: sticky;
  top: 102px;
  align-self: start;
  padding: 20px 0;
  border-top: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
}

.article-nav strong {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
}

.article-nav a {
  display: block;
  padding: 7px 0;
  color: var(--muted);
  font-size: 13px;
}

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

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

.content-section {
  padding-bottom: 58px;
  margin-bottom: 58px;
  border-bottom: 2px solid var(--line);
}

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

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

.content-section h3 {
  margin: 30px 0 10px;
  font-size: 21px;
}

.content-section p {
  margin: 0 0 16px;
  color: #3e3d43;
}

.step-list {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: steps;
}

.step-card {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 22px;
  padding: 26px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  counter-increment: steps;
}

.step-card::before {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  content: counter(steps, decimal-leading-zero);
  background: var(--aqua);
  font-family: Consolas, Monaco, monospace;
  font-weight: 900;
}

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

.step-card p:last-child {
  margin-bottom: 0;
}

.notice {
  padding: 22px 24px;
  margin: 24px 0;
  border: 2px solid var(--ink);
  border-left-width: 8px;
  border-radius: var(--radius);
  background: #fff1c1;
}

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

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  color: var(--aqua-dark);
  content: "✓";
  font-weight: 900;
}

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

.mini-card {
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
}

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

.mini-card p:last-child {
  margin-bottom: 0;
}

.feature-detail {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.feature-detail:last-child {
  border-bottom: 0;
}

.feature-detail .code {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--coral);
  color: var(--white);
  font-family: Consolas, Monaco, monospace;
  font-weight: 900;
}

.feature-detail:nth-child(even) .code {
  color: var(--ink);
  background: var(--aqua);
}

.feature-detail h3 {
  margin-top: 0;
}

.faq-page-list .faq-answer {
  padding-bottom: 26px;
}

.related-strip {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 28px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: #dff8f5;
}

.related-strip h3 {
  margin: 0 0 6px;
  font-size: 25px;
}

.related-strip p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero-copy h1 {
    font-size: 58px;
  }

  .subhero h1 {
    font-size: 50px;
  }

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

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

  .flow-step:nth-child(2) {
    border-right: 0;
  }

  .hero-grid {
    grid-template-columns: 1fr 420px;
    gap: 20px;
  }

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

  .article-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
  }

  .article-nav strong {
    width: 100%;
  }
}

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

  .nav-wrap {
    min-height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 14px;
    border-bottom: 2px solid var(--ink);
    background: var(--paper);
  }

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

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

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 44px 36px;
  }

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

  .hero-copy > p {
    font-size: 16px;
  }

  .hero-visual {
    min-height: 430px;
    margin-top: 38px;
  }

  .phone-shot {
    width: min(210px, 54%);
  }

  .section {
    padding-block: 60px;
  }

  .section-head h2,
  .cta-inner h2 {
    font-size: 34px;
  }

  .section-head {
    align-items: start;
    flex-direction: column-reverse;
    margin-bottom: 28px;
  }

  .feature-grid,
  .portal-grid,
  .quote-grid,
  .mini-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .screenshot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px 14px;
  }

  .screenshot-frame:nth-child(even) {
    margin-top: 28px;
  }

  .watch-flow {
    grid-template-columns: 1fr;
  }

  .flow-step,
  .flow-step:not(:last-child),
  .flow-step:nth-child(2) {
    margin-right: 0;
    border-right: 0;
    border-bottom: 1px solid #5d5c63;
  }

  .flow-step:last-child {
    border-bottom: 0;
  }

  .cta-inner,
  .footer-bottom,
  .related-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .cta-inner,
  .footer-bottom {
    display: flex;
  }

  .subhero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 50px;
  }

  .subhero h1 {
    font-size: 28px;
  }

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

  .subhero-note {
    width: 100%;
    max-width: 420px;
  }

  .step-card,
  .feature-detail {
    grid-template-columns: 1fr;
  }

  .step-card::before {
    width: 48px;
    height: 48px;
  }

  .related-strip {
    display: flex;
  }
}

@media (max-width: 420px) {
  .brand {
    font-size: 18px;
  }

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

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

  .hero-copy h1 {
    font-size: 36px;
  }

  .section-head h2,
  .cta-inner h2 {
    font-size: 30px;
  }

  .hero-visual {
    min-height: 370px;
  }

  .phone-shot {
    width: 53%;
  }

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

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

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

  .screenshot-frame,
  .screenshot-frame:nth-child(even) {
    width: min(100%, 322px);
    margin: 0 auto;
  }

  .portal-card {
    padding: 28px;
  }

  .portal-card .tag {
    margin-bottom: 30px;
  }
}

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