/* ===================================================================
   EverCPE.com — Marketing site stylesheet
   Design tokens and components recreated from the design handoff.
   =================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --blue: #0091FE;
  --blue-dark: #0073CC;
  --cyan: #01BAEF;
  --cyan-dark: #0086AB;

  --ink: #1F2937;
  --body: #4B5563;
  --muted: #6B7280;
  --muted-light: #9CA3AF;
  --slate: #64748B;
  --slate-dark: #475569;

  --border-card: #EAECEF;
  --border-divider: #F1F3F5;
  --border-nav: #EEF0F3;
  --border-input: #E5E7EB;

  --surface: #FFFFFF;
  --fill: #F9FAFB;
  --footer-bg: #1F2937;
  --footer-bar: #161E29;

  --blue-tint-08: rgba(0, 145, 254, 0.08);
  --blue-tint-06: rgba(0, 145, 254, 0.06);
  --blue-tint-05: rgba(0, 145, 254, 0.05);

  --shadow-card: 0 10px 30px rgba(17, 24, 39, 0.04);
  --shadow-tile: 0 4px 12px rgba(0, 145, 254, 0.12);
  --shadow-btn: 0 6px 16px rgba(0, 145, 254, 0.25);

  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --wrap: 1180px;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 40%);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 { font-family: var(--font-head); margin: 0; }

button { font-family: var(--font-head); cursor: pointer; }

input::placeholder { color: var(--muted-light); }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.container {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* ---------- Logo / wordmark ---------- */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo__tile {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  flex: none;
}
.logo__word {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.logo__word .dot { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 500;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--blue);
  color: #fff;
  padding: 11px 20px;
  font-size: 14px;
  box-shadow: var(--shadow-btn);
}
.btn--primary:hover { background: #0086ef; }

.btn--dark {
  background: var(--ink);
  color: #fff;
  padding: 14px 28px;
  font-size: 15px;
}
.btn--dark:hover { background: #111827; }

.btn--blue {
  background: var(--blue);
  color: #fff;
  padding: 14px 26px;
  font-size: 15px;
  box-shadow: 0 8px 20px rgba(0, 145, 254, 0.25);
}
.btn--blue:hover { background: #0086ef; }

/* ---------- Top navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 250, 251, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-nav);
}
.nav__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav__links a {
  font-size: 14.5px;
  color: var(--body);
  text-decoration: none;
  transition: color .15s;
}
.nav__links a:hover { color: var(--blue); }

.nav__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  text-decoration: none;
}
.nav__back:hover { color: var(--blue); }

/* ---------- Section heading helpers ---------- */
.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.section-head { text-align: center; }
.section-head h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 42px;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 14px;
}
.section-head p {
  font-size: 17px;
  color: var(--muted);
  margin: 0 auto;
  max-width: 540px;
}

/* ===================================================================
   LANDING PAGE
   =================================================================== */

/* Hero */
.hero {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 72px 24px 88px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-weight: 600;
  font-size: 50px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 22px;
}
.hero p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 14px;
  max-width: 480px;
}
.hero p.hero__lead-gap { margin-bottom: 34px; }

.signup {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin-bottom: 18px;
}
.signup input {
  flex: 1;
  min-width: 0;
  padding: 15px 18px;
  border-radius: 12px;
  border: 1px solid var(--border-input);
  background: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  outline: none;
}
.signup input:focus { border-color: var(--blue); }
.signup button {
  font-weight: 500;
  font-size: 15px;
  color: #fff;
  background: var(--ink);
  border: none;
  padding: 0 26px;
  border-radius: 999px;
  white-space: nowrap;
}
.signup button:hover { background: #111827; }

.trust {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.trust span.label { font-size: 13.5px; color: var(--muted-light); }
.trust .dot {
  width: 4px; height: 4px;
  border-radius: 999px;
  background: #D1D5DB;
}

.hero__media {
  position: relative;
  height: 500px;
}
.hero__photo {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-input);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.float-card {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(17, 24, 39, 0.12);
  padding: 15px 18px;
  display: flex;
  align-items: center;
  gap: 13px;
}
.float-card--a { left: -22px; bottom: 118px; width: 248px; }
.float-card--b { right: -18px; bottom: 40px; width: 240px; }
.float-card__icon {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.float-card__icon--blue { background: rgba(0, 145, 254, 0.10); }
.float-card__icon--cyan { background: rgba(1, 186, 239, 0.12); }
.float-card__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
.float-card__sub { font-size: 12.5px; color: var(--muted-light); }

/* How it works */
.section { max-width: var(--wrap); margin: 0 auto; padding: 80px 24px; }

.how__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.how__media { position: relative; height: 440px; }
.how__photo {
  position: absolute;
  inset: 0 40px 60px 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border-input);
}
.how__photo img { width: 100%; height: 100%; object-fit: cover; }

.how__overlay {
  position: absolute;
  left: 30px;
  bottom: 0;
  width: 324px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.14);
  padding: 18px;
  display: none;
}
.how__overlay.is-active { display: block; }
.how__overlay--3 { padding: 20px; display: none; align-items: center; gap: 16px; }
.how__overlay--3.is-active { display: flex; }

.how-q-label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12px;
  color: var(--muted-light);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.how-q {
  display: flex; align-items: center; gap: 11px;
  border: 1px solid var(--border-input);
  border-radius: 12px 12px 0 12px;
  padding: 13px 14px;
}
.how-q .spinner {
  flex: none; width: 15px; height: 15px;
  border-radius: 999px;
  border: 2px solid var(--blue);
  border-right-color: transparent;
}
.how-q span.txt { font-size: 14px; color: #374151; }

.how-mod-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 14px;
}
.how-bars { display: flex; flex-direction: column; gap: 9px; margin-bottom: 14px; }
.how-bars i { height: 9px; border-radius: 5px; background: #EEF2F6; display: block; }
.how-tags { display: flex; gap: 8px; }
.how-tags span {
  font-size: 12px; font-weight: 500;
  color: var(--blue);
  background: var(--blue-tint-08);
  padding: 6px 12px;
  border-radius: 999px;
}

.how-cert-badge {
  flex: none; width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 26px; line-height: 1;
}
.how-cert-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}
.how-cert-sub { font-size: 13px; color: var(--muted-light); margin-top: 2px; }

.steps { display: flex; flex-direction: column; gap: 10px; }
.step {
  position: relative;
  display: flex;
  gap: 20px;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  transition: background .25s, border-color .25s;
}
.step.is-active {
  background: rgba(0, 145, 254, 0.04);
  border-color: rgba(0, 145, 254, 0.12);
}
.step__num {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: #F3F4F6;
  color: var(--muted-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  transition: background .25s, color .25s;
}
.step.is-active .step__num { background: var(--blue); color: #fff; }
.step h3 {
  font-weight: 600;
  font-size: 19px;
  color: var(--ink);
  margin: 0 0 6px;
}
.step p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }

/* Benefits */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.benefit {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 30px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
}
.benefit--blue { background: var(--blue-tint-05); border: 1px solid rgba(0, 145, 254, 0.1); }
.benefit--cyan { background: rgba(1, 186, 239, 0.06); border: 1px solid rgba(1, 186, 239, 0.12); }
.benefit__icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: auto;
}
.benefit--blue .benefit__icon { box-shadow: 0 4px 12px rgba(0, 145, 254, 0.12); }
.benefit--cyan .benefit__icon { box-shadow: 0 4px 12px rgba(1, 186, 239, 0.14); }
.benefit__body { margin-top: 22px; max-width: 100%; }
.benefit__body h3 {
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
  margin: 0 0 8px;
}
.benefit__body p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }
.benefit__body .accent { color: var(--cyan); font-weight: 500; }

/* Why we exist */
.why { background: var(--fill); border-top: 1px solid var(--border-nav); border-bottom: 1px solid var(--border-nav); }
.why__inner { max-width: var(--wrap); margin: 0 auto; padding: 80px 24px; }
.why__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.why__head h2 {
  font-weight: 600;
  font-size: 40px;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
  max-width: 560px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border-input);
}
.pill .pin { width: 7px; height: 7px; border-radius: 999px; background: var(--blue); }
.pill span.txt { font-size: 13.5px; font-weight: 500; color: var(--body); }

