/* ==========================================================================
   Govian Energy — govianenergy.com
   Implements DESIGN_FOUNDATION.md tokens. Brand is locked: do not change
   hex values, gradients or font families without updating that document.
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* Brand */
  --govian-gold: #D4AF37;
  --govian-gold-light: #F2C15A;
  --govian-blue: #007BFF;
  --govian-blue-bright: #3CCBFF;
  --govian-blue-strong: #0069DB;
  --govian-midnight: #0B1F3A;
  --govian-charcoal: #111827;
  --govian-white: #FFFFFF;

  /* Neutrals */
  --gray-bg: #F5F7FA;
  --gray-border: #D9E0E8;
  --gray-text: #667085;

  /* Status */
  --status-success: #16A34A;
  --status-error: #DC2626;

  /* Gradients */
  --grad-gold: linear-gradient(45deg, #B8860B 0%, #D4AF37 35%, #F2C15A 70%, #FFD978 100%);
  --grad-blue: linear-gradient(45deg, #1640D8 0%, #007BFF 45%, #3CCBFF 100%);
  --grad-midnight: linear-gradient(135deg, #061426 0%, #0B1F3A 55%, #102A4D 100%);

  /* Type */
  --font-brand: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-pill: 999px;

  /* Elevation */
  --shadow: 0 1px 2px rgba(11,31,58,.06), 0 4px 12px rgba(11,31,58,.08);
  --shadow-lift: 0 2px 4px rgba(11,31,58,.08), 0 14px 32px rgba(11,31,58,.14);

  --maxw: 1160px;
}

/* ---------- 2. Reset / base --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--govian-charcoal);
  background: var(--govian-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-brand);
  color: var(--govian-midnight);
  line-height: 1.18;
  margin: 0 0 .5em;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 600; }
h4 { font-size: 1.03rem; font-weight: 600; }

p { margin: 0 0 1.1em; max-width: 72ch; }

a { color: var(--govian-blue-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--govian-blue); }

ul { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }

:focus-visible {
  outline: 3px solid rgba(0,123,255,.45);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--govian-midnight); color: #fff;
  padding: 12px 18px; z-index: 200; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }

/* ---------- 3. Header / nav --------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid var(--gray-border);
}
.site-header::after {
  content: ""; display: block; height: 3px;
  background: var(--grad-blue);
}
.header-inner {
  display: flex; align-items: center; gap: 18px;
  min-height: 76px; flex-wrap: nowrap;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.brand img { height: 40px; width: auto; }
.brand-text {
  font-family: var(--font-brand);
  font-weight: 700; font-size: 1.16rem;
  letter-spacing: .055em; color: var(--govian-midnight);
  text-transform: uppercase; white-space: nowrap;
}
.brand-text span { color: var(--govian-blue-strong); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-brand); font-weight: 500; font-size: .9rem;
  color: var(--govian-charcoal); text-decoration: none; white-space: nowrap;
  padding: 10px 9px; border-radius: var(--r-sm); position: relative;
}
.nav a:hover { color: var(--govian-blue-strong); background: #EAF3FF; }
.nav a[aria-current="page"] { color: var(--govian-blue-strong); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 9px; right: 9px; bottom: 2px;
  height: 3px; border-radius: 2px; background: var(--grad-gold);
}
.nav .btn { margin-left: 8px; padding: 12px 18px; font-size: .9rem; white-space: nowrap; }

.nav-toggle {
  display: none; margin-left: auto;
  background: var(--govian-midnight); color: #fff; border: 0;
  width: 46px; height: 40px; border-radius: var(--r-sm);
  font-size: 1.2rem; cursor: pointer;
}

/* ---------- 4. Buttons --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-brand); font-weight: 600; font-size: .96rem;
  padding: 14px 26px; border-radius: var(--r-pill);
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: linear-gradient(90deg, #0069DB 0%, #007BFF 55%, #2FA9FF 100%);
  color: #fff; box-shadow: 0 6px 18px rgba(0,105,219,.32);
}
.btn--primary:hover { background: linear-gradient(90deg,#007BFF 0%, #3CCBFF 100%); color: #fff; box-shadow: 0 10px 26px rgba(0,123,255,.4); }

.btn--gold {
  background: var(--grad-gold); color: var(--govian-midnight);
  box-shadow: 0 6px 18px rgba(184,134,11,.3);
}
.btn--gold:hover { color: var(--govian-midnight); filter: brightness(1.06); }

.btn--outline { border-color: var(--govian-blue); color: var(--govian-blue-strong); background: transparent; }
.btn--outline:hover { background: #EAF3FF; color: var(--govian-blue-strong); }

.btn--light { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn--light:hover { background: rgba(255,255,255,.12); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 0; }
.btn-row--center { justify-content: center; }

/* ---------- 5. Sections -------------------------------------------------- */
.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--gray { background: var(--gray-bg); }
.section--dark { background: var(--grad-midnight); color: rgba(255,255,255,.84); position: relative; overflow: hidden; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: rgba(255,255,255,.82); }
.section--dark a { color: var(--govian-blue-bright); }
.section--dark::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(680px 320px at 82% 0%, rgba(60,203,255,.16), transparent 70%);
  pointer-events: none;
}
.section--dark > .container { position: relative; z-index: 1; }

.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--gray-text); font-size: 1.06rem; }
.section--dark .section-head p { color: rgba(255,255,255,.78); }

