:root {
  --ink: #10201b;
  --muted: #5e6d67;
  --paper: #f5f3ed;
  --card: #fffdfa;
  --line: #d9ddd7;
  --green: #0f6b4a;
  --green-dark: #0b4f38;
  --green-pale: #e4f2eb;
  --amber: #a86420;
  --amber-pale: #fff1dc;
  --red: #a9453d;
  --shadow: 0 28px 70px rgba(22, 45, 37, .12);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(15,107,74,.09), transparent 28rem),
    var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button, label, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-size: 21px;
  font-weight: 780;
  letter-spacing: -.04em;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ink);
  font-family: Georgia, serif;
  font-size: 20px;
}
.brand-dot { color: var(--green); }
.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}
.privacy-badge span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #28a66b;
  box-shadow: 0 0 0 4px rgba(40,166,107,.13);
}

.assessment-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 48px auto 88px;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 72px;
  align-items: start;
}
.intro { padding-top: 36px; position: sticky; top: 22px; }
.eyebrow, .step-kicker, .card-kicker {
  margin: 0 0 13px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  max-width: 550px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 5.3vw, 72px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.055em;
}
.lead {
  max-width: 590px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
}
.positioning { display: flex; gap: 34px; margin-top: 34px; }
.positioning-item { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; line-height: 1.35; }
.positioning-number { color: var(--ink); font-family: Georgia, serif; font-size: 29px; }
.local-note {
  margin-top: 28px;
  max-width: 510px;
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid rgba(15,107,74,.2);
  border-radius: 17px;
  background: rgba(228,242,235,.68);
}
.local-note p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.local-note strong { color: var(--ink); }
.local-icon { display: grid; place-items: center; width: 26px; height: 26px; flex: 0 0 26px; border-radius: 8px; color: white; background: var(--green); }

