/* Shared base. Everything is scoped under .ebr so the Haven theme's global
   heading, paragraph, link and "-btn" styles don't leak in. */
.ebr {
  --ebr-teal: #00606A;
  --ebr-coral: #F37655;
  --ebr-plum: #9B1B48;
  --ebr-black: #020608;
  --ebr-cream: #EDEAE3;
  --ebr-sage: #C6D6BF;
  --ebr-line: #D1D4DA;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--ebr-black);
}
.ebr *, .ebr *::before, .ebr *::after { box-sizing: border-box; }
.ebr .ebr-wrap { max-width: 1240px; margin: 0 auto; }
.ebr .ebr-eyebrow { margin: 0; font-family: 'Work Sans', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ebr-teal); }
.ebr .ebr-h1, .ebr .ebr-h2, .ebr .ebr-h3 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-weight: 500; color: inherit; }
.ebr .ebr-h1 { font-size: 68px; line-height: 1.02; letter-spacing: -0.03em; }
.ebr .ebr-h2 { font-size: 44px; line-height: 1.08; letter-spacing: -0.02em; }
.ebr .ebr-h3 { font-size: 24px; line-height: 1.2; }
.ebr .ebr-accent { font-family: 'Newsreader', serif; font-style: italic; font-weight: 400; color: var(--ebr-teal); }
.ebr .ebr-body { margin: 0; font-family: 'Work Sans', sans-serif; font-size: 16px; line-height: 1.6; color: inherit; }
.ebr .ebr-plum { color: var(--ebr-plum); }

/* Button. Class name avoids "-btn" so Haven doesn't add its own arrow. */
.ebr a.ebr-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  flex-shrink: 0; padding: 12px 26px; border: 2px solid var(--ebr-coral); border-radius: 999px;
  background: var(--ebr-coral); color: #FFFFFF; text-decoration: none;
  font-family: 'Work Sans', sans-serif; font-size: 15px; font-weight: 700; line-height: 1.4;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.ebr a.ebr-cta svg { flex-shrink: 0; }
.ebr a.ebr-cta::after { content: none; display: none; }
.ebr a.ebr-cta:hover, .ebr a.ebr-cta:focus-visible { background: transparent; color: var(--ebr-coral); text-decoration: none; }
.ebr a.ebr-cta:focus-visible { outline: 3px solid var(--ebr-teal); outline-offset: 3px; }
.ebr .ebr-teal-bg a.ebr-cta:hover, .ebr .ebr-teal-bg a.ebr-cta:focus-visible { background: #FFFFFF; border-color: #FFFFFF; color: var(--ebr-coral); }
.ebr .ebr-teal-bg a.ebr-cta:focus-visible { outline-color: #FFFFFF; }

@keyframes ebrUp { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .ebr .ebr-reveal { animation: ebrUp linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  }
}

@media (max-width: 760px) {
  .ebr .ebr-h1 { font-size: 44px; }
  .ebr .ebr-h2 { font-size: 32px; }
  .ebr a.ebr-cta { width: 100%; }
}

/* Why This Matters */
.ebr .ebr-why { padding: 104px 32px; background: var(--ebr-teal); color: #FFFFFF; }
.ebr .ebr-why .ebr-wrap { display: flex; flex-direction: column; gap: 48px; }
.ebr .ebr-why__head { display: flex; flex-direction: column; gap: 16px; max-width: 820px; }
.ebr .ebr-why .ebr-eyebrow, .ebr .ebr-why .ebr-accent { color: var(--ebr-sage); }
.ebr .ebr-why__h2 { font-size: 48px; line-height: 1.05; color: #FFFFFF; }
.ebr .ebr-why__lede { margin: 0; font-family: 'Space Grotesk', sans-serif; font-size: 18px; line-height: 1.6; font-weight: 300; color: var(--ebr-cream); }
.ebr .ebr-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 20px; }
.ebr .ebr-stat { display: flex; flex-direction: column; gap: 12px; padding: 36px; border-radius: 24px; background: #FFFFFF; color: var(--ebr-black); }
.ebr .ebr-stat--coral { background: #EFBBA7; }
.ebr .ebr-stat__num { font-family: 'Newsreader', serif; font-style: italic; font-size: 96px; line-height: 0.95; color: var(--ebr-teal); }
.ebr .ebr-stat--coral .ebr-stat__num { color: var(--ebr-plum); }
.ebr .ebr-stat__text { margin: 0; font-family: 'Work Sans', sans-serif; font-size: 18px; line-height: 1.55; color: var(--ebr-black); }
.ebr .ebr-why__foot { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.3); }
.ebr .ebr-why__note { flex: 1 1 560px; min-width: 0; margin: 0; font-family: 'Work Sans', sans-serif; font-size: 17px; line-height: 1.65; color: var(--ebr-cream); }
.ebr .ebr-why__source { font-size: 14px; }
.ebr .ebr-why__source a { color: #FFFFFF; text-decoration: underline; }

/* FAQ */
.ebr .ebr-faq { padding: 104px 32px; background: #FFFFFF; }
.ebr .ebr-faq__row { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.ebr .ebr-faq__head { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.ebr .ebr-faq__list { flex: 2 1 600px; min-width: 0; display: flex; flex-direction: column; }
.ebr .ebr-faq__item { border-top: 1px solid var(--ebr-line); }
.ebr .ebr-faq__item:last-child { border-bottom: 1px solid var(--ebr-line); }
.ebr .ebr-faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; list-style: none; cursor: pointer; font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 500; line-height: 1.35; color: var(--ebr-black); }
.ebr .ebr-faq__item summary::-webkit-details-marker { display: none; }
.ebr .ebr-faq__item summary:focus-visible { outline: 3px solid var(--ebr-coral); outline-offset: 4px; }
.ebr .ebr-plus { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1.5px solid var(--ebr-teal); border-radius: 50%; color: var(--ebr-teal); font-size: 22px; line-height: 1; transition: transform .2s; }
.ebr .ebr-faq__item[open] .ebr-plus { transform: rotate(45deg); }
.ebr .ebr-faq__item .ebr-body { padding: 0 56px 24px 0; line-height: 1.65; }

@media (max-width: 760px) {
  .ebr .ebr-why, .ebr .ebr-faq { padding: 64px 20px; }
  .ebr .ebr-why__h2 { font-size: 32px; }
  .ebr .ebr-stat { padding: 28px; }
  .ebr .ebr-stat__num { font-size: 72px; }
  .ebr .ebr-faq__item .ebr-body { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) { .ebr .ebr-plus { transition: none; } }