.why__grid { display: block; }

.quote-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 52px 56px 36px;
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.05);
}
/* Gradient top edge — ties the card to the brand without adding weight. */
.quote-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}
/* Oversized decorative quote mark. */
.quote-card::after {
  content: "\201C";
  position: absolute;
  top: 6px; right: 40px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 150px;
  line-height: 1;
  color: rgba(0, 145, 254, 0.06);
  pointer-events: none;
  user-select: none;
}
.quote-card > * { position: relative; z-index: 1; }

/* Pull-quote on the left, supporting copy on the right — keeps line
   lengths readable while the card spans the full container width. */
.quote-card__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  margin-bottom: 36px;
}
.quote-card .lead {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 25px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
  padding-right: 52px;
  letter-spacing: -0.015em;
}
.quote-card__cols {
  border-left: 1px solid var(--border-divider);
  padding-left: 52px;
}
.quote-card__cols p { font-size: 16px; line-height: 1.75; color: var(--muted); margin: 0 0 16px; }
.quote-card__cols p:last-child { margin-bottom: 0; }

.quote-card__foot {
  padding-top: 28px;
  border-top: 1px solid var(--border-divider);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.author { display: flex; align-items: center; gap: 14px; }
.author__avatar {
  width: 52px; height: 52px;
  border-radius: 999px;
  background: #F3F4F6;
  background-image: repeating-linear-gradient(135deg, #E9EBEF 0, #E9EBEF 1px, transparent 1px, transparent 9px);
  border: 1px solid var(--border-input);
  flex: none;
}
.author__name { font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--ink); }
.author__role { font-size: 13.5px; color: var(--blue); font-weight: 500; }
.author__org { font-size: 13.5px; color: var(--muted-light); }
.linkedin {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 14px;
}
.linkedin:hover { background: #0086ef; }
.linkedin .in { font-family: var(--font-head); font-weight: 700; font-size: 15px; }

/* Quality */
.quality__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 44px;
}
.quality__head h2 {
  font-weight: 600;
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
}
.quality__head p { font-size: 16px; line-height: 1.7; color: var(--muted); margin: 0; }

.quality__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.q-card {
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 30px;
}
.q-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.q-card__icon--blue { background: var(--blue-tint-08); }
.q-card__icon--cyan { background: rgba(1, 186, 239, 0.1); }
.q-card h3 { font-weight: 600; font-size: 18px; color: var(--ink); margin: 0 0 8px; }
.q-card p { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin: 0; }

/* CTA banner */
.cta-wrap { max-width: var(--wrap); margin: 0 auto; padding: 40px 24px 80px; }
.cta {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(120deg, var(--blue) 0%, var(--cyan) 100%);
  padding: 84px 24px;
  text-align: center;
}
.cta__blob {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}
.cta__blob--1 {
  width: 340px; height: 340px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.25), transparent 70%);
  top: -120px; left: -80px;
}
.cta__blob--2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.18), transparent 70%);
  bottom: -130px; right: -60px;
}
.cta__inner { position: relative; }
.cta h2 {
  font-weight: 600;
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 auto 28px;
  max-width: 680px;
}
.cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: none;
  padding: 8px 8px 8px 28px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
  transition: transform .15s ease;
}
.cta__btn:hover { transform: translateY(-1px); }
.cta__btn span.txt { font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--blue); }
.cta__btn .arrow {
  width: 42px; height: 42px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}

