/* ============================================================
   FinancialAIvisor: homepage sections (2026-10-16 refresh; card graphics out 2026-10-17)
   Loaded after styles.css. Everything here is prefixed fh- so the
   shared header, footer and blog styles are untouched, and a landing
   page on this site can link styles.css + home.css and reuse any part.
   ============================================================ */

:root {
  --fh-ink: #090E1A;
  --fh-ink-2: #0B1324;
  --fh-paper: #F4F6FA;
  --fh-text: #0F172A;
  --fh-soft: #475569;
  --fh-mute: #64748B;
  --fh-line: #E2E8F0;
  --fh-blue: #2563EB;
  --fh-blue-light: #93C5FD;
  --fh-blue-wash: #DBEAFE;
  --fh-gold: #C9A84C;
  --fh-on-ink: #C7D2E0;
  --fh-on-ink-mute: #8292AA;
}

/* ---------- shared section shell ---------- */

.fh-sec {
  position: relative;
  padding: 112px 0;
}

.fh-sec--ink {
  background: linear-gradient(180deg, var(--fh-ink-2) 0%, var(--fh-ink) 100%);
}

.fh-sec--paper {
  background: var(--fh-paper);
  color: var(--fh-text);
}

/* the shared stylesheet hangs a laptop picture on #how-it-works; this section is a different one now */
#how-it-works.fh-sec::after {
  content: none;
}

.fh-head {
  max-width: 760px;
  margin-bottom: 56px;
}

.fh-h2 {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  text-wrap: balance;
}

.fh-lede {
  font-size: 1.15rem;
  line-height: 1.65;
  color: #A9B6C9;
  max-width: 640px;
}

.fh-sec--paper .fh-h2 { color: var(--fh-text); }
.fh-sec--paper .fh-lede { color: var(--fh-soft); }

.fh-link {
  color: var(--fh-blue-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.fh-link:hover { color: #fff; }

/* ---------- hero ---------- */

.fh-hero {
  min-height: min(100vh, 860px);
  padding: 150px 0 112px;
}

.fh-hero__copy { max-width: 800px; }

.fh-hero__title {
  font-size: clamp(2.6rem, 5vw, 4.3rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  text-wrap: balance;
}

.fh-hero__sub {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #C3CEDD;
  max-width: 38rem;
  margin-bottom: 36px;
}

.fh-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.fh-hero__ctas .btn--lg {
  padding: 18px 30px;
}

.fh-hero__fine {
  margin-top: 22px;
  font-size: 0.9rem;
  color: var(--fh-on-ink-mute);
}

/* the week: an advisor's calendar with what the assistant booked */

.fh-week {
  position: relative;
  margin: 0;
}

.fh-week__card {
  background: #fff;
  color: var(--fh-text);
  border-radius: 20px;
  padding: 20px 20px 18px;
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.fh-week__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.fh-week__top strong {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--fh-text);
}

.fh-week__legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--fh-mute);
}

.fh-key {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.fh-key--booked { background: var(--fh-blue); }
.fh-key--own { background: #CBD5E1; margin-left: 8px; }

.fh-week__days,
.fh-week__body {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
}

.fh-week__days {
  grid-template-columns: 34px repeat(5, minmax(0, 1fr));
  padding-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--fh-soft);
  text-align: center;
}

.fh-week__body { --slot: 25px; }

.fh-week__hours {
  display: grid;
  grid-template-rows: repeat(8, calc(var(--slot) * 2));
  font-size: 0.7rem;
  color: var(--fh-mute);
  font-variant-numeric: tabular-nums;
}

.fh-week__hours span { transform: translateY(-0.55em); }

.fh-week__grid {
  position: relative;
  height: calc(var(--slot) * 16);
  border: 1px solid var(--fh-line);
  border-radius: 6px;
  background-image:
    linear-gradient(to bottom, var(--fh-line) 1px, transparent 1px),
    linear-gradient(to right, var(--fh-line) 1px, transparent 1px);
  background-size: 100% calc(var(--slot) * 2), 20% 100%;
  background-position: 0 -1px, -1px 0;
}

.fh-ev {
  position: absolute;
  left: calc((var(--d) - 1) * 20% + 3px);
  width: calc(20% - 6px);
  top: calc(var(--s) * var(--slot) + 2px);
  height: calc(var(--l) * var(--slot) - 4px);
  display: flex;
  flex-direction: column;
  padding: 3px 6px;
  overflow: hidden;
  border-radius: 7px;
  border-left: 3px solid var(--fh-blue);
  background: var(--fh-blue-wash);
  color: #1E3A8A;
  font-size: 0.68rem;
  line-height: 1.2;
  animation: fh-pop 0.5s var(--ease-out-expo) both;
  animation-delay: calc(var(--i) * 70ms + 120ms);
}

.fh-ev b { font-weight: 700; font-variant-numeric: tabular-nums; }
.fh-ev span { font-weight: 500; }

.fh-ev--short {
  flex-direction: row;
  gap: 4px;
  white-space: nowrap;
}

.fh-ev--own {
  background: #F1F5F9;
  border-left-color: #CBD5E1;
  color: var(--fh-soft);
}

.fh-ev--new {
  z-index: 1;
  background: var(--fh-blue);
  border-left-color: var(--fh-gold);
  color: #fff;
  box-shadow: 0 0 0 2px var(--fh-gold), 0 10px 22px -8px rgba(37, 99, 235, 0.7);
}

.fh-week__toast {
  position: absolute;
  z-index: 2;
  left: -30px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 14px;
  background: #0F1B33;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.75);
  animation: fh-toast 0.6s var(--ease-out-expo) 0.7s both;
}

.fh-week__toast strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  line-height: 1.25;
}

.fh-week__toast small {
  display: block;
  font-size: 0.78rem;
  color: #A9B6C9;
}

.fh-week__tick {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--fh-gold);
  color: var(--fh-ink);
}

.fh-week__note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--fh-on-ink-mute);
  text-align: right;
}

