:root {
  --bg: #F4F1EA;
  --surface: #FFFFFF;
  --surface-alt: #ECE8DF;
  --ink: #1C1B19;
  --muted: #5E5A52;
  --line: #E2DDD2;
  --accent: #17625E;
  --accent-ink: #0F4744;
  --accent-soft: #DDEDEA;
  --predict: #A34E12;
  --predict-soft: #F8E6D6;
  --predict-ink: #4A2A10;
  --me: #1C1B19;
  --me-ink: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161614;
    --surface: #211F1C;
    --surface-alt: #1B1A18;
    --ink: #EDEAE3;
    --muted: #A8A298;
    --line: #34312C;
    --accent: #3FA59E;
    --accent-ink: #9FDCD6;
    --accent-soft: #173331;
    --predict: #E59A5C;
    --predict-soft: #3A2616;
    --predict-ink: #F2D2B6;
    --me: #EDEAE3;
    --me-ink: #161614;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Onest', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
a { color: var(--accent); }
a:hover { color: var(--accent-ink); }
h1, h2 { font-family: 'Lora', Georgia, serif; font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(32px, 5vw, 52px); margin: 0 0 20px; }
h2 { font-size: clamp(26px, 3.5vw, 36px); margin: 0 0 28px; }
h3 { font-size: 18px; margin: 0 0 8px; }
p { margin: 0 0 12px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }
.muted { color: var(--muted); font-size: 15px; }

.top { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { font-family: 'Lora', Georgia, serif; font-weight: 600; font-size: 20px; color: var(--ink); text-decoration: none; }
.nav { display: flex; gap: 20px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; padding: 10px 0; }
.nav a:hover { color: var(--accent); }

.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.lead { font-size: 19px; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 14px; font-weight: 600; text-decoration: none; font-size: 16px; }
.btn-main { background: var(--accent); color: #FFFFFF; }
.btn-main:hover { background: var(--accent-ink); color: #FFFFFF; }
.btn-line { border: 1.5px solid var(--accent); color: var(--accent); }
.btn-off { border: 1.5px dashed var(--line); color: var(--muted); cursor: default; }

.phone { background: var(--surface-alt); border: 1px solid var(--line); border-radius: 32px; padding: 24px 18px; display: flex; flex-direction: column; gap: 10px; max-width: 380px; justify-self: center; width: 100%; }
.bubble { align-self: flex-end; background: var(--me); color: var(--me-ink); padding: 10px 14px; border-radius: 16px 16px 4px 16px; font-size: 15px; }
.chip { align-self: flex-start; background: var(--accent-soft); color: var(--accent-ink); font-size: 13px; padding: 4px 10px; border-radius: 999px; }
.card { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; width: 88%; font-size: 14px; }
.card.predict { background: var(--predict-soft); border-color: transparent; }
.card-label { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--predict); }
.card-num { font-family: 'JetBrains Mono', monospace; font-size: 22px; font-weight: 600; margin: 2px 0; }
.card-note { color: var(--muted); }
.card.predict .card-note { color: var(--predict-ink); }
.card-head { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.tag { background: var(--accent); color: #FFFFFF; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; }

.block { padding: 72px 0; }
.block.alt { background: var(--surface-alt); }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.steps li::before { content: counter(s); display: block; font-family: 'JetBrains Mono', monospace; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
.steps p, .info p { color: var(--muted); margin: 0; }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.info { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.story p { font-size: 18px; }

.bottom { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 15px; }
.bottom .links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.bottom .links a { text-decoration: none; }

/* 08.10.2026: фото-ввод, скриншоты, «Догадка → проверка», ИИ, тарифы, юридические страницы, реквизиты */
.small-note { font-size: 14px; }
.narrow-text { max-width: 760px; margin-bottom: 28px; }
.easy-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ticks li { padding-left: 30px; position: relative; color: var(--muted); }
.ticks li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.ticks b { color: var(--ink); }
figure { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
.photo img { border-radius: 18px; border: 1px solid var(--line); }
.photo figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.shots { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.shots img { border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.shots figcaption { font-size: 14px; color: var(--muted); margin: 8px 0 18px; }
.shot-phone img { border-radius: 28px; }
.verdict { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 3px 10px; border-radius: 999px; background: var(--surface-alt); color: var(--muted); margin-bottom: 10px; }
.verdict.on { background: var(--accent-soft); color: var(--accent-ink); }
.verdict.off { background: var(--predict-soft); color: var(--predict-ink); }
#check .cards3 { margin-bottom: 16px; }
.cards2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tariffs { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.tariff { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px; }
.tariff .t-head { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 18px; }
.tariff .t-price { font-size: 26px; font-weight: 700; margin: 6px 0 0; }
.tariff .t-per { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.tariff p { color: var(--muted); font-size: 15px; margin: 0; }
.t-badge { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.todo { background: #FFE9A8; color: #5A4300; padding: 0 4px; border-radius: 4px; font-weight: 600; }
.owner { margin-top: 12px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); }
.legal h2 { font-size: 22px; margin: 32px 0 12px; }
.legal p, .legal li { color: var(--ink); }
.legal .draft { background: var(--predict-soft); color: var(--predict-ink); border-radius: 12px; padding: 10px 14px; font-weight: 600; }
.legal .reqs { margin-top: 40px; }
.legal .reqs p { margin: 0 0 6px; }

@media (max-width: 860px) {
  .hero { padding: 40px 0 48px; }
  .hero-grid, .steps, .cards3, .cards2, .easy-grid, .shots { grid-template-columns: minmax(0, 1fr); }
  .shot-phone { max-width: 320px; margin: 0 auto; }
  .hero-grid { gap: 36px; }
  .nav { gap: 14px; }
  .block { padding: 48px 0; }
}
@media (max-width: 420px) {
  .nav a[href="#how"], .nav a[href="#data"], .nav a[href="#price"] { display: none; }
}

/* покупка на сайте — код активации (15.10.2026), страница /kupit */
.buy [hidden] { display: none !important; } /* display: grid у блоков перебивал hidden */
.buy .lead { font-size: 17px; }
.buy-form { display: grid; gap: 18px; margin-top: 24px; }
.buy-list { margin: 0; }
.buy-card { position: relative; display: block; cursor: pointer; padding-left: 48px; }
.buy-card input[type=radio] { position: absolute; left: 18px; top: 24px; width: 18px; height: 18px; accent-color: var(--accent); }
.buy-card:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.buy-card.off { opacity: .55; cursor: default; }
.buy-field, .buy-amount { display: grid; gap: 6px; }
.buy-field label, .buy-amount label { font-weight: 600; }
.buy .input { min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 16px; width: 100%; box-sizing: border-box; }
.buy .input:focus { outline: none; border-color: var(--accent); }
.buy-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.buy-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.buy .btn { border: 0; cursor: pointer; font-family: inherit; }
.buy .btn:disabled { opacity: .5; cursor: default; }
.buy .msg { padding: 10px 14px; border-radius: 12px; margin: 0; }
.buy .msg.bad { background: var(--predict-soft); color: var(--predict-ink); }
.buy-code { display: grid; gap: 14px; justify-items: start; margin-bottom: 16px; }
.buy-code .code { font-family: 'JetBrains Mono', monospace; font-size: clamp(22px, 6vw, 32px); font-weight: 600; letter-spacing: .06em; background: var(--accent-soft); color: var(--accent-ink); padding: 12px 18px; border-radius: 14px; word-break: break-all; }
.buy-code ol { margin: 0; padding-left: 20px; }
.buy-more { margin-top: 12px; }
