:root {
  color-scheme: dark;
  --bg: #050806;
  --surface: #0b100d;
  --surface-2: #101713;
  --surface-3: #151e18;
  --text: #f6faf7;
  --muted: #a8b6ac;
  --line: rgba(255, 255, 255, 0.11);
  --green: #00d149;
  --green-dark: #078433;
  --green-soft: rgba(0, 209, 73, 0.12);
  --danger: #ff6b6b;
  --radius: 24px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 14% 0%, rgba(0, 209, 73, 0.10), transparent 28rem),
    radial-gradient(circle at 90% 35%, rgba(0, 209, 73, 0.07), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}
button, input, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.page-shell { width: min(1240px, calc(100% - 32px)); margin: 0 auto; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.brand-lockup { display: flex; align-items: center; gap: 14px; }
.brand-lockup strong { display: block; font-size: 1rem; letter-spacing: -0.01em; }
.logo-plate { width: 72px; height: 72px; overflow: hidden; border-radius: 12px; background: #fff; }
.logo-plate img { width: 100%; height: 100%; object-fit: contain; }
.eyebrow, .section-kicker { color: var(--green); text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 800; }
.preview-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(0, 209, 73, .35); background: var(--green-soft); color: #b9ffcf; border-radius: 999px; padding: 8px 12px; font-size: .82rem; font-weight: 750; }
.preview-badge span { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(0, 209, 73, .12); }

.hero { position: relative; overflow: hidden; min-height: 250px; border-radius: 28px; border: 1px solid var(--line); background: #040606; box-shadow: 0 28px 80px rgba(0,0,0,.35); }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(transparent, rgba(5,8,6,.84)); }

.form-wrap { display: grid; grid-template-columns: minmax(230px, .72fr) minmax(0, 1.55fr); gap: 34px; align-items: start; padding: 58px 20px 72px; }
.form-intro { position: sticky; top: 24px; padding: 26px 8px 0 0; }
.form-intro h1 { margin: 12px 0 14px; font-size: clamp(2rem, 3.2vw, 3.25rem); line-height: 1.02; letter-spacing: -.055em; max-width: 12ch; }
.form-intro > p { margin: 0; color: var(--muted); max-width: 39ch; }
.trust-list { display: grid; gap: 18px; margin-top: 34px; }
.trust-list > div { display: flex; gap: 13px; align-items: flex-start; }
.trust-list > div > span { display: grid; place-items: center; flex: 0 0 32px; height: 32px; border-radius: 10px; background: var(--green-soft); border: 1px solid rgba(0, 209, 73, .25); color: var(--green); font-size: .82rem; font-weight: 850; }
.trust-list p { margin: 0; }
.trust-list strong, .trust-list small { display: block; }
.trust-list small { color: var(--muted); margin-top: 2px; font-size: .82rem; }

.form-card { overflow: hidden; background: linear-gradient(145deg, rgba(19,28,22,.98), rgba(9,14,11,.98)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 30px 90px rgba(0,0,0,.32); }
.stepper { display: flex; align-items: flex-start; padding: 22px 28px; background: rgba(255,255,255,.025); border-bottom: 1px solid var(--line); }
.stepper i { flex: 1; height: 1px; margin: 16px 8px 0; background: var(--line); }
.step-dot { width: 54px; padding: 0; border: 0; background: transparent; color: #718078; text-align: center; }
.step-dot span { display: grid; place-items: center; width: 32px; height: 32px; margin: 0 auto 6px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font-size: .78rem; font-style: normal; font-weight: 800; transition: .2s ease; }
.step-dot em { font-size: .69rem; font-style: normal; }
.step-dot.active, .step-dot.done { color: #d7ffe2; }
.step-dot.active span { background: var(--green); border-color: var(--green); color: #041208; box-shadow: 0 0 0 5px rgba(0, 209, 73, .12); }
.step-dot.done span { background: var(--green-dark); border-color: var(--green-dark); color: white; }
.step-dot.done + i { background: rgba(0, 209, 73, .48); }

form { padding: 34px 38px 32px; }
.form-step { animation: step-in .24s ease; }
@keyframes step-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.step-heading { margin-bottom: 27px; }
.step-heading > span { color: var(--green); font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.step-heading h2 { margin: 7px 0 4px; font-size: clamp(1.55rem, 2.4vw, 2.1rem); letter-spacing: -.035em; }
.step-heading p { margin: 0; color: var(--muted); }
.fields { display: grid; gap: 18px; }
.two-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field > span, .coverage-options legend { color: #e7eee9; font-size: .88rem; font-weight: 720; }
.field input, .field select {
  width: 100%; min-height: 50px; border: 1px solid var(--line); border-radius: 13px; background: rgba(0,0,0,.21); color: var(--text); padding: 0 15px; outline: 0; transition: border .2s, box-shadow .2s, background .2s;
}
.field input::placeholder { color: #66736b; }
.field input:focus, .field select:focus { border-color: var(--green); background: rgba(0,0,0,.3); box-shadow: 0 0 0 4px rgba(0, 209, 73, .11); }
.field input.invalid, .field select.invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255,107,107,.08); }
select option { background: #101713; color: white; }

.coverage-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 0; border: 0; }
.coverage-options legend { margin-bottom: 10px; }
.coverage-options label { position: relative; }
.coverage-options input { position: absolute; opacity: 0; pointer-events: none; }
.coverage-options label span { display: grid; gap: 3px; min-height: 86px; align-content: center; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(0,0,0,.18); transition: .2s ease; }
.coverage-options strong { font-size: .93rem; }
.coverage-options small { color: var(--muted); }
.coverage-options input:checked + span { border-color: var(--green); background: var(--green-soft); box-shadow: inset 0 0 0 1px rgba(0,209,73,.24); }
.coverage-options input:focus-visible + span { outline: 3px solid rgba(0,209,73,.3); outline-offset: 2px; }
.seller-fields { margin-top: 22px; }

.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.review-section { padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: rgba(0,0,0,.18); }
.review-section h3 { margin: 0 0 11px; color: var(--green); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.review-row { display: grid; gap: 2px; margin-top: 10px; }
.review-row span { color: var(--muted); font-size: .75rem; }
.review-row strong { overflow-wrap: anywhere; font-size: .9rem; font-weight: 650; }
.consent { display: flex; gap: 11px; align-items: flex-start; margin-top: 22px; color: #dce5df; font-size: .9rem; }
.consent input { width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--green); }
.demo-alert { display: grid; gap: 2px; margin-top: 18px; padding: 14px 16px; border: 1px solid rgba(0,209,73,.28); border-radius: 14px; background: rgba(0,209,73,.07); color: #b9ffcf; }
.demo-alert span { font-size: .82rem; color: #a9cdb4; }

.form-actions { display: flex; align-items: center; gap: 12px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.action-spacer { flex: 1; }
.button { min-height: 48px; border-radius: 12px; padding: 0 21px; border: 1px solid transparent; font-weight: 800; transition: transform .2s, background .2s, border .2s; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--green); color: #031407; box-shadow: 0 11px 28px rgba(0,209,73,.18); }
.button.primary:hover { background: #16e25a; }
.button.secondary { border-color: var(--line); background: transparent; color: #d8e2db; }
.button.secondary:hover { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.04); }
.form-message { min-height: 22px; margin: 12px 0 0; color: #b9ffcf; font-size: .85rem; text-align: right; }
.form-message.error { color: var(--danger); }
.button:disabled { cursor: wait; opacity: .68; transform: none; }

footer { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); padding: 24px 8px 34px; color: #728077; font-size: .82rem; }

.success-modal { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.76); backdrop-filter: blur(10px); }
.success-modal[hidden] { display: none; }
.success-card { width: min(460px, 100%); padding: 38px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface-2); text-align: center; box-shadow: 0 40px 120px rgba(0,0,0,.55); }
.success-icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 20px; border-radius: 50%; background: var(--green); color: #031407; font-size: 1.8rem; font-weight: 900; }
.success-card h2 { margin: 8px 0 10px; font-size: 1.8rem; letter-spacing: -.035em; }
.success-card p { color: var(--muted); margin: 0 0 24px; }

@media (max-width: 900px) {
  .hero { min-height: 205px; }
  .form-wrap { grid-template-columns: 1fr; gap: 30px; padding-top: 42px; }
  .form-intro { position: static; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; padding: 0; }
  .form-intro > .section-kicker, .form-intro h1, .form-intro > p { grid-column: 1; }
  .form-intro h1 { max-width: 15ch; }
  .trust-list { grid-column: 2; grid-row: 1 / 4; margin: 0; align-content: center; }
}

@media (max-width: 650px) {
  .page-shell { width: min(100% - 20px, 1240px); }
  .topbar { min-height: 78px; }
  .brand-lockup > div:last-child, .preview-badge { display: none; }
  .logo-plate { width: 62px; height: 62px; }
  .hero { min-height: 148px; border-radius: 18px; }
  .form-wrap { padding: 34px 0 48px; }
  .form-intro { display: block; padding: 0 10px; }
  .form-intro h1 { max-width: none; font-size: 2.25rem; }
  .trust-list { margin-top: 26px; }
  .form-card { border-radius: 18px; }
  .stepper { padding: 17px 16px; }
  .stepper i { margin-inline: 3px; }
  .step-dot { width: 38px; }
  .step-dot em { display: none; }
  form { padding: 27px 19px 24px; }
  .two-cols, .review-grid, .coverage-options { grid-template-columns: 1fr; }
  .coverage-options label span { min-height: 68px; }
  .form-actions { flex-wrap: wrap; }
  .form-actions .button { flex: 1; }
  .form-message { width: 100%; text-align: left; }
  footer { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
