:root {
  --bg: #0d1117;
  --surface: #161b22;
  --surface-2: #1c2330;
  --border: #30363d;
  --text: #e6edf3;
  --muted: #8b949e;
  --accent: #3fb950;
  --accent-ink: #0d1117;
  --blue: #58a6ff;
  --radius: 14px;
  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.muted { color: var(--muted); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.15rem; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 30px; }
.mark-bg { fill: var(--accent); }
.mark-ring { fill: none; stroke: var(--accent-ink); stroke-width: 3; }
.mark-handle { stroke: var(--accent-ink); stroke-width: 3.4; stroke-linecap: round; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a:not(.btn) { color: var(--muted); }
.nav-links a:not(.btn):hover { color: var(--text); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 10px; border: 1px solid var(--accent);
  background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 1rem;
  cursor: pointer; font-family: inherit;
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn:disabled { opacity: .6; cursor: default; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-small { padding: 7px 14px; font-size: .9rem; }

/* Hero */
.hero { padding: 88px 0 40px; }
.kicker { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.lead { font-size: 1.2rem; color: #c9d1d9; max-width: 720px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.note { color: var(--muted); font-size: .95rem; }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-lead { color: var(--muted); font-size: 1.1rem; max-width: 720px; }

.video { margin: 0; }
.video-title { font-size: clamp(1.3rem, 2.6vw, 1.75rem); margin-bottom: 18px; }
.accent { color: var(--accent); }
.video video { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); background: #000; }
figcaption { color: var(--muted); font-size: .9rem; margin-top: 10px; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.card { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.section-alt .card { background: var(--bg); }
.card p { color: #c9d1d9; margin: 0; }

.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.steps p { color: #c9d1d9; margin: 0; }
.step-n {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; margin-bottom: 12px;
}

.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.shot { margin: 0; }
.shot img { border-radius: var(--radius); border: 1px solid var(--border); }
.checks { list-style: none; padding: 0; margin: 16px 0 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 14px; color: #c9d1d9; }
.checks li::before {
  content: ""; position: absolute; left: 4px; top: 8px; width: 12px; height: 7px;
  border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg);
}
.checks strong { color: var(--text); }

.chips { list-style: none; padding: 0; margin: 20px 0 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { border: 1px solid var(--border); border-radius: 999px; padding: 7px 16px; background: var(--surface); }
.chips em { color: var(--accent); font-style: normal; font-size: .85rem; margin-left: 4px; }

/* Form */
.form { display: grid; gap: 16px; margin-top: 24px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.form input[type="email"], .form input[type="text"], .form select, .form textarea {
  width: 100%; padding: 11px 13px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font: inherit; font-weight: 400;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.consent { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; font-weight: 400 !important; color: #c9d1d9; }
.consent input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.6em; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: #f85149; }

/* FAQ */
details { border-bottom: 1px solid var(--border); padding: 16px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; }
details p { color: #c9d1d9; margin: 12px 0 0; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); font-size: .95rem; }
.footer-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.footer a { color: var(--muted); }

/* Legal pages */
.doc { padding: 56px 0 72px; }
.doc h1 { font-size: 2.2rem; }
.doc h2 { font-size: 1.3rem; margin-top: 2em; }
.doc p, .doc li { color: #c9d1d9; }
.doc .todo { background: #3a2e12; border: 1px solid #d29922; border-radius: 6px; padding: 0 6px; color: #f0c674; }

@media (max-width: 860px) {
  .grid3, .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 24px; }
  .nav-links a:not(.btn) { display: none; }
  .hero { padding: 56px 0 24px; }
  .section { padding: 48px 0; }
}
@media (max-width: 520px) {
  .row2 { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
  .hero h1 br { display: none; }
  body { font-size: 16px; }
}
