.ecps-home {
    --home-blue: #356fae;
    --home-navy: #243b58;
    --home-muted: #596978;
    color: var(--home-navy);
    background: #fff;
    font-size: 16px;
    line-height: 1.8;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.ecps-home *, .ecps-home *::before, .ecps-home *::after { box-sizing: border-box; }
.ecps-home h1, .ecps-home h2, .ecps-home h3, .ecps-home p, .ecps-home figure { margin: 0; }
.ecps-home a { color: inherit; text-decoration: none; }
.ecps-home a:focus-visible { outline: 3px solid #356fae; outline-offset: 6px; }
.home-container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.ecps-home .home-eyebrow { margin-bottom: 20px; color: var(--home-blue); font-size: 14px; font-weight: 500; letter-spacing: .02em; }
.ecps-home .home-description { color: var(--home-muted); font-size: 16px; line-height: 1.9; }
.ecps-home h2 { font-size: 38px; font-weight: 700; line-height: 1.35; letter-spacing: -.055em; }
.ecps-home h3 { font-size: 23px; font-weight: 500; line-height: 1.5; letter-spacing: -.04em; }

.home-hero { padding-block: 72px; background: #f6f8f7; }
.home-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.home-hero-copy { padding-block: 24px; }
.ecps-home .home-hero-copy .home-eyebrow { display: inline-block; margin-bottom: 24px; color: #2a6095; font-size: clamp(16px, 1.6vw, 22px); font-weight: 700; letter-spacing: -.03em; }
.ecps-home h1 { font-size: clamp(24px, 2.3vw, 34px); font-weight: 400; line-height: 1.4; letter-spacing: -.065em; }
.ecps-home h1 strong { display: inline-block; margin-top: 8px; color: var(--home-blue); font-size: clamp(48px, 5vw, 72px); font-weight: 700; line-height: 1.2; }
.ecps-home .home-hero-welcome { margin-top: 24px; margin-bottom: 8px; font-size: 18px; font-weight: 500; }
.home-hero-copy .home-button { margin-top: 32px; }
.ecps-home .home-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 42px; min-height: 52px; padding: 12px 24px; color: #fff; background: var(--home-blue); border: 1px solid var(--home-blue); border-radius: 3px; font-size: 15px; font-weight: 500; transition: background .2s; }
.ecps-home .home-button:hover { background: #25588e; }
.ecps-home .home-hero-copy .home-button { min-width: 150px; min-height: 48px; padding: 6px 18px; justify-content: center; font-size: 20px; text-align: center; }
.home-button span { font-size: 22px; font-weight: 400; }
.home-hero-visual img { display: block; width: 100%; height: 440px; object-fit: cover; object-position: 40% center; border-radius: 120px 8px 8px 8px; }

.home-section { padding-block: 94px; scroll-margin-top: 30px; }
.home-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 40px; }
.home-section-heading .home-description { max-width: 540px; }
.home-section-heading .home-eyebrow { margin-bottom: 10px; }
.ecps-home .home-books .home-eyebrow, .ecps-home .home-resources .home-eyebrow, .ecps-home .home-community .home-eyebrow { font-size: 16px; }
.home-book-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.home-book-link { display: flex; flex-direction: column; padding: 30px 32px 26px; border: 1px solid #b8cde0; border-radius: 8px; background: #f6f9fd; box-shadow: 0 3px 10px rgba(36, 59, 88, .06); transition: background .2s, border-color .2s, box-shadow .2s; }
.home-book-link:hover, .home-book-link:focus-visible, .home-community-links a:hover, .home-community-links a:focus-visible { border-color: var(--home-blue); background: #eaf2fb; box-shadow: 0 5px 16px rgba(36, 59, 88, .12); }
.home-book-link:active, .home-community-links a:active { background: #dce9f7; box-shadow: inset 0 2px 4px rgba(36, 59, 88, .1); }
.home-book-link h3 { margin-bottom: 14px; color: var(--home-blue); font-weight: 700; }
.home-book-link:hover h3, .home-book-link:focus-visible h3, .home-community-links a:hover h3, .home-community-links a:focus-visible h3 { text-decoration: underline; text-underline-offset: 5px; }
.home-book-link p { min-height: 58px; color: var(--home-muted); font-size: 14px; line-height: 1.9; }

.home-resources { background: #eef4fa; }
.home-resource-grid { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 80px; }
.home-resource-intro .home-eyebrow { margin-bottom: 10px; }
.home-resource-links { border-top: 1px solid #afc3d6; }
.home-resource-link { display: flex; align-items: center; gap: 24px; padding: 38px 8px; border-bottom: 1px solid #c8d6e3; transition: background .2s; }
.home-resource-link:hover { background: #e2ecf6; }
.home-icon { width: 54px; height: 54px; flex: 0 0 auto; color: var(--home-blue); }
.home-resource-link h3 { margin-bottom: 8px; }
.home-resource-link p { color: var(--home-muted); font-size: 14px; }

.home-community-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.home-community-links a { display: block; min-height: 190px; padding: 28px 24px; border: 1px solid #b8cde0; border-radius: 8px; background: #f6f9fd; box-shadow: 0 3px 10px rgba(36, 59, 88, .06); transition: background .2s, border-color .2s, box-shadow .2s; }
.home-community-label { display: block; margin-bottom: 17px; color: #526f8d; font-size: 12px; }
.home-community-links h3 { color: var(--home-blue); font-size: 21px; font-weight: 700; }
.home-community-links p { margin-top: 12px; color: var(--home-muted); font-size: 13px; }

.home-support { padding-block: 68px 48px; color: #fff; background: #284a6c; }
.home-support-heading { display: flex; align-items: center; justify-content: space-between; gap: 64px; }
.home-support .home-eyebrow { color: #c2d8ec; margin-bottom: 16px; }
.home-support h2 { color: #fff; font-size: 34px; font-weight: 500; line-height: 1.5; }
.home-support-action p { margin-bottom: 22px; color: #e0e9f1; font-size: 15px; line-height: 1.9; }
.ecps-home .home-button-light { min-height: 48px; padding: 6px 18px; justify-content: center; font-size: 20px; background: #fff; border-color: #fff; color: #284a6c; }
.ecps-home .home-button-light:hover { background: #e5eef7; }
.home-support a:focus-visible { outline-color: #fff; }
.home-support-details { margin-top: 40px; padding-top: 28px; border-top: 1px solid #53708b; color: #d7e3ed; font-size: 14px; line-height: 1.8; }
.home-support-account { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; text-align: left; }
.home-support-account > span:first-child { padding-right: 20px; border-right: 1px solid #53708b; color: #fff; }
.home-account-bank { font-size: 16px; }
.home-support-account strong { font-size: 24px; color: #fff; font-weight: 500; line-height: 1.4; font-variant-numeric: tabular-nums; white-space: nowrap; }
.home-support-account > span:last-child { margin-left: auto; font-size: 13px; }

.page-template-main #navbar { box-shadow: none; border-bottom: 1px solid #e6ebef; }
.page-template-main .site-footer .footer_img { display: none; }
.page-template-main .site-footer .footer_1 { background: #f5f6f7; }

@media (max-width: 1300px) {
    .home-community-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
    .home-container { width: calc(100% - 64px); }
    .home-hero { padding-block: 48px; }
    .home-hero-grid { gap: 32px; }
    .home-hero-visual img { height: 390px; border-top-left-radius: 90px; }
    .home-hero-copy .home-description br { display: none; }
    .home-resource-grid { gap: 40px; }
    .home-section { padding-block: 72px; }
    .home-section-heading .home-description { max-width: 420px; }
    .home-book-link { padding-inline: 24px; }
}

@media (max-width: 767px) {
    .home-container { width: calc(100% - 40px); }
    .home-hero { padding-block: 28px 36px; }
    .home-hero-grid { grid-template-columns: 1fr; gap: 30px; }
    .home-hero-copy { padding-block: 10px 0; }
    .ecps-home .home-eyebrow { font-size: 12px; margin-bottom: 16px; }
    .ecps-home .home-hero-copy .home-eyebrow { font-size: clamp(15px, 4.1vw, 18px); }
    .ecps-home h1 { font-size: 24px; }
    .ecps-home h1 strong { font-size: clamp(46px, 12vw, 58px); }
    .ecps-home .home-hero-welcome { font-size: 16px; margin-top: 20px; }
    .ecps-home .home-description { font-size: 14px; line-height: 1.85; }
    .home-hero-copy .home-button { margin-top: 24px; }
    .home-hero-visual img { height: 260px; border-top-left-radius: 72px; }
    .home-section { padding-block: 52px; }
    .ecps-home h2 { font-size: 30px; }
    .home-section-heading { display: block; margin-bottom: 28px; }
    .home-section-heading .home-description { margin-top: 18px; max-width: none; }
    .home-section-heading .home-description br { display: none; }
    .home-book-links { grid-template-columns: 1fr; }
    .ecps-home .home-books .home-eyebrow, .ecps-home .home-resources .home-eyebrow, .ecps-home .home-community .home-eyebrow { font-size: 14px; }
    .home-book-link { padding: 24px; }
    .ecps-home h3 { font-size: 21px; }
    .home-book-link h3 { margin-bottom: 10px; }
    .home-book-link p { min-height: 0; font-size: 13px; }
    .home-book-link p br { display: none; }
    .home-resource-grid { grid-template-columns: 1fr; gap: 28px; }
    .home-resource-link { padding: 26px 0; gap: 16px; }
    .home-icon { width: 42px; height: 42px; }
    .home-resource-link p { font-size: 12px; }
    .home-resource-link h3 { margin-bottom: 5px; }
    .home-community-links { grid-template-columns: 1fr; gap: 12px; }
    .home-community-links a { min-height: 0; padding: 22px 16px; }
    .home-community-label { font-size: 11px; margin-bottom: 12px; }
    .home-community-links h3 { font-size: 18px; }
    .home-community-links p { font-size: 12px; }
    .home-support { padding-block: 48px 36px; }
    .home-support-heading { display: block; }
    .home-support h2 { font-size: 28px; }
    .home-support-action { margin-top: 26px; }
    .home-support-action p { font-size: 14px; }
    .home-support-details { margin-top: 30px; padding-top: 24px; font-size: 13px; }
    .home-support-account { display: grid; grid-template-columns: max-content 1fr; gap: 10px 16px; }
    .home-support-account > span:first-child { padding-right: 16px; }
    .home-support-account strong { grid-column: 1 / -1; font-size: 22px; }
    .home-support-account > span:last-child { grid-column: 1 / -1; margin-left: 0; }
    .page-template-main #navbar { height: 76px; padding-left: 20px; }
    .page-template-main .header_logo { width: 115px; }
    .page-template-main .site-footer .footer_1 { height: auto; padding: 32px 5px; }
    .page-template-main .site-footer .footer_text { display: block !important; margin-top: 20px; line-height: 1.9; }
    .page-template-main .site-footer .footer_2 { height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
    .ecps-home a { transition: none; }
}
