/* ============================================================
   EXIT FIRST — stylesheet
   ------------------------------------------------------------
   1.  Tokens
   2.  Reset + base
   3.  Layout helpers
   4.  Buttons
   5.  Wordmark
   6.  Header + nav
   7.  Sections + typography blocks
   8.  Cards, packages, tables
   9.  Steps, credibility, comparison
   10. Blog
   11. Forms
   12. Footer
   13. Utilities + motion
   ============================================================ */

/* ---------- 1. Tokens -------------------------------------- */
:root {
  --ef-navy: #0e2242;
  --ef-navy-deep: #081930;
  --ef-navy-soft: #16305a;
  --ef-navy-line: #24406f;

  --ef-orange: #f47c26;
  --ef-orange-dark: #d9651a;
  --ef-orange-text: #a8490d; /* accessible orange for small text on white */

  --ef-white: #ffffff;
  --ef-gray-50: #f6f8fb;
  --ef-gray-100: #edf1f6;
  --ef-gray-200: #e0e6ee;
  --ef-gray-300: #cfd7e2;

  --ef-ink: #16202f;
  --ef-muted: #55637a;
  --ef-muted-light: #a9b7cc;

  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --wrap: 1160px;
  --wrap-narrow: 780px;
  --radius: 4px;
  --radius-lg: 8px;

  --shadow-sm: 0 1px 2px rgba(14, 34, 66, 0.06), 0 2px 8px rgba(14, 34, 66, 0.05);
  --shadow-md: 0 2px 4px rgba(14, 34, 66, 0.06), 0 12px 28px rgba(14, 34, 66, 0.09);

  --space-section: clamp(3.5rem, 8vw, 6.5rem);
}

/* ---------- 2. Reset + base -------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ef-ink);
  background: var(--ef-white);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ef-navy);
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.15rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.65rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); letter-spacing: -0.01em; }
h4 { font-size: 1.0625rem; font-weight: 700; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--ef-navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ef-orange-text); }

:focus-visible {
  outline: 3px solid var(--ef-orange);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ef-navy); color: #fff; padding: 0.75rem 1.25rem;
  z-index: 200; font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; }

.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;
}

/* ---------- 3. Layout helpers ------------------------------ */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1.25rem; }
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--space-section); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--gray { background: var(--ef-gray-50); }
.section--navy { background: var(--ef-navy); color: #dfe7f2; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--navy a { color: #fff; }

.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ef-orange-text);
  margin-bottom: 1rem;
}
.section--navy .eyebrow { color: var(--ef-orange); }

