/* Homepage layout, adapted to Excel's brand and client feedback.
   This stylesheet is loaded only by the home preview. */
.utility-bar { background: #0c2542; color: #fff; border-bottom: 1px solid var(--line); font-size: 12px; }
.utility-bar .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 12px; }
.utility-bar .container > div { display: flex; gap: 24px; }
.utility-since { margin-left: 12px; color: #dbe8f4; }
.utility-bar a { color: #fff; }
.utility-bar :focus-visible { outline-color: #fff; box-shadow: none; }
.header-inner { min-height: 84px; }
nav { gap: 30px; }
.button { border-radius: 6px; }
.hero-band { position: relative; isolation: isolate; overflow: hidden; background: #dce8f4; }
.hero-band::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #dce8f4 0%, #dce8f4 34%, #dce8f4f2 43%, #dce8f430 68%, transparent 100%); z-index: -1; }
.hero { display: flex; align-items: center; min-height: 540px; padding-block: 72px; }
.hero-copy { max-width: 570px; }
.hero h1 > span { color: var(--primary); }
.hero h1 { font-size: clamp(42px, 4.4vw, 62px); letter-spacing: -2px; line-height: 1.1; }
.hero-copy > p { max-width: 450px; font-size: 16px; }
.hero .actions { margin-top: 30px; }
.hero .button { min-width: 150px; }
.hero-note { font-size: 12px; margin-top: 24px; color: var(--night); }
#programs { padding-block: 64px; }
#programs .section-head { display: block; text-align: center; margin-bottom: 32px; }
#programs .section-head > a { display: inline-block; margin-top: 15px; }
#programs h2 > span { color: var(--primary); }
.program-grid { gap: 26px; }
.program-card { padding: 0; overflow: hidden; border: 1px solid var(--line); border-top: 3px solid var(--primary); border-radius: 8px; }
.program-photo { display: block; width: 100%; height: 210px; object-fit: cover; }
.program-content { display: flex; flex-direction: column; align-items: flex-start; flex: 1; width: 100%; padding: 28px; }
.program-content .tag { padding: 0; background: transparent; border-radius: 0; margin-bottom: 12px; }
.program-content h3 { font-size: 25px; }
.program-content .check-list { margin-bottom: 18px; }
.program-content .button { margin-top: auto; }
.finder { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: white; padding: 28px 0 0; }
.finder h3 { font-size: 22px; }
.finder .eyebrow { margin-top: 0; }
.why-section { background: #dce8f4; padding-block: 64px; }
.why-grid { grid-template-columns: .9fr 1.1fr; gap: 24px 56px; align-items: start; }
.why-photo { grid-column: 1; grid-row: 1 / 3; width: 100%; height: 430px; object-fit: cover; border-radius: 8px; }
.why-grid > div { grid-column: 2; }
.why-grid > div > p { max-width: none; }
.benefit-grid { gap: 0 22px; }
.benefit-grid .card { padding: 18px 0; }
.benefit-number { margin-bottom: 9px; }
.location-directory { background: white; padding: 0; border: 0; border-radius: 0; }
.locations-section { padding-block: 60px; }
.steps-section { padding-block: 0 50px; }
.steps-section .section-head { padding-top: 30px; border-top: 1px solid var(--line); }
.step-number { border-radius: 6px; }
.faq-layout { padding-block: 56px; }
.closing { padding: 32px; margin-bottom: 56px; background: #0c2542; color: #fff; border-color: #0c2542; }
.closing p { color: #dbe8f4; }
.closing .eyebrow { color: #a9d4f4; }
.closing :focus-visible { outline-color: #fff; box-shadow: 0 0 0 2px #0c2542; }
/* Navy footer keeps contrast within Excel’s palette. */
.footer { background: #0c2542; border-top: 3px solid var(--primary); }
.footer p, .footer-top > div > a, .footer-bottom { color: #dbe5ef; }
.footer strong { color: #fff; }
.footer-bottom { border-color: #39516c; }
.footer a { color: #fff; }
.footer :focus-visible { outline-color: #fff; box-shadow: none; }
.footer-top > div:first-child > img { background: #fff; padding: 10px; border-radius: 4px; }
@media (max-width: 1100px) {
    nav { gap: 20px; }
    .hero-copy { max-width: 530px; }
    .hero-band::before { background: linear-gradient(90deg, #dce8f4 0%, #dce8f4 36%, #dce8f4e8 48%, #dce8f430 78%, transparent); }
    .why-grid { gap: 24px 32px; }
    .why-photo { height: 480px; }
}
@media (max-width: 720px) {
    .utility-bar .container { font-size: 11px; gap: 10px; }
    .utility-since, .utility-bar .container > span { display: none; }
    .utility-bar .container > div { justify-content: space-between; width: 100%; gap: 12px; }
    .hero-band { display: flex; flex-direction: column; }
    .hero { display: block; min-height: auto; padding-block: 38px 32px; }
    .hero-copy { max-width: none; }
    .hero-band::before { display: none; }
    .hero h1 { font-size: clamp(36px, 7vw, 46px); letter-spacing: -1.4px; }
    .hero-copy > p { font-size: 14px; }
    .hero .button { min-width: 0; }
    #programs { padding-block: 44px; }
    .program-grid { grid-template-columns: 1fr; gap: 22px; }
    .program-photo { height: 180px; }
    .program-content { padding: 24px; }
    .finder { grid-template-columns: 1fr; padding: 24px 0 0; }
    .finder form { grid-column: 1; grid-row: auto; margin-top: 20px; }
    .why-section { padding-block: 44px; }
    .why-grid { grid-template-columns: 1fr; gap: 28px; }
    .why-photo { grid-column: 1; grid-row: auto; height: 240px; }
    .why-grid > div { grid-column: 1; }
    .locations-section { padding-block: 44px; }
    .steps-section { padding-block: 0 44px; }
    .faq-layout { padding-block: 44px; }
    .closing { padding: 24px; margin-bottom: 44px; }
}
