:root {
  --ink: #192c2a;
  --muted: #53635f;
  --green: #176652;
  --green-dark: #104b3d;
  --pale: #eef5f1;
  --line: #dbe3de;
  --gold: #e7ba55;
  --white: #fff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: #123047 url("/Insurance-Quote/streetScene.jpg") center / cover no-repeat;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; }

button, input, select, textarea { font: inherit; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #c89b32;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: #fff;
  padding: 12px;
  z-index: 10;
}

.skip-link:focus { top: 10px; }

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner, .quote-wrap, .quote-footer {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
  font-size: 20px;
  line-height: 1.2;
}

.brand strong { color: var(--green); }

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
}

.brand-symbol {
  display: grid;
  place-items: center;
  width: 36px;
  height: 40px;
  background: var(--green);
  color: #fff;
  border-radius: 5px;
}

.nav-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-call i { color: var(--green); }

.quote-wrap { padding: 36px 0 64px; }

.quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 32px 28px;
  box-shadow: 0 16px 40px rgba(16, 28, 24, 0.28);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

h1 {
  margin: 0 0 12px;
  font-size: 34px;
  line-height: 1.15;
}

.lede {
  margin: 0 0 22px;
  color: var(--muted);
  max-width: 58ch;
}

.quote-progress {
  display: flex;
  gap: 8px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.quote-progress li {
  flex: 1;
  padding-top: 8px;
  border-top: 3px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.quote-progress .is-current { border-color: var(--gold); color: var(--ink); }

.quote-progress .is-done { border-color: var(--green); color: var(--green); }

.quote-error {
  margin: 0 0 18px;
  padding: 12px 14px;
  background: #fff6f4;
  border: 1px solid #e7c6be;
  border-radius: 4px;
  color: #6d2b22;
}

.fields { display: grid; gap: 16px; }

.fields label, .choice-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
}

.fields input, .fields select, .fields textarea {
  width: 100%;
  border: 1px solid #b8c8bd;
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
}

.fields input::placeholder, .fields textarea::placeholder { color: #8a9a94; }

.fields textarea { min-height: 110px; resize: vertical; }

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

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}

.button, .button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button {
  border: 1px solid var(--green);
  background: var(--green);
  color: #fff;
}

.button:hover { background: var(--green-dark); }

.button-ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.button-ghost:hover { background: var(--pale); }

.fine-print {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.fine-print a { color: var(--green); font-weight: 700; }

.thanks-list {
  margin: 0 0 8px;
  padding-left: 18px;
  color: var(--muted);
}

.quote-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 28px;
  color: #fff;
  font-size: 13px;
  text-shadow: 0 1px 2px rgba(16, 28, 24, 0.7);
}

.quote-footer a { color: #fff; font-weight: 700; text-decoration: none; }

@media (max-width: 640px) {
  h1 { font-size: 28px; }
  .quote-card { padding: 22px 18px 20px; }
  .pair { grid-template-columns: 1fr; }
  .form-actions .button, .form-actions .button-ghost { width: 100%; }
  .quote-footer { flex-direction: column; }
  .nav-call span { display: none; }
}
