/* ============================================================
   Seminole Water Co, Inc. — site styles
   Concept: "The report is the pitch." Clean, trustworthy, data-led.
   ============================================================ */

:root {
  /* Brand palette */
  --teal: #0E6655;          /* brand primary */
  --teal-deep: #08332B;     /* dark sections / ink */
  --teal-700: #0b5446;
  --aqua: #16B8A0;          /* bright accent, used sparingly */
  --aqua-soft: #d7f0ea;
  --mint: #E7F4F0;          /* soft surface */
  --mint-2: #f1f8f6;
  --paper: #FBFDFC;         /* page background */
  --white: #ffffff;
  --amber: #C98A12;         /* "above guideline" data only */
  --amber-soft: #fbf1da;

  /* Text */
  --ink: #122a25;
  --slate: #3f524d;
  --slate-light: #647571;
  --line: #dde8e4;

  /* Type */
  --display: "Schibsted Grotesk", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Layout */
  --maxw: 1140px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(8,51,43,.06), 0 2px 8px rgba(8,51,43,.05);
  --shadow-md: 0 8px 30px rgba(8,51,43,.10);
  --shadow-lg: 0 24px 60px rgba(8,51,43,.16);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-700); }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }

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

.eyebrow {
  font-family: var(--mono);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--aqua);
  display: inline-block;
}

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--slate); max-width: 60ch; }
.center { text-align: center; }
.center .lead, .center .eyebrow { margin-inline: auto; }
.section-head { max-width: 62ch; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin: 14px 0 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--display);
  font-weight: 600; font-size: 1rem;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .2s;
  text-align: center;
}
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(14,102,85,.28); }
.btn-primary:hover { background: var(--teal-700); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(14,102,85,.34); }
.btn-ghost { background: transparent; color: var(--teal); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-700); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--teal-deep); }
.btn-light:hover { background: var(--mint); color: var(--teal-deep); transform: translateY(-2px); }
.btn-arrow svg { transition: transform .25s var(--ease); }
.btn-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,253,252,.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 1.12rem; letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.brand .mark { width: 34px; height: 34px; flex: none; }
.brand small { display:block; font-family: var(--mono); font-weight: 500; font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-light); margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-size: .98rem; font-weight: 500; color: var(--slate); position: relative; }
.nav-links a:hover { color: var(--teal); }
.nav-links a.active { color: var(--teal); }
.nav-links a.active::after {
  content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px; background: var(--aqua); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: none; } /* phone lives in footer + contact page, not the header */
.nav-toggle { display:none; background:none; border:none; cursor:pointer; padding:8px; color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 7vw, 92px) 0 clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.hero::before {
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(60% 70% at 88% 8%, rgba(22,184,160,.10), transparent 60%),
    radial-gradient(50% 60% at 0% 90%, rgba(14,102,85,.07), transparent 55%);
  z-index:-1;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin: 18px 0 20px; }
.hero h1 .accent { color: var(--teal); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; font-size: .92rem; color: var(--slate); }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { color: var(--teal); flex: none; }

