:root {
  --blue: #1557ff;
  --blue-700: #0d328f;
  --ink: #102142;
  --muted: #5e6b82;
  --line: #dfe6f3;
  --paper: #ffffff;
  --wash: #f4f7fc;
  --lime: #b7ff2a;
  --teal: #12c7c0;
  --orange: #ff9f1c;
  --shadow: 0 18px 60px rgba(16, 33, 66, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--wash);
}

button, input, select { font: inherit; }

a { color: inherit; text-decoration: none; }

.shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 247, 252, .88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(223, 230, 243, .86);
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand img { width: 214px; display: block; }

.navlinks {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.navlinks a:hover { color: var(--blue); }

.btn {
  border: 0;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  font-weight: 800;
  color: var(--paper);
  background: var(--blue);
  box-shadow: 0 12px 26px rgba(21, 87, 255, .22);
}

.btn:hover { background: #0f49df; }

.btn.secondary {
  color: var(--blue-700);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: none;
}

.btn.ghost {
  color: var(--blue-700);
  background: transparent;
  box-shadow: none;
  border: 1px solid transparent;
}

.hero {
  padding: 56px 0 38px;
  background:
    radial-gradient(circle at 80% 18%, rgba(183, 255, 42, .28), transparent 24%),
    linear-gradient(135deg, #f8fbff 0%, #eef4ff 52%, #f7fafc 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-700);
  background: rgba(21, 87, 255, .08);
  border: 1px solid rgba(21, 87, 255, .16);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(183, 255, 42, .25);
}

h1 {
  margin: 22px 0 18px;
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: .94;
  letter-spacing: 0;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
  max-width: 620px;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
  max-width: 650px;
}

.trust-item {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .72);
  border-radius: 8px;
  padding: 14px;
}

.trust-item strong { display: block; font-size: 20px; }
.trust-item span { color: var(--muted); font-size: 13px; font-weight: 700; }

.phone-frame {
  width: min(100%, 430px);
  margin-left: auto;
  background: #091b3a;
  border-radius: 32px;
  padding: 12px;
  box-shadow: var(--shadow);
}

.phone-screen {
  background: var(--paper);
  border-radius: 24px;
  overflow: hidden;
}

.screen-head {
  padding: 20px;
  background: linear-gradient(135deg, var(--blue), #0e379d);
  color: var(--paper);
}

.screen-head img { width: 164px; display: block; }
.screen-head p { margin: 18px 0 0; color: rgba(255,255,255,.78); }

.mini-quote { padding: 20px; }

.amount-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fbfdff;
}

.amount-card small { color: var(--muted); font-weight: 800; text-transform: uppercase; }
.amount-card b { display: block; font-size: 38px; margin-top: 6px; }

.progress-mini {
  height: 10px;
  background: #e7ecf6;
  border-radius: 999px;
  margin: 16px 0;
}

.progress-mini span {
  display: block;
  width: 64%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--lime));
}

.section {
  padding: 72px 0;
}

.section.white { background: var(--paper); }

.section-title {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-title h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1;
}

.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 12px 36px rgba(16, 33, 66, .05);
}

.card h3 { margin: 14px 0 9px; font-size: 21px; }
.card p { margin: 0; color: var(--muted); line-height: 1.55; }

.icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--blue-700);
  background: rgba(21, 87, 255, .08);
  font-weight: 900;
}

.flow-shell {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
  align-items: start;
}

.steps {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  position: sticky;
  top: 96px;
}

.step-tab {
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 14px;
  background: transparent;
  color: var(--muted);
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  text-align: left;
  cursor: pointer;
}

.step-tab strong { color: var(--ink); display: block; }
.step-tab span:last-child { font-size: 13px; line-height: 1.35; }
.step-tab.active { background: #eef4ff; color: var(--blue-700); }

.num {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf2fb;
  color: var(--blue-700);
  font-size: 13px;
  font-weight: 900;
}

.step-tab.active .num { background: var(--blue); color: var(--paper); }

.flow-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 620px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-top {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.panel-top h3 { margin: 0; font-size: 24px; }
.panel-top p { margin: 5px 0 0; color: var(--muted); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.panel-body { padding: 24px; }

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: #34415a;
  font-size: 13px;
  font-weight: 900;
}

.field input, .field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fbfdff;
}

.field input:focus, .field select:focus, .btn:focus-visible, .step-tab:focus-visible {
  outline: 3px solid rgba(21, 87, 255, .24);
  outline-offset: 2px;
}

.verify-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  background: #fbfdff;
  border-radius: 8px;
  padding: 18px;
  margin-bottom: 16px;
}

.scan {
  height: 112px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 46%, rgba(183, 255, 42, .65) 47%, rgba(183, 255, 42, .65) 53%, transparent 54%),
    linear-gradient(135deg, #dce8ff, #ffffff);
  border: 1px solid #cfdaf0;
  position: relative;
}

.scan:after {
  content: "";
  position: absolute;
  inset: 22px;
  border: 2px solid rgba(21, 87, 255, .42);
  border-radius: 8px;
}

.hint {
  color: var(--muted);
  line-height: 1.5;
}

.quote-result {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 18px;
  align-items: stretch;
}

.result-main {
  padding: 24px;
  background: linear-gradient(135deg, #0f3cae, #1557ff);
  color: var(--paper);
  border-radius: 8px;
}

.result-main small { color: rgba(255,255,255,.72); font-weight: 900; text-transform: uppercase; }
.result-main b { display: block; margin: 8px 0; font-size: clamp(38px, 6vw, 66px); }
.result-main p { margin: 0; color: rgba(255,255,255,.82); line-height: 1.5; }

.review-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.review-summary div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.review-summary div:last-child { border-bottom: 0; }
.review-summary strong { color: var(--ink); text-align: right; }

.accept-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fbfdff;
}

.checklist {
  display: grid;
  gap: 11px;
  margin: 18px 0;
}

.check {
  display: flex;
  gap: 10px;
  color: var(--muted);
  line-height: 1.45;
}

.check:before {
  content: "✓";
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: grid;
  place-items: center;
  color: var(--blue-700);
  background: var(--lime);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
}

.status-note {
  margin-top: 18px;
  border: 1px solid rgba(255,159,28,.28);
  background: rgba(255,159,28,.08);
  border-radius: 8px;
  padding: 16px;
  color: #6f4a0a;
  line-height: 1.55;
}

.footer {
  padding: 34px 0;
  background: #0b1934;
  color: rgba(255,255,255,.75);
}

.footer .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer img { width: 166px; display: block; }

.hidden { display: none; }

@media (max-width: 920px) {
  .navlinks { display: none; }
  .hero-grid, .flow-shell, .quote-result { grid-template-columns: 1fr; }
  .phone-frame { margin: 18px auto 0; }
  .steps { position: static; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .shell { padding: 0 16px; }
  .nav { height: 70px; }
  .brand img { width: 178px; }
  .hero { padding-top: 36px; }
  .trust-row, .cards, .quote-grid, .verify-card { grid-template-columns: 1fr; }
  .review-summary div { align-items: flex-start; flex-direction: column; }
  .review-summary strong { text-align: left; }
  .panel-top { align-items: flex-start; flex-direction: column; }
  .panel-body { padding: 18px; }
  .footer .shell { align-items: flex-start; flex-direction: column; }
}