.eyebrow {
  font-family: var(--font-brand); font-weight: 600; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--govian-blue-strong); margin: 0 0 12px; display: block;
}
.section--dark .eyebrow { color: var(--govian-gold-light); }

.rule { height: 3px; width: 64px; border-radius: 2px; background: var(--grad-gold); margin: 0 0 22px; }
.section-head--center .rule { margin-left: auto; margin-right: auto; }

/* ---------- 6. Hero ------------------------------------------------------ */
.hero {
  background: var(--grad-midnight);
  color: #fff; position: relative; overflow: hidden;
  padding: 96px 0 104px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(720px 380px at 78% 12%, rgba(60,203,255,.28), transparent 68%),
    radial-gradient(520px 300px at 8% 92%, rgba(212,175,55,.18), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 78%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 78%);
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero .lede { font-size: 1.16rem; color: rgba(255,255,255,.86); max-width: 60ch; }
.hero .eyebrow { color: var(--govian-gold-light); }
.hero--page { padding: 74px 0 78px; }
.hero--page h1 { max-width: 22ch; }

.tagline {
  font-family: var(--font-brand); font-weight: 500;
  text-transform: uppercase; letter-spacing: .18em; font-size: .8rem;
  color: var(--govian-gold-light); margin-top: 34px;
}

.hero-figure {
  margin-top: 46px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-lg);
  background: linear-gradient(120deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  padding: 22px 26px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.hero-figure div { display: flex; flex-direction: column; gap: 4px; }
.hero-figure strong {
  font-family: var(--font-brand); font-weight: 600; color: #fff; font-size: 1rem;
}
.hero-figure span { color: rgba(255,255,255,.7); font-size: .9rem; line-height: 1.45; }

/* ---------- 7. Cards ----------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

.card {
  background: #fff; border: 1px solid var(--gray-border);
  border-radius: var(--r-lg); padding: 28px 26px 26px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.card > :last-child { margin-bottom: 0; }
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-blue);
}
.card--gold::before { background: var(--grad-gold); }
.card p { color: var(--gray-text); font-size: .97rem; margin-bottom: 0; }
.card h3 { margin-bottom: 10px; }

.section--dark .card {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.14);
  box-shadow: none;
}
.section--dark .card p { color: rgba(255,255,255,.78); }

.icon-tile {
  width: 46px; height: 46px; border-radius: var(--r-md);
  background: var(--grad-blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.icon-tile--gold { background: var(--grad-gold); color: var(--govian-midnight); }
.icon-tile svg { width: 24px; height: 24px; }

/* Feature list (no card chrome) */
.features { display: grid; gap: 30px; grid-template-columns: repeat(3, minmax(0,1fr)); }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--gray-text); font-size: .97rem; margin-bottom: 0; }
.section--dark .feature p { color: rgba(255,255,255,.78); }
.feature .bar { width: 40px; height: 3px; border-radius: 2px; background: var(--grad-blue); margin-bottom: 16px; }
.section--dark .feature .bar { background: var(--grad-gold); }

/* ---------- 8. Partnership models --------------------------------------- */
.models { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0,1fr)); align-items: start; }
.model {
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-lg);
  background: rgba(255,255,255,.05); padding: 30px 28px;
  display: flex; flex-direction: column; height: 100%;
}
.model--featured {
  border-color: rgba(212,175,55,.55);
  background: linear-gradient(180deg, rgba(212,175,55,.14), rgba(255,255,255,.04));
}
.model .kicker {
  font-family: var(--font-brand); font-weight: 600; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--govian-blue-bright); margin-bottom: 10px; display: block;
}
.model--featured .kicker { color: var(--govian-gold-light); }
.model h3 { font-size: 1.32rem; }
.model .sub { color: rgba(255,255,255,.82); font-size: 1rem; margin-bottom: 18px; }
.model h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.62); margin: 18px 0 8px; font-weight: 600; }
.model ul { list-style: none; padding: 0; margin: 0 0 18px; }
.model ul li {
  position: relative; padding-left: 24px; color: rgba(255,255,255,.84);
  font-size: .95rem; margin-bottom: 8px;
}
.model ul li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 9px; height: 9px; border-radius: 50%; background: var(--govian-blue-bright);
}
.model--featured ul li::before { background: var(--govian-gold); }
.model .btn { margin-top: auto; align-self: flex-start; }

