/* My Shift Bid — marketing site
   Product of Noble Rescue Group, LLC
   Palette matches the live product UI. Light-theme primary (intentional). */

:root {
  --ink: #1f2733;
  --soft: #5b6472;
  --page: #f4f6f8;
  --white: #ffffff;
  --line: #e5e9ef;
  --slate: #232a34;
  --slate-2: #2f3945;
  --slate-text: #c7cdd6;
  --teal: #c8172a;
  --teal-bright: #e23b47;
  --navy: #274c77;

  --ok: #1c7a43;      --ok-bg: #e7f6ec;
  --danger: #c0392b;  --danger-bg: #fdecec;
  --warn: #e8912d;    --warn-bg: #fdf3e4;
  --pending: #e6c53a; --pending-bg: #fbf6dd;
  --empty: #eef1f5;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --r-sm: 8px;
  --r: 10px;
  --r-lg: 16px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(31, 39, 51, .05), 0 1px 3px rgba(31, 39, 51, .06);
  --shadow: 0 6px 18px rgba(31, 39, 51, .08), 0 2px 6px rgba(31, 39, 51, .05);
  --shadow-lg: 0 24px 60px rgba(31, 39, 51, .16), 0 8px 20px rgba(31, 39, 51, .08);
  --shadow-teal: 0 10px 28px rgba(200,23,42, .28);

  --maxw: 1160px;
  --gap: clamp(1rem, 3vw, 2rem);
  --pad-x: clamp(1.1rem, 5vw, 2.5rem);

  --header-h: 68px;
}

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--page);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; text-wrap: balance; color: var(--ink); letter-spacing: -0.015em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- utilities ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal); margin: 0 0 .85rem;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--teal-bright));
}
.section { padding-block: clamp(3.2rem, 8vw, 6rem); }
.section-head { max-width: 44rem; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 {
  font-size: clamp(1.7rem, 4.2vw, 2.55rem); font-weight: 800;
}
.section-head .sub {
  margin-top: .85rem; color: var(--soft); font-size: clamp(1.02rem, 2.3vw, 1.18rem);
  max-width: 40rem;
}
.section-head.center .sub { margin-inline: auto; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--teal); color: #fff; padding: .6rem 1rem; border-radius: var(--r-sm);
  font-weight: 600; transition: top .18s ease;
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 650; font-size: .98rem; line-height: 1;
  padding: .82rem 1.35rem; border-radius: var(--r-pill);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--teal-bright), var(--teal) 55%, var(--navy));
  color: #fff; box-shadow: var(--shadow-teal);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(200,23,42,.36); color:#fff; }
.btn-ghost {
  background: var(--white); color: var(--ink); border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: #cfd6df; box-shadow: var(--shadow); }
.btn-on-dark {
  background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28);
}
.btn-on-dark:hover { background: rgba(255,255,255,.16); color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn .ico { width: 1.05em; height: 1.05em; }

/* icon helper */
.ico { width: 1.25em; height: 1.25em; display: inline-block; vertical-align: middle; color: currentColor; flex: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(16, 22, 45, .90);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.site-header.scrolled {
  border-bottom-color: rgba(255, 255, 255, .14);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .28);
  background: rgba(16, 22, 45, .96);
}
.nav {
  height: var(--header-h);
  display: flex; align-items: center; gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 34px; width: auto; }
.brand:hover { text-decoration: none; }
.nav-links {
  display: flex; align-items: center; gap: .35rem; margin-left: auto;
}
.nav-links a:not(.btn) {
  color: rgba(255,255,255,.82); font-weight: 550; font-size: .95rem;
  padding: .5rem .7rem; border-radius: var(--r-sm);
  transition: color .15s ease, background .15s ease;
}
.nav-links a:not(.btn):hover { color: #fff; background: rgba(255,255,255,.12); text-decoration: none; }
.nav-links a.is-active:not(.btn) { color: #fff; background: rgba(255,255,255,.16); }
.nav-cta { margin-left: .4rem; }

.nav-toggle {
  display: none; margin-left: auto;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.24); border-radius: var(--r-sm);
  width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center;
  color: #fff;
}
.nav-toggle .bars { display: block; width: 20px; height: 14px; position: relative; }
.nav-toggle .bars span {
  position: absolute; left: 0; height: 2px; width: 100%; background: currentColor; border-radius: 2px;
  transition: transform .22s ease, opacity .18s ease, top .22s ease;
}
.nav-toggle .bars span:nth-child(1) { top: 0; }
.nav-toggle .bars span:nth-child(2) { top: 6px; }
.nav-toggle .bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: rgba(16,22,45,.98); border-bottom: 1px solid rgba(255,255,255,.12);
    padding: 1rem var(--pad-x) 1.4rem; margin: 0;
    box-shadow: 0 18px 40px rgba(0,0,0,.35);
    transform: translateY(-8px); opacity: 0; pointer-events: none; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; visibility: visible; }
  .nav-links a:not(.btn) { padding: .8rem .7rem; font-size: 1.02rem; }
  .nav-cta { margin: .6rem 0 0; width: 100%; }
}