.lede { font-size: clamp(1.075rem, 1.7vw, 1.3rem); color: var(--ef-muted); line-height: 1.6; }
.section--navy .lede { color: #b9c8dd; }

.rule { height: 3px; width: 56px; background: var(--ef-orange); border: 0; margin: 0 0 1.75rem; }

/* ---------- 4. Buttons ------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 0.95rem 1.6rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 0.6rem 1.1rem; font-size: 0.85rem; }
.btn--lg { padding: 1.1rem 2rem; font-size: 1rem; }
.btn--block { width: 100%; }

.btn--accent { background: var(--ef-orange); color: var(--ef-navy); }
.btn--accent:hover { background: var(--ef-orange-dark); color: var(--ef-navy); }

.btn--navy { background: var(--ef-navy); color: #fff; }
.btn--navy:hover { background: var(--ef-navy-deep); color: #fff; }

.btn--ghost { background: transparent; color: var(--ef-navy); border-color: var(--ef-gray-300); }
.btn--ghost:hover { border-color: var(--ef-navy); color: var(--ef-navy); background: var(--ef-gray-50); }

.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }
@media (max-width: 30em) { .btn-row .btn { width: 100%; } }

.arrow-link {
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  color: var(--ef-navy); text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.45rem;
  border-bottom: 2px solid var(--ef-orange); padding-bottom: 2px;
}
.arrow-link:hover { color: var(--ef-orange-text); }
.arrow-link::after { content: "→"; transition: transform .15s ease; }
.arrow-link:hover::after { transform: translateX(3px); }

/* ---------- 5. Wordmark ------------------------------------ */
.wordmark { display: inline-flex; flex-direction: column; gap: 0.3rem; line-height: 1; }
.wordmark__line { display: inline-flex; align-items: baseline; gap: 0.42em; }
.wordmark__word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--ef-navy);
  display: inline-flex; align-items: baseline;
}
.wordmark--light .wordmark__word { color: #fff; }

.wordmark__x { display: inline-block; width: 0.62em; margin-inline: 0.03em; }
.glyph-x { width: 100%; height: 0.72em; display: block; }
.wordmark__x .glyph-x { color: var(--ef-navy); height: 0.74em; transform: translateY(0.02em); }
.wordmark--light .wordmark__x .glyph-x { color: #fff; }

.wordmark__tagline {
  font-family: var(--font-display);
  font-size: 0.5rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ef-muted);
}
.wordmark--light .wordmark__tagline { color: var(--ef-muted-light); }
.wordmark__tagline em { font-style: normal; color: var(--ef-orange); }

/* Real logo lockups. Sized by height so the aspect ratio holds. */
.wordmark-img { height: 38px; width: auto; }
.site-header .wordmark-img { height: 30px; }
.site-footer .wordmark-img { height: 38px; }
@media (min-width: 48em) {
  .site-header .wordmark-img { height: 34px; }
  .site-footer .wordmark-img { height: 44px; }
}

/* ---------- 6. Header + nav -------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--ef-gray-200);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 72px;
}
.site-header__brand { text-decoration: none; display: inline-flex; align-items: center; }
.site-header__brand .wordmark__word { font-size: 1.35rem; }

/* Optional affiliation marks beside the wordmark. Hidden below 75em —
   the nav, phone, and CTA already fill the bar at narrower widths. */
.site-header__affil { display: none; }
@media (min-width: 75em) {
  .site-header__affil {
    display: block; margin-right: auto; padding-left: 1.5rem; margin-left: 1.25rem;
    border-left: 1px solid var(--ef-gray-200);
  }
  .site-header__affil .affil { gap: .5rem .9rem; }
  .site-header__affil .affil__label { font-size: .6rem; }
  .site-header__affil .affil__list { gap: .4rem .9rem; }
  .site-header__affil .affil__mark { font-size: .8rem; border-bottom-width: 2px; }
  .site-header__affil .affil__logo { height: 22px; }
}

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid var(--ef-gray-300); border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle__bars { display: block; width: 20px; }
.nav-toggle__bars span {
  display: block; height: 2px; background: var(--ef-navy); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle__bars span + span { margin-top: 4px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  display: none;
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--ef-gray-200);
  padding: 1rem 1.25rem 1.5rem;
  box-shadow: var(--shadow-md);
}
.site-nav.is-open { display: block; }
.site-nav__list { list-style: none; margin: 0 0 1rem; padding: 0; }
.site-nav__list li + li { border-top: 1px solid var(--ef-gray-100); }
.site-nav__list a {
  display: block; padding: 0.85rem 0;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  color: var(--ef-navy); text-decoration: none;
}
.site-nav__list a[aria-current="page"] { color: var(--ef-orange-text); }
.site-nav__actions { display: flex; flex-direction: column; gap: 0.75rem; }

@media (min-width: 62em) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex !important; position: static; align-items: center; gap: 2rem;
    background: none; border: 0; padding: 0; box-shadow: none; width: auto;
  }
  .site-nav__list { display: flex; gap: 1.75rem; margin: 0; }
  .site-nav__list li + li { border: 0; }
  .site-nav__list a { padding: 0; font-size: 0.9375rem; }
  .site-nav__list a:hover { color: var(--ef-orange-text); }
  .site-nav__actions { flex-direction: row; align-items: center; gap: 1.25rem; }
}

