/* ISOC Readiness Assessment - eGroup brand (egroup-us.com, sampled 2026-09-25).
   Dark hero, one cyan keyword per headline, teal CTAs with uppercase tracking,
   light centered content sections, dark feature panel, teal band. No header or footer: the page
   sits inside egroup-us.com's own.
   Avenir is licensed to egroup-us.com only; Nunito Sans (OFL, self-hosted) is the fallback their
   own CSS names, so the type reads the same without copying their font files. */

@font-face {
  font-family: "Nunito Sans";
  src: url("/static/fonts/nunito-sans.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --hero: #242A2E;
  --panel: #252525;
  --light: #F9F9F9;
  --white: #FFFFFF;
  --ink: #333836;       /* headings on light */
  --body: #3E4040;      /* body copy on light */
  --muted: #69727D;
  --on-dark: #E6E9EC;
  --on-dark-muted: #A7B0B8;
  --cyan: #009ECC;      /* the highlighted keyword */
  --cyan-bright: #26C6F5;
  --teal: #026F8F;      /* primary buttons */
  --teal-deep: #02637F; /* band */
  --rule: #E3E7EA;
  --radius: 5px;
  --font: "Avenir Next", Avenir, "Nunito Sans", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.65 var(--font); color: var(--body); background: var(--white); -webkit-font-smoothing: antialiased; }
a { color: var(--teal); }
img, svg { display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }

/* ---- buttons ---- */
.btn { display: inline-block; border-radius: var(--radius); padding: 13px 26px; font: 800 15px/1.2 var(--font); text-decoration: none;
  cursor: pointer; border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--teal); color: var(--white); text-transform: uppercase; letter-spacing: .12em; font-size: 14px; }
