/*
 * Employer-inspired jobseeker landing experience.
 * Shares the premium PESO visual language while remaining vacancy-first,
 * warmer, and more exploratory than the employer site.
 */

body[data-peso-page='index'] {
    --job-canvas: var(--home-bg);
    --job-surface: var(--home-surface);
    --job-surface-soft: var(--home-surface-2);
    --job-ink: var(--home-ink);
    --job-muted: var(--home-muted);
    --job-line: var(--home-line);
    --job-green: #087443;
    --job-green-deep: #044d2c;
    --job-gold: #f0c94d;
    --job-shell: 1600px;
}

body[data-peso-page='index'] .ref-container,
body[data-peso-page='index'] .ref-hero__inner {
    width: min(calc(100% - 80px), var(--job-shell)) !important;
    max-width: var(--job-shell) !important;
}

/* Floating public navigation: same family as the employer page. */
body[data-peso-page='index'] .site-header,
body[data-peso-page='index'] .site-header.scrolled {
    top: 12px !important;
    right: clamp(10px, 1.7vw, 26px) !important;
    bottom: auto !important;
    left: clamp(10px, 1.7vw, 26px) !important;
    width: auto !important;
    margin-inline: clamp(10px, 1.7vw, 26px) !important;
    border: 1px solid color-mix(in srgb, var(--job-green) 16%, var(--job-line)) !important;
    border-radius: 24px !important;
    background: color-mix(in srgb, var(--job-surface) 93%, transparent) !important;
    box-shadow: 0 16px 44px rgba(8, 68, 40, .1) !important;
}

body[data-peso-page='index'] .site-header.scrolled { top: 8px !important; }

body[data-peso-page='index'] .site-header .container {
    width: min(100%, var(--job-shell)) !important;
    max-width: var(--job-shell) !important;
    padding-inline: clamp(14px, 2.2vw, 28px) !important;
}

body[data-peso-page='index'] .header-inner { min-height: 76px; }
body[data-peso-page='index'] .site-header.scrolled .header-inner { min-height: 68px; }
body[data-peso-page='index'] .logo img { width: 50px !important; height: 50px !important; }
body[data-peso-page='index'] .logo-copy strong { color: var(--job-green) !important; font-size: 1.08rem !important; }
body[data-peso-page='index'] .logo-copy small { font-size: .72rem !important; }
body[data-peso-page='index'] .nav > a { min-height: 44px; font-size: .86rem !important; }
body[data-peso-page='index'] .nav > a i { font-size: 1.02rem; }