/* ---------- 7. Hero ---------------------------------------- */
.hero {
  background: var(--ef-navy);
  color: #cfdaea;
  padding-block: clamp(3.5rem, 9vw, 7rem);
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto -10% -55% 55%;
  height: 120%; background: radial-gradient(circle at 50% 50%, rgba(244,124,38,.16), transparent 62%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; max-width: 54rem; }
.hero h1 { color: #fff; margin-bottom: 1.1rem; }
.hero__sub { font-size: clamp(1.05rem, 1.9vw, 1.35rem); color: #b9c8dd; max-width: 42rem; margin-bottom: 2rem; }
.hero .eyebrow { color: var(--ef-orange); }

.hero--sub { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.hero--sub h1 { font-size: clamp(1.95rem, 4.4vw, 3.1rem); }

/* ---------- 8. Cards / packages ---------------------------- */
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 48em) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 48em) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62em) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 40em) and (max-width: 61.99em) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: #fff; border: 1px solid var(--ef-gray-200); border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.card__title { margin-bottom: .5rem; }
.card__body { color: var(--ef-muted); font-size: 0.98rem; }

/* problem cards */
.problem-card { border-top: 3px solid var(--ef-orange); background: #fff; box-shadow: var(--shadow-sm); }

/* package summary card (home) */
.pkg-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--ef-gray-200); border-radius: var(--radius-lg);
  padding: 1.9rem 1.6rem; position: relative;
}
.pkg-card--featured { border-color: var(--ef-navy); box-shadow: var(--shadow-md); }
.pkg-card__flag {
  position: absolute; top: -0.75rem; left: 1.6rem;
  background: var(--ef-orange); color: var(--ef-navy);
  font-family: var(--font-display); font-size: .68rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .3rem .65rem; border-radius: 3px;
}
.pkg-card__name {
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem;
  letter-spacing: .1em; color: var(--ef-navy); margin: 0 0 .75rem;
}
.pkg-card__price {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.5rem); color: var(--ef-navy);
  line-height: 1; letter-spacing: -0.02em;
}
.pkg-card__suffix {
  display: block; font-family: var(--font-body); font-size: .875rem; font-weight: 500;
  color: var(--ef-muted); margin-top: .4rem; letter-spacing: 0;
}
.pkg-card__tagline { font-size: .98rem; color: var(--ef-ink); font-weight: 600; margin: 1.1rem 0 .6rem; }
.pkg-card__summary { font-size: .95rem; color: var(--ef-muted); margin-bottom: 1.4rem; }
.pkg-card__foot { margin-top: auto; }