.disclaimer {
  margin-top: 32px; padding: 20px 24px;
  border-left: 4px solid var(--govian-gold);
  background: rgba(255,255,255,.05);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: .93rem; color: rgba(255,255,255,.78);
}
.disclaimer p { margin: 0; max-width: 92ch; font-size: .93rem; }
.disclaimer--light {
  background: var(--gray-bg); color: var(--gray-text);
  border-left-color: var(--govian-gold);
}
.disclaimer--light p { color: var(--gray-text); }

/* ---------- 9. Steps ----------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 20px; }
.steps--2col { grid-template-columns: repeat(2, minmax(0,1fr)); }
.step {
  counter-increment: step;
  display: grid; grid-template-columns: 56px 1fr; gap: 20px;
  padding: 24px 26px; border: 1px solid var(--gray-border);
  border-radius: var(--r-lg); background: #fff;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-brand); font-weight: 700; font-size: 1.05rem;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad-blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--gray-text); font-size: .97rem; margin-bottom: 0; }
.step ul { margin-top: 8px; color: var(--gray-text); font-size: .95rem; }
.section--dark .step { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }
.section--dark .step p, .section--dark .step ul { color: rgba(255,255,255,.78); }
.section--dark .step::before { background: var(--grad-gold); color: var(--govian-midnight); }

/* ---------- 10. Split rows ---------------------------------------------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split--reverse .split__media { order: -1; }
.panel {
  border-radius: var(--r-lg); padding: 30px;
  background: linear-gradient(140deg, rgba(0,123,255,.07), rgba(60,203,255,.05));
  border: 1px solid var(--gray-border);
}
.panel--dark {
  background: linear-gradient(140deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border-color: rgba(255,255,255,.14);
}
.panel ul { list-style: none; padding: 0; margin: 0; }
.panel li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: .98rem; }
.panel li:last-child { margin-bottom: 0; }
.panel li svg { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 3px; color: var(--govian-blue); }
.panel--dark li svg { color: var(--govian-gold-light); }

/* Tag list */
.tags { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0 0 4px; list-style: none; }
.tags li {
  font-family: var(--font-brand); font-size: .85rem; font-weight: 500;
  padding: 7px 14px; border-radius: var(--r-pill);
  background: #EAF3FF; color: var(--govian-blue-strong);
  border: 1px solid rgba(0,123,255,.22); margin: 0;
}
.section--dark .tags li {
  background: rgba(60,203,255,.12); color: #BFE9FF; border-color: rgba(60,203,255,.3);
}

/* ---------- 11. Statement / CTA ------------------------------------------ */
.statement {
  font-family: var(--font-brand); font-weight: 600;
  font-size: clamp(1.45rem, 2.8vw, 2.1rem); line-height: 1.3;
  color: #fff; max-width: 24ch; margin: 0;
}
.statement em { font-style: normal; color: var(--govian-gold-light); }

.cta-band { background: var(--grad-midnight); position: relative; overflow: hidden; padding: 84px 0; text-align: center; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(620px 300px at 50% 0%, rgba(60,203,255,.24), transparent 70%);
}
.cta-band > .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); margin-left: auto; margin-right: auto; }

/* ---------- 12. Forms ---------------------------------------------------- */
.form-card {
  background: #fff; border: 1px solid var(--gray-border);
  border-radius: var(--r-lg); padding: 34px; box-shadow: var(--shadow);
}
.field { margin-bottom: 20px; }
.field label {
  display: block; font-family: var(--font-brand); font-weight: 600;
  font-size: .9rem; color: var(--govian-midnight); margin-bottom: 7px;
}
.field .req { color: var(--status-error); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font-family: var(--font-body); font-size: 1rem;
  color: var(--govian-charcoal); background: #fff;
  border: 1px solid var(--gray-border); border-radius: var(--r-sm);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--govian-blue); outline: 3px solid rgba(0,123,255,.28); outline-offset: 0;
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.form-note { font-size: .88rem; color: var(--gray-text); margin-top: 16px; }

