/* ==========================================================================
   ElectricalSafetyTraining.org — design system
   Direction 05 "Hazard", selected 2026-09-18.
   Industrial signage: graphite ground, safety yellow accent, condensed
   uppercase display over a normal-width body face, square corners.

   Deliberately shares nothing with AFT (navy/gold, Inter + JetBrains Mono)
   or MCS (copper on warm grey).

   Load order in every page <head>:
     <link rel="preconnect" href="https://fonts.googleapis.com">
     <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
     <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Barlow:wght@400;500;600;700&display=swap">
     <link rel="stylesheet" href="/assets/est.css">
   ========================================================================== */

:root {
  /* Ground and panels */
  --ground:      #1F2124;
  --panel:       #17191B;
  --panel-raised:#262B31;

  /* Accent */
  --accent:      #FFD400;
  --accent-soft: #FFE566;
  --accent-ink:  #17191B;   /* text ON accent */

  /* Text */
  --text:        #F4F4F2;
  --text-body:   #A9ACA8;
  --text-meta:   #8D908C;

  /* Lines */
  --line:        #2C2F32;
  --line-strong: #4A4D50;

  /* Status */
  --ok:          #4ADE80;
  --warn:        #FFB020;
  --bad:         #F87171;

  /* Type */
  --display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --body:    'Barlow', system-ui, -apple-system, sans-serif;

  /* Measure */
  --wrap:    1280px;
  --gutter:  48px;
  --stripe:  8px;
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: 0.98; }
p { margin: 0 0 1em; color: var(--text-body); }
p:last-child { margin-bottom: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-soft); text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

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

/* Skip link */
.skip { position: absolute; left: -9999px; top: 0; z-index: 100;
        background: var(--accent); color: var(--accent-ink); padding: 12px 20px;
        font-family: var(--display); font-weight: 700; text-transform: uppercase; }
.skip:focus { left: 0; }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: 44px; }
.section--tight { padding-block: 28px; }

/* The signature motif: hazard striping caps every page */
.stripe {
  height: var(--stripe);
  background: repeating-linear-gradient(135deg,
    var(--accent) 0 22px, var(--ground) 22px 44px);
}
.stripe--onpanel {
  background: repeating-linear-gradient(135deg,
    var(--accent) 0 22px, var(--panel) 22px 44px);
}

/* --------------------------------------------------------------------------
   Type scale
   -------------------------------------------------------------------------- */
.h1 { font-size: clamp(38px, 6vw, 72px); letter-spacing: -0.01em; color: #fff; }
.h2 { font-size: clamp(26px, 3.4vw, 38px); }
.h3 { font-size: clamp(20px, 2.4vw, 26px); }
.eyebrow {
  font-family: var(--display); font-size: 15px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent);
}
.lede { font-size: 17px; line-height: 1.62; color: var(--text-body); max-width: 62ch; }
.meta { font-size: 13px; color: var(--text-meta); }

/* A heading with the accent rule under it */
.ruled {
  border-bottom: 3px solid var(--accent);
  padding-bottom: 8px;
  margin-bottom: 20px;
}

/* --------------------------------------------------------------------------
   Buttons — 44px minimum touch target throughout
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--display);
  font-size: 19px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  padding: 15px 30px;
  min-height: 44px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-soft); color: var(--accent-ink); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--onaccent { background: var(--accent-ink); color: var(--accent); }
.btn--block { display: block; width: 100%; }
.btn--sm { font-size: 15px; padding: 11px 18px; }

/* --------------------------------------------------------------------------
   Header / nav
   -------------------------------------------------------------------------- */
.masthead { background: var(--panel); }
.masthead__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding-block: 16px;
}
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand > span:last-child { display: flex; flex-direction: column; }
.brand__name { white-space: nowrap; }
.brand__mark {
  width: 38px; height: 38px; flex: 0 0 38px; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.brand__name {
  font-family: var(--display); font-size: 20px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.03em; color: var(--text);
  line-height: 1;
}
.brand__sub { font-size: 10.5px; color: var(--text-meta);
  letter-spacing: 0.12em; text-transform: uppercase; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 16px; }
.nav > a, .nav__group > button { white-space: nowrap; }
.nav a {
  font-family: var(--display); font-size: 16px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; color: #C7C9C5;
  padding-block: 12px;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); text-decoration: none; }