/* full package block (services) */
.pkg {
  border: 1px solid var(--ef-gray-200); border-radius: var(--radius-lg);
  background: #fff; overflow: hidden; scroll-margin-top: 90px;
}
.pkg + .pkg { margin-top: 1.5rem; }
.pkg--featured { border-color: var(--ef-navy); box-shadow: var(--shadow-md); }
.pkg__head {
  padding: 1.9rem 1.6rem 1.5rem; border-bottom: 1px solid var(--ef-gray-200);
  background: var(--ef-gray-50);
}
.pkg--featured .pkg__head { background: var(--ef-navy); border-bottom-color: var(--ef-navy); }
.pkg--featured .pkg__name,
.pkg--featured .pkg__price { color: #fff; }
.pkg--featured .pkg__tagline { color: #b9c8dd; }
.pkg--featured .pkg__suffix { color: #b9c8dd; }
.pkg__name {
  font-family: var(--font-display); font-weight: 800; font-size: 1.25rem;
  letter-spacing: .12em; color: var(--ef-navy); margin: 0 0 .9rem;
}
.pkg__price {
  font-family: var(--font-display); font-weight: 800; line-height: 1;
  font-size: clamp(2.1rem, 4.4vw, 2.9rem); color: var(--ef-navy); letter-spacing: -0.02em;
}
.pkg__suffix { font-family: var(--font-body); font-size: .95rem; font-weight: 500; color: var(--ef-muted); letter-spacing: 0; }
.pkg__tagline { margin: 1rem 0 0; font-size: 1.02rem; color: var(--ef-muted); max-width: 44rem; }
.pkg__price-note {
  margin: .5rem 0 0; font-size: .95rem; font-weight: 600; color: var(--ef-orange-text);
}
.pkg--featured .pkg__price-note { color: var(--ef-orange); }
.pkg__note {
  margin: 1.5rem 0 0; padding-left: 1.1rem; border-left: 3px solid var(--ef-orange);
  font-size: .95rem; color: var(--ef-muted);
}
.price-unit { font-weight: 500; color: var(--ef-muted); }
.pkg__body { padding: 1.6rem; }
.pkg__foot {
  padding: 1.25rem 1.6rem; border-top: 1px solid var(--ef-gray-200); background: var(--ef-gray-50);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}
.pkg__terms { font-size: .9rem; color: var(--ef-muted); margin: 0; max-width: 42rem; }

/* checklists */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
@media (min-width: 48em) { .checklist--2 { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.checklist li {
  position: relative; padding-left: 1.85rem; font-size: .98rem; line-height: 1.5;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .42em;
  width: 1.05rem; height: .55rem;
  border-left: 2.5px solid var(--ef-orange); border-bottom: 2.5px solid var(--ef-orange);
  transform: rotate(-45deg);
}
.section--navy .checklist li { color: #cfdaea; }

/* ---------- 9. Tables -------------------------------------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data {
  width: 100%; border-collapse: collapse; font-size: .98rem; min-width: 34rem;
}
table.data caption {
  text-align: left; font-family: var(--font-display); font-weight: 800;
  font-size: 1.15rem; color: var(--ef-navy); padding-bottom: .35rem;
}
table.data th, table.data td { text-align: left; padding: .9rem 1rem; border-bottom: 1px solid var(--ef-gray-200); }
table.data thead th {
  font-family: var(--font-display); font-size: .72rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ef-muted);
  border-bottom: 2px solid var(--ef-navy);
}
table.data td:last-child, table.data th:last-child { text-align: right; white-space: nowrap; }
table.data .price { font-family: var(--font-display); font-weight: 700; color: var(--ef-navy); }
table.data tbody tr:hover { background: var(--ef-gray-50); }

.addon-group + .addon-group { margin-top: 2.5rem; }
.addon-group__note { color: var(--ef-muted); font-size: .95rem; margin: 0 0 1rem; }

/* comparison table */
table.compare td:nth-child(2) { color: var(--ef-muted); }
table.compare td:last-child { text-align: left; white-space: normal; font-weight: 600; color: var(--ef-navy); }
table.compare thead th:last-child { text-align: left; }
table.compare thead th:last-child,
table.compare td:last-child { border-left: 3px solid var(--ef-orange); padding-left: 1rem; }

/* ---------- 10. Steps / credibility / arguments ------------ */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 56em) { .steps { grid-template-columns: repeat(5, 1fr); } }
.steps li { counter-increment: step; border-top: 3px solid var(--ef-gray-200); padding-top: 1rem; }
.steps li::before {
  content: "0" counter(step);
  display: block; font-family: var(--font-display); font-weight: 800; font-size: .85rem;
  letter-spacing: .1em; color: var(--ef-orange-text); margin-bottom: .5rem;
}
.section--navy .steps li { border-top-color: var(--ef-navy-line); }
.section--navy .steps li::before { color: var(--ef-orange); }
.steps h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.steps p { font-size: .93rem; color: var(--ef-muted); }
.section--navy .steps p { color: #a9bcd4; }

.cred { border-top: 3px solid var(--ef-orange); padding-top: 1.1rem; }
.cred__stat {
  font-family: var(--font-display); font-weight: 800; font-size: 1.6rem;
  color: var(--ef-navy); line-height: 1; letter-spacing: -0.01em;
}
.section--navy .cred__stat { color: #fff; }
.cred__label {
  font-family: var(--font-display); font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ef-orange-text);
  margin: .5rem 0 .6rem;
}
.section--navy .cred__label { color: var(--ef-orange); }
.cred__body { font-size: .93rem; color: var(--ef-muted); }
.section--navy .cred__body { color: #a9bcd4; }

.argument { padding-block: clamp(2.25rem, 5vw, 3.25rem); border-top: 1px solid var(--ef-gray-200); }
.argument:first-of-type { border-top: 0; padding-top: 0; }
.argument__num {
  font-family: var(--font-display); font-weight: 800; font-size: 2.5rem;
  color: var(--ef-gray-300); line-height: 1; margin-bottom: .5rem;
}
.argument__kicker {
  margin-top: 1.25rem; padding-left: 1.25rem; border-left: 3px solid var(--ef-orange);
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  color: var(--ef-navy); line-height: 1.4;
}
@media (min-width: 56em) {
  .argument { display: grid; grid-template-columns: 8rem 1fr; gap: 2.5rem; }
  .argument__num { margin: 0; }
}

/* ---------- 11. CTA band ----------------------------------- */
.cta-band { background: var(--ef-navy); color: #b9c8dd; padding-block: clamp(3rem, 6vw, 4.5rem); }
.cta-band h2 { color: #fff; }
.cta-band__inner { max-width: 44rem; }
.cta-band p { font-size: 1.075rem; margin-bottom: 1.75rem; }

/* ---------- 12. About -------------------------------------- */
.about-grid { display: grid; gap: 2rem; }
@media (min-width: 56em) { .about-grid { grid-template-columns: 17rem 1fr; gap: 3rem; align-items: start; } }

.headshot { border-radius: var(--radius-lg); overflow: hidden; max-width: 17rem; }
.headshot img { width: 100%; display: block; }

/* A transparent cut-out needs something behind it, or the figure
   floats on the page. Sit it on a soft panel with the brand rule. */
.headshot--cutout {
  background: linear-gradient(180deg, var(--ef-gray-100), var(--ef-gray-50));
  border-bottom: 3px solid var(--ef-orange);
  display: flex; align-items: flex-end; justify-content: center;
}
.headshot--cutout img { width: 100%; height: auto; }

.headshot--placeholder {
  aspect-ratio: 3 / 4; background: var(--ef-gray-100);
  border: 2px dashed var(--ef-gray-300);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--ef-muted); font-family: var(--font-display); font-weight: 700;
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; padding: 1rem;
}
.creds { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .5rem; }
.creds li {
  font-family: var(--font-display); font-size: .85rem; font-weight: 700;
  color: var(--ef-navy); padding: .6rem .85rem; background: var(--ef-gray-50);
  border-left: 3px solid var(--ef-orange);
}
.bio p { font-size: 1.075rem; }

/* ---------- 13. Blog --------------------------------------- */
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li { border-top: 1px solid var(--ef-gray-200); }
.post-list li:last-child { border-bottom: 1px solid var(--ef-gray-200); }
.post-item { display: block; padding: 2rem 0; text-decoration: none; color: inherit; }
.post-item:hover h2 { color: var(--ef-orange-text); }
.post-item__meta {
  font-family: var(--font-display); font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ef-muted);
  margin-bottom: .65rem; display: flex; flex-wrap: wrap; gap: .75rem;
}
.post-item h2 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); margin-bottom: .5rem; }
.post-item__excerpt { color: var(--ef-muted); max-width: 46rem; margin: 0; }

.post-body { font-size: 1.09rem; line-height: 1.72; }
.post-body h2 { margin-top: 2.25rem; font-size: clamp(1.4rem, 2.6vw, 1.85rem); }
.post-body h3 { margin-top: 1.75rem; }
.post-body ul, .post-body ol { padding-left: 1.35rem; margin: 0 0 1.2em; }
.post-body li { margin-bottom: .45em; }
.post-body blockquote {
  margin: 1.75rem 0; padding: .35rem 0 .35rem 1.35rem;
  border-left: 3px solid var(--ef-orange); color: var(--ef-navy);
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; line-height: 1.5;
}
.post-body hr { border: 0; border-top: 1px solid var(--ef-gray-200); margin: 2.5rem 0; }
.post-body table { width: 100%; border-collapse: collapse; font-size: .98rem; margin-bottom: 1.5em; }
.post-body th, .post-body td { text-align: left; padding: .7rem .85rem; border-bottom: 1px solid var(--ef-gray-200); }
.post-body code {
  background: var(--ef-gray-100); padding: .12em .38em; border-radius: 3px; font-size: .9em;
}
.post-meta {
  font-family: var(--font-display); font-size: .75rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #b9c8dd;
  display: flex; flex-wrap: wrap; gap: .85rem;
}

/* ---------- 14. Forms -------------------------------------- */
.form-card {
  background: #fff; border: 1px solid var(--ef-gray-200); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.field-grid { display: grid; gap: 1.15rem; }
@media (min-width: 44em) { .field-grid--2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-family: var(--font-display); font-size: .8rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ef-navy);
  margin-bottom: .45rem;
}
.field .opt { color: var(--ef-muted); font-weight: 600; text-transform: none; letter-spacing: 0; }

.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ef-ink);
  padding: .8rem .9rem;
  border: 1px solid var(--ef-gray-300); border-radius: var(--radius);
  background: #fff; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%2355637a' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; background-size: 12px;
  padding-right: 2.4rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--ef-navy); box-shadow: 0 0 0 3px rgba(244,124,38,.22); outline: none;
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,.14);
}
.field .hint { font-size: .85rem; color: var(--ef-muted); margin-top: .4rem; }
.field .error {
  font-size: .85rem; color: #c0392b; font-weight: 600; margin-top: .4rem; display: none;
}
.field .error.is-visible { display: block; }

.form-status {
  margin-top: 1.25rem; padding: .95rem 1.1rem; border-radius: var(--radius);
  font-size: .95rem; font-weight: 600; display: none;
}
.form-status.is-visible { display: block; }
.form-status--ok { background: #e8f5ec; color: #1c6b38; border: 1px solid #b6dcc4; }
.form-status--err { background: #fdeceb; color: #98261a; border: 1px solid #f3c3bd; }

.required-note { font-size: .9rem; color: var(--ef-muted); margin-bottom: 1.5rem; }
.req { color: var(--ef-orange-text); }

/* scheduling embed placeholder */
.embed-slot {
  border: 2px dashed var(--ef-gray-300); border-radius: var(--radius-lg);
  background: var(--ef-gray-50); padding: clamp(2rem, 6vw, 3.5rem) 1.5rem;
  text-align: center; color: var(--ef-muted);
}
.embed-slot__label {
  font-family: var(--font-display); font-size: .75rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ef-orange-text);
  margin-bottom: .75rem;
}
.embed-slot code {
  background: #fff; border: 1px solid var(--ef-gray-200); padding: .12em .4em;
  border-radius: 3px; font-size: .88em;
}

/* price callout */
.price-callout {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .75rem;
  border-left: 4px solid var(--ef-orange); padding: 1rem 0 1rem 1.25rem; margin-bottom: 1.5rem;
}
.price-callout__amount {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(2.1rem, 5vw, 3rem);
  color: var(--ef-navy); line-height: 1; letter-spacing: -0.02em;
}
.price-callout__unit { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ef-muted); }
.price-callout__credit { flex-basis: 100%; font-size: .98rem; color: var(--ef-muted); margin: 0; }

/* structures chip row */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.chips li {
  font-family: var(--font-display); font-size: .78rem; font-weight: 700;
  letter-spacing: .04em; padding: .42rem .8rem; border-radius: 999px;
  background: var(--ef-gray-100); color: var(--ef-navy);
}
.section--navy .chips li, .hero .chips li { background: rgba(255,255,255,.1); color: #fff; }

/* ---------- FAQ --------------------------------------------- */
.faq-item { padding-block: 1.6rem; border-top: 1px solid var(--ef-gray-200); }
.faq-item:first-of-type { border-top: 0; padding-top: 0; }
.faq-item__q {
  font-size: clamp(1.1rem, 2vw, 1.28rem); margin-bottom: .7rem; color: var(--ef-navy);
}
.faq-item__a { color: var(--ef-muted); }
.faq-item__a p { margin-bottom: .85em; }
.faq-item__a p:last-child { margin-bottom: 0; }

/* ---------- Affiliations strip ------------------------------ */
.affil { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem 1.5rem; }
.affil__label {
  font-family: var(--font-display); font-size: .7rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ef-muted);
  margin: 0; white-space: nowrap;
}
.affil__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.75rem;
}
.affil__item { display: inline-flex; align-items: center; }
.affil__logo { height: 36px; width: auto; display: block; }