/* ---------- hero ---------- */
/* hero: full-bleed 3-image crossfade carousel with copy over a dark scrim */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-carousel { position: absolute; inset: 0; z-index: -1; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; animation: heroFade 45s infinite; will-change: opacity;
}
.hero-slide:nth-child(1) { background-image: url(/assets/img/hero-fire.jpg); animation-delay: 0s; }
.hero-slide:nth-child(2) { background-image: url(/assets/img/hero-ems.jpg); animation-delay: 15s; }
.hero-slide:nth-child(3) { background-image: url(/assets/img/hero-police.jpg); animation-delay: 30s; }
@keyframes heroFade {
  0% { opacity: 0; } 3% { opacity: 1; } 30% { opacity: 1; } 33% { opacity: 0; } 100% { opacity: 0; }
}
/* rotating copy — crossfades in lockstep with the images (same 45s cadence) */
.hero-rotator { display: grid; }
.hero-slidecopy { grid-area: 1 / 1; opacity: 0; animation: heroFade 45s infinite; }
.hero-slidecopy:nth-child(1) { animation-delay: 0s; }
.hero-slidecopy:nth-child(2) { animation-delay: 15s; }
.hero-slidecopy:nth-child(3) { animation-delay: 30s; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(16,22,45,.93), rgba(16,22,45,.76) 44%, rgba(16,22,45,.34));
}
.hero-inner {
  display: flex; align-items: center; min-height: min(86vh, 720px);
  padding-block: clamp(4rem, 10vw, 7rem);
}
.hero-copy { max-width: 40rem; }
.pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  color: #fff; font-weight: 600; font-size: .82rem; letter-spacing: .02em;
  padding: .42rem .85rem; border-radius: var(--r-pill); margin-bottom: 1.3rem;
  backdrop-filter: blur(4px);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-bright); box-shadow: 0 0 0 4px rgba(226,59,71,.32); }
.hero h1, .hero .hero-headline {
  font-size: clamp(2.2rem, 6vw, 3.9rem); font-weight: 850; letter-spacing: -0.03em;
  line-height: 1.04; color: #fff; text-shadow: 0 2px 22px rgba(0,0,0,.38); margin: 0;
}
.hero h1 .accent, .hero .hero-headline .accent { color: #ff6060; }
.hero .subhead {
  margin-top: 1.15rem; font-size: clamp(1.05rem, 2.5vw, 1.24rem); color: rgba(255,255,255,.92);
  max-width: 34rem; text-shadow: 0 1px 12px rgba(0,0,0,.32);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-trust {
  margin-top: 1.7rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.82); font-size: .92rem; max-width: 32rem;
  display: flex; gap: .6rem; align-items: flex-start;
}
.hero-trust .ico { color: #ff6060; width: 1.15rem; height: 1.15rem; margin-top: .12rem; }
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slidecopy { animation: none; }
  .hero-slide:nth-child(1), .hero-slidecopy:nth-child(1) { opacity: 1; }
}

.hero-media { position: relative; }
.hero-media .frame {
  position: relative; border-radius: var(--r-lg);
  background: linear-gradient(160deg, #fff, #f7f9fb);
  padding: 10px; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  transform: perspective(1600px) rotateY(-7deg) rotateX(2.5deg);
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.hero-media .frame:hover { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg); }
.hero-media img { border-radius: var(--r); display: block; width: 100%; }
.float-pill {
  position: absolute; z-index: 3;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
  border-radius: var(--r-pill); padding: .5rem .85rem;
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 650; color: var(--ink);
}
.float-pill .ico { width: 1rem; height: 1rem; color: var(--teal); }
.float-pill.live { bottom: -14px; left: -10px; }
.float-pill.live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.float-pill.top { top: -16px; right: 8%; color: var(--navy); }

@media (prefers-reduced-motion: reduce) {
  .hero-media .frame { transform: none; }
  .hero-media .frame:hover { transform: none; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media .frame { transform: none; }
  .float-pill.top { right: 2%; }
}

/* ---------- trust strip ---------- */
.trust {
  background: var(--slate);
  color: var(--slate-text);
}
.trust .wrap { padding-block: 1.8rem; }
.trust-line { text-align: center; color: #fff; font-weight: 600; font-size: 1.02rem; margin-bottom: 1.1rem; }
.trust-badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem 1rem;
}
.trust-badges li {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-pill); padding: .5rem .95rem;
  font-size: .88rem; font-weight: 550; color: var(--slate-text);
}
.trust-badges .ico { width: 1.05rem; height: 1.05rem; color: var(--teal-bright); }

/* ---------- lifecycle ---------- */
.lifecycle { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lifecycle-ribbon {
  margin: 0 0 clamp(1.6rem, 3vw, 2.4rem);
  overflow-x: auto; border-radius: var(--r); padding-bottom: 4px;
}
.lifecycle-ribbon img { min-width: 720px; width: 100%; }
.lifecycle-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem;
}
.step-card {
  background: var(--page); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.25rem 1.3rem; position: relative;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d7dde5; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--teal-bright), var(--navy));
  color: #fff; font-weight: 800; font-size: .95rem; margin-bottom: .8rem;
  font-variant-numeric: tabular-nums;
}
.step-card h3 { font-size: 1.12rem; font-weight: 750; margin-bottom: .4rem; }
.step-card p { color: var(--soft); font-size: .94rem; }