body[data-peso-page='index'] .btn-login {
    min-width: 112px;
    min-height: 46px;
    border-radius: 12px !important;
    color: #fff !important;
    border-color: var(--job-green) !important;
    background: linear-gradient(135deg, var(--job-green), #056136) !important;
    box-shadow: 0 11px 25px rgba(8, 116, 67, .2) !important;
    font-size: .86rem !important;
}

body[data-peso-page='index'] .site-header a.btn-login,
body[data-peso-page='index'] .site-header a.btn-login:is(:link, :visited, :hover, :focus, :focus-visible, :active),
body[data-peso-page='index'] .site-header a.ref-mobile-sign-in,
body[data-peso-page='index'] .site-header a.ref-mobile-sign-in:is(:link, :visited, :hover, :focus, :focus-visible, :active) {
    text-decoration: none !important;
    text-decoration-line: none !important;
}

body[data-peso-page='index'] .site-header :is(.btn-login, .ref-mobile-sign-in)::after {
    display: none !important;
}

body[data-peso-page='index'] .theme-toggle {
    min-height: 46px !important;
    border-radius: 12px !important;
    background: var(--job-surface-soft) !important;
}

/* Spacious, editorial jobseeker hero. */
body[data-peso-page='index'] .ref-hero {
    min-height: auto;
    padding: 78px 0 72px;
    background:
        radial-gradient(circle at 7% 12%, color-mix(in srgb, var(--job-gold) 13%, transparent), transparent 28rem),
        radial-gradient(circle at 88% 14%, color-mix(in srgb, var(--job-green) 13%, transparent), transparent 32rem),
        linear-gradient(120deg, color-mix(in srgb, var(--job-green) 4%, var(--job-canvas)), var(--job-canvas) 46%);
}

body[data-peso-page='index'] .ref-hero::before {
    opacity: .1;
    background-size: 42px 42px;
    -webkit-mask-image: linear-gradient(90deg, #000, transparent 46%);
    mask-image: linear-gradient(90deg, #000, transparent 46%);
}

body[data-peso-page='index'] .ref-hero__inner {
    grid-template-columns: minmax(430px, .92fr) minmax(540px, 1.08fr);
    column-gap: clamp(38px, 5vw, 82px);
    row-gap: 30px;
}

body[data-peso-page='index'] .ref-hero__copy { padding: 24px 0 30px; }

body[data-peso-page='index'] .ref-eyebrow {
    margin-bottom: 20px;
    padding: 9px 13px;
    border: 1px solid color-mix(in srgb, var(--job-green) 28%, var(--job-line));
    border-radius: 999px;
    color: var(--job-green);
    background: color-mix(in srgb, var(--home-soft) 82%, var(--job-surface));
    font-size: .75rem;
}

html body.peso-product-ui[data-peso-page='index'] .ref-hero h1,
body[data-peso-page='index'] .ref-hero h1 {
    max-width: 11ch !important;
    margin-bottom: 24px !important;
    font-size: clamp(3.45rem, 5.2vw, 5.6rem) !important;
    line-height: .94 !important;
    letter-spacing: -.068em !important;
}

body[data-peso-page='index'] .ref-hero h1::after {
    content: '';
    display: block;
    width: 90px;
    height: 5px;
    margin-top: 22px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--job-gold), var(--job-green));
}

body[data-peso-page='index'] .ref-hero__copy > p {
    max-width: 59ch;
    margin-bottom: 28px !important;
    font-size: clamp(1.02rem, 1.25vw, 1.16rem);
    line-height: 1.7;
}

body[data-peso-page='index'] .ref-hero__actions { gap: 13px; }

body[data-peso-page='index'] .ref-button {
    min-height: 52px;
    padding-inline: 22px;
    border-radius: 13px;
    font-size: .94rem;
}

body[data-peso-page='index'] .ref-button--primary {
    background: linear-gradient(135deg, var(--job-green), #056136);
    box-shadow: 0 13px 28px rgba(8, 116, 67, .22);
}

body[data-peso-page='index'] .ref-button--outline {
    border-color: color-mix(in srgb, var(--job-green) 42%, var(--job-line));
    background: color-mix(in srgb, var(--job-surface) 92%, transparent);
}

body[data-peso-page='index'] .ref-hero__proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
    margin-top: 28px;
}

body[data-peso-page='index'] .ref-hero__proof > span {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 0;
    border: 0;
}

body[data-peso-page='index'] .ref-hero__proof > span > i {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: var(--job-green);
    border-radius: 11px;
    background: var(--home-soft);
}

body[data-peso-page='index'] .ref-hero__proof > span > span { display: block; min-width: 0; }
body[data-peso-page='index'] .ref-hero__proof strong { display: block; font-size: .86rem; line-height: 1.25; }
body[data-peso-page='index'] .ref-hero__proof small { display: block; margin-top: 3px; font-size: .75rem; line-height: 1.4; }

/* Organic civic photo frame: distinct City Hall backdrop for jobseekers. */
body[data-peso-page='index'] .ref-hero__media {
    height: 650px;
    overflow: hidden;
    border-color: color-mix(in srgb, var(--job-green) 25%, var(--job-line));
    border-radius: 34px 156px 34px 156px;
    clip-path: none !important;
    background:
        radial-gradient(circle at 52% 46%, color-mix(in srgb, var(--home-soft) 88%, transparent) 0 38%, transparent 38.4%),
        linear-gradient(155deg, color-mix(in srgb, var(--job-green) 8%, var(--job-surface)), color-mix(in srgb, var(--job-gold) 8%, var(--job-surface)));
    box-shadow: 0 34px 90px rgba(8, 74, 43, .17);
}

body[data-peso-page='index'] .ref-hero__media::before {
    z-index: 2;
    background:
        linear-gradient(90deg, rgba(4, 67, 39, .56), rgba(4, 76, 44, .19) 33%, rgba(4, 66, 38, .11) 66%, rgba(3, 52, 30, .46)),
        linear-gradient(180deg, rgba(255,255,255,.02), rgba(3, 40, 23, .54));
}

body[data-peso-page='index'] .ref-hero__media::after {
    top: 44px;
    right: 42px;
    width: 84px;
    border-color: color-mix(in srgb, var(--job-gold) 62%, transparent);
    box-shadow: inset 0 0 0 10px color-mix(in srgb, var(--job-gold) 11%, transparent);
}

body[data-peso-page='index'] .ref-hero__city img {
    opacity: .74;
    image-rendering: auto;
    filter: saturate(.82) contrast(1.02) brightness(.78);
    backface-visibility: hidden;
}

body[data-peso-page='index'].light .ref-hero__city img {
    opacity: .8;
    filter: saturate(.84) contrast(1) brightness(.88);
}

body[data-peso-page='index'] .ref-hero__people { padding-inline: 3%; }
body[data-peso-page='index'] .ref-hero__people img {
    height: 95%;
    max-width: 92%;
    image-rendering: auto;
    filter: drop-shadow(0 22px 30px rgba(1, 31, 17, .34));
    backface-visibility: hidden;
}

body[data-peso-page='index'] .ref-hero__curve {
    top: 6%;
    right: 6%;
    bottom: 6%;
    left: 6%;
    width: auto;
    height: auto;
    border-color: rgba(255,255,255,.2);
    border-radius: 26px 132px 26px 132px;
    box-shadow:
        inset 0 0 0 34px color-mix(in srgb, var(--job-green) 7%, transparent),
        inset 0 0 0 72px color-mix(in srgb, var(--job-gold) 5%, transparent);
    transform: none;
}

body[data-peso-page='index'] .ref-hero__gold-line {
    display: none !important;
}

body[data-peso-page='index'] .ref-hero__image-note {
    top: 40px;
    right: auto;
    bottom: auto;
    left: 18px;
    max-width: 265px;
    color: var(--job-ink);
    border-color: var(--job-line);
    background: color-mix(in srgb, var(--job-surface) 93%, transparent);
    box-shadow: 0 16px 38px rgba(9, 51, 31, .16);
}

body[data-peso-page='index'] .ref-hero__image-note strong { color: var(--job-ink); font-size: .82rem; }
body[data-peso-page='index'] .ref-hero__image-note small { color: var(--job-muted); font-size: .72rem; }

body[data-peso-page='index'] .ref-hero__journey {
    position: absolute;
    z-index: 7;
    right: 20px;
    bottom: 24px;
    width: min(300px, 45%);
    padding: 16px;
    color: var(--job-ink);
    border: 1px solid var(--job-line);
    border-radius: 18px;
    background: color-mix(in srgb, var(--job-surface) 94%, transparent);
    box-shadow: 0 20px 48px rgba(7, 55, 32, .2);
    backdrop-filter: blur(15px);
}

body[data-peso-page='index'] .ref-hero__journey > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 11px;
    padding-bottom: 10px;
    color: var(--job-green);
    border-bottom: 1px solid var(--job-line);
    font-size: .75rem;
    font-weight: 850;
    letter-spacing: .07em;
    text-transform: uppercase;
}