.nav a.btn--primary, .nav a.btn--primary:hover { color: var(--accent-ink); }

.navtoggle { display: none; width: 46px; height: 46px; background: transparent;
  border: 1px solid var(--line-strong); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.navtoggle span { width: 20px; height: 2px; background: var(--accent); display: block; }

/* Utility bar above the masthead */
.utility {
  background: var(--panel); color: var(--text-meta);
  font-size: 13px; border-bottom: 1px solid var(--line);
}
.utility__inner { display: flex; justify-content: space-between; gap: 16px; padding-block: 9px; }

/* --------------------------------------------------------------------------
   Panels, cards, grids
   -------------------------------------------------------------------------- */
.panel { background: var(--panel); padding: 24px 26px; }
.panel--accent { border-left: 6px solid var(--accent); }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Hairline-separated card set, the house pattern */
.cardset { display: grid; gap: 3px; background: var(--accent); padding: 3px; }
.cardset .card { background: var(--ground); }

.card { display: block; padding: 24px; text-decoration: none; color: inherit; }
.card__kicker, .card__title, .card__body { display: block; }
a.card:hover { background: var(--panel-raised); text-decoration: none; }
.card__kicker {
  font-family: var(--display); font-size: 15px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent);
}
.card__title {
  font-family: var(--display); font-size: 22px; font-weight: 700;
  text-transform: uppercase; color: #fff; margin: 8px 0 6px;
}
.card__body { font-size: 14.5px; line-height: 1.6; color: var(--text-body); }

/* --------------------------------------------------------------------------
   Warning block — for the "here is what actually fails an inspection" callouts
   -------------------------------------------------------------------------- */
.warn {
  background: var(--panel);
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px 26px;
  border-left: 6px solid var(--accent);
}
.warn__icon { flex: 0 0 26px; margin-top: 3px; }
.warn__title {
  font-family: var(--display); font-size: 20px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; color: #fff;
}

/* Inline tag/badge */
.tag {
  display: inline-block;
  font-family: var(--display); font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 6px 13px;
}
.tag--accent { background: var(--accent); color: var(--accent-ink); }
.tag--outline { border: 1px solid var(--line-strong); color: #C7C9C5; }

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */
.stats { display: flex; flex-wrap: wrap; gap: 36px; }
.stat__num {
  font-family: var(--display); font-size: 40px; font-weight: 700;
  color: var(--accent); line-height: 1;
}
.stat__label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-meta); margin-top: 5px;
}

/* --------------------------------------------------------------------------
   Data rows (schedule, citations)
   -------------------------------------------------------------------------- */
.rows { border-top: 1px solid var(--line); }
.row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line);
}
.row__title { font-size: 15.5px; font-weight: 600; color: #fff; }
.row__sub { font-size: 13px; color: var(--text-meta); }
.row__price { font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--accent); white-space: nowrap; }

/* Citation table */
.cites { width: 100%; border-collapse: collapse; }
.cites th {
  text-align: left; font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-meta);
  padding: 12px 20px 12px 0; border-bottom: 1px solid var(--line);
}
.cites td { padding: 15px 20px 15px 0; border-bottom: 1px solid var(--line);
  font-size: 14.5px; line-height: 1.55; color: var(--text-body); vertical-align: top; }
