/* Homepage introduction, service navigation and discovery links. */
.home-services {
    --intro-green: #18583e;
    --intro-ink: #202923;
    --intro-muted: #68736c;
    color: var(--intro-ink);
}
.home-services-hero {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 16px;
}
.home-services-copy,
.home-return-summary {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    min-width: 0;
    padding: 20px 24px;
    border: 1px solid #e5e9e6;
    border-radius: 12px;
    background: #fafbf9;
}
.home-services-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
}
.home-services h1 {
    margin: 0;
    font-size: clamp(20px, 1.75vw, 24px);
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -.04em;
    word-break: keep-all;
    overflow-wrap: anywhere;
}
.home-services h1 span { color: var(--intro-green); }
.home-services-description {
    margin: 0;
    color: var(--intro-muted);
    font-size: 13px;
    line-height: 1.55;
    word-break: keep-all;
    overflow-wrap: anywhere;
}
.home-services-actions { display: flex; flex-shrink: 0; }
.home-services-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 8px;
    background: var(--intro-green);
    color: #fff;
    font-size: 12.5px;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
}
.home-services-primary:hover { background: #10452f; }

/* The existing YTD data stays as the right-hand card in the top row. */
.home-return-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 12px;
}
.home-return-title-group {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
    min-width: 0;
}
.home-return-heading h2 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: -.025em; }
.home-return-controls, .home-return-controls > div { display: flex; align-items: center; gap: 6px; }
.home-return-controls { flex-wrap: wrap; }
.home-return-controls button { min-height: 30px; padding: 4px 10px; border: 1px solid #dfe5ef; border-radius: 7px; background: #fff; color: #56657b; font: inherit; font-size: 12px; font-weight: 650; white-space: nowrap; cursor: pointer; }
.home-return-controls button[aria-pressed="true"] { border-color: #b8d1fa; background: #edf4ff; color: #2563ad; }
.home-return-controls button:focus-visible { outline: 2px solid #27835a; outline-offset: 2px; }
.home-return-period { margin: 0; color: var(--intro-muted); font-size: 11.5px; line-height: 1.5; overflow-wrap: anywhere; }
.home-return-body {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 16px;
}
.home-return-cards { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px; min-width: 0; }
.home-return-card { display: inline-flex; align-items: baseline; min-width: 0; gap: 8px; }
.home-return-card + .home-return-card { padding-left: 16px; border-left: 1px solid #e2e7e3; }
.home-return-card > span { white-space: nowrap; color: #62726b; font-size: 11px; font-weight: 600; }
.home-return-card > strong { color: #3478d4; font-size: 22px; font-weight: 700; line-height: 1.25; letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.home-return-moat > strong { color: #16805a; }
#homeReturnStatus { margin: 0; margin-left: auto; font-size: 11px; white-space: nowrap; }
#homeReturnStatus:empty { display: none; }

.home-services a:focus-visible, .home-style-banner:focus-visible { outline: 2px solid #27835a; outline-offset: 3px; border-radius: 4px; }

.home-style-promo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; min-width: 0; margin-top: -16px; }
.home-style-banner { display: grid; grid-template-columns: 40px minmax(0, 1fr) 20px; align-items: center; gap: 16px; padding: 20px 24px; border: 1px solid #e5e9e6; border-radius: 12px; background: #fff; color: #202923; text-decoration: none; }
.home-style-banner:hover { border-color: #adbdaf; background: #fafbf9; }
.home-style-art { display: block; width: 40px; height: 40px; }
.home-style-copy { min-width: 0; }
.home-style-banner h2 { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.45; letter-spacing: -.03em; word-break: keep-all; }
.home-style-description { margin: 4px 0 0; color: #68736c; font-size: 12px; line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; }
.home-style-action { justify-self: end; color: #718076; font-size: 20px; }
@media (max-width: 960px) {
    .home-services-hero { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
    .home-services-hero { gap: 10px; }
    .home-services-copy,
    .home-return-summary { padding: 16px; gap: 8px; }
    .home-services h1 { font-size: 20px; }
    .home-services-description { font-size: 12.5px; }
    .home-services-actions { width: 100%; }
    .home-services-primary { width: 100%; min-height: 40px; justify-content: space-between; padding-inline: 16px; }
    .home-return-cards { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; gap: 12px; }
    .home-return-card { justify-content: space-between; }
    .home-return-card + .home-return-card { padding-left: 0; border-left: 0; }
    .home-return-card > strong { font-size: 20px; }
    #homeReturnStatus { margin-left: 0; white-space: normal; }
    .home-style-promo { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: -14px; }
    .home-style-banner { grid-template-columns: 36px minmax(0, 1fr) 16px; padding: 16px; gap: 12px; }
    .home-style-art { width: 36px; height: 36px; }
    .home-style-banner h2 { font-size: 16px; }
}
@media (max-width: 359px) {
    .home-services h1 { font-size: 18px; }
    .home-return-card > strong { font-size: 18px; }
}
