/* ===== TruOffer design tokens ===== */
:root {
  --navy:        #0B3D91;   /* primary blue */
  --navy-700:    #082F73;
  --navy-900:    #05204D;   /* deep footer / hero ground */
  --blue-400:    #2E6BD6;   /* lighter blue accent */
  --blue-tint:   #EAF1FC;   /* section wash */
  --blue-tint-2: #F4F8FE;
  --green:       #12925A;   /* action */
  --green-600:   #0C7A49;
  --green-tint:  #E6F4EC;

  --ink:         #11203B;   /* near-black, navy-tinted */
  --ink-soft:    #45566F;
  --muted:       #5E6E88;   /* AA-contrast helper text */
  --line:        #D7DEEA;
  --line-soft:   #E7ECF4;
  --white:       #FFFFFF;
  --paper:       #F7F9FD;

  --ok:          #1E7D4F;   /* yes in compare table */
  --no:          #6E7C92;   /* dash / no (AA-perceivable) */

  --shadow-sm: 0 1px 2px rgba(11,61,145,.06), 0 2px 6px rgba(11,61,145,.06);
  --shadow-md: 0 10px 30px rgba(11,61,145,.12);
  --shadow-lg: 0 24px 60px rgba(5,32,77,.22);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --maxw: 1200px;

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--green); color: #fff; }

h1,h2,h3,h4 { font-family: var(--font-display); margin: 0; line-height: 1.02; letter-spacing: -0.01em; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select { font-family: inherit; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 800; letter-spacing: .02em;
  border-radius: var(--r-pill);
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(18,146,90,.28); }
.btn-green:hover { background: var(--green-600); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn-ghost { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--navy); }
.btn-lg { padding: 18px 38px; font-size: 17px; }
.btn-md { padding: 13px 26px; font-size: 15px; }
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ===== Form controls (reference style: rounded, label-floated) ===== */
.field {
  position: relative;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  padding: 12px 16px 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field:focus-within { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(11,61,145,.10); }
.field.filled { background: #fff; }
.field.muted { background: var(--paper); }
.field-label {
  display: block;
  font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 2px;
}
.field-input, .field-select {
  width: 100%; border: none; outline: none; background: transparent;
  font-size: 17px; font-weight: 600; color: var(--ink); padding: 0;
}
.field-select { appearance: none; cursor: pointer; }
.field .chev {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  pointer-events: none; color: var(--navy);
}

/* generic single-line input */
.input-lg {
  width: 100%; border: 1.5px solid var(--line); border-radius: var(--r-md);
  background: #fff; padding: 18px 18px; font-size: 17px; font-weight: 600; color: var(--ink);
  outline: none; transition: border-color .15s ease, box-shadow .15s ease;
}
.input-lg::placeholder { color: var(--muted); font-weight: 500; }
.input-lg:focus { border-color: var(--navy); box-shadow: 0 0 0 4px rgba(11,61,145,.10); }

/* ===== Section heading (reference: ALL CAPS, navy, kicker) ===== */
.kicker {
  font-family: var(--font-display); font-weight: 800;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-600);
}
.h-section {
  font-weight: 800; text-transform: uppercase; color: var(--navy);
  font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.005em;
}

/* ===== utility ===== */
.eyebrow-line { height: 4px; background: var(--green); border: none; }
.chip-check { color: var(--navy); }

@media (max-width: 760px) {
  .wrap { padding: 0 18px; }
}

/* ===== Accessibility ===== */
:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
  border-radius: 6px;
}
.btn:focus-visible { outline-offset: 3px; }
a:focus-visible { outline-color: var(--green-600); }

.skip-link {
  position: absolute; left: 12px; top: -80px;
  background: var(--navy); color: #fff; padding: 12px 20px;
  border-radius: var(--r-md); font-family: var(--font-display);
  font-weight: 800; font-size: 15px; z-index: 200;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .ol-spin { animation: none !important; }
}
