* {
  box-sizing: border-box;
}

:root {
  --bg: #eef4ff;
  --panel: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #dbe4f0;
  --primary: #1d4ed8;
  --primary-dark: #0f3ea9;
  --primary-soft: #eff6ff;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.09), transparent 36%),
    linear-gradient(180deg, #f6f9ff 0%, var(--bg) 100%);
  color: var(--text);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-shell {
  min-height: 100vh;
  padding: 36px 18px;
}

.layout {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.hero-panel,
.form-panel {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(29, 78, 216, 0.92)),
    #0f172a;
  color: #ffffff;
}

.form-panel {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(219, 228, 240, 0.9);
  padding: 26px;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-panel h1 {
  margin: 18px 0 14px;
  font-size: clamp(2rem, 3.3vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-copy {
  margin: 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
  line-height: 1.75;
}

.urgency-banner {
  margin-top: 24px;
  margin-bottom: 28px;
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.24), rgba(22, 163, 74, 0.34));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.urgency-label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.urgency-title {
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
}

.urgency-text {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.trust-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-card strong {
  font-size: 15px;
}

.trust-card span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.55;
}

.trust-card.highlight {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.26), rgba(22, 163, 74, 0.34));
}

.bullet-list {
  margin: 28px 0 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.8;
}

.progress-card {
  padding: 0 0 18px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background: #e8eef7;
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), #4f8cff);
  transition: width 0.28s ease;
}

.step {
  display: none;
  animation: fadeIn 0.25s ease;
}

.step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.question {
  margin: 8px 0 8px;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.subtext,
.helper-text,
.footnote {
  color: var(--muted);
}

.subtext {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.7;
}

.options {
  display: grid;
  gap: 12px;
}

.option {
  width: 100%;
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.option:hover {
  border-color: #90b4ff;
  background: #f8fbff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08);
}

.option.selected {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
  box-shadow: inset 0 0 0 1px rgba(29, 78, 216, 0.06);
}

.helper-text {
  margin: 12px 2px 0;
  font-size: 12px;
  line-height: 1.6;
}

.summary {
  margin: 8px 0 22px;
  padding: 18px;
  background: #f8fbff;
  border: 1px solid #c9dafd;
  border-radius: 18px;
  color: #1e3a8a;
  font-size: 15px;
  line-height: 1.7;
}

.cta-stack {
  display: grid;
  gap: 12px;
}

.cta-button {
  display: block;
  width: 100%;
  padding: 18px 20px;
  border-radius: 18px;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.6px;
  transition: all 0.15s ease;
}

.cta-button.primary {
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  box-shadow:
    0 5px 0 #1e3a8a,
    0 14px 32px rgba(0, 0, 0, 0.28);
}

.cta-button.primary:hover {
  background: linear-gradient(180deg, #1d4ed8, #1e40af);
  box-shadow:
    0 7px 0 #1e3a8a,
    0 18px 36px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}

.cta-button.primary:active {
  transform: translateY(3px);
  box-shadow:
    0 2px 0 #1e3a8a,
    0 10px 20px rgba(0, 0, 0, 0.25);
}

.footnote {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 1.7;
}

.navigation {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.nav-btn {
  flex: 1;
  border: none;
  border-radius: 16px;
  padding: 15px 16px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.nav-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.nav-btn.secondary {
  background: #edf2f8;
  color: #0f172a;
}

.nav-btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #ffffff;
}

.nav-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.95em;
  background: rgba(15, 23, 42, 0.06);
  padding: 2px 6px;
  border-radius: 6px;
}

@media (max-width: 980px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .form-panel {
    padding: 24px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 14px;
  }

  .hero-panel,
  .form-panel {
    border-radius: 22px;
    padding: 20px;
  }

  .question {
    font-size: 25px;
  }

  .navigation {
    position: sticky;
    bottom: 0;
    padding-top: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 28%);
  }

  .cta-button {
    font-size: 17px;
    padding: 17px 18px;
  }
}
/* Phone input / 24-7 assistant notice */
.phone-group {
  margin-top: 24px;
}

.phone-label {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.phone-input {
  width: 100%;
  height: 58px;
  padding: 0 18px;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  background: #ffffff;
  border: 2px solid var(--line);
  border-radius: 18px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: 0 5px 14px rgba(15, 23, 42, 0.05);
}

.phone-input::placeholder {
  color: #94a3b8;
  font-weight: 500;
}

.phone-input:hover {
  border-color: #93c5fd;
}

.phone-input:focus {
  border-color: #2563eb;
  background: #f8fbff;
  box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.12);
}

.phone-tip {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.contact-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  padding: 18px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-left: 5px solid #2563eb;
  border-radius: 16px;
  color: #1e3a8a;
  line-height: 1.7;
  font-size: 14px;
}

.notice-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.phone-error {
  min-height: 18px;
  margin: 10px 2px 0;
  color: #dc2626;
  font-size: 13px;
  line-height: 1.5;
}

/* 2026 awareness visual refresh; existing form styles retained */
.alliance-brand{display:flex;align-items:center;gap:13px;margin-bottom:25px}.alliance-logo{display:grid;place-items:center;width:65px;height:65px;border-radius:18px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25)}.alliance-brand strong{display:block;font-size:20px;letter-spacing:-.02em}.alliance-brand span{display:block;margin-top:5px;font-size:12px;color:#c9e7ed}.awareness-strip{display:flex;flex-wrap:wrap;gap:9px;margin:23px 0 3px}.awareness-strip span{font-size:12px;font-weight:650;border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:8px 11px;background:rgba(255,255,255,.09)}.contact-channels{border:1px solid #d7e6f1;background:#f7fbff;border-radius:18px;padding:17px;margin:0 0 18px}.contact-channels h3{font-size:17px;margin:0 0 5px}.contact-channels p{font-size:13px;color:#536579;line-height:1.6;margin:0 0 12px}.channel-links{display:flex;flex-wrap:wrap;gap:9px}.channel-link{border:1px solid #b9d9e8;border-radius:11px;padding:10px 14px;background:white;color:#12617e;text-decoration:none;font-weight:750;font-size:13px}.channel-link:hover{background:#e7f7fb}.channel-link[hidden]{display:none}.contact-channels .channel-placeholder{margin:5px 0 0;font-style:italic}.alliance-disclaimer{font-size:11px;color:#64748b;line-height:1.6;margin:17px 0 0}

.free-info {margin:20px 0 12px;padding:18px;border:1px solid rgba(255,255,255,.22);border-radius:16px;background:rgba(255,255,255,.09);line-height:1.65}
.free-info p {margin:6px 0 0;color:rgba(255,255,255,.85);font-size:13px}
.contact-actions {margin-top:18px}
.telegram-btn {background:#168ac1;color:white}
.cta-button:disabled {opacity:.55;cursor:not-allowed}

.consent-row { display:flex; gap:10px; align-items:flex-start; margin:16px 0 6px; color:#475569; font-size:12px; line-height:1.6; }
.consent-row input { margin-top:3px; flex-shrink:0; }

.no-fee-notice {display:grid;gap:7px;margin:18px 0;padding:16px 18px;border:1px solid rgba(255,255,255,.3);border-radius:16px;background:rgba(20,184,166,.18);color:#fff;line-height:1.6;}
.no-fee-notice strong {font-size:16px;}
.no-fee-notice span {font-size:14px;}

/* Case count: accessible, progressive enhancement */
.case-counter{display:flex;align-items:center;gap:16px;margin:24px 0 16px;padding:18px 20px;border:1px solid rgba(255,255,255,.22);border-radius:18px;background:rgba(255,255,255,.09)}
.case-counter-icon{font-size:32px;color:#93c5fd}
.case-counter-number{font-size:clamp(34px,4vw,48px);font-weight:900;line-height:1.1;letter-spacing:-.035em;font-variant-numeric:tabular-nums}
.case-counter-label{font-size:14px;font-weight:700;margin-top:5px}
.case-counter-label span{font-size:11px;font-weight:400;color:rgba(255,255,255,.7)}
@media(max-width:640px){.case-counter{padding:16px}.case-counter-label span{display:block;margin-top:3px}}

/* Quick assessment shortcut: scrolls to existing form without skipping steps */
.quick-eval-btn { display:inline-flex; align-items:center; justify-content:center; gap:12px; margin: 4px 0 20px; padding:15px 24px; border-radius:14px; background:#22c55e; color:#082b19; text-decoration:none; font-weight:800; box-shadow:0 8px 24px rgba(0,0,0,.22); transition:transform .2s, background .2s; }
.quick-eval-btn:hover { background:#86efac; transform:translateY(-2px); }
.quick-eval-btn:focus-visible { outline:3px solid white; outline-offset:3px; }
#case-form { scroll-margin-top:18px; }
@media(max-width:640px) { .quick-eval-btn { width:100%; } }
@media(prefers-reduced-motion:reduce) { .quick-eval-btn { transition:none; } }