/* FAQ */
.faq-section { background: var(--fill); border-top: 1px solid var(--border-nav); border-bottom: 1px solid var(--border-nav); }
.faq-inner { max-width: 760px; margin: 0 auto; padding: 84px 24px; }
.faq-inner .section-head { margin-bottom: 46px; }
.faq-inner .section-head h2 { font-size: 44px; line-height: 1.1; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq {
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 6px 8px;
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px;
  text-align: left;
}
.faq__q span.txt {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
}
.faq__icon {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 999px;
  background: #EEF2F6;
  color: var(--muted-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; line-height: 1;
  transition: all .2s;
}
.faq[open] .faq__icon,
.faq.is-open .faq__icon {
  background: var(--blue);
  color: #fff;
  transform: rotate(45deg);
}
.faq__a { padding: 0 20px 22px; }
.faq__a p { font-size: 15px; line-height: 1.7; color: var(--muted); margin: 0; }
.faq__a a { color: var(--blue); text-decoration: none; font-weight: 500; }
.faq__a ul { font-size: 15px; line-height: 1.7; color: var(--muted); margin: 10px 0 0; padding-left: 20px; }
.faq__a strong { color: #374151; font-weight: 600; }

/* Eligibility CTA section (landing) */
.elig {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 84px 24px 96px;
}
.elig__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.elig__copy h2 {
  font-weight: 600;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 20px;
}
.elig__copy > p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 26px;
}
.country-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.country-tags span {
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border-input);
  font-size: 14px;
  font-weight: 500;
  color: #374151;
}
.country-tags span.more {
  background: var(--blue-tint-06);
  border: 1px solid rgba(0, 145, 254, 0.16);
  color: var(--blue);
}
.note {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--blue-tint-05);
  border: 1px solid rgba(0, 145, 254, 0.14);
  margin-bottom: 26px;
}
.note__i {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.note p { font-size: 14.5px; line-height: 1.6; color: #374151; margin: 0; }

.includes-card {
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 18px 50px rgba(17, 24, 39, 0.06);
}
.includes-card h3 { font-weight: 600; font-size: 20px; color: var(--ink); margin: 0 0 24px; }
.includes-list { display: flex; flex-direction: column; gap: 18px; }
.include-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-divider);
}
.include-row:last-child { padding-bottom: 0; border-bottom: none; }
.include-row__icon {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.include-row__icon--blue { background: var(--blue-tint-08); }
.include-row__icon--cyan { background: rgba(1, 186, 239, 0.1); }
.include-row__title { font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--ink); }
.include-row__sub { font-size: 13.5px; color: var(--muted-light); }