.btn-primary:hover { background: var(--teal-deep); }
.btn-light { background: var(--white); color: #1E2222; }
.btn-light:hover { background: #E9EEF1; }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.08); }
.btn-sm { padding: 10px 18px; font-size: 13px; }

/* ---- hero ---- */
.hero { background: var(--hero); color: var(--on-dark); text-align: center; padding: 72px 0 80px; }
.hero .shield { width: 88px; height: 88px; margin: 0 auto 22px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: 13px; margin: 0 0 18px; }
/* The brand name is always "eGroup" - never uppercase an eyebrow that carries it. */
.eyebrow-plain { text-transform: none; letter-spacing: .02em; }
.hero .eyebrow { color: var(--white); }
.hero h1 { color: var(--white); font-weight: 800; font-size: clamp(34px, 5vw, 50px); line-height: 1.18; margin: 0 auto 22px; max-width: 900px; }
.accent { color: var(--cyan); }
.hero .lead { font-size: 19px; color: var(--on-dark); max-width: 760px; margin: 0 auto 34px; }
.hero .actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.trust { margin: 34px 0 0; padding: 0; list-style: none; display: flex; gap: 10px 28px; justify-content: center; flex-wrap: wrap;
  color: var(--on-dark-muted); font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; }
.hero-sm { padding: 48px 0 52px; }
.hero-sm h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 10px; }
.hero-sm .lead { margin-bottom: 0; font-size: 17px; }

/* ---- light sections ---- */
.section { padding: 80px 0; }
.section.alt { background: var(--light); }
.section h2 { color: var(--ink); font-weight: 800; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.2; text-align: center; margin: 0 0 14px; }
.section .intro { text-align: center; max-width: 720px; margin: 0 auto 48px; color: var(--body); }
.section .eyebrow { color: var(--muted); text-align: center; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.card { background: var(--white); border: 1px solid var(--rule); border-radius: 10px; padding: 28px 26px; box-shadow: 0 1px 2px rgba(16,24,40,.04); }
.card .icon { width: 44px; height: 44px; border-radius: 10px; background: rgba(0,158,204,.1); color: var(--cyan); display: grid; place-items: center; margin-bottom: 16px; }
.card .icon svg { width: 24px; height: 24px; }
.card h3 { margin: 0 0 8px; color: var(--ink); font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.card p { margin: 0; font-size: 16px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 34px; counter-reset: step; }
.step { text-align: center; }
.step .num { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--cyan); color: var(--cyan); font-weight: 900; font-size: 22px;
  display: grid; place-items: center; margin: 0 auto 18px; }
.step h3 { color: var(--ink); margin: 0 0 8px; font-size: 19px; font-weight: 800; }
.step p { margin: 0; }

/* ---- dark panel ---- */
.panel { background: var(--panel); color: var(--on-dark-muted); border-radius: 12px; padding: 56px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
.panel .eyebrow { color: var(--on-dark); text-align: left; }
.panel h2 { color: var(--white); text-align: left; font-size: clamp(26px, 3vw, 34px); }
.panel ul { list-style: none; margin: 26px 0 0; padding: 0; }
.panel li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; margin-bottom: 18px; }
.panel li svg { width: 22px; height: 22px; color: var(--cyan-bright); margin-top: 2px; }
.panel li strong { display: block; color: var(--white); text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 800; }
.panel li span { font-size: 15px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; align-content: center; }
.stat b { display: block; color: var(--white); font-size: 44px; font-weight: 900; line-height: 1.1; }
.stat span { font-size: 14px; }

/* ---- teal band / start ---- */
.band { background: var(--teal-deep); color: var(--white); padding: 64px 0; }
.band .eyebrow { color: var(--white); text-align: center; }
.band h2 { color: var(--white); text-align: center; margin: 0 0 12px; font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; }
.band p { text-align: center; max-width: 720px; margin: 0 auto 26px; color: #D8EEF4; }
.band a { color: var(--white); }
.start-form { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.start-form .agree { font-size: 15px; max-width: 560px; margin: 0; }
.start-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---- start modal ---- */
.modal { border: 0; padding: 0; border-radius: 8px; max-width: 560px; width: calc(100% - 32px); box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.modal::backdrop { background: rgba(20, 24, 26, .6); }
.modal-panel { padding: 32px 32px 28px; text-align: center; }
.modal-panel h2 { margin: 0 0 12px; font-size: 26px; font-weight: 800; color: var(--ink); }
.modal-panel p { margin: 0 0 14px; }
.modal-panel .muted { font-size: 14px; }
.modal-panel .start-form { margin-top: 20px; gap: 18px; }
.modal-panel .agree a, .modal-panel p a { color: var(--teal); }
.btn-outline-dark { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-outline-dark:hover { border-color: var(--ink); }

/* ---- content pages (run / messages / legal) ---- */
.page { background: var(--light); padding: 56px 0 80px; min-height: 50vh; }
.sheet { background: var(--white); border: 1px solid var(--rule); border-radius: 12px; padding: 40px; max-width: 820px; margin: 0 auto; }
.sheet h1 { color: var(--ink); font-size: 30px; line-height: 1.2; margin: 0 0 14px; font-weight: 800; }
.sheet h2 { color: var(--ink); font-size: 20px; margin: 28px 0 8px; font-weight: 800; }
.sheet .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.muted { color: var(--muted); font-size: 15px; }
.draft { display: inline-block; background: #FFF4E5; color: #8A4B00; border-radius: var(--radius); padding: 4px 10px; font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.copy { display: block; background: var(--light); border: 1px solid var(--rule); border-radius: var(--radius); padding: 10px 14px; font-weight: 700; color: var(--ink); word-break: break-all; margin-top: 8px; }

/* run page */
.stages { list-style: none; margin: 26px 0; padding: 0; }
.stages li { position: relative; padding: 12px 0 12px 42px; color: var(--muted); border-bottom: 1px solid var(--rule); font-weight: 600; }
.stages li:last-child { border-bottom: 0; }
.stages li::before { content: ""; position: absolute; left: 6px; top: 15px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #C9D1D6; background: var(--white); }
.stages li.active { color: var(--ink); font-weight: 800; }
.stages li.active::before { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(0,158,204,.15); animation: pulse 1.4s ease-in-out infinite; }
.stages li.complete { color: var(--ink); }
.stages li.complete::before { border-color: var(--teal); background: var(--teal); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(0,158,204,.08); } }
@media (prefers-reduced-motion: reduce) { .stages li.active::before { animation: none; } html { scroll-behavior: auto; } }
.verdict { font-size: 26px; color: var(--ink); font-weight: 900; margin: 6px 0 18px; }
.result { border-top: 4px solid var(--cyan); padding-top: 22px; margin-top: 8px; }


@media (max-width: 760px) {
  .hero { padding: 52px 0 60px; }
  .section { padding: 56px 0; }
  .panel { grid-template-columns: 1fr; padding: 34px 26px; gap: 30px; }
  .sheet { padding: 28px 22px; }
}
