/* Лендинг juristrutier.net. Тёмная тема по умолчанию системная, светлая — если человек так настроил устройство. */
:root {
  --bg: #0d1117; --fg: #e8edf4; --muted: #9aa7b4; --card: #161d26; --line: #232c38;
  --accent: #3b82f6; --accent-fg: #fff; --ok: #34d399; --warn: #fbbf24;
  --max: 1060px;
}
@media (prefers-color-scheme: light) {
  :root { --bg: #ffffff; --fg: #0e1621; --muted: #5b6b7a; --card: #f4f6f9; --line: #e3e8ee; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
a { color: var(--accent); }
h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.02em; }
h2 { font-size: clamp(22px, 3.4vw, 30px); margin: 0 0 18px; letter-spacing: -0.01em; }
h3 { font-size: 18px; margin: 0 0 8px; }
p { margin: 0 0 14px; }
.muted { color: var(--muted); }

header { border-bottom: 1px solid var(--line); position: sticky; top: 0; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); z-index: 5; }
header .wrap { display: flex; align-items: center; gap: 16px; height: 62px; }
.logo { font-weight: 700; letter-spacing: -0.02em; text-decoration: none; color: var(--fg); }
header nav { margin-left: auto; display: flex; gap: 18px; align-items: center; font-size: 15px; }
header nav a { color: var(--muted); text-decoration: none; }
header nav a:hover { color: var(--fg); }

.btn { display: inline-block; background: var(--accent); color: var(--accent-fg); padding: 13px 22px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.btn.sec { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.btn:hover { opacity: .92; }

.hero { padding: 72px 0 56px; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 620px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero .note { font-size: 14px; color: var(--muted); margin-top: 16px; }

section { padding: 52px 0; border-top: 1px solid var(--line); }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.card .ico { font-size: 26px; display: block; margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.steps { counter-reset: s; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps .card::before { counter-increment: s; content: counter(s); display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-fg); font-weight: 700; margin-bottom: 12px; }

.stats { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px; text-align: center; }
.stat b { display: block; font-size: 30px; letter-spacing: -0.02em; }
.stat span { color: var(--muted); font-size: 14px; }

.price { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.price .card.hl { border-color: var(--accent); }
.price .amount { font-size: 30px; font-weight: 700; margin: 6px 0 14px; }
.price ul { margin: 0 0 18px; padding-left: 20px; color: var(--muted); font-size: 15px; }
.price li { margin-bottom: 6px; }

details { border-bottom: 1px solid var(--line); padding: 16px 0; }
details summary { cursor: pointer; font-weight: 600; }
details p { margin: 12px 0 0; color: var(--muted); }

footer { border-top: 1px solid var(--line); padding: 34px 0 54px; color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); }
footer .row { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 12px; }

.legal { padding: 44px 0 70px; max-width: 760px; }
.legal h2 { margin-top: 34px; font-size: 21px; }
.legal p, .legal li { color: var(--muted); font-size: 15px; }
