:root {
  --navy: #082743;
  --navy-2: #123f68;
  --blue: #176fbd;
  --coral: #ff684e;
  --gold: #f3b947;
  --ink: #10243a;
  --muted: #536579;
  --pale-blue: #eef7ff;
  --pale-coral: #fff1ed;
  --pale-gold: #fff7e8;
  --white: #fff;
  --shadow: 0 25px 70px rgba(8, 39, 67, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: #fff; overflow-x: hidden; }
a { color: inherit; }
.sr-only { 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 { position: fixed; left: 1rem; top: -5rem; z-index: 1000; padding: .8rem 1rem; color: white; background: var(--navy); border-radius: 999px; }
.skip-link:focus { top: 1rem; }

.site-header { height: 92px; padding: 10px clamp(20px, 5vw, 80px); display: flex; align-items: center; gap: 32px; position: relative; z-index: 20; background: rgba(255,255,255,.96); }
.brand { width: 230px; height: 70px; overflow: hidden; display: flex; align-items: center; }
.brand img { width: 220px; height: auto; display: block; }
nav { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 2.2vw, 38px); margin-left: auto; padding: 13px 30px; background: #fff; border-radius: 999px; box-shadow: 0 10px 35px rgba(8,39,67,.09); }
nav a { text-decoration: none; font-weight: 700; font-size: .94rem; }
nav a:hover, nav a:focus-visible { color: var(--blue); }
.header-cta, .button { text-decoration: none; font-weight: 800; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; transition: transform .2s ease, box-shadow .2s ease; }
.header-cta { background: var(--blue); color: #fff; padding: 14px 24px; box-shadow: 0 12px 28px rgba(23,111,189,.25); }
.header-cta:hover, .button:hover { transform: translateY(-3px); }
.menu-toggle { display: none; }

.hero { min-height: 680px; display: grid; grid-template-columns: minmax(420px, .92fr) minmax(520px, 1.08fr); position: relative; background: var(--navy); color: white; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 72%; height: 160px; left: -5%; bottom: -90px; background: white; border-radius: 50% 55% 0 0 / 100% 100% 0 0; transform: rotate(2deg); z-index: 5; }
.hero::after { content: ""; position: absolute; width: 63%; height: 140px; right: -8%; bottom: -75px; background: white; border-radius: 60% 50% 0 0 / 100% 100% 0 0; transform: rotate(-3deg); z-index: 5; }
.hero-copy { padding: 82px 38px 120px clamp(32px, 6vw, 96px); position: relative; z-index: 6; background: radial-gradient(circle at 80% 10%, rgba(23,111,189,.38), transparent 37%); }
.eyebrow { margin: 0 0 18px; color: #b9ddff; font-weight: 900; text-transform: uppercase; letter-spacing: .15em; font-size: .78rem; }
.eyebrow.dark { color: var(--blue); }
h1 { margin: 0; max-width: 650px; font-size: clamp(3.6rem, 6vw, 6.5rem); line-height: .94; letter-spacing: -.055em; }
h1 em { color: #ffd06c; font-style: normal; position: relative; white-space: nowrap; }
h1 em::after { content: ""; position: absolute; left: 3%; right: -2%; height: 8px; bottom: -7px; background: var(--gold); border-radius: 80% 30% 70% 40%; transform: rotate(-2deg); }
.hero-lead { margin: 38px 0 30px; max-width: 570px; color: #e4f1fc; font-size: clamp(1.15rem, 1.6vw, 1.5rem); line-height: 1.45; }
.hero-detail { max-width: 570px; margin: -16px 0 26px; color: #c8dced; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.button { min-height: 56px; padding: 0 28px; }
.button-coral { color: white; background: var(--coral); box-shadow: 0 14px 32px rgba(255,104,78,.25); }
.button-light { color: var(--blue); background: white; }
.button-navy { color: white; background: var(--navy); }
.hero-promises { display: flex; flex-wrap: wrap; gap: 28px; list-style: none; padding: 0; margin: 46px 0 0; color: #dbeaf7; font-size: .92rem; }
.hero-promises li { display: flex; align-items: center; gap: 9px; }
.hero-promises span { font-size: 1.5rem; color: #fff; }
.metrics { display: flex; gap: 10px; margin-top: 32px; }
.metrics span { flex: 1; padding: 12px 14px; display: grid; color: #dbeaf7; font-size: .75rem; line-height: 1.3; border: 1px solid rgba(255,255,255,.18); border-radius: 24px 40px 28px 36px; background: rgba(255,255,255,.09); }
.metrics b { color: #fff; font-size: 1.4rem; }

.hero-visual { position: relative; min-width: 0; overflow: hidden; background: var(--gold); clip-path: ellipse(78% 69% at 66% 43%); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; display: block; }
.hero-visual::after { content: ""; position: absolute; inset: auto 0 0; height: 31%; background: linear-gradient(transparent, rgba(8,39,67,.18)); }
.orbit { position: absolute; pointer-events: none; }
.orbit-one { inset: 28px 34px 42px 24px; border: 12px solid var(--gold); border-radius: 48% 52% 43% 57% / 55% 45% 58% 42%; transform: rotate(-2deg); }
.orbit-two { inset: 14px 18px 27px 10px; border: 6px solid var(--coral); border-radius: 53% 47% 56% 44% / 46% 57% 43% 54%; transform: rotate(2deg); }
.floating-note { position: absolute; right: 5%; top: 7%; z-index: 3; width: 170px; min-height: 130px; display: grid; place-content: center; padding: 24px; margin: 0; color: var(--navy); background: rgba(255,255,255,.94); border-radius: 62% 38% 50% 46% / 44% 55% 45% 56%; transform: rotate(4deg); font-family: Georgia, serif; font-style: italic; font-size: 1.05rem; text-align: center; box-shadow: var(--shadow); }

.course-flow { padding: 90px clamp(24px, 6vw, 100px) 120px; position: relative; }
.section-heading { max-width: 760px; margin: 0 auto 62px; text-align: center; }
.section-heading h2, .trust-copy h2, .resource-card h2 { margin: 0; font-size: clamp(2.3rem, 4vw, 4.4rem); line-height: 1.02; letter-spacing: -.045em; }
.section-heading p:last-child, .trust-copy > p, .resource-card > p { color: var(--muted); font-size: 1.1rem; line-height: 1.6; }
.course-path { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; }
.course-path::before { content: ""; position: absolute; left: 12%; right: 12%; top: 51%; height: 5px; background: linear-gradient(90deg,var(--coral),var(--blue),var(--gold)); border-radius: 50%; transform: rotate(-2deg); z-index: 0; }
.course-blob { min-height: 330px; padding: 48px 42px; display: flex; flex-direction: column; justify-content: center; text-decoration: none; position: relative; z-index: 1; box-shadow: var(--shadow); transition: transform .25s ease; }
.course-blob:hover { transform: translateY(-10px) rotate(-1deg); }
.course-blob.dementia { background: var(--pale-coral); border-radius: 38% 62% 48% 52% / 45% 34% 66% 55%; transform: rotate(-2deg); }
.course-blob.behavioral { background: var(--pale-blue); border-radius: 58% 42% 38% 62% / 42% 62% 38% 58%; transform: translateY(30px) rotate(1deg); }
.course-blob.compliance { background: var(--pale-gold); border-radius: 46% 54% 61% 39% / 63% 41% 59% 37%; transform: rotate(2deg); }
.course-number { position: absolute; top: 28px; right: 42px; color: rgba(8,39,67,.28); font-weight: 900; letter-spacing: .12em; }
.course-icon { font-size: 2.1rem; color: var(--blue); }
.course-blob strong { margin: 14px 0 12px; font-size: 1.65rem; }
.course-blob > span:not(.course-number):not(.course-icon) { color: var(--muted); line-height: 1.55; }
.course-blob b { margin-top: 30px; color: var(--blue); }
.course-blob > a { margin-top: 14px; color: var(--navy); font-weight: 900; }

.trust-wave { padding: 140px clamp(24px, 7vw, 110px); display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; color: white; background: var(--blue); position: relative; overflow: hidden; clip-path: ellipse(115% 74% at 50% 53%); }
.trust-wave::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 12% 20%, rgba(255,255,255,.18), transparent 26%), radial-gradient(circle at 90% 72%, rgba(8,39,67,.25), transparent 32%); }
.trust-copy, .trust-points { position: relative; z-index: 2; }
.trust-copy > p { color: #e6f4ff; }
.text-link { display: inline-block; margin-top: 16px; color: white; font-weight: 900; text-underline-offset: 6px; }
.trust-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trust-points article { min-height: 260px; padding: 34px 28px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.24); backdrop-filter: blur(8px); }
.trust-points article:nth-child(1) { border-radius: 55% 45% 42% 58% / 42% 60% 40% 58%; }
.trust-points article:nth-child(2) { border-radius: 38% 62% 56% 44% / 59% 38% 62% 41%; transform: translateY(28px); }
.trust-points article:nth-child(3) { border-radius: 64% 36% 44% 56% / 39% 63% 37% 61%; }
.trust-points span { font-size: 2rem; color: #ffe19b; }
.trust-points h3 { margin: 14px 0 8px; font-size: 1.35rem; }
.trust-points p { margin: 0; color: #e6f4ff; line-height: 1.5; }

.resource-river { padding: 120px clamp(24px, 8vw, 130px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px; align-items: stretch; background: linear-gradient(180deg,#fff,#f5faff); }
.resource-card, .quote-card { padding: clamp(42px, 6vw, 78px); box-shadow: var(--shadow); }
.resource-card { background: white; border-radius: 70px 180px 80px 150px; }
.resource-card p { max-width: 650px; }
.quote-card { display: flex; flex-direction: column; justify-content: center; color: white; background: var(--navy); border-radius: 48% 52% 42% 58% / 55% 39% 61% 45%; transform: rotate(2deg); }
.quote-card h2 { margin: 0; font-size: clamp(2rem, 3vw, 3.2rem); line-height: 1.05; letter-spacing: -.035em; }
.quote-card a { color: #fff; font-weight: 900; text-underline-offset: 5px; }
blockquote { margin: 0; font-family: Georgia, serif; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.15; font-style: italic; }
.quote-card p { color: #cbe3f6; line-height: 1.5; }

footer { padding: 55px clamp(24px, 6vw, 100px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; color: #dceaf6; background: var(--navy); border-radius: 50% 50% 0 0 / 18% 18% 0 0; }
footer p { max-width: 760px; margin: 0 auto; color: #dceaf6; }
footer div { display: flex; justify-content: center; gap: 22px; }
footer a { color: #fff; font-weight: 700; }

a:focus-visible, button:focus-visible { outline: 4px solid var(--gold); outline-offset: 5px; }

@media (max-width: 1050px) {
  .site-header { gap: 18px; }
  nav { gap: 16px; padding: 12px 20px; }
  .header-cta { display: none; }
  .hero { grid-template-columns: 1fr 1fr; }
  .course-path { grid-template-columns: 1fr; max-width: 720px; }
  .course-path::before { left: 50%; right: auto; top: 10%; bottom: 10%; width: 5px; height: auto; }
  .course-blob { min-height: 280px; }
  .course-blob.behavioral { transform: translateX(28px); }
  .trust-wave { grid-template-columns: 1fr; clip-path: none; border-radius: 80px 80px 0 0; }
}

@media (max-width: 760px) {
  .site-header { height: 78px; padding: 7px 18px; }
  .brand { width: 185px; height: 60px; }
  .brand img { width: 180px; }
  .menu-toggle { margin-left: auto; width: 48px; height: 48px; padding: 11px; border: 0; border-radius: 50%; display: grid; align-content: center; gap: 5px; background: var(--navy); }
  .menu-toggle > span:not(.sr-only) { display: block; height: 2px; background: white; }
  nav { display: none; position: absolute; top: 72px; left: 18px; right: 18px; padding: 18px; flex-direction: column; box-shadow: var(--shadow); }
  nav.open { display: flex; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding: 70px 24px 80px; }
  h1 { font-size: clamp(3.15rem, 15vw, 5rem); }
  .hero-visual { min-height: 470px; clip-path: ellipse(78% 70% at 55% 48%); }
  .hero::before, .hero::after { display: none; }
  .hero-promises { flex-direction: column; gap: 10px; }
  .metrics { flex-direction: column; }
  .course-flow { padding-top: 80px; }
  .course-blob, .course-blob.behavioral { transform: none; border-radius: 46px 90px 50px 76px; }
  .trust-wave { padding: 100px 24px; clip-path: none; border-radius: 70px 70px 0 0; }
  .trust-points { grid-template-columns: 1fr; }
  .trust-points article, .trust-points article:nth-child(2) { min-height: 200px; border-radius: 46px 76px 48px 70px; transform: none; }
  .resource-river { grid-template-columns: 1fr; padding: 80px 24px; }
  .resource-card, .quote-card { border-radius: 48px 80px 52px 70px; transform: none; }
  footer { flex-direction: column; text-align: center; }
  footer div { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Approved flowing-homepage composition */
.site-header { height: 84px; padding-block: 8px; }
.brand { width: 205px; }
.brand img { width: 195px; }
.hero { min-height: 520px; grid-template-columns: minmax(400px, .95fr) minmax(500px, 1.05fr); }
.hero-copy { padding: 58px 16px 88px clamp(80px, 11vw, 160px); }
.hero h1 { font-size: clamp(3.05rem, 5vw, 5.25rem); }
.hero-lead { margin: 26px 0 14px; font-size: clamp(1.08rem, 1.45vw, 1.35rem); }
.hero-detail { margin: 0 0 22px; }
.metrics { margin-top: 25px; max-width: 610px; }
.hero-visual { clip-path: ellipse(82% 78% at 70% 42%); transform: translateX(-11%) scale(.75); }
.hero::before { width: 62%; bottom: -112px; }
.hero::after { width: 55%; bottom: -100px; }

.course-flow { padding: 38px clamp(22px, 4vw, 68px) 64px; }
.course-path { max-width: 1540px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.course-path::before { left: 9%; right: 9%; top: 54%; height: 4px; }
.course-blob,
.course-blob.behavioral { min-height: 190px; padding: 20px 22px; display: grid; grid-template-columns: 36% 1fr; align-items: center; gap: 18px; transform: none; overflow: hidden; }
.course-blob.dementia { border-radius: 38% 62% 55% 45% / 50% 42% 58% 50%; }
.course-blob.behavioral { border-radius: 50% 50% 38% 62% / 46% 58% 42% 54%; }
.course-blob.compliance { border-radius: 57% 43% 52% 48% / 42% 55% 45% 58%; transform: none; }
.course-blob img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 48% 52% 45% 55% / 55% 44% 56% 45%; }
.course-blob.compliance img { object-position: center 18%; }
.course-blob.behavioral { grid-template-columns: 31% 1fr; padding-right: 30px; }
.course-blob.behavioral img { border-radius: 42% 46% 44% 40%; }
.course-blob.behavioral strong { font-size: clamp(1.02rem, 1.35vw, 1.3rem); }
.course-blob > div { min-width: 0; display: grid; align-content: center; }
.course-icon { font-size: 1.65rem; }
.course-blob strong { margin: 5px 0 8px; font-size: clamp(1.1rem, 1.55vw, 1.45rem); line-height: 1.08; }
.course-blob > div > span:not(.course-icon) { color: var(--muted); font-size: .9rem; line-height: 1.35; }
.course-blob > div > a { width: 42px; height: 42px; margin-top: 12px; display: grid; place-items: center; border-radius: 50%; color: var(--blue); background: rgba(255,255,255,.72); font-size: 1.4rem; font-weight: 900; text-decoration: none; }

.trust-wave { margin-top: 0; padding: 62px clamp(28px, 6vw, 92px); grid-template-columns: .95fr 1.35fr; gap: 44px; clip-path: none; border-radius: 52% 48% 0 0 / 12% 12% 0 0; }
.trust-copy h2 { font-size: clamp(2rem, 3vw, 3.4rem); }
.trust-points article { min-height: 150px; padding: 24px 22px; }
.trust-points article:nth-child(2) { transform: translateY(12px); }
.resource-river {
  padding-block: 80px;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  border-radius: 52% 48% 0 0 / 7% 7% 0 0;
}
.resource-river .quote-card {
  width: min(100%, 900px);
  min-height: 340px;
  box-sizing: border-box;
  padding: clamp(70px, 8vw, 110px) clamp(76px, 10vw, 140px);
}
.resource-river .quote-card > * {
  width: min(100%, 640px);
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 1100px) and (min-width: 761px) {
  .site-header { padding-inline: 28px; }
  nav { gap: 13px; padding-inline: 20px; }
  .hero { min-height: 500px; grid-template-columns: 1fr 1fr; }
  .hero-copy { padding: 48px 28px 76px 54px; }
  .hero h1 { font-size: 3.4rem; }
  .hero-visual { min-width: 0; }
  .orbit-one { inset: 24px 25px 34px 18px; border-width: 10px; }
  .orbit-two { inset: 12px 12px 20px 7px; border-width: 5px; }
  .course-path { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
  .course-path::before { left: 8%; right: 8%; top: 54%; width: auto; height: 4px; bottom: auto; }
  .course-blob { min-height: 178px; padding: 17px; grid-template-columns: 34% 1fr; transform: none; }
  .course-blob.behavioral { min-height: 178px; padding: 17px 24px 17px 17px; grid-template-columns: 29% 1fr; transform: none; }
  .course-blob strong { font-size: 1.05rem; }
  .course-blob > div > span:not(.course-icon) { font-size: .78rem; }
  .trust-wave { grid-template-columns: .9fr 1.3fr; border-radius: 70px 70px 0 0; }
}

@media (max-width: 760px) {
  .resource-river .quote-card {
    min-height: 0;
    padding: 52px 34px;
  }
}

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 54px 24px 68px; }
  .hero h1 { font-size: clamp(2.75rem, 12.8vw, 4.15rem); }
  .hero-visual { width: 75%; height: 292.5px; min-height: 0; justify-self: center; transform: none; }
  .orbit-one { inset: 22px 22px 28px 16px; border-width: 9px; }
  .orbit-two { inset: 11px 10px 16px 6px; border-width: 4px; }
  .course-flow { padding: 44px 20px 64px; }
  .course-path { grid-template-columns: 1fr; gap: 18px; }
  .course-path::before { display: none; }
  .course-blob, .course-blob.behavioral { min-height: 190px; grid-template-columns: 34% 1fr; transform: none; border-radius: 44px 76px 48px 68px; }
  .course-blob strong { font-size: 1.2rem; }
  .trust-wave { grid-template-columns: 1fr; padding: 78px 24px; }
}

/* Keep the complete brand mark visible instead of cropping it inside the header. */
.site-header { height: auto; min-height: 112px; }
.site-header .brand { width: 230px; height: auto; overflow: visible; }
.site-header .brand img { display: block; width: 230px; max-width: 100%; height: auto; transform: none; }

@media (max-width: 760px) {
  .site-header { height: auto; min-height: 102px; }
  .site-header .brand { width: 190px; height: auto; }
  .site-header .brand img { width: 190px; }
  .site-header nav { top: 94px; }
}

/* Match the shared navigation used on the site's other pages. */
@media (min-width: 761px) {
  .site-header { min-height: 127px; padding-block: 10px; }
  .site-header nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: .01em;
  }
}

@media (max-width: 760px) {
  .site-header { padding: 12px 18px; gap: 18px; flex-wrap: wrap; justify-content: center; }
  .site-header .brand { width: 210px; }
  .site-header .brand img { width: 210px; }
  .site-header .menu-toggle { display: none; }
  .site-header nav,
  .site-header nav.open {
    position: static;
    display: flex;
    width: 100%;
    margin-left: 0;
    padding: 8px 12px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 12px;
  }
  .site-header nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font: 700 .94rem/1.65 Arial, Helvetica, sans-serif;
    letter-spacing: .01em;
  }
}
