/* ============================================================================
   FABLE ABG DESIGN SYSTEM — ABA Business Growth, 2026-07 full redesign.
   Single source of truth for the site's visual language. Component classes
   (.abg .hero/.card/.stat/...) are authored in page markup; every visual
   decision lives here. Replaces the former per-page inline <style> blocks.
   ========================================================================== */

:root {
  --f-navy: #14213D;
  --f-navy-deep: #0C1428;
  --f-coral: #C1442E;
  --f-coral-dark: #9E3323;
  --f-porcelain: #F7F5F1;
  --f-white: #FFFFFF;
  --f-line: #E3DFD6;
  --f-mist: #DCE3EF;
  --f-slate: #56607A;
  --f-gold: #E3A857;
  --f-radius: 14px;
  --f-shadow: 0 1px 2px rgba(20, 33, 61, .05), 0 10px 30px -12px rgba(20, 33, 61, .18);
  --f-shadow-lift: 0 2px 4px rgba(20, 33, 61, .06), 0 18px 42px -14px rgba(20, 33, 61, .26);
}

/* ---- Global chrome (Astra shell) ---------------------------------------- */
body, body.ast-separate-container, .ast-separate-container .ast-article-single {
  background: var(--f-porcelain);
  font-family: 'Inter', -apple-system, sans-serif;
}
.site-header, .ast-primary-header-bar, .main-header-bar {
  background: rgba(247, 245, 241, .92) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--f-line);
}
.main-header-menu .menu-item > .menu-link,
.ast-header-html, .site-title a, .ast-site-identity .site-title a {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--f-navy) !important;
}
.main-header-menu .menu-item > .menu-link:hover,
.main-header-menu .current-menu-item > .menu-link {
  color: var(--f-coral) !important;
}
.ast-site-identity .site-description { color: var(--f-slate); }
.site-footer, .ast-footer-copyright { background: var(--f-navy-deep); color: var(--f-mist); }
.site-footer a { color: var(--f-gold); }

h1, h2, h3, h4, .entry-title {
  font-family: 'Newsreader', Georgia, serif;
  color: var(--f-navy);
}

/* ---- .abg root ----------------------------------------------------------- */
.abg {
  /* legacy var names kept live: page markup still references them */
  --ink: var(--f-navy);
  --cream: var(--f-porcelain);
  --paper: var(--f-white);
  --brass: var(--f-coral);
  --brass-d: var(--f-coral-dark);
  --line: var(--f-line);
  --mut: var(--f-slate);
  font-family: 'Inter', sans-serif;
  color: var(--f-navy);
  line-height: 1.7;
  font-size: 17.5px;
  margin: 0 auto;
  max-width: 1120px;
}
.abg h1, .abg h2, .abg h3 {
  font-family: 'Newsreader', Georgia, serif;
  line-height: 1.12;
  color: var(--f-navy);
  margin: 0 0 16px;
}
.abg h1 { font-size: clamp(38px, 5vw, 54px); font-weight: 600; letter-spacing: -.6px; }
.abg h2 { font-size: clamp(27px, 3.4vw, 36px); font-weight: 600; letter-spacing: -.3px; }
.abg h3 { font-size: 21px; font-weight: 600; }
.abg p { margin: 0 0 16px; }

.abg .kicker {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--f-coral);
  font-weight: 700;
  margin: 0 0 14px;
}

