/* ============================================================
   Hire Fable — design system v4 ("calmer, faster, more premium")
   Brand: navy + teal. Type: Manrope (display) + Public Sans (text).
   Self-hosted fonts, token-driven, mobile-first.
   ============================================================ */

/* ---------- Fonts (self-hosted, latin) ---------- */
@font-face{font-family:'Manrope';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/Manrope-700.woff2') format('woff2');}
@font-face{font-family:'Manrope';font-style:normal;font-weight:800;font-display:swap;src:url('../fonts/Manrope-800.woff2') format('woff2');}
@font-face{font-family:'Public Sans';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/PublicSans-400.woff2') format('woff2');}
@font-face{font-family:'Public Sans';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/PublicSans-500.woff2') format('woff2');}
@font-face{font-family:'Public Sans';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/PublicSans-600.woff2') format('woff2');}
@font-face{font-family:'Public Sans';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/PublicSans-700.woff2') format('woff2');}

:root {
    /* Navy scale */
    --navy-950:#04142C; --navy-900:#061A38; --navy-800:#0A2C56; --navy-700:#0C3A66; --navy-600:#0E4A85;
    --navy:#00295C;
    /* Teal scale */
    --teal:#00A79D; --teal-600:#009E9B; --teal-700:#007E7B; --teal-bright:#00C2BE; --cyan:#00E5DF;
    --teal-soft:#E3F7F6; --teal-border:#BEEAE7;
    /* Ink / text */
    --ink:#0F1A2B; --ink-2:#33415C; --body:#4C5C74; --muted:#5B6776; --muted-2:#8593A6; --on-dark:#C9D6E8;
    /* Surfaces & lines */
    --bg:#FFFFFF; --surface:#FAFBFD; --page:#F6F7FB; --page-2:#F4F8FA; --field:#FAFBFD;
    --line:#E7EAF0; --line-2:#EEF1F5; --navy-soft:#EEF2FA;
    /* Semantic */
    --green:#15803D; --green-soft:#EAF7EF; --red:#B42318; --red-soft:#FDEBEA; --amber:#92600A; --amber-soft:#FBF1DD;
    /* Radii */
    --r-sm:10px; --r:14px; --r-lg:16px; --r-xl:20px; --pill:999px;
    /* Shadows */
    --sh-sm:0 1px 2px rgba(6,26,56,.05);
    --sh:0 1px 2px rgba(6,26,56,.06), 0 12px 28px -12px rgba(6,26,56,.14);
    --sh-lg:0 1px 2px rgba(6,26,56,.06), 0 24px 48px -12px rgba(6,26,56,.16);
    --sh-md:0 8px 24px -8px rgba(6,26,56,.12);
    --sh-teal:0 10px 24px -8px rgba(0,167,157,.42);
    /* Type */
    --font-head:'Manrope','Segoe UI',-apple-system,BlinkMacSystemFont,sans-serif;
    --font:'Public Sans','Segoe UI',-apple-system,BlinkMacSystemFont,Roboto,Arial,sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font); color: var(--ink); background: var(--bg);
    line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
::selection { background: var(--teal); color: #fff; }
img, svg { vertical-align: middle; }
a { color: var(--teal-700); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy-900); line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
h1 { text-wrap: balance; }
.num, .stat-tile .num, .hero-stats .stat strong { font-variant-numeric: tabular-nums; }

/* Inline SVG icons */
.hfi { display: inline-block; vertical-align: -0.15em; flex: none; }
.btn .hfi { vertical-align: -0.18em; }
.icon-btn .hfi, .topbar-bell .hfi, .seg .hfi { vertical-align: middle; }
.job-meta span { display: inline-flex; align-items: center; gap: 5px; }
.trust-item .tick { display: inline-flex; align-items: center; color: var(--teal); }
.eyebrow-pill .hfi { color: var(--teal-700); }
.empty-state .ico-badge { width: 60px; height: 60px; border-radius: 50%; background: var(--teal-soft); color: var(--teal-700); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.stars .hfi { color: #F5A623; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; background: var(--navy-900); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; }
.brand-mark .lg-h { fill: var(--navy); }
.brand-mark .lg-f { fill: var(--teal-600); }
.sidebar .brand-mark .lg-h, .site-footer .brand-mark .lg-h { fill: var(--teal-bright); }
.sidebar .brand-mark .lg-f, .site-footer .brand-mark .lg-f { fill: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-name { font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; color: var(--navy-900); letter-spacing: -.02em; }
.brand-tag { font-size: .64rem; color: var(--muted-2); letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }

/* ---------- Header / nav ---------- */
.site-header { background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.nav-row { display: flex; align-items: center; gap: 28px; height: 70px; }
.main-nav { display: flex; gap: 6px; margin-left: auto; }
.main-nav a { color: var(--ink-2); font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.main-nav a:hover { color: var(--navy-900); background: var(--page); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.inline-form { display: inline; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--navy-900); cursor: pointer; line-height: 1; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 20px; border-radius: 11px; font-weight: 700; font-size: .95rem;
    cursor: pointer; border: 1px solid transparent; text-decoration: none !important;
    transition: transform .12s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
    font-family: var(--font); line-height: 1.1;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: var(--sh-teal); }
.btn-primary:hover { background: #00938a; }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-900); }
.btn-outline { background: #fff; color: var(--navy-800); border-color: var(--navy-800); }
.btn-outline:hover { background: var(--navy-soft); }
.btn-ghost { background: transparent; color: var(--navy-900); }
.btn-ghost:hover { background: var(--page); }
.btn-danger { background: #fff; color: var(--red); border-color: #F1C1BD; }
.btn-danger:hover { background: var(--red-soft); }
.btn-sm { padding: 8px 13px; font-size: .85rem; border-radius: 9px; }
.btn-lg { padding: 14px 26px; font-size: 1.02rem; }
.btn-block { display: flex; width: 100%; }
.btn[disabled], .btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--page-2) 0%, #fff 100%); padding: 64px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.eyebrow-pill { display: inline-flex; gap: 6px; align-items: center; background: var(--teal-soft); border: 1px solid var(--teal-border); color: var(--teal-700); font-weight: 700; font-size: .78rem; padding: 6px 13px; border-radius: var(--pill); margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 3rem); line-height: 1.06; letter-spacing: -.025em; margin-bottom: 18px; }
.hero h1 .accent { color: var(--teal); }
.hero p.lead { font-size: 1.05rem; color: var(--body); margin-bottom: 26px; max-width: 33em; line-height: 1.6; }
.role-toggle { display: inline-flex; background: #F0F3F8; border: 1px solid var(--line); border-radius: 12px; padding: 4px; margin-bottom: 22px; }
.role-toggle button { border: 0; background: transparent; color: var(--muted); font-weight: 600; font-size: .9rem; padding: 10px 16px; border-radius: 9px; cursor: pointer; font-family: var(--font); transition: all .15s; }
.role-toggle button.active { background: var(--teal); color: #fff; font-weight: 700; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats .stat strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--navy-900); }
.hero-stats .stat span { color: var(--muted-2); font-size: .82rem; }
.hero-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--sh-lg); padding: 26px; }
.hero-card h3 { font-size: .98rem; margin-bottom: 3px; }
.hero-card .hero-sub { color: var(--muted-2); font-size: .8rem; margin-bottom: 14px; }
.hero-card .hero-line { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.hero-card .hero-line:last-child { border-bottom: 0; }
.hero-line .ico { width: 28px; height: 28px; border-radius: 8px; background: var(--teal-soft); color: var(--teal-700); display: flex; align-items: center; justify-content: center; flex: none; font-weight: 700; font-size: .85rem; }
.hero-line .ht { font-weight: 700; font-size: .86rem; color: var(--ink); }
.hero-line .hs { font-size: .8rem; color: var(--muted-2); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--surface); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .eyebrow, .eyebrow { color: var(--teal-700); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
.section-head h2 { font-size: clamp(1.5rem, 4vw, 1.75rem); margin: 10px 0 10px; }
.section-head p { color: var(--muted); font-size: 1rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
@media (max-width: 860px) { .detail-grid { grid-template-columns: 1fr; } }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card:hover { border-color: var(--teal-border); box-shadow: var(--sh); transform: translateY(-2px); }
.card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: .9rem; line-height: 1.55; }
.card .icon { width: 42px; height: 42px; border-radius: 11px; background: var(--teal-soft); color: var(--teal-700); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; margin-bottom: 14px; font-weight: 700; }
.card.navy-icon .icon { background: var(--navy-soft); color: var(--navy-800); }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-head); font-weight: 800; color: var(--teal); font-size: 1.35rem; margin-bottom: 8px; }
.step h3 { font-size: 1rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .88rem; }

/* CTA band */
.cta-band { background: var(--page-2); border: 1px solid var(--line-2); border-radius: var(--r-xl); padding: 52px 44px; text-align: center; }
.cta-band h2 { font-size: clamp(1.4rem, 4vw, 1.6rem); margin-bottom: 10px; }
.cta-band p { color: var(--muted); margin-bottom: 24px; }
.cta-band.dark { background: linear-gradient(135deg, var(--navy-950), var(--navy-700)); border: 0; }
.cta-band.dark h2 { color: #fff; }
.cta-band.dark p { color: var(--on-dark); }

/* ---------- Job cards ---------- */
.job-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; transition: border-color .15s, box-shadow .15s, transform .15s; text-decoration: none !important; }
.job-card:hover { border-color: var(--teal-border); box-shadow: var(--sh); transform: translateY(-2px); }
.job-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.job-card .company { color: var(--teal-700); font-weight: 600; font-size: .9rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; color: var(--muted-2); font-size: .84rem; }
.job-list { display: flex; flex-direction: column; gap: 14px; }
.job-row { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; display: flex; justify-content: space-between; gap: 18px; align-items: center; transition: border-color .15s, box-shadow .15s; }
.job-row:hover { border-color: var(--teal-border); box-shadow: var(--sh); }
.job-row .jr-actions { display: flex; gap: 10px; align-items: center; flex: none; }
.icon-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--muted-2); font-size: 1rem; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.icon-btn:hover { border-color: var(--teal); color: var(--teal); }
.icon-btn.saved { color: var(--teal); border-color: var(--teal); }

/* Pills / badges */
.pill { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: var(--pill); font-size: .72rem; font-weight: 700; background: var(--navy-soft); color: var(--navy-800); vertical-align: middle; }
.pill-teal { background: var(--teal-soft); color: var(--teal-700); }
.pill-green { background: var(--green-soft); color: var(--green); }
.pill-red { background: var(--red-soft); color: var(--red); }
.pill-amber { background: var(--amber-soft); color: var(--amber); }
.pill-gray { background: var(--line-2); color: var(--muted); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: var(--sh); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; font-size: .82rem; margin-bottom: 6px; color: var(--ink-2); }
.hint { font-weight: 400; color: var(--muted-2); font-size: .78rem; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=url], input[type=tel], input[type=search], input[type=date], select, textarea {
    width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); font-family: var(--font); font-size: .95rem; color: var(--ink); background: var(--field); transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,167,157,.15); background: #fff; }
textarea { resize: vertical; min-height: 110px; }
.field { margin-bottom: 16px; }
.checkbox-row { display: flex; align-items: center; gap: 9px; }
.checkbox-row input { width: auto; }

/* ---------- Alerts ---------- */
.alert { padding: 13px 16px; border-radius: var(--r-sm); margin: 14px 0; font-size: .92rem; border: 1px solid transparent; font-weight: 500; }
.alert-success { background: var(--green-soft); color: var(--green); border-color: #BEE3CC; }
.alert-error { background: var(--red-soft); color: var(--red); border-color: #F1C1BD; }
.alert-info { background: var(--navy-soft); color: var(--navy-800); border-color: #C9D6E8; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
table.data { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 620px; }
table.data th { text-align: left; padding: 12px 16px; background: var(--surface); color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; border-bottom: 1px solid var(--line); }
table.data td { padding: 13px 16px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data tr:hover td { background: var(--surface); }

/* ---------- Pricing ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; align-items: stretch; }
.plan-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; }
.plan-card.featured { border: 2px solid var(--teal); box-shadow: var(--sh-md); position: relative; }
.plan-card.featured::before { content: "Most popular"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--teal); color: #fff; font-size: .68rem; font-weight: 700; padding: 4px 12px; border-radius: var(--pill); letter-spacing: .04em; }
.plan-name { font-family: var(--font-head); font-size: 1.05rem; color: var(--navy-900); font-weight: 800; }
.plan-price { font-family: var(--font-head); font-size: 2.1rem; font-weight: 800; color: var(--navy-900); margin: 8px 0 2px; }
.plan-price .per { font-size: .9rem; color: var(--muted); font-weight: 500; }
.plan-features { list-style: none; margin: 18px 0 22px; flex: 1; }
.plan-features li { padding: 8px 0 8px 26px; position: relative; font-size: .9rem; color: var(--ink-2); border-bottom: 1px dashed var(--line-2); }
.plan-features li:last-child { border-bottom: 0; }
.plan-features li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }

/* ---------- Dashboard shell ---------- */
body.has-sidebar { background: var(--surface); }
.sidebar { position: fixed; inset: 0 auto 0 0; width: 244px; background: var(--navy-950); display: flex; flex-direction: column; padding: 22px 14px; z-index: 90; }
.sidebar .brand-name { color: #fff; }
.sidebar .brand-tag { color: #6E85AA; }
.side-nav { margin-top: 24px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.side-nav a { padding: 10px 12px; border-radius: 9px; color: var(--on-dark); font-weight: 600; font-size: .9rem; text-decoration: none !important; display: flex; align-items: center; gap: 8px; }
.side-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.side-nav a.active { background: var(--teal-bright); color: var(--navy-950); font-weight: 700; }
.side-nav a.active .pill { background: rgba(4,20,44,.18); color: var(--navy-950); }
.side-footer { border-top: 1px solid rgba(255,255,255,.1); padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.side-user { display: flex; flex-direction: column; line-height: 1.3; }
.side-user strong { font-size: .88rem; color: #fff; }
.side-user span { font-size: .74rem; color: #6E85AA; }
.sidebar .btn-ghost { color: var(--on-dark); }
.sidebar .btn-ghost:hover { background: rgba(255,255,255,.08); }

.dash-main { margin-left: 244px; min-height: 100vh; display: flex; flex-direction: column; }
.dash-topbar { background: rgba(255,255,255,.9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); padding: 14px 28px; display: flex; align-items: center; gap: 14px; position: sticky; top: 0; z-index: 40; }
.dash-title { font-family: var(--font-head); font-size: 1.2rem; flex: 1; color: var(--navy-900); }
.topbar-bell { position: relative; font-size: 1.2rem; text-decoration: none !important; padding: 4px 6px; line-height: 1; }
.bell-badge { position: absolute; top: -4px; right: -4px; background: var(--red); color: #fff; font-size: .6rem; font-weight: 700; min-width: 16px; height: 16px; line-height: 16px; text-align: center; border-radius: var(--pill); padding: 0 3px; }
.dash-content { padding: 28px; max-width: 1160px; width: 100%; }

/* Stat tiles */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 22px; }
.stat-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 17px 19px; }
.stat-tile .num { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--navy-900); }
.stat-tile .lbl { color: var(--muted-2); font-size: .82rem; }
.stat-tile.teal .num { color: var(--teal-700); }

/* Panels */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; margin-bottom: 20px; box-shadow: var(--sh-sm); }
.stat-tile { transition: border-color .15s ease, transform .15s ease; }
.stat-tile:hover { border-color: var(--teal-border); transform: translateY(-2px); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.panel-head h2 { font-size: 1.05rem; }
.panel-head .sub { color: var(--muted-2); font-size: .84rem; }

/* Progress */
.progress { background: var(--line-2); height: 8px; border-radius: var(--pill); overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--teal); border-radius: var(--pill); }

/* Next best action banner (dark) */
.nba { background: linear-gradient(120deg, var(--navy-950), var(--navy-700)); border-radius: var(--r-lg); padding: 26px 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 22px; color: #fff; flex-wrap: wrap; }
.nba .kicker { color: var(--cyan); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.nba h2 { color: #fff; font-size: 1.15rem; margin-bottom: 10px; max-width: 30em; }
.nba .progress { background: rgba(255,255,255,.16); width: 260px; max-width: 100%; }
.nba .progress > span { background: var(--cyan); }
.nba .btn { background: var(--teal-bright); color: var(--navy-950); box-shadow: none; }
.nba .btn:hover { background: #00d4cf; }

/* AI banners / blocks */
.ai-banner { background: linear-gradient(120deg, var(--navy-950), var(--navy-700)); color: #fff; border-radius: var(--r-lg); padding: 26px 28px; margin-bottom: 22px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.ai-banner h2 { color: #fff; margin-bottom: 6px; }
.ai-banner p { color: var(--on-dark); max-width: 46em; }
.demo-note { background: var(--amber-soft); color: var(--amber); border: 1px solid #EAD9AE; border-radius: var(--r-sm); padding: 10px 14px; font-size: .86rem; margin-bottom: 16px; }
.insight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.qa-item { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 12px; background: #fff; }
.qa-item .q { font-weight: 700; color: var(--navy-900); }
.qa-item .a { color: var(--muted); font-size: .9rem; margin-top: 6px; }

/* Score ring (conic) */
.score-ring { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--navy-900); background: conic-gradient(var(--teal) calc(var(--pct) * 1%), var(--line-2) 0); position: relative; }
.score-ring::before { content: ""; position: absolute; inset: 6px; background: #fff; border-radius: 50%; }
.score-ring span { position: relative; }

/* Salary range viz */
.salary-card { background: #fff; border: 2px solid var(--teal); border-radius: var(--r); padding: 22px; }
.salary-card .amt { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--navy-900); margin: 4px 0 12px; }
.salary-bar { height: 8px; background: var(--line-2); border-radius: var(--pill); position: relative; }
.salary-bar > span { position: absolute; height: 100%; background: var(--teal); border-radius: var(--pill); }

/* Career path */
.path { border-left: 3px solid var(--teal); margin-left: 8px; padding-left: 22px; }
.path-item { position: relative; padding-bottom: 18px; }
.path-item::before { content: ""; position: absolute; left: -31px; top: 4px; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 3px solid var(--teal); }
.path-item .stage { font-size: .72rem; font-weight: 700; color: var(--teal-700); text-transform: uppercase; letter-spacing: .08em; }
.path-item .role { font-weight: 700; color: var(--navy-900); }
.path-item .focus { color: var(--muted-2); font-size: .88rem; }

/* Hiring funnel (employer) */
.funnel { display: flex; align-items: flex-end; gap: 8px; }
.funnel .col { flex: 1; text-align: center; }
.funnel .bar { height: 68px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; margin: 0 auto; }
.funnel .flabel { color: var(--muted); font-size: .8rem; font-weight: 600; margin-top: 8px; }

/* Kanban pipeline */
.kanban { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kanban-col > .kh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.kanban-col .kh strong { font-size: .86rem; color: var(--navy-900); }
.kanban-col .kh .pill { background: var(--line-2); color: var(--muted); }
.kanban-cards { display: flex; flex-direction: column; gap: 10px; min-height: 40px; }
.kanban-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.kanban-card .kc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 8px; }
.kanban-card .kc-name { font-weight: 700; font-size: .88rem; color: var(--navy-900); }
.kanban-card .kc-meta { color: var(--muted-2); font-size: .78rem; margin-bottom: 10px; }
.k-score { width: 30px; height: 30px; border-radius: 50%; background: conic-gradient(var(--teal) calc(var(--pct)*1%), var(--line-2) 0); display: flex; align-items: center; justify-content: center; flex: none; }
.k-score span { width: 23px; height: 23px; border-radius: 50%; background: #fff; font-size: .58rem; font-weight: 800; color: var(--navy-900); display: flex; align-items: center; justify-content: center; }
.kc-actions { display: flex; gap: 6px; }
.kc-actions .btn { flex: 1; padding: 7px; font-size: .75rem; border-radius: 8px; }

/* Step progress (post a job) */
.stepbar { display: flex; gap: 8px; margin-bottom: 26px; }
.stepbar > span { flex: 1; height: 4px; border-radius: var(--pill); background: var(--line); }
.stepbar > span.on { background: var(--teal); }

/* AI prompt box */
.ai-prompt { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 8px 8px 8px 18px; display: flex; align-items: center; gap: 10px; box-shadow: var(--sh-sm); }
.ai-prompt input { border: 0; background: transparent; flex: 1; padding: 12px 0; }
.ai-prompt input:focus { box-shadow: none; }

/* ---------- Auth ---------- */
.auth-wrap { max-width: 460px; margin: 56px auto; padding: 0 20px; }
.auth-switch { display: flex; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 22px; background: #F0F3F8; padding: 4px; gap: 4px; }
.auth-switch a { flex: 1; text-align: center; padding: 11px; font-weight: 600; color: var(--muted); text-decoration: none !important; border-radius: 9px; }
.auth-switch a.active { background: var(--navy-900); color: #fff; }

/* ---------- Testimonials / trust / FAQ ---------- */
.testimonial { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; height: 100%; }
.testimonial .stars { color: #F5A623; letter-spacing: 2px; margin-bottom: 10px; }
.testimonial p { color: var(--ink-2); font-style: italic; font-size: .96rem; }
.testimonial .who { margin-top: 14px; font-weight: 700; color: var(--navy-900); font-style: normal; }
.testimonial .who span { display: block; color: var(--muted-2); font-weight: 400; font-size: .84rem; }
.trust-bar { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: center; align-items: center; }
.trust-item { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; font-size: .9rem; }
.trust-item .tick { color: var(--teal); font-weight: 800; }
[data-accordion] .acc-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: #fff; overflow: hidden; }
.acc-q { width: 100%; text-align: left; background: none; border: 0; padding: 17px 18px; font-weight: 700; color: var(--navy-900); font-size: 1rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--font); }
.acc-q::after { content: "+"; color: var(--teal); font-size: 1.4rem; flex: none; line-height: 1; }
.acc-item.open .acc-q::after { content: "\2013"; }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; padding: 0 18px; }
.acc-item.open .acc-a { max-height: 460px; padding-bottom: 16px; }
.acc-a p { color: var(--muted); margin: 0; }
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }

/* Toolbar / chips / segmented */
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.toolbar .sort { display: flex; align-items: center; gap: 8px; }
.toolbar .sort select { width: auto; padding: 8px 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--navy-soft); color: var(--navy-800); border-radius: var(--pill); padding: 6px 12px; font-size: .8rem; font-weight: 600; text-decoration: none; }
.chip a { color: var(--navy-800); text-decoration: none; font-weight: 800; line-height: 1; }
.chip-clear { background: var(--red-soft); color: var(--red); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg a { padding: 7px 13px; border: 1px solid var(--line); border-radius: var(--pill); font-size: .84rem; color: var(--navy-800); text-decoration: none; background: #fff; font-weight: 600; }
.seg a.active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

/* Timeline */
.timeline { display: flex; align-items: flex-start; margin: 6px 0; }
.timeline .node { flex: 1; text-align: center; position: relative; font-size: .72rem; color: var(--muted-2); }
.timeline .node::before { content: ""; display: block; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--line); margin: 0 auto 5px; position: relative; z-index: 1; }
.timeline .node:not(:last-child)::after { content: ""; position: absolute; top: 5px; left: 50%; width: 100%; height: 3px; background: var(--line); }
.timeline .node.done::before { background: var(--teal); border-color: var(--teal); }
.timeline .node.done { color: var(--teal-700); font-weight: 700; }
.timeline .node.done:not(:last-child)::after { background: var(--teal); }

/* Empty states */
.empty-state { text-align: center; padding: 44px 20px; }
.empty-state .emoji { font-size: 2.4rem; }
.empty-state h3 { margin: 10px 0 6px; }
.empty-state p { color: var(--muted); max-width: 34em; margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-dark); margin-top: 72px; padding: 52px 0 0; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-tag { color: #6E85AA; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 32px; padding-bottom: 32px; }
.site-footer h4 { color: #fff; font-size: .92rem; margin-bottom: 12px; font-family: var(--font-head); }
.site-footer a { display: block; color: var(--on-dark); padding: 4px 0; font-size: .9rem; }
.site-footer a:hover { color: #fff; }
.footer-note { font-size: .88rem; margin-top: 12px; color: #93A6C4; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 24px; font-size: .82rem; color: #6E85AA; }

/* Pagination */
.pagination { display: flex; gap: 6px; margin-top: 22px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 8px 13px; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: .88rem; color: var(--navy-800); text-decoration: none !important; background: #fff; }
.pagination .current { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

/* Utilities */
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.text-muted { color: var(--muted); }
.text-sm { font-size: .85rem; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.w-100 { width: 100%; }
.stat-row { display: flex; gap: 26px; flex-wrap: wrap; padding: 16px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.stat-row .sr-k { font-size: .74rem; color: var(--muted-2); }
.stat-row .sr-v { font-weight: 700; color: var(--navy-900); font-size: .95rem; }

/* ---------- Accessibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
    outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 5px;
}
@media (prefers-reduced-motion: reduce) { * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; } }

/* ---------- Mobile drawer / off-canvas ---------- */
.drawer-overlay { position: fixed; inset: 0; background: rgba(4,20,44,.5); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
body.drawer-open .drawer-overlay { opacity: 1; pointer-events: auto; }
.mobile-drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(84vw, 330px); background: #fff; z-index: 90; transform: translateX(100%); transition: transform .24s ease; display: flex; flex-direction: column; padding: 16px calc(16px + env(safe-area-inset-right)) 16px 16px; box-shadow: -10px 0 34px rgba(4,20,44,.2); overflow-y: auto; }
body.drawer-open .mobile-drawer { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.drawer-close { background: none; border: 0; font-size: 2rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 4px 10px; }
.drawer-nav { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.drawer-nav a { padding: 15px 6px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 1.02rem; text-decoration: none; }
.drawer-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.drawer-actions .btn { min-height: 46px; }
@media (min-width: 861px) { .mobile-drawer, .drawer-overlay { display: none !important; } }

.bottom-nav { display: none; }
.mobile-apply-bar { display: none; }
.apply-spacer { display: none; }

/* ---------- Breakpoints ---------- */
@media (max-width: 1000px) {
    .hero-grid, .grid-3, .grid-4, .footer-grid, .insight-grid, .steps, .kanban { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
    .main-nav, .nav-actions { display: none; }
    .nav-toggle { display: block; }
    .nav-row .nav-toggle { margin-left: auto; }
    .sidebar { transform: translateX(-100%); transition: transform .22s ease; width: min(84vw, 280px); }
    body.drawer-open .sidebar { transform: translateX(0); box-shadow: 0 0 40px rgba(4,20,44,.35); }
    .dash-main { margin-left: 0; }
}
@media (max-width: 760px) {
    .container { padding: 0 16px; }
    .hero-grid, .grid-2, .grid-3, .grid-4, .form-grid, .footer-grid, .insight-grid, .steps, .plan-grid, .kanban, .funnel { grid-template-columns: 1fr; }
    .funnel { flex-direction: column; align-items: stretch; }
    .funnel .bar { width: 100% !important; }
    .hero { padding: 40px 0 32px; }
    .section { padding: 44px 0; }
    .nav-row { height: 60px; }
    .dash-content { padding: 16px 16px 84px; }
    .cta-band { padding: 30px 20px; }
    .form-card { padding: 22px 18px; }
    .job-row { flex-direction: column; align-items: stretch; }
    .job-row .jr-actions { justify-content: stretch; }
    .job-row .jr-actions .btn { flex: 1; }
    .nba { flex-direction: column; align-items: flex-start; }
    .btn { min-height: 44px; }
    .btn-sm { min-height: 34px; }
    .dash-topbar .btn { display: none; }
    .dash-title { font-size: 1.05rem; }

    .bottom-nav { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff; border-top: 1px solid var(--line); height: 60px; padding-bottom: env(safe-area-inset-bottom); }
    .bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: .64rem; color: var(--muted-2); text-decoration: none; font-weight: 600; }
    .bottom-nav a.active { color: var(--teal-700); }
    .bn-ico { font-size: 1.15rem; line-height: 1; }

    .mobile-apply-bar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; background: #fff; border-top: 1px solid var(--line); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); }
    .mobile-apply-bar .btn { flex: 1; min-height: 46px; }
    .mobile-apply-bar form { flex: 0 0 auto; }
    .apply-spacer { display: block; height: 76px; }
}
@media (min-width: 761px) { .bottom-nav, .mobile-apply-bar { display: none !important; } }
