/* Homepage only: reuse the portal's Cairo typography and yellow/navy identity. */
.home-page,
.home-footer,
.home-skip {
    --home-ink: #17204f;
    --home-navy: #182186;
    --home-navy-hover: #11185f;
    --home-yellow: #fbcd0b;
    --home-yellow-hover: #e7bd08;
    --home-paper: #ffffff;
    --home-surface: #f6f7fa;
    --home-warm: #fffbed;
    --home-muted: #535c70;
    --home-border: #dce0e9;
    --home-soft-border: #eae2bd;
    --home-badge: #e9edf4;
    --home-speed: 150ms;
    font-family: Cairo, Arial, sans-serif;
    color: var(--home-ink);
}
.home-layout .page-content { padding-top: 0 !important; }
.home-page { background: var(--home-paper); }
.home-container { max-width: 1200px; }
.home-page h1, .home-page h2, .home-page h3, .home-page p { margin: 0; }
.home-page h1, .home-page h2, .home-page h3 { color: var(--home-ink); font-family: inherit; text-wrap: balance; }
.home-page a, .home-footer a { text-decoration: none; touch-action: manipulation; }
.home-page a:focus-visible, .home-footer a:focus-visible, .home-skip:focus-visible {
    outline: 3px solid var(--home-navy);
    outline-offset: 5px;
    border-radius: 4px;
}
.home-page :target { scroll-margin-top: 110px; }
.home-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 6vw, 88px);
    padding-block: clamp(40px, 5vw, 72px) 48px;
}
.home-kicker { color: var(--home-navy); font-size: 14px; font-weight: 750; margin-bottom: 16px !important; }
.home-intro h1 { font-size: clamp(32px, 3.6vw, 48px); font-weight: 850; line-height: 1.6; letter-spacing: -0.025em; }
.home-intro h1 span { box-shadow: inset 0 -0.22em var(--home-yellow); }
.home-page .home-lead { max-width: 540px; color: var(--home-muted); font-size: 17px; line-height: 1.95; margin-block: 18px 26px; text-wrap: pretty; }
.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-height: 50px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.7;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: background-color var(--home-speed) ease, color var(--home-speed) ease;
}
.home-button i, .home-offering-link i, .home-help i { font-size: 14px; flex-shrink: 0; }
.home-page .home-button-primary { color: var(--home-ink); background: var(--home-yellow); }
.home-page .home-button-primary:hover { background: var(--home-yellow-hover); }
.home-page .home-button-dark { color: var(--home-paper); background: var(--home-navy); }
.home-page .home-button-dark:hover { background: var(--home-navy-hover); }
.home-page a:active { text-decoration: underline; }
.home-account { background: var(--home-surface); border: 1px solid var(--home-border); border-radius: 14px; padding: 26px; }
.home-account-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--home-navy); background: var(--home-paper); border: 1px solid var(--home-border); border-radius: 50%; font-size: 20px; margin-bottom: 14px; }
.home-account h2 { font-size: 21px; line-height: 1.6; font-weight: 800; }
.home-account p { color: var(--home-muted); font-size: 15px; line-height: 1.9; margin-block: 10px 20px; }
.home-account .home-button { display: flex; width: 100%; }
.home-account .home-signin { text-align: center; margin-block: 12px 0; }
.home-signin a { display: inline-flex; align-items: center; min-height: 44px; color: var(--home-navy); font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }
.home-signin a:hover { color: var(--home-navy-hover); text-decoration-thickness: 2px; }
.home-offerings { border-top: 1px solid var(--home-border); padding-block: 32px 40px; }
.home-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.home-section-heading h2 { font-size: 24px; line-height: 1.7; font-weight: 800; }
.home-section-heading p { color: var(--home-muted); font-size: 14px; }
.home-offering-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.home-offering { display: flex; flex-direction: column; min-width: 0; padding: 26px; border: 1px solid var(--home-border); border-radius: 12px; background: var(--home-paper); }
.home-offering-workers { background: var(--home-warm); border-color: var(--home-soft-border); border-top: 4px solid var(--home-yellow); padding-top: 23px; }
.home-offering-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.home-offering-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 10px; color: var(--home-navy); background: var(--home-surface); font-size: 23px; }
.home-offering-workers .home-offering-icon { background: var(--home-yellow); color: var(--home-ink); }
.home-category { font-size: 12px; color: var(--home-muted); font-weight: 650; }
.home-offering h3 { font-size: 23px; line-height: 1.6; font-weight: 800; margin-bottom: 12px; }
.home-offering > p { color: var(--home-muted); font-size: 15px; line-height: 1.95; margin-bottom: 24px; }
.home-offering-link { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 48px; padding-block: 10px; margin-top: auto; color: var(--home-navy); font-size: 15px; font-weight: 800; border-top: 1px solid var(--home-border); }
.home-offering-link:hover { color: var(--home-navy-hover); text-decoration: underline; text-underline-offset: 5px; }
.home-market-links { margin-top: auto; }
.home-store-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; color: var(--home-muted); text-decoration: underline !important; text-underline-offset: 4px; }
.home-store-link:hover { color: var(--home-navy); }
.home-offering-jobs { background: var(--home-surface); }
.home-offering-jobs .home-offering-icon { background: var(--home-paper); color: var(--home-muted); }
.home-coming-soon { background: var(--home-badge); color: var(--home-ink); padding: 5px 12px; border-radius: 30px; font-size: 13px; font-weight: 750; }
.home-offering .home-jobs-note { font-size: 13px; margin-top: auto; margin-bottom: 0; border-top: 1px solid var(--home-border); padding-top: 16px; }
.home-help { display: flex; align-items: center; justify-content: center; gap: 16px; padding-block: 0 36px; color: var(--home-muted); font-size: 14px; }
.home-help a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--home-navy); font-weight: 750; }
.home-help a:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-footer { border-top: 1px solid var(--home-border); background: var(--home-surface); padding-block: 22px; }
.home-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.home-footer-brand { display: inline-flex; align-items: center; min-height: 44px; color: var(--home-navy); font-size: 20px; font-weight: 850; }
.home-footer p { margin: 4px 0 0; color: var(--home-muted); font-size: 13px; }
.home-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.home-footer nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--home-ink); font-size: 13px; }
.home-footer a:hover { color: var(--home-navy); text-decoration: underline; text-underline-offset: 4px; }
.home-skip { position: fixed; inset-inline-start: 16px; top: 12px; z-index: 1100; transform: translateY(-200%); padding: 12px 20px; background: var(--home-yellow); font-weight: 750; }
.home-skip:focus { transform: translateY(0); color: var(--home-ink); }
@media (max-width: 991px) {
    .home-intro { gap: 28px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
    .home-account { padding: 22px; }
    .home-offering-grid { gap: 14px; }
    .home-offering { padding-inline: 20px; }
    .home-category { max-width: 100px; }
    .home-offering h3 { font-size: 21px; }
}
@media (max-width: 767px) {
    .home-intro { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 32px; }
    .home-intro h1 { max-width: 600px; font-size: clamp(30px, 6vw, 40px); line-height: 1.65; }
    .home-page .home-lead { font-size: 16px; margin-block: 14px 22px; }
    .home-account { padding: 24px; }
    .home-account-icon { display: none; }
    .home-account .home-button { width: auto; display: inline-flex; min-width: 180px; }
    .home-account .home-signin { text-align: start; }
    .home-account p { margin-block: 8px 14px; }
    .home-offering-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .home-section-heading { display: block; }
    .home-section-heading p { margin-top: 4px; }
    .home-offering { padding: 24px; }
    .home-offering-workers { padding-top: 21px; }
    .home-offering-top { margin-bottom: 18px; }
    .home-category { max-width: none; }
    .home-offering > p { margin-bottom: 20px; }
    .home-footer-inner { align-items: flex-start; flex-direction: column; gap: 12px; }
    .home-footer nav { gap: 8px 20px; }
    .home-help { flex-wrap: wrap; gap: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .home-page *, .home-footer *, .home-skip { transition: none; scroll-behavior: auto; }
}