.wizard-card {
  min-height: 680px;
  padding: 28px 32px 30px;
  border: 1px solid rgba(16,32,27,.08);
  border-radius: 28px;
  background: rgba(255,253,250,.96);
  box-shadow: var(--shadow);
}
.wizard-topline { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wizard-topline p { margin: 0; font-size: 12px; font-weight: 750; }
.local-only { color: var(--green); }
.progress { margin: 14px 0 36px; height: 5px; border-radius: 99px; overflow: hidden; background: #e8eae6; }
.progress span { display: block; width: 20%; height: 100%; border-radius: inherit; background: var(--green); transition: width .28s ease; }
.step { display: none; animation: enter .24s ease both; }
.step.active { display: block; }
@keyframes enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.step h2, .results h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.step-help { margin: 12px 0 28px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.field-label { display: block; margin: 20px 0 9px; font-size: 13px; font-weight: 720; }
.money-input { position: relative; }
.money-input input { padding-right: 52px; }
.money-input span { position: absolute; top: 50%; right: 18px; transform: translateY(-50%); color: var(--muted); font-weight: 700; }
input[type="number"], select {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: none;
  color: var(--ink);
  background: #fff;
  transition: border-color .18s, box-shadow .18s;
}
input[type="number"]:focus, select:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(15,107,74,.1); }
input::placeholder { color: #98a39d; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-error { min-height: 16px; margin: 6px 0 0; color: var(--red); font-size: 12px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice-stack { display: grid; gap: 10px; }
.choice {
  position: relative;
  min-height: 76px;
  padding: 15px 15px 15px 48px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color .16s, background .16s, transform .16s;
}
.choice:hover { border-color: #aab9b2; transform: translateY(-1px); }
.choice:has(input:checked) { border-color: var(--green); background: var(--green-pale); }
.choice input { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin: 0; transform: translateY(-50%); accent-color: var(--green); }
.choice b { display: block; font-size: 13px; line-height: 1.3; }
.choice small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.choice-wide { grid-column: 1 / -1; }
.risk-choice:has(input:checked) { border-color: #d69547; background: var(--amber-pale); }
.radio-choice { min-height: 80px; }
.fieldset { margin: 25px 0 0; padding: 0; border: 0; }
.fieldset legend { margin-bottom: 10px; font-size: 13px; font-weight: 720; }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.segmented label { cursor: pointer; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: grid; place-items: center; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 13px; font-weight: 650; }
.segmented input:checked + span { color: var(--green-dark); border-color: var(--green); background: var(--green-pale); }
.notice-box { display: flex; gap: 12px; margin-top: 22px; padding: 15px; border-radius: 13px; background: #f2f4f1; }
.notice-box > span { display: grid; place-items: center; width: 22px; height: 22px; flex: 0 0 22px; border: 1px solid #99a69f; border-radius: 50%; color: var(--muted); font-size: 12px; font-weight: 800; }
.notice-box p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 28px; }
.button {
  min-height: 50px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 0;
  border-radius: 13px;
  cursor: pointer;
  font-weight: 760;
  font-size: 13px;
  transition: transform .16s, background .16s, box-shadow .16s;
}
.button:hover { transform: translateY(-1px); }
.button-primary { color: white; background: var(--green); box-shadow: 0 12px 28px rgba(15,107,74,.2); }
.button-primary:hover { background: var(--green-dark); }
.button-ghost { color: var(--ink); border: 1px solid var(--line); background: #fff; box-shadow: none; }
.button.small { min-height: 42px; padding: 0 15px; }

.results {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 72px;
  scroll-margin-top: 28px;
}
.results-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 26px; }
.verdict-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 16px;
  padding: 28px;
  border-radius: var(--radius);
  color: white;
  background: var(--ink);
}
.verdict-card.caution { background: #4e351c; }
.verdict-card.alert { background: #492727; }
.verdict-icon { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border-radius: 13px; color: var(--ink); background: #b5efcf; font-size: 21px; font-weight: 900; }
.verdict-label { margin: 1px 0 8px; color: rgba(255,255,255,.65); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.verdict-card h3 { margin: 0; font-family: Georgia, serif; font-size: clamp(25px, 3vw, 36px); font-weight: 500; }
.verdict-card p:last-child { max-width: 820px; margin: 11px 0 0; color: rgba(255,255,255,.75); font-size: 14px; line-height: 1.55; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.route-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.route-card.recommended { border-color: rgba(15,107,74,.55); box-shadow: inset 0 4px 0 var(--green); }
.route-head { display: flex; align-items: center; gap: 12px; }
.route-head > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; color: var(--green); background: var(--green-pale); font-size: 11px; font-weight: 850; }
.route-head h3 { margin: 0; font-size: 18px; }
.route-status { margin: 18px 0; padding: 11px 13px; border-radius: 10px; color: var(--green-dark); background: var(--green-pale); font-size: 13px; font-weight: 750; }
.route-status.caution { color: #744514; background: var(--amber-pale); }
.route-status.muted { color: var(--muted); background: #eef0ed; }
.route-card ul, .insight-card ul { margin: 0; padding: 0; list-style: none; }
.route-card li, .insight-card li { position: relative; margin: 10px 0; padding-left: 19px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.route-card li::before, .insight-card li::before { content: ""; position: absolute; top: .58em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.route-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 23px; }
.route-metrics > div { padding: 14px; border-radius: 12px; background: #f2f4f1; }
.route-metrics small, .route-metrics strong, .route-metrics span { display: block; }
.route-metrics small { margin-bottom: 6px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.route-metrics strong { font-size: 14px; }
.route-metrics span { margin-top: 4px; color: var(--muted); font-size: 10px; }
.fine-print { margin: 17px 0 0; color: #7a8681; font-size: 10.5px; line-height: 1.5; }
.insight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.insight-card { padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,253,250,.72); }
.insight-card.warning { border-color: #e3c79f; background: #fff9f0; }
.insight-card.warning li::before { background: var(--amber); }
.consequences { display: grid; grid-template-columns: .75fr 1.25fr; gap: 44px; margin-top: 16px; padding: 34px; border-radius: var(--radius); color: white; background: var(--ink); }
.consequences-intro h3 { margin: 0 0 13px; font-family: Georgia, serif; font-size: 28px; font-weight: 500; line-height: 1.12; }
.consequences-intro p:last-child { margin: 0; color: rgba(255,255,255,.65); font-size: 13px; line-height: 1.55; }
.consequences .card-kicker { color: #73cea6; }
.consequence-list details { border-bottom: 1px solid rgba(255,255,255,.14); }
.consequence-list details:first-child { border-top: 1px solid rgba(255,255,255,.14); }
.consequence-list summary { padding: 15px 26px 15px 0; cursor: pointer; font-size: 13px; font-weight: 750; }
.consequence-list p { margin: -2px 0 16px; color: rgba(255,255,255,.67); font-size: 12px; line-height: 1.55; }
.consultation-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 16px; padding: 34px; border: 1px solid rgba(15,107,74,.3); border-radius: var(--radius); background: var(--green-pale); }
.consultation-card h3 { margin: 0; font-family: Georgia, serif; font-size: 30px; font-weight: 500; }
.consultation-card p:not(.eyebrow):not(.copy-status) { max-width: 650px; margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.cta-actions { min-width: 330px; text-align: center; }
.telegram { width: 100%; }
.text-button { margin-top: 10px; padding: 6px; border: 0; color: var(--green-dark); background: transparent; cursor: pointer; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.copy-status { min-height: 15px; margin: 5px 0 0; color: var(--green); font-size: 11px; }
.legal-note { max-width: 960px; margin: 17px auto 0; color: #7b8681; font-size: 10px; line-height: 1.55; text-align: center; }
.trust-strip { width: min(1180px, calc(100% - 40px)); margin: 0 auto 54px; padding: 24px 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-strip > div { padding: 0 25px; border-right: 1px solid var(--line); }
.trust-strip > div:first-child { padding-left: 0; }
.trust-strip > div:last-child { border: 0; }
.trust-strip span, .trust-strip strong, .trust-strip a { display: block; }
.trust-strip span { margin-bottom: 7px; color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.trust-strip strong, .trust-strip a { font-size: 14px; font-weight: 720; text-decoration: none; }
footer { width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 0 0 30px; display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }

@media (max-width: 920px) {
  .assessment-shell { grid-template-columns: 1fr; gap: 32px; margin-top: 20px; }
  .intro { position: static; padding-top: 0; }
  .result-grid, .insight-grid { grid-template-columns: 1fr; }
  .consequences { grid-template-columns: 1fr; gap: 25px; }
  .consultation-card { align-items: stretch; flex-direction: column; }
  .cta-actions { min-width: 0; }
}
@media (max-width: 620px) {
  .site-header, .assessment-shell, .results, .trust-strip, footer { width: min(100% - 28px, 1180px); }
  .site-header { min-height: 68px; }
  .privacy-badge { padding: 8px 10px; font-size: 11px; }
  h1 { font-size: 43px; }
  .lead { font-size: 16px; }
  .positioning { gap: 18px; }
  .positioning-item { align-items: flex-start; flex-direction: column; gap: 3px; }
  .wizard-card { min-height: 0; padding: 22px 18px 24px; border-radius: 20px; }
  .wizard-topline { align-items: flex-start; }
  .local-only { text-align: right; }
  .choice-grid, .two-col { grid-template-columns: 1fr; }
  .choice-wide { grid-column: auto; }
  .choice { min-height: 70px; }
  .form-actions .button { flex: 1; }
  .results-heading { align-items: flex-start; flex-direction: column; }
  .verdict-card { padding: 23px 19px; }
  .verdict-icon { width: 36px; height: 36px; flex-basis: 36px; }
  .route-card, .insight-card, .consequences, .consultation-card { padding: 22px 19px; }
  .route-metrics { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr; }
  .trust-strip > div, .trust-strip > div:first-child { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-strip > div:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