.cites td:first-child {
  font-family: var(--display); font-size: 17px; font-weight: 700;
  color: var(--accent); text-transform: uppercase; width: 220px;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.field { margin-bottom: 16px; }
.field > label {
  display: block; font-family: var(--display); font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-meta);
  margin-bottom: 7px;
}
.input, select.input, textarea.input {
  width: 100%; padding: 13px 14px; min-height: 44px;
  font-family: var(--body); font-size: 15px;
  background: var(--ground); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 0;
}
.input:hover { border-color: var(--accent); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.foot { background: var(--panel); }
.foot__inner {
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between; align-items: center;
  padding-block: 18px; font-size: 13px; color: var(--text-meta);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cardset { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  :root { --gutter: 18px; --stripe: 6px; }
  .navtoggle { display: flex; }
  .nav { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch;
    gap: 0; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--panel); border-top: 1px solid var(--line);
    padding: 8px var(--gutter) 16px; z-index: 50;
  }
  .nav.is-open a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .masthead { position: relative; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .cardset { grid-template-columns: minmax(0, 1fr); }
  .utility__inner { flex-direction: column; gap: 4px; }
  .cites td:first-child { width: auto; }
  .cites, .cites tbody, .cites tr, .cites td { display: block; width: 100%; }
  .cites thead { display: none; }
  .cites tr { padding-block: 10px; border-bottom: 1px solid var(--line); }
  .cites td { border: 0; padding: 4px 0; }
  .row { flex-wrap: wrap; }
  .stats { gap: 24px; }
}

/* --------------------------------------------------------------------------
   Motion / print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

@media print {
  body { background: #fff; color: #000; font-size: 12pt; }
  .stripe, .navtoggle, .nav, .utility { display: none; }
  .panel, .card, .warn { background: #fff; border: 1px solid #999; }
  .h1, .h2, .h3, .card__title, .warn__title { color: #000; }
  p, .card__body, .lede, .cites td { color: #222; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}

/* ==========================================================================
   2026-10-29 additions (Rick: EST carries the 2027 NFPA 70E training lineup,
   the four training options, the live-class block and the client strip,
   plus state and city pages). Same tokens, same square-corner rules.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Masthead with dropdown groups (desktop) and a drawer (mobile)
   -------------------------------------------------------------------------- */
.nav__group { position: relative; }
.nav__group > button {
  background: none; border: 0; cursor: pointer;
  font-family: var(--display); font-size: 16px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; color: #C7C9C5;
  padding: 12px 0; display: inline-flex; align-items: center; gap: 6px;
}
.nav__group > button::after {
  content: ""; width: 0; height: 0; border-left: 5px solid transparent;
  border-right: 5px solid transparent; border-top: 6px solid var(--accent);
}
.nav__group > button:hover, .nav__group.is-open > button { color: var(--accent); }
.nav__panel {
  display: none; position: absolute; left: 0; top: 100%; z-index: 60;
  min-width: 560px; background: var(--panel); border: 1px solid var(--line-strong);
  border-top: 3px solid var(--accent); padding: 22px 26px 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 36px;
}
.nav__panel--wide { min-width: 820px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nav__group.is-open > .nav__panel { display: grid; }
.nav__col h6 {
  margin: 0 0 8px; font-family: var(--display); font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-meta);
}
.nav__col h6 + h6, .nav__col a + h6 { margin-top: 16px; }
.nav__col a {
  display: block; padding: 7px 0; font-family: var(--body); font-size: 15px;
  font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--text);
  border-bottom: 1px solid var(--line); line-height: 1.35;
}
.nav__col a:last-child { border-bottom: 0; }
.nav__col a small { display: block; font-size: 12.5px; color: var(--text-meta); font-weight: 400; }
.nav__col a:hover { color: var(--accent); text-decoration: none; }
.nav__feat {
  grid-column: 1 / -1; margin-top: 14px; padding: 16px 18px;
  background: var(--ground); border-left: 6px solid var(--accent);
}
.nav__feat b { display: block; font-family: var(--display); font-size: 19px; text-transform: uppercase; color: #fff; }
.nav__feat p { margin: 6px 0 0; font-size: 14px; }
@media (max-width: 820px) {
  .nav__group { width: 100%; }
  .nav__group > button { width: 100%; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__panel, .nav__panel--wide { position: static; min-width: 0; border: 0; border-top: 0; padding: 4px 0 10px 12px; grid-template-columns: 1fr; gap: 0; background: transparent; }
  .nav.is-open a { border-bottom: 1px solid var(--line); }
  .nav__col a { border-bottom: 1px solid var(--line); }
  .nav__feat { display: none; }
  .nav.is-open { max-height: calc(100vh - 120px); overflow: auto; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { padding-block: 56px 48px; position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.hero__kick { display: inline-flex; align-items: center; gap: 8px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero__proof { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; font-size: 13.5px; color: var(--text-meta); }
.hero__proof b { color: var(--text); font-weight: 600; }
.hero__proof .star { color: var(--accent); letter-spacing: 1px; }
@media (max-width: 980px) { .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } .hero { padding-block: 36px 28px; } }

/* Big edition badge used in the hero panel and the 2027 page */
.edition {
  display: inline-grid; grid-template-columns: auto auto; gap: 0 12px; align-items: center;
  background: var(--accent); color: var(--accent-ink); padding: 10px 16px;
}
.edition b { font-family: var(--display); font-size: 34px; line-height: 1; font-weight: 700; }
.edition span { font-family: var(--display); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.2; }

/* --------------------------------------------------------------------------
   Client strip (marquee). Text wordmarks, no logo files to license.
   -------------------------------------------------------------------------- */
.clients { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0 28px; overflow: hidden; }
.clients__h {
  text-align: center; margin: 0 0 18px; font-family: var(--display); font-size: 15px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-meta);
}
.clients__track { display: flex; gap: 56px; width: max-content; animation: clients-scroll 48s linear infinite; padding-left: 56px; }
.clients__logo {
  white-space: nowrap; font-family: var(--display); font-size: 24px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: #C7C9C5; opacity: 0.85;
}
.clients:hover .clients__track { animation-play-state: paused; }
@keyframes clients-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .clients__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 18px 36px; padding: 0 var(--gutter); } .clients__logo[aria-hidden] { display: none; } }

/* --------------------------------------------------------------------------
   Four training options
   -------------------------------------------------------------------------- */
.options__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; background: var(--accent); padding: 3px; }
.opt { background: var(--panel); padding: 24px 22px 22px; display: grid; grid-template-rows: auto auto auto 1fr auto auto; gap: 8px; min-height: 100%; }
.opt--featured { background: var(--panel-raised); }
.opt__num {
  justify-self: start; font-family: var(--display); font-size: 13px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent); padding: 5px 10px;
}
.opt--featured .opt__num { background: #fff; }
.opt__for { font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-meta); }
.opt h3 { font-size: 26px; color: #fff; }
.opt p { font-size: 14.5px; line-height: 1.55; }
.opt__pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; }
.opt__pills span { font-size: 12px; font-weight: 600; color: var(--text); border: 1px solid var(--line-strong); padding: 4px 9px; }
.opt .btn { width: 100%; }
.opt__more { font-size: 13px; color: var(--text-meta); }
.opt__more a { color: var(--accent); }
.options__note { margin-top: 16px; font-size: 13.5px; color: var(--text-meta); max-width: 92ch; }
@media (max-width: 1080px) { .options__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .options__grid { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   Live class widget: the shared next-classes.js injects AFT's own colors.
   EST restyles it to the Hazard tokens with higher specificity, so the script
   itself stays byte-identical to AFT/AFC/MCS.
   -------------------------------------------------------------------------- */
.live-block { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.live-block .nvc-widget .nvc-wrap { max-width: var(--wrap); padding: 44px var(--gutter); }
.live-block .nvc-widget .nvc-kicker { color: var(--accent); font-family: var(--display); font-size: 15px; letter-spacing: 0.14em; }
.live-block .nvc-widget .nvc-h { color: #fff; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(26px, 3.4vw, 38px); line-height: 0.98; }
.live-block .nvc-widget .nvc-sub { color: var(--text-body); font-size: 16px; }
.live-block .nvc-widget .nvc-fast { background: var(--ground); border: 1px solid var(--line-strong); border-left: 6px solid var(--accent); border-radius: 0; color: var(--text-body) !important; }
.live-block .nvc-widget .nvc-fast b { color: #fff; } .live-block .nvc-widget .nvc-fast span { color: var(--accent); }
.live-block .nvc-widget .nvc-fast:hover { background: var(--panel-raised); }
.live-block .nvc-widget .nvc-card, .live-block .nvc-widget .nvc-tcard { background: var(--ground); border: 1px solid var(--line-strong); border-radius: 0; box-shadow: none; }
.live-block .nvc-widget .nvc-band { background: var(--accent); color: var(--accent-ink); font-family: var(--display); font-size: 13px; letter-spacing: 0.1em; }
.live-block .nvc-widget .nvc-dot { background: var(--accent-ink); box-shadow: none; }
.live-block .nvc-widget .nvc-pill { background: var(--panel-raised); border-radius: 0; color: var(--text); }
.live-block .nvc-widget .nvc-title { font-family: var(--display); text-transform: uppercase; font-size: 21px; font-weight: 700; }
.live-block .nvc-widget .nvc-price { color: var(--accent); font-family: var(--display); font-size: 28px; }
.live-block .nvc-widget .nvc-btn, .live-block .nvc-widget .nvc-tbtn {
  background: var(--accent); color: var(--accent-ink) !important; border-radius: 0;
  font-family: var(--display); font-size: 17px; text-transform: uppercase; letter-spacing: 0.05em;
}
.live-block .nvc-widget .nvc-btn:hover, .live-block .nvc-widget .nvc-tbtn:hover { background: var(--accent-soft); }
.live-block .nvc-widget .nvc-card.is-closed .nvc-btn { background: var(--line-strong); color: var(--text) !important; }
.live-block .nvc-widget .nvc-empty { background: var(--ground); border: 1px solid var(--line-strong); border-radius: 0; color: var(--text-body); }
.live-block .nvc-widget .nvc-foot { color: var(--text-meta); }
.live-block .nvc-widget .nvc-foot a, .live-block .nvc-widget .nvc-empty a { color: var(--accent); }
.live-block .nvc-widget .nvc-tcard b { font-family: var(--display); text-transform: uppercase; font-size: 21px; }
.live-block .nvc-widget .nvc-tcard p { color: var(--text-body); }
.live-block__fallback { padding: 44px 0; }

/* --------------------------------------------------------------------------
   2027 edition block (home) and the 2027 page
   -------------------------------------------------------------------------- */
.ed27 { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ed27__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 44px; align-items: start; }
.ed27__facts { display: grid; gap: 3px; background: var(--accent); padding: 3px; }
.ed27__fact { background: var(--ground); padding: 18px 20px; }
.ed27__fact b { display: block; font-family: var(--display); font-size: 17px; font-weight: 700; text-transform: uppercase; color: #fff; letter-spacing: 0.03em; }
.ed27__fact span { font-size: 14px; line-height: 1.55; color: var(--text-body); display: block; margin-top: 4px; }
.ed27__fact i { font-style: normal; font-family: var(--display); font-size: 13px; letter-spacing: 0.1em; color: var(--accent); text-transform: uppercase; }
@media (max-width: 980px) { .ed27__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; } }

/* Change log on the 2027 page */
.change { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.change:last-child { border-bottom: 1px solid var(--line); }
.change__cite { font-family: var(--display); font-size: 20px; font-weight: 700; color: var(--accent); text-transform: uppercase; line-height: 1.1; }
.change__cite small { display: block; font-family: var(--body); font-size: 12.5px; color: var(--text-meta); text-transform: none; letter-spacing: 0; font-weight: 500; margin-top: 4px; }
.change h3 { font-size: 22px; color: #fff; margin-bottom: 6px; }
.change p { font-size: 15px; }
.change__apply { margin-top: 12px; padding: 12px 16px; background: var(--panel); border-left: 6px solid var(--accent); font-size: 14px; }
.change__apply b { color: var(--text); font-weight: 600; }
@media (max-width: 760px) { .change { grid-template-columns: minmax(0, 1fr); gap: 8px; } }

/* --------------------------------------------------------------------------
   Reviews strip
   -------------------------------------------------------------------------- */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.review { background: var(--panel); padding: 22px 24px; border-top: 3px solid var(--accent); }
.review__stars { color: var(--accent); letter-spacing: 2px; font-size: 15px; }
.review blockquote { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--text); }
.review figcaption { margin-top: 12px; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-meta); }
@media (max-width: 980px) { .reviews { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   Process / steps and the how-it-works row
   -------------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; background: var(--line-strong); padding: 3px; }
.step { background: var(--ground); padding: 22px 22px 20px; }
.step__n { font-family: var(--display); font-size: 40px; font-weight: 700; color: var(--accent); line-height: 1; }
.step h3 { font-size: 20px; color: #fff; margin: 8px 0 6px; }
.step p { font-size: 14.5px; }
@media (max-width: 820px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* --------------------------------------------------------------------------
   City and state pages
   -------------------------------------------------------------------------- */
.statgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; background: var(--accent); padding: 3px; }
.statgrid > div { background: var(--panel); padding: 18px 18px 16px; }
.statgrid b { display: block; font-family: var(--display); font-size: 30px; font-weight: 700; color: var(--accent); line-height: 1; }
.statgrid span { display: block; font-size: 13.5px; line-height: 1.5; color: var(--text-body); margin-top: 6px; }
.statgrid small { display: block; font-size: 11.5px; color: var(--text-meta); margin-top: 6px; letter-spacing: 0.04em; }
@media (max-width: 980px) { .statgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .statgrid { grid-template-columns: minmax(0, 1fr); } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span, .chips a { font-size: 13px; font-weight: 600; color: var(--text); border: 1px solid var(--line-strong); padding: 6px 11px; }
.chips a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

.prose p { font-size: 16px; line-height: 1.68; max-width: 72ch; }
.prose p + p { margin-top: 14px; }

.points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.point { padding: 18px 20px; background: var(--panel); border-left: 6px solid var(--accent); }
.point b { color: #fff; font-weight: 600; }
.point p { margin: 4px 0 0; font-size: 14.5px; }
@media (max-width: 820px) { .points { grid-template-columns: minmax(0, 1fr); } }

.qr { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; background: var(--line-strong); padding: 3px; }
.qr > div { background: var(--panel); padding: 14px 16px; }
.qr .stat__label { margin: 0 0 4px; }
.qr p { margin: 0; font-size: 14px; color: var(--text); }
@media (max-width: 980px) { .qr { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.status { display: inline-block; font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--line-strong); color: var(--text); white-space: nowrap; }
.status--op { border-color: var(--ok); color: var(--ok); }
.status--uc { border-color: var(--accent); color: var(--accent); }
.status--pl { color: var(--text-meta); }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-size: 16.5px; font-weight: 600; color: #fff; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 24px; color: var(--accent); line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq .faq__a { padding: 0 0 18px; font-size: 15px; line-height: 1.65; color: var(--text-body); max-width: 78ch; }

/* Hub index of cities / states */
.index-list { columns: 4; column-gap: 28px; }
.index-list a { display: block; break-inside: avoid; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--text); font-size: 15px; }
.index-list a small { color: var(--text-meta); font-size: 12.5px; margin-left: 6px; }
.index-list a:hover { color: var(--accent); text-decoration: none; }
@media (max-width: 1080px) { .index-list { columns: 3; } }
@media (max-width: 820px) { .index-list { columns: 2; } }
@media (max-width: 520px) { .index-list { columns: 1; } }

.cta-band { background: var(--accent); color: var(--accent-ink); padding: 26px 30px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.cta-band p { color: var(--accent-ink); }

/* --------------------------------------------------------------------------
   Full footer
   -------------------------------------------------------------------------- */
.foot__cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 32px; padding-block: 40px 30px; border-bottom: 1px solid var(--line); }
.foot__cols h6 { margin: 0 0 10px; font-family: var(--display); font-size: 13.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-meta); }
.foot__cols a { display: block; padding: 5px 0; font-size: 14px; color: #C7C9C5; }
.foot__cols a:hover { color: var(--accent); text-decoration: none; }
.foot__about p { font-size: 14px; max-width: 34ch; }
.foot__legal { font-size: 12.5px; color: var(--text-meta); padding-block: 16px 22px; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }
.foot__legal a { color: var(--text-meta); }
@media (max-width: 1080px) { .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .foot__cols { grid-template-columns: minmax(0, 1fr); } }

/* Breadcrumb */
.crumb { font-size: 13px; color: var(--text-meta); margin-bottom: 14px; }
.crumb a { color: var(--text-meta); } .crumb a:hover { color: var(--accent); }

/* Sticky quote bar on mobile */
.mbar { display: none; }
@media (max-width: 820px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--line-strong); }
  .mbar a { background: var(--accent); color: var(--accent-ink); text-align: center; padding: 14px 8px; font-family: var(--display); font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
  .mbar a:last-child { background: var(--panel); color: var(--text); }
  body { padding-bottom: 54px; }
}

/* Mobile polish, 2026-10-29 */
@media (max-width: 820px) {
  .brand__name { font-size: 18px; }
  .utility__inner > span:first-child { display: none; }
  .mbar a { font-size: 15px; padding: 14px 6px; white-space: nowrap; }
  .hero__proof { gap: 8px 18px; }
  .h1 { font-size: clamp(34px, 10vw, 44px); }
}

/* --------------------------------------------------------------------------
   State compliance guide (ported from AFT's /guide/states/ pages)
   -------------------------------------------------------------------------- */
.guide { max-width: 82ch; }
.guide p { font-size: 16px; line-height: 1.68; }
.guide p + p { margin-top: 14px; }
.guide strong { color: var(--text); font-weight: 600; }
.guide em { color: var(--text); }
.guide h2.sec { display: flex; align-items: baseline; gap: 14px; font-size: clamp(22px, 2.8vw, 30px); color: #fff; margin: 40px 0 14px; padding-top: 22px; border-top: 3px solid var(--accent); }
.guide h2.sec .num { font-size: 15px; letter-spacing: 0.12em; color: var(--accent); flex: 0 0 auto; }
.guide h3.sub { font-size: 20px; color: #fff; margin: 22px 0 10px; }
.guide ul.checklist { list-style: none; padding: 0; margin: 12px 0 0; }
.guide ul.checklist li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.6; color: var(--text-body); }
.guide ul.checklist li::before { content: ""; position: absolute; left: 0; top: 17px; width: 12px; height: 12px; background: var(--accent); }
.guide .callout { margin: 16px 0; padding: 16px 18px; background: var(--ground); border-left: 6px solid var(--accent); }
.guide .callout.danger { border-left-color: var(--bad); }
.guide .callout.info { border-left-color: var(--line-strong); }
.guide .callout.warn { border-left-color: var(--warn); }
.guide .co-hd { font-family: var(--display); font-size: 15px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.guide .co-badge { display: inline-flex; width: 20px; height: 20px; align-items: center; justify-content: center; background: var(--accent); color: var(--accent-ink); font-size: 12px; }
.guide .callout.danger .co-badge { background: var(--bad); color: #fff; }
.guide .callout p, .guide .conn { font-size: 14.5px; margin: 0; }
.guide .case { margin: 18px 0; padding: 18px 20px; background: var(--ground); border: 1px solid var(--line-strong); }
.guide .case h4 { margin: 8px 0 8px; font-family: var(--display); font-size: 21px; font-weight: 700; text-transform: uppercase; color: #fff; line-height: 1.05; }
.guide .case-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.guide .case-meta .loc { font-family: var(--display); font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-meta); margin-right: 6px; }
.guide .chip { font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--line-strong); color: var(--text); }
.guide .chip.danger { border-color: var(--bad); color: var(--bad); }
.guide .chip.warn { border-color: var(--accent); color: var(--accent); }
.guide .chip.info { color: var(--text-meta); }
.guide .stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3px; background: var(--accent); padding: 3px; margin: 22px 0; }
.guide .stats .stat { background: var(--ground); padding: 16px 16px 14px; }
.guide .stats .num { font-family: var(--display); font-size: 32px; font-weight: 700; color: var(--accent); line-height: 1; }
.guide .stats .lbl { font-size: 13px; line-height: 1.5; color: var(--text-body); margin-top: 6px; }
.guide .panel { margin: 22px 0; background: var(--ground); border-left: 6px solid var(--accent); }
.guide .panel-hd { font-family: var(--display); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.guide .panel-hd .bar { display: none; }
.guide table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14.5px; }
.guide th, .guide td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.guide th { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-meta); }
@media (max-width: 900px) { .guide .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
