/* Чек-лист twod3x — та же палитра и шрифт, что на основном сайте */
:root {
  --bg: #000; --panel: #06110f; --line: rgba(143, 220, 209, .16);
  --mint: #8fdcd1; --green: #22d39a; --text: #eef5f3; --muted: #8a9c98; --ink: #0d2c28;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--text); font: 400 17px/1.55 "Onest", system-ui, sans-serif;
  background: radial-gradient(ellipse 70% 40% at 80% 0%, rgba(34, 211, 154, .12), transparent 70%), var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--mint); }
.wrap { max-width: 820px; margin: 0 auto; padding: 32px 20px 64px; }

.head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 500; font-size: 18px; }
.brand svg { width: 34px; height: 34px; color: var(--mint); filter: drop-shadow(0 0 8px rgba(34, 211, 154, .5)); }

h1 { margin: 56px 0 0; font-weight: 300; font-size: clamp(38px, 7vw, 64px); line-height: 1.04; letter-spacing: -.03em; }
h1 span { color: var(--mint); }
.lead { margin: 18px 0 0; color: var(--muted); max-width: 60ch; }

.list { margin-top: 40px; display: grid; gap: 18px; }
.list section { padding: 22px 24px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(30, 80, 70, .32), rgba(10, 34, 30, .22)); }
.list h2 { margin: 0 0 12px; font-size: 20px; font-weight: 500; display: flex; align-items: center; gap: 12px; }
.list h2 b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; color: var(--ink); background: var(--mint); }
.list label { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; padding: 9px 0; cursor: pointer; border-top: 1px solid rgba(143, 220, 209, .08); }
.list label:first-of-type { border-top: 0; }
.list input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--green); cursor: pointer; }
.list label:has(input:checked) { color: var(--muted); }

.result { position: sticky; bottom: 16px; margin-top: 28px; padding: 20px 24px; border-radius: 18px; background: rgba(8, 24, 21, .92); border: 1px solid rgba(143, 220, 209, .3); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.score { font-size: 20px; }
.score b { font-size: 40px; font-weight: 300; color: var(--mint); letter-spacing: -.02em; }
.result p { margin: 4px 0 0; color: #c9d8d5; }
.cta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }

.btn, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 22px; border-radius: 999px;
  font: 500 15px/1 "Onest", system-ui, sans-serif; text-decoration: none; cursor: pointer; border: 1px solid transparent;
}
.btn { background: var(--mint); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(143, 220, 209, .35); }
.btn:hover { background: #b2ebe3; }
.btn-ghost:hover { border-color: var(--mint); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

.foot { margin-top: 40px; color: var(--muted); font-size: 14px; }

/* На телефоне итог не закрепляем: иначе он закрывает половину экрана */
@media (max-width: 700px) {
  .result { position: static; }
}

/* Печать / сохранение в PDF — светлая версия без кнопок */
@media print {
  :root { --text: #111; --muted: #444; --mint: #0f6f63; --line: #ccc; }
  body { background: #fff; color: #111; font-size: 13px; }
  .no-print { display: none !important; }
  .wrap { padding: 0; }
  h1 { margin-top: 20px; }
  .list section { background: none; break-inside: avoid; }
  .result { position: static; background: none; border-color: #ccc; backdrop-filter: none; }
}