body[data-peso-page='index'] .ref-hero__journey ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
body[data-peso-page='index'] .ref-hero__journey li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center; }
body[data-peso-page='index'] .ref-hero__journey li > i { display: grid; place-items: center; width: 34px; height: 34px; color: var(--job-green); border-radius: 10px; background: var(--home-soft); }
body[data-peso-page='index'] .ref-hero__journey :is(strong, small) { display: block; }
body[data-peso-page='index'] .ref-hero__journey strong { color: var(--job-ink); font-size: .82rem; }
body[data-peso-page='index'] .ref-hero__journey small { margin-top: 2px; color: var(--job-muted); font-size: .74rem; }

body[data-peso-page='index'] .ref-search {
    min-height: 82px;
    margin-top: -20px;
    padding: 10px;
    border-radius: 18px;
    box-shadow: 0 24px 58px rgba(7, 61, 36, .16);
}

body[data-peso-page='index'] .ref-search__field input { height: 60px; font-size: 1rem; }
body[data-peso-page='index'] .ref-search__submit { min-height: 60px; border-radius: 12px; }

/* Impact band made from live employers: same strength, different purpose. */
body[data-peso-page='index'] .ref-employers { padding: 22px 0 0; }

body[data-peso-page='index'] .ref-employers__shell {
    grid-template-columns: 230px minmax(0, 1fr) auto;
    gap: 18px;
    min-height: 126px;
    padding: 18px 20px;
    color: #fff;
    border-color: rgba(255,255,255,.14);
    border-radius: 22px;
    background:
        radial-gradient(circle at 92% 12%, rgba(240,201,77,.18), transparent 17rem),
        linear-gradient(105deg, #04512f, #087443 68%, #0d8a50);
    box-shadow: 0 22px 56px rgba(6, 73, 41, .18);
}

body[data-peso-page='index'] .ref-employers__icon { color: var(--job-green-deep); background: var(--job-gold); }
body[data-peso-page='index'] .ref-employers__intro h2 { color: #fff !important; font-size: 1.3rem !important; }
body[data-peso-page='index'] .ref-employers__intro p { color: rgba(255,255,255,.78) !important; font-size: .8rem; }

body[data-peso-page='index'] .ref-employer-card {
    min-height: 70px;
    padding: 9px;
    border-color: rgba(255,255,255,.22);
    border-radius: 12px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 8px 22px rgba(3, 47, 27, .12);
}

body[data-peso-page='index'] .ref-employer-card__logo { width: 48px; height: 48px; flex-basis: 48px; }
body[data-peso-page='index'] .ref-employer-card__copy strong { color: #12281e !important; font-size: .86rem; }
body[data-peso-page='index'] .ref-employer-card__copy small { color: #617168 !important; font-size: .74rem; }
body[data-peso-page='index'] .ref-employers__all { color: #fff !important; font-size: .86rem; }

/* Vacancy-first content remains the key distinction from the employer site. */
body[data-peso-page='index'] .ref-dashboard { padding: 76px 0 82px; }
body[data-peso-page='index'] .ref-dashboard__grid { grid-template-columns: minmax(0, 1.55fr) minmax(380px, .7fr); gap: 22px; }
body[data-peso-page='index'] .ref-dashboard__main,
body[data-peso-page='index'] .ref-dashboard__aside { gap: 22px; }

body[data-peso-page='index'] :is(.ref-panel, .ref-guide-panel, .ref-help-panel) {
    border-radius: 22px;
    box-shadow: 0 12px 34px rgba(18, 52, 34, .065);
}

body[data-peso-page='index'] .ref-jobs-panel { padding: 28px; }
body[data-peso-page='index'] .ref-event-panel,
body[data-peso-page='index'] .ref-help-panel { padding: 24px; }
body[data-peso-page='index'] .ref-panel__heading { margin-bottom: 22px; }

body[data-peso-page='index'] :is(.ref-panel__heading h2, .ref-guide-panel h2, .ref-help-panel h2) {
    font-size: clamp(1.35rem, 1.8vw, 1.75rem) !important;
}

body[data-peso-page='index'] .ref-job-list { gap: 15px; }

body[data-peso-page='index'] .ref-job-card {
    min-height: 226px;
    padding: 18px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(7, 66, 39, .055);
}

body[data-peso-page='index'] .ref-job-card:hover { box-shadow: 0 18px 42px rgba(7, 66, 39, .13); }
body[data-peso-page='index'] .ref-job-card__copy h3 { font-size: 1.12rem !important; }
body[data-peso-page='index'] .ref-job-card__copy p { font-size: .9rem; }
body[data-peso-page='index'] .ref-job-card__copy > span { font-size: .82rem; }

body[data-peso-page='index'] .ref-job-card::after {
    content: '';
    position: absolute;
    right: 18px;
    bottom: 0;
    left: 18px;
    height: 3px;
    border-radius: 99px 99px 0 0;
    background: linear-gradient(90deg, var(--job-green), var(--job-gold));
    transform: scaleX(.16);
    transform-origin: left;
    transition: transform .22s ease;
}

body[data-peso-page='index'] .ref-job-card { position: relative; overflow: hidden; }
body[data-peso-page='index'] .ref-job-card:hover::after { transform: scaleX(1); }

body[data-peso-page='index'] .ref-event { min-height: 190px; }
body[data-peso-page='index'] .ref-event__image { min-height: 190px; }
body[data-peso-page='index'] .ref-event__copy h3 { font-size: 1.12rem !important; }
body[data-peso-page='index'] .ref-event__copy p { font-size: .86rem; }

body[data-peso-page='index'] .ref-help-panel {
    background:
        radial-gradient(circle at 95% 8%, color-mix(in srgb, var(--job-gold) 26%, transparent), transparent 9rem),
        linear-gradient(135deg, var(--home-gold-soft), var(--job-surface));
}

body[data-peso-page='index'] .ref-help-list { gap: 15px; }
body[data-peso-page='index'] .ref-help-list strong { font-size: .92rem; }
body[data-peso-page='index'] .ref-help-list small { font-size: .8rem; }

body[data-peso-page='index'] .ref-guide-panel {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
    padding: 28px;
    color: #fff;
    border-color: rgba(255,255,255,.16);
    background:
        radial-gradient(circle at 92% 14%, rgba(240,201,77,.15), transparent 20rem),
        linear-gradient(135deg, #043c24, #087443);
    box-shadow: 0 22px 56px rgba(6, 73, 41, .18);
}

body[data-peso-page='index'] .ref-guide-panel h2 { color: #fff !important; }
body[data-peso-page='index'] .ref-guide-panel > ol { gap: 15px; }

body[data-peso-page='index'] .ref-guide-panel li {
    min-height: 116px;
    border-color: rgba(255,255,255,.2);
    border-radius: 16px;
    background: rgba(255,255,255,.1);
}

body[data-peso-page='index'] .ref-step-number { color: var(--job-green-deep); background: var(--job-gold); }
body[data-peso-page='index'] .ref-step-icon { color: var(--job-gold); }
body[data-peso-page='index'] .ref-guide-panel li strong { color: #fff !important; font-size: .98rem; }
body[data-peso-page='index'] .ref-guide-panel li small { color: rgba(255,255,255,.82) !important; font-size: .86rem; }

/* Employer-like section rhythm, with public notices as the jobseeker close. */
body[data-peso-page='index'] .ref-updates {
    padding: 88px 0 96px;
    background: color-mix(in srgb, var(--job-surface-soft) 74%, transparent);
}

body[data-peso-page='index'] .ref-updates__heading { margin-bottom: 30px; }
body[data-peso-page='index'] .ref-updates__heading h2 { max-width: 18ch; font-size: clamp(2.25rem, 3.5vw, 3.7rem) !important; }
body[data-peso-page='index'] .ref-update-grid { gap: 18px; }

body[data-peso-page='index'] .ref-update-grid article {
    min-height: 210px;
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(18, 52, 34, .06);
}

body[data-peso-page='index'] .ref-update-grid time { font-size: .74rem; }
body[data-peso-page='index'] .ref-update-grid h3 { font-size: 1.08rem !important; }
body[data-peso-page='index'] .ref-update-grid p { font-size: .86rem; }

body[data-peso-page='index'] .site-footer { padding-top: 58px !important; background: #042d1b !important; }

@media (min-width: 1600px) {
    body[data-peso-page='index'] .ref-container,
    body[data-peso-page='index'] .ref-hero__inner {
        width: min(calc(100% - 128px), var(--job-shell)) !important;
        max-width: var(--job-shell) !important;
    }
}

@media (max-width: 1260px) {
    body[data-peso-page='index'] .ref-hero__inner { grid-template-columns: minmax(370px, .88fr) minmax(470px, 1.12fr); gap: 34px; }
    html body.peso-product-ui[data-peso-page='index'] .ref-hero h1,
    body[data-peso-page='index'] .ref-hero h1 { font-size: clamp(3rem, 5.6vw, 4.7rem) !important; }
    body[data-peso-page='index'] .ref-hero__media { height: 590px; }
    body[data-peso-page='index'] .ref-employers__shell { grid-template-columns: 190px minmax(0, 1fr) auto; }
}

@media (max-width: 980px) {
    body[data-peso-page='index'] .site-header,
    body[data-peso-page='index'] .site-header.scrolled { top: 8px !important; right: 10px !important; left: 10px !important; margin-inline: 10px !important; }
    body[data-peso-page='index'] .site-header .container { width: 100% !important; }
    body[data-peso-page='index'] .header-inner { min-height: 66px; }

    body[data-peso-page='index'] .ref-hero { padding: 46px 0 62px; }
    body[data-peso-page='index'] .ref-hero__inner { grid-template-columns: 1fr; gap: 0; width: 100% !important; max-width: none !important; }
    body[data-peso-page='index'] .ref-hero__copy { width: min(calc(100% - 44px), 780px); padding: 58px 0 42px; }
    body[data-peso-page='index'] .ref-hero__proof { max-width: 760px; margin-inline: auto; }
    body[data-peso-page='index'] .ref-hero__media { width: min(calc(100% - 44px), 780px); height: 560px; aspect-ratio: auto; border-radius: 30px 120px 30px 120px; }
    body[data-peso-page='index'] .ref-search { width: min(calc(100% - 44px), 780px); margin-top: -24px; }

    body[data-peso-page='index'] .ref-container { width: min(calc(100% - 44px), 780px) !important; }
    body[data-peso-page='index'] .ref-employers__shell { grid-template-columns: minmax(0, 1fr) auto; }
    body[data-peso-page='index'] .ref-dashboard__grid { display: flex; }
    body[data-peso-page='index'] .ref-guide-panel { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    body[data-peso-page='index'] .ref-container { width: calc(100% - 28px) !important; }
    body[data-peso-page='index'] .logo-copy strong { font-size: .96rem !important; }

    body[data-peso-page='index'] .ref-hero { padding-top: 32px; }
    body[data-peso-page='index'] .ref-hero__copy { padding-top: 48px; }
    body[data-peso-page='index'] .ref-eyebrow { font-size: .67rem; }
    html body.peso-product-ui[data-peso-page='index'] .ref-hero h1,
    body[data-peso-page='index'] .ref-hero h1 { max-width: 100% !important; font-size: clamp(2.65rem, 12vw, 3.35rem) !important; line-height: .96 !important; }
    body[data-peso-page='index'] .ref-hero h1 br { display: none; }
    body[data-peso-page='index'] .ref-hero__copy > p { font-size: .98rem; }
    body[data-peso-page='index'] .ref-hero__proof { grid-template-columns: 1fr; gap: 12px; max-width: 360px; }
    body[data-peso-page='index'] .ref-hero__proof > span { padding: 10px; border: 1px solid var(--job-line); border-radius: 13px; background: color-mix(in srgb, var(--job-surface) 86%, transparent); }
    body[data-peso-page='index'] .ref-hero__media { width: calc(100% - 28px); height: 380px; border-radius: 24px 76px 24px 76px; }
    body[data-peso-page='index'] .ref-hero__image-note { top: 18px; right: 14px; left: 14px; max-width: none; }
    body[data-peso-page='index'] .ref-hero__journey { display: none; }
    body[data-peso-page='index'] .ref-search { width: calc(100% - 28px); }

    body[data-peso-page='index'] .ref-employers__shell { min-height: 0; padding: 18px; }
    body[data-peso-page='index'] .ref-employer-card { min-height: 68px; }
    body[data-peso-page='index'] .ref-employer-card__copy strong { font-size: .8rem; }
    body[data-peso-page='index'] .ref-employer-card__copy small { font-size: .7rem; }

    body[data-peso-page='index'] .ref-dashboard { padding: 54px 0 62px; }
    body[data-peso-page='index'] .ref-jobs-panel,
    body[data-peso-page='index'] .ref-event-panel,
    body[data-peso-page='index'] .ref-help-panel,
    body[data-peso-page='index'] .ref-guide-panel { padding: 19px; }
    body[data-peso-page='index'] .ref-guide-panel > ol { grid-template-columns: 1fr; }
    body[data-peso-page='index'] .ref-updates { padding: 60px 0 68px; }
    body[data-peso-page='index'] .ref-updates__heading h2 { font-size: 2.35rem !important; }
}

@media (max-width: 430px) {
    body[data-peso-page='index'] .site-header,
    body[data-peso-page='index'] .site-header.scrolled { border-radius: 18px !important; }
    body[data-peso-page='index'] .logo-copy small { display: none !important; }
    body[data-peso-page='index'] .ref-hero__media { height: 340px; border-radius: 20px 58px 20px 58px; }
    body[data-peso-page='index'] .ref-hero__people img { height: 91%; }
    body[data-peso-page='index'] .ref-hero__image-note small { display: none; }
    body[data-peso-page='index'] .ref-employers__shell { grid-template-columns: 1fr; }
    body[data-peso-page='index'] .ref-employers__all { justify-self: start; }
}

/* ================================================================
   Modern type system and alignment polish
   Keep this block last so older landing-page rules cannot shrink text.
   ================================================================ */
body[data-peso-page='index'] {
    --job-font: "Segoe UI Variable", "Segoe UI", Inter, Arial, sans-serif;
    --job-type-xs: .78rem;
    --job-type-sm: .875rem;
    --job-type-base: 1rem;
    --job-type-md: 1.0625rem;
    --job-type-lg: 1.2rem;
    font-family: var(--job-font) !important;
    font-size: 16px;
    line-height: 1.55;
    letter-spacing: -.006em;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body[data-peso-page='index'] :is(.site-header, .ref-landing, .site-footer),
body[data-peso-page='index'] :is(button, input, select, textarea) {
    font-family: var(--job-font) !important;
}

body[data-peso-page='index'] .ref-landing :is(h1, h2, h3, p),
body[data-peso-page='index'] .site-footer :is(h2, p) {
    margin-top: 0;
}

body[data-peso-page='index'] .ref-landing :is(h1, h2, h3),
body[data-peso-page='index'] .site-footer h2 {
    font-family: var(--job-font) !important;
    font-weight: 780 !important;
    letter-spacing: -.032em;
    text-wrap: balance;
}

body[data-peso-page='index'] .ref-landing p,
body[data-peso-page='index'] .ref-landing small,
body[data-peso-page='index'] .site-footer p {
    text-wrap: pretty;
}

/* Header: compact, readable, and vertically centered. */
body[data-peso-page='index'] .logo-copy {
    gap: 1px;
    line-height: 1.15;
}

body[data-peso-page='index'] .logo-copy strong {
    font-size: 1.12rem !important;
    font-weight: 780 !important;
    letter-spacing: -.025em;
    line-height: 1.2;
}

body[data-peso-page='index'] .logo-copy small {
    font-size: .75rem !important;
    font-weight: 600;
    letter-spacing: .005em;
    line-height: 1.3;
}

body[data-peso-page='index'] .site-header .nav a,
body[data-peso-page='index'] .site-header .btn-login {
    font-size: .91rem !important;
    font-weight: 700 !important;
    line-height: 1.2;
    white-space: nowrap;
}

/* Hero: clear hierarchy without oversized or cramped text. */
body[data-peso-page='index'] .ref-eyebrow {
    font-size: .79rem !important;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: .075em;
}

html body.peso-product-ui[data-peso-page='index'] .ref-hero h1,
body[data-peso-page='index'] .ref-hero h1 {
    max-width: 12ch !important;
    margin: 22px 0 20px !important;
    color: var(--job-ink) !important;
    font-family: var(--job-font) !important;
    font-size: clamp(3.5rem, 4.7vw, 5.25rem) !important;
    font-weight: 820 !important;
    line-height: .98 !important;
    letter-spacing: -.062em !important;
    text-wrap: balance;
}

body[data-peso-page='index'] .ref-hero__copy > p {
    max-width: 590px;
    margin-bottom: 26px !important;
    color: var(--job-muted) !important;
    font-size: clamp(1.04rem, 1.15vw, 1.16rem) !important;
    font-weight: 450;
    line-height: 1.68;
    letter-spacing: -.012em;
}

body[data-peso-page='index'] .ref-hero__actions {
    align-items: center;
    flex-wrap: wrap;
}

body[data-peso-page='index'] .ref-button {
    justify-content: center;
    min-height: 50px;
    padding-inline: 20px;
    font-size: .95rem !important;
    font-weight: 760 !important;
    line-height: 1.2;
}

body[data-peso-page='index'] .ref-hero__proof > span {
    align-items: center;
}

body[data-peso-page='index'] .ref-hero__proof strong {
    font-size: .9rem !important;
    font-weight: 760;
    line-height: 1.3;
}

body[data-peso-page='index'] .ref-hero__proof small {
    margin-top: 4px;
    font-size: .79rem !important;
    line-height: 1.45;
}

body[data-peso-page='index'] .ref-hero__image-note strong,
body[data-peso-page='index'] .ref-hero__journey strong {
    font-size: .87rem !important;
    font-weight: 760;
    line-height: 1.3;
}

body[data-peso-page='index'] .ref-hero__image-note small,
body[data-peso-page='index'] .ref-hero__journey small {
    font-size: .77rem !important;
    line-height: 1.45;
}

body[data-peso-page='index'] .ref-search {
    align-items: center;
}

body[data-peso-page='index'] .ref-search__field input {
    font-size: 1rem !important;
    font-weight: 560;
    line-height: 1.4;
}

body[data-peso-page='index'] .ref-search__field input::placeholder {
    color: var(--job-muted) !important;
    opacity: .92;
}

body[data-peso-page='index'] .ref-search__submit {
    font-size: .96rem !important;
}

/* Employer strip: make company names scan cleanly at a glance. */
body[data-peso-page='index'] .ref-employers__intro,
body[data-peso-page='index'] .ref-employer-card,
body[data-peso-page='index'] .ref-employers__all {
    align-items: center;
}

body[data-peso-page='index'] .ref-employers__intro h2 {
    margin-bottom: 4px;
    font-size: 1.34rem !important;
    font-weight: 780 !important;
    line-height: 1.16;
}

body[data-peso-page='index'] .ref-employers__intro p {
    margin-bottom: 0;
    font-size: .84rem !important;
    line-height: 1.4;
}

body[data-peso-page='index'] .ref-employer-card__copy strong {
    font-size: .88rem !important;
    font-weight: 750;
    line-height: 1.3;
}

body[data-peso-page='index'] .ref-employer-card__copy small {
    margin-top: 3px;
    font-size: .77rem !important;
    line-height: 1.35;
}

body[data-peso-page='index'] .ref-employers__all {
    font-size: .9rem !important;
    font-weight: 750;
}

/* Content panels and job cards. */
body[data-peso-page='index'] .ref-panel__heading,
body[data-peso-page='index'] .ref-updates__heading {
    align-items: center;
    gap: 18px;
}

body[data-peso-page='index'] .ref-panel__heading h2 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 0;
    font-size: clamp(1.45rem, 1.75vw, 1.78rem) !important;
    line-height: 1.18;
}

body[data-peso-page='index'] .ref-panel__heading a,
body[data-peso-page='index'] .ref-updates__heading > a,
body[data-peso-page='index'] .ref-update-grid a {
    font-size: .9rem !important;
    font-weight: 750;
    line-height: 1.3;
}

body[data-peso-page='index'] .ref-jobs-count {
    font-size: .75rem !important;
    font-weight: 780;
    line-height: 1;
    letter-spacing: .01em;
}

body[data-peso-page='index'] .ref-job-card__main {
    align-items: flex-start;
}

body[data-peso-page='index'] .ref-job-card__copy h3 {
    margin-bottom: 5px;
    font-size: 1.17rem !important;
    font-weight: 780 !important;
    line-height: 1.27;
    letter-spacing: -.025em;
}

body[data-peso-page='index'] .ref-job-card__copy p {
    margin-bottom: 6px;
    font-size: .94rem !important;
    line-height: 1.4;
}

body[data-peso-page='index'] .ref-job-card__copy > span {
    font-size: .86rem !important;
    line-height: 1.4;
}

body[data-peso-page='index'] .ref-job-card__tags {
    align-items: center;
}

body[data-peso-page='index'] .ref-job-card__tags span {
    font-size: .78rem !important;
    font-weight: 680;
    line-height: 1.2;
}

body[data-peso-page='index'] .ref-job-card__footer {
    align-items: center;
}

body[data-peso-page='index'] .ref-job-card__footer small,
body[data-peso-page='index'] .ref-job-card__footer button {
    font-size: .82rem !important;
    font-weight: 660;
    line-height: 1.3;
}

body[data-peso-page='index'] .ref-event__copy > span {
    font-size: .78rem !important;
    font-weight: 720;
    letter-spacing: .02em;
}

body[data-peso-page='index'] .ref-event__copy h3 {
    margin: 7px 0 9px;
    font-size: 1.18rem !important;
    font-weight: 780 !important;
    line-height: 1.28;
}

body[data-peso-page='index'] .ref-event__copy p {
    margin-bottom: 6px;
    font-size: .89rem !important;
    line-height: 1.45;
}

body[data-peso-page='index'] .ref-help-list a {
    align-items: center;
}

body[data-peso-page='index'] .ref-help-list strong {
    font-size: .96rem !important;
    font-weight: 760;
    line-height: 1.3;
}

body[data-peso-page='index'] .ref-help-list small {
    margin-top: 4px;
    font-size: .84rem !important;
    line-height: 1.48;
}

/* Guidance and notices: readable supporting copy, even on dark surfaces. */
body[data-peso-page='index'] .ref-guide-panel h2 {
    align-self: center;
    margin-bottom: 0;
    font-size: clamp(1.55rem, 2vw, 1.95rem) !important;
    line-height: 1.15;
}

body[data-peso-page='index'] .ref-guide-panel li {
    align-items: center;
}

body[data-peso-page='index'] .ref-guide-panel li strong {
    font-size: 1rem !important;
    font-weight: 760;
    line-height: 1.35;
}

body[data-peso-page='index'] .ref-guide-panel li small {
    margin-top: 5px;
    font-size: .89rem !important;
    line-height: 1.5;
}

body[data-peso-page='index'] .ref-updates__heading > div > span {
    font-size: .79rem !important;
    font-weight: 800;
    letter-spacing: .075em;
}

body[data-peso-page='index'] .ref-updates__heading h2 {
    margin: 10px 0 0;
    max-width: 19ch;
    font-size: clamp(2.25rem, 3.25vw, 3.45rem) !important;
    line-height: 1.04;
    letter-spacing: -.05em;
}

body[data-peso-page='index'] .ref-update-grid article {
    align-items: flex-start;
}

body[data-peso-page='index'] .ref-update-grid time {
    font-size: .78rem !important;
    font-weight: 720;
    letter-spacing: .02em;
}

body[data-peso-page='index'] .ref-update-grid h3 {
    margin: 6px 0 8px;
    font-size: 1.14rem !important;
    font-weight: 770 !important;
    line-height: 1.3;
}

body[data-peso-page='index'] .ref-update-grid p {
    margin-bottom: 12px;
    font-size: .91rem !important;
    line-height: 1.55;
}

/* Footer text stays legible against the deep green background. */
body[data-peso-page='index'] .site-footer .footer-brand strong {
    font-size: 1.06rem !important;
    font-weight: 760;
    line-height: 1.25;
}

body[data-peso-page='index'] .site-footer h2 {
    font-size: .95rem !important;
    font-weight: 780 !important;
    line-height: 1.3;
    letter-spacing: .01em;
}

body[data-peso-page='index'] .site-footer :is(a, p, li) {
    font-size: .84rem !important;
    line-height: 1.6 !important;
}

body[data-peso-page='index'] .site-footer .footer-bottom p,
body[data-peso-page='index'] .site-footer .footer-bottom a {
    font-size: .76rem !important;
}

@media (max-width: 1260px) {
    html body.peso-product-ui[data-peso-page='index'] .ref-hero h1,
    body[data-peso-page='index'] .ref-hero h1 {
        font-size: clamp(3.15rem, 5.55vw, 4.75rem) !important;
    }
}

@media (max-width: 980px) {
    body[data-peso-page='index'] .ref-hero__copy {
        text-align: center;
    }

    body[data-peso-page='index'] .ref-hero h1,
    body[data-peso-page='index'] .ref-hero__copy > p {
        margin-inline: auto !important;
    }

    body[data-peso-page='index'] .ref-hero__actions,
    body[data-peso-page='index'] .ref-hero__proof {
        justify-content: center;
    }

    body[data-peso-page='index'] .ref-employers__intro {
        text-align: left;
    }
}

@media (max-width: 680px) {
    body[data-peso-page='index'] {
        font-size: 16px;
    }

    body[data-peso-page='index'] .logo-copy strong {
        font-size: 1rem !important;
    }

    body[data-peso-page='index'] .ref-eyebrow {
        font-size: .72rem !important;
    }

    html body.peso-product-ui[data-peso-page='index'] .ref-hero h1,
    body[data-peso-page='index'] .ref-hero h1 {
        max-width: 11ch !important;
        margin-top: 18px !important;
        font-size: clamp(2.65rem, 12vw, 3.35rem) !important;
        line-height: .98 !important;
    }

    body[data-peso-page='index'] .ref-hero__copy > p {
        max-width: 36ch;
        font-size: 1rem !important;
        line-height: 1.62;
    }

    body[data-peso-page='index'] .ref-button {
        min-height: 50px;
        font-size: .94rem !important;
    }

    body[data-peso-page='index'] .ref-hero__proof strong {
        font-size: .91rem !important;
    }

    body[data-peso-page='index'] .ref-hero__proof small {
        font-size: .8rem !important;
    }

    body[data-peso-page='index'] .ref-search__field input {
        font-size: 1rem !important;
    }

    body[data-peso-page='index'] .ref-employers__intro h2 {
        font-size: 1.22rem !important;
    }

    body[data-peso-page='index'] .ref-employers__intro p {
        font-size: .82rem !important;
    }

    body[data-peso-page='index'] .ref-employer-card__copy strong {
        font-size: .86rem !important;
    }

    body[data-peso-page='index'] .ref-employer-card__copy small {
        font-size: .77rem !important;
    }

    body[data-peso-page='index'] .ref-panel__heading,
    body[data-peso-page='index'] .ref-updates__heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    body[data-peso-page='index'] .ref-panel__heading h2 {
        font-size: 1.42rem !important;
    }

    body[data-peso-page='index'] .ref-job-card__copy h3 {
        font-size: 1.12rem !important;
    }

    body[data-peso-page='index'] .ref-job-card__copy p {
        font-size: .92rem !important;
    }

    body[data-peso-page='index'] .ref-job-card__copy > span {
        font-size: .84rem !important;
    }

    body[data-peso-page='index'] .ref-guide-panel h2 {
        align-self: start;
        font-size: 1.55rem !important;
    }

    body[data-peso-page='index'] .ref-guide-panel li small {
        font-size: .88rem !important;
    }

    body[data-peso-page='index'] .ref-updates__heading h2 {
        margin-top: 8px;
        font-size: 2.25rem !important;
    }
}

/* Explicit dark-mode contrast for brand and verification labels. */
body[data-peso-page='index']:not(.light) .logo-copy strong {
    color: #f5fbf7 !important;
}

body[data-peso-page='index']:not(.light) .logo-copy small {
    color: #b7c9c0 !important;
}

body[data-peso-page='index']:not(.light) .ref-eyebrow {
    color: #f4d35e !important;
    border-color: rgba(244, 211, 94, .34) !important;
    background: rgba(4, 62, 37, .72) !important;
}

body[data-peso-page='index'].light .logo-copy strong {
    color: var(--job-green) !important;
}

/* Jobseeker discovery paths: a concise, high-visibility bridge from the hero. */
body[data-peso-page='index'] .ref-job-paths {
    position: relative;
    z-index: 5;
    padding: 18px 0;
    background: var(--job-canvas, #f5f9f6);
}

body[data-peso-page='index'] .ref-job-paths__inner {
    display: grid;
    grid-template-columns: minmax(220px, .85fr) minmax(0, 3.15fr);
    gap: 18px;
    align-items: stretch;
}

body[data-peso-page='index'] .ref-job-paths__intro,
body[data-peso-page='index'] .ref-job-paths__links a {
    min-width: 0;
    border: 1px solid var(--job-line, #cfe0d6);
    border-radius: 16px;
    background: var(--job-panel, #fff);
}

body[data-peso-page='index'] .ref-job-paths__intro {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 17px;
}

body[data-peso-page='index'] .ref-job-paths__intro > span {
    display: grid;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    place-items: center;
    color: #fff;
    background: #087443;
    border-radius: 13px;
    font-size: 1.2rem;
}

body[data-peso-page='index'] .ref-job-paths__intro div,
body[data-peso-page='index'] .ref-job-paths__links a span { display: grid; gap: 3px; min-width: 0; }
body[data-peso-page='index'] .ref-job-paths__intro strong { color: var(--job-ink, #10291d); font-size: 1.02rem; }
body[data-peso-page='index'] .ref-job-paths__intro small { color: var(--job-muted, #62746b); font-size: .84rem; line-height: 1.4; }

body[data-peso-page='index'] .ref-job-paths__links {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

body[data-peso-page='index'] .ref-job-paths__links a {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 76px;
    padding: 12px 13px;
    color: var(--job-ink, #10291d) !important;
    text-decoration: none !important;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

body[data-peso-page='index'] .ref-job-paths__links a > i {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #087443;
    background: #e8f5ee;
    border-radius: 10px;
}

body[data-peso-page='index'] .ref-job-paths__links strong { overflow: hidden; font-size: .92rem; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
body[data-peso-page='index'] .ref-job-paths__links small { color: var(--job-muted, #62746b); font-size: .75rem; line-height: 1.35; }
body[data-peso-page='index'] .ref-job-paths__links a:hover { transform: translateY(-2px); border-color: #70af8d; box-shadow: 0 12px 28px rgba(7, 66, 39, .1); }
body[data-peso-page='index'] .ref-job-paths__links a:focus-visible { outline: 3px solid rgba(215,165,0,.38); outline-offset: 3px; }

body[data-peso-page='index'] .ref-employer-card__logo { width: 58px; height: 58px; flex-basis: 58px; }
body[data-peso-page='index'] .ref-employer-card__copy strong { font-size: .94rem !important; }
body[data-peso-page='index'] .ref-employer-card__copy small { font-size: .8rem !important; }
body[data-peso-page='index'] .ref-company-logo { width: 68px; height: 68px; flex-basis: 68px; }
body[data-peso-page='index'] .ref-job-card__copy h3 { font-size: 1.22rem !important; }
body[data-peso-page='index'] .ref-job-card__copy p { font-size: .96rem !important; }
body[data-peso-page='index'] .ref-job-card__copy > span { font-size: .88rem !important; }
body[data-peso-page='index'] .site-footer :is(a, p, li) { font-size: .9rem !important; }
body[data-peso-page='index'] .site-footer .footer-bottom p,
body[data-peso-page='index'] .site-footer .footer-bottom a { font-size: .82rem !important; }

body[data-peso-page='index']:not(.light) .ref-job-paths { background: #071c14; }
body[data-peso-page='index']:not(.light) .ref-job-paths__intro,
body[data-peso-page='index']:not(.light) .ref-job-paths__links a { background: #0b291e; border-color: #24473a; }
body[data-peso-page='index']:not(.light) .ref-job-paths :is(strong, a) { color: #f1f8f4 !important; }
body[data-peso-page='index']:not(.light) .ref-job-paths small { color: #b6c9c0 !important; }

@media (max-width: 1180px) {
    body[data-peso-page='index'] .ref-job-paths__inner { grid-template-columns: 1fr; }
    body[data-peso-page='index'] .ref-job-paths__links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
    body[data-peso-page='index'] .ref-job-paths__links { grid-template-columns: 1fr 1fr; }
    body[data-peso-page='index'] .ref-job-paths__links a:last-child { grid-column: 1 / -1; }
    body[data-peso-page='index'] .ref-job-paths__links strong { white-space: normal; }
    body[data-peso-page='index'] .ref-employer-card__logo { width: 52px; height: 52px; flex-basis: 52px; }
    body[data-peso-page='index'] .ref-company-logo { width: 60px; height: 60px; flex-basis: 60px; }
}