@keyframes fh-pop {
  from { opacity: 0; transform: scale(0.86); }
  to { opacity: 1; transform: none; }
}

@keyframes fh-toast {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- the 9:47 pm story ---------- */

.fh-story__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.fh-tl {
  border-radius: 20px;
  padding: 32px 32px 14px;
}

.fh-tl--without {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fh-tl--with {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.18), rgba(37, 99, 235, 0.05));
  border: 1px solid rgba(96, 165, 250, 0.35);
  box-shadow: 0 30px 60px -30px rgba(37, 99, 235, 0.55);
}

.fh-tl__title {
  margin-bottom: 26px;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: #fff;
}

.fh-tl--without .fh-tl__title { color: #94A3B8; }

.fh-tl__list li {
  position: relative;
  display: grid;
  grid-template-columns: 78px 28px minmax(0, 1fr);
  padding-bottom: 24px;
}

/* the line and the dot sit in the middle column */
.fh-tl__list li::before {
  content: '';
  position: absolute;
  left: 91px;
  top: 0.5em;
  bottom: -0.5em;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.fh-tl__list li:last-child::before { display: none; }

.fh-tl__list li::after {
  content: '';
  position: absolute;
  left: 87px;
  top: 0.45em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #475569;
}

.fh-tl--with .fh-tl__list li::after { background: var(--fh-blue); }

.fh-tl__time {
  grid-column: 1;
  padding-top: 1px;
  text-align: right;
  font-size: 0.9rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--fh-on-ink-mute);
}

.fh-tl__list li > p {
  grid-column: 3;
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--fh-on-ink);
}