/* ---------- Footer (shared) ---------- */
.footer { background: var(--footer-bg); }
.footer__top {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 64px 24px 48px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
}
.footer__logo { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.footer__logo .logo__word { color: #fff; font-size: 17px; }
.footer address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted-light);
}
.footer__col h4 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  margin: 0 0 18px;
}
.footer__col .links { display: flex; flex-direction: column; gap: 12px; }
.footer__col a {
  font-size: 14px;
  color: var(--muted-light);
  text-decoration: none;
  transition: color .15s;
}
.footer__col a:hover { color: #fff; }

.footer__bar { background: var(--footer-bar); }
.footer__bar-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__bar-inner .copy { font-size: 13px; color: var(--muted); }
.footer__legal { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__legal a { font-size: 13px; color: var(--muted-light); text-decoration: none; }
.footer__legal a:hover { color: #fff; }

/* ===================================================================
   LEGAL PAGE TEMPLATE (Terms / Privacy / DPA)
   =================================================================== */
.legal-header {
  max-width: 880px;
  margin: 0 auto;
  padding: 72px 24px 8px;
  text-align: center;
}
.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--blue-tint-08);
  border: 1px solid rgba(0, 145, 254, 0.16);
  margin-bottom: 24px;
}
.legal-badge .pin { width: 7px; height: 7px; border-radius: 999px; background: var(--blue); }
.legal-badge span.txt { font-size: 13px; font-weight: 500; color: var(--blue); }
.legal-header h1 {
  font-weight: 600;
  font-size: 46px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 18px;
}
.legal-header .updated { font-size: 14px; color: var(--muted-light); margin: 0; }

.legal-body {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 24px 96px;
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 56px;
  align-items: start;
}

.toc { position: sticky; top: 96px; }
.toc__label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 16px;
  padding-left: 14px;
}
.toc__nav { display: flex; flex-direction: column; gap: 2px; }
.toc__link {
  display: flex;
  gap: 10px;
  align-items: baseline;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 9px;
  transition: color .15s;
}
.toc__link .num {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12px;
  color: var(--muted-light);
  min-width: 16px;
}
.toc__link .title {
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--muted);
  font-weight: 500;
}
.toc__link.is-active .num { color: var(--blue); }
.toc__link.is-active .title { color: var(--blue); font-weight: 600; }

.article { max-width: 720px; }

