/* 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%; }
}

/* Hero */
.ebr .ebr-hero { padding: 80px 32px 88px; background: #FFFFFF; }
.ebr .ebr-hero__row { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.ebr .ebr-hero__copy { flex: 1 1 540px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.ebr .ebr-lede { margin: 0; max-width: 600px; font-family: 'Space Grotesk', sans-serif; font-size: 20px; line-height: 1.55; font-weight: 300; color: inherit; }
.ebr .ebr-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ebr .ebr-chip { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 16px; border-radius: 999px; background: var(--ebr-cream); font-family: 'Work Sans', sans-serif; font-size: 14px; font-weight: 500; line-height: 1.4; }
.ebr .ebr-chip::before { content: none; display: none; }
.ebr .ebr-actions { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 8px; }

/* Hero graphic */
.ebr .ebr-graphic { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid var(--ebr-line); border-radius: 28px; background: #FFFFFF; }
.ebr .ebr-graphic svg { display: block; width: 100%; height: auto; }
.ebr .ebr-graphic__labels, .ebr .ebr-graphic__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: 'Work Sans', sans-serif; font-weight: 600; text-transform: uppercase; color: var(--ebr-teal); }
.ebr .ebr-graphic__labels { padding: 4px 12px 0; font-size: 11px; letter-spacing: 0.16em; }
.ebr .ebr-graphic__foot { padding: 0 12px 8px; font-size: 12px; letter-spacing: 0.14em; }
@keyframes ebrDash { to { stroke-dashoffset: -28; } }
@keyframes ebrPulse { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) {
  .ebr .ebr-flow { animation: ebrDash 1.4s linear infinite; }
  .ebr .ebr-pulse { animation: ebrPulse 2.4s ease-in-out infinite; }
}

/* Divider */
.ebr .ebr-divider { padding: 0 32px; }
.ebr .ebr-divider .ebr-wrap { border-top: 1px solid var(--ebr-line); }

/* What You Get */
.ebr .ebr-get { padding: 104px 32px; background: #FFFFFF; }
.ebr .ebr-get .ebr-wrap { display: flex; flex-direction: column; gap: 48px; }
.ebr .ebr-get__head { display: flex; flex-wrap: wrap; gap: 24px 56px; align-items: flex-end; justify-content: space-between; }
.ebr .ebr-get__title { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ebr .ebr-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.ebr .ebr-card { display: flex; flex-direction: column; gap: 20px; padding: 36px; border-radius: 24px; background: var(--ebr-cream); }
.ebr .ebr-card__num { font-family: 'Newsreader', serif; font-style: italic; font-size: 56px; line-height: 1; color: var(--ebr-teal); }

@media (max-width: 760px) {
  .ebr .ebr-hero { padding: 48px 20px 64px; }
  .ebr .ebr-divider { padding: 0 20px; }
  .ebr .ebr-get { padding: 64px 20px; }
  .ebr .ebr-card { padding: 24px; }
}