/* ============================================================
   MI Forward Policies — campaign site styles
   Brand palette matched to the logo: deep blue #0C418F -> teal #1C8B78,
   white, with a chevron motif.
   ============================================================ */

:root {
  --blue: #0c418f;        /* primary deep blue */
  --blue-deep: #062c63;   /* darkest blue (footer / gradient end) */
  --blue-mid: #14559e;
  --teal: #1c8b78;        /* accent teal */
  --teal-deep: #14705f;
  --sky: #d6e6f7;         /* light-blue chevron bars */
  --sky-2: #eef5fc;
  --cloud: #f4f8fc;
  --paper: #ffffff;
  --ink: #0b2540;
  --muted: #51657c;
  --muted-light: #b7cbe0;
  --line: #e2ebf4;

  --maxw: 1140px;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(6, 44, 99, .06), 0 4px 14px rgba(6, 44, 99, .08);
  --shadow-md: 0 10px 30px rgba(6, 44, 99, .14);
  --shadow-lg: 0 24px 60px rgba(6, 30, 70, .26);

  --ff-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ff-head: "Plus Jakarta Sans", var(--ff-sans);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--ff-sans); color: var(--ink); background: var(--paper);
  line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--ff-head); line-height: 1.12; margin: 0; color: var(--ink); letter-spacing: -.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

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

.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--ff-head); font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 18px; font-size: .95rem; }
.btn-lg { padding: 16px 34px; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(20, 112, 95, .32); }
.btn-teal:hover { background: var(--teal-deep); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-deep); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.accent { color: var(--teal); font-style: normal; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand:hover { text-decoration: none; }
.brand-mark { height: 46px; width: 46px; border-radius: 50%; }
.brand-text { font-family: var(--ff-head); font-weight: 800; font-size: 1.24rem; color: var(--blue); letter-spacing: -.01em; }
.brand-text em { font-style: normal; font-weight: 700; color: var(--teal); }
.brand-text--light { color: #fff; }
.brand-text--light em { color: #6fd0bb; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav > a:not(.btn) { font-family: var(--ff-head); font-weight: 600; font-size: .98rem; color: var(--ink); padding: 6px 2px; position: relative; }
.site-nav > a:not(.btn):hover { color: var(--blue); text-decoration: none; }
.site-nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--teal); transition: width .2s ease; }
.site-nav > a:not(.btn):hover::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--blue); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu { display: none; flex-direction: column; padding: 8px 24px 18px; border-bottom: 1px solid var(--line); background: #fff; }
.mobile-menu a { padding: 13px 4px; font-family: var(--ff-head); font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border-bottom: 0; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background: linear-gradient(115deg, var(--blue) 0%, var(--blue-mid) 45%, var(--teal) 100%);
  padding: clamp(70px, 12vw, 130px) 0 clamp(74px, 12vw, 134px);
}
.hero-chevron { position: absolute; top: 50%; transform: translateY(-50%); width: 40vw; max-width: 560px; aspect-ratio: 1 / 1; opacity: .09; pointer-events: none;
  background: #fff; clip-path: polygon(0 0, 55% 0, 100% 50%, 55% 100%, 0 100%, 45% 50%); }
.hero-chevron--1 { right: -8%; }
.hero-chevron--2 { left: -14%; opacity: .06; width: 30vw; }
.hero-inner { position: relative; max-width: 860px; }
.eyebrow { display: inline-block; font-family: var(--ff-head); font-weight: 700; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: rgba(255,255,255,.14); padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6.5vw, 4.6rem); font-weight: 800; margin: 24px 0 0; }
.hero .accent { color: #b9ecdd; }
.lede { font-size: clamp(1.1rem, 2vw, 1.4rem); font-family: var(--ff-head); font-weight: 600; color: #eaf3ff; margin: 22px auto 0; max-width: 30em; line-height: 1.4; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px; }

/* ---------- sections ---------- */
.section { padding: clamp(58px, 8vw, 96px) 0; }
.section--blue { background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff; }
.section--cloud { background: var(--cloud); }
.section-head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 54px); text-align: center; }
.kicker { font-family: var(--ff-head); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: var(--teal); margin-bottom: 14px; }
.kicker--light { color: #7fd8c4; }
.section h2 { font-size: clamp(1.9rem, 4vw, 2.85rem); font-weight: 800; }
.h2-light { color: #fff; }

/* ---------- priority chevron bars ---------- */
.chevrons { display: flex; flex-direction: column; gap: 20px; max-width: 940px; margin: 0 auto; }
.chev {
  background: var(--sky); color: var(--blue);
  font-family: var(--ff-head); font-weight: 800; font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  padding: 26px 72px 26px 34px;
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 50%, calc(100% - 40px) 100%, 0 100%);
  filter: drop-shadow(7px 7px 0 rgba(6, 44, 99, .18));
  transition: transform .18s ease, background .2s ease;
}
.chev span { display: block; }
.chev:nth-child(2) { background: #c2dcf3; }
.chev:nth-child(3) { background: #aed2f0; }
.chev:hover { transform: translateX(6px); }

/* ---------- leaders ---------- */
.leaders-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.leader { margin: 0; text-align: center; }
.leader img {
  width: 100%; max-width: 220px; aspect-ratio: 1 / 1; margin: 0 auto; border-radius: 50%;
  background: rgba(255,255,255,.08); box-shadow: 0 10px 30px rgba(0,0,0,.25);
  border: 4px solid rgba(255,255,255,.9);
}
.leader figcaption { display: flex; flex-direction: column; margin-top: 18px; }
.leader-name { font-family: var(--ff-head); font-weight: 800; font-size: 1.28rem; color: #fff; }
.leader-tag { font-size: .92rem; color: #9fc0e0; margin-top: 4px; }

/* ---------- contact ---------- */
.contact-inner { text-align: center; max-width: 620px; margin: 0 auto; }
.contact-logo { width: 108px; height: 108px; border-radius: 50%; margin: 0 auto 22px; box-shadow: var(--shadow-md); }
.section--cloud h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
.contact-inner p { margin: 14px 0 26px; font-size: 1.1rem; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--blue-deep); color: var(--muted-light); padding: 56px 0 36px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; }
.footer-brand .brand-mark { height: 44px; width: 44px; border-radius: 50%; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a { color: var(--muted-light); font-family: var(--ff-head); font-weight: 600; font-size: .95rem; }
.footer-nav a:hover { color: #fff; text-decoration: none; }
.footer-cta { font-family: var(--ff-head); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2rem); color: #fff; text-align: center; padding: 32px 0; letter-spacing: -.01em; }
.footer-cta .accent { color: #6fd0bb; }
.footer-legal { text-align: center; font-size: .85rem; line-height: 1.7; border-top: 1px solid rgba(255,255,255,.12); padding-top: 26px; }
.footer-legal .disclaimer { color: #fff; font-weight: 600; }
.footer-legal .disclaimer a { color: #fff; }
.footer-legal .copyright { margin-top: 12px; color: #7a93b3; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .leaders-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
}
@media (max-width: 760px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu:not([hidden]) { display: flex; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero-actions .btn { width: 100%; }
  .chev { padding: 20px 54px 20px 24px; clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 50%, calc(100% - 28px) 100%, 0 100%); }
  .footer-top { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .chev { transition: none; }
}