.fh-tl--without .fh-tl__end::after { background: #F87171; }
.fh-tl--without .fh-tl__end > p { color: #FCA5A5; }

.fh-tl--with .fh-tl__end::after {
  left: 85px;
  width: 14px;
  height: 14px;
  top: 0.35em;
  background: var(--fh-gold);
  box-shadow: 0 0 0 5px rgba(201, 168, 76, 0.18);
}

.fh-tl--with .fh-tl__end > p {
  color: #fff;
  font-weight: 600;
}

.fh-tl__list li > .fh-quote {
  margin-top: 10px;
  max-width: 400px;
  padding-left: 14px;
  border-left: 2px solid rgba(96, 165, 250, 0.55);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.55;
  color: #E2E8F0;
}

.fh-rule {
  margin-top: 32px;
  padding: 28px 32px;
  border-radius: 18px;
  background: rgba(201, 168, 76, 0.07);
  border: 1px solid rgba(201, 168, 76, 0.3);
}

.fh-rule h3 {
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 8px;
}

.fh-rule p {
  max-width: 780px;
  margin-bottom: 14px;
  color: var(--fh-on-ink);
}

/* ---------- four systems ---------- */

.fh-sys {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.fh-sys__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--fh-line);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 18px 40px -26px rgba(15, 23, 42, 0.3);
}

.fh-sys__body { padding: 32px 32px 34px; }

.fh-sys__name {
  font-size: 1.65rem;
  color: var(--fh-text);
  margin-bottom: 4px;
}

.fh-sys__tag {
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--fh-blue);
}

.fh-sys__body > p:not(.fh-sys__tag) {
  margin-bottom: 14px;
  font-size: 1rem;
  color: var(--fh-soft);
}

.fh-ticks li {
  position: relative;
  margin-top: 8px;
  padding-left: 26px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--fh-text);
}

.fh-ticks li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 0.4em;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--fh-blue);
  border-bottom: 2px solid var(--fh-blue);
  transform: rotate(-45deg);
}

/* ---------- own it, don't rent it ---------- */

.fh-own__row {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fh-own__row > span {
  padding: 24px 0;
  font-size: 1rem;
  line-height: 1.55;
}

.fh-own__row--head > span {
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #94A3B8;
}

.fh-own__row--head > span:last-child { color: var(--fh-blue-light); }

.fh-own__label {
  font-weight: 600;
  color: #E2E8F0;
}

.fh-own__rent { color: #94A3B8; }

.fh-own__own { color: #fff; }

.fh-own__note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--fh-on-ink-mute);
}

/* ---------- how it works ---------- */

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

.fh-step {
  padding-top: 22px;
  border-top: 2px solid #CBD5E1;
}

.fh-step__n {
  display: block;
  margin-bottom: 12px;
  color: var(--fh-blue);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
}

.fh-step h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--fh-text);
}

.fh-step p {
  font-size: 0.97rem;
  line-height: 1.6;
  color: var(--fh-soft);
}

/* the compliance step: the same text, a blue rule */
.fh-step--key { border-top-color: var(--fh-blue); }

.fh-steps__cta { margin-top: 40px; }

/* ---------- contact + footer additions ---------- */

.fh-to-form { display: none; }

.fh-disclosure {
  max-width: 860px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--fh-on-ink-mute);
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  /* the shared hero drifts its skyline at 130% width, which stops short of the bottom of a tall hero */
  .fh-hero { animation: none; background-size: cover, cover; background-position: center, 50% 30%; }
  .fh-week { order: 2; max-width: 620px; margin-bottom: 40px; }
  .fh-own__row { grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1fr); }
  .fh-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fh-to-form { display: inline-flex; }
}