/* Text fallback — reads as a wordmark, not a sentence. */
.affil__mark {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1rem; letter-spacing: .04em; color: var(--ef-navy);
  position: relative; padding-bottom: 3px;
  border-bottom: 2px solid var(--ef-orange);
}

.affil--dark .affil__label { color: #7b8ea9; }
.affil--dark .affil__mark { color: #fff; }

@media (max-width: 30em) {
  .affil { gap: .6rem; }
  .affil__list { gap: .6rem 1.1rem; }
  .affil__mark { font-size: .9rem; }
}

/* Home page strip — navy so the white-on-dark marks stay legible */
.affil-strip { background: var(--ef-navy); padding-block: 1.15rem; }
.affil-strip .affil { justify-content: flex-start; }

/* ---------- 15. Footer ------------------------------------- */
.site-footer { background: var(--ef-navy-deep); color: #97a9c2; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.site-footer__top { display: grid; gap: 2.25rem; }
@media (min-width: 56em) {
  .site-footer__top { grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 2.5rem; }
}
.site-footer__brand .wordmark__word { font-size: 1.45rem; }
.site-footer__tagline {
  font-family: var(--font-display); font-weight: 700; color: var(--ef-orange);
  font-size: .95rem; margin: 1rem 0 .75rem;
}
.site-footer__blurb { font-size: .93rem; max-width: 26rem; color: #8d9fb9; }
.site-footer__heading {
  font-family: var(--font-display); font-size: .72rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 1rem;
}
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.site-footer__links a { color: #97a9c2; text-decoration: none; font-size: .93rem; }
.site-footer__links a:hover { color: #fff; text-decoration: underline; }
.site-footer__meta { font-size: .88rem; color: #7b8ea9; margin-top: 1rem; }
.site-footer__affil {
  margin-top: 2.75rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.1);
}
.site-footer__affil + .site-footer__bottom { margin-top: 1.75rem; border-top: 0; padding-top: 0; }
.site-footer__bottom {
  margin-top: 2.75rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.1);
}
.site-footer__trademark {
  font-size: .75rem; color: #6f83a0; max-width: 52rem; margin: 1.1rem 0 0;
}
.site-footer__disclaimer { font-size: .8rem; color: #6f83a0; max-width: 60rem; }
.site-footer__copy { font-size: .8rem; color: #6f83a0; margin: 0; }

.site-footer__legal {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .6rem 1.5rem; margin-top: .9rem;
}
.site-footer__legal-links {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.25rem;
}
.site-footer__legal-links a { color: #97a9c2; text-decoration: none; font-size: .8rem; }
.site-footer__legal-links a:hover { color: #fff; text-decoration: underline; }

/* Legal pages — a touch tighter than blog prose, and headings that
   don't shout on a page this long. */
.legal-body { font-size: 1.02rem; }
.legal-body h2 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); margin-top: 2.5rem; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body strong { color: var(--ef-navy); }

/* ---------- 16. Motion ------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .site-header, .site-footer, .btn, .embed-slot { display: none !important; }
  body { color: #000; }
}