.contact-aside { border-radius: var(--r-lg); padding: 30px; background: var(--grad-midnight); color: rgba(255,255,255,.84); }
.contact-aside h3 { color: #fff; }
.contact-aside a { color: var(--govian-blue-bright); }
.contact-aside .rule { background: var(--grad-gold); }

/* ---------- 13. FAQ ------------------------------------------------------ */
.faq { border-top: 1px solid var(--gray-border); }
.faq details { border-bottom: 1px solid var(--gray-border); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 44px 22px 0;
  font-family: var(--font-brand); font-weight: 600; font-size: 1.06rem;
  color: var(--govian-midnight); position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--govian-blue-strong); line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details[open] summary { color: var(--govian-blue-strong); }
.faq .answer { padding: 0 44px 24px 0; }
.faq .answer p { color: var(--gray-text); margin-bottom: 0; }

/* ---------- 14. Prose (legal pages) -------------------------------------- */
.prose { max-width: 76ch; }
.prose h2 { font-size: 1.42rem; margin-top: 2.2em; padding-top: 1.1em; border-top: 1px solid var(--gray-border); }
.prose h2:first-of-type { margin-top: 1em; }
.prose h3 { font-size: 1.06rem; margin-top: 1.7em; }
.prose p, .prose li { color: var(--govian-charcoal); font-size: 1rem; }
.prose ul { padding-left: 1.2em; }
.prose .meta { color: var(--gray-text); font-size: .93rem; }

/* ---------- 15. Footer --------------------------------------------------- */
.site-footer { background: var(--govian-midnight); color: rgba(255,255,255,.72); padding: 66px 0 30px; }
.site-footer::before { content: ""; display: block; height: 3px; background: var(--grad-gold); margin-bottom: 66px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 {
  color: #fff; font-size: .8rem; text-transform: uppercase;
  letter-spacing: .13em; margin-bottom: 16px; font-weight: 600;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,.74); text-decoration: none; font-size: .95rem; }
.site-footer a:hover { color: var(--govian-blue-bright); text-decoration: underline; }
.site-footer .brand-text { color: #fff; }
.site-footer p { font-size: .95rem; color: rgba(255,255,255,.72); }
.footer-tagline {
  font-family: var(--font-brand); font-weight: 500; font-size: .76rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--govian-gold-light);
}
.footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: .88rem; color: rgba(255,255,255,.6);
}

/* ---------- 16. Responsive ----------------------------------------------- */
@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .features { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--gray-border);
    padding: 12px 24px 22px; box-shadow: var(--shadow-lift);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid var(--gray-border); border-radius: 0; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin: 16px 0 0; }
  .site-header { position: relative; }
  .header-inner { position: relative; }
  .grid--3, .models, .steps--2col { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split__media { order: 0; }
  .hero-figure { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .hero { padding: 66px 0 72px; }
  .grid--2, .grid--4, .features, .field-row { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .step { grid-template-columns: 1fr; gap: 12px; }
  .form-card { padding: 24px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .btn:hover { transform: none; }
}

@media print {
  .site-header, .site-footer, .cta-band, .btn { display: none; }
  body { color: #000; }
}

/* ---------- 17. Late additions / overrides -------------------------------- */
.card ul { color: var(--gray-text); font-size: .95rem; padding-left: 1.15em; margin-bottom: 0; }
.card ul li { margin-bottom: .35em; }
.section--dark .card ul { color: rgba(255,255,255,.78); }
.step ul li { margin-bottom: .3em; }
.panel li strong { color: var(--govian-midnight); font-family: var(--font-brand); font-weight: 600; }
.panel--dark li strong { color: #fff; }
.tags li { display: inline-flex; align-items: center; }
.split__media p:last-child { margin-bottom: 0; }

/* Button colors must beat the generic `.section--dark a` link color */
.section--dark a.btn--primary,
.section--dark a.btn--light,
.cta-band a.btn--primary,
.cta-band a.btn--light { color: #fff; }
.section--dark a.btn--gold,
.cta-band a.btn--gold { color: var(--govian-midnight); }
.section--dark a.btn--outline { color: var(--govian-blue-bright); border-color: var(--govian-blue-bright); }

/* Text wordmark is a fallback only — shown by the header script if logo.svg fails */
.brand-text--fallback { display: none; }
@media (max-width: 480px) { .brand img { height: 34px; } }

/* Logo is inlined in the markup — no network request, cannot 404 */
.brand-logo { height: 40px; width: auto; display: block; }
@media (max-width: 480px) { .brand-logo { height: 34px; } }

/* Contact form status messages */
.form-status { border-radius: var(--r-lg); padding: 26px 28px; margin-bottom: 24px; }
.form-status h3 { margin-bottom: 8px; }
.form-status p { margin: 0; }
.form-status--ok { background: #ECFDF3; border: 1px solid #A6E9C1; border-left: 4px solid var(--status-success); }
.form-status--err { background: #FEF3F2; border: 1px solid #FDA29B; border-left: 4px solid var(--status-error); }
