/* Gallagher OS — public site. Palette from brand concept A. */
:root {
  --navy: #0A1D2A;
  --teal: #03706A;
  --ink: #0A1D2A;
  --muted: #3A4A55;
  --white: #FFFFFF;
  --page: #F4F7F8;
  --line: #D5DCE1;
  --card: #FFFFFF;
  --soft: #E8F1F0;
  --focus: #03706A;
  --max: 70rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 1.0625rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-wrap: break-word;
}

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  color: var(--navy);
  font-weight: 750;
}
h1 { font-size: clamp(1.7rem, 7vw, 2.85rem); margin: 0 0 0.6em; }
h2 { font-size: clamp(1.4rem, 4vw, 2rem); margin: 0 0 0.55em; }
h3 { font-size: 1.12rem; margin: 0 0 0.35em; }
p { max-width: 42rem; }
p, ul { margin: 0 0 1rem; }
ul { padding-left: 1.15rem; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4.5rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 30;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
}
.skip:focus { top: 0.75rem; }

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
  min-width: 0;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.7rem 0;
}
.brand {
  order: 1;
  text-decoration: none;
  color: var(--navy);
  min-width: 0;
  display: block;
}
.brand img {
  height: 32px;
  width: auto;
  max-width: 150px;
}
@media (min-width: 360px) {
  .brand img {
    height: 36px;
    max-width: 200px;
  }
}
@media (max-width: 359px) {
  .header-cta { padding-left: 0.85rem; padding-right: 0.85rem; }
}
.header-cta { order: 2; }
.site-nav {
  order: 3;
  flex: 1 1 100%;
  min-width: 0;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 0.9rem;
}
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
}
.site-nav a:hover { text-decoration: underline; }

@media (min-width: 860px) {
  .site-nav { order: 2; flex: 1 1 auto; }
  .header-cta { order: 3; }
  .site-nav ul { justify-content: flex-end; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  border: 2px solid var(--navy);
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}
.btn:hover { background: #163445; border-color: #163445; color: var(--white); }
.btn-teal {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}
.btn-teal:hover { background: #025a55; border-color: #025a55; color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover { background: var(--soft); color: var(--navy); }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.2rem 0 0;
}

/* Hero */
.hero {
  padding: 2.2rem 0 2.4rem;
}
.hero .wrap {
  display: grid;
  gap: 1.8rem;
}
@media (min-width: 840px) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    padding: 1.2rem 0 0.4rem;
  }
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--teal);
  margin: 0 0 0.7rem;
}
.lede {
  color: var(--muted);
  font-size: 1.06rem;
  margin-bottom: 0;
}
.hero-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.15rem 1.2rem 1.25rem;
  min-width: 0;
}
.hero-panel h2 {
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
}
.hero-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.hero-steps li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  color: var(--muted);
  font-size: 0.97rem;
}
.hero-steps strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
}
.step-num {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--soft);
  color: var(--navy);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

/* Sections */
.section { padding: 2.4rem 0; }
.section-intro { color: var(--muted); }
.band {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-band { background: var(--navy); color: var(--white); }
.cta-band h2, .cta-band p { color: var(--white); }
.cta-band p { color: #E8EEF2; }
.cta-band a.mail-plain { color: #8ED4CF; }
.cta-band .btn-teal:hover { background: #049089; border-color: #049089; }

/* Plans */
.plans {
  display: grid;
  gap: 1rem;
  margin-top: 1.3rem;
}
@media (min-width: 800px) {
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
  .plan { height: 100%; }
}
.plan {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.2rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.plan-featured {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal);
}
.plan-label {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.55rem;
  width: fit-content;
}
.plan h3 { font-size: 1.25rem; margin-bottom: 0.15rem; }
.plan .tagline {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}
.price {
  margin: 0 0 0.15rem;
  font-size: clamp(1.45rem, 4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
  line-height: 1.15;
}
.price span {
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0;
  color: var(--muted);
}
.year-total {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 1rem;
}
.plan ul {
  margin: 0 0 0.4rem;
  color: var(--muted);
  font-size: 0.97rem;
  flex: 1;
}
.plan li { margin: 0 0 0.4rem; }
.note {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 1.1rem 0 0;
}

/* Included + extras */
.split {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}
@media (min-width: 700px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.15rem 1.15rem 1.2rem;
  min-width: 0;
}
.card ul { color: var(--muted); margin-bottom: 0; }
.card li { margin: 0 0 0.4rem; }

/* How it works */
.steps {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
  list-style: none;
  padding: 0;
}
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.15rem;
  min-width: 0;
}
.steps p { color: var(--muted); margin: 0; }

/* Enquiry Catch */
.catch-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}
@media (min-width: 760px) {
  .catch-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
}
.catch-grid h3 { margin-top: 0.4rem; }
.limits {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.15rem;
}
.limits p, .limits ul { color: var(--muted); }
.limits ul { margin-bottom: 0; }

/* FAQ */
.faq { display: grid; gap: 0.65rem; margin-top: 1.1rem; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0;
  min-width: 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  padding: 0.9rem 1.1rem;
  min-height: 44px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--teal);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
  flex: none;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  margin: 0;
  padding: 0 1.1rem 1rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.site-footer p { margin: 0 0 0.6rem; max-width: 48rem; }
.site-footer .legal { margin-top: 1rem; font-size: 0.88rem; }

/* Privacy page */
.prose { padding: 2.2rem 0 3rem; }
.prose h1 { margin-bottom: 0.4em; }
.prose h2 { margin-top: 1.6em; }
.prose .lede { margin-bottom: 1.2rem; }
