/* Pact Compliance — pactcompliance.com
   Brand tokens from the Pact brief; layout matches the approved homepage design. */

:root {
  --royal: #003195;   /* primary: headings, buttons */
  --deep:  #00205F;   /* footer, hover */
  --sky:   #7FB2FF;   /* accents, focus rings */
  --mist:  #EEF3FC;   /* alternate section background */
  --ink:   #0F1B33;   /* body text */
  --amber-text: #8A4B00;
  --amber-bg:   #FFF1D6;
  --muted: #33415C;
  --muted-2: #4A5875;
  --line: #DCE4F2;
  --line-2: #E3E9F5;
  --card-line: #C9D5EC;
  --pale: #CFE0FF;
  --rule-on-blue: #3B63B8;
  --gutter: 80px;
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Public Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #FFFFFF;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--royal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--deep); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 4px;
}
h1, h2, h3, p, ol, ul { margin: 0; }
.display { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; }

/* Skip link (keyboard users) */
.skip-link {
  position: absolute; left: 16px; top: -100px;
  padding: 10px 14px; background: var(--royal); color: #fff;
  font-weight: 600; text-decoration: none; border-radius: 6px; z-index: 100;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: 1280px; }
section, header, footer { padding-left: var(--gutter); padding-right: var(--gutter); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  font-weight: 600; font-size: 17px; text-decoration: none; border-radius: 6px;
}
.btn-primary { background: var(--royal); color: #fff; }
.btn-primary:hover { background: var(--deep); color: #fff; }
.btn-outline { border: 1.5px solid var(--royal); color: var(--royal); padding: 0 24px; }
.btn-outline:hover { background: var(--mist); color: var(--deep); }

/* Header */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-top: 22px; padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.header-call { display: none; }
.logo-link svg { width: 190px; height: 43px; }
.nav { display: flex; align-items: center; gap: 36px; font-size: 16px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--royal); }
.nav .btn { min-height: 44px; padding: 0 22px; font-size: 16px; color: #fff; }
.nav .btn:hover { color: #fff; background: var(--deep); }
.nav-toggle {
  display: none;
  min-width: 44px; min-height: 44px; padding: 8px;
  background: none; border: 1.5px solid var(--line); border-radius: 6px;
  color: var(--royal); cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Hero */
.hero {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 72px; align-items: center;
  padding-top: 96px; padding-bottom: 104px;
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; max-width: 600px; }
.hero h1 { font-size: 68px; line-height: 1.02; letter-spacing: -1.5px; color: var(--royal); }
.hero .lede { font-size: 20px; line-height: 1.55; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero .note { font-size: 15px; color: var(--muted-2); }

/* Roster illustration */
.roster {
  margin: 0; background: #fff; border: 1px solid var(--card-line); border-radius: 10px;
  box-shadow: 0 24px 48px -28px rgba(0, 32, 95, 0.45); overflow: hidden;
}
.roster-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 18px 24px; background: var(--royal); color: #fff;
}
.roster-head strong { font-weight: 700; font-size: 16px; }
.roster-head span { font-size: 14px; color: var(--pale); }
.roster table { width: 100%; border-collapse: collapse; font-size: 15px; }
.roster thead tr { background: var(--mist); color: var(--muted); text-align: left; }
.roster th { padding: 12px 10px; font-weight: 600; }
.roster td { padding: 16px 10px; }
.roster th:first-child, .roster td:first-child { padding-left: 20px; width: 22%; }
.roster th:last-child, .roster td:last-child { padding-right: 20px; }
.roster tbody tr { border-top: 1px solid var(--line-2); }
.roster td:first-child { font-weight: 600; }
.roster .ok { color: var(--royal); }
.roster .date { color: var(--muted); }
.roster figcaption {
  padding: 16px 24px; border-top: 1px solid var(--line-2);
  font-size: 14px; color: var(--muted-2);
}
.row-watch { background: #FFFBF2; }
.row-watch.is-renewed { background: #F3F7FF; }
.badge-expiring {
  display: inline-flex; align-items: center; padding: 4px 10px;
  background: var(--amber-bg); color: var(--amber-text); font-weight: 700; border-radius: 4px;
  white-space: nowrap;
}
.badge-renewed {
  display: none; align-items: center; gap: 7px;
  font-weight: 700; color: var(--royal); line-height: 1.25;
}
.badge-renewed svg { width: 18px; height: 18px; flex: 0 0 18px; }
.row-watch.is-renewed .badge-expiring { display: none; }
.row-watch.is-renewed .badge-renewed { display: inline-flex; }
@keyframes pactStamp { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }
@keyframes pactFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.badge-renewed path { stroke-dasharray: 40; animation: pactStamp .5s ease-out .1s both; }
.row-watch.is-renewed .badge-renewed { animation: pactFade .35s ease-out both; }
.row-watch { transition: background-color .35s ease-out; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .badge-renewed path, .row-watch.is-renewed .badge-renewed { animation: none; }
  .row-watch { transition: none; }
}

/* Section basics */
.section { padding-top: 96px; padding-bottom: 96px; }
.section-inner { display: flex; flex-direction: column; gap: 48px; max-width: 1280px; }
.section h2 { font-size: 44px; line-height: 1.1; color: var(--ink); }
.section-mist { background: var(--mist); }

/* Services */
.services h2 { max-width: 760px; }
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 72px; }
.service { padding: 28px 0; border-top: 2px solid var(--royal); }
.service h3 { margin-bottom: 8px; font-size: 21px; font-weight: 700; color: var(--royal); }
.service p { font-size: 17px; line-height: 1.6; color: var(--muted); }

/* The pact */
.pact { background: var(--royal); color: #fff; }
.pact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; max-width: 1280px; }
.pact-intro { display: flex; flex-direction: column; gap: 20px; }
.pact h2 { font-size: 52px; line-height: 1.05; color: #fff; }
.pact-intro p { font-size: 18px; color: var(--pale); }
.promise { padding: 22px 0; border-top: 1px solid var(--rule-on-blue); }
.promise:last-child { border-bottom: 1px solid var(--rule-on-blue); }
.promise h3 { margin-bottom: 6px; font-size: 20px; font-weight: 700; }
.promise p { font-size: 16px; color: var(--pale); }

/* Who we serve */
.serve { padding-top: 88px; padding-bottom: 88px; border-bottom: 1px solid var(--line); }
.serve .section-inner { gap: 36px; }
.serve h2 { font-size: 36px; line-height: 1.15; }
.serve-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.serve-grid > div { display: flex; flex-direction: column; gap: 6px; }
.serve-grid h3 { font-size: 19px; font-weight: 700; color: var(--royal); }
.serve-grid p { font-size: 16px; color: var(--muted); }

/* Contact */
.contact {
  padding-top: 104px; padding-bottom: 104px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: end;
}
.contact-copy { display: flex; flex-direction: column; gap: 20px; }
.contact h2 { font-size: 56px; line-height: 1.05; color: var(--royal); }
.contact-copy p { font-size: 19px; color: var(--muted); max-width: 540px; }
.contact-details { display: flex; flex-direction: column; gap: 14px; font-size: 20px; }
.contact-details a { font-weight: 700; }
.contact-details p { font-size: 16px; color: var(--muted-2); }

/* Footer */
.site-footer {
  padding-top: 56px; padding-bottom: 28px;
  background: var(--deep); color: var(--pale); font-size: 15px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding-bottom: 36px; border-bottom: 1px solid #1D3F86;
}
.footer-brand img { width: 170px; height: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 340px; line-height: 1.55; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; align-content: start; }
.footer-nav a, .footer-contact a { color: #fff; text-decoration: none; }
.footer-nav a:hover, .footer-contact a:hover { text-decoration: underline; color: #fff; }
.footer-contact { display: grid; gap: 8px; align-content: start; }
.footer-contact a:first-child { font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.footer-legal {
  display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap;
  padding-top: 22px; font-size: 13.5px; color: #B9CCF2;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Sample documents: small paper previews drawn in HTML, each opening the full printable sample. */
.sample-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sample-card {
  display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center;
  padding: 24px; background: #fff; border: 1px solid var(--card-line); border-radius: 12px;
  color: var(--ink); text-decoration: none;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.sample-card:hover { color: var(--ink); border-color: var(--royal); box-shadow: 0 22px 44px -30px rgba(0, 32, 95, .55); transform: translateY(-2px); }
.sample-card h3 { font-size: 20px; color: var(--royal); margin-bottom: 6px; }
.sample-card p { color: var(--muted); font-size: 16px; }
.sample-go { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--royal); }
.sample-card:hover .sample-go { text-decoration: underline; text-underline-offset: 3px; }
.paper {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  aspect-ratio: 8.5 / 11; padding: 16px 14px; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  box-shadow: 0 1px 0 var(--line), 6px 6px 0 -1px #F4F7FD, 6px 6px 0 0 var(--line), 0 18px 30px -22px rgba(0, 32, 95, .5);
  font-size: 8.5px; line-height: 1.3; color: var(--muted);
  transform: rotate(-2deg);
}
.sample-card:nth-child(2) .paper { transform: rotate(2deg); }
.paper-cert { outline: 1.5px solid var(--royal); outline-offset: -7px; }
.p-mark { font-family: var(--font-display); font-weight: 800; letter-spacing: .14em; color: var(--royal); font-size: 10px; }
.p-rule { height: 2px; background: var(--royal); margin-bottom: 4px; }
.p-title { font-family: var(--font-display); font-weight: 800; color: var(--royal); font-size: 11px; }
.paper-cert .p-title, .paper-cert .p-kind, .paper-cert .p-co { text-align: center; }
.p-kind { text-transform: uppercase; letter-spacing: .1em; font-size: 7px; }
.p-co { font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: 10px; margin-top: 2px; }
.p-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.p-facts i { font-style: normal; background: var(--mist); border-radius: 3px; padding: 4px 3px; text-align: center; color: var(--royal); font-weight: 700; font-size: 7.5px; }
.p-ok { background: #E7F5EC; color: #1E7A45; border-radius: 3px; padding: 4px 6px; font-weight: 700; }
.p-dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 8px; }
.p-dl i { font-style: normal; }
.p-dl i:nth-child(odd) { font-weight: 700; color: var(--ink); }
.p-hash { font-family: ui-monospace, Menlo, monospace; font-size: 7px; }
.p-lines { display: grid; gap: 6px; margin-top: 4px; }
.p-lines i { display: block; height: 5px; border-radius: 3px; background: var(--line-2); }
.p-lines i:nth-child(2n) { width: 82%; }
.p-stamp {
  position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%) rotate(-22deg);
  font-family: var(--font-display); font-weight: 900; font-size: 26px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(0, 49, 149, .09);
}
@media (max-width: 1100px) { .sample-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .sample-card { grid-template-columns: 1fr; padding: 20px; }
  .paper { width: 190px; margin: 4px auto 0; }
}
@media (prefers-reduced-motion: reduce) { .sample-card { transition: none; } .sample-card:hover { transform: none; } }

/* ---------- Responsive ---------- */
/* The nav needs about 1,030px at full spacing. Tighten it in steps, then collapse to the menu
   button well before it can squeeze the logo. */
@media (max-width: 1440px) { .nav { gap: 24px; } }
@media (max-width: 1320px) { .site-header { padding-left: min(40px, var(--gutter)); padding-right: min(40px, var(--gutter)); } .nav { gap: 20px; } }
@media (max-width: 1200px) {
  .header-call {
    display: inline-flex; align-items: center; gap: 8px; margin-left: auto;
    min-height: 44px; padding: 0 16px; border-radius: 6px;
    font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
    color: var(--royal); border: 1.5px solid var(--royal);
  }
  .site-header { gap: 12px; }
  .header-call:hover { background: var(--mist); color: var(--deep); }
  .header-call svg { width: 18px; height: 18px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 20px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px -24px rgba(0, 32, 95, 0.4);
    z-index: 50;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; font-size: 18px; border-top: 1px solid var(--line-2); }
  .nav a:first-child { border-top: 0; }
  .nav .btn { margin-top: 12px; padding: 0 22px; border-top: 0; }
}
@media (max-width: 720px) { .header-call { display: none; } }

@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .nav { gap: 20px; }
  .hero { gap: 48px; }
  .hero h1 { font-size: 56px; }
  .pact h2 { font-size: 44px; }
  .contact h2 { font-size: 48px; }
}
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 72px; }
  .hero-copy { max-width: 640px; }
  .pact-grid { grid-template-columns: 1fr; gap: 40px; }
  .serve-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { grid-template-columns: 1fr; gap: 36px; align-items: start; }
}
@media (max-width: 800px) {
  .services-grid { grid-template-columns: 1fr; column-gap: 0; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .section-inner { gap: 32px; }
  .section h2 { font-size: 34px; }
  .pact h2 { font-size: 36px; }
  .contact h2 { font-size: 40px; }
  .contact { padding-top: 72px; padding-bottom: 72px; }
}
@media (max-width: 600px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .hero h1 { font-size: 40px; letter-spacing: -1px; }
  .hero .lede { font-size: 18px; }
  .hero-actions .btn { width: 100%; }
  .serve-grid { grid-template-columns: 1fr; gap: 24px; }
  .section h2 { font-size: 30px; }
  .pact h2 { font-size: 32px; }
  .contact h2 { font-size: 36px; }
  .contact-details { font-size: 18px; }
  /* Roster: keep Driver + Medical card columns on phones */
  .roster .col-pool, .roster .col-mvr { display: none; }
  .roster th:first-child, .roster td:first-child { padding-left: 16px; }
  .roster th:last-child, .roster td:last-child { padding-right: 16px; }
  .roster-head { padding: 14px 16px; flex-direction: column; align-items: flex-start; gap: 2px; }
  .roster figcaption { padding: 14px 16px; }
  .logo-link svg { width: 150px; height: 34px; }
}

/* ---------------------------------------------------------------
   The portal section: a live rendering of the real screens, built in
   HTML so it stays sharp at any size and costs nothing to download.
   --------------------------------------------------------------- */
.eyebrow {
  font-family: var(--font-display); font-weight: 800; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--royal);
  margin-bottom: 10px;
}
.section-lede { font-size: 19px; color: var(--muted); max-width: 720px; margin-top: 16px; }

.portal-grid {
  display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 40px; align-items: start; margin-top: 44px;
}

/* Browser frame */
.shot {
  margin: 0; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--card-line); background: #fff;
  box-shadow: 0 18px 44px rgba(15, 27, 51, .14);
}
.shot-bar {
  background: #F2F5FB; border-bottom: 1px solid var(--line);
  padding: 10px 14px; display: flex; align-items: center; gap: 7px;
}
.shot-bar span { width: 10px; height: 10px; border-radius: 50%; background: #D3DBEA; }
.shot-bar em {
  font-style: normal; margin-left: 12px; font-size: 12.5px; color: var(--muted-2);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px;
}
.shot-body { padding: 22px 24px 24px; }
.shot-head strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--ink); }
.shot-head small { color: var(--muted-2); font-size: 14px; }
.shot-tasks { list-style: none; margin: 18px 0 0; padding: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.shot-tasks li {
  display: flex; align-items: center; gap: 14px; padding: 13px 16px;
  border-top: 1px solid var(--line); border-left: 4px solid transparent; background: #fff;
}
.shot-tasks li:first-child { border-top: 0; }
.shot-tasks li.p0 { border-left-color: #C62F2F; background: linear-gradient(90deg, #FFF7F7, #fff 45%); }
.shot-tasks li.p1 { border-left-color: #E8A33A; }
.shot-tasks li.p2 { border-left-color: #3F6FD8; }
.shot-tasks .chip {
  flex: 0 0 auto; min-width: 96px; text-align: center; font-size: 12px; font-weight: 700;
  border-radius: 999px; padding: 3px 10px; white-space: nowrap;
}
.shot-tasks .chip.red { background: #FDE6E6; color: #8A1B1B; }
.shot-tasks .chip.amber { background: var(--amber-bg); color: #7A4300; }
.shot-tasks .chip.blue { background: #E4EDFF; color: var(--royal); }
.shot-tasks .t { flex: 1; min-width: 0; }
.shot-tasks .t b { display: block; color: var(--royal); font-size: 15px; }
.shot-tasks .t small { color: var(--muted-2); font-size: 13.5px; }
.shot-tasks .go {
  flex: 0 0 auto; background: var(--royal); color: #fff; font-size: 13px; font-weight: 700;
  border-radius: 6px; padding: 7px 13px; white-space: nowrap;
}
.shot-tasks li.p2 .go, .shot-tasks li.p1 .go { background: #fff; color: var(--royal); border: 1.5px solid #B9C7E4; }

/* Phone frame */
.phone { margin: 0; }
.phone-body {
  border-radius: 28px; border: 9px solid #12203C; background: #EEF3FC;
  overflow: hidden; box-shadow: 0 18px 44px rgba(15, 27, 51, .18); max-width: 300px;
}
.phone-top {
  background: var(--royal); color: #fff; font-family: var(--font-display); font-weight: 800;
  letter-spacing: .16em; font-size: 13px; padding: 14px 16px;
}
.phone-content { padding: 14px; }
.phone-hi { font-family: var(--font-display); font-size: 21px; display: block; margin-bottom: 12px; }
.phone-card { background: #fff; border-radius: 12px; padding: 14px; border: 1px solid var(--line); }
.phone-card.small { margin-top: 10px; font-weight: 600; color: var(--royal); font-size: 14px; }
.ringwrap { display: flex; align-items: center; gap: 12px; }
.ringwrap strong { display: block; font-family: var(--font-display); font-size: 16px; }
.ringwrap small { color: var(--muted-2); font-size: 13px; }
.ring {
  --p: 0; width: 56px; height: 56px; flex: 0 0 56px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--royal) calc(var(--p) * 1%), var(--line) 0);
}
.ring i {
  width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center;
  font-style: normal; font-family: var(--font-display); font-weight: 800; font-size: 13px; color: var(--royal);
}
.phone-list { list-style: none; margin: 14px 0 0; padding: 0; font-size: 14px; }
.phone-list li { padding: 7px 0 7px 26px; position: relative; border-top: 1px solid var(--line-2); }
.phone-list li:first-child { border-top: 0; }
.phone-list li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 17px; height: 17px; border-radius: 50%;
}
.phone-list li.yes::before { background: #DDF5E6; box-shadow: inset 0 0 0 1px #9FDCBA; }
.phone-list li.no::before { background: #EEF1F6; box-shadow: inset 0 0 0 1px #C4CEE0; }
.phone-list li.yes::after {
  content: "\2713"; position: absolute; left: 4px; top: 7px; font-size: 11px; font-weight: 800; color: #12502E;
}
.phone figcaption { margin-top: 18px; font-size: 15px; color: var(--muted); max-width: 300px; }

.portal-points { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 26px 36px; }
.portal-points li { border-top: 3px solid var(--royal); padding-top: 14px; color: var(--muted); font-size: 16px; }
.portal-points b { color: var(--ink); display: block; margin-bottom: 3px; }

/* Comparison */
.compare-grid { margin-top: 36px; display: grid; gap: 14px; }
.compare-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 0;
  border: 1px solid var(--card-line); border-radius: 12px; overflow: hidden; background: #fff;
}
.compare-row .was {
  padding: 20px 24px; color: var(--muted-2); font-style: italic; background: #F7F9FD;
  border-right: 1px solid var(--line); display: flex; align-items: center;
}
.compare-row .now { padding: 20px 24px; color: var(--muted); }
.compare-row .now b { color: var(--ink); }

@media (max-width: 1100px) {
  .portal-grid { grid-template-columns: 1fr; gap: 44px; }
  .phone-body, .phone figcaption { max-width: 320px; margin-left: auto; margin-right: auto; }
  .phone figcaption { text-align: center; }
}
@media (max-width: 800px) {
  .compare-row { grid-template-columns: 1fr; }
  .compare-row .was { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .section-lede { font-size: 17px; }
  .shot-body { padding: 16px; }
  .shot-head strong { font-size: 21px; }
  .shot-tasks li { flex-direction: column; align-items: stretch; gap: 8px; padding: 12px; }
  .shot-tasks .chip { min-width: 0; align-self: flex-start; }
  .shot-tasks .go { width: 100%; text-align: center; }
}

/* ---------------------------------------------------------------
   Trust bar, enrollment, pricing, founder, FAQ  (September 2026)
   --------------------------------------------------------------- */
.trustbar { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.trustbar li { position: relative; padding-left: 20px; font-size: 14.5px; color: var(--muted-2); }
.trustbar li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 11px; height: 7px;
  border-left: 2.5px solid var(--royal); border-bottom: 2.5px solid var(--royal); transform: rotate(-45deg);
}

/* Enrollment timeline */
.enroll-steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: none; }
.enroll-steps li { background: #fff; border: 1px solid var(--card-line); border-radius: 12px; padding: 22px 24px; position: relative; }
.enroll-steps .step-k {
  display: inline-block; background: var(--royal); color: #fff; font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; border-radius: 999px; padding: 4px 12px; margin-bottom: 12px;
}
.enroll-steps h3 { font-family: var(--font-display); font-weight: 800; font-size: 18px; margin-bottom: 6px; }
.enroll-steps p { color: var(--muted); font-size: 16px; }
.fineprint { margin-top: 26px; color: var(--muted-2); font-size: 15px; max-width: 760px; }

/* Pricing */
.price-grid { display: grid; gap: 22px; grid-template-columns: 1fr; margin-top: 38px; }
@media (min-width: 860px) { .price-grid { grid-template-columns: 1.15fr 1fr; align-items: start; } }
.price-card { background: #fff; border: 1px solid var(--card-line); border-radius: 14px; padding: 26px 28px; }
.price-card h3 { font-family: var(--font-display); font-weight: 800; font-size: 20px; margin-bottom: 14px; }
.price-card .btn { margin-top: 20px; }
.price-card.muted-card { background: var(--mist); border-color: #C9D5EC; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 0 0 14px 30px; color: var(--muted); }
.ticks li:last-child { padding-bottom: 0; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 8px; width: 13px; height: 8px;
  border-left: 3px solid var(--royal); border-bottom: 3px solid var(--royal); transform: rotate(-45deg);
}
.ranges { margin: 16px 0 0; }
.ranges dt { font-weight: 700; color: var(--ink); margin-top: 12px; }
.ranges dt:first-child { margin-top: 0; }
.ranges dd { margin: 2px 0 0; color: var(--muted); }
.ranges b { color: var(--royal); font-family: var(--font-display); font-size: 18px; }

/* Founder */
.founder-grid { display: grid; gap: 30px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 760px) { .founder .founder-grid { grid-template-columns: auto 1fr; column-gap: 48px; } }
.founder-photo {
  display: block; width: 176px; height: 220px; object-fit: cover; border-radius: 16px;
  background: var(--mist); box-shadow: 0 22px 44px -22px rgba(0, 32, 95, .7);
}
.founder p { color: var(--muted); margin-bottom: 14px; max-width: 760px; }
.founder-lines { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 20px; }
.founder-lines a { font-family: var(--font-display); font-weight: 800; font-size: 19px; text-decoration: none; }
.founder-lines a:hover { text-decoration: underline; }

/* FAQ */
.faq-list { margin-top: 32px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--royal); }
.faq-list summary::after {
  content: ""; position: absolute; right: 10px; top: 28px; width: 11px; height: 11px;
  border-right: 2.5px solid var(--royal); border-bottom: 2.5px solid var(--royal);
  transform: rotate(45deg); transition: transform .18s ease;
}
.faq-list details[open] summary::after { transform: rotate(-135deg); top: 32px; }
.faq-list details p { padding: 0 20px 22px 0; color: var(--muted); max-width: 820px; margin: 0; }

/* Sticky call bar on phones: the fastest path is always the phone */
.callbar { display: none; }
@media (max-width: 720px) {
  .callbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--royal); box-shadow: 0 -6px 20px rgba(0, 32, 95, .28);
  }
  .callbar a {
    flex: 1; text-align: center; color: #fff; text-decoration: none; font-weight: 700;
    padding: 15px 10px; font-size: 16px;
  }
  .callbar a + a { border-left: 1px solid #2A55A8; }
  body { padding-bottom: 58px; }
}
@media (max-width: 600px) {
  .enroll-steps { gap: 16px; }
  .price-card { padding: 20px; }
  .founder-photo { width: 128px; height: 160px; border-radius: 12px; }
  .faq-list summary { font-size: 16.5px; padding-right: 36px; }
}

/* ---------------------------------------------------------------
   Craft pass: depth, rhythm, motion  (September 2026)
   The market's sites are all flat white corporate pages. The point of
   this pass is that Pact's looks made, not assembled.
   --------------------------------------------------------------- */

/* Hero: more air, tighter display type, a layered ground instead of flat white */
.hero { position: relative; padding-top: 112px; padding-bottom: 120px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(1100px 520px at 88% -8%, rgba(127, 178, 255, .30), transparent 62%),
    radial-gradient(760px 420px at -8% 18%, rgba(0, 49, 149, .07), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(760px 420px at 74% 22%, #000 0%, transparent 72%);
  mask-image: radial-gradient(760px 420px at 74% 22%, #000 0%, transparent 72%);
}
.hero h1 { letter-spacing: -2.4px; }
.hero-copy { gap: 26px; }
.roster { box-shadow: 0 40px 80px -34px rgba(0, 32, 95, .55), 0 6px 18px -8px rgba(0, 32, 95, .22); }

/* The dark band: one high-contrast moment gives the page a spine */
.statband {
  background: linear-gradient(155deg, #00205F 0%, #003195 52%, #0B3FA8 100%);
  color: #fff; position: relative; overflow: hidden;
  padding-top: 92px; padding-bottom: 92px;
}
.statband::before {
  content: ""; position: absolute; inset: 0; opacity: .13; pointer-events: none;
  background-image: radial-gradient(#fff 1.1px, transparent 1.1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 78%);
  mask-image: linear-gradient(180deg, #000, transparent 78%);
}
.statband-inner { max-width: 1280px; margin: 0 auto; position: relative; }
.eyebrow.light { color: var(--sky); }
.bignum {
  font-size: clamp(88px, 15vw, 188px); line-height: .84; letter-spacing: -6px;
  margin: 10px 0 18px; color: #fff;
}
.statline { font-size: clamp(22px, 3.1vw, 36px); line-height: 1.24; max-width: 940px; color: #fff; letter-spacing: -.6px; }
.statsrc { margin-top: 20px; color: #CFE0FF; font-size: 16px; max-width: 760px; }
.statsplit { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 44px; }
@media (min-width: 780px) { .statsplit { grid-template-columns: 1fr 1fr; gap: 24px; } }
.statsplit > div { border: 1px solid var(--rule-on-blue); border-radius: 12px; padding: 22px 24px; }
.statsplit > div.on { background: rgba(255, 255, 255, .10); border-color: rgba(255, 255, 255, .34); }
.statsplit .k {
  display: inline-block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sky); margin-bottom: 8px;
}
.statsplit > div.on .k { color: #fff; }
.statsplit p { color: #DCE7FB; font-size: 16px; }

/* Elevation on the cards that carry the page */
.service, .price-card, .enroll-steps li, .compare-row {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service:hover, .enroll-steps li:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px -24px rgba(0, 32, 95, .55);
  border-color: var(--sky);
}
.price-card { box-shadow: 0 18px 44px -32px rgba(0, 32, 95, .5); }

/* Scroll reveal. Only elements the script marks are hidden, so content is never
   dependent on JavaScript succeeding in order to be readable. */
@media (prefers-reduced-motion: no-preference) {
  .reveal.will-reveal .section-inner,
  .reveal.will-reveal .pact-grid,
  .reveal.will-reveal .founder-grid { opacity: 0; transform: translateY(18px); }
  .reveal.is-in .section-inner,
  .reveal.is-in .pact-grid,
  .reveal.is-in .founder-grid {
    opacity: 1; transform: none;
    transition: opacity .55s ease, transform .55s cubic-bezier(.22, .7, .3, 1);
  }
}

/* Typographic polish */
.section h2.display { letter-spacing: -1.1px; }
.section-lede, .lede { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

@media (max-width: 800px) {
  .hero { padding-top: 64px; padding-bottom: 76px; }
  .statband { padding-top: 62px; padding-bottom: 62px; }
  .bignum { letter-spacing: -3px; }
}

/* The sixteen automatic-failure violations */
.sixteen { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 8px; grid-template-columns: 1fr; counter-reset: sixteen; }
@media (min-width: 720px) { .sixteen { grid-template-columns: 1fr 1fr; gap: 8px 22px; } }
.sixteen li {
  counter-increment: sixteen; position: relative; padding: 11px 14px 11px 52px;
  border: 1px solid var(--line-2); border-radius: 9px; background: #fff; color: var(--muted-2); font-size: 15.5px;
}
.sixteen li::before {
  content: counter(sixteen); position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--mist); color: var(--muted-2);
  display: grid; place-items: center; font-size: 12px; font-weight: 800; font-family: var(--font-display);
}
.sixteen li.mine {
  border-color: var(--royal); background: linear-gradient(90deg, #F2F6FF, #fff 70%);
  color: var(--ink); font-weight: 600; box-shadow: 0 6px 18px -12px rgba(0, 32, 95, .5);
}
.sixteen li.mine::before { background: var(--royal); color: #fff; }
.sixteen .k { display: block; font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; color: var(--muted-2); margin-bottom: 1px; }
.sixteen li.mine .k { color: var(--royal); }
.audit-foot { display: grid; gap: 26px; grid-template-columns: 1fr; margin-top: 34px; }
@media (min-width: 820px) { .audit-foot { grid-template-columns: 1fr 1fr; gap: 40px; } }
.audit-foot h3 { font-family: var(--font-display); font-weight: 800; font-size: 19px; margin-bottom: 8px; }
.audit-foot p { color: var(--muted); }
.audit-foot .btn { margin-top: 16px; }

/* ---------------------------------------------------------------
   Redesign pass (September 22, 2026)
   Benchmarked against the three national sites: stock photos, cookie
   walls, a 3D truck video. Pact's answer is the product itself, in
   motion, plus two tools that do something for the visitor.
   --------------------------------------------------------------- */
html { scroll-padding-top: 88px; }

/* Header: sticky, translucent, tightens once you scroll */
/* Solid white rather than frosted glass: same look, and nothing for an older GPU to struggle with. */
.site-header {
  position: sticky; top: 0; z-index: 80; background: #fff;
  transition: box-shadow .2s ease, padding .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 30px -22px rgba(0, 32, 95, .6); padding-top: 14px; padding-bottom: 14px; }

/* Hero: a dark ground so the product cards carry the light */
.hero.hero-dark {
  isolation: isolate; overflow: hidden; color: #fff;
  background:
    radial-gradient(1200px 620px at 88% -12%, rgba(127, 178, 255, .34), transparent 60%),
    radial-gradient(900px 520px at -12% 112%, rgba(11, 63, 168, .6), transparent 62%),
    linear-gradient(160deg, #001640 0%, #00205F 46%, #003195 100%);
}
.hero.hero-dark::before { background: radial-gradient(620px 320px at 74% 42%, rgba(127, 178, 255, .26), transparent 70%); }
.hero.hero-dark::after {
  opacity: 1;
  background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(900px 520px at 70% 30%, #000 0%, transparent 74%);
  mask-image: radial-gradient(900px 520px at 70% 30%, #000 0%, transparent 74%);
}
.hero-dark h1 { color: #fff; }
.hero-dark .hl {
  background: linear-gradient(92deg, #8FBCFF 0%, #CFE0FF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-dark .lede { color: #C9D8F5; }
.hero-dark .note { color: #A9BDE6; }
.hero-dark .trustbar li { color: #D5E2FA; }
.hero-dark .trustbar li::before { border-color: var(--sky); }
.hero-dark .btn-primary { background: #fff; color: var(--royal); }
.hero-dark .btn-primary:hover { background: var(--sky); color: #001640; }
.hero-dark .btn-outline { border-color: rgba(255, 255, 255, .55); color: #fff; }
.hero-dark .btn-outline:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.hero-link { align-self: flex-start; color: var(--sky); font-weight: 600; text-decoration: none; margin-top: -8px; }
.hero-link:hover { color: #fff; text-decoration: underline; }
.hero-dark .roster { color: var(--ink); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08); }   /* the card keeps dark text on the dark hero */

/* The renewal, told as it happens: booked, then confirmed on the MVR */
.roster-wrap { position: relative; min-width: 0; }
/* Above the card's top-right corner, clear of the Mitchell row whose story they tell */
.toasts { position: absolute; right: -28px; top: -140px; display: grid; gap: 10px; width: min(340px, 86%); pointer-events: none; z-index: 2; }
.toast {
  display: flex; gap: 10px; align-items: flex-start;
  background: #fff; color: var(--ink); border: 1px solid var(--card-line); border-radius: 12px;
  padding: 10px 12px; font-size: 13.5px; line-height: 1.35;
  box-shadow: 0 20px 44px -18px rgba(0, 16, 64, .6);
  opacity: 0; transform: translateY(10px) scale(.98);
  transition: opacity .4s ease, transform .45s cubic-bezier(.2, .8, .3, 1);
}
.toast.is-on { opacity: 1; transform: none; }
.toast i {
  font-style: normal; flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--royal); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 12px; font-family: var(--font-display);
}
.toast b { display: block; color: var(--royal); font-size: 14px; }
/* Single-column layouts: the toasts stack under the card instead of floating over it */
@media (max-width: 960px) { .toasts { position: static; width: auto; margin: 14px 0 0; } }

/* Tighter rhythm: the old 48px gap between every heading and its text read as unfinished */
.section-inner { gap: 20px; }
.section-inner > .section-lede { margin-top: 0; }
.section-inner > :is(.services-grid, .portal-grid, .serve-grid) { margin-top: 16px; }
.bignum { font-variant-numeric: tabular-nums; }

/* The pact: the heading stays with you while the promises scroll past */
@media (min-width: 961px) { .pact-intro { position: sticky; top: 112px; align-self: start; } }

/* Calculator */
.calc-card {
  background: #fff; border: 1px solid var(--card-line); border-radius: 18px; padding: 30px;
  box-shadow: 0 30px 60px -40px rgba(0, 32, 95, .55); display: grid; gap: 22px; margin-top: 16px;
}
.calc-input label { display: block; margin-bottom: 10px; font-family: var(--font-display); font-weight: 800; font-size: 18px; }
.calc-row { display: flex; align-items: center; gap: 18px; }
.calc-row input[type=range] { flex: 1; min-width: 0; height: 28px; accent-color: var(--royal); cursor: pointer; }
.calc-row input[type=number] {
  width: 112px; padding: 8px 10px; text-align: center; border: 1.5px solid var(--card-line); border-radius: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--royal); background: #fff;
}
.calc-row input[type=number]:focus-visible, .calc-row input[type=range]:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.calc-out { margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.calc-out > div { background: var(--mist); border-radius: 12px; padding: 16px 18px; }
.calc-out dt { font-weight: 700; font-size: 15px; color: var(--ink); }
.calc-out dd { margin: 6px 0 0; }
.calc-out b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -1px; color: var(--royal); font-variant-numeric: tabular-nums; }
.calc-out span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted-2); }
.calc-card .fineprint { margin-top: 0; }
.calc-card .btn { justify-self: start; }
@media (max-width: 600px) {
  .calc-card { padding: 20px; }
  .calc-row input[type=number] { width: 88px; font-size: 20px; }
  .calc-out b { font-size: 34px; }
  .calc-card .btn { justify-self: stretch; }
}

/* Audit readiness check */
.readiness { margin-top: 28px; padding: 24px 26px; border: 1px solid var(--card-line); border-radius: 16px; background: linear-gradient(180deg, #F7FAFF, #fff); }
.readiness-head h3 { font-family: var(--font-display); font-weight: 800; font-size: 21px; }
.readiness-head p { margin-top: 4px; font-size: 15px; color: var(--muted-2); }
.ready-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.ready-list label {
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer; padding: 12px 14px;
  border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--muted);
  transition: border-color .15s ease, background-color .15s ease;
}
.ready-list label:hover { border-color: var(--sky); }
.ready-list input { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--royal); cursor: pointer; }
.ready-list li:has(input:checked) label { border-color: var(--royal); background: #F2F6FF; color: var(--ink); }
.ready-list em { display: block; margin-top: 2px; font-style: normal; font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; color: var(--muted-2); }
.ready-result { margin-top: 16px; font-weight: 700; color: var(--muted); }
.ready-result.ok { color: #12502E; }
.ready-result.gap { color: #8A1B1B; }
@media (max-width: 600px) { .readiness { padding: 18px; } }
/* Phones show two roster columns, so the name column can take the room it needs */
@media (max-width: 600px) { .roster th:first-child, .roster td:first-child { width: auto; white-space: nowrap; } }
/* Calculator results two-up on phones; the last one spans the row */
@media (max-width: 600px) {
  .calc-out { grid-template-columns: 1fr 1fr; gap: 10px; }
  .calc-out > div { padding: 14px; }
  .calc-out > div:last-child { grid-column: 1 / -1; }
  .calc-out b { font-size: 30px; }
}

/* Contrast (WCAG AA), measured on the live page: the sky-blue labels in the dark band were 4.24:1 against its
   lightest stop (#0B3FA8); this blue is 5.4:1. */
.statband .eyebrow.light, .statsplit .k { color: #A8C8FF; }

/* Icon tiles: services and who we serve read as a scannable grid of cards, not a wall of text */
.ico {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(145deg, #E8F0FF, #D6E4FF); color: var(--royal);
  box-shadow: inset 0 0 0 1px rgba(0, 49, 149, .08);
}
.ico svg { width: 26px; height: 26px; }
.services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service {
  display: flex; flex-direction: column; gap: 0; padding: 26px 26px 28px;
  background: #fff; border: 1px solid var(--card-line); border-top: 1px solid var(--card-line); border-radius: 16px;
}
.service .ico { margin-bottom: 18px; }
.service h3 { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--ink); }
.service p { font-size: 16px; }
.service:hover .ico { background: var(--royal); color: #fff; }
.ico { transition: background-color .18s ease, color .18s ease; }
.serve-grid { gap: 20px; }
.serve-grid > div { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; gap: 4px; }
.serve-grid .ico { margin-bottom: 12px; width: 44px; height: 44px; }
.serve-grid .ico svg { width: 24px; height: 24px; }
@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .service { padding: 20px; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; }
  .service .ico { grid-row: span 2; margin: 0; width: 44px; height: 44px; }
  .service h3 { margin: 2px 0 6px; font-size: 18px; }
  .serve-grid { grid-template-columns: 1fr; gap: 10px; }
  .serve-grid > div { padding: 14px 16px; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; row-gap: 2px; align-items: center; }
  .serve-grid .ico { grid-row: span 2; margin: 0; width: 40px; height: 40px; }
  .serve-grid h3 { font-size: 17px; }
  .serve-grid p { font-size: 15px; }
}

/* Hero roster: a pulsing dot says the card is a working demo, not a static picture */
.roster-head .live { display: inline-flex; align-items: center; gap: 8px; }
.roster-head .live i { width: 8px; height: 8px; border-radius: 50%; background: #5BE49B; box-shadow: 0 0 0 0 rgba(91, 228, 155, .6); }
@media (prefers-reduced-motion: no-preference) {
  .roster-head .live i { animation: pactPulse 2s ease-out infinite; }
}
@keyframes pactPulse { 0% { box-shadow: 0 0 0 0 rgba(91, 228, 155, .6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(91, 228, 155, 0); } }

/* ---------------------------------------------------------------
   High-tech finish (Sept 2026): light that follows the pointer, a
   scroll progress line, drifting glow in the hero, deeper buttons.
   Same words, same sections; every motion stops for reduced-motion.
   --------------------------------------------------------------- */

/* Scroll progress: a thin gradient line along the bottom of the header */
.site-header::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%;
  transform-origin: 0 50%; transform: scaleX(var(--progress, 0));
  background: linear-gradient(90deg, var(--royal), #3F6FD8 60%, var(--sky));
  pointer-events: none;
}

/* Buttons: depth and a soft glow */
.btn { border-radius: 10px; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease; }
.btn-primary { background: linear-gradient(135deg, var(--royal), #1F55C9); box-shadow: 0 10px 24px -10px rgba(0, 49, 149, .6); }
.btn-primary:hover { background: linear-gradient(135deg, var(--deep), var(--royal)); box-shadow: 0 16px 30px -12px rgba(0, 49, 149, .7); transform: translateY(-1px); }
.btn-outline:hover { transform: translateY(-1px); }
.hero-dark .btn-primary { background: #fff; box-shadow: 0 14px 34px -12px rgba(127, 178, 255, .65); }
.hero-dark .btn-primary:hover { background: var(--sky); }

/* Eyebrows get a small gradient tick */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--royal), var(--sky)); }
.eyebrow.light::before { background: linear-gradient(90deg, var(--sky), #fff); }

/* Cards: a pointer-following spotlight, a gradient edge and a lift */
.service, .serve-grid > div, .price-card, .sample-card, .calc-card, .readiness {
  position: relative; isolation: isolate;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service::before, .serve-grid > div::before, .price-card::before, .sample-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(127, 178, 255, .20), transparent 60%);
  transition: opacity .25s ease;
}
.service:hover::before, .serve-grid > div:hover::before, .price-card:hover::before, .sample-card:hover::before { opacity: 1; }
.service:hover, .serve-grid > div:hover, .price-card:hover {
  transform: translateY(-3px); border-color: rgba(63, 111, 216, .55);
  box-shadow: 0 24px 48px -28px rgba(0, 32, 95, .45), 0 0 0 1px rgba(127, 178, 255, .25);
}
.service:hover .ico, .serve-grid > div:hover .ico { background: linear-gradient(145deg, var(--royal), #3F6FD8); color: #fff; box-shadow: 0 8px 18px -8px rgba(0, 49, 149, .7); }

/* Hero: the glow drifts slowly behind the product card */
@media (prefers-reduced-motion: no-preference) {
  .hero.hero-dark::before { animation: pactDrift 18s ease-in-out infinite alternate; }
  .hero-dark .hl { background-size: 200% 100%; animation: pactSheen 6s ease-in-out infinite; }
}
@keyframes pactDrift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-60px, 40px, 0) scale(1.12); } }
@keyframes pactSheen { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero-dark .hl { background-image: linear-gradient(92deg, #8FBCFF 0%, #CFE0FF 40%, #FFFFFF 50%, #CFE0FF 60%, #8FBCFF 100%); }

@media (prefers-reduced-motion: reduce) {
  .btn, .service, .serve-grid > div, .price-card { transition: none; }
  .btn:hover, .service:hover, .serve-grid > div:hover, .price-card:hover { transform: none; }
  .service::before, .serve-grid > div::before, .price-card::before, .sample-card::before { display: none; }
}

/* Round 2: where am I, back to top, cards arrive one by one, answers slide open */
@media (min-width: 1201px) {
  .nav a { position: relative; transition: color .15s ease; }
  .nav a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--royal), var(--sky)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .25s ease;
  }
  .nav a.is-current:not(.btn) { color: var(--royal); }
  .nav a.is-current::after, .nav a:not(.btn):hover::after { transform: scaleX(1); }
}
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 70; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; text-decoration: none;
  background: linear-gradient(135deg, var(--royal), #3F6FD8); box-shadow: 0 14px 30px -12px rgba(0, 32, 95, .7);
  opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; transition: opacity .25s ease, transform .25s ease;
}
.to-top svg { width: 20px; height: 20px; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { color: #fff; transform: translateY(-2px); }
@media (max-width: 960px) { .to-top { display: none; } }

@media (prefers-reduced-motion: no-preference) {
  .reveal.is-in :is(.services-grid, .serve-grid, .price-grid, .sample-grid, .enroll-steps, .pact-list) > * { animation: pactUp .55s cubic-bezier(.22, .7, .3, 1) backwards; }
  .reveal.is-in :is(.services-grid, .serve-grid, .price-grid, .sample-grid, .enroll-steps, .pact-list) > :nth-child(2) { animation-delay: .07s; }
  .reveal.is-in :is(.services-grid, .serve-grid, .price-grid, .sample-grid, .enroll-steps, .pact-list) > :nth-child(3) { animation-delay: .14s; }
  .reveal.is-in :is(.services-grid, .serve-grid, .price-grid, .sample-grid, .enroll-steps, .pact-list) > :nth-child(4) { animation-delay: .21s; }
  .reveal.is-in :is(.services-grid, .serve-grid, .price-grid, .sample-grid, .enroll-steps, .pact-list) > :nth-child(5) { animation-delay: .28s; }
  .reveal.is-in :is(.services-grid, .serve-grid, .price-grid, .sample-grid, .enroll-steps, .pact-list) > :nth-child(n+6) { animation-delay: .35s; }
}
@keyframes pactUp { from { opacity: 0; transform: translateY(16px); } }

/* Answers slide open where the browser supports animating to auto height; elsewhere they just open */
:root { interpolate-size: allow-keywords; }
.faq-list details::details-content { block-size: 0; overflow: clip; transition: block-size .3s ease, content-visibility .3s allow-discrete; }
.faq-list details[open]::details-content { block-size: auto; }
.faq-list summary { transition: color .15s ease, padding-left .2s ease; border-radius: 8px; }
.faq-list details[open] summary { color: var(--royal); }
@media (prefers-reduced-motion: reduce) { .faq-list details::details-content { transition: none; } }

/* Round 4: the hero card sits in 3D space and tilts toward the pointer, with a slow glowing edge */
@media (min-width: 961px) {
  .roster-wrap { perspective: 1400px; }
  .roster { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .35s cubic-bezier(.2, .8, .3, 1); will-change: transform; border-radius: 16px; }
  .roster-wrap::before {
    content: ""; position: absolute; inset: -2px; border-radius: 18px; z-index: -1; pointer-events: none; opacity: .75; filter: blur(14px);
    background: conic-gradient(from var(--spin, 0deg), rgba(127, 178, 255, .0), rgba(127, 178, 255, .75), rgba(63, 111, 216, .1), rgba(255, 255, 255, .45), rgba(127, 178, 255, .0));
  }
}
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@media (prefers-reduced-motion: no-preference) and (min-width: 961px) {
  .roster-wrap::before { animation: pactSpin 9s linear infinite; }
}
@keyframes pactSpin { to { --spin: 360deg; } }
@media (prefers-reduced-motion: reduce) { .roster { transform: none !important; } }

/* Round 6: the contact section is a real call to action, not a line of text */
.contact { display: block; padding-top: 96px; padding-bottom: 104px; }
.contact-panel {
  position: relative; isolation: isolate; overflow: hidden; max-width: 1280px;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center;
  padding: 56px; border-radius: 28px; color: #fff;
  background:
    radial-gradient(700px 360px at 100% 0%, rgba(127, 178, 255, .35), transparent 60%),
    linear-gradient(150deg, #001640 0%, var(--deep) 45%, var(--royal) 100%);
  box-shadow: 0 50px 100px -50px rgba(0, 32, 95, .8);
}
.contact-panel::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 40px 40px; -webkit-mask-image: radial-gradient(600px 300px at 20% 100%, #000, transparent 70%); mask-image: radial-gradient(600px 300px at 20% 100%, #000, transparent 70%);
}
.contact-copy { flex-direction: row; align-items: center; gap: 24px; }
.contact-face { flex: 0 0 88px; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; object-position: 50% 20%;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .15), 0 0 0 8px rgba(127, 178, 255, .25), 0 16px 30px -12px rgba(0, 0, 0, .6); }
.contact h2 { color: #fff; font-size: 52px; }
.contact-copy p { color: #C9D8F5; margin-top: 10px; }
.contact-details { gap: 12px; }
.contact-btn {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 16px; text-decoration: none; color: #fff;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px);
  font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -.2px; overflow-wrap: anywhere;
  transition: background-color .2s ease, transform .2s ease, border-color .2s ease;
}
.contact-btn small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); }
.contact-btn svg { flex: 0 0 44px; width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: #fff; color: var(--royal); }
.contact-btn:hover { color: #fff; background: rgba(255, 255, 255, .16); border-color: rgba(127, 178, 255, .6); transform: translateY(-2px); }
.contact-details p { color: #A9BDE6; margin-top: 6px; }
@media (max-width: 960px) {
  .contact-panel { grid-template-columns: 1fr; gap: 28px; padding: 36px 28px; }
  .contact h2 { font-size: 40px; }
}
@media (max-width: 600px) {
  .contact { padding-top: 56px; padding-bottom: 72px; }
  .contact-panel { padding: 28px 20px; border-radius: 22px; }
  .contact-copy { flex-direction: column; align-items: flex-start; gap: 16px; }
  .contact-face { width: 72px; height: 72px; flex-basis: 72px; }
  .contact h2 { font-size: 34px; }
  .contact-btn { font-size: 18px; padding: 14px 16px; }
  .contact-btn[href^="mailto"] { font-size: 15.5px; letter-spacing: -.3px; }
}
@media (prefers-reduced-motion: reduce) { .contact-btn:hover { transform: none; } }

/* Round 9: the 15.7% band glows */
.statband { background: radial-gradient(700px 420px at 12% 20%, rgba(127, 178, 255, .30), transparent 65%), linear-gradient(155deg, #001A4D 0%, #00205F 30%, #003195 70%, #0B3FA8 100%); }
.bignum {
  background: linear-gradient(180deg, #FFFFFF 30%, #A8C8FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 18px 40px rgba(127, 178, 255, .35));
}
.statsplit > div { background: rgba(255, 255, 255, .04); backdrop-filter: blur(4px); transition: transform .2s ease, border-color .2s ease; }
.statsplit > div.on {
  background: linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(127, 178, 255, .10)); border-color: rgba(168, 200, 255, .6);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.statsplit > div.on .k::before { content: "\2713  "; }

/* Round 10: the calculator slider fills as you drag */
.calc-row input[type=range] { -webkit-appearance: none; appearance: none; height: 10px; border-radius: 99px; outline-offset: 6px;
  background: linear-gradient(90deg, var(--royal), #3F6FD8 var(--pct, 10%), #DCE4F2 var(--pct, 10%)); }
.calc-row input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 3px solid var(--royal);
  box-shadow: 0 6px 16px -4px rgba(0, 49, 149, .6), 0 0 0 6px rgba(63, 111, 216, .14); cursor: grab; transition: transform .15s ease; }
.calc-row input[type=range]::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.12); }
.calc-row input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--royal); box-shadow: 0 6px 16px -4px rgba(0, 49, 149, .6); cursor: grab; }
.calc-row input[type=range]::-moz-range-track { background: transparent; }
.calc-out > div { transition: transform .2s ease, box-shadow .2s ease; }
.calc-out > div:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -18px rgba(0, 32, 95, .5); }
.calc-out b { background: linear-gradient(135deg, var(--royal), #3F6FD8); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Round 17: a login pill in the header, a richer footer */
@media (min-width: 1201px) {
  .nav a.nav-login { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1.5px solid var(--card-line); border-radius: 99px; transition: border-color .15s ease, background-color .15s ease; }
  .nav a.nav-login svg { width: 15px; height: 15px; }
  .nav a.nav-login:hover { border-color: var(--royal); background: var(--mist); }
  .nav a.nav-login::after { display: none; }
}
.nav a.nav-login svg { width: 16px; height: 16px; display: inline-block; vertical-align: -2px; margin-right: 6px; }
.site-footer { position: relative; background: radial-gradient(800px 300px at 90% 0%, rgba(127, 178, 255, .18), transparent 65%), linear-gradient(170deg, #001640, #00205F 60%, #00296E); }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--sky), transparent); opacity: .6; }
.footer-social { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 600; font-size: 15px; }
.footer-social svg { width: 18px; height: 18px; padding: 5px; box-sizing: content-box; border-radius: 8px; background: rgba(255, 255, 255, .1); }
.footer-contact a:first-child { font-size: 22px; }

/* Round 18: trust points as glass chips; the hero copy eases in on arrival */
.hero-dark .trustbar { gap: 8px; }
.hero-dark .trustbar li {
  padding: 7px 12px 7px 30px; border-radius: 99px; font-size: 13.5px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(6px);
}
.hero-dark .trustbar li::before { left: 12px; top: 50%; margin-top: -5px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: pactUp .7s cubic-bezier(.22, .7, .3, 1) backwards; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .hero-copy > :nth-child(n+5) { animation-delay: .32s; }
  .roster-wrap { animation: pactUp .9s .2s cubic-bezier(.22, .7, .3, 1) backwards; }
}

/* Round 19: the readiness check fills a meter as you tick */
.ready-meter { height: 10px; margin-top: 16px; border-radius: 99px; background: var(--line-2); overflow: hidden; box-shadow: inset 0 1px 2px rgba(0, 32, 95, .08); }
.ready-meter span { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #E8A33A, #F2C46B); transition: width .45s cubic-bezier(.2, .8, .3, 1), background .3s ease; }
.ready-meter span.full { background: linear-gradient(90deg, #1F8A52, #2FAE6B); box-shadow: 0 0 14px rgba(47, 174, 107, .6); }
.ready-list label { transition: border-color .15s ease, background-color .15s ease, transform .15s ease; }
.ready-list label:hover { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .ready-meter span { transition: none; } .ready-list label:hover { transform: none; } }

/* Round 20: the enrollment steps read as one journey */
@media (min-width: 900px) {
  .enroll-steps { position: relative; isolation: isolate; }
  .enroll-steps::before {
    content: ""; position: absolute; z-index: -1; left: 4%; right: 4%; top: 36px; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, var(--royal), #3F6FD8 50%, var(--sky)); box-shadow: 0 0 14px rgba(63, 111, 216, .45);
  }
}
.enroll-steps li { border-radius: 16px; box-shadow: 0 14px 30px -24px rgba(0, 32, 95, .5); }

/* Round 21: the founder photo gets a gradient frame, the contact lines become pills */
.founder-photo { border-radius: 22px; padding: 5px; background: linear-gradient(145deg, var(--royal), var(--sky)); box-shadow: 0 30px 60px -30px rgba(0, 32, 95, .6); }
.founder-lines a {
  display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 99px; font-size: 17px;
  background: #fff; border: 1.5px solid var(--card-line); box-shadow: 0 8px 20px -14px rgba(0, 32, 95, .45);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.founder-lines a:hover { text-decoration: none; border-color: var(--royal); transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(0, 32, 95, .55); }
@media (prefers-reduced-motion: reduce) { .founder-lines a:hover { transform: none; } }

/* Round 22: sample documents feel like paper you can pick up */
.sample-card { border-radius: 18px; }
.sample-card .paper { transition: transform .35s cubic-bezier(.2, .8, .3, 1), box-shadow .35s ease; transform-origin: 50% 80%; }
.sample-card:hover .paper { transform: rotate(-2.5deg) translateY(-6px) scale(1.03); box-shadow: 0 26px 40px -20px rgba(0, 32, 95, .55); }
.sample-go span { display: inline-block; transition: transform .2s ease; }
.sample-card:hover .sample-go span { transform: translateX(4px); }

/* Round 23: service icons give a small nudge on hover */
@media (prefers-reduced-motion: no-preference) {
  .service:hover .ico svg, .serve-grid > div:hover .ico svg { animation: pactNudge .6s cubic-bezier(.3, 1.6, .5, 1); }
}
@keyframes pactNudge { 0% { transform: scale(1) rotate(0); } 40% { transform: scale(1.18) rotate(-8deg); } 100% { transform: scale(1) rotate(0); } }
@media (prefers-reduced-motion: reduce) { .sample-card:hover .paper, .sample-card:hover .sample-go span { transform: none; } }

/* Round 24: each market range drawn as a band on its own scale */
.ranges .band { position: relative; display: block; height: 8px; margin: 10px 0 30px; border-radius: 99px; background: #DCE6F7; }
.ranges .band i { position: absolute; top: 0; bottom: 0; left: var(--lo); right: calc(100% - var(--hi)); border-radius: 99px;
  background: linear-gradient(90deg, var(--royal), #3F6FD8); box-shadow: 0 0 10px rgba(63, 111, 216, .45); }
.ranges .band em { position: absolute; top: 12px; font-style: normal; font-size: 11px; color: var(--muted-2); }
.ranges .band em:first-of-type { left: 0; }
.ranges .band em:last-of-type { right: 0; }

/* Round 25: the comparison reads as problem -> answer; the pact's promises get check marks */
.compare-row { border-radius: 16px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.compare-row:hover { transform: translateY(-2px); border-color: rgba(63, 111, 216, .5); box-shadow: 0 18px 36px -26px rgba(0, 32, 95, .55); }
.compare-row .was { position: relative; padding-left: 52px; background: linear-gradient(90deg, #FFF4F4, #F7F9FD 70%); }
.compare-row .was::before {
  content: "\2715"; position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 11px; color: #fff; background: #C62F2F;
}
.compare-row .now { position: relative; padding-left: 56px; }
.compare-row .now::before {
  content: "\2713"; position: absolute; left: 20px; top: 22px; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 12px; color: #fff; background: linear-gradient(135deg, #2BAA67, #1F8A52);
  box-shadow: 0 4px 10px -4px rgba(31, 138, 82, .6);
}
.pact { background: radial-gradient(700px 400px at 0% 100%, rgba(127, 178, 255, .25), transparent 60%), linear-gradient(160deg, #00205F, var(--royal) 60%, #0B3FA8); }
.promise { position: relative; padding-left: 48px; }
.promise::before {
  content: "\2713"; position: absolute; left: 0; top: 24px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--royal); background: #fff;
  box-shadow: 0 0 0 6px rgba(127, 178, 255, .2), 0 8px 18px -8px rgba(0, 0, 0, .5);
}
@media (max-width: 600px) { .compare-row .was { padding-left: 48px; } .compare-row .now { padding-left: 50px; } .compare-row .now::before { left: 16px; } }
@media (prefers-reduced-motion: reduce) { .compare-row:hover { transform: none; } }

/* Round 29: the phone call bar gets icons and depth */
@media (max-width: 960px) {
  .callbar { background: linear-gradient(120deg, #001640, var(--deep) 45%, var(--royal)); box-shadow: 0 -10px 30px -12px rgba(0, 16, 64, .6); }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; }
  .callbar a svg { width: 17px; height: 17px; flex: 0 0 17px; }
  .callbar a + a { background: rgba(255, 255, 255, .08); border-left-color: rgba(255, 255, 255, .18); }
}

/* Round 30: a 404 that still looks like Pact */
.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(700px 360px at 50% 0%, rgba(127, 178, 255, .30), transparent 65%), #fff; }
.lost::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .6; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(500px 300px at 50% 40%, #000, transparent 75%); mask-image: radial-gradient(500px 300px at 50% 40%, #000, transparent 75%); }
.lost-inner { display: grid; gap: 18px; justify-items: center; }
.lost-code { font-size: clamp(96px, 18vw, 180px); line-height: .9; letter-spacing: -6px;
  background: linear-gradient(180deg, var(--royal), #7FB2FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lost h1 { font-size: 40px; color: var(--ink); }
.lost-copy { font-size: 18px; color: var(--muted); }
.lost-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Round 34: "Who we work with" matches the other section headings; its cards get the same depth */
@media (min-width: 961px) { .serve h2 { font-size: 44px; letter-spacing: -1px; } }
.serve-grid > div { background: linear-gradient(180deg, #fff, #F8FAFF); box-shadow: 0 14px 30px -26px rgba(0, 32, 95, .55); border-radius: 16px; }

/* Round 35: a slow light sweep across the hero's main button */
.hero-dark .hero-actions .btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.hero-dark .hero-actions .btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(127, 178, 255, .55), transparent); transform: skewX(-20deg);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-dark .hero-actions .btn-primary::after { animation: pactSweep 5s ease-in-out 1.5s infinite; }
}
@keyframes pactSweep { 0% { left: -60%; } 30%, 100% { left: 130%; } }

/* Round 40: the portal showcase floats in a soft light */
.portal-grid { position: relative; isolation: isolate; }
.portal-grid::before {
  content: ""; position: absolute; z-index: -1; inset: -40px -20px; pointer-events: none;
  background: radial-gradient(520px 320px at 30% 40%, rgba(127, 178, 255, .30), transparent 70%), radial-gradient(360px 300px at 85% 55%, rgba(63, 111, 216, .20), transparent 70%);
}
.shot { border-radius: 16px; box-shadow: 0 40px 80px -40px rgba(0, 32, 95, .55), 0 0 0 1px rgba(255, 255, 255, .6) inset; }
.phone-body { box-shadow: 0 40px 70px -30px rgba(0, 32, 95, .6); }
@media (prefers-reduced-motion: no-preference) and (min-width: 961px) {
  .phone { animation: pactFloat 6s ease-in-out infinite; }
}
@keyframes pactFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Rounds 42-43: the pricing form lives in the contact panel */
.contact-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-areas: "copy form" "details form"; align-items: start; row-gap: 28px; }
.contact-copy { grid-area: copy; }
.contact-details { grid-area: details; }
.quote-form { grid-area: form; background: #fff; color: var(--ink); border-radius: 20px; padding: 26px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); display: grid; gap: 12px; }
.quote-form h3 { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--royal); }
.qf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quote-form label { display: grid; gap: 5px; font-size: 13px; font-weight: 700; color: var(--muted); }
.quote-form input { font: inherit; font-size: 16px; font-weight: 400; color: var(--ink); padding: 11px 12px; border: 1.5px solid var(--card-line); border-radius: 10px; background: #fff; width: 100%; min-width: 0; }
.quote-form input:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 4px rgba(0, 49, 149, .12); }
.quote-form .btn { width: 100%; margin-top: 4px; }
.quote-form .btn:disabled { opacity: .7; cursor: progress; }
.qf-note { font-size: 13px; color: var(--muted-2); text-align: center; }
.qf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote-status { padding: 12px 14px; border-radius: 12px; font-size: 15px; font-weight: 600; }
.quote-status.ok { background: #DDF5E6; color: #12502E; }
.quote-status.err { background: #FDE6E6; color: #8A1B1B; }
.quote-form.is-sent .qf-row, .quote-form.is-sent button, .quote-form.is-sent .qf-note { display: none; }
@media (max-width: 960px) {
  .contact-panel { grid-template-columns: 1fr; grid-template-areas: "copy" "form" "details"; }
}
@media (max-width: 600px) { .qf-row { grid-template-columns: 1fr; } .quote-form { padding: 20px 16px; } }

#quote, #contact { scroll-margin-top: 96px; }

/* Any employer (non-DOT) */
.offer-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 38px; }
.offer { display: flex; flex-direction: column; }
.offer .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--mist); color: var(--royal); display: grid; place-items: center; margin-bottom: 16px; }
.offer .ico svg { width: 24px; height: 24px; }
.offer h3 { color: var(--royal); margin-bottom: 8px; }
.offer > p { color: var(--muted); margin-bottom: 18px; }
.offer .ticks li { font-size: 16px; }
.employer-foot { margin-top: 30px; }
.employer-tn { max-width: 760px; color: var(--ink); font-size: 17px; }
.employer-foot .fineprint { margin-top: 10px; }
.employer-foot .btn { margin-top: 22px; }
.services .service a, .serve-grid h3 a { color: var(--royal); }
.serve-grid h3 a { text-decoration: none; }
.serve-grid h3 a:hover { text-decoration: underline; }
@media (max-width: 960px) { .offer-grid { grid-template-columns: 1fr; max-width: 620px; } }