/* ---------- Report Card (signature element) ---------- */
.report {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}
.report-head {
  background: var(--teal-deep);
  color: #fff;
  padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.report-head .r-title { font-family: var(--display); font-weight: 600; font-size: 1.02rem; letter-spacing:-0.01em; }
.report-head .r-meta { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; color: var(--aqua); text-transform: uppercase; }
.report-seal {
  font-family: var(--mono); font-size: .62rem; letter-spacing:.1em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.28); color:#cdeee7; border-radius: 999px; padding: 5px 10px; white-space: nowrap;
}
.report-rows { padding: 6px 22px 10px; }
.r-row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); }
.r-row:last-child { border-bottom: 0; }
.r-param { font-weight: 500; color: var(--ink); }
.r-param small { display:block; color: var(--slate-light); font-weight: 400; font-size: .78rem; }
.r-val { font-family: var(--mono); font-size: 1.02rem; font-weight: 600; color: var(--teal-deep); text-align: right; min-width: 78px; }
.pill { font-family: var(--mono); font-size: .66rem; letter-spacing:.05em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; white-space: nowrap; font-weight: 500; }
.pill-warn { background: var(--amber-soft); color: #8a5d06; }
.pill-ok { background: var(--aqua-soft); color: var(--teal); }
.report-foot { background: var(--mint-2); padding: 14px 22px; font-size: .82rem; color: var(--slate); display:flex; align-items:center; gap:9px; border-top: 1px solid var(--line); }
.report-foot svg { color: var(--teal); flex:none; }
.report-float { position:absolute; bottom:-14px; right:-14px; }

/* ---------- Logo strip / stat band ---------- */
.band { background: var(--teal-deep); color: #eafaf6; }
.band .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-block: 44px; }
.stat .num { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.5rem); color: #fff; letter-spacing: -0.02em; }
.stat .num span { color: var(--aqua); }
.stat .label { font-size: .9rem; color: #9fc7bd; margin-top: 4px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--aqua-soft); }
.card .ic {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: var(--mint); color: var(--teal); margin-bottom: 18px;
}
.card h3 { margin-bottom: 9px; }
.card p { color: var(--slate); font-size: .98rem; }
.card .tag { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate-light); }
.card-link { display:inline-flex; align-items:center; gap:6px; margin-top: 16px; font-weight: 600; font-family: var(--display); font-size: .95rem; }
.card-link svg { transition: transform .25s var(--ease); }
.card-link:hover svg { transform: translateX(3px); }

/* ---------- Steps (real sequence) ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; }
.steps.grid-4 { grid-template-columns: repeat(4, 1fr); }
.step {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
}
.step .n {
  counter-increment: step;
  font-family: var(--mono); font-weight: 600; font-size: .8rem; color: var(--teal);
  display: inline-flex; align-items:center; gap: 8px; margin-bottom: 14px;
}
.step .n::before { content: "0" counter(step); font-size: 1.5rem; color: var(--aqua); letter-spacing: -0.02em; }
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--slate); font-size: .94rem; }

/* ---------- Split / feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }
.feature-list { list-style: none; display: grid; gap: 16px; margin-top: 24px; }
.feature-list li { display: grid; grid-template-columns: 26px 1fr; gap: 13px; align-items: start; }
.feature-list .ck { width: 24px; height: 24px; border-radius: 7px; background: var(--mint); color: var(--teal); display: grid; place-items: center; margin-top: 2px; }
.feature-list strong { display:block; color: var(--ink); }
.feature-list span { color: var(--slate); font-size: .96rem; }

/* compare panel */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare .col { border-radius: var(--radius); padding: 28px; }
.compare .bad { background: var(--mint-2); border: 1px dashed var(--line); }
.compare .good { background: var(--teal-deep); color: #eafaf6; }
.compare h4 { font-family: var(--display); font-size: 1.05rem; margin-bottom: 16px; }
.compare .good h4 { color: #fff; }
.compare ul { list-style: none; display: grid; gap: 12px; }
.compare li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .96rem; }
.compare .bad li { color: var(--slate); }
.compare .good li { color: #d4ece6; }
.compare .x { color: var(--amber); font-weight: 700; }
.compare .v { color: var(--aqua); font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%); color: #fff; border-radius: 24px; padding: clamp(40px, 6vw, 72px); position: relative; overflow: hidden; }
.cta-band::after { content:""; position:absolute; right:-60px; top:-60px; width:280px; height:280px; border-radius:50%; background: radial-gradient(circle, rgba(22,184,160,.35), transparent 70%); }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: #cfe9e2; max-width: 52ch; margin: 14px 0 28px; position: relative; }
.cta-band .hero-actions { position: relative; margin-bottom: 0; }

/* ---------- Forms ---------- */
.form-wrap { background:#fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display:block; font-weight: 600; font-size: .92rem; margin-bottom: 7px; color: var(--ink); }
.field label .req { color: var(--amber); }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--body); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--mint-2);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(22,184,160,.14);
}
.field-hint { font-size: .82rem; color: var(--slate-light); margin-top: 6px; }
.form-note { font-size: .85rem; color: var(--slate); margin-top: 14px; text-align: center; }
.form-status { display:none; padding: 14px 16px; border-radius: var(--radius-sm); font-size: .95rem; margin-bottom: 18px; }
.form-status.show { display: block; }
.form-status.ok { background: var(--aqua-soft); color: var(--teal); }
.form-status.err { background: var(--amber-soft); color: #8a5d06; }

/* ---------- Contact info cards ---------- */
.info-row { display:flex; align-items:flex-start; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child { border-bottom: 0; }
.info-row .ic { width: 44px; height: 44px; flex:none; border-radius: 11px; background: var(--mint); color: var(--teal); display:grid; place-items:center; }
.info-row .k { font-family: var(--mono); font-size: .72rem; letter-spacing:.1em; text-transform: uppercase; color: var(--slate-light); }
.info-row .v { font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.info-row a.v { color: var(--teal); }

/* ---------- Misc ---------- */
.tag-row { display:flex; flex-wrap:wrap; gap: 10px; margin-top: 22px; }
.chip { font-family: var(--mono); font-size: .76rem; letter-spacing:.04em; padding: 7px 13px; border-radius: 999px; background: var(--mint); color: var(--teal); border:1px solid var(--aqua-soft); }
.note-box { background: var(--amber-soft); border-left: 3px solid var(--amber); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 18px 20px; color: #6b4905; font-size: .96rem; }
.note-box strong { color: #5a3d04; }
.subhead { font-family: var(--mono); font-size:.74rem; letter-spacing:.14em; text-transform:uppercase; color: var(--slate-light); margin-bottom: 18px; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--teal-deep); color: #fff; padding: clamp(56px, 8vw, 96px) 0 clamp(48px,7vw,80px); position: relative; overflow:hidden; }
.page-hero::before { content:""; position:absolute; inset:0; background: radial-gradient(50% 80% at 92% 0%, rgba(22,184,160,.18), transparent 60%); }
.page-hero .eyebrow { color: var(--aqua); }
.page-hero .eyebrow::before { background: var(--aqua); }
.page-hero h1 { color: #fff; margin: 16px 0 18px; max-width: 18ch; position: relative; }
.page-hero p { color: #cfe9e2; max-width: 58ch; font-size: clamp(1.05rem,1.6vw,1.2rem); position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-deep); color: #b9d4cc; padding: 64px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: #84b0a5; }
.footer-about { margin-top: 18px; font-size: .95rem; color: #a7cabf; max-width: 38ch; }
.footer-col h4 { color: #fff; font-size: .95rem; font-family: var(--display); margin-bottom: 16px; }
.footer-col ul { list-style:none; display:grid; gap: 11px; margin: 0; padding: 0; }
.footer-col a { color: #b9d4cc; font-size: .95rem; }
.footer-col a:hover { color: var(--aqua); }
.footer-bottom { display:flex; flex-wrap:wrap; justify-content: space-between; gap: 14px; padding-top: 24px; font-size: .85rem; color: #84b0a5; }
.footer-bottom a { color: #84b0a5; }
.footer-bottom a:hover { color: var(--aqua); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid, .split, .split.reverse .split-media { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 2; } /* keep heading/copy above the photo on mobile */
  .hero-visual { max-width: 460px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps.grid-4 { grid-template-columns: repeat(2, 1fr); }
  .band .container { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 760px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 0;
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a { display:block; padding: 14px 24px; }
  .nav-links.open a.active::after { display:none; }
  .compare, .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .grid-3, .steps.grid-4 { grid-template-columns: 1fr; }
  .band .container { grid-template-columns: 1fr 1fr; }
  body { font-size: 16px; }
  .hero-actions .btn, .cta-band .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   Mobile optimization — leaner, lower-scroll, thumb-friendly
   ============================================================ */
.menu-cta { display: none; }
.mobile-bar { display: none; }

@media (max-width: 760px) {
  /* Header: hide the big CTA; logo + menu only */
  .nav-cta .btn-primary { display: none; }
  .menu-cta { display: none; }
  .nav-links.open .menu-cta { display: block; padding: 12px 24px 16px; border-top: 1px solid var(--line); margin-top: 6px; }
  .nav-links.open .menu-cta .btn { width: 100%; justify-content: center; margin-bottom: 8px; }
  .nav-links.open .menu-cta .menu-call { display: block; text-align: center; font-family: var(--mono); font-size: .92rem; color: var(--teal-deep); padding: 6px; }

  /* Sticky bottom action bar */
  .mobile-bar {
    display: grid; grid-template-columns: 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(251,253,252,.94);
    backdrop-filter: saturate(140%) blur(12px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(8,51,43,.08);
  }
  .mobile-bar .btn { width: 100%; justify-content: center; padding: 13px 10px; font-size: .96rem; }
  body { padding-bottom: 74px; }

  /* Tighter vertical rhythm */
  .section { padding: 42px 0; }
  .section-tight { padding: 30px 0; }
  .section-head { margin-bottom: 28px; }
  .hero { padding: 28px 0 34px; }
  .hero h1 { margin: 12px 0 14px; }
  .hero-actions { margin: 20px 0 16px; gap: 10px; }
  .hero-trust { gap: 7px 16px; font-size: .85rem; }
  .band .container { padding-block: 32px; }
  .card { padding: 22px; }
  .step { padding: 20px 18px; }
  .cta-band { padding: 34px 26px; }

  /* Utility: hide desktop-only secondary copy on phones */
  .hide-mobile { display: none !important; }

  /* Comparison -> tap-to-expand accordion */
  .compare { gap: 12px; }
  .compare .col { padding: 0; }
  .compare .col h4 {
    margin: 0; padding: 16px 18px; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
  }
  .compare .col h4::after {
    content: ""; width: 9px; height: 9px; flex: none; margin-right: 4px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); transition: transform .25s var(--ease);
  }
  .compare .col.open h4::after { transform: rotate(-135deg); }
  .compare .col ul { padding: 0 18px 18px; }
  .compare .col:not(.open) ul { display: none; }
}

/* ---------- Photography ---------- */
.hero-photo { position: relative; }
.hero-photo > img { width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow-lg); display: block; }
.hero-badge {
  position: absolute; left: -14px; bottom: -20px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-md); padding: 13px 17px; max-width: 252px;
}
.hero-badge .hb-seal { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); font-weight: 600; }
.hero-badge .hb-seal svg { color: var(--aqua); flex: none; }
.hero-badge .hb-text { font-size: .88rem; color: var(--slate); margin-top: 6px; line-height: 1.42; }

.media-photo { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-md); display: block; }
.photo-band { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-md); display: block; }
@media (max-width: 760px) {
  /* On phones, show photos at their natural shape (no cropping), just smaller */
  .hero-badge { position: static; max-width: none; margin-top: 14px; box-shadow: var(--shadow-sm); }
  .hero-photo > img { aspect-ratio: auto; height: auto; }
  .media-photo { aspect-ratio: auto; height: auto; max-width: 380px; margin-inline: auto; }
  .photo-band { aspect-ratio: auto; height: auto; }
}

/* Generic card section -> tap-to-expand accordion on mobile */
@media (max-width: 760px) {
  .m-collapse { gap: 10px; }
  .m-collapse .card { padding: 0; }
  .m-collapse .card .tag { display: none; }
  .m-collapse .card h3 {
    margin: 0; padding: 15px 18px; cursor: pointer; font-size: 1.05rem;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
  }
  .m-collapse .card h3::after {
    content: ""; width: 9px; height: 9px; flex: none; margin-right: 2px;
    border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
    transform: rotate(45deg); transition: transform .25s var(--ease);
  }
  .m-collapse .card.open h3::after { transform: rotate(-135deg); }
  .m-collapse .card p { padding: 0 18px 16px; }
  .m-collapse .card:not(.open) p { display: none; }

  /* Hide supplementary indicator cards on phones to cut scroll */
  .m-hide-media .split-media { display: none; }
}

/* ---------- Authority (Attorney General) band ---------- */
.authority {
  display: grid; grid-template-columns: 56px 1fr; gap: 22px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal);
  border-radius: var(--radius); padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow-sm);
}
.authority-mark { width: 52px; height: 52px; flex: none; border-radius: 13px; background: var(--mint); color: var(--teal); display: grid; place-items: center; }
.authority-quote { font-family: var(--display); font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); }
.authority-source { font-family: var(--mono); font-size: .76rem; letter-spacing: .04em; color: var(--slate-light); margin-top: 12px; }
.authority-note { color: var(--slate); font-size: 1rem; margin-top: 16px; max-width: 62ch; }
.authority-note strong { color: var(--teal-deep); }
@media (max-width: 600px) { .authority { grid-template-columns: 1fr; gap: 14px; } }

/* ---------- Promises (guarantee) ---------- */
.promise {
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--aqua);
  border-radius: var(--radius); padding: 28px 30px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.promise:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.promise h3 { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.promise h3::before { content: "✓"; color: var(--aqua); font-weight: 700; flex: none; }
.promise p { color: var(--slate); font-size: .98rem; }

/* ---------- Founding program ---------- */
.founding {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff; border-radius: 24px; padding: clamp(34px, 5vw, 60px);
  position: relative; overflow: hidden;
}
.founding::after { content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(22,184,160,.32), transparent 70%); }
.founding > * { position: relative; }
.founding h2 { color: #fff; margin: 12px 0 18px; }
.founding p { color: #cfe9e2; max-width: 66ch; }
.founding-list { list-style: none; display: grid; gap: 14px; margin: 22px 0; padding: 0; }
.founding-list li { position: relative; padding-left: 30px; color: #eafaf6; font-size: 1rem; line-height: 1.55; }
.founding-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--aqua); font-weight: 700; }
.founding-list strong { color: #fff; }
.founding .hero-actions { margin: 26px 0 0; }
.founding-disclosure { font-size: .8rem; color: #9fc7bd; margin-top: 20px; max-width: 72ch; line-height: 1.5; }

/* ---------- Top announcement banner ---------- */
.top-banner {
  background: linear-gradient(90deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #eafaf6; text-align: center; font-size: .9rem; line-height: 1.4;
  padding: 9px 44px;
}
.top-banner strong { color: var(--aqua); }
.top-banner a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.top-banner a:hover { color: var(--aqua); }
@media (max-width: 540px) { .top-banner { font-size: .8rem; padding: 8px 14px; } }

/* eligibility fine print */
.eligibility { font-family: var(--mono); font-size: .74rem; letter-spacing: .02em; color: var(--slate-light); margin-top: 14px; }

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