:root {
  --bg: #ffffff;
  --surface: #fdf2f6;
  --text: #1f1a1d;
  --muted: #645a60;
  --accent: #d1145a;
  --accent-2: #f0407f;
  --border: #f1dde5;
  --hero: linear-gradient(135deg, #fde7ef 0%, #ffffff 70%);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141013;
    --surface: #1f181c;
    --text: #f3eaee;
    --muted: #b3a5ac;
    --accent: #ff4d8d;
    --accent-2: #ff7aa8;
    --border: #33262d;
    --hero: linear-gradient(135deg, #2a1520 0%, #141013 70%);
  }
}
* { 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;
}
.wrap { max-width: 820px; margin: 0 auto; padding: 0 16px; }

header { border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--bg); z-index: 5; }
header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--text); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span { color: var(--accent); }
nav { display: flex; gap: 18px; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
nav a:hover, nav a[aria-current] { color: var(--accent); }

.hero { background: var(--hero); border-bottom: 1px solid var(--border); }
.hero .wrap { display: flex; align-items: center; gap: 32px; padding-top: 56px; padding-bottom: 56px; }
.hero img { width: 150px; height: 150px; border-radius: 34px; box-shadow: 0 14px 40px rgba(209, 20, 90, .28); flex-shrink: 0; }
.hero h1 { font-size: 2.4rem; margin: 0 0 10px; }
.hero h1 span { color: var(--accent); }
@media (max-width: 600px) {
  .hero .wrap { flex-direction: column; text-align: center; padding-top: 36px; padding-bottom: 40px; gap: 20px; }
  .hero img { width: 112px; height: 112px; border-radius: 26px; }
  .hero h1 { font-size: 1.9rem; }
}

main { padding: 40px 0 56px; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 12px; }
h2 { font-size: 1.25rem; margin: 36px 0 10px; }
.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 20px; }
.muted { color: var(--muted); font-size: .92rem; }
a { color: var(--accent); }
code { background: var(--surface); border: 1px solid var(--border); border-radius: 5px; padding: 1px 5px; font-size: .9em; }
li { margin-bottom: 6px; }

.btn {
  display: inline-block; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; text-decoration: none;
  padding: 13px 24px; border-radius: 12px; font-weight: 700;
}
.btn:hover { filter: brightness(1.06); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.card .ico { font-size: 1.6rem; line-height: 1; margin-bottom: 8px; }
.card h3 { margin: 0 0 6px; font-size: 1.02rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 12px; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px 14px 56px; position: relative; margin: 0; }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 13px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .9rem; }

.doc h2 { border-top: 1px solid var(--border); padding-top: 24px; }

footer { border-top: 1px solid var(--border); padding: 22px 0; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer a { color: var(--muted); margin-right: 16px; }
