/* Норма — спільні стилі сайту */
:root {
  --bg: #161616;
  --card: #1E1E1E;
  --ink: #FFFFFF;
  --muted: rgba(255, 255, 255, 0.72);
  --accent: #3D5AFE;
  --accent-ink: #C9D3FF;
  --brand: #0E7C66;
  --white: #FFFFFF;
  --dark: #111111;
  --line: #E6E6E6;
  --ok: #16A34A;
  --warn: #D97706;
  --bad: #DC2626;
  --radius: 28px;
  --max: 1320px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.5;
}
h1, h2, h3 { margin: 0; line-height: 1.08; font-weight: 600; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.grain { position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 3px 3px; }

/* ---------- Шапка ---------- */
.site-header { position: relative; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo img { width: 38px; height: 38px; }
.logo span { font-size: 28px; font-weight: 700; letter-spacing: -0.9px; line-height: 1; }
.nav { display: flex; gap: 28px; font-weight: 500; }
.nav a { text-decoration: none; opacity: 0.92; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent-ink); opacity: 1; }
.header-cta { display: flex; align-items: center; gap: 18px; font-weight: 500; }
.menu-btn { display: none; background: none; border: 1.5px solid rgba(255,255,255,0.5); color: var(--ink); border-radius: 999px; padding: 8px 16px; cursor: pointer; }

@media (max-width: 900px) {
  .nav, .header-cta .hide-m { display: none; }
  .menu-btn { display: inline-block; }
  .nav.open { display: flex; position: absolute; top: 72px; left: 12px; right: 12px; flex-direction: column; gap: 4px;
    background: #222; border-radius: 20px; padding: 12px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
  .nav.open a { padding: 12px 14px; border-radius: 12px; }
  .nav.open a:hover { background: #2E2E2E; }
}

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px;
  border-radius: 999px; border: none; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .1s, opacity .15s; }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.55; cursor: default; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-dark { background: var(--dark); color: #fff; }
.btn-light { background: #F1F1F1; color: var(--dark); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid rgba(255,255,255,0.8); }
.btn-lg { font-size: 19px; padding: 16px 30px; min-height: 58px; }

/* ---------- Герої ---------- */
.hero { position: relative; overflow: hidden; border-radius: 32px; margin: 8px 12px 0; isolation: isolate; }
.hero-photo { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%); }
.hero-inner { position: relative; padding: 72px 24px 48px; display: flex; flex-direction: column; gap: 22px; }
.hero-home { background: radial-gradient(ellipse at 70% 20%, #F0A060 0%, #C0504A 35%, #5A1E3A 70%, #1E0F1A 100%); min-height: 88vh; display: flex; flex-direction: column; }
.hero-home .hero-inner { flex: 1; justify-content: flex-end; align-items: center; text-align: center; }
.hero-number { background: radial-gradient(ellipse at 75% 35%, #4F6FA3 0%, #2A3E63 45%, #141C2C 100%); }
.hero-help { background: radial-gradient(ellipse at 70% 30%, #8A3B5C 0%, #4A1E32 50%, #1E0F16 100%); }
.hero-check { background: radial-gradient(ellipse at 70% 30%, #3E4F86 0%, #1F2846 55%, #12162A 100%); }
.hero h1 { font-size: clamp(40px, 7.4vw, 92px); letter-spacing: -0.035em; max-width: 1240px; }
.hero .lead { font-size: clamp(18px, 2vw, 24px); color: rgba(255,255,255,0.9); max-width: 780px; }
.pill-inline { display: inline-flex; align-items: center; gap: 0.18em; background: #fff; color: var(--dark); border-radius: 999px;
  padding: 0.02em 0.4em 0.1em 0.3em; vertical-align: middle; font-size: 0.82em; }
.pill-inline img { width: 0.9em; height: 0.9em; }

/* ---------- Поле запиту ---------- */
.ask { width: 100%; max-width: 920px; background: #fff; color: var(--dark); border-radius: 30px; padding: 10px;
  display: flex; align-items: center; gap: 8px; box-shadow: 0 0 0 6px rgba(255,255,255,0.18), 0 24px 60px rgba(0,0,0,0.45); text-align: left; }
.ask textarea { flex: 1; min-width: 0; border: none; outline: none; resize: none; background: transparent; color: var(--dark);
  font-size: 19px; padding: 12px 10px 12px 14px; max-height: 180px; line-height: 1.4; }
.ask .attach { flex: none; }
.ask .attach label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; background: #F1F1F1; border-radius: 999px; padding: 12px 16px; font-weight: 600; min-height: 48px; }
.ask .attach input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ask-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip { background: rgba(0,0,0,0.35); color: #fff; border: 1px solid rgba(255,255,255,0.25); border-radius: 999px; padding: 8px 16px; cursor: pointer; font-weight: 500; }
.chip:hover { background: rgba(0,0,0,0.55); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); }
.preview-img { display: none; align-items: center; gap: 10px; background: rgba(0,0,0,0.35); border-radius: 16px; padding: 8px 12px; color: #fff; }
.preview-img.show { display: inline-flex; }
.preview-img img { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; }
.preview-img button { background: none; border: none; color: #fff; cursor: pointer; font-size: 18px; }
@media (max-width: 640px) {
  .ask { flex-wrap: wrap; border-radius: 24px; }
  .ask textarea { flex-basis: 100%; }
  .ask .attach, .ask .btn { flex: 1; }
}

/* ---------- Секції ---------- */
section.block { padding: 96px 0; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-ink); }
.h2 { font-size: clamp(34px, 5vw, 64px); letter-spacing: -0.03em; }
.muted { color: var(--muted); }
.card { background: #fff; color: var(--dark); border-radius: var(--radius); padding: 28px; }
.card-dark { background: var(--card); border-radius: var(--radius); padding: 28px; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.stats { position: relative; overflow: hidden; border-radius: 32px; margin: 0 12px; background: radial-gradient(ellipse at 20% 80%, #E2553A 0%, #8E2B3D 45%, #2A1320 100%); }
.stats .wrap { position: relative; padding-top: 80px; padding-bottom: 80px; display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: end; }
.big-num { font-size: clamp(56px, 8vw, 104px); font-weight: 600; letter-spacing: -0.04em; color: #B9C6FF; line-height: 1; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.35); border-radius: 999px; padding: 10px 18px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 14px; cursor: pointer; }
.tab[aria-selected="true"] { background: #fff; color: var(--dark); border-color: #fff; }
.feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); border-radius: 32px; overflow: hidden; background: #fff; color: var(--dark); }
.feature .text { padding: 44px; display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.feature .visual { min-height: 380px; position: relative; display: flex; align-items: center; justify-content: center; padding: 32px; }
.feature ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }

.threats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.threat { scroll-snap-align: start; border-radius: 28px; overflow: hidden; min-height: 420px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; text-decoration: none; color: #fff; isolation: isolate; }
.threat h3 { font-size: 24px; }

.steps { counter-reset: s; display: grid; gap: 14px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step::before { counter-increment: s; content: counter(s); flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }

.banner { border-radius: 32px; background: var(--accent); padding: 48px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }

/* ---------- Телефон-макет ---------- */
.phone { width: 220px; height: 420px; border-radius: 42px; background: #0E0E0E; border: 10px solid #1F1F1F; box-shadow: 0 40px 80px rgba(0,0,0,0.5); padding: 60px 12px 12px; display: flex; flex-direction: column; gap: 10px; }
.notif { background: rgba(255,255,255,0.14); border-radius: 18px; padding: 12px; display: flex; gap: 10px; color: #fff; text-align: left; }
.notif img { width: 32px; height: 32px; border-radius: 9px; flex: none; }
.notif small { display: block; font-size: 11px; color: #CFCFCF; }
.notif b { font-size: 13px; font-weight: 600; line-height: 1.3; display: block; }
.hero-phone { position: absolute; right: 8%; top: 120px; transform: rotate(-10deg); }
@media (max-width: 1100px) { .hero-phone { display: none; } }

/* ---------- Вердикти ---------- */
.verdict-hero { border-radius: 32px; position: relative; overflow: hidden; padding: 48px 32px; display: flex; flex-direction: column; gap: 18px; }
.verdict-hero[data-v="ok"] { background: radial-gradient(ellipse at 70% 30%, #5E7D3A 0%, #2D4220 55%, #141C10 100%); }
.verdict-hero[data-v="warn"] { background: radial-gradient(ellipse at 70% 30%, #C98A2B 0%, #6B4416 55%, #22150A 100%); }
.verdict-hero[data-v="bad"] { background: radial-gradient(ellipse at 70% 30%, #D2453A 0%, #6E1E1E 55%, #240B0B 100%); }
.verdict-hero[data-v="unknown"], .verdict-hero[data-v="offtopic"] { background: radial-gradient(ellipse at 70% 30%, #5A5F6E 0%, #2C2F38 55%, #141518 100%); }
.badge { align-self: flex-start; background: #fff; color: var(--dark); border-radius: 999px; padding: 10px 26px 12px; font-size: clamp(26px, 4vw, 52px); font-weight: 600; letter-spacing: -0.02em; display: inline-flex; gap: 12px; align-items: center; }
.verdict-hero h1 { font-size: clamp(30px, 4.6vw, 60px); letter-spacing: -0.03em; max-width: 960px; }

.chat { display: flex; flex-direction: column; gap: 18px; }
.bubble-user { align-self: flex-end; max-width: 80%; background: var(--accent); color: #fff; border-radius: 24px 24px 6px 24px; padding: 14px 18px; white-space: pre-wrap; word-break: break-word; }
.bubble-user img { max-width: 240px; border-radius: 12px; margin-top: 8px; }
.answer { background: #fff; color: var(--dark); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.answer h3 { font-size: 18px; }
.answer ul, .answer ol { margin: 8px 0 0; padding-left: 22px; display: grid; gap: 8px; }
.article-link { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; text-decoration: none; color: var(--dark); font-weight: 700; }
.article-link .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #DBEAFE; color: #1E40AF; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.feedback { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.feedback button { background: #F1F1F1; border: none; border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.feedback button[aria-pressed="true"] { background: var(--dark); color: #fff; }
.loading { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); }
.loading i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: blink 1.2s infinite; }
.loading i:nth-child(2) { animation-delay: .2s; } .loading i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .2 } 40% { opacity: 1 } }
.error { background: #3A1515; color: #FFD5D5; border-radius: 18px; padding: 16px 18px; }
.note { font-size: 14px; color: #6B6B6B; }
.layout-2 { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
@media (max-width: 960px) { .layout-2 { grid-template-columns: 1fr; } }

/* ---------- Форми ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.input, .select, .textarea { border: 1.5px solid #E2E2E2; border-radius: 14px; padding: 12px 14px; background: #F9F9F9; color: var(--dark); min-height: 48px; width: 100%; }
.phone-ask { display: flex; gap: 8px; background: #fff; border-radius: 999px; padding: 8px; max-width: 640px; }
.phone-ask input { flex: 1; min-width: 0; border: none; outline: none; font-size: 22px; padding: 8px 16px; color: var(--dark); background: transparent; }

/* ---------- Допомога ---------- */
.plan-step { display: flex; gap: 16px; background: #fff; color: var(--dark); border-radius: 22px; padding: 20px; align-items: flex-start; }
.plan-step input { width: 24px; height: 24px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.plan-step.done { opacity: 0.55; }
.plan-step.done b { text-decoration: line-through; }
.when { font-size: 13px; font-weight: 700; border-radius: 999px; padding: 3px 10px; background: #F1F1F1; }
.when.now { background: var(--accent); color: #fff; }
.template { white-space: pre-wrap; background: #F6F6F6; border-radius: 14px; padding: 16px; font-size: 15px; color: #222; }

/* ---------- Блог ---------- */
.post-list { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.post-card { background: var(--card); border-radius: 24px; padding: 24px; text-decoration: none; display: flex; flex-direction: column; gap: 10px; }
.post-card:hover { background: #262626; }
.tag { align-self: flex-start; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 4px 10px; background: #2B3566; color: var(--accent-ink); }
.prose { max-width: 760px; font-size: 19px; line-height: 1.7; }
.prose h2 { font-size: 30px; margin: 40px 0 12px; }
.prose h3 { font-size: 22px; margin: 28px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose a { color: var(--accent-ink); }
.prose .callout { background: var(--card); border-left: 4px solid var(--accent); border-radius: 12px; padding: 16px 20px; margin: 24px 0; }

/* ---------- Підвал ---------- */
.site-footer { margin-top: 96px; padding: 56px 0 40px; border-top: 1px solid #2A2A2A; }
.site-footer .wrap { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.site-footer a { text-decoration: none; color: var(--muted); display: block; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.disclaimer { font-size: 14px; color: #8A8A8A; max-width: 900px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #fff; color: var(--dark); padding: 12px 20px; border-radius: 999px; font-weight: 600; box-shadow: 0 12px 30px rgba(0,0,0,0.4); z-index: 50; }

/* ---------- Поправки після перевірки ---------- */
.hero-home .hero-phone { display: none; }
.hero-phone ~ .hero-inner h1, .hero-phone ~ .hero-inner .lead { max-width: min(860px, 64%); }
@media (max-width: 1100px) { .hero-phone ~ .hero-inner h1, .hero-phone ~ .hero-inner .lead { max-width: none; } }
@media (min-width: 900px) { .hero-number .hero-inner, .hero-help .hero-inner { padding-left: 56px; padding-right: 56px; } }
.site-footer a.logo { display: inline-flex; }
@media (max-width: 640px) { .ask textarea { min-height: 3.4em; } }
.hero-home .hero-inner h1, .hero-home .hero-inner .lead { max-width: 1240px; }
.hero-home .hero-inner .lead { max-width: 780px; }

.article-box { display: flex; flex-direction: column; gap: 8px; background: #EEF1FF; border-radius: 20px; padding: 18px 20px; }

/* ---------- Ілюстрації схем ---------- */
/* Картка: зверху картинка в рамці, під нею текст. Усі картки однакової ширини і висоти. */
.threats { grid-auto-columns: calc((100% - 40px) / 3); align-items: stretch; scrollbar-width: none; }
.threats::-webkit-scrollbar { display: none; }
@media (max-width: 900px) { .threats { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (max-width: 600px) { .threats { grid-auto-columns: 86%; } }
.threat { min-height: 0; padding: 12px 12px 22px; justify-content: flex-start; background: #222; transition: transform .2s ease, background .2s ease; }
.threat:hover { transform: translateY(-4px); background: #2A2A2A; }
.threat > img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center top; border-radius: 20px; margin-bottom: 16px; background: #333; }
.threat .tag, .threat h3, .threat p, .threat-more { margin-left: 10px; margin-right: 10px; }
.threat .tag { align-self: flex-start; }
.threat h3 { margin-top: 10px; font-size: 22px; line-height: 1.2; }
.threat p { font-size: 15px; line-height: 1.45; margin-top: 8px; }
.threat-more { margin-top: auto; padding-top: 14px; font-weight: 700; color: #fff; }
.scroll-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.5); background: transparent; color: #fff; font-size: 20px; cursor: pointer; }
.scroll-btn:hover { background: rgba(255,255,255,0.1); }
.post-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center top; border-radius: 16px; background: #222; }
.article-hero { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 2%; border-radius: 24px; margin: 8px 0 28px; }

/* Шапка відповіді: колір і значок за вердиктом, а не логотип */
.answer-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #F1F2F4; }
.answer-head > div { display: flex; flex-direction: column; gap: 2px; }
.answer-head b { font-size: 18px; line-height: 1.25; }
.answer-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 22px; background: #5A5F6E; }
.answer-head[data-v="ok"] { background: #EAF3E3; } .answer-head[data-v="ok"] .answer-icon { background: #3F7D2A; } .answer-head[data-v="ok"] b { color: #2D5A1E; }
.answer-head[data-v="warn"] { background: #FDF1DD; } .answer-head[data-v="warn"] .answer-icon { background: #D97706; } .answer-head[data-v="warn"] b { color: #8A4B05; }
.answer-head[data-v="bad"] { background: #FCE6E4; } .answer-head[data-v="bad"] .answer-icon { background: #C8362C; } .answer-head[data-v="bad"] b { color: #8E1F18; }

/* ---------- Нові функції: витоки, чекап, тренажер, родина ---------- */
.hero-leaks { background: radial-gradient(ellipse at 75% 25%, #3E64D8 0%, #24408F 40%, #0D1530 100%); }
.hero-checkup { background: radial-gradient(ellipse at 75% 25%, #F2B544 0%, #B8641E 45%, #2A1608 100%); }
.hero-trainer { background: radial-gradient(ellipse at 75% 25%, #9B6BFF 0%, #4B2A9A 45%, #160D2E 100%); }
.hero-family { background: radial-gradient(ellipse at 75% 25%, #1FA585 0%, #0E7C66 40%, #0A2620 100%); }
.hero-inner.compact { min-height: 0; padding-top: 56px; padding-bottom: 48px; }
.page-main { display: flex; flex-direction: column; gap: 24px; margin-top: 24px; }

/* Великі блоки на головній */
.promo-row { display: grid; gap: 20px; grid-template-columns: 1.25fr 1fr; }
@media (max-width: 960px) { .promo-row { grid-template-columns: 1fr; } }
.promo { position: relative; overflow: hidden; isolation: isolate; border-radius: 32px; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 16px; text-decoration: none; }
.promo h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.03em; }
.promo h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.02em; }
.promo-blue { background: linear-gradient(135deg, #24408F 0%, #0D1530 100%); color: #fff; }
.promo-white { background: #fff; color: var(--dark); }
.promo-green { background: linear-gradient(135deg, #0E7C66 0%, #0A2620 100%); color: #fff; }
.promo .eyebrow { color: inherit; opacity: .8; }
.promo-white .eyebrow { color: var(--accent); opacity: 1; }
.promo-white .sub { color: #4A4A4A; }
.promo .sub { font-size: 18px; max-width: 560px; }
.inline-form { display: flex; gap: 8px; background: #fff; border-radius: 999px; padding: 6px; max-width: 620px; }
.inline-form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 16px; font-size: 18px; color: var(--dark); outline: none; }
.inline-form .btn { min-height: 48px; }
.inline-form:focus-within { box-shadow: 0 0 0 3px var(--accent-ink); }
@media (max-width: 520px) { .inline-form { flex-direction: column; border-radius: 22px; } .inline-form .btn { width: 100%; } }
.soon { align-self: flex-start; background: rgba(255,255,255,0.18); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 700; }
.mini-list { display: flex; flex-direction: column; gap: 6px; font-size: 16px; }
.mini-list .no { color: #B45309; }

/* Кільце оцінки */
.score-ring { --p: 40; --c: #F59E0B; flex: none; width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), #E7E7E7 0); position: relative; }
.score-ring::before { content: ""; position: absolute; inset: 14px; border-radius: 50%; background: #fff; }
.score-ring b { position: relative; font-size: 40px; letter-spacing: -0.02em; color: var(--dark); }
.score-ring.big { width: 200px; height: 200px; }
.score-ring.big::before { inset: 18px; }
.score-ring.big b { font-size: 56px; }

/* Тренажер: картка-повідомлення */
.msg-card { background: #F3F4F6; color: var(--dark); border-radius: 22px; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.msg-card .from { font-size: 13px; color: #555; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.msg-card .from b { background: #E2E5EA; color: #333; border-radius: 999px; padding: 2px 10px; font-size: 12px; }
.msg-card .text { font-size: 18px; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
.answer-btns { display: flex; gap: 10px; }
.answer-btns button { flex: 1; min-height: 54px; border: 0; border-radius: 999px; font-weight: 700; font-size: 18px; cursor: pointer; }
.btn-ok { background: #DCFCE7; color: #166534; }
.btn-bad { background: #FEE2E2; color: #991B1B; }
.answer-btns button:disabled { opacity: .5; cursor: default; }
.explain { border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.explain.right { background: #EAF3E3; color: #2D5A1E; }
.explain.wrong { background: #FCE6E4; color: #8E1F18; }
.explain p { color: #222; }
.progress { display: flex; gap: 6px; }
.progress i { flex: 1; height: 6px; border-radius: 3px; background: #E5E5E5; }
.progress i.on { background: var(--accent); }
.progress i.ok { background: #16A34A; }
.progress i.bad { background: #DC2626; }
.streak { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; }

/* Чекап: питання */
.q-card { display: flex; flex-direction: column; gap: 18px; }
.q-card h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.02em; }
.q-why { color: #4A4A4A; font-size: 17px; }
.q-opts { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) { .q-opts { grid-template-columns: 1fr; } }
.q-opts button { min-height: 56px; border-radius: 18px; border: 1.5px solid #E2E2E2; background: #F9F9F9; font-weight: 600; font-size: 17px; cursor: pointer; color: var(--dark); }
.q-opts button:hover { border-color: var(--accent); }
.fix-step { background: #fff; color: var(--dark); border-radius: 22px; padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.fix-step summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.fix-step summary::-webkit-details-marker { display: none; }
.fix-step summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--accent); }
.fix-step[open] summary::after { content: "−"; }
.fix-step ol { margin: 6px 0 0; padding-left: 22px; display: grid; gap: 4px; color: #333; }
.fix-step .tag-time { font-size: 13px; color: #6B6B6B; font-weight: 600; }

/* Екран «що далі» після перевірки витоків */
.next-box { background: #fff; color: var(--dark); border-radius: 28px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.result-head { display: flex; gap: 14px; align-items: center; border-radius: 20px; padding: 16px 18px; }
.result-head .answer-icon { width: 44px; height: 44px; }
.result-head b { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.25; }
.result-head.ok { background: #EAF3E3; } .result-head.ok .answer-icon { background: #3F7D2A; } .result-head.ok b { color: #2D5A1E; }
.result-head.bad { background: #FCE6E4; } .result-head.bad .answer-icon { background: #C8362C; } .result-head.bad b { color: #8E1F18; }
.result-head.info { background: #EEF1FF; } .result-head.info .answer-icon { background: var(--accent); } .result-head.info b { color: #1E2A78; }
.watch { display: flex; gap: 12px; align-items: flex-start; background: #F6F6F6; border-radius: 18px; padding: 16px; }
.watch input[type=checkbox] { width: 24px; height: 24px; accent-color: var(--accent); flex: none; margin-top: 2px; }
.quiet-link { color: #4A4A4A; font-size: 16px; }
.quiet-link a { color: var(--accent); font-weight: 600; }
.tabs-light { align-self: flex-start; display: inline-flex; background: rgba(255,255,255,0.14); border-radius: 999px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.tabs-light button { border: 0; background: transparent; color: #fff; border-radius: 999px; padding: 10px 18px; font-weight: 600; cursor: pointer; }
.tabs-light button[aria-selected="true"] { background: #fff; color: var(--dark); }
.pw-field { display: flex; gap: 8px; background: #fff; border-radius: 999px; padding: 6px; max-width: 620px; }
.pw-field input { flex: 1; min-width: 0; border: 0; padding: 10px 16px; font-size: 18px; outline: none; background: transparent; color: var(--dark); }
.pw-field .eye { border: 0; background: #F1F1F1; border-radius: 999px; padding: 0 16px; cursor: pointer; font-weight: 600; color: var(--dark); }
@media (max-width: 520px) { .pw-field { flex-wrap: wrap; border-radius: 22px; } .pw-field input { flex-basis: 100%; } .pw-field .btn, .pw-field .eye { flex: 1; } }
@media (min-width: 900px) { .hero-leaks .hero-inner, .hero-checkup .hero-inner, .hero-trainer .hero-inner, .hero-family .hero-inner { padding-left: 56px; padding-right: 56px; } }
.hero-inner.compact h1 { font-size: clamp(40px, 6vw, 80px); }
a.promo { transition: transform .2s ease; } a.promo:hover { transform: translateY(-3px); }

/* ---------- Екран «що далі»: прогрес і картки дій ---------- */
.journey { background: #F4F5F7; border-radius: 20px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.journey-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 17px; }
.journey-top span { color: var(--accent); font-weight: 700; }
.journey-bar { height: 10px; border-radius: 5px; background: #E2E4EA; overflow: hidden; }
.journey-bar i { display: block; height: 100%; background: linear-gradient(90deg, #3D5AFE, #16A34A); border-radius: 5px; transition: width .6s ease; }
.journey-steps { display: flex; gap: 8px; flex-wrap: wrap; }
.journey-steps a, .journey-steps span { border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 600; text-decoration: none; background: #fff; color: #555; border: 1.5px dashed #C9CCD4; }
.journey-steps .done { background: #EAF3E3; color: #2D5A1E; border: 1.5px solid #CFE3C2; }
.next-title { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.02em; color: var(--dark); }
.action-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.action-card { position: relative; overflow: hidden; border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.action-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,0.12); }
.action-card h3 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.02em; }
.action-blue { background: linear-gradient(135deg, #2D4DB8 0%, #0D1530 100%); color: #fff; }
.action-warm { background: linear-gradient(135deg, #FFF4E0 0%, #FFE2B8 100%); color: var(--dark); border: 1.5px solid #F7D49A; }
.action-card .pill { align-self: flex-start; border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; background: rgba(255,255,255,0.18); }
.action-warm .pill { background: #fff; color: #B45309; }
.action-card .fact { font-size: 16px; opacity: .9; }
.action-card .small { font-size: 13px; opacity: .75; }
.action-card .pw-field { max-width: none; }
.teaser { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 16px; }
.teaser li { display: flex; gap: 8px; align-items: center; }
.teaser li::before { content: "?"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: #B45309; font-weight: 800; font-size: 13px; display: grid; place-items: center; border: 1.5px solid #F7D49A; }
.action-warm .score-ring::before { background: #FFF1DA; }
.action-warm .score-ring b { color: #B45309; }
.done-chip { display: flex; gap: 10px; align-items: center; background: #EAF3E3; color: #2D5A1E; border-radius: 16px; padding: 12px 16px; font-weight: 600; }