/* ---------- pillars grid ---------- */
.pillars-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.1rem;
}
.pillar {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.5rem 1.5rem 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  position: relative; overflow: hidden;
}
.pillar::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--teal), var(--teal-bright));
  transform: scaleX(0); transform-origin: left; transition: transform .28s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d7dde5; }
.pillar:hover::after { transform: scaleX(1); }
.pillar .pico {
  width: 46px; height: 46px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(200,23,42,.09); color: var(--teal); margin-bottom: 1rem;
}
.pillar .pico .ico { width: 24px; height: 24px; }
.pillar h3 { font-size: 1.12rem; font-weight: 750; margin-bottom: .5rem; }
.pillar p { color: var(--soft); font-size: .93rem; }
.pillar.featured {
  background: linear-gradient(165deg, #ecf7f6, #ffffff 60%);
  border-color: rgba(200,23,42,.3);
}
.pillar.featured .pico { background: var(--teal); color: #fff; }
.pillar.featured::after { transform: scaleX(1); }
.pillar .tag {
  display: inline-block; margin-bottom: .7rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); background: rgba(200,23,42,.1); padding: .2rem .55rem; border-radius: var(--r-pill);
}

/* ---------- spotlights ---------- */
.spotlights { background: var(--page); }
.spotlight { padding-block: clamp(2.4rem, 6vw, 4.2rem); }
.spotlight + .spotlight { border-top: 1px solid var(--line); }
.spotlight-grid {
  display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: center;
}
.spotlight.reverse .spotlight-grid .spot-media { order: 2; }
.spotlight.reverse .spotlight-grid .spot-copy { order: 1; }
.spot-copy { max-width: 34rem; }
.spot-copy h2 { font-size: clamp(1.55rem, 3.6vw, 2.25rem); font-weight: 800; margin-bottom: .9rem; }
.spot-copy .body { color: var(--soft); font-size: 1.06rem; margin-bottom: 1.3rem; }
.spot-list { display: grid; gap: .7rem; }
.spot-list li {
  display: flex; gap: .7rem; align-items: flex-start; font-size: .98rem; color: var(--ink);
}
.spot-list .ico {
  width: 1.3rem; height: 1.3rem; flex: none; color: var(--ok);
  background: var(--ok-bg); border-radius: 50%; padding: 3px; margin-top: .1rem;
}
.spot-media {
  background: linear-gradient(160deg, #fff, #f6f8fa);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(.8rem, 2vw, 1.4rem); box-shadow: var(--shadow);
}
.spot-media img { border-radius: var(--r); width: 100%; }

@media (max-width: 820px) {
  .spotlight-grid { grid-template-columns: 1fr; }
  .spotlight.reverse .spotlight-grid .spot-media,
  .spot-media { order: -1; }
  .spotlight.reverse .spotlight-grid .spot-copy { order: 0; }
}

/* ---------- platform + security band ---------- */
.platform {
  background: linear-gradient(180deg, var(--slate), var(--slate-2));
  color: var(--slate-text);
}
.platform .section-head h2 { color: #fff; }
.platform .section-head .sub { color: var(--slate-text); }
.platform .eyebrow { color: var(--teal-bright); }
.platform .eyebrow::before { background: linear-gradient(90deg, var(--teal-bright), #fff); }
.platform-layout {
  display: grid; grid-template-columns: 1fr; gap: clamp(1.8rem, 4vw, 2.6rem);
}
.security-figure {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg); padding: clamp(1rem, 3vw, 1.8rem); margin-bottom: 0;
}
.security-figure img { width: 100%; }
.platform-cols { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.6rem,4vw,2.8rem); align-items: center; }
@media (max-width: 900px) { .platform-cols { grid-template-columns: 1fr; } }
.platform-items {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem;
}
.plat-item {
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r); padding: 1.15rem 1.2rem;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.plat-item:hover { background: rgba(255,255,255,.08); border-color: rgba(226,59,71,.4); transform: translateY(-2px); }
.plat-item .pico { width: 38px; height: 38px; border-radius: 10px; background: rgba(226,59,71,.16); color: var(--teal-bright); display: inline-flex; align-items: center; justify-content: center; margin-bottom: .75rem; }
.plat-item .pico .ico { width: 20px; height: 20px; }
.plat-item h3 { color: #fff; font-size: 1.02rem; font-weight: 700; margin-bottom: .35rem; }
.plat-item p { color: var(--slate-text); font-size: .9rem; }

/* ---------- stats ---------- */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats .wrap { padding-block: clamp(2.4rem, 5vw, 3.4rem); }
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem;
}
.stat {
  text-align: center; padding: 1.2rem 1rem;
  border-radius: var(--r); border: 1px solid var(--line); background: var(--page);
}
.stat .value {
  font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 850; color: var(--teal);
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.05;
}
.stat .label { margin-top: .5rem; color: var(--soft); font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--page); }
.faq-list { max-width: 50rem; margin-inline: auto; display: grid; gap: .8rem; }
.faq-item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; transition: box-shadow .18s ease, border-color .18s ease;
}
.faq-item.open { box-shadow: var(--shadow); border-color: #d7dde5; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.35rem; font-size: 1.06rem; font-weight: 700; color: var(--ink);
}
.faq-q:hover { color: var(--teal); }
.faq-q .chev {
  flex: none; width: 22px; height: 22px; color: var(--teal);
  transition: transform .25s ease;
}
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { overflow: hidden; height: 0; transition: height .28s ease; }
.faq-a-inner { padding: 0 1.35rem 1.2rem; color: var(--soft); font-size: 1rem; }
@media (prefers-reduced-motion: reduce) {
  .faq-a { transition: none; }
  .faq-q .chev { transition: none; }
}

/* ---------- final CTA ---------- */
.final-cta { background: var(--page); }
.final-cta .inner {
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 320px at 85% -20%, rgba(226,59,71,.35), transparent 60%),
    radial-gradient(600px 300px at 0% 120%, rgba(39,76,119,.5), transparent 60%),
    linear-gradient(150deg, var(--teal), #12716f 55%, var(--navy));
  color: #fff; border-radius: var(--r-lg);
  padding: clamp(2.4rem, 6vw, 4.2rem) clamp(1.5rem, 5vw, 3.5rem);
  text-align: center; box-shadow: var(--shadow-lg);
}
.final-cta h2 { color: #fff; font-size: clamp(1.8rem, 4.5vw, 2.7rem); font-weight: 850; }
.final-cta p { color: rgba(255,255,255,.9); margin: 1rem auto 1.8rem; max-width: 40rem; font-size: 1.1rem; }
.final-cta .btn-primary {
  background: #fff; color: var(--teal); box-shadow: 0 10px 30px rgba(0,0,0,.2);
}
.final-cta .btn-primary:hover { background: #fff; color: var(--navy); }

/* ---------- footer ---------- */
.site-footer { background: var(--slate); color: var(--slate-text); }
.site-footer .wrap { padding-block: clamp(2.6rem, 6vw, 3.6rem) 1.5rem; }
.footer-top {
  display: grid; grid-template-columns: 1.3fr repeat(5, minmax(120px, 1fr));
  gap: clamp(1.4rem, 3vw, 2rem); padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand img { height: 34px; width: auto; margin-bottom: 1rem;
  filter: brightness(0) invert(1); }   /* white logo on the dark footer */
.footer-brand p { color: var(--slate-text); font-size: .9rem; max-width: 22rem; }
.footer-col h3, .footer-col h4 {   /* A11Y-09: footers are h3 (no level skip); keep the styling */
  color: #fff; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  font-weight: 700; margin-bottom: .9rem;
}
.footer-col ul { display: grid; gap: .55rem; }
.footer-col a {
  color: var(--slate-text); font-size: .92rem;
  transition: color .15s ease;
}
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-note { color: var(--slate-text); font-size: .92rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  padding-top: 1.5rem;
}
.footer-bottom .copyright { color: #fff; font-weight: 650; font-size: .95rem; }
.footer-legal { color: rgba(199,205,214,.7); font-size: .8rem; max-width: 46rem; margin-top: 1rem; }

@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 500px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ---------- pricing ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.billing-wrap { display: flex; justify-content: center; margin-top: 1.5rem; }
.billing-toggle {
  display: inline-flex; gap: 4px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 4px; box-shadow: var(--shadow-sm);
}
.billing-toggle button {
  border: 0; background: none; cursor: pointer; border-radius: var(--r-pill);
  padding: .55rem 1.15rem; font-weight: 650; font-size: .92rem; color: var(--soft);
  display: inline-flex; align-items: center; gap: .45rem;
  transition: background .16s ease, color .16s ease;
}
.billing-toggle button:hover { color: var(--ink); }
.billing-toggle button.is-on {
  background: linear-gradient(135deg, var(--teal-bright), var(--teal)); color: #fff;
  box-shadow: var(--shadow-teal);
}
.billing-toggle .tag {
  font-size: .68rem; font-weight: 800; letter-spacing: .02em;
  background: var(--ok-bg); color: var(--ok); padding: .12rem .45rem; border-radius: var(--r-pill);
}
.billing-toggle button.is-on .tag { background: rgba(255,255,255,.22); color: #fff; }

.pricing-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; align-items: stretch; }
@media (max-width: 1000px) { .pricing-plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pricing-plans { grid-template-columns: 1fr; } }

.plan {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.6rem 1.4rem; box-shadow: var(--shadow-sm); position: relative;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d7dde5; }
.plan.featured { border-color: rgba(200,23,42,.5); box-shadow: var(--shadow); }
.plan.featured::before {
  content: "Most popular"; position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--teal-bright), var(--teal)); color: #fff;
  font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: .3rem .75rem; border-radius: var(--r-pill); white-space: nowrap; box-shadow: var(--shadow-teal);
}
.plan-name { font-size: 1.18rem; font-weight: 800; }
.plan-cap { color: var(--soft); font-size: .9rem; margin-top: .2rem; }
.plan-price { margin: 1.15rem 0 .35rem; min-height: 2.9rem; }
.plan .amt { display: none; align-items: baseline; gap: .12rem; }
.pricing-plans[data-billing="monthly"] .plan .amt-monthly,
.pricing-plans[data-billing="annual"] .plan .amt-annual,
.plan .amt-both { display: inline-flex; }
.plan .amt .num { font-size: 2.2rem; font-weight: 850; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.plan .amt .per { color: var(--soft); font-weight: 600; font-size: .95rem; }
.plan-setup { font-size: .82rem; color: var(--soft); }
.price-note { font-size: .82rem; color: var(--soft); margin-top: .55rem; min-height: 2.6rem; }
.price-note .note-monthly, .price-note .note-annual, .price-note .note-both { display: block; }
.price-note .note-annual { display: none; }
.pricing-plans[data-billing="annual"] .price-note .note-monthly { display: none; }
.pricing-plans[data-billing="annual"] .price-note .note-annual { display: block; }
.plan-incl { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink); }
.plan-incl a { font-weight: 600; }
.plan-cta { margin-top: auto; padding-top: 1.15rem; }
.plan-cta .btn { width: 100%; }
.pricing-fineprint { text-align: center; color: var(--soft); font-size: .88rem; margin-top: 1.4rem; }

.incl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .7rem 1.5rem; }
.incl-grid li { display: flex; gap: .6rem; align-items: flex-start; font-size: .96rem; color: var(--ink); }
.incl-grid .ico { width: 1.25rem; height: 1.25rem; flex: none; color: var(--ok); background: var(--ok-bg); border-radius: 50%; padding: 3px; margin-top: .15rem; }
.incl-note {
  margin-top: 1.5rem; padding: 1rem 1.2rem; border-radius: var(--r);
  background: var(--ok-bg); color: var(--ok); font-weight: 600; font-size: .96rem;
  display: flex; gap: .6rem; align-items: center;
}
.incl-note .ico { width: 1.25rem; height: 1.25rem; flex: none; }

.extras-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.1rem; }
.extra { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem 1.4rem; box-shadow: var(--shadow-sm); }
.extra .eico { width: 44px; height: 44px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: rgba(200,23,42,.09); color: var(--teal); margin-bottom: .9rem; }
.extra .eico .ico { width: 23px; height: 23px; }
.extra h3 { font-size: 1.06rem; font-weight: 750; margin-bottom: .4rem; }
.extra p { color: var(--soft); font-size: .93rem; }

.compare-wrap { max-width: 40rem; }
.compare-table { width: 100%; min-width: 30rem; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.compare-table th, .compare-table td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
.compare-table thead th { background: var(--page); font-weight: 700; font-size: .76rem; text-transform: uppercase; letter-spacing: .05em; color: var(--soft); }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table td .save { color: var(--ok); font-weight: 700; }
.compare-table td strong { font-variant-numeric: tabular-nums; }

.hardship {
  background: linear-gradient(135deg, #eef6f5, #ffffff 70%);
  border: 1px solid rgba(200,23,42,.28); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 4vw, 2.3rem); display: flex; gap: 1.2rem; align-items: flex-start;
}
.hardship .ico { color: var(--teal); width: 2rem; height: 2rem; flex: none; margin-top: .1rem; }
.hardship h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: .45rem; }
.hardship p { color: var(--soft); max-width: 46rem; }
.hardship a { font-weight: 650; }

/* home pricing teaser */
.pricing-teaser { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.teaser-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.7rem; }
@media (max-width: 760px) { .teaser-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .teaser-grid { grid-template-columns: 1fr; } }
.teaser-card { border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem 1rem; text-align: center; background: var(--page); }
.teaser-card .tname { font-weight: 750; font-size: .95rem; }
.teaser-card .tprice { font-size: 1.55rem; font-weight: 850; color: var(--teal); margin: .35rem 0 .15rem; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.teaser-card .tprice .per { font-size: .78rem; color: var(--soft); font-weight: 600; }
.teaser-card .tcap { font-size: .82rem; color: var(--soft); }
.teaser-cta { text-align: center; }

/* ---------- scroll reveal (progressive enhancement) ---------- */
.reveal { opacity: 1; }
.js .reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- demo intake form (final CTA) ---------- */
.lead-form { max-width: 46rem; margin: 0 auto; text-align: left; position: relative; }
.lf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; margin-bottom: 1.5rem; }
.lf-wide { grid-column: 1 / -1; }
.lf-field label { display: block; font-size: .85rem; font-weight: 700; color: rgba(255,255,255,.92); margin-bottom: .35rem; }
.lf-req { color: #ffd7db; margin-left: .15rem; }
.lf-field input[type="text"], .lf-field input[type="email"], .lf-field input[type="tel"],
.lf-field select, .lf-field textarea {
  width: 100%; padding: .6rem .7rem; border-radius: 8px; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.97); color: var(--ink); font: inherit; font-size: .95rem;
}
.lf-field textarea { resize: vertical; }
.lf-field input:focus, .lf-field select:focus, .lf-field textarea:focus {
  outline: 2px solid var(--teal-bright); outline-offset: 1px;
}
.lf-field .lf-check { display: flex; align-items: center; gap: .45rem; margin: .5rem 0 0; }
.final-cta .lead-form .lf-check { font-size: .8rem; font-weight: 500; color: rgba(255,255,255,.85); }
.lf-check input { width: auto; margin: 0; }
.lf-stack { margin-top: .55rem; }
.lf-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.lead-form .btn { display: block; margin: 0 auto; min-width: 240px; }
.final-cta .lead-form .lf-note { font-size: .8rem; color: rgba(255,255,255,.7); margin: .9rem auto 0; }
@media (max-width: 640px) { .lf-grid { grid-template-columns: 1fr; } }
.lf-error { background: rgba(255,255,255,.95); color: #a11220; border-left: 4px solid #c8172a;
  border-radius: 8px; padding: .7rem .9rem; font-size: .92rem; font-weight: 600; margin-bottom: 1.1rem; }
