:root {
  --midnight: #0B1F3A;
  --trust: #1769AA;
  --trust-dark: #125688;
  --sky: #DCEEF9;
  --gray: #F4F6F8;
  --charcoal: #222B35;
  --gold: #B88932;
  --white: #FFFFFF;
  --error: #B42318;
  --error-bg: #FDECEC;
  --muted: #3A4652;
  --card-border: #D5DCE3;
  --font-serif: "Source Serif 4", Georgia, serif;
  --font-sans: "Source Sans 3", "Segoe UI", sans-serif;
  --radius: 8px;
  --sticky-h: 4.5rem;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--charcoal);
  background: var(--white);
  padding-bottom: var(--sticky-h);
}
.no-sticky { padding-bottom: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--trust); }
:focus-visible { outline: 3px solid var(--trust); outline-offset: 3px; }
.skip-link { position: absolute; left: .75rem; top: -3.5rem; background: var(--midnight); color: #fff; padding: .7rem 1rem; }
.skip-link:focus { top: 0; }
.wrap { width: min(100% - 1.4rem, 70rem); margin-inline: auto; }
h1, h2, h3 { font-family: var(--font-serif); color: var(--midnight); line-height: 1.2; margin: 0 0 .55em; }
h1 { font-size: clamp(1.9rem, 5.5vw, 3rem); }
h2 { font-size: clamp(1.45rem, 3.5vw, 2rem); }
h2::after { content: ""; display: block; width: 2.2rem; height: 2px; background: var(--gold); margin: .45rem 0 .8rem; }
p { margin: 0 0 1rem; }
.muted { color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .75rem 1.2rem; border-radius: 8px; border: 2px solid transparent;
  font: 700 1.06rem var(--font-sans); text-decoration: none; cursor: pointer;
}
.btn-primary {
  background: var(--trust);
  color: #ffffff;
  border-color: var(--trust);
}
.btn-primary:hover {
  background: var(--trust-dark);
  color: #ffffff;
}
a.btn-primary,
button.btn-primary {
  color: #ffffff !important;
}
.btn-secondary { background: #fff; color: var(--midnight); border-color: var(--midnight); }
.btn-block { width: 100%; }
.btn-lg { min-height: 52px; }
.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1rem 0; }

.update-banner {
  background: #B42318;
  color: #fff;
  padding: .85rem 0;
  font-size: 1.08rem;
  line-height: 1.45;
  font-weight: 600;
}
.update-banner-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: .65rem;
  row-gap: .35rem;
  align-items: start;
}
.update-banner p { margin: 0; }
.update-lead { grid-column: 2; grid-row: 1; }
.update-fineprint {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  text-align: center;
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.4;
  color: #F7D4CF;
}
.update-banner a {
  color: #fff;
  font-weight: 800;
  text-underline-offset: .16em;
}
.update-banner a:hover { color: #FFE8E5; }
.update-kicker {
  grid-column: 1;
  grid-row: 1;
  display: inline-block;
  background: #fff;
  color: #B42318;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .22rem .5rem;
  border-radius: 4px;
  margin-top: .12rem;
}

.site-header { background: #fff; border-bottom: 1px solid var(--card-border); position: sticky; top: 0; z-index: 40; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: .7rem; min-height: 4.8rem; padding: .4rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.edition-label {
  display: none;
  font-size: .92rem;
  font-weight: 700;
  color: var(--midnight);
  line-height: 1.2;
}
.logo-plate { display: inline-flex; background: #fff; padding: 4px; }
.logo-full {
  height: 62px; width: auto; object-fit: contain; background: #fff;
  filter: none !important; mix-blend-mode: normal !important;
}
.logo-header { height: 62px; }
.logo-hero { height: 100px; margin: 0 auto 1rem; }
.logo-footer { height: 92px; }
.logo-thankyou { height: 110px; margin: 0 auto 1rem; }
.nav-simple {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem .8rem;
  align-items: center;
  justify-content: flex-end;
}
.nav-simple a { color: var(--midnight); text-decoration: none; font-weight: 650; min-height: 44px; display: inline-flex; align-items: center; }
.nav-simple a:hover { color: var(--trust); }

.hero { padding: 1.4rem 0 1.6rem; }
.hero-grid { display: grid; gap: 1.3rem; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 38rem; }
.trust-line { font-size: .98rem; color: var(--muted); }
.who-we-are {
  background: var(--sky);
  border-left: 4px solid var(--trust);
  border-radius: 8px;
  padding: 1.1rem 1.2rem;
  margin: 0 0 1.4rem;
}
.who-we-are h2 { margin-bottom: .35rem; }
.who-we-are h2::after { margin-bottom: .6rem; }
.who-we-are ul { margin: 0; padding-left: 1.2rem; }
.who-we-are li { margin: .35rem 0; }

.photo { width: 100%; max-height: 22rem; object-fit: cover; }
.mosaic { display: grid; gap: .55rem; padding: .55rem 0 0; }
.mosaic img { width: 100%; height: 12rem; object-fit: cover; }

.section { padding: 2.1rem 0; }
.section-gray { background: var(--gray); }
.section-sky { background: var(--sky); }
.cards { display: grid; gap: 1rem; }
.card-photo { background: #fff; border: 1px solid var(--card-border); border-radius: 8px; overflow: hidden; }
.card-photo img { width: 100%; height: 11.5rem; object-fit: cover; }
.card-photo div { padding: 1rem 1.05rem 1.15rem; }
.card-photo h3 { font-size: 1.2rem; }
.card-photo h3::after { display: none; }

.form-card { background: var(--gray); border: 1px solid var(--card-border); border-radius: 8px; border-top: 3px solid var(--trust); padding: 1.2rem; }
.form-heading { font-size: 1.35rem; }
.form { display: grid; gap: .85rem; }
.form-row { display: grid; gap: .85rem; }
label { display: block; font-weight: 700; color: var(--charcoal); margin-bottom: .25rem; }
.req { color: var(--error); }
input, select, textarea {
  width: 100%; min-height: 48px; border: 2px solid #8A96A3; border-radius: 8px;
  padding: .55rem .75rem; font: inherit; background: #fff; color: var(--charcoal);
}
textarea { min-height: 5.5rem; }
input:focus, select:focus, textarea:focus { border-color: var(--trust); outline: none; box-shadow: 0 0 0 3px rgba(23,105,170,.22); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--error); background: var(--error-bg); }
.field-error { color: var(--error); font-weight: 600; display: none; }
.field.is-invalid .field-error { display: block; }
.form-status[hidden] { display: none !important; }
.consent { font-size: 1rem; color: var(--charcoal); background: #fff; border: 1px solid var(--card-border); border-radius: 8px; padding: .85rem 1rem; margin: .2rem 0 .85rem; }
.consent p { margin: 0 0 .75rem; }
.consent p:last-child { margin-bottom: 0; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.footer-people { margin: 0; }
.footer-people img {
  width: 100%;
  height: 13rem;
  object-fit: cover;
  object-position: center 35%;
}
.footer-address {
  font-style: normal;
  font-size: 1.02rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}
.footer-address strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: .7rem;
}
.footer-address strong::after {
  content: "";
  display: block;
  width: 1.6rem;
  height: 2px;
  background: var(--gold);
  margin: .4rem 0 0;
}
.footer-address a { color: var(--sky); text-decoration: none; }
.footer-address a:hover { text-decoration: underline; }
.site-footer { background: var(--midnight); color: #fff; padding: 1.8rem 0 6.2rem; }
.site-footer a { color: var(--sky); }
.footer-disclosure { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(184,137,50,.45); color: #fff; }
.disclosure-note {
  background: var(--gray);
  border-left: 3px solid var(--midnight);
  border-radius: 8px;
  padding: .9rem 1rem;
  color: var(--charcoal);
  max-width: 46rem;
}
.licensing {
  margin-top: 2.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--card-border);
  max-width: 46rem;
}
.licensing h2 {
  font-size: 1.05rem;
  color: var(--muted);
  font-family: var(--font-sans);
}
.licensing h2::after { display: none; }
.licensing p { font-size: .98rem; color: var(--muted); }
.who-we-are { display: none; }
.compliance { font-size: 1rem; color: var(--muted); border-top: 1px solid var(--card-border); margin-top: 1.5rem; padding-top: .9rem; }
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: #fff; border-top: 1px solid var(--card-border);
  padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom));
}
.sticky-cta .btn { width: 100%; }
.empty-state { text-align: center; padding: 3.5rem 0; }
.wrap-narrow { width: min(100% - 1.4rem, 46rem); margin-inline: auto; }
.contact-address { font-style: normal; line-height: 1.65; }
.flash { background: var(--error-bg); color: var(--error); padding: .8rem 1rem; border-radius: 8px; }

/* Restore page colors after the too-broad button fix.
   Body text stays charcoal. Links stay Trust Blue.
   White type applies only to primary buttons (Get a Free Quote). */
body { color: var(--charcoal); }
a { color: var(--trust); }
a.btn-primary,
button.btn-primary {
  color: #ffffff !important;
}

@media (min-width: 720px) {
  .form-row.two { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .mosaic { grid-template-columns: 1.2fr 1fr; }
  .mosaic img { height: 16rem; }
  .logo-header { height: 76px; }
  .logo-hero { height: 128px; }
  .edition-label { display: block; }
  .footer-people img { height: 18rem; }
}
@media (min-width: 980px) {
  body { padding-bottom: 0; }
  .sticky-cta { display: none; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; align-items: start; gap: 2rem; }
  .photo { max-height: 28rem; }
}
