:root {
    --navy: #0a153f;
    --coral: #ed421c;
    --coral-dark: #c83212;
    --coral-deep: #a9280d;
    --cream: #fffefa;
    --peach: #fff0e4;
    --muted: #64708a;
    --line: #eae7e2;
    --white: #fff;
    --shadow: 0 12px 36px rgba(77, 48, 24, .1);
    color: var(--navy);
    background: var(--cream);
    font-family: "DM Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--navy); background: var(--cream); font-size: 16px; line-height: 1.55; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #174ca8; outline-offset: 4px; }
.wrap { width: min(1320px, calc(100% - 112px)); margin-inline: auto; }
.coral { color: var(--coral); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 12px; z-index: 50; padding: 12px 16px; background: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.site-header { height: 70px; background: rgba(255, 254, 250, .97); border-bottom: 1px solid rgba(234, 231, 226, .55); position: relative; z-index: 10; }
.site-nav { height: 100%; display: flex; align-items: center; gap: 38px; }
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 29px; font-weight: 850; line-height: 1; letter-spacing: -1.15px; }
.brand svg { width: 34px; height: 34px; fill: var(--coral); }
.desktop-links { display: flex; gap: 38px; margin: auto; font-weight: 650; }
.desktop-links a:hover, .site-footer a:hover { color: var(--coral); }
.nav-actions { display: flex; align-items: center; gap: 24px; }
.nav-actions form { margin: 0; }
.signin { font-weight: 650; }
.launching { padding: 9px 15px; border: 1px solid #f3b7a8; border-radius: 999px; color: #a8341c; background: #fff5ef; font-size: 14px; font-weight: 750; }
.mobile-menu { display: none; margin-left: auto; position: relative; }
.mobile-menu summary { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; cursor: pointer; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { display: block; width: 23px; height: 2px; background: var(--navy); border-radius: 2px; }
.mobile-menu nav { position: absolute; top: 48px; right: 0; width: min(280px, calc(100vw - 40px)); padding: 12px; display: grid; background: var(--cream); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.mobile-menu nav a, .mobile-menu nav span { min-height: 44px; display: flex; align-items: center; padding: 7px 10px; font-weight: 700; }

.button, button.primary { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 13px 22px; color: #fff; background: var(--coral-dark); border: 1px solid var(--coral-dark); border-radius: 11px; font-weight: 750; text-decoration: none; }
.button:hover, button.primary:hover { background: var(--coral-deep); border-color: var(--coral-deep); }
.button-small { min-height: 43px; padding: 10px 17px; }
.button.secondary { color: var(--navy); background: #fff; border-color: var(--line); }

.home-hero { min-height: 448px; background: #fff0e4 url('/assets/hero.png') center center / cover no-repeat; }
.hero-content { padding-top: 30px; padding-bottom: 28px; }
.hero-kicker { margin: 0 0 6px; color: #a8341c; font-size: 13px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.home-hero h1 { max-width: 860px; margin: 0 0 18px; font-size: clamp(50px, 5.7vw, 84px); font-weight: 900; line-height: 1.02; letter-spacing: -3.7px; }
.hero-intro { margin: 0 0 26px; color: #526079; font-size: 23px; line-height: 1.4; }
.home-search { width: min(955px, 77%); min-height: 76px; display: flex; align-items: center; padding: 8px; background: #fff; border-radius: 30px; box-shadow: 0 6px 21px rgba(213, 151, 96, .13); }
.search-field { min-width: 0; display: flex; align-items: center; gap: 13px; position: relative; }
.search-field > svg { width: 22px; height: 22px; flex-shrink: 0; fill: #596885; }
.keyword-field { flex: 1.1; padding: 0 22px; }
.city-field { flex: 1; padding: 0 20px; border-left: 1px solid #d9dee5; }
.home-search input, .home-search select { min-width: 0; width: 100%; height: 44px; padding: 0; color: #53607e; background: transparent; border: 0; border-radius: 0; font-size: 18px; }
.home-search input::placeholder { color: #53607e; opacity: 1; }
.home-search select { appearance: none; padding-right: 24px; }
.select-chevron { position: absolute; right: 15px; color: #596885; pointer-events: none; }
.search-button { min-width: 214px; min-height: 58px; border-radius: 22px; font-size: 19px; }
.popular-searches { display: flex; align-items: center; flex-wrap: wrap; margin-top: 18px; font-size: 14px; }
.popular-searches > span { margin-right: 15px; }
.popular-searches a { padding: 1px 16px; color: #1353ba; border-right: 1px solid #cfc1b7; }
.popular-searches a:last-child { border-right: 0; }
.popular-searches a:hover, .popular-searches a.active { text-decoration: underline; }
.mobile-hero-photo { display: none; }
.advanced-filters { width: min(955px, 77%); margin-top: 12px; }
.advanced-filters summary { width: max-content; min-height: 34px; display: flex; align-items: center; gap: 7px; color: #9d341b; cursor: pointer; font-size: 13px; font-weight: 800; list-style: none; }
.advanced-filters summary::-webkit-details-marker { display: none; }
.advanced-filters[open] summary span { transform: rotate(45deg); }
.filter-fields { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: 10px; padding: 12px; background: rgba(255,255,255,.9); border: 1px solid rgba(237,66,28,.14); border-radius: 13px; box-shadow: 0 8px 24px rgba(82, 48, 25, .08); }
.filter-fields label { gap: 4px; color: #526079; font-size: 12px; }
.filter-fields select { min-height: 44px; padding: 9px 12px; border-color: #ddd9d3; }
.filter-apply { min-height: 44px; padding: 9px 15px; color: #fff; background: var(--navy); border: 1px solid var(--navy); border-radius: 9px; font-weight: 750; }
.clear-filters { min-height: 44px; display: flex; align-items: center; padding: 8px; color: #a8341c; font-size: 13px; font-weight: 700; }

.jobs-section { padding-top: 32px; scroll-margin-top: 18px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.eyebrow { margin: 0 0 3px; color: #c83b19; font-size: 12px; font-weight: 850; letter-spacing: .07em; }
.section-heading h2, .employer-copy h2 { margin: 0; font-size: 30px; font-weight: 850; line-height: 1.2; letter-spacing: -1px; }
.section-heading h2 span { color: var(--muted); font-weight: 550; }
.result-count { color: var(--muted); font-size: 14px; }
.job-list { display: grid; gap: 12px; margin-top: 18px; }
.job-card { min-width: 0; display: grid; grid-template-columns: 92px minmax(0, 1fr) 220px; align-items: center; gap: 20px; padding: 21px 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 5px 22px rgba(43, 31, 18, .045); }
.job-card-external { border-top: 3px solid #f08c72; }
.job-card:hover { border-color: #efb4a5; box-shadow: 0 12px 30px rgba(77, 48, 24, .09); }
.company-logo { display: grid; place-items: center; flex-shrink: 0; color: #7d2f1d; background: #fffaf6; border: 1px solid #eadfd7; border-radius: 15px; overflow: hidden; font-weight: 900; letter-spacing: -.04em; }
.company-logo img { width: 92%; height: 86%; object-fit: contain; }
.company-logo-list { width: 84px; height: 84px; font-size: 21px; }
.job-card-body { min-width: 0; }
.job-card-labels { min-height: 24px; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.job-card h3 { margin: 6px 0 3px; font-size: 20px; font-weight: 850; line-height: 1.22; letter-spacing: -.45px; }
.job-card h3 a:hover { color: var(--coral-dark); }
.job-company { margin: 0; color: #4e5c74; font-size: 14px; font-weight: 700; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.job-meta li { min-height: 30px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; color: #536079; background: #f6f7fa; border: 1px solid #e7e9ee; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.25; }
.job-meta svg { width: 14px; height: 14px; fill: currentColor; }
.job-card-action { min-width: 0; display: grid; justify-items: end; gap: 10px; padding-left: 20px; border-left: 1px solid var(--line); }
.job-card-action > span { color: var(--muted); font-size: 11px; text-align: right; }
.sample-label { display: inline-flex; margin-top: 5px; padding: 3px 7px; color: #9d341b; background: #fff0e8; border-radius: 5px; font-size: 10px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; }
.direct-label { display: inline-flex; padding: 4px 9px; color: #144d7a; background: #edf6ff; border-radius: 999px; font-size: .72rem; font-weight: 800; }
.outline-button { min-height: 44px; padding: 9px 14px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; color: var(--coral-dark); border: 1px solid var(--coral-dark); border-radius: 9px; font-weight: 750; white-space: nowrap; }
.outline-button:hover { background: #fff0e7; }
.results-pagination { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.results-pagination p { margin: 0; color: var(--muted); font-size: 14px; }
.pagination-links { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.pagination-link, .pagination-ellipsis { min-width: 42px; min-height: 42px; padding: 8px 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; font-size: 14px; font-weight: 750; }
.pagination-link { color: var(--navy); background: #fff; border: 1px solid var(--line); }
.pagination-link:hover { color: var(--coral-dark); border-color: var(--coral); }
.pagination-link.is-current { color: #fff; background: var(--navy); border-color: var(--navy); }
.pagination-link.is-disabled { color: #9aa1af; background: #f6f4f0; cursor: not-allowed; }
.pagination-ellipsis { min-width: auto; color: var(--muted); }
.empty-state { min-height: 240px; padding: 50px 20px; text-align: center; }
.empty-state h3 { margin: 0; font-size: 25px; }
.empty-state p { color: var(--muted); }

.discovery-section { display: grid; grid-template-columns: 1fr 1.35fr; gap: 18px; margin-top: 18px; }
.discovery-block, .trust-block { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.discovery-section h2 { margin: 0; font-size: 23px; letter-spacing: -.65px; }
.category-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.category-links a { min-height: 42px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; background: #f5f7fb; border: 1px solid #e4e8f0; border-radius: 9px; font-size: 14px; font-weight: 700; }
.category-links a:hover { color: var(--coral); border-color: #f4a794; }
.category-links strong { min-width: 23px; height: 23px; display: grid; place-items: center; color: #526079; background: #fff; border-radius: 50%; font-size: 11px; }
.trust-block { color: #fff; background: var(--navy); border-color: var(--navy); }
.trust-block .eyebrow { color: #ff9b82; }
.trust-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.trust-points strong, .trust-points span { display: block; }
.trust-points strong { margin-bottom: 5px; color: #fff; font-size: 15px; }
.trust-points span { color: #cfd6e9; font-size: 12px; line-height: 1.5; }

.employer-banner { min-height: 140px; margin-top: 18px; margin-bottom: 28px; padding: 24px 29px; display: flex; align-items: center; gap: 24px; scroll-margin-top: 18px; background: #fff0e8 url('/assets/employer.png') center center / cover no-repeat; border-radius: 26px; }
.employer-icon { width: 72px; height: 72px; display: grid; place-items: center; flex-shrink: 0; color: var(--coral); background: #ffdfcf; border-radius: 50%; }
.employer-icon svg { width: 36px; height: 36px; fill: currentColor; }
.employer-copy h2 { margin-top: 2px; font-size: 25px; }
.employer-copy p { margin: 4px 0 0; color: #5b6782; font-size: 16px; }
.employer-button { min-width: 170px; min-height: 56px; margin-left: auto; font-size: 17px; }
.employer-status { min-width: 205px; margin-left: auto; padding: 13px 16px; background: rgba(255,255,255,.88); border: 1px solid rgba(237,66,28,.25); border-radius: 12px; }
.employer-status strong, .employer-status span { display: block; }
.employer-status strong { color: #a8341c; }
.employer-status span { margin-top: 2px; color: var(--muted); font-size: 12px; }

.site-footer { border-top: 1px solid var(--line); background: #fff; }
.footer-inner { padding-top: 30px; padding-bottom: 26px; display: grid; grid-template-columns: 1fr auto; gap: 18px 35px; }
.footer-brand { font-size: 22px; }
.footer-inner p { max-width: 520px; margin: 9px 0 0; color: var(--muted); font-size: 14px; }
.footer-inner nav { display: flex; align-items: center; gap: 24px; font-weight: 650; }
.footer-inner small { grid-column: 1 / -1; color: var(--muted); font-size: 11px; }

/* Shared portal pages */
main { min-height: 70vh; }
.panel, .flash, .errors { width: min(850px, calc(100% - 48px)); margin-inline: auto; }
.panel { margin-top: 50px; margin-bottom: 70px; padding: 36px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.panel.wide { width: min(1160px, calc(100% - 48px)); max-width: 1160px; }
.panel h1 { margin: 5px 0 16px; font-size: clamp(35px, 5vw, 54px); line-height: 1; letter-spacing: -.045em; }
.panel h2 { margin-top: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.full { grid-column: 1 / -1; }
label { display: grid; gap: 7px; font-weight: 700; }
input, select, textarea { width: 100%; padding: 13px 14px; color: var(--navy); background: #fff; border: 1px solid #d8d9dd; border-radius: 9px; }
textarea { min-height: 130px; resize: vertical; }
.actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 14px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.flash, .errors { margin-top: 18px; padding: 14px 18px; border-radius: 10px; }
.flash { color: #155c49; background: #dbf3ea; }
.errors { color: #8b2e1d; background: #ffe6e0; }
.notice { padding: 16px; color: #83331f; background: #fff2eb; border-left: 4px solid var(--coral); }
.meta, .muted { color: var(--muted); }
.pill { display: inline-flex; padding: 5px 9px; color: var(--muted); background: #f3eee6; border-radius: 999px; font-size: 12px; font-weight: 800; }
.prose { max-width: 760px; }
.link { padding: 0; color: inherit; background: none; border: 0; font-weight: 700; }
.account-switch { margin: 24px 0 0; color: var(--muted); }
.account-switch a { color: #174ca8; font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }

/* Job details */
.job-page { padding-top: 34px; padding-bottom: 70px; }
.back-link { display: inline-flex; margin-bottom: 18px; color: #526079; font-weight: 700; }
.back-link:hover { color: var(--coral); }
.job-detail-header { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 32px; color: #fff; background: linear-gradient(135deg, #101c49, var(--navy)); border-radius: 24px; }
.job-detail-identity { min-width: 0; display: flex; align-items: center; gap: 22px; }
.company-logo-detail { width: 118px; height: 92px; color: var(--navy); background: #fff; border-color: rgba(255,255,255,.65); font-size: 28px; }
.detail-labels { display: flex; align-items: center; gap: 10px; }
.job-detail-header .eyebrow { color: #ff9b82; }
.job-detail-header .sample-label { margin: 0; color: #ffe1d8; background: rgba(237,66,28,.25); }
.job-detail-header h1 { max-width: 780px; margin: 9px 0 8px; font-size: clamp(34px, 4.5vw, 56px); line-height: 1.02; letter-spacing: -.045em; }
.job-detail-header p { margin: 0; color: #cfd6e9; font-size: 17px; }
.detail-action { flex-shrink: 0; }
.disabled-action { padding: 12px 16px; color: #ffd4c9; background: rgba(237,66,28,.14); border: 1px solid rgba(255,155,130,.45); border-radius: 10px; font-size: 13px; font-weight: 800; }
.sample-notice { margin-top: 16px; padding: 14px 18px; color: #81341f; background: #fff0e8; border: 1px solid #ffd2c5; border-radius: 12px; }
.job-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; grid-template-areas: "copy company" "copy facts"; align-items: start; column-gap: 30px; row-gap: 14px; margin-top: 28px; }
.job-copy { grid-area: copy; padding: 8px 8px 0; }
.job-copy section { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.job-copy h2 { margin: 25px 0 9px; font-size: 24px; letter-spacing: -.5px; }
.job-copy section:first-child h2 { margin-top: 0; }
.job-copy p { color: #505c73; line-height: 1.75; }
.company-card, .job-facts-card { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.company-card { grid-area: company; }
.job-facts-card { grid-area: facts; }
.company-card-heading { display: flex; align-items: center; gap: 14px; }
.company-logo-card { width: 76px; height: 64px; color: var(--navy); background: #fffaf6; font-size: 19px; }
.company-card h2 { margin: 2px 0 0; font-size: 19px; line-height: 1.2; letter-spacing: -.35px; }
.company-card > p { margin: 15px 0 0; color: #56627a; font-size: 13px; line-height: 1.6; }
.company-links { margin: 15px 0 0; }
.company-links div { padding: 10px 0; border-top: 1px solid var(--line); }
.company-links dt { color: var(--muted); font-size: 11px; }
.company-links dd { margin: 2px 0 0; overflow-wrap: anywhere; font-size: 13px; font-weight: 750; }
.company-links a { color: #174ca8; text-decoration: underline; text-underline-offset: 2px; }
.company-contact-note { padding: 11px 12px; background: #f6f7fa; border-radius: 9px; }
.job-facts-card dl { margin: 12px 0 0; }
.job-facts-card dl div { padding: 13px 0; border-bottom: 1px solid var(--line); }
.job-facts-card dt { color: var(--muted); font-size: 12px; }
.job-facts-card dd { margin: 3px 0 0; font-weight: 750; }
.safety-note { margin: 18px 0 0; padding: 13px; color: #724027; background: #fff6e9; border-radius: 9px; font-size: 12px; }
.safety-note strong { display: block; color: #9d341b; }
.report-panel { margin-top: 28px; padding: 16px 0; border-top: 1px solid var(--line); }
.report-panel summary { color: #a8341c; cursor: pointer; font-weight: 750; }
.report-panel form, .apply-form { display: grid; gap: 14px; margin-top: 18px; }
.application-summary { display: grid; gap: 4px; margin: 0; padding: 16px; color: #155c49; background: #edf8f4; border: 1px solid #c6e7da; border-radius: 11px; }
.application-summary strong, .application-summary span { display: block; }
.application-summary span { color: #3e665a; font-size: 14px; }
.source-label { display: inline-flex; padding: 4px 9px; border-radius: 999px; background: #e9f4ee; color: #17633b; font-size: .72rem; font-weight: 800; letter-spacing: .02em; }
.source-notice { margin: 18px 0; padding: 15px 18px; border: 1px solid #b8dac7; border-radius: 12px; background: #f2faf5; color: #184d32; }
.external-apply { display: grid; gap: 12px; justify-items: start; margin-top: 28px; padding: 20px; border-radius: 14px; background: #fff4ed; }
.external-apply p { margin: 0; }
.public-contact-fields { display: grid; gap: 16px; padding: 20px; background: #fff8f3; border: 1px solid #f3d7ca; border-radius: 13px; }
.public-contact-fields strong, .public-contact-fields span { display: block; }
.public-contact-fields > div > span { margin-top: 3px; color: var(--muted); font-size: 13px; }
.contact-consent { display: flex; grid-template-columns: auto 1fr; align-items: flex-start; gap: 10px; }
.contact-consent input { width: 20px; height: 20px; margin: 2px 0 0; }

@media (max-width: 1150px) {
    .wrap { width: calc(100% - 64px); }
    .brand { font-size: 25px; }
    .desktop-links { gap: 22px; }
    .site-nav { gap: 22px; }
    .home-hero h1 { max-width: 700px; font-size: 64px; }
    .home-search { width: 84%; }
    .advanced-filters { width: 84%; }
    .search-button { min-width: 165px; }
    .keyword-field, .city-field { padding-inline: 14px; }
    .job-card { grid-template-columns: 82px minmax(0, 1fr) 190px; gap: 16px; }
    .company-logo-list { width: 76px; height: 76px; }
    .employer-banner { gap: 17px; }
    .employer-icon { width: 58px; height: 58px; }
    .discovery-section { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
    .wrap { width: calc(100% - 40px); }
    .site-header { height: 68px; }
    .desktop-links, .nav-actions { display: none; }
    .mobile-menu { display: block; }
    .home-hero { background-position: 60% center; }
    .hero-content { padding-top: 34px; }
    .home-hero h1 { max-width: 600px; font-size: 52px; letter-spacing: -2.7px; }
    .hero-intro { max-width: 410px; font-size: 20px; }
    .home-search { width: 100%; border-radius: 19px; }
    .home-search input, .home-search select { font-size: 15px; }
    .search-button { min-width: 135px; gap: 7px; font-size: 16px; }
    .popular-searches { gap: 10px; max-width: 600px; }
    .popular-searches > span { width: 100%; margin: 0; }
    .popular-searches a { padding: 0 10px 0 0; }
    .advanced-filters { width: 100%; }
    .filter-fields { grid-template-columns: 1fr 1fr; }
    .trust-points { grid-template-columns: 1fr 1fr 1fr; }
    .jobs-section { padding-top: 27px; }
    .job-card { grid-template-columns: 72px minmax(0, 1fr); padding: 18px; }
    .company-logo-list { width: 68px; height: 68px; }
    .job-card-action { grid-column: 2; display: flex; align-items: center; justify-content: space-between; padding: 0; border: 0; }
    .job-card-action > span { text-align: left; }
    .employer-banner { flex-wrap: wrap; padding: 23px; }
    .employer-copy { flex: 1; }
    .employer-status, .employer-button { margin-left: 73px; }
    .employer-copy h2 { font-size: 21px; }
    .section-heading { align-items: flex-start; }
    .form-grid { grid-template-columns: 1fr; }
    .data-table { display: block; overflow-x: auto; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-inner small { grid-column: 1; }
    .job-detail-header { align-items: flex-start; flex-direction: column; padding: 28px; }
    .job-detail-grid { grid-template-columns: 1fr; grid-template-areas: "facts" "copy" "company"; row-gap: 18px; }
}

@media (max-width: 540px) {
    .brand { font-size: 23px; }
    .brand svg { width: 29px; height: 29px; }
    .home-hero { min-height: auto; background-image: none; background-color: var(--peach); overflow: hidden; }
    .hero-content { padding-top: 29px; padding-bottom: 0; }
    .hero-kicker { font-size: 11px; }
    .home-hero h1 { margin-bottom: 20px; font-size: 45px; line-height: 1.05; letter-spacing: -2px; }
    .hero-intro { margin-bottom: 23px; font-size: 18px; line-height: 1.5; }
    .desktop-break { display: none; }
    .home-search { flex-direction: column; align-items: stretch; gap: 0; padding: 8px; border-radius: 16px; }
    .search-field { min-height: 52px; padding: 4px 12px; }
    .city-field { border-top: 1px solid #ece8e2; border-left: 0; }
    .home-search input, .home-search select { font-size: 16px; }
    .search-button { min-height: 49px; margin-top: 6px; border-radius: 10px; }
    .popular-searches { font-size: 12px; }
    .popular-searches a { font-size: 13px; }
    .advanced-filters { margin-top: 7px; }
    .filter-fields { grid-template-columns: 1fr; }
    .clear-filters { justify-content: center; }
    .mobile-hero-photo { width: calc(100% + 40px); height: 180px; display: block; margin: 24px 0 0 -20px; background: url('/assets/hero.png') 72% center / auto 100% no-repeat; }
    .section-heading h2 { font-size: 23px; letter-spacing: -.7px; }
    .section-heading h2 span { display: block; margin-top: 4px; font-size: 14px; letter-spacing: 0; }
    .result-count { font-size: 12px; }
    .job-card { grid-template-columns: 58px minmax(0, 1fr); gap: 12px; padding: 16px 14px; border-radius: 15px; }
    .company-logo-list { width: 56px; height: 56px; border-radius: 11px; font-size: 16px; }
    .job-card > .company-logo-list { align-self: start; margin-top: 3px; }
    .job-card h3 { margin-top: 5px; font-size: 17px; }
    .job-company { font-size: 13px; }
    .job-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
    .job-meta li { font-size: 11px; }
    .job-card-action { grid-column: 1 / -1; align-items: stretch; flex-direction: column; }
    .job-card-action .outline-button { width: 100%; }
    .results-pagination { align-items: stretch; flex-direction: column; }
    .pagination-links { justify-content: center; }
    .employer-banner { margin-top: 12px; align-items: flex-start; background-position: 66% center; border-radius: 18px; }
    .employer-icon { width: 43px; height: 43px; }
    .employer-icon svg { width: 26px; height: 26px; }
    .employer-status, .employer-button { width: calc(100% - 58px); margin-left: 58px; }
    .discovery-section { gap: 12px; }
    .discovery-block, .trust-block { padding: 22px; border-radius: 17px; }
    .trust-points { grid-template-columns: 1fr; gap: 14px; }
    .trust-points div { padding-top: 12px; border-top: 1px solid rgba(255,255,255,.15); }
    .job-page { width: calc(100% - 28px); padding-top: 22px; }
    .job-detail-header { padding: 23px; border-radius: 18px; }
    .job-detail-identity { align-items: flex-start; gap: 14px; }
    .company-logo-detail { width: 64px; height: 58px; border-radius: 12px; font-size: 18px; }
    .job-detail-header h1 { font-size: 34px; }
    .detail-action { width: 100%; }
    .job-detail-grid { gap: 18px; }
    .panel { width: calc(100% - 28px); margin-top: 24px; padding: 22px; }
    .panel.wide { width: calc(100% - 28px); }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.saved-job-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.saved-job-row > a { flex: 1; }
.saved-job-row form { margin: 0; }
.compact-form { margin: 18px 0 24px; padding: 18px; background: #fff8f3; border: 1px solid #f3d7ca; border-radius: 14px; }
.company-profile-logo { width: 160px; height: 106px; object-fit: contain; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.danger-zone { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.candidate-results .job-card { grid-template-columns: 1fr; }
.free-service-line { width: fit-content; margin: -8px 0 20px; padding: 8px 12px; color: #4b281d; background: rgba(255,255,255,.72); border: 1px solid rgba(117,61,43,.15); border-radius: 999px; font-size: 14px; }
.faq-page section { padding: 18px 0; border-top: 1px solid var(--line); }
.faq-page section h2 { margin-top: 0; }
.insights-hero { padding: 70px 0 76px; color: #fff; background: radial-gradient(circle at 85% 20%, rgba(245,102,74,.28), transparent 32%), linear-gradient(135deg, #071943, #10245a 60%, #16204a); }
.insights-hero .eyebrow { color: #ffab91; }.insights-hero h1 { max-width: 760px; margin: 12px 0 20px; font-size: clamp(42px,7vw,78px); line-height: .95; letter-spacing: -.045em; }.insights-hero p { max-width: 760px; color: #d9e1f4; font-size: 18px; line-height: 1.65; }.insights-hero .insights-updated { margin-top: 22px; color: #ffcab8; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.insights-page { display: grid; gap: 64px; padding-top: 44px; padding-bottom: 72px; }.insights-story { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: -72px; }.insights-story p { margin: 8px 0 0; color: var(--muted); }.status-dot { display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: #d97706; }.status-dot.is-good { background: #16a34a; box-shadow: 0 0 0 5px rgba(22,163,74,.1); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 22px; }.section-heading h2 { margin: 5px 0 0; font-size: clamp(30px,4vw,48px); }.section-heading>p { max-width: 460px; margin: 0; color: var(--muted); line-height: 1.6; }.insights-kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }.insight-kpi,.ranking-tiers>div,.target-clusters>div { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }.insight-kpi strong { display: block; color: var(--navy); font-size: 32px; }.insight-kpi span,.ranking-tiers span,.target-clusters span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }.ranking-tiers { display: grid; grid-template-columns: repeat(5,1fr); gap: 10px; margin: 12px 0 18px; }.ranking-tiers strong,.target-clusters strong { display: block; color: var(--coral-dark); font-size: 24px; }
.insights-table-panel h3 { margin-top: 0; }.table-scroll { max-height: 560px; overflow: auto; }.insights-table { width: 100%; border-collapse: collapse; font-size: 14px; }.insights-table th,.insights-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; }.insights-table th { position: sticky; top: 0; color: var(--navy); background: #fff; }.insights-table td:nth-child(n+3),.insights-table th:nth-child(n+3) { text-align: right; }.data-pending { padding: 24px; border-radius: 14px; background: #fff8ed; }.data-pending p { margin-bottom: 0; color: var(--muted); }
.insights-check-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }.insight-check { display: flex; justify-content: space-between; gap: 15px; padding: 14px 15px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 13px; }.insight-check .pass { color: #15803d; }.insight-check .fail { color: #b91c1c; }.target-clusters { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 16px; }.target-details summary { cursor: pointer; color: var(--navy); font-weight: 800; }.target-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; max-height: 520px; margin-top: 18px; overflow: auto; }.target-list span { padding: 9px 10px; border-radius: 8px; color: #4a5268; background: #f6f7fb; font-size: 12px; }.insights-method { display: grid; grid-template-columns: repeat(3,1fr); gap: 34px; }.insights-method span { color: var(--coral-dark); font-size: 12px; font-weight: 900; letter-spacing: .1em; }.insights-method h3 { margin: 7px 0; }.insights-method p { margin: 0; color: var(--muted); line-height: 1.6; }

@media (max-width: 540px) {
    .free-service-line { border-radius: 12px; font-size: 13px; }
    .saved-job-row { align-items: flex-start; flex-direction: column; }
    .company-profile-logo { width: 120px; height: 80px; }
    .insights-hero { padding: 48px 0 70px; }.insights-hero p { font-size: 16px; }.insights-page { gap: 44px; }.insights-story,.insights-kpis,.ranking-tiers,.insights-check-grid,.target-clusters,.target-list,.insights-method { grid-template-columns: 1fr; }.section-heading { display: block; }.section-heading>p { margin-top: 10px; }.ranking-tiers { grid-template-columns: repeat(2,1fr); }.target-list { max-height: 440px; }.insights-table { min-width: 680px; }
}