.intro-card {
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 30px 32px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-card);
}
.intro-card p { font-size: 16px; line-height: 1.75; color: var(--body); margin: 0 0 14px; }
.intro-card p:last-child { margin-bottom: 0; }

.sec {
  scroll-margin-top: 96px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border-divider);
  margin-bottom: 44px;
}
.sec:last-child { padding-bottom: 0; border-bottom: none; margin-bottom: 0; }
.sec__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.sec__num {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--blue-tint-08);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
}
.sec h2 {
  font-weight: 600;
  font-size: 25px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.sec h3 {
  font-weight: 600;
  font-size: 17px;
  color: var(--blue);
  margin: 0 0 8px;
}
.sec h3.gap-12 { margin-bottom: 12px; }
.sec h3.gap-10 { margin-bottom: 10px; }
.sec p { font-size: 16px; line-height: 1.75; color: var(--body); margin: 0 0 18px; }
.sec p.tight { margin-bottom: 14px; }
.sec p.gap-24 { margin-bottom: 24px; }
.sec p.last { margin-bottom: 0; }
.sec a { color: var(--blue); text-decoration: none; }

/* Bulleted list */
.bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.bullets.gap-24 { margin-bottom: 24px; }
.bullets.gap-16 { margin-bottom: 16px; }
.bullets li { display: flex; gap: 12px; align-items: flex-start; }
.bullets li::before {
  content: "";
  flex: none;
  margin-top: 7px;
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--blue);
}
.bullets li span { font-size: 16px; line-height: 1.7; color: var(--body); }
.bullets strong { color: #1F2937; font-weight: 600; }

/* Numbered list */
.numbered { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 12px; }
.numbered li { display: flex; gap: 14px; align-items: flex-start; }
.numbered li .chip {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 999px;
  background: rgba(0, 145, 254, 0.1);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
}
.numbered li span.body { font-size: 16px; line-height: 1.7; color: var(--body); }
.numbered strong { color: #1F2937; font-weight: 600; }

/* Key/value table */
.kv {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-card);
  border-radius: 14px;
  overflow: hidden;
}
.kv__row {
  display: flex;
  gap: 16px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-divider);
}
.kv__row:last-child { border-bottom: none; }
.kv__key {
  flex: none;
  width: 130px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
.kv__val { font-size: 15px; color: var(--body); }
.kv__val a { color: var(--blue); text-decoration: none; }

/* Disclaimer block */
.disclaimer {
  background: var(--fill);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 24px;
}
.disclaimer:last-child { margin-bottom: 0; }
.disclaimer p {
  font-size: 13.5px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: var(--muted);
  margin: 0;
  text-transform: uppercase;
  font-weight: 500;
}

/* Definition list (DPA §1) */
.deflist {
  margin: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-card);
  border-radius: 14px;
  overflow: hidden;
}
.deflist > div { padding: 16px 20px; border-bottom: 1px solid var(--border-divider); }
.deflist > div:last-child { border-bottom: none; }
.deflist dt { font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.deflist dd { margin: 0; font-size: 15px; line-height: 1.65; color: var(--muted); }

/* Roles cards (DPA §2) */
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.role-card {
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 24px;
}
.role-card__label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.role-card__label--blue { color: var(--blue); }
.role-card__label--cyan { color: var(--cyan); }
.role-card__who { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.role-card p { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin: 0; }

/* Sub-processor cards (DPA §5) */
.subproc { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.subproc-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 18px 20px;
}
.subproc-card__avatar {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
}
.subproc-card__avatar--blue { background: var(--blue-tint-08); color: var(--blue); }
.subproc-card__avatar--cyan { background: rgba(1, 186, 239, 0.1); color: var(--cyan-dark); }
.subproc-card__name { font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.subproc-card p { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin: 0; }

/* Contact card (final section) */
.contact-card {
  background: linear-gradient(135deg, rgba(0, 145, 254, 0.05), rgba(1, 186, 239, 0.05));
  border: 1px solid rgba(0, 145, 254, 0.14);
  border-radius: 18px;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-row { display: flex; align-items: center; gap: 14px; }
.contact-row__icon {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: #fff;
  box-shadow: var(--shadow-tile);
  display: flex; align-items: center; justify-content: center;
}
.contact-row__label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  color: var(--muted-light);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.contact-row__val { font-size: 16px; color: var(--ink); font-weight: 500; }
.contact-row__val a { color: var(--blue); text-decoration: none; font-weight: 500; }

/* ===================================================================
   ELIGIBILITY PAGE
   =================================================================== */
.elig-header {
  max-width: 880px;
  margin: 0 auto;
  padding: 72px 24px 36px;
  text-align: center;
}
.elig-header h1 {
  font-weight: 600;
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 20px;
}
.elig-header p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 auto;
  max-width: 620px;
}
.elig-header strong { color: #374151; }

.legend { max-width: 880px; margin: 0 auto; padding: 0 24px 28px; }
.legend__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border-card);
}
.legend-item .sq { width: 10px; height: 10px; border-radius: 3px; }
.legend-item span.txt { font-size: 14px; font-weight: 500; color: #374151; }
.legend-item .count {
  font-size: 13px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
}

.elig-table-wrap { max-width: 880px; margin: 0 auto; padding: 0 24px 40px; }
.search {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.search__field { position: relative; flex: 1; min-width: 240px; }
.search__field .ico {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--muted-light);
  display: flex;
  pointer-events: none;
}
.search__field input {
  width: 100%;
  padding: 14px 16px 14px 46px;
  border-radius: 14px;
  border: 1px solid var(--border-input);
  background: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  outline: none;
}
.search__field input:focus { border-color: var(--blue); }
.search__count { font-size: 14px; color: var(--muted); }

.elig-table {
  background: #fff;
  border: 1px solid var(--border-card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(17, 24, 39, 0.05);
}
.elig-table__head {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 16px;
  padding: 16px 26px;
  background: #F8FAFC;
  border-bottom: 1px solid var(--border-nav);
}
.elig-table__head div {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--slate);
}
.elig-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 26px;
  border-bottom: 1px solid #F1F5F9;
}
.elig-row:last-child { border-bottom: none; }
.elig-row__name { font-family: var(--font-head); font-weight: 500; font-size: 16px; color: var(--ink); }
.reason-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
}
.reason-badge .dot { width: 7px; height: 7px; border-radius: 999px; }
.elig-empty { padding: 48px 26px; text-align: center; color: var(--muted-light); font-size: 15px; }

.elig-disclaimer {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--blue-tint-05);
  border: 1px solid rgba(0, 145, 254, 0.14);
  margin-top: 22px;
}
.elig-disclaimer .note__i { flex: none; }
.elig-disclaimer p { font-size: 14.5px; line-height: 1.6; color: #374151; margin: 0; }

.elig-cta {
  max-width: 880px;
  margin: 0 auto;
  padding: 8px 24px 72px;
  text-align: center;
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; padding-bottom: 56px; }
  .hero h1 { font-size: 40px; }
  .hero__media { height: 420px; }
  .how__grid { grid-template-columns: 1fr; gap: 40px; }
  .how__media { order: 2; }
  .benefits-grid { grid-template-columns: 1fr; }
  .quote-card { padding: 44px 36px 32px; }
  .quote-card__body { grid-template-columns: 1fr; gap: 26px; }
  .quote-card .lead { padding-right: 0; }
  .quote-card__cols { border-left: none; padding-left: 0; }
  .quality__head { grid-template-columns: 1fr; gap: 16px; align-items: start; }
  .quality__grid { grid-template-columns: 1fr; }
  .elig__grid { grid-template-columns: 1fr; gap: 40px; }
  .legal-body { grid-template-columns: 1fr; gap: 32px; }
  .toc {
    position: static;
    border: 1px solid var(--border-card);
    border-radius: 16px;
    padding: 18px;
    background: #fff;
  }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .roles { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav__links { display: none; }
  .section-head h2 { font-size: 32px; }
  .hero h1 { font-size: 34px; }
  .section { padding: 56px 24px; }
  .why__inner { padding: 56px 24px; }
  .why__head h2 { font-size: 30px; }
  .quality__head h2 { font-size: 30px; }
  .cta h2 { font-size: 30px; }
  .cta { padding: 56px 22px; }
  .faq-inner .section-head h2 { font-size: 32px; }
  .elig__copy h2 { font-size: 30px; }
  .legal-header h1 { font-size: 34px; }
  .elig-header h1 { font-size: 34px; }
  .sec h2 { font-size: 22px; }
  .quote-card { padding: 34px 26px 26px; }
  .quote-card .lead { font-size: 20px; }
  .quote-card::after { font-size: 110px; right: 20px; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .float-card--a { left: 0; }
  .float-card--b { right: 0; }
}

@media (max-width: 520px) {
  .signup { flex-direction: column; }
  .signup button { padding: 14px 26px; }
  .hero__media { height: 360px; }
  .kv__row { flex-direction: column; gap: 4px; }
  .kv__key { width: auto; }
  .elig-table__head, .elig-row { grid-template-columns: 1fr; gap: 8px; }
  .float-card { display: none; }
}

/* ---------- Print (legal pages) ---------- */
@media print {
  .nav, .footer, .toc { display: none; }
  body { background: #fff; }
  .legal-body { display: block; max-width: 720px; }
  .sec { break-inside: avoid; }
}

/* ===================================================================
   "How it works" tabbed switcher (Flex Mode / NASBA Mode)
   =================================================================== */
.how-tabs { display: flex; justify-content: center; margin: 0 auto 48px; }
.how-tabs__list {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  background: var(--fill);
  border: 1px solid var(--border-card);
  border-radius: 999px;
  box-shadow: var(--shadow-card);
}
.how-tabs__tab {
  appearance: none;
  border: 0;
  background: transparent;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 15px;
  color: var(--muted);
  padding: 11px 26px;
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
.how-tabs__tab:hover { color: var(--ink); background: var(--blue-tint-06); }
.how-tabs__tab[aria-selected="true"] {
  color: #fff;
  font-weight: 600;
  background: var(--blue);
  box-shadow: var(--shadow-btn);
}
.how-tabs__tab[aria-selected="true"]:hover { color: #fff; background: var(--blue); }

/* Per-panel intro copy */
.how-tabpanel__intro { text-align: center; max-width: 620px; margin: 0 auto 44px; }
.how-tabpanel__lead {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 10px;
}
.how-tabpanel__support { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 0; }

/* No-JS / progressive-enhancement fallback: reveal all overlays.
   landing.js removes this class once it controls rotation. */
.how-tabs--reveal-all .how__overlay { display: block; }
.how-tabs--reveal-all .how__overlay--3 { display: flex; }

/* NASBA overlay: section picker */
.how-picker__title { font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--ink); margin-bottom: 10px; }
.how-picker__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.how-picker__list li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: #374151; }
.how-picker__list .tick {
  flex: none; width: 17px; height: 17px; border-radius: 5px;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 11px;
}
.how-picker__list .box { flex: none; width: 17px; height: 17px; border-radius: 5px; border: 1.5px solid #D1D5DB; }
.how-picker__list li.is-off { color: var(--muted-light); }
.how-picker__list em { font-style: normal; color: var(--muted-light); }

/* NASBA overlay: "Correct" chip in the review-progress card */
.how-tags .is-correct { color: #0F9D58; background: rgba(15, 157, 88, 0.10); }

@media (max-width: 760px) { .how-tabpanel__lead { font-size: 20px; } }
@media (max-width: 520px) {
  .how-tabs { margin-bottom: 36px; }
  .how-tabs__list { display: flex; width: 100%; }
  .how-tabs__tab { flex: 1 1 0; padding: 13px 14px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .how-tabs__tab { transition: none; } }

/* Multi-paragraph / list spacing inside FAQ answers */
.faq__a p + p,
.faq__a ul + p,
.faq__a p + ul { margin-top: 12px; }

/* Eligibility — NASBA sponsor disclosure block */
.elig-sponsor {
  margin-top: 40px;
  padding: 22px 24px;
  border: 1px solid var(--border-card);
  border-radius: 16px;
  background: var(--fill);
}
.elig-sponsor p { font-size: 13.5px; line-height: 1.7; color: var(--muted); margin: 0; }
.elig-sponsor a { color: var(--blue); text-decoration: none; }