/* ---- Hero: midnight gradient panel -------------------------------------- */
.abg .hero {
  background: linear-gradient(128deg, var(--f-navy-deep) 0%, var(--f-navy) 58%, #1D3157 100%);
  color: var(--f-porcelain);
  padding: 76px 56px;
  border-radius: calc(var(--f-radius) + 6px);
  margin: 16px 0 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--f-shadow-lift);
}
.abg .hero:before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(620px 300px at 88% -10%, rgba(193, 68, 46, .28), transparent 68%),
    radial-gradient(420px 260px at 8% 112%, rgba(227, 168, 87, .14), transparent 70%);
  border: none; border-radius: 0; width: auto; height: auto; top: 0; right: 0;
  pointer-events: none;
}
.abg .hero:after {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0; width: 34%;
  background-image: repeating-linear-gradient(115deg, rgba(247, 245, 241, .05) 0 1px, transparent 1px 18px);
  border: none; border-radius: 0;
  -webkit-mask-image: linear-gradient(to left, #000, transparent);
  mask-image: linear-gradient(to left, #000, transparent);
  pointer-events: none;
}
.abg .hero > * { position: relative; z-index: 1; }
.abg .hero h1, .abg .hero h2 { color: var(--f-white); }
.abg .hero p { color: var(--f-mist); max-width: 660px; font-size: 19.5px; }
.abg .hero .kicker { color: var(--f-gold); }

/* ---- Sections ------------------------------------------------------------ */
.abg .sec { padding: 44px 0; border-top: 1px solid var(--f-line); }
.abg .sec.first { border-top: none; padding-top: 10px; }
.abg .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.abg .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ---- Cards --------------------------------------------------------------- */
.abg .card {
  background: var(--f-white);
  border: 1px solid var(--f-line);
  border-top: none;
  padding: 30px 28px;
  border-radius: var(--f-radius);
  box-shadow: var(--f-shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.abg .card:hover { transform: translateY(-3px); box-shadow: var(--f-shadow-lift); }
.abg .card h3 { margin-top: 0; }
.abg .card h3:after {
  content: '';
  display: block;
  width: 34px; height: 3px;
  background: var(--f-coral);
  border-radius: 2px;
  margin-top: 10px;
}

/* ---- Stats --------------------------------------------------------------- */
.abg .stat {
  background: var(--f-white);
  border: 1px solid var(--f-line);
  border-left: none;
  border-radius: var(--f-radius);
  padding: 18px 22px;
  box-shadow: var(--f-shadow);
}
.abg .stat .n {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 44px; font-weight: 600; line-height: 1.05;
  color: var(--f-coral);
  display: block;
}
.abg .stat .l { font-size: 14px; color: var(--f-slate); margin-top: 8px; display: block; }
.abg .hero .stat { background: rgba(247, 245, 241, .07); border-color: rgba(247, 245, 241, .16); box-shadow: none; }
.abg .hero .stat .n { color: var(--f-gold); }
.abg .hero .stat .l { color: var(--f-mist); }

/* ---- Buttons: pill ------------------------------------------------------- */
.abg .btn {
  display: inline-block;
  background: var(--f-coral);
  color: #fff !important;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 15px 32px;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: .01em;
  box-shadow: 0 8px 20px -8px rgba(193, 68, 46, .55);
  transition: background .15s, transform .15s, box-shadow .15s;
}
.abg .btn:hover {
  background: var(--f-coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -8px rgba(193, 68, 46, .6);
}
.abg .btn.ghost {
  background: transparent;
  color: var(--f-navy) !important;
  border: 1.5px solid var(--f-navy);
  box-shadow: none;
}
.abg .btn.ghost:hover { background: var(--f-navy); color: var(--f-porcelain) !important; }
.abg .hero .btn.ghost { color: var(--f-porcelain) !important; border-color: rgba(247, 245, 241, .55); }
.abg .hero .btn.ghost:hover { background: rgba(247, 245, 241, .12); }

/* ---- CTA band: navy ----------------------------------------------------- */
.abg .cta-band {
  background: var(--f-navy);
  border: none;
  border-radius: calc(var(--f-radius) + 4px);
  padding: 40px 44px;
  margin: 52px 0 12px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
  box-shadow: var(--f-shadow-lift);
  position: relative;
  overflow: hidden;
}
.abg .cta-band:before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(480px 240px at 92% -20%, rgba(193, 68, 46, .3), transparent 70%);
  pointer-events: none;
}
.abg .cta-band > * { position: relative; z-index: 1; }
.abg .cta-band h2 { margin: 0 0 6px; font-size: 27px; color: var(--f-white); }
.abg .cta-band p { margin: 0; color: var(--f-mist); max-width: 580px; }

/* ---- Tick lists ---------------------------------------------------------- */
.abg ul.tick { list-style: none; padding: 0; margin: 0 0 16px; }
.abg ul.tick li { padding: 8px 0 8px 36px; position: relative; }
.abg ul.tick li:before {
  content: '';
  position: absolute; left: 0; top: 9px;
  width: 22px; height: 22px;
  background: var(--f-coral);
  border-radius: 50%;
  border: none;
  transform: none;
}
.abg ul.tick li:after {
  content: '';
  position: absolute; left: 6px; top: 15px;
  width: 10px; height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.abg .quiet { color: var(--f-slate); font-size: 15px; }

/* ---- Steps: outlined display numerals ------------------------------------ */
.abg .steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.abg .steps li {
  counter-increment: s;
  padding: 20px 0 20px 74px;
  position: relative;
  border-bottom: 1px solid var(--f-line);
}
.abg .steps li:last-child { border-bottom: none; }
.abg .steps li:before {
  content: counter(s, decimal-leading-zero);
  position: absolute; left: 0; top: 14px;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 34px; font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--f-coral);
}

/* ---- Tables -------------------------------------------------------------- */
.abg table.tbl {
  width: 100%; border-collapse: separate; border-spacing: 0;
  font-size: 15px; margin: 0 0 16px;
  background: var(--f-white);
  border: 1px solid var(--f-line);
  border-radius: var(--f-radius);
  overflow: hidden;
  box-shadow: var(--f-shadow);
}
.abg table.tbl th {
  text-align: left; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--f-porcelain);
  background: var(--f-navy);
  border-bottom: none;
  padding: 12px 16px;
}
.abg table.tbl td { border-bottom: 1px solid var(--f-line); padding: 14px 16px; vertical-align: top; }
.abg table.tbl tr:last-child td { border-bottom: none; }
.abg table.tbl tr:nth-child(even) td { background: #FBFAF7; }

/* ---- Footer strip / logo wall / form ------------------------------------- */
.abg .footer {
  margin-top: 56px; padding: 28px 0 10px;
  border-top: 2px solid var(--f-navy);
  font-size: 13.5px; color: var(--f-slate);
}
.abg .footer a { color: var(--f-coral-dark); }
.abg .logo-wall { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.abg .logo-wall img {
  max-height: 56px; width: auto;
  background: #fff; border: 1px solid var(--f-line);
  padding: 10px 16px; border-radius: 10px;
  box-shadow: var(--f-shadow);
}
.abg .form-wrap {
  background: var(--f-white);
  border: 1px solid var(--f-line);
  border-top: none;
  padding: 34px 32px;
  border-radius: var(--f-radius);
  box-shadow: var(--f-shadow-lift);
}

/* ---- Ninja Forms inputs (match system) ----------------------------------- */
.abg .nf-form-cont input[type="text"],
.abg .nf-form-cont input[type="email"],
.abg .nf-form-cont input[type="tel"],
.abg .nf-form-cont select,
.abg .nf-form-cont textarea,
.nf-form-cont input[type="text"],
.nf-form-cont input[type="email"],
.nf-form-cont input[type="tel"],
.nf-form-cont select,
.nf-form-cont textarea {
  background: var(--f-porcelain);
  border: 1px solid var(--f-line);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: 'Inter', sans-serif;
  color: var(--f-navy);
}
.nf-form-cont input:focus, .nf-form-cont select:focus, .nf-form-cont textarea:focus {
  border-color: var(--f-navy);
  outline: 2px solid rgba(20, 33, 61, .12);
}
.nf-form-cont input[type="button"], .nf-form-cont input[type="submit"] {
  background: var(--f-coral);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 32px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.nf-form-cont input[type="button"]:hover, .nf-form-cont input[type="submit"]:hover {
  background: var(--f-coral-dark);
}
.nf-form-cont .nf-field-label label { font-weight: 600; color: var(--f-navy); }

/* ---- Responsive ----------------------------------------------------------- */
@media (max-width: 820px) {
  .abg .grid2, .abg .grid3 { grid-template-columns: 1fr; }
  .abg h1 { font-size: 34px; }
  .abg .hero { padding: 46px 28px; }
  .abg .cta-band { padding: 30px 26px; }
}

/* Astra's generated CSS applies the DESKTOP 110px header side-padding below the
   break point too (.ast-header-break-point #masthead ...), squeezing the phone
   header to 220px and wrapping the site title one letter per line. Same
   selector, later source order — this override wins below the break point. */
.ast-header-break-point #masthead .ast-primary-header-bar.main-header-bar {
  padding-left: 20px;
  padding-right: 20px;
}
