:root {
  --ink: #10201b;
  --ink-soft: #52615b;
  --paper: #f5f7f3;
  --paper-strong: #ffffff;
  --line: #d9e0da;
  --accent: #22c55e;
  --accent-deep: #11753e;
  --dark: #0f172a;
  --dark-soft: #1b2a27;
  --dark-line: #30433b;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --radius: 10px;
  --shadow: 0 18px 50px rgba(15, 23, 42, .11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(34, 197, 94, .42);
  outline-offset: 3px;
}
code, pre { font-family: var(--mono); }
code { font-size: .9em; color: var(--accent-deep); }
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 247, 243, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav-row { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; }
.brand-mark {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px;
  background: var(--dark); color: var(--accent); font: 700 12px/1 var(--mono);
}
.brand-muted { color: var(--ink-soft); font-weight: 500; }
.site-nav { display: flex; align-items: center; gap: 26px; color: var(--ink-soft); font-size: 14px; }
.site-nav a { transition: color .2s ease; }
.site-nav a:hover { color: var(--ink); }
.site-nav .nav-link-strong { color: var(--accent-deep); font-weight: 700; }
.menu-button { display: none; border: 1px solid var(--line); background: var(--paper-strong); padding: 8px 12px; border-radius: 8px; cursor: pointer; }

.hero {
  display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(360px, .97fr);
  gap: clamp(36px, 7vw, 96px); align-items: center; min-height: 620px; padding: 86px 0 82px;
}
.eyebrow { margin: 0 0 14px; color: var(--accent-deep); font: 700 11px/1.3 var(--mono); letter-spacing: .13em; }
.hero h1, .section-heading h2, .article-hero h1 { margin: 0; letter-spacing: -.055em; line-height: 1.08; }
.hero h1 { max-width: 11ch; font-size: clamp(44px, 7vw, 82px); }
.hero-lede { max-width: 600px; margin: 24px 0 0; color: var(--ink-soft); font-size: clamp(18px, 2.2vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button {
  display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 10px 18px;
  border-radius: 8px; border: 1px solid transparent; font-weight: 700; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--dark); color: #fff; }
.button-primary:hover { background: #1d2b42; }
.button-secondary { color: var(--ink); border-color: var(--line); background: rgba(255,255,255,.52); }
.button-secondary:hover { border-color: var(--ink); background: #fff; }
.hero-note { max-width: 560px; margin: 22px 0 0; color: #708079; font-size: 13px; }
.support-inline {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  max-width: 650px; margin-top: 26px; padding: 12px 14px; border: 1px solid #c4dcc9;
  border-radius: 8px; background: #eaf5ec; color: #3c5d47; font-size: 13px;
}
.support-inline p { margin: 0; }
.support-status { color: var(--accent-deep); font: 700 11px var(--mono); white-space: nowrap; }
.support-copy {
  border: 1px solid #a9c9b1; border-radius: 6px; padding: 7px 9px; background: #fff;
  color: var(--accent-deep); font-size: 12px; font-weight: 700; cursor: pointer;
  transition: border-color .2s ease, transform .2s ease;
}
.support-copy:hover { border-color: var(--accent-deep); transform: translateY(-1px); }

.real-screenshot { margin: 0; }
.real-screenshot img {
  display: block; width: 100%; height: auto; border: 1px solid #b9c7bc; border-radius: var(--radius);
  box-shadow: var(--shadow); background: #11131d;
}
.real-screenshot figcaption { margin-top: 12px; color: #708079; font-size: 12px; line-height: 1.5; }
.real-screenshot figcaption a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }

.screenshot-section { padding-top: 30px; }
.screenshot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.screenshot-card {
  margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper-strong); box-shadow: 0 14px 34px rgba(15, 23, 42, .07);
}
.screenshot-card-wide { grid-column: 1 / -1; }
.screenshot-card img {
  display: block; width: 100%; height: auto; border-radius: 8px; background: #11131d;
}
.screenshot-card figcaption { margin: 10px 2px 2px; color: #708079; font-size: 12px; line-height: 1.5; }
.screenshot-card figcaption a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }

.section { padding: 104px 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 42px; }
.section-heading h2 { font-size: clamp(32px, 4vw, 52px); }
.section-heading > p { max-width: 430px; margin: 0; color: var(--ink-soft); }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-item { padding: 28px; border-top: 3px solid var(--dark); background: var(--paper-strong); }
.step-number { display: block; color: var(--accent-deep); font: 700 12px var(--mono); margin-bottom: 22px; }
.step-item h3, .check-item h3, .guide-card h3 { margin: 0; letter-spacing: -.025em; line-height: 1.25; }
.step-item p { margin: 12px 0 20px; color: var(--ink-soft); font-size: 15px; }
pre { position: relative; margin: 0; padding: 16px 46px 16px 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: #f0f4ef; color: var(--dark); font-size: 12px; line-height: 1.65; }
pre code { color: var(--dark); white-space: pre; }
.copy-button { position: absolute; top: 9px; right: 9px; border: 1px solid var(--line); border-radius: 6px; padding: 4px 7px; background: #fff; color: var(--ink-soft); font-size: 11px; cursor: pointer; }
.copy-button:hover { color: var(--ink); border-color: var(--ink); }

.section-dark { background: var(--dark); color: #eff8f1; }
.section-heading-dark > p { color: #a5b8af; }
.section-dark .eyebrow { color: #78dfa0; }
.check-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--dark-line); border: 1px solid var(--dark-line); }
.check-item { min-height: 230px; padding: 25px; background: var(--dark); }
.check-label { display: inline-block; margin-bottom: 54px; color: #78dfa0; font: 700 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.check-item h3 { font-size: 19px; }
.check-item p { margin: 12px 0 0; color: #a5b8af; font-size: 14px; line-height: 1.65; }

.guides-heading { align-items: center; }
.search-box { display: flex; flex-direction: column; gap: 7px; min-width: min(100%, 280px); }
.search-box label { color: var(--ink-soft); font-size: 12px; }
.search-box input { width: 100%; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 11px 13px; color: var(--ink); }
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.guide-card { display: flex; flex-direction: column; min-height: 225px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.guide-card:hover { transform: translateY(-3px); border-color: #aec4b5; box-shadow: 0 14px 34px rgba(15, 23, 42, .07); }
.guide-kicker { margin-bottom: 16px; color: var(--accent-deep); font: 700 11px var(--mono); letter-spacing: .08em; }
.guide-card h3 { font-size: 24px; }
.guide-card p { margin: 12px 0 20px; color: var(--ink-soft); }
.text-link { margin-top: auto; color: var(--accent-deep); font-weight: 700; font-size: 14px; }
.text-link::after { content: "  ->"; }
.empty-state { margin: 24px 0 0; color: var(--ink-soft); }

.faq-section { padding-top: 30px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; gap: 18px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent-deep); font: 700 20px/1 var(--mono); }
details[open] summary::after { content: "−"; }
details p { max-width: 760px; margin: -4px 0 22px; color: var(--ink-soft); }

.source-callout { display: grid; grid-template-columns: 1fr auto; gap: 44px; align-items: center; padding: 42px; border-radius: var(--radius); background: #dfeee2; }
.source-callout h2 { max-width: 560px; margin: 0; letter-spacing: -.04em; line-height: 1.15; }
.source-callout p { max-width: 560px; margin: 12px 0 0; color: #4d6759; }
.source-links { display: flex; flex-direction: column; gap: 10px; min-width: 220px; }
.source-links a { padding: 10px 12px; border-bottom: 1px solid #b4ccb9; color: var(--accent-deep); font-weight: 700; font-size: 14px; }
.source-links a:hover { color: var(--ink); }
.site-footer { margin-top: 104px; border-top: 1px solid var(--line); }
.footer-row { display: flex; justify-content: space-between; gap: 24px; padding: 24px 0 32px; color: #718079; font-size: 12px; }

.article-shell { width: min(940px, calc(100% - 40px)); margin: 0 auto; }
.article-hero { padding: 92px 0 56px; border-bottom: 1px solid var(--line); }
.article-hero h1 { max-width: 760px; font-size: clamp(38px, 6vw, 70px); }
.article-dek { max-width: 720px; margin: 22px 0 0; color: var(--ink-soft); font-size: 20px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 24px; color: #708079; font: 12px var(--mono); }
.article-body { padding: 54px 0 90px; }
.article-body h2 { margin: 46px 0 14px; font-size: 30px; letter-spacing: -.035em; line-height: 1.2; }
.article-body h3 { margin: 34px 0 10px; font-size: 20px; }
.article-body p, .article-body li { max-width: 760px; color: #3f5048; }
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li { margin: 9px 0; }
.article-body pre { margin: 18px 0 26px; max-width: 760px; background: var(--dark); color: #eff8f1; border-color: var(--dark); }
.article-body pre code { color: #eff8f1; }
.article-body .note { padding: 16px 18px; border-left: 3px solid var(--accent); background: #e6f2e8; color: #3d5a48; }
.article-nav { display: flex; justify-content: space-between; gap: 18px; padding-top: 28px; border-top: 1px solid var(--line); }
.article-nav a { color: var(--accent-deep); font-weight: 700; }
.support-callout {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  margin: 48px 0 32px; padding: 22px 24px; border-left: 3px solid var(--accent);
  background: #eaf5ec;
}
.support-callout h2 { margin: 0 0 5px; font-size: 19px; letter-spacing: -.02em; }
.support-callout p { margin: 0; color: #4d6759; font-size: 14px; }
.support-callout strong { color: var(--accent-deep); }
.support-callout .support-copy { white-space: nowrap; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 68px; }
  .real-screenshot { max-width: 650px; }
  .check-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .shell, .article-shell { width: min(100% - 28px, 1160px); }
  .nav-row { min-height: 64px; }
  .menu-button { display: block; }
  .site-nav { display: none; position: absolute; left: 14px; right: 14px; top: 68px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 11px 12px; }
  .hero { gap: 38px; padding: 56px 0 64px; }
  .hero h1 { font-size: clamp(42px, 14vw, 66px); }
  .hero-lede { font-size: 18px; }
  .support-inline { grid-template-columns: 1fr auto; }
  .support-inline p { grid-column: 1 / -1; grid-row: 1; padding-left: 0; }
  .support-status { grid-column: 1; grid-row: 2; }
  .support-inline .support-copy { grid-column: 2; grid-row: 2; }
  .section { padding: 74px 0; }
  .section-heading { display: block; margin-bottom: 30px; }
  .section-heading > p { margin-top: 16px; }
  .step-grid, .guide-grid { grid-template-columns: 1fr; }
  .screenshot-grid { grid-template-columns: 1fr; }
  .screenshot-card-wide { grid-column: auto; }
  .step-item { padding: 23px; }
  .check-grid { grid-template-columns: 1fr; }
  .check-item { min-height: auto; padding: 23px; }
  .check-label { margin-bottom: 26px; }
  .source-callout { display: block; padding: 28px 23px; }
  .source-links { margin-top: 24px; }
  .footer-row { display: block; }
  .footer-row span { display: block; }
  .footer-row span + span { margin-top: 8px; }
  .article-hero { padding: 62px 0 42px; }
  .article-dek { font-size: 18px; }
  .article-body { padding: 42px 0 70px; }
  .article-body h2 { margin-top: 38px; font-size: 26px; }
  .article-nav { display: block; }
  .article-nav a { display: block; margin-top: 12px; }
  .support-callout { display: block; padding: 19px; }
  .support-callout .support-copy { margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
