:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #15233b;
  --muted: #5b6b85;
  --line: #dde3ec;
  --brand: #0f3d91;
  --brand-ink: #ffffff;
  --accent: #ff7a1a;
  --ok: #157f4c;
  --ok-bg: #e6f6ec;
  --warn: #a35a00;
  --warn-bg: #fff3e0;
  --bad: #b3261e;
  --bad-bg: #fdecea;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(15, 35, 59, 0.08);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.5; font-size: 16px; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5rem; }
h1 { font-size: clamp(1.75rem, 4.5vw, 2.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1rem; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

header.top { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; color: var(--text); }
.logo .mark { width: 30px; height: 30px; border-radius: 8px; background: var(--brand); display: grid; place-items: center; color: #fff; font-size: 16px; }
.lang a { text-decoration: none; font-weight: 600; color: var(--muted); margin-left: 12px; }
.lang a.active { color: var(--text); }

.hero { padding: 48px 0 24px; }
.hero .grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 860px) { .hero .grid { grid-template-columns: 1fr; } }
.hero .lead { font-size: 1.15rem; color: var(--muted); }
.trust { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 18px 0 0; padding: 0; list-style: none; }
.trust li { display: flex; gap: 8px; align-items: center; font-size: .95rem; }
.trust li::before { content: "✓"; color: var(--ok); font-weight: 700; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
.card h2 { font-size: 1.25rem; }
.step { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--line); }
.step:first-of-type { border-top: 0; padding-top: 0; }
.step-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--brand); margin-bottom: 8px; }
label { display: block; font-weight: 600; font-size: .95rem; margin: 12px 0 6px; }
input[type="text"], input[type="date"], input[type="email"], select {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff;
  font: inherit; color: var(--text);
}
input:focus, select:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.hint { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.hidden { display: none !important; }

.ac { position: relative; }
.ac-list { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow); z-index: 20; max-height: 260px; overflow: auto; margin-top: 4px; }
.ac-item { padding: 9px 12px; cursor: pointer; display: flex; gap: 10px; font-size: .95rem; align-items: baseline; }
.ac-item > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-item:hover, .ac-item.active { background: #eef3fb; }
.ac-item .code { font-weight: 700; color: var(--brand); min-width: 38px; }
.ac-item .sub { color: var(--muted); font-size: .85rem; }

.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (max-width: 560px) { .seg { grid-template-columns: 1fr; } }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { margin: 0; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; text-align: center; font-weight: 600; background: #fff; }
.seg input:checked + label { border-color: var(--brand); background: #eef3fb; color: var(--brand); }
.seg input:focus-visible + label { outline: 2px solid var(--brand); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 20px; border-radius: 10px; font-weight: 700;
  font-size: 1rem; border: 0; cursor: pointer; text-decoration: none; transition: transform .05s ease, filter .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-accent { background: var(--accent); color: #1b1200; }
.btn-accent:hover { filter: brightness(1.05); }
.btn-ghost { background: transparent; color: var(--brand); border: 1px solid var(--line); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: default; }

.result { margin-top: 22px; }
.badge { display: inline-block; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: .9rem; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.maybe { background: var(--warn-bg); color: var(--warn); }
.badge.bad { background: var(--bad-bg); color: var(--bad); }
.amount { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.02em; margin: 8px 0 2px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 14px 0; padding: 0; list-style: none; }
.facts li { background: var(--bg); border-radius: 10px; padding: 10px 12px; font-size: .9rem; }
.facts li strong { display: block; font-size: 1rem; }
.verdict { border-left: 4px solid var(--brand); padding: 10px 14px; background: #f3f6fc; border-radius: 0 10px 10px 0; margin: 14px 0; }
.verdict.weak { border-color: var(--ok); background: var(--ok-bg); }
.verdict.contestable { border-color: var(--warn); background: var(--warn-bg); }
.verdict.strong { border-color: var(--bad); background: var(--bad-bg); }
.steps { padding-left: 1.2rem; margin: 0 0 1rem; }
.steps li { margin-bottom: 6px; }

.offer { margin-top: 18px; border: 2px solid var(--accent); border-radius: var(--radius); padding: 20px; background: #fffaf5; }
.offer .price { font-size: 1.6rem; font-weight: 800; }
.offer .price small { font-size: .9rem; font-weight: 600; color: var(--muted); }
.offer ul { padding-left: 1.2rem; margin: 10px 0 14px; }
.offer li { margin-bottom: 4px; }
.offer .fine { font-size: .8rem; color: var(--muted); margin-top: 10px; }

section.band { padding: 40px 0; }
section.band.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px) { .three { grid-template-columns: 1fr; } }
.three .card { box-shadow: none; }
.num { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 10px; }

table.cmp { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
table.cmp th, table.cmp td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .95rem; }
table.cmp th { background: #f3f6fc; }
table.cmp tr:last-child td { border-bottom: 0; }
table.cmp td.hl { background: #fffaf5; font-weight: 600; }
.cmp-wrap { overflow-x: auto; }

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

footer { padding: 36px 0 48px; color: var(--muted); font-size: .875rem; }
footer nav a { margin-right: 16px; }

.modal-bg { position: fixed; inset: 0; background: rgba(15, 35, 59, .55); display: grid; place-items: center; z-index: 50; padding: 16px; }
.modal { background: #fff; border-radius: var(--radius); max-width: 460px; width: 100%; padding: 24px; position: relative; box-shadow: var(--shadow); }
.modal .close { position: absolute; right: 12px; top: 10px; border: 0; background: none; font-size: 1.4rem; cursor: pointer; color: var(--muted); }
.radio { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; margin-top: 8px; cursor: pointer; font-weight: 500; }
.radio input { margin-top: 4px; }
.radio b { display: block; }

.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  padding: 14px 16px; z-index: 40; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: .9rem; max-width: 760px; margin: 0 auto; }
.consent .btns { display: flex; gap: 8px; margin-left: auto; }
.consent .btn { padding: 8px 14px; font-size: .9rem; }

.legal { padding: 40px 0; max-width: 760px; }
.legal h2 { margin-top: 28px; }
.notice { background: var(--warn-bg); border: 1px solid #f3d9b1; color: #5c3b00; border-radius: 10px; padding: 10px 14px; font-size: .9rem; }

/* kit order form */
.kit-form { margin-top: 22px; padding-top: 22px; border-top: 2px solid var(--accent); }
.kit-form .step:first-of-type { border-top: 0; padding-top: 0; }
.kit-form .radio span b { display: block; margin-bottom: 2px; }
.kit-form .radio { align-items: flex-start; }
.kit-form textarea { font: inherit; }

/* ---------- redesign ---------- */
.hero { background: radial-gradient(1200px 500px at 10% -10%, #e4ecfb 0%, transparent 60%), radial-gradient(900px 400px at 100% 0%, #fff1e6 0%, transparent 55%); padding: 56px 0 36px; }
.hero h1 { font-size: clamp(1.9rem, 4.8vw, 2.9rem); }
.hero .lead { font-size: 1.15rem; max-width: 560px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.chips li { font-size: .82rem; font-weight: 600; padding: 6px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); }
.eyebrow { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin-bottom: 8px; }
section.band { padding: 56px 0; }
section.band h2 { margin-bottom: 8px; }
section.band .sub { color: var(--muted); max-width: 640px; margin-bottom: 26px; }
.kit-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 860px) { .kit-grid { grid-template-columns: 1fr; } }
.preview { position: relative; }
.doc { background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 40px rgba(15,35,59,.12); padding: 26px 28px; font-family: Georgia, 'Times New Roman', serif; font-size: .82rem; line-height: 1.5; color: #222; transform: rotate(-1.2deg); }
.doc .hd { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: .7rem; color: var(--muted); display: flex; justify-content: space-between; margin-bottom: 14px; }
.doc p { margin: 0 0 8px; }
.doc .sj { font-weight: 700; }
.doc mark { background: #fff1c2; padding: 0 2px; }
.doc2 { position: absolute; right: -8px; bottom: -26px; width: 62%; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 14px 34px rgba(15,35,59,.14); padding: 14px 16px; font-size: .74rem; transform: rotate(2deg); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
.doc2 .t { font-weight: 700; margin-bottom: 6px; font-size: .78rem; }
.doc2 table { width: 100%; border-collapse: collapse; }
.doc2 td, .doc2 th { padding: 3px 4px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.doc2 th { color: var(--muted); font-weight: 600; font-size: .68rem; }
.doc2 .ok { color: var(--ok); font-weight: 700; }
@media (max-width: 560px) { .doc2 { position: static; width: 100%; margin-top: 14px; transform: none; } .doc { transform: none; } }
.incl { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.incl li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.incl .ic { width: 38px; height: 38px; border-radius: 10px; background: #eef3fb; color: var(--brand); display: grid; place-items: center; font-size: 18px; }
.incl b { display: block; margin-bottom: 2px; }
.incl p { margin: 0; color: var(--muted); font-size: .92rem; }
.three .card { padding: 24px; }
.three .num { width: 36px; height: 36px; font-size: 1rem; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 26px; }
@media (max-width: 700px) { .stat-row { grid-template-columns: 1fr; } }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.stat b { display: block; font-size: 1.35rem; letter-spacing: -.01em; }
.stat span { color: var(--muted); font-size: .9rem; }
.src { font-size: .78rem; color: var(--muted); margin-top: 10px; }
footer .cols { display: flex; flex-wrap: wrap; gap: 24px 40px; justify-content: space-between; align-items: flex-start; }
