:root {
  --bg: #0b1220;
  --bg-2: #111a2e;
  --card: #141f36;
  --line: #22304d;
  --text: #eef2f8;
  --muted: #9aa8c0;
  --accent: #5fc4b8;
  --accent-ink: #062521;
  --yes: #e7826b;
  --radius: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: radial-gradient(1200px 600px at 50% -200px, #16233f 0%, var(--bg) 60%) fixed, var(--bg);
  color: var(--text);
  font: 17px/1.55 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--accent); }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; background: transparent; z-index: 5; }
.progress__bar { height: 100%; width: 0; background: var(--accent); transition: width .35s ease; }

.wrap { width: 100%; max-width: 640px; margin: 0 auto; padding: 48px 16px 32px; flex: 1; }
.screen { animation: in .35s ease both; }
@keyframes in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin: 0 0 14px; }
h1 { font-size: clamp(30px, 7vw, 44px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 16px; font-weight: 800; }
h2 { font-size: clamp(24px, 5.6vw, 32px); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 14px; font-weight: 750; }
h3 { font-size: 19px; margin: 0 0 8px; }
p { margin: 0 0 14px; color: #d4dcea; }
.muted { color: var(--muted); font-size: 14px; }
.step { color: var(--muted); font-size: 13px; margin: 0 0 18px; letter-spacing: .04em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 56px; padding: 14px 22px;
  border: 0; border-radius: var(--radius); cursor: pointer;
  font: inherit; font-weight: 700; font-size: 17px;
  background: var(--accent); color: var(--accent-ink);
  transition: transform .08s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: scale(.985); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn--ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); font-weight: 600; }

.statement {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 28px 22px; font-size: clamp(21px, 5vw, 26px); line-height: 1.3; font-weight: 650;
  margin: 0 0 22px; color: var(--text);
}
.yesno { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.yesno .btn { min-height: 64px; font-size: 19px; }
.btn--yes { background: var(--yes); color: #2a0e07; }
.btn--no { background: #24324f; color: var(--text); }

.options { display: grid; gap: 10px; margin: 0 0 16px; }
.opt {
  text-align: left; width: 100%; padding: 16px 18px; min-height: 58px;
  background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; font-size: 16.5px; cursor: pointer; transition: border-color .15s, background .15s;
}
.opt:hover { border-color: #3a4d74; }
.opt.is-on { border-color: var(--accent); background: #12302f; }

.slide { background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 26px 22px; margin: 0 0 22px; }
.stat { display: flex; gap: 14px; align-items: baseline; margin: 0 0 14px; }
.stat b { font-size: 36px; line-height: 1; color: var(--accent); font-weight: 800; min-width: 84px; }
.src { font-size: 12.5px; color: var(--muted); }

label { display: block; font-size: 14px; color: var(--muted); margin: 0 0 6px; }
input[type=text], input[type=email], textarea {
  width: 100%; padding: 15px 16px; border-radius: 12px; border: 1px solid var(--line);
  background: #0e1729; color: var(--text); font: inherit; font-size: 17px; margin: 0 0 14px;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { color: #ff9b8a; font-size: 14px; margin: -6px 0 12px; }

.loader { list-style: none; padding: 0; margin: 28px 0; }
.loader li { padding: 12px 0; color: var(--muted); display: flex; gap: 12px; align-items: center; border-bottom: 1px solid var(--line); }
.loader li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.loader li.on { color: var(--text); }
.loader li.on::before { border-color: var(--accent); border-top-color: transparent; animation: spin .8s linear infinite; }
.loader li.done { color: var(--text); }
.loader li.done::before { background: var(--accent); border-color: var(--accent); animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.badge { display: inline-block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); border: 1px solid #2c5a57; padding: 6px 10px; border-radius: 999px; margin: 0 0 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; margin: 0 0 18px; }
.meter { height: 12px; background: #0e1729; border-radius: 999px; overflow: hidden; margin: 10px 0 6px; border: 1px solid var(--line); }
.meter > div { height: 100%; background: linear-gradient(90deg, #5fc4b8, #e7c46b, #e7826b); width: 0; transition: width 1.2s ease; }
.score { display: flex; justify-content: space-between; align-items: baseline; }
.score b { font-size: 28px; }
.quote { border-left: 3px solid var(--accent); padding: 4px 0 4px 14px; color: var(--text); font-style: italic; margin: 0 0 14px; }
.yeslist { margin: 0; padding-left: 20px; color: #d4dcea; }
.yeslist li { margin: 0 0 8px; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 14px 44px; color: #d4dcea; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: #12302f; color: var(--accent); font-weight: 700; display: grid; place-items: center; font-size: 15px; }
.truth p { color: var(--text); }
.checks { list-style: none; padding: 0; margin: 0 0 6px; }
.checks li { padding: 0 0 10px 30px; position: relative; color: #d4dcea; }
.checks li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent); font-weight: 800; }
#cal { width: 100%; min-height: 560px; overflow: auto; border-radius: 14px; background: #0e1729; border: 1px solid var(--line); }

.foot { text-align: center; color: #6c7a95; font-size: 12.5px; padding: 24px 16px 32px; line-height: 1.6; }
.foot a { color: #8fa0bd; }

.doc { max-width: 720px; }
.doc h1 { font-size: 34px; }
.doc h2 { font-size: 21px; margin-top: 28px; }
.doc p, .doc li { color: #d4dcea; font-size: 16px; }
