:root {
  --ink: #171a24;
  --muted: #545a6b;
  --line: #dfe2ea;
  --paper: #ffffff;
  --tint: #f4f5f9;
  --accent: #3a34d2;
  --accent-ink: #ffffff;
  --radius: 14px;
  --gutter: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(34px, 5.4vw, 56px); font-weight: 750; }
h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 650; }
:target { scroll-margin-top: 84px; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }

.top { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { color: var(--ink); font-weight: 750; text-decoration: none; letter-spacing: -0.01em; font-size: 18px; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.top nav a { color: var(--muted); text-decoration: none; font-size: 16px; }
.top nav a:hover { color: var(--ink); }

.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(36px, 5vw, 56px); }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-weight: 650; font-size: 16px; }
.lede { max-width: 700px; margin: 20px 0 0; color: var(--muted); font-size: clamp(18px, 2vw, 21px); line-height: 1.5; }

.picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: clamp(32px, 5vw, 48px) 0 0; padding: 0; list-style: none; }
.picker a { display: flex; height: 100%; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.picker a:hover { border-color: var(--accent); }
.picker img { width: 48px; height: 48px; flex: none; border-radius: 11px; }
.picker strong { display: block; line-height: 1.3; }
.picker span { display: block; color: var(--muted); font-size: 16px; line-height: 1.35; }

.app { padding: clamp(44px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.app-head { display: flex; align-items: center; gap: 18px; }
.app-head img { width: 64px; height: 64px; flex: none; border-radius: 14px; }
.app-head p { margin: 4px 0 0; color: var(--muted); font-size: 18px; line-height: 1.4; }
.summary { max-width: 780px; margin: 22px 0 28px; }

.shot { margin: 0; }
.shot img { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); }
.shot figcaption { margin-top: 10px; color: var(--muted); font-size: 16px; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 24px 0 0; padding: 0; list-style: none; }

.cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 56px; margin-top: 36px; }
.cols h3 { margin-bottom: 14px; }
.features { margin: 0; padding: 0; list-style: none; }
.features li { padding: 12px 0; border-top: 1px solid var(--line); }
.features strong { display: block; font-weight: 650; }
.steps { margin: 0; padding-left: 24px; }
.steps li { padding: 0 0 10px 4px; }
.guide-link { margin: 24px 0 0; font-weight: 600; }

.band { background: var(--tint); padding: clamp(44px, 6vw, 72px) 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 26px; }
.card { padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.card strong { display: block; margin-bottom: 6px; font-weight: 650; }

.faq { padding: clamp(44px, 6vw, 72px) 0; }
.faq h2 { margin-bottom: 18px; }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { padding: 16px 0; font-weight: 600; cursor: pointer; }
details p { margin: 0 0 18px; color: var(--muted); }

.cta { background: var(--ink); color: #fff; padding: clamp(44px, 6vw, 64px) 0; }
.cta p { max-width: 640px; margin: 12px 0 24px; color: #d3d6e0; }
.cta a:not(.button) { color: #fff; }
.button { display: inline-block; padding: 12px 22px; background: var(--accent); color: var(--accent-ink); border-radius: 10px; font-weight: 650; text-decoration: none; }
.button:hover { background: #2e29b4; }

.doc { padding: clamp(36px, 6vw, 64px) 0 clamp(48px, 7vw, 80px); }
.doc h1 { font-size: clamp(30px, 4.4vw, 44px); }
.doc h2 { margin: 44px 0 12px; font-size: clamp(24px, 3vw, 30px); }
.doc h3 { margin: 26px 0 8px; }
.doc li { margin-bottom: 8px; }
.doc .shot { margin: 22px 0; }
.doc code { padding: 1px 5px; background: var(--tint); border-radius: 5px; font-size: 0.94em; }
.doc-intro { color: var(--muted); }
.note { padding: 14px 16px; background: var(--tint); border-radius: 10px; }
.toc { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 22px 0 0; padding: 14px 0; border-block: 1px solid var(--line); }
.crumbs { margin: 0 0 18px; color: var(--muted); font-size: 16px; }

.foot { padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 16px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot a { color: var(--muted); }

@media (max-width: 800px) {
  .picker, .cols { grid-template-columns: 1fr; }
  .top { position: static; }
  :target { scroll-margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
