:root {
  --bg: #fafafa; --surface: #ffffff; --text: #1d1d1f; --muted: #5f6368; --line: #e6e6e9;
  --accent: #e1306c; --accent-ink: #ffffff; --accent-soft: #fdeaf1;
  --grad: linear-gradient(120deg, #f77737 0%, #e1306c 50%, #833ab4 100%);
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #121214; --surface: #1c1c1f; --text: #f2f2f4; --muted: #a8a8ae; --line: #2c2c31; --accent-soft: #3a1a26; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
img { max-width: 100%; display: block; }
.bar { background: var(--grad); padding: 14px 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; text-decoration: none; }
.brand img { border-radius: 8px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

.hero { display: grid; gap: 40px; align-items: center; padding: 56px 0 40px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; margin: 0 0 16px; letter-spacing: -0.02em; }
.hero p { color: var(--muted); font-size: 1.125rem; margin: 0 0 28px; max-width: 34em; }
.app-id { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.app-id img { border-radius: 18px; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.app-id strong { display: block; font-size: 1.05rem; }
.app-id span { color: var(--muted); font-size: .9rem; }
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: var(--accent-ink); padding: 14px 24px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.btn:hover { filter: brightness(1.06); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.shots { display: flex; gap: 16px; justify-content: center; }
.shots img { width: min(240px, 44vw); border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.shots img + img { margin-top: 40px; }

.features { display: grid; gap: 16px; padding: 24px 0 48px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); }
.ico { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }
.ico svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.steps { padding: 8px 0 56px; }
.steps h2, .features-title { font-size: 1.5rem; margin: 0 0 16px; }
.steps ol { margin: 0; padding-left: 1.3em; color: var(--muted); }
.steps li { margin: 6px 0; }
.steps li strong { color: var(--text); }

.foot { border-top: 1px solid var(--line); padding: 28px 16px 40px; text-align: center; color: var(--muted); font-size: .9rem; }
.foot p { margin: 8px 0 0; }

.doc { max-width: 760px; margin: 0 auto; padding: 40px 16px 56px; }
.doc h1 { font-size: 2rem; margin: 0 0 4px; }
.doc h2 { font-size: 1.3rem; margin: 36px 0 8px; }
.doc h3 { font-size: 1.05rem; margin: 24px 0 6px; }
.muted { color: var(--muted); margin-top: 0; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 4px 0; }
code { font-size: .9em; background: var(--accent-soft); padding: 1px 5px; border-radius: 5px; overflow-wrap: anywhere; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .95rem; display: block; overflow-x: auto; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }

@media (min-width: 820px) {
  .hero { grid-template-columns: 1.1fr 1fr; padding: 80px 0 56px; }
  .features { grid-template-columns: repeat(3, 1fr); }
}
