:root {
  --navy: #123a5e;
  --blue: #1f6fb2;
  --green: #2e7d32;
  --bg: #f4f7fa;
  --ink: #1c2733;
  --muted: #5b6b7a;
  --line: #d9e2ec;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

a { color: var(--blue); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: var(--navy);
  color: #fff;
}
.site-header .brand { color: #fff; font-weight: 700; font-size: 1.25rem; text-decoration: none; }
.site-header nav a { color: #cfe2f3; margin-left: 1.25rem; text-decoration: none; }
.site-header nav a:hover { color: #fff; }

main { max-width: 1080px; margin: 0 auto; padding: 2rem 1.5rem; }

.hero { display: grid; grid-template-columns: 1fr 420px; gap: 2.5rem; align-items: start; }
.hero h1 { font-size: 2.1rem; color: var(--navy); margin-top: 0; }
.lede { font-size: 1.15rem; color: var(--muted); }
.benefits { list-style: none; padding: 0; }
.benefits li { padding: 0.35rem 0 0.35rem 1.75rem; position: relative; }
.benefits li::before { content: "✓"; color: var(--green); font-weight: 700; position: absolute; left: 0; }
.fineprint, .muted { color: var(--muted); font-size: 0.85rem; }

.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(18, 58, 94, 0.08);
}
.quote-card h2 { margin-top: 0; color: var(--navy); }

.row { display: block; margin-bottom: 0.85rem; }
.row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
input, select {
  width: 100%;
  margin-top: 0.3rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 400;
}
input:focus, select:focus { outline: 2px solid var(--blue); border-color: var(--blue); }

.consent { font-weight: 400; font-size: 0.8rem; color: var(--muted); display: flex; gap: 0.5rem; margin: 1rem 0; }
.consent input { width: auto; margin-top: 0.2rem; }

button, .button {
  display: inline-block;
  width: 100%;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}
button:hover, .button:hover { filter: brightness(0.95); }
button:disabled { opacity: 0.6; cursor: not-allowed; }

.errors { background: #fdecea; border: 1px solid #f5c6cb; color: #842029; padding: 0.75rem 1rem; border-radius: 8px; margin-bottom: 1rem; }
.errors ul { margin: 0; padding-left: 1.2rem; }
.form-message { margin: 0.5rem 0 0; min-height: 1.2em; font-size: 0.9rem; }
.form-message.error { color: #842029; }

.confirmation, .legal { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 2rem; }
.confirmation h1 { color: var(--navy); }
.legal h2 { color: var(--navy); margin-top: 1.75rem; }
.confirmation .button { width: auto; padding: 0.7rem 1.5rem; margin-top: 1rem; }

.site-footer { max-width: 1080px; margin: 1rem auto 2rem; padding: 1.5rem; color: var(--muted); font-size: 0.8rem; }
.site-footer a { color: var(--blue); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .quote-card { order: -1; }
}