@media (max-width: 860px) {
  .fh-story__grid,
  .fh-sys { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 768px) {
  .fh-sec { padding: 72px 0; }
  .fh-head { margin-bottom: 36px; }
  .fh-hero { min-height: auto; padding: 128px 0 80px; }
  .fh-hero__title { font-size: clamp(2.3rem, 9.4vw, 3rem); }
  .fh-hero__ctas .btn,
  .fh-steps__cta .btn,
  .fh-to-form {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    white-space: normal;
    text-align: center;
  }
  .fh-week__toast { left: 10px; bottom: 26px; }

  /* the comparison stacks: each row is its label, then the two answers */
  .fh-own__row--head { display: none; }
  .fh-own__row { grid-template-columns: minmax(0, 1fr); padding: 20px 0; }
  .fh-own__row > span { padding: 6px 0; }
  .fh-own__label { font-size: 1.05rem !important; }
  .fh-own__rent::before,
  .fh-own__own::before {
    display: block;
    margin-bottom: 2px;
    font-size: 0.78rem;
    font-weight: 600;
  }
  .fh-own__rent::before { content: 'Renting'; color: #64748B; }
  .fh-own__own::before { content: 'Owning'; color: var(--fh-blue-light); }

  .fh-disclosure { text-align: center; margin-left: auto; margin-right: auto; }
}

@media (max-width: 600px) {
  .fh-week__card { padding: 14px 12px 12px; border-radius: 16px; }
  .fh-week__top { flex-direction: column; align-items: flex-start; gap: 6px; }
  .fh-week__days { grid-template-columns: 22px repeat(5, minmax(0, 1fr)); }
  .fh-week__body { --slot: 15px; grid-template-columns: 22px minmax(0, 1fr); }
  .fh-week__hours { font-size: 0.62rem; }
  .fh-ev {
    padding: 1px 3px;
    border-left-width: 2px;
    border-radius: 5px;
    font-size: 0.6rem;
  }
  .fh-ev span { display: none; }
  .fh-ev--short { border-radius: 3px; }
  .fh-week__toast { padding: 10px 14px 10px 10px; gap: 10px; }
  .fh-week__toast strong { font-size: 0.88rem; }
  .fh-week__note { text-align: left; }

  .fh-tl { padding: 24px 18px 8px; }
  .fh-tl__list li { grid-template-columns: 64px 24px minmax(0, 1fr); }
  .fh-tl__list li::before { left: 75px; }
  .fh-tl__list li::after { left: 71px; }
  .fh-tl--with .fh-tl__end::after { left: 69px; }
  .fh-tl__time { font-size: 0.82rem; }
  .fh-rule { padding: 22px 20px; }

  .fh-steps { grid-template-columns: minmax(0, 1fr); }
  .fh-sys__body { padding: 24px 22px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .fh-ev,
  .fh-week__toast { animation: none; }
}

/* ---------- problem cards: designed graphics in place of the old illustrations (2026-10-17) ----------
   Each shows the problem plainly: grey for the busywork, red for what goes missing. Selectors start with #pain-points
   so the light section's text-colour rules in styles.css (".section--light .pain-card p" and the like) don't win. */

#pain-points .pg {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(180deg, #0E1B33, #0A1628);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
#pain-points .pg p,
#pain-points .pg span,
#pain-points .pg li,
#pain-points .pg b,
#pain-points .pg em,
#pain-points .pg i { font-family: var(--font-body); font-style: normal; margin: 0; }
#pain-points .pg .pg-h { font: 700 0.8rem/1 var(--font-heading); color: rgba(255, 255, 255, 0.6); }
#pain-points .pg .pg-foot { display: flex; justify-content: space-between; font-size: 0.78rem; color: rgba(255, 255, 255, 0.55); }
#pain-points .pg .pg-foot b { color: #FCA5A5; font-weight: 700; }

/* doing it all yourself: the day, full of busywork */
#pain-points .pg-day { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
#pain-points .pg-day li { display: flex; align-items: center; gap: 10px; padding: 3px 10px; border-radius: 6px; border-left: 3px solid #64748B; background: rgba(148, 163, 184, 0.14); font-size: 0.76rem; line-height: 1.3; color: #CBD5E1; }
#pain-points .pg-day li b { width: 2.6em; font-weight: 700; color: #94A3B8; font-variant-numeric: tabular-nums; }
#pain-points .pg-day .pg-day__miss { border-left-color: #EF4444; background: rgba(239, 68, 68, 0.1); color: #FECACA; }
#pain-points .pg-day .pg-day__miss em { margin-left: auto; font-weight: 700; color: #FCA5A5; }

/* friends and family: left on seen */
#pain-points .pg-msgs { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
#pain-points .pg-msgs li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 5px 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); }
#pain-points .pg-msgs i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #334155; color: #CBD5E1; font: 700 0.72rem/1 var(--font-heading); }
#pain-points .pg-msgs span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 0.72rem; color: rgba(255, 255, 255, 0.5); }
#pain-points .pg-msgs span b { display: block; font-size: 0.78rem; font-weight: 600; color: #E2E8F0; }
#pain-points .pg-msgs em { font-size: 0.7rem; color: #94A3B8; }

/* burned by marketing: the invoice, and what it bought */
#pain-points .pg-inv { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 10px; background: #F8FAFC; }
#pain-points .pg-inv span { font-size: 0.72rem; color: #64748B; }
#pain-points .pg-inv span b { display: block; font: 700 1.05rem/1.2 var(--font-heading); color: #0F172A; }
#pain-points .pg-inv em { padding: 3px 8px; border-radius: 6px; background: #E2E8F0; font-size: 0.72rem; font-weight: 700; color: #334155; }
#pain-points .pg-leads { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
#pain-points .pg-leads li { display: flex; justify-content: space-between; padding: 4px 10px; border-radius: 6px; background: rgba(255, 255, 255, 0.05); font-size: 0.76rem; color: #CBD5E1; }
#pain-points .pg-leads em { font-weight: 700; color: #FCA5A5; }

/* boosted post: money in, likes out, no inquiries */
#pain-points .pg-post { padding: 12px 14px; border-radius: 12px; background: #F8FAFC; }
#pain-points .pg-post__top { display: flex; align-items: center; gap: 8px; }
#pain-points .pg-post__top i { width: 26px; height: 26px; border-radius: 50%; background: #CBD5E1; }
#pain-points .pg-post__top span { font-size: 0.7rem; color: #64748B; }
#pain-points .pg-post__top b { display: block; font-size: 0.8rem; font-weight: 600; color: #0F172A; }
#pain-points .pg-post__spend { margin-top: 10px !important; padding: 8px 10px; border-radius: 8px; background: #E2E8F0; font-size: 0.78rem; color: #334155; }
#pain-points .pg-post__spend b { font: 700 1.05rem/1 var(--font-heading); color: #0F172A; }
#pain-points .pg-post__stats { display: flex; justify-content: space-between; margin-top: 10px !important; font-size: 0.8rem; color: #475569; }
#pain-points .pg-post__stats .pg-post__zero { padding: 2px 8px; border-radius: 6px; background: #FEE2E2; font-weight: 700; color: #B91C1C; }

/* no growth plan: next month's pipeline, empty */
#pain-points .pg-pipe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
#pain-points .pg-pipe div { display: flex; flex-direction: column; gap: 6px; }
#pain-points .pg-pipe span { min-height: 2.4em; font-size: 0.72rem; line-height: 1.2; color: rgba(255, 255, 255, 0.6); }
#pain-points .pg-pipe i { display: block; height: 70px; border-radius: 8px; border: 1.5px dashed rgba(148, 163, 184, 0.45); }
#pain-points .pg-pipe b { font: 700 1.3rem/1 var(--font-heading); color: #FCA5A5; }

/* waiting on referrals: the empty inbox */
#pain-points .pg-empty { display: grid; justify-items: center; gap: 6px; padding: 18px 12px; border-radius: 12px; border: 1.5px dashed rgba(148, 163, 184, 0.4); text-align: center; }
#pain-points .pg-empty svg { width: 38px; height: 38px; color: #64748B; }
#pain-points .pg-empty b { font: 700 1rem/1.2 var(--font-heading); color: #E2E8F0; }
#pain-points .pg-empty span { font-size: 0.78rem; color: #FCA5A5; }

/* ---------- a designed hero background (no image): navy, the homepage hero's blue and gold glows, and a faint
   week grid with two booked slots. Used by /demo in place of an AI-generated picture. (2026-10-17) ---------- */
.fh-gridbg {
  overflow: hidden;
  background:
    radial-gradient(55% 55% at 82% 12%, rgba(37, 99, 235, 0.42), transparent 70%),
    radial-gradient(45% 45% at 8% 92%, rgba(201, 168, 76, 0.2), transparent 70%),
    linear-gradient(rgba(148, 163, 184, 0.13) 1px, transparent 1px) 0 0 / 100% 64px,
    linear-gradient(90deg, rgba(148, 163, 184, 0.13) 1px, transparent 1px) 0 0 / calc(100% / 7) 100%,
    linear-gradient(180deg, #0D1A36 0%, #090E1A 100%);
}
/* /demo fades its old hero picture to 55%; this background is designed to be seen at full strength */
.demo-hero__bg.fh-gridbg { opacity: 1; }
.fh-gridbg::before,
.fh-gridbg::after {
  position: absolute;
  box-sizing: border-box;
  width: calc(100% / 7 - 16px);
  padding: 12px 14px;
  border-radius: 10px;
  border-left: 4px solid #93C5FD;
  background: rgba(37, 99, 235, 0.32);
  color: rgba(255, 255, 255, 0.7);
  font: 600 0.85rem/1.35 var(--font-body);
  white-space: pre;
  text-align: left;
}
.fh-gridbg::before { content: "Tue 10:00 AM\A Retirement review"; left: calc(100% / 7 * 5 + 8px); top: 92px; height: 112px; }
.fh-gridbg::after { content: "Thu 2:00 PM\A Retirement review"; left: calc(100% / 7 * 1 + 8px); top: auto; bottom: 64px; height: 112px; border-left-color: #C9A84C; background: rgba(37, 99, 235, 0.5); box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.55); color: #fff; }
@media (max-width: 700px) {
  .fh-gridbg { background-size: auto, auto, 100% 48px, calc(100% / 4) 100%, auto; }
  .fh-gridbg::before { display: none; }
  .fh-gridbg::after { left: calc(100% / 4 * 0 + 6px); width: calc(100% / 2 - 12px); top: auto; bottom: 40px; height: auto; font-size: 0.78rem; }
}

/* ---------- /demo diagrams: designed graphics in place of the AI diagrams (2026-10-17) ----------
   They sit in /demo's cream .diagram-wrap panel. No targeting by person or place, no lead scoring, no numbers:
   the ad makes an offer, the people who want it ask, the assistant schedules, the review is booked. */

.dg { padding: 40px; color: #0F172A; font-family: var(--font-body); }
.dg p, .dg span, .dg b, .dg li, .dg em, .dg small { margin: 0; font-style: normal; }
.dg-card { background: #fff; border: 1px solid #E2E8F0; border-radius: 14px; box-shadow: 0 14px 30px -20px rgba(15, 23, 42, 0.45); }
.dg-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; font: 700 0.72rem/1 var(--font-body); white-space: nowrap; }
.dg-chip svg { width: 11px; height: 11px; }
.dg .dg-chip--gold { background: #FBF5E4; color: #7A5B0B; box-shadow: inset 0 0 0 1px #E8D59A; }
.dg .dg-chip--green { background: #DCFCE7; color: #166534; }

/* the loop: ads and articles, a request, the scheduling reply, the booked review, the monthly report */
.dg-loop__steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; margin: 0; padding: 0; list-style: none; }
.dg-step { position: relative; display: flex; flex-direction: column; gap: 12px; }
.dg-step + .dg-step::before { content: ""; position: absolute; left: -22px; top: 92px; width: 16px; height: 2px; background: #2563EB; }
.dg-step + .dg-step::after { content: ""; position: absolute; left: -9px; top: 88px; border: 5px solid transparent; border-left: 7px solid #2563EB; border-right: 0; }
.dg .dg-step__sys { font: 700 0.78rem/1.2 var(--font-heading); color: #2563EB; }
.dg-step .dg-card { display: grid; gap: 7px; min-height: 132px; align-content: center; padding: 14px; }
.dg .dg-step > b { font: 600 0.92rem/1.4 var(--font-body); color: #0F172A; }
.dg-mini-ad__who { display: flex; align-items: center; gap: 7px; font-size: 0.7rem; color: #64748B; }
.dg-mini-ad__who i { width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, #1E3A8A, #2563EB); }
.dg .dg-mini-ad__line { font: 700 0.86rem/1.25 var(--font-heading); color: #0F172A; }
.dg .dg-mini-ad__btn { justify-self: start; padding: 4px 9px; border-radius: 6px; background: #2563EB; color: #fff; font: 600 0.68rem/1.2 var(--font-body); }
.dg-req { display: flex; align-items: center; gap: 9px; }
.dg-req i { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #DBEAFE; color: #2563EB; }
.dg-req i svg { width: 16px; height: 16px; }
.dg .dg-req b { display: block; font: 600 0.84rem/1.25 var(--font-body); color: #0F172A; }
.dg .dg-req small { font-size: 0.72rem; color: #64748B; }
.dg .dg-bub { padding: 9px 11px; border-radius: 14px 14px 14px 4px; background: #2563EB; color: #fff; font-size: 0.78rem; line-height: 1.4; }
.dg-slot { display: grid; gap: 4px; padding: 10px; border-radius: 10px; border-left: 4px solid #C9A84C; background: #2563EB; }
.dg .dg-slot b { font: 700 0.86rem/1.2 var(--font-heading); color: #fff; }
.dg .dg-slot small { font-size: 0.72rem; color: rgba(255, 255, 255, 0.85); }
.dg-report { display: grid; gap: 8px; }
.dg .dg-report div { display: grid; grid-template-columns: 5.6em minmax(0, 1fr); align-items: center; gap: 8px; font-size: 0.72rem; color: #475569; }
.dg-report i { display: block; height: 9px; border-radius: 5px; background: #93C5FD; }
.dg .dg-loop__back { display: flex; justify-content: center; align-items: center; gap: 10px; width: max-content; max-width: 100%; margin: 26px auto 0; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1.5px dashed #93C5FD; font: 600 0.88rem/1.3 var(--font-body); color: #1E3A8A; }
.dg-loop__back svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 1100px) {
  .dg-loop__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 34px; }
  .dg-step:nth-child(4)::before, .dg-step:nth-child(4)::after { display: none; }
}
@media (max-width: 700px) {
  .dg { padding: 24px 18px; }
  .dg-loop__steps { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .dg-step + .dg-step::before { left: 50%; top: -22px; width: 2px; height: 14px; }
  .dg-step + .dg-step::after { left: calc(50% - 4px); top: -10px; border: 5px solid transparent; border-top: 7px solid #2563EB; border-bottom: 0; }
  .dg-step:nth-child(4)::before, .dg-step:nth-child(4)::after { display: block; }
  .dg-step .dg-card { min-height: 0; }
  .dg .dg-loop__back { width: auto; border-radius: 14px; }
}

/* Go Grow: the ad makes an offer; the people who want it raise their hand */
.dg-grow__grid { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); align-items: center; gap: 18px; max-width: 980px; margin: 0 auto; }
.dg-grow__col { display: grid; gap: 14px; }
.dg .dg-grow__lab { font: 700 0.8rem/1.2 var(--font-heading); color: #475569; }
.dg-fb { padding: 14px 16px; }
.dg .dg-fb__who { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.dg-fb__who i { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #1E3A8A, #2563EB); }
.dg .dg-fb__who b { display: block; font: 600 0.86rem/1.2 var(--font-body); color: #0F172A; }
.dg .dg-fb__who small { font-size: 0.72rem; color: #64748B; }
.dg .dg-fb__line { font: 700 1.05rem/1.25 var(--font-heading); color: #0F172A; }
.dg .dg-fb__sub { margin: 4px 0 10px; font-size: 0.84rem; line-height: 1.45; color: #475569; }
.dg .dg-fb__btn { display: inline-block; padding: 6px 12px; border-radius: 7px; background: #2563EB; color: #fff; font: 600 0.78rem/1.2 var(--font-body); }
.dg-g { padding: 14px 16px; }
.dg .dg-g__q { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; border: 1px solid #E2E8F0; font-size: 0.82rem; color: #334155; }
.dg-g__q svg { width: 14px; height: 14px; color: #64748B; flex: none; }
.dg .dg-g__res { margin-top: 10px; }
.dg .dg-g__res small { display: block; font-size: 0.72rem; color: #475569; }
.dg .dg-g__res b { display: block; font: 600 0.95rem/1.3 var(--font-body); color: #1D4ED8; }
.dg .dg-g__res span { display: block; font-size: 0.78rem; color: #475569; }
.dg-arrow { justify-self: center; width: 40px; height: 2px; background: #2563EB; position: relative; }
.dg-arrow::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left: 8px solid #2563EB; border-right: 0; }
.dg-hand { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 12px 14px; }
.dg-hand i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #DBEAFE; color: #2563EB; }
.dg-hand i svg { width: 17px; height: 17px; }
.dg .dg-hand b { display: block; font: 600 0.9rem/1.25 var(--font-body); color: #0F172A; }
.dg .dg-hand small { font-size: 0.74rem; color: #64748B; }
@media (max-width: 760px) {
  .dg-grow__grid { grid-template-columns: minmax(0, 1fr); }
  .dg-arrow { width: 2px; height: 26px; }
  .dg-arrow::after { right: auto; left: -4px; top: auto; bottom: -2px; border: 5px solid transparent; border-top: 8px solid #2563EB; border-bottom: 0; }
}

/* Go Engage: this week's posts and articles, in your name, approved before they go out */
.dg-week { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 980px; margin: 0 auto; }
.dg-post { display: grid; grid-template-rows: auto auto 1fr auto; gap: 8px; padding: 14px 16px 16px; }
.dg-post__day { display: flex; justify-content: space-between; align-items: center; }
.dg .dg-post__day b { display: grid; place-items: center; min-width: 44px; height: 26px; padding: 0 8px; border-radius: 8px; background: #0F172A; color: #fff; font: 700 0.76rem/1 var(--font-heading); }
.dg .dg-post__kind { font: 600 0.74rem/1.2 var(--font-body); color: #2563EB; }
.dg .dg-post__title { font: 700 0.98rem/1.3 var(--font-heading); color: #0F172A; }
.dg .dg-post__by { font-size: 0.74rem; color: #64748B; }
.dg .dg-pub { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; font-size: 0.82rem; color: #475569; }
.dg .dg-pub > span:first-child { align-self: center; font-weight: 600; color: #0F172A; }
.dg .dg-pub .dg-chip { background: #fff; color: #1E3A8A; box-shadow: inset 0 0 0 1px #BFDBFE; }
@media (max-width: 760px) { .dg-week { grid-template-columns: minmax(0, 1fr); } }

/* Go Give: a guide, its opt-in, and the follow-up that starts */
.dg-give__grid { display: grid; grid-template-columns: auto 40px auto 40px minmax(0, 1fr); align-items: center; gap: 14px; max-width: 980px; margin: 0 auto; }
.dg-cover { display: flex; flex-direction: column; justify-content: flex-end; width: 140px; height: 184px; padding: 14px 12px; border-radius: 6px 12px 12px 6px; background: linear-gradient(180deg, #C9A84C 0 9px, transparent 9px), linear-gradient(160deg, #13244A, #0B1324); box-shadow: 0 18px 30px -14px rgba(11, 19, 36, 0.7), inset 4px 0 0 rgba(255, 255, 255, 0.08); }
.dg .dg-cover span { font: 600 0.68rem/1.2 var(--font-body); color: #DDBF63; margin-bottom: 4px; }
.dg .dg-cover b { font: 700 0.98rem/1.2 var(--font-heading); color: #fff; }
.dg-form { display: grid; gap: 7px; width: 180px; padding: 14px; }
.dg .dg-form span { padding: 6px 9px; border-radius: 6px; border: 1px solid #E2E8F0; font-size: 0.74rem; color: #94A3B8; }
.dg .dg-form em { margin-top: 2px; padding: 7px 9px; border-radius: 7px; background: #2563EB; color: #fff; font: 600 0.76rem/1.2 var(--font-body); text-align: center; }
.dg-follow { display: grid; gap: 10px; padding: 14px 16px; }
.dg .dg-follow__new { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid #E2E8F0; font: 700 0.9rem/1.25 var(--font-heading); color: #166534; }
.dg-follow__new svg { width: 18px; height: 18px; flex: none; }
.dg-follow ol { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dg .dg-follow li { display: grid; grid-template-columns: 3.4em minmax(0, 1fr); gap: 8px; font-size: 0.84rem; line-height: 1.4; color: #334155; }
.dg .dg-follow li b { font: 700 0.8rem/1.4 var(--font-heading); color: #2563EB; }
@media (max-width: 860px) {
  .dg-give__grid { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .dg-give__grid .dg-arrow { width: 2px; height: 22px; }
  .dg-give__grid .dg-arrow::after { right: auto; left: -4px; top: auto; bottom: -2px; border: 5px solid transparent; border-top: 8px solid #2563EB; border-bottom: 0; }
  .dg-follow { width: 100%; max-width: 380px; }
}
