:root {
  --navy: #040B14;
  --accent: #FFC107;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { font-family: var(--font); }
body { margin: 0; background: var(--navy); color: white; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: #ffd451; }
input, select, textarea, button { outline: none; font-family: var(--font); }
input::placeholder, textarea::placeholder { color: rgba(255, 255, 255, 0.34); }

@keyframes stepIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 3px; background: rgba(255, 255, 255, 0.16); border-radius: 3px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); border: 4px solid var(--navy); box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.28); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); border: 4px solid var(--navy); box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.28); cursor: pointer; border: none; }

.page { min-height: 100vh; background: var(--navy); color: white; display: flex; flex-direction: column; }

.cz-header { padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.cz-header .back { display: flex; align-items: center; gap: 10px; color: white; font-weight: 800; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.cz-header .wa { font-weight: 700; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: oklch(72% 0.008 250); }

.cz-body { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: 56px 24px 80px; }
.cz-container { width: 100%; max-width: 620px; }

.cz-progress { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.cz-progress .step-label { font-weight: 700; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); white-space: nowrap; }
.cz-progress .rail { flex: 1; height: 2px; background: rgba(255, 255, 255, 0.12); display: block; position: relative; overflow: hidden; border-radius: 2px; }
.cz-progress .fill { position: absolute; inset: 0 auto 0 0; width: 16.66%; background: var(--accent); display: block; border-radius: 2px; transition: width 0.35s ease; }

.cz-card { background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 18px; padding: 40px 44px; animation: stepIn 0.4s ease both; }
.cz-card h1 { font-weight: 800; font-size: clamp(23px, 3vw, 33px); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 12px; color: white; }
.cz-card .hint { font-size: 15px; line-height: 1.65; color: oklch(75% 0.01 250); margin: 0 0 34px; max-width: 440px; }

.cz-options { display: flex; flex-direction: column; gap: 10px; }
.cz-option {
  width: 100%; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-align: left; padding: 18px 20px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.02); color: white; cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease;
}
.cz-option.is-selected { border-color: var(--accent); background: rgba(255, 193, 7, 0.12); }
.cz-option .text { display: flex; flex-direction: column; gap: 3px; text-align: left; min-width: 0; }
.cz-option .label { font-weight: 700; font-size: 15.5px; letter-spacing: -0.01em; }
.cz-option .sub { font-size: 12.5px; color: oklch(72% 0.01 250); }
.cz-option svg { flex-shrink: 0; opacity: 0.55; }

.cz-field-label { font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: oklch(75% 0.01 250); margin-bottom: 11px; }
.cz-input { width: 100%; box-sizing: border-box; padding: 16px 18px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.03); color: white; font-size: 15.5px; }

.cz-slider-value { text-align: center; font-weight: 800; font-size: clamp(34px, 4.6vw, 50px); letter-spacing: -0.04em; color: var(--accent); margin-bottom: 26px; }
.cz-slider-ends { display: flex; justify-content: space-between; margin-top: 14px; font-weight: 600; font-size: 12.5px; color: oklch(70% 0.01 250); }
.cz-or { text-align: center; font-size: 12.5px; letter-spacing: 0.04em; color: oklch(70% 0.01 250); margin: 30px 0 14px; }

.cz-consent { font-size: 12.5px; line-height: 1.6; color: oklch(72% 0.008 250); }
.cz-consent strong { color: white; font-weight: 700; }

.cz-btn-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 34px; }
.cz-primary {
  display: inline-flex; align-items: center; gap: 10px; background: var(--accent); color: var(--navy);
  font-weight: 800; font-size: 14.5px; letter-spacing: 0.02em; padding: 16px 30px; border-radius: 999px;
  border: none; cursor: pointer; box-shadow: 0 14px 30px -12px rgba(255, 193, 7, 0.6);
}
.cz-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.cz-back { background: none; border: none; cursor: pointer; font-weight: 700; font-size: 13px; color: oklch(75% 0.01 250); padding: 8px 0; }

.cz-form { display: flex; flex-direction: column; gap: 22px; }
.cz-field-note { font-size: 12.5px; color: oklch(70% 0.01 250); margin-top: 9px; }

.cz-success { text-align: center; }
.cz-success .check {
  width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--accent);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 24px;
}
.cz-success h1 { font-weight: 800; font-size: clamp(24px, 3vw, 32px); letter-spacing: -0.03em; margin: 0 0 14px; }
.cz-success p { font-size: 15px; line-height: 1.7; color: oklch(75% 0.01 250); margin: 0 auto 30px; max-width: 380px; }
.cz-success .back-link { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); border-bottom: 1.5px solid var(--accent); padding-bottom: 6px; }

.cz-error { font-size: 13px; color: #ff8b8b; margin-top: 14px; display: none; }
.cz-error.is-visible { display: block; }

[hidden] { display: none !important; }

@media (max-width: 640px) {
  .cz-body { padding: 32px 20px 56px; }
  .cz-card { padding: 28px 22px; }
}
