/* ==========================================================================
   JobHuntrPro — marketing site styles
   Plain CSS, no build step. Tokens live in :root.
   ========================================================================== */

:root {
    --ink: #101820;
    --ink-2: #18232D;
    --ink-line: #2B3742;
    --ink-line-2: #3A4754;
    --paper: #F4F6F1;
    --white: #FFFFFF;
    --line: #DCE0D8;
    --line-2: #C9CEC4;
    --line-soft: #ECEEE9;
    --text-2: #3E4851;
    --text-3: #55606A;
    --on-ink-2: #C9D1D9;
    --on-ink-3: #9AA6B2;
    --accent: #C6F432;
    --warn: #FFB25C;
    --blue: #2F5BFF;
    --blue-soft: #EEF2FF;
    --blue-text: #1E3FCC;
    --orange-soft: #FFF1E3;
    --orange-text: #8A4300;

    --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
    --font-body: 'IBM Plex Sans', system-ui, sans-serif;
    --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

    --container: 1200px;
    --gutter: clamp(16px, 4vw, 48px);
    --section-y: clamp(64px, 9vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--ink); }
a:hover { color: var(--blue); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    background: var(--ink); color: var(--white); padding: 12px 16px; border-radius: 10px;
}
.skip-link:focus { top: 16px; color: var(--white); }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section--white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--ink { background: var(--ink); color: var(--white); }
.section--ink a:not(.btn):hover { color: var(--accent); }

.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
    gap: 56px;
    align-items: center;
}

.stack { display: flex; flex-direction: column; gap: 18px; }

/* ---------- Type ---------- */

.eyebrow {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.02em;
    color: var(--text-3);
    text-transform: uppercase;
}
.section--ink .eyebrow { color: var(--accent); }

.h1, .h2 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 800;
}
.h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1.0; letter-spacing: -0.035em; }
.h2 { font-size: clamp(34px, 4.2vw, 52px); line-height: 1.05; letter-spacing: -0.03em; }
.h3 { margin: 0; font-size: 21px; font-weight: 600; line-height: 1.3; }

.lead { margin: 0; font-size: 19px; color: var(--text-2); max-width: 540px; }
.body-lg { margin: 0; font-size: 18px; color: var(--text-2); }
.section--ink .body-lg, .section--ink .lead { color: var(--on-ink-2); }
.muted { color: var(--text-2); }
.small { font-size: 14px; color: var(--text-3); margin: 0; }

.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 700px; }

/* Keep a section label tight to its heading (about 6px), whatever the parent's gap. */
.section-head > .eyebrow + .h2 { margin-top: -8px; }
.stack > .eyebrow + .h2 { margin-top: -12px; }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 14px 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    font: inherit;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: 16px 28px; font-size: 17px; }
.btn--sm { padding: 10px 16px; font-size: 14px; min-height: 40px; }
.btn--accent { background: var(--accent); color: var(--ink); border-color: var(--ink); }
.btn--accent:hover { color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { color: var(--white); background: #000; }
.btn--white { background: var(--white); color: var(--ink); border-color: var(--line-2); }
.btn--white:hover { color: var(--ink); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { color: var(--ink); background: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header / nav ---------- */

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(244, 246, 241, 0.92);
    backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid var(--line);
}
.nav {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding-top: 14px; padding-bottom: 14px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { flex: none; display: block; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.03em; }
.brand__tld { color: #6A737C; }

.nav__links { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav__links a { text-decoration: none; padding: 10px 0; }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.nav__login { text-decoration: none; font-size: 15px; font-weight: 500; padding: 12px 14px; }

.nav__toggle {
    display: none;
    width: 44px; height: 44px; border-radius: 12px;
    border: 1px solid var(--line-2); background: var(--white); cursor: pointer;
    align-items: center; justify-content: center;
}
.nav__toggle svg { width: 22px; height: 22px; }

/* Links and buttons sit in the bar on wide screens; on phones they drop down over the page. */
.nav__menu { display: contents; }
@media (max-width: 920px) {
    .nav { position: relative; }
    .nav__toggle { display: inline-flex; }
    .nav__menu {
        display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 60;
        padding: 4px 16px 16px; background: var(--paper); border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 40px rgba(16, 24, 32, .12);
        max-height: calc(100dvh - 72px); overflow-y: auto;
    }
    .nav.is-open .nav__menu { display: block; }
    .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
    .nav__links a { padding: 13px 0; border-bottom: 1px solid var(--line); }
    .nav__links a[aria-current="page"] { box-shadow: none; }
    .nav__actions { padding: 12px 0 0; }
    .nav__actions .btn { flex: 1; }
}

/* ---------- Pills / tags ---------- */

.pill {
    align-self: flex-start;
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.04em;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--line-2);
    background: var(--white);
}
.tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid var(--line);
    white-space: nowrap;
}
.tag--accent { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.tag--warn { background: var(--warn); color: var(--ink); border-color: var(--warn); }
.tag--warn-outline { background: transparent; color: var(--warn); border-color: var(--warn); }
.tag--blue { background: var(--blue-soft); color: var(--blue-text); border-color: var(--blue-soft); }
.tag--orange { background: var(--orange-soft); color: var(--orange-text); border-color: var(--orange-soft); }
.tag--grey { background: #F1F2EF; color: var(--text-3); border-color: #F1F2EF; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Cards ---------- */

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 28px;
}
.card--shadow { box-shadow: 0 24px 60px rgba(16, 24, 32, 0.10); }
.card--ink { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* ---------- Hero ---------- */

.hero { padding-top: clamp(48px, 7vw, 96px); padding-bottom: 72px; }
.hero__copy { gap: 28px; }
.hero__note { margin-top: -14px; }
.hero .lead { margin-top: -11px; } /* offsets the heading's tall line box so space above matches space below */

.demo { padding: 0; overflow: hidden; border-radius: 24px; }
.demo__bar {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
    padding: 16px 20px; border-bottom: 1px solid var(--line-soft);
    font-family: var(--font-mono); font-size: 13px; color: var(--text-3);
}
.demo__body { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.demo__label { font-family: var(--font-mono); font-size: 12px; color: #6A737C; }
.demo__before { margin: 4px 0 0; font-size: 16px; color: #6A737C; text-decoration: line-through; }
.demo__ask { display: flex; gap: 12px; align-items: flex-start; }
.demo__avatar {
    flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; background: var(--ink);
    display: inline-flex; align-items: center; justify-content: center;
}
.demo__avatar::after { content: ""; width: 11px; height: 11px; border-radius: 3px; background: var(--accent); }
.bubble { border-radius: 14px; padding: 12px 14px; font-size: 15px; }
.bubble--ai { background: var(--paper); }
.bubble--me { align-self: flex-end; max-width: 85%; background: var(--ink); color: var(--white); }
.demo__after {
    display: flex; flex-direction: column; gap: 6px; padding: 16px;
    border-radius: 14px; border: 1.5px solid var(--ink); background: var(--accent);
}
.demo__after p { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.4; }
.demo__after .demo__label { color: var(--ink); }

/* ---------- Audience strip ---------- */

.strip { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip__inner {
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px;
    padding-top: 22px; padding-bottom: 22px; font-size: 15px; font-weight: 600;
}
.strip__inner .eyebrow { font-weight: 400; }

/* ---------- Steps ---------- */

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 20px;
    margin-top: 48px;
}
.step { display: flex; flex-direction: column; gap: 12px; }
.step__num { font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1; }
.step p { margin: 0; color: var(--text-2); }
.card--ink .step__num { color: var(--accent); }
.card--ink p { color: var(--on-ink-2); }

/* ---------- ATS panel ---------- */

.ats {
    background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 20px;
    padding: 24px; font-size: 15px;
}
.ats__head, .ats__row {
    display: grid; grid-template-columns: 1fr 1.6fr auto; gap: 12px; align-items: center;
    padding: 12px 4px;
}
.ats__head { padding-top: 0; font-family: var(--font-mono); font-size: 12px; color: var(--on-ink-3); }
.ats__row { border-top: 1px solid var(--ink-line); }
.ats__row span:nth-child(2) { color: var(--on-ink-2); }
.ats__fix {
    width: 100%; margin-top: 14px; padding: 14px; border-radius: 12px;
    border: 1px dashed #4A5866; background: transparent; color: var(--white);
    font: inherit; font-weight: 600; cursor: pointer;
}
.ats__fix:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- 6-second view ---------- */

.heat { position: relative; overflow: hidden; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.heat__glow { position: absolute; border-radius: 50%; pointer-events: none; }
.heat__glow--a { left: 10%; top: 4%; width: 70%; height: 30%; background: radial-gradient(closest-side, rgba(47,91,255,.32), rgba(47,91,255,0)); }
.heat__glow--b { left: 4%; top: 36%; width: 60%; height: 22%; background: radial-gradient(closest-side, rgba(255,140,40,.30), rgba(255,140,40,0)); }
.heat__line { position: relative; border-radius: 4px; height: 10px; background: #E3E6E0; }
.heat__line--name { height: 22px; width: 55%; border-radius: 6px; background: var(--ink); }
.heat__line--title { height: 12px; width: 38%; background: #9AA3AC; }
.heat__line--head { height: 14px; background: var(--text-2); }
.heat__line--mid { background: var(--line-2); }
.heat__rule { position: relative; height: 1px; background: var(--line); margin: 8px 0; }
.heat .tag-row { position: relative; margin-top: 14px; }

/* ---------- Feature grid ---------- */

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    margin-top: 48px;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.feature {
    padding: 28px; display: flex; flex-direction: column; gap: 10px;
    border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.feature__num { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }
.feature h3 { margin: 0; font-size: 19px; font-weight: 600; }
.feature p { margin: 0; font-size: 15px; color: var(--text-2); }
.feature--accent { background: var(--accent); }
.feature--accent .feature__num, .feature--accent p { color: var(--ink); }

/* ---------- Portfolio ---------- */

.checklist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 16px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
    content: ""; flex: 0 0 auto; margin-top: 6px; width: 12px; height: 12px;
    border-radius: 3px; border: 1.5px solid var(--ink); background: var(--accent);
}

.browser { padding: 0; overflow: hidden; }
.browser__bar {
    display: flex; align-items: center; gap: 14px; padding: 12px 16px;
    background: var(--line-soft); border-bottom: 1px solid var(--line);
}
.browser__dots { display: flex; gap: 6px; }
.browser__dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.browser__url {
    flex: 1; min-width: 0; padding: 6px 12px; border-radius: 8px; background: var(--white);
    font-family: var(--font-mono); font-size: 13px; color: var(--text-2);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.browser__body { padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.profile { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.profile__avatar {
    width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--accent);
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-weight: 800; font-size: 24px;
}
.profile__name { display: block; font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: -0.02em; line-height: 1.1; }
.profile__role { display: block; color: var(--text-2); font-size: 15px; }
.projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.project { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.project__thumb { height: 84px; background: var(--blue-soft); }
.project__thumb--warm { background: var(--orange-soft); }
.project__meta { padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.project__meta strong { font-size: 15px; }
.project__meta span { font-size: 13px; color: var(--text-3); }

/* ---------- Job board ---------- */

.jobs-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.board {
    margin-top: 44px;
    background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 22px;
    padding: clamp(16px, 2.5vw, 28px);
}
.board__filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 8px; }
.board__search {
    flex: 1 1 260px; min-width: 0; min-height: 48px; padding: 12px 16px;
    font: inherit; font-size: 16px; color: var(--white);
    background: var(--ink); border: 1px solid var(--ink-line-2); border-radius: 12px;
}
.board__search::placeholder { color: var(--on-ink-3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    min-height: 44px; padding: 10px 16px; border-radius: 999px;
    border: 1px solid var(--ink-line-2); background: transparent; color: var(--white);
    font: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--ink); font-weight: 600; }

.job {
    display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px;
    padding: 18px 4px; border-top: 1px solid var(--ink-line);
}
.job[hidden] { display: none; }
.job__info { flex: 1 1 280px; display: flex; flex-direction: column; gap: 4px; }
.job__title { font-size: 18px; font-weight: 600; }
.job__meta { font-size: 14px; color: var(--on-ink-3); }
.job .tag { font-size: 13px; }
.board__note { margin: 0 0 4px; font-size: 14px; color: var(--on-ink-3); }
.board__note--foot { margin: 0; padding-top: 14px; border-top: 1px solid var(--ink-line); }
.board__empty { padding: 24px 4px; border-top: 1px solid var(--ink-line); color: var(--on-ink-2); margin: 0; }

.board-points {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 20px; margin-top: 44px;
}
.board-points h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.board-points p { margin: 0; font-size: 15px; color: var(--on-ink-2); }

/* ---------- Comparison ---------- */

.table-wrap { margin-top: 40px; overflow-x: auto; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 16px; }
.compare th, .compare td { padding: 18px 24px; text-align: left; vertical-align: top; }
.compare thead th { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--text-3); }
.compare tbody tr { border-top: 1px solid var(--line-soft); }
.compare tbody th { font-weight: 600; }
.compare thead th.compare__us { color: var(--ink); }
.compare td.compare__us { font-weight: 500; }
.compare td.compare__them { color: var(--text-3); }

/* ---------- Pricing ---------- */

.plans {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 20px; align-items: stretch; margin-top: 48px;
}
.plan {
    display: flex; flex-direction: column; gap: 20px; padding: 32px;
    border: 1px solid var(--line); border-radius: 22px; background: var(--paper);
}
.plan--featured { background: var(--ink); color: var(--white); border: 2px solid var(--ink); }
.plan__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.plan h3 { margin: 0; font-size: 20px; font-weight: 600; }
.plan__desc { margin: 0; color: var(--text-2); font-size: 15px; }
.plan--featured .plan__desc { color: var(--on-ink-2); }
.plan__price { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 52px; line-height: 1; }
.plan__price small { font-family: var(--font-body); font-weight: 400; font-size: 16px; color: var(--text-2); }
.plan--featured .plan__price small { color: var(--on-ink-2); }
.plan ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.plan .btn { margin-top: auto; width: 100%; }
.badge {
    font-family: var(--font-mono); font-size: 12px; padding: 5px 10px; border-radius: 999px;
    background: var(--accent); color: var(--ink);
}
.pricing-note { margin: 32px 0 0; font-size: 15px; color: var(--text-2); }

/* ---------- FAQ ---------- */

.faq { max-width: 860px; }
.faq__list { margin-top: 32px; border-top: 1px solid var(--line-2); }
.faq details { padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.faq summary {
    cursor: pointer; list-style: none; font-size: 19px; font-weight: 600;
    display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 22px; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--text-2); }

/* ---------- CTA + footer ---------- */

.cta-wrap { padding-bottom: var(--section-y); }
.cta {
    display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px;
    padding: clamp(40px, 6vw, 80px); border-radius: 28px;
    background: var(--accent); border: 1.5px solid var(--ink);
}
.cta .h2 { max-width: 640px; font-size: clamp(36px, 5vw, 64px); line-height: 1.0; letter-spacing: -0.035em; }

.site-footer { border-top: 1px solid var(--line); }
.footer {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px;
    padding-top: 40px; padding-bottom: 40px; font-size: 14px; color: var(--text-2);
}
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__links a { text-decoration: none; padding: 6px 0; }
.footer .brand__name { font-size: 20px; }

/* ---------- Hero: open jobs indicator ---------- */

.live-jobs {
    align-self: flex-start;
    display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 16px; min-height: 44px;
    border-radius: 999px; border: 1px solid var(--line-2); background: var(--white);
    font-size: 15px; text-decoration: none; color: var(--ink);
}
.live-jobs:hover { border-color: var(--ink); color: var(--ink); }
.live-jobs__dot {
    position: relative; flex: none; width: 10px; height: 10px; border-radius: 50%;
    background: #2FB344; box-shadow: 0 0 0 0 rgba(47, 179, 68, .5);
    animation: live-pulse 2s ease-out infinite;
}
.live-jobs__arrow { font-family: var(--font-mono); }
.btn--live { gap: 10px; }
@keyframes live-pulse {
    0% { box-shadow: 0 0 0 0 rgba(47, 179, 68, .5); }
    70% { box-shadow: 0 0 0 8px rgba(47, 179, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(47, 179, 68, 0); }
}

/* ---------- Forms ---------- */

.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field__label { font-size: 15px; font-weight: 600; }
.input {
    width: 100%; min-height: 48px; padding: 12px 14px;
    font: inherit; font-size: 16px; color: var(--ink);
    background: var(--white); border: 1px solid var(--line-2); border-radius: 12px;
}
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(47, 91, 255, .25); }
.input.is-invalid { border-color: #C0362C; }
.field__hint { margin: 0; font-size: 13px; color: var(--text-3); }
.field__error { margin: 0; font-size: 14px; color: #B02A20; }
.password { position: relative; }
.password .input { padding-right: 76px; }
.password__toggle {
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    min-height: 36px; padding: 6px 12px; border: 0; border-radius: 8px;
    background: transparent; font: inherit; font-size: 14px; font-weight: 600; color: var(--text-2); cursor: pointer;
}
.password__toggle:hover { background: var(--line-soft); color: var(--ink); }
.pw-meter { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 4px; }
.pw-meter span { height: 6px; border-radius: 999px; background: var(--line); transition: background-color .2s ease; }
.pw-meter[data-level="1"] span:nth-child(-n+1) { background: #C0362C; }
.pw-meter[data-level="2"] span:nth-child(-n+2) { background: #E08A00; }
.pw-meter[data-level="3"] span:nth-child(-n+3) { background: #7FB800; }
.pw-meter[data-level="4"] span { background: #2E9E3E; }
.pw-errors { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2px; }
.pw-errors[hidden] { display: none; }

.form__alert {
    padding: 12px 14px; border-radius: 12px;
    background: #FDECEA; border: 1px solid #F3C2BC; color: #8E1F16; font-size: 15px;
}
.form__alert[hidden] { display: none; }
.form__alert ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }
.checkbox { display: flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; min-height: 44px; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; }
.btn--block { width: 100%; }
.form__terms { text-align: center; }
.form__terms a { color: var(--text-2); }

.notice {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px;
    padding: 14px 16px; border-radius: 12px;
    background: var(--blue-soft); color: var(--blue-text); font-size: 15px;
}
.notice a { color: var(--blue-text); font-weight: 600; }
.notice--success { background: #E7F7D1; color: #2E5A00; }

/* ---------- Auth pages ---------- */

.auth { min-height: 100vh; display: flex; flex-wrap: wrap; }
.auth__main {
    flex: 1 1 520px; min-width: 0;
    display: flex; flex-direction: column; gap: 32px;
    padding: 28px var(--gutter) 32px;
}
.auth__card { width: 100%; max-width: 440px; margin: auto; display: flex; flex-direction: column; gap: 24px; }
.auth__head { display: flex; flex-direction: column; gap: 6px; }
.auth__head p { margin: 0; }
.auth__title {
    margin: 0; font-family: var(--font-display); font-weight: 800;
    font-size: clamp(32px, 4vw, 40px); letter-spacing: -0.03em; line-height: 1.05;
}
.auth__switch { margin: 0; text-align: center; font-size: 15px; color: var(--text-2); }
.auth__switch a { font-weight: 600; }
.auth__legal { text-align: center; }

.auth__aside {
    flex: 1 1 440px; background: var(--ink); color: var(--white);
    display: flex; align-items: center; padding: 56px clamp(24px, 5vw, 72px);
}
.auth__aside-inner { max-width: 460px; display: flex; flex-direction: column; gap: 28px; }
.auth__aside .eyebrow { color: var(--accent); }
.auth__aside .eyebrow + .auth__quote { margin-top: -22px; } /* label sits 6px above the heading */
.auth__quote {
    margin: 0; font-family: var(--font-display); font-weight: 800;
    font-size: clamp(32px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -0.03em;
}
.auth__demo { background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 18px; padding: 20px; }
.auth__demo .demo__label { color: var(--on-ink-3); }
.auth__before { margin: 4px 0 16px; color: var(--on-ink-3); text-decoration: line-through; }
.auth__after-label { display: inline-block; }
.auth__after {
    margin: 6px 0 0; padding: 14px; border-radius: 12px;
    background: var(--accent); color: var(--ink); font-weight: 600; line-height: 1.4;
}
.auth__points { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; color: var(--on-ink-2); }
.auth__points li { display: flex; gap: 12px; align-items: flex-start; }
.auth__points li::before {
    content: ""; flex: none; margin-top: 7px; width: 10px; height: 10px; border-radius: 3px; background: var(--accent);
}

@media (max-width: 900px) {
    .auth__aside { display: none; }
}

/* ---------- Logged-in app ---------- */

.nav--app { justify-content: space-between; }
.nav__login--button { background: none; border: 0; font: inherit; font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer; }
.nav__login--button:hover { color: var(--blue); }
.nav__actions form { margin: 0; }

/* App shell: sidebar + main (dashboard and future app pages) */
.shell { display: flex; flex-wrap: wrap; min-height: 100vh; }
.sidebar {
    flex: 1 1 248px; max-width: 100%;
    background: var(--ink); color: var(--white);
    padding: 24px 18px; display: flex; flex-direction: column; gap: 28px;
}
.sidebar__brand { display: flex; align-items: center; gap: 10px; padding: 0 8px; text-decoration: none; color: var(--white); }
.sidebar__brand:hover { color: var(--white); }
.sidebar__name { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.03em; }
.sidebar__name span { color: var(--accent); }
.side-nav { display: flex; flex-direction: column; gap: 4px; font-size: 15px; font-weight: 500; }
.side-nav__item {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    min-height: 44px; padding: 10px 12px; border-radius: 10px;
    text-decoration: none; color: #E3E8ED;
}
a.side-nav__item:hover { background: var(--ink-2); color: var(--white); }
.side-nav__item.is-active { background: var(--accent); color: var(--ink); font-weight: 600; }
.side-nav__item.is-active:hover { background: var(--accent); color: var(--ink); }
.side-nav__item.is-soon { color: #8B97A3; cursor: default; }
.side-nav__item small { font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: #8B97A3; }

.plan-card {
    margin-top: auto; padding: 16px; border-radius: 14px;
    background: var(--ink-2); border: 1px solid var(--ink-line);
    display: flex; flex-direction: column; gap: 8px;
}
.plan-card__label { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
.plan-card__title { font-size: 15px; font-weight: 600; }
.plan-card__note { font-size: 13px; color: #B5C0CA; }
.plan-card__button {
    margin-top: 4px; min-height: 44px; display: flex; align-items: center; justify-content: center;
    border-radius: 999px; background: var(--white); color: var(--ink);
    text-decoration: none; font-size: 14px; font-weight: 600;
}
.plan-card__button:hover { color: var(--ink); background: var(--accent); }

.shell__main {
    flex: 999 1 560px; min-width: 0;
    padding: clamp(16px, 3vw, 36px);
    display: flex; flex-direction: column; gap: 24px;
}

/* On wider screens the sidebar stays in place, full height, while the page scrolls. */
@media (min-width: 861px) {
    .shell { flex-wrap: nowrap; }
    .sidebar {
        flex: 0 0 248px; position: sticky; top: 0; align-self: flex-start;
        height: 100vh; height: 100dvh; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
    }
}

/* On small screens the sidebar becomes a compact top bar with a menu button. */
.sidebar__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sidebar__menu { display: flex; flex-direction: column; gap: 28px; flex: 1; }
.sidebar__toggle { display: none; }
@media (max-width: 860px) {
    .sidebar { flex-basis: 100%; position: sticky; top: 0; z-index: 40; padding: 10px 16px; gap: 0; }
    .sidebar__brand { padding: 0; gap: 8px; }
    .sidebar__brand .brand__mark { width: 28px; height: 28px; }
    .sidebar__name { font-size: 18px; }
    .sidebar__toggle {
        display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -6px;
        border: 0; border-radius: 10px; background: transparent; color: var(--white); cursor: pointer;
    }
    .sidebar__toggle:hover, .sidebar__toggle:focus-visible { background: var(--ink-2); }
    .sidebar__icon-close { display: none; }
    .sidebar.is-open .sidebar__icon-open { display: none; }
    .sidebar.is-open .sidebar__icon-close { display: inline; }
    .sidebar__menu {
        display: none; position: absolute; top: 100%; left: 0; right: 0; gap: 16px;
        padding: 8px 16px 16px; background: var(--ink); border-bottom: 1px solid var(--ink-line);
        box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
        max-height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain;
    }
    .sidebar.is-open .sidebar__menu { display: flex; }
    .side-nav__item.is-soon { display: none; }
    .plan-card { margin-top: 0; }
}
.topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.topbar__text { display: flex; flex-direction: column; gap: 2px; }
.topbar__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3vw, 38px); letter-spacing: -0.03em; line-height: 1.1; }
.topbar__sub { margin: 0; color: var(--text-2); font-size: 15px; }
.topbar__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.topbar__actions form { margin: 0; }
.avatar {
    width: 44px; height: 44px; border-radius: 50%; flex: none;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--accent); border: 1.5px solid var(--ink); font-weight: 700; font-size: 14px;
}

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 16px; }
.stat {
    background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 20px;
    display: flex; flex-direction: column; gap: 6px;
}
.stat__label { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }
.stat__value { font-family: var(--font-display); font-weight: 800; font-size: 40px; line-height: 1; }
.stat__sub { font-size: 13px; color: var(--text-2); }
.stat--ink { background: var(--ink); border-color: var(--ink); color: var(--white); }
.stat--ink .stat__label { color: var(--accent); }
.stat--ink .stat__sub { color: var(--on-ink-2); }

.dash-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 20px; align-items: start; }
.dash-col { display: flex; flex-direction: column; gap: 20px; }
.panel {
    background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 22px;
    display: flex; flex-direction: column;
}
.panel__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 10px; }
.panel__title { margin: 0; font-size: 19px; font-weight: 600; }
.panel__meta { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }

.row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.row__main { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.row__title { font-weight: 600; line-height: 1.3; }
.row__meta { font-size: 13px; color: var(--text-3); }
.row--step { flex-wrap: nowrap; align-items: flex-start; }
.step-dot { flex: none; width: 12px; height: 12px; margin-top: 6px; border-radius: 4px; border: 1.5px solid var(--ink); background: var(--accent); }

.empty { padding: 18px 0 4px; border-top: 1px solid var(--line-soft); }
.empty__title { margin: 0 0 4px; font-weight: 600; }
.empty__text { margin: 0; font-size: 14px; color: var(--text-2); }

.pipeline { display: flex; flex-direction: column; gap: 12px; font-size: 14px; padding-top: 6px; }
.pipeline__row { display: grid; grid-template-columns: 84px 1fr 32px; gap: 12px; align-items: center; }
.pipeline__track { height: 12px; border-radius: 999px; background: var(--line-soft); overflow: hidden; }
.pipeline__bar { height: 100%; border-radius: 999px; }
.pipeline__bar--ink { background: var(--ink); }
.pipeline__bar--grey { background: var(--text-2); }
.pipeline__bar--blue { background: var(--blue); }
.pipeline__bar--accent { background: #7FB800; }
.pipeline__count { text-align: right; font-weight: 600; }

.interview-card {
    border-radius: 20px; padding: 22px; background: var(--accent); border: 1.5px solid var(--ink);
    display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
}
.interview-card__text { display: flex; flex-direction: column; gap: 4px; }
.interview-card__label { font-family: var(--font-mono); font-size: 12px; }
.interview-card__title { margin: 2px 0 0; font-size: 20px; font-weight: 600; line-height: 1.25; }
.interview-card__meta { font-size: 14px; }

/* ==========================================================================
   App pages: resumes, job board, applications, interview prep, portfolio, settings
   ========================================================================== */

.tag--tip { background: transparent; color: var(--on-ink-2); border-color: var(--ink-line-2); }
.tag--skills { background: transparent; color: var(--on-ink-2); border-color: var(--ink-line-2); }
.muted { color: var(--text-2); }
.small-inline { font-size: 13px; font-weight: 400; }
.back-link { align-self: flex-start; font-size: 14px; color: var(--text-2); text-decoration: none; margin-bottom: 4px; }
.back-link:hover { color: var(--ink); text-decoration: underline; }
.panel .eyebrow { font-size: 12px; }
.panel > .muted { margin: 0; font-size: 15px; }
.panel { gap: 14px; }
.panel__head { padding-bottom: 0; }
.panel__meta--accent { color: var(--accent); }
.panel__intro { margin: 0; font-size: 14px; color: var(--on-ink-2); }
.panel__link { font-size: 14px; font-weight: 500; }
.panel > .empty:first-child { border-top: 0; padding-top: 0; }
.panel__head + :is(.row, .empty, .proof, .ats-row, .project-item) { margin-top: -4px; }
/* Rows divided by borders sit flush with each other, not the panel's gap. */
.panel > .row + .row, .panel > .proof + .proof, .panel > .app-row + .app-row, .panel > .ats-row + .ats-row,
.panel > .project-item + .project-item, .panel > .feedback__item + .feedback__item, .panel > .row + .empty { margin-top: -14px; }
.panel--ink { background: var(--ink); border-color: var(--ink); color: var(--white); }
.panel--ink .panel__meta { color: var(--on-ink-3); }
.panel--ink .panel__meta--accent { color: var(--accent); }
.panel--danger { border-color: #F3C2BC; }

.row--link { text-decoration: none; color: inherit; border-radius: 10px; }
.row--link:hover { color: inherit; background: var(--paper); box-shadow: -10px 0 0 var(--paper), 10px 0 0 var(--paper); }
.row--link.is-current .row__title { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--accent); }
.row__title--link { text-decoration: none; }
.row__title--link:hover { text-decoration: underline; }
.row__arrow { font-family: var(--font-mono); color: var(--text-3); align-self: center; }
.row__meta--strong { color: var(--ink); font-weight: 600; }
.row__meta a { color: var(--text-2); }
.stat--link { text-decoration: none; color: inherit; transition: border-color .15s; }
.stat--link:hover { color: inherit; border-color: var(--ink); }

.btn--danger { background: #B02A20; color: var(--white); border-color: #B02A20; }
.btn--danger:hover { background: #8E1F16; color: var(--white); }
.btn--ghost-ink { background: transparent; color: var(--white); border-color: var(--ink-line-2); }
.btn--ghost-ink:hover { color: var(--white); border-color: var(--white); }
.btn-row--center { align-items: center; }
.btn-row form { margin: 0; }

.link-button {
    align-self: flex-start; padding: 6px 0; min-height: 32px; border: 0; background: none;
    font: inherit; font-size: 14px; font-weight: 600; color: var(--text-2); cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.link-button:hover { color: var(--ink); }
.link-button--danger { color: #B02A20; }
.link-button--danger:hover { color: #8E1F16; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px 16px; }
.grid-2--tight { grid-template-columns: 1fr 1fr; gap: 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px 16px; }
textarea.input { min-height: 0; resize: vertical; line-height: 1.5; }
select.input { appearance: none; padding-right: 40px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23101820' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; }
.input--compact { min-height: 40px; padding-top: 8px; padding-bottom: 8px; font-size: 15px; width: auto; max-width: 280px; }
.input[readonly] { background: var(--paper); }
.field-label { font-size: 15px; font-weight: 600; }
.field__hint { display: block; }
.inline-form { display: flex; align-items: center; gap: 10px; margin: 0; }
.inline-form .small { white-space: nowrap; }
.fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 8px; }
.fieldset legend { padding: 0; margin-bottom: 8px; font-size: 15px; font-weight: 600; }

/* ---------- Resumes ---------- */

.start-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; align-items: start; }
.start-card { padding: 28px; }
.start-card .panel__title { font-size: 22px; margin-top: -6px; }
.dropzone {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    min-height: 150px; padding: 24px; text-align: center; cursor: pointer;
    border: 1.5px dashed var(--line-2); border-radius: 16px; background: var(--paper); transition: border-color .15s, background .15s;
}
.dropzone:hover, .dropzone:focus-within { border-color: var(--ink); background: var(--white); }
.dropzone.is-invalid { border-color: #C0362C; }
.dropzone.is-dragging { border-color: var(--blue); background: var(--blue-soft); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone__title { font-weight: 600; word-break: break-word; }
.dropzone__hint { font-size: 13px; color: var(--text-3); }

.resume-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.resume-card {
    display: flex; gap: 14px; padding: 14px; text-decoration: none; color: inherit;
    background: var(--white); border: 1px solid var(--line); border-radius: 16px; transition: border-color .15s;
}
.resume-card:hover { color: inherit; border-color: var(--ink); }
.resume-card.is-current { border: 2px solid var(--ink); padding: 13px; box-shadow: 4px 4px 0 var(--accent); }
.resume-card__thumb {
    flex: none; width: 54px; height: 70px; padding: 8px 7px; border-radius: 6px; border: 1px solid var(--line);
    background: var(--white); display: flex; flex-direction: column; gap: 5px;
}
.resume-card__thumb span { height: 4px; border-radius: 2px; background: var(--line); }
.resume-card__thumb span:first-child { width: 70%; height: 6px; background: var(--ink); }
.resume-card__thumb span:nth-child(3) { width: 80%; }
.resume-card__thumb span:last-child { width: 55%; }
.resume-card__body { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.resume-card__title { font-weight: 600; line-height: 1.3; }
.resume-card__meta { font-size: 13px; color: var(--text-3); }
.resume-card .tag { margin-top: 4px; font-size: 11px; padding: 4px 8px; }

.tailored-bar {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
    padding: 18px 22px; border-radius: 18px; background: var(--accent); border: 1.5px solid var(--ink);
}
.tailored-bar .eyebrow { color: var(--ink); font-size: 12px; }
.tailored-bar__title { margin: 2px 0; font-size: 18px; font-weight: 600; }
.tailored-bar .small { color: var(--text-2); }

.workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 20px; align-items: start; }
.workspace__main { min-width: 0; }
.workspace__side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
@media (max-width: 1080px) { .workspace { grid-template-columns: minmax(0, 1fr); } }

.paper-panel { background: var(--white); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; min-width: 0; }
.paper-panel__bar {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
    padding: 16px 20px; border-bottom: 1px solid var(--line);
}
.paper-panel__title { margin: 0; font-size: 18px; font-weight: 600; }
.paper-panel__desk { padding: clamp(12px, 3vw, 32px); background: var(--line-soft); }
.paper {
    max-width: 760px; margin: 0 auto; padding: clamp(20px, 4vw, 48px); background: var(--white); overflow-x: auto;
    box-shadow: 0 10px 30px rgba(16, 24, 32, .08); border-radius: 4px;
}
.cv__weak { background: var(--orange-soft); box-shadow: 0 0 0 3px var(--orange-soft); border-radius: 2px; }
/* Browsers don't have the PDF's font, whose taller lines add space; match that here. */
.paper .cv, .template-card__page .cv { line-height: 1.4; }
.paper .cv__h, .template-card__page .cv__h { margin-bottom: 5px; }
.paper .cv__name, .template-card__page .cv__name { line-height: 1.15; }
.paper .cv__header .cv__headline, .template-card__page .cv__headline { margin-top: 3px; }
.paper .cv__contact, .template-card__page .cv__contact { margin-top: 5px; }
.template-chip { display: inline-flex; align-items: center; gap: 6px; }
.template-chip small { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }

.menu { position: relative; }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu__list {
    position: absolute; right: 0; top: calc(100% + 6px); z-index: 10; min-width: 170px; padding: 6px;
    background: var(--white); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 12px 30px rgba(16, 24, 32, .12);
}
.menu__list form { margin: 0; }
.menu__list button {
    width: 100%; min-height: 40px; padding: 8px 12px; text-align: left; border: 0; border-radius: 8px;
    background: none; font: inherit; font-size: 15px; color: var(--ink); cursor: pointer;
}
.menu__list button:hover { background: var(--paper); }
.menu__list .menu__danger { color: #B02A20; }

.ats-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 10px 0; border-top: 1px solid var(--ink-line); font-size: 15px; }
.ats-row strong { display: block; font-weight: 600; }
.ats-row__detail { display: block; font-size: 13px; color: var(--on-ink-3); }

.proof { display: flex; flex-direction: column; gap: 8px; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.proof__bullet { margin: 0; font-size: 14px; color: var(--text-3); }
.proof__q { font-weight: 600; font-size: 15px; }
.proof__ask { display: flex; gap: 8px; }
.proof__ask .input { min-height: 40px; padding: 8px 12px; font-size: 15px; }
.proof__result { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 12px; background: var(--paper); margin: 0; }
.proof__result[hidden] { display: none; }
.proof__label { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }
.proof[hidden] { display: none; }
.proof-quota { margin: -4px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--paper); font-size: 14px; color: var(--text-2); }
.proof-quota a { font-weight: 600; }

.editor { display: flex; flex-direction: column; gap: 20px; max-width: 920px; }
.editor__section { gap: 16px; }
.editor__actions {
    position: sticky; bottom: 0; z-index: 5; display: flex; justify-content: flex-end; gap: 10px;
    padding: 14px 0; background: linear-gradient(rgba(244, 246, 241, 0), var(--paper) 30%);
}
.photo-hint { margin: -6px 0 0; font-size: 14px; }
.photo-field { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.photo-field__preview { flex: none; width: 96px; height: 120px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.photo-field__preview--empty { display: flex; align-items: center; justify-content: center; background: var(--paper); color: var(--text-3); }
.photo-field__controls { flex: 1 1 260px; display: flex; flex-direction: column; gap: 6px; }
.photo-field .switch-row { border-top: 0; }
.input--file { padding: 9px 12px; min-height: 0; cursor: pointer; }
.repeat { display: flex; flex-direction: column; gap: 14px; }
.repeat__item { margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); display: flex; flex-direction: column; gap: 14px; }
.repeat__item .input { background: var(--white); }

.match-big { margin: 0; font-size: 15px; color: var(--text-2); }
.match-big strong { display: block; font-family: var(--font-display); font-size: 48px; line-height: 1; color: var(--ink); }
.chip-label { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--text-3); margin-bottom: -6px; }
.chips-wrap { display: flex; flex-wrap: wrap; gap: 6px; }
.skill-chip, .info-chip { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 500; border: 1px solid var(--line); }
.skill-chip--have { background: #E7F7D1; border-color: #CDEBA6; color: #2E5A00; }
.skill-chip--have::before { content: "✓"; margin-right: 6px; font-size: 11px; }
.skill-chip--missing { background: var(--orange-soft); border-color: #F7D8B5; color: var(--orange-text); }
.info-chip { background: var(--paper); color: var(--text-2); }

/* ---------- Job board ---------- */

.search-bar { display: flex; flex-wrap: wrap; gap: 10px; }
.search-bar__q { flex: 2 1 260px; width: auto; }
.search-bar__loc { flex: 1 1 180px; width: auto; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -8px; }
.filter-chip {
    display: inline-flex; align-items: center; min-height: 38px; padding: 6px 14px; border-radius: 999px;
    border: 1px solid var(--line-2); background: var(--white); font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink);
}
.filter-chip:hover { border-color: var(--ink); color: var(--ink); }
.filter-chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filter-chip.is-on::before { content: "✓"; margin-right: 6px; color: var(--accent); }

.board-layout { display: grid; grid-template-columns: minmax(280px, 400px) minmax(0, 1fr); gap: 20px; align-items: start; }
.board-layout:has(> :only-child) { grid-template-columns: minmax(0, 720px); }
@media (max-width: 960px) { .board-layout { grid-template-columns: minmax(0, 1fr); } .job-detail.is-chosen { order: -1; } }
.board-root { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.board-root.is-loading .board-results, .board-root.is-loading .job-detail.is-stale { opacity: .55; transition: opacity .15s; }
.job-detail.is-loading { opacity: .55; transition: opacity .15s; }
[data-more].is-loading { opacity: .6; pointer-events: none; }
.board-results { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.job-card {
    display: flex; flex-direction: column; gap: 6px; padding: 16px; text-decoration: none; color: inherit;
    background: var(--white); border: 1px solid var(--line); border-radius: 16px; transition: border-color .15s;
}
.job-card:hover { color: inherit; border-color: var(--ink); }
.job-card.is-current { border: 2px solid var(--ink); padding: 15px; box-shadow: 4px 4px 0 var(--accent); }
.job-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.job-card__title { font-weight: 600; line-height: 1.3; }
.job-card__meta { font-size: 13px; color: var(--text-3); }
.job-card__flags { display: flex; gap: 6px; }
.job-card__flags:not(:has(> :not([hidden]))) { display: none; }
.job-card__flags [hidden] { display: none; }
.job-card .tag { font-size: 11px; padding: 4px 8px; }
.empty-panel { align-items: flex-start; gap: 6px; }
.empty-panel .btn { margin-top: 8px; }

.job-detail { gap: 16px; position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto; }
@media (max-width: 960px) { .job-detail { position: static; max-height: none; } }
.job-detail__title { margin: -8px 0 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.025em; line-height: 1.1; }
.job-detail .notice { margin: 0; }
.job-detail__body { border-top: 1px solid var(--line-soft); padding-top: 16px; font-size: 15px; color: var(--text-2); }
.job-detail__body h3 { margin: 0 0 8px; font-size: 16px; color: var(--ink); }
.job-detail__body p { margin: 0 0 12px; white-space: pre-line; }
.match-box { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 16px; background: var(--paper); }
.match-box__head { display: flex; align-items: center; gap: 16px; }
.match-box__score { font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1; }
.match-box__bar { flex: 1; display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.meter { height: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.meter > div { height: 100%; border-radius: 999px; background: var(--ink); }

/* ---------- Applications ---------- */

.add-panel { padding: 0; gap: 0; display: block; }
.add-panel__summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 600; }
.add-panel__summary::-webkit-details-marker { display: none; }
.add-panel[open] .add-panel__summary { border-bottom: 1px solid var(--line-soft); }
.add-panel__form { padding: 20px 22px 22px; }
.add-panel__summary--locked { cursor: default; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.tab {
    flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px;
    border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--text-2); border: 1px solid transparent;
}
.tab span { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }
.tab:hover { color: var(--ink); border-color: var(--line-2); }
.tab.is-on { background: var(--ink); color: var(--white); }
.tab.is-on span { color: var(--accent); }

.app-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 16px 0; border-top: 1px solid var(--line-soft); }
.app-row:first-child { border-top: 0; padding-top: 0; }
.app-row__main { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.app-row__status { margin: 0; }
.status-select { font-weight: 600; }
.status-select--interview { background-color: var(--blue-soft); border-color: #C9D5FF; color: var(--blue-text); }
.status-select--offer { background-color: #E7F7D1; border-color: #CDEBA6; color: #2E5A00; }
.status-select--rejected { color: var(--text-3); }
.app-row__more { flex-basis: auto; }
.app-row.is-editing { scroll-margin-top: 24px; }
.app-row.is-editing .app-row__panel { box-shadow: 0 0 0 2px var(--ink); }
.app-row__more > summary { list-style: none; }
.app-row__more > summary::-webkit-details-marker { display: none; }
.app-row__more[open] { flex-basis: 100%; order: 10; }
.app-row__more[open] > summary { display: none; }
.app-row__panel { display: flex; flex-direction: column; gap: 16px; padding: 18px; border-radius: 16px; background: var(--paper); }
.app-row__panel .input { background: var(--white); }
.copy-field { display: flex; flex-direction: column; gap: 6px; }
.copy-field .small { color: var(--ink); font-weight: 600; }
.copy-field__row { display: flex; gap: 8px; }
.copy-field__row .input { min-height: 40px; padding: 8px 12px; font-family: var(--font-mono); font-size: 13px; }

/* ---------- Interview prep ---------- */

.interview-banner {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px;
    padding: 22px 24px; border-radius: 20px; background: var(--accent); border: 1.5px solid var(--ink);
}
.interview-banner__title { margin: 4px 0 2px; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.02em; line-height: 1.15; }
.interview-banner__meta { margin: 0; font-size: 15px; }
.interview-banner__stats { display: flex; gap: 10px; flex-wrap: wrap; }
.interview-banner__stats div { display: flex; flex-direction: column; min-width: 96px; padding: 10px 14px; border-radius: 12px; background: var(--ink); color: var(--white); }
.interview-banner__stats strong { font-family: var(--font-display); font-size: 24px; line-height: 1.1; }
.interview-banner__stats span { font-size: 12px; color: var(--on-ink-2); }

.prep-layout { display: grid; grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 960px) { .prep-layout { grid-template-columns: minmax(0, 1fr); } .practice { order: -1; } }
.question-list { gap: 4px; padding: 16px; }
.question-list__group { display: block; padding: 10px 8px 4px; font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }
.question-list__group:first-child { padding-top: 0; }
.question-link {
    display: flex; gap: 10px; align-items: flex-start; padding: 10px 8px; border-radius: 10px;
    font-size: 14px; line-height: 1.4; text-decoration: none; color: var(--text-2);
}
.question-link:hover { background: var(--paper); color: var(--ink); }
.question-link.is-current { background: var(--ink); color: var(--white); }
.question-link__dot { flex: none; width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; border: 1.5px solid var(--line-2); }
.question-link__dot.is-done { background: var(--accent); border-color: var(--ink); }
.question-link.is-current .question-link__dot { border-color: var(--on-ink-3); }
.question-link.is-current .question-link__dot.is-done { border-color: var(--accent); }
.question-list__refresh { margin: 8px 0 0; padding: 8px 8px 0; border-top: 1px solid var(--line-soft); }

.practice { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.practice__card { gap: 14px; padding: clamp(20px, 3vw, 32px); }
.practice__question { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.02em; line-height: 1.2; }
.practice__source { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--paper); font-size: 14px; color: var(--text-2); }
.practice__source .chip-label { margin: 0; }
[data-dictate] { gap: 8px; }
[data-dictate][aria-pressed="true"] { background: #FDECEA; border-color: #C0362C; color: #8E1F16; }
.feedback { gap: 12px; }
.feedback__item { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-top: 1px solid var(--ink-line); font-size: 15px; color: var(--on-ink-2); }
.feedback__item .tag { flex: none; min-width: 52px; text-align: center; }
.feedback .btn-row { margin-top: 6px; }

/* ---------- Portfolio settings ---------- */

.topbar__sub--status { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.status-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.status-dot.is-live { background: #2FB344; box-shadow: 0 0 0 3px rgba(47, 179, 68, .2); }
.portfolio-layout { display: grid; grid-template-columns: minmax(300px, 420px) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 1080px) { .portfolio-layout { grid-template-columns: minmax(0, 1fr); } }
.portfolio-layout__settings { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.affix { display: flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: 12px; background: var(--white); overflow: hidden; }
.affix:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(47, 91, 255, .25); }
.affix__text { display: flex; align-items: center; padding: 0 4px 0 14px; font-family: var(--font-mono); font-size: 13px; color: var(--text-3); background: var(--paper); border-right: 1px solid var(--line); padding-right: 10px; white-space: nowrap; max-width: 55%; overflow: hidden; text-overflow: ellipsis; }
.affix .input { border: 0; border-radius: 0; box-shadow: none; min-width: 0; }
.theme-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.theme-option { position: relative; display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; cursor: pointer; }
.theme-option input { position: absolute; opacity: 0; }
.theme-option__swatch { height: 56px; border-radius: 12px; border: 1px solid var(--line-2); }
.theme-option input:checked + .theme-option__swatch { outline: 2px solid var(--ink); outline-offset: 2px; }
.theme-option input:focus-visible + .theme-option__swatch { outline: 3px solid var(--blue); outline-offset: 2px; }
.theme-option__swatch--paper { background: linear-gradient(135deg, #F4F6F1 60%, #C6F432 60%); }
.theme-option__swatch--ink { background: linear-gradient(135deg, #101820 60%, #C6F432 60%); }
.theme-option__swatch--bold { background: linear-gradient(135deg, #C6F432 60%, #101820 60%); }
.switch-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; font-size: 15px; cursor: pointer; border-top: 1px solid var(--line-soft); }
.switch-row:first-of-type { border-top: 0; }
.switch {
    appearance: none; flex: none; position: relative; width: 44px; height: 26px; margin: 0; border-radius: 999px;
    background: var(--line-2); cursor: pointer; transition: background .15s;
}
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); transition: transform .15s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch:checked { background: var(--ink); }
.switch:checked::after { transform: translateX(18px); background: var(--accent); }
.project-item { border-top: 1px solid var(--line-soft); }
.project-item > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 12px 0; cursor: pointer; }
.project-item > summary::-webkit-details-marker { display: none; }
.project-item > .form { padding: 4px 0 12px; }
.project-item > form:last-child { margin: 0 0 12px; }
.project-item--add > summary .row__title { color: var(--ink); }

.site-preview { position: sticky; top: 20px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--white); min-width: 0; }
@media (max-width: 1080px) { .site-preview { position: static; } }
.site-preview__bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.site-preview__dots { display: flex; gap: 6px; }
.site-preview__dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.site-preview__url { flex: 1; min-width: 0; padding: 6px 12px; border-radius: 999px; background: var(--paper); font-family: var(--font-mono); font-size: 12px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-preview__sizes { display: flex; padding: 3px; border-radius: 999px; background: var(--paper); }
.site-preview__sizes button { min-height: 32px; padding: 4px 12px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 13px; font-weight: 500; color: var(--text-2); cursor: pointer; }
.site-preview__sizes button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.site-preview__stage { display: flex; justify-content: center; background: var(--line-soft); padding: 16px; }
.site-preview__frame { display: block; width: 100%; height: min(78vh, 820px); border: 0; border-radius: 10px; background: var(--white); transition: width .2s ease; box-shadow: 0 8px 24px rgba(16, 24, 32, .08); }
.site-preview__frame.is-phone { width: 390px; max-width: 100%; }
.unsaved-hint { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--orange-soft); color: var(--orange-text); font-size: 14px; }
.unsaved-hint[hidden] { display: none; }

/* ---------- Resume templates ---------- */

.template-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.template-toolbar .filter-chips { margin-top: 0; }
.template-toolbar .filter-chip { cursor: pointer; font: inherit; font-size: 14px; font-weight: 500; }
.template-toolbar__note { max-width: 520px; color: var(--text-2); }
.template-grid { display: grid; grid-template-columns: repeat(auto-fill, 268px); gap: 20px; align-items: start; justify-content: start; }
@media (max-width: 640px) { .template-grid { grid-template-columns: 268px; justify-content: center; } }
.template-card { display: flex; flex-direction: column; gap: 12px; padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.template-card[hidden] { display: none; }
.template-card.is-current { border: 2px solid var(--ink); padding: 13px; box-shadow: 6px 6px 0 var(--accent); }
.template-card form { margin: 0; }
/* A real A4 page (794 px wide) shown at a third of its size. */
.template-card__thumb { width: 238px; height: 337px; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: var(--white); box-shadow: 0 6px 18px rgba(16, 24, 32, .06); }
.template-card__page { width: 794px; min-height: 1123px; padding: 52px 56px; background: var(--white); transform: scale(.2997); transform-origin: top left; pointer-events: none; }
.template-card__info { display: flex; flex-direction: column; gap: 6px; }
.template-card__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.template-card__name { margin: 0; font-size: 17px; font-weight: 600; }
.template-card__current { font-family: var(--font-mono); font-size: 11px; color: var(--text-2); }
.template-card__desc { margin: 0; font-size: 14px; line-height: 1.4; color: var(--text-2); }
.template-tag { font-family: var(--font-mono); font-size: 11px; padding: 3px 7px; border-radius: 6px; }
.template-tag--ats { background: #E7F7D1; color: #2E5A00; }
.template-tag--two { background: var(--orange-soft); color: var(--orange-text); }
.template-tag--country { background: var(--blue-soft); color: var(--blue-text); }

/* ---------- Upgrade prompts ---------- */

.upgrade-panel { gap: 16px; padding: clamp(22px, 3vw, 32px); max-width: 820px; }
.upgrade-panel__title { margin: -8px 0 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.02em; line-height: 1.15; }
.upgrade-panel .checklist { font-size: 15px; gap: 10px; }

/* ---------- Plans ---------- */

.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; align-items: stretch; max-width: 1100px; }
.plan-box { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); }
.plan-box--featured { background: var(--ink); color: var(--white); border-color: var(--ink); }
.plan-box.is-current { box-shadow: 0 0 0 2px var(--ink), 6px 6px 0 var(--accent); }
.plan-box__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.plan-box__name { margin: 0; font-size: 19px; font-weight: 600; }
.plan-box__price { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1; }
.plan-box__price small { font-family: var(--font-body); font-weight: 400; font-size: 15px; color: var(--text-2); }
.plan-box--featured .plan-box__price small, .plan-box--featured .plan-box__desc { color: var(--on-ink-2); }
.plan-box__desc { margin: 0; font-size: 15px; color: var(--text-2); }
.plan-box__list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; flex: 1; }
.plan-box form { margin: 0; }
.btn.is-static { cursor: default; transform: none; }
.dev-panel { max-width: 1100px; border-style: dashed; }
.dev-panel .panel__title { display: flex; align-items: center; gap: 10px; }

/* ---------- Settings ---------- */

.settings-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 20px; align-items: start; max-width: 1100px; }
.settings-grid .panel { gap: 16px; }

@media (prefers-reduced-motion: reduce) {
    .live-jobs__dot { animation: none; }
    html { scroll-behavior: auto; }
    .btn, .faq summary::after { transition: none; }
    .btn:hover { transform: none; }
}

/* ---------- LinkedIn & outreach ---------- */
.outreach-row { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.outreach-row + .outreach-row { margin-top: 0; }
.outreach-row--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); }
@media (max-width: 980px) { .outreach-row, .outreach-row--flip { grid-template-columns: minmax(0, 1fr); } }
.outreach-rewrite, .outreach-compose, .outreach-people { gap: 14px; }
.outreach-people { order: 0; }
.rewrite-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.rewrite-tabs .tab { min-height: 34px; padding: 4px 12px; font-size: 13px; border-color: var(--line-2); background: var(--white); cursor: pointer; font-family: inherit; }
.rewrite-tabs .tab.is-on { border-color: var(--ink); background: var(--ink); color: var(--white); }
.rewrite-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .rewrite-compare { grid-template-columns: 1fr; } }
.rewrite-box { display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.rewrite-box .chip-label { margin: 0; }
.rewrite-box--new { background: #F6FCE6; border-color: #DCEFA9; }
.rewrite-box--new + .rewrite-box--new { margin-top: 10px; }
.rewrite-box__text { margin: 0; font-size: 15px; line-height: 1.5; white-space: pre-line; }
.rewrite-box__text--old { color: var(--text-3); }
.rewrite-box__text--long { font-size: 14px; }
.rewrite-box.is-loading .rewrite-box__text { opacity: .45; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.btn-row .panel__link { margin-left: auto; }
.panel--ink .panel__intro { color: var(--on-ink-3); font-size: 13px; margin: 8px 0 0; }

.person { display: flex; align-items: center; gap: 12px; padding: 10px; margin: 0 -10px; border-radius: 12px; text-decoration: none; color: inherit; }
.person:hover { background: var(--paper); }
.person.is-current { background: var(--paper); box-shadow: inset 3px 0 0 var(--ink); }
.person__avatar { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--accent); font-family: var(--font-mono); font-size: 13px; font-weight: 600; }
.person__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.person__text .row__meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.add-person { border-top: 1px solid var(--line-soft); padding-top: 12px; }
.add-person > summary { list-style: none; cursor: pointer; }
.add-person > summary::-webkit-details-marker { display: none; }
.add-person[open] > summary { margin-bottom: 12px; }

.compose-options { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.compose-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--text-3); }
.compose-count { font-family: var(--font-mono); font-size: 12px; white-space: nowrap; }
.compose-count.is-over { color: #C0362C; font-weight: 600; }
.compose-preview { margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); font-size: 15px; line-height: 1.55; white-space: pre-line; }
.outreach-compose textarea { font-size: 15px; line-height: 1.55; }

.table-scroll { overflow-x: auto; position: relative; }
.outreach-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.outreach-table th { text-align: left; font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--text-3); padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.outreach-table td { padding: 12px 10px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.outreach-table tr:last-child td { border-bottom: 0; }
.outreach-table a { color: inherit; }
.outreach-table__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: flex-end; }
.outreach-table__actions form { margin: 0; }

.profile-import { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 28px; }
@media (max-width: 860px) { .profile-import { grid-template-columns: 1fr; } }
.profile-import__title { margin: 0; font-size: 16px; font-weight: 600; }
.dropzone--small { padding: 18px; min-height: 0; }

/* Free plan: show the page, greyed out, with an upgrade banner on top */
.upgrade-banner {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px;
    padding: 22px 24px; border-radius: 20px; background: var(--accent); color: var(--ink);
}
.upgrade-banner > div { flex: 1 1 420px; }
.upgrade-banner .interview-card__label { color: var(--ink); opacity: .7; }
.upgrade-banner__title { margin: 6px 0 6px; font-size: 22px; line-height: 1.25; font-weight: 700; }
.upgrade-banner__text { margin: 0; font-size: 15px; color: var(--text-2); max-width: 70ch; }
.locked-preview { display: flex; flex-direction: column; gap: 20px; filter: grayscale(1); opacity: .5; pointer-events: none; user-select: none; }
.outreach-compose [hidden], .outreach-rewrite [hidden] { display: none !important; }
.outreach-compose .panel__head { align-items: flex-start; }
.rewrite-box__why { font-size: 13px; line-height: 1.4; color: #8A4300; }
.rewrite-box__why--good { color: #2E5A00; }

/* Plans & payment */
.plan-box.is-highlight { box-shadow: 0 0 0 2px var(--ink), 6px 6px 0 var(--accent); }
.plan-box__note { margin: -4px 0 0; font-size: 13px; color: var(--text-3); }
.plan-box--featured .plan-box__note { color: var(--on-ink-2); }
.plan-box .btn[disabled] { opacity: .55; cursor: not-allowed; }
.plan-manage { max-width: 1100px; gap: 10px; }
.plan-manage form { margin: 0; }

/* Policies */
.legal__grid { display: grid; grid-template-columns: 220px minmax(0, 760px); gap: 48px; align-items: start; }
@media (max-width: 860px) { .legal__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.legal__nav { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 860px) { .legal__nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; } }
.legal__nav a { padding: 8px 12px; border-radius: 10px; color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 500; }
@media (max-width: 860px) { .legal__nav a { border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; } }
.legal__nav a:hover { color: var(--ink); background: var(--white); }
.legal__nav a.is-on { background: var(--ink); color: var(--white); }
.legal__body { font-size: 16px; line-height: 1.65; color: var(--text-2); }
.legal__body .h2 { margin: 8px 0 4px; color: var(--ink); }
.legal__updated { margin: 0 0 24px; font-family: var(--font-mono); font-size: 13px; color: var(--text-3); }
.legal__body h2 { margin: 36px 0 10px; font-size: 21px; line-height: 1.3; color: var(--ink); scroll-margin-top: 90px; }
.legal__body h3 { margin: 22px 0 6px; font-size: 17px; color: var(--ink); }
.legal__body p, .legal__body ul { margin: 0 0 12px; }
.legal__body ul { padding-left: 22px; }
.legal__body li { margin-bottom: 6px; }
.legal__body strong { color: var(--ink); }
.legal__body a { color: var(--blue-text); font-weight: 500; }
.legal__callout { margin: 8px 0 20px; padding: 16px 18px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--ink); }
.legal__callout p:last-child { margin-bottom: 0; }
.legal__toc { margin: 0 0 8px; padding: 14px 18px 14px 36px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); columns: 2; column-gap: 28px; font-size: 15px; }
@media (max-width: 640px) { .legal__toc { columns: 1; } }
.legal__table { width: 100%; border-collapse: collapse; margin: 6px 0 16px; font-size: 15px; background: var(--white); border-radius: 12px; overflow: hidden; }
.legal__table th, .legal__table td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.legal__table th { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--text-3); background: var(--paper); }
.legal__contact { display: grid; gap: 6px; margin: 0 0 16px; padding: 18px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); }
.legal__body h3[id] { scroll-margin-top: 90px; }
.contact-form { margin: 8px 0 12px; padding: 22px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
.contact-form .small { margin: 0; }
.contact-form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-sent { margin-bottom: 8px; }

/* Email confirmation */
.verify-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 16px 18px; border-radius: 16px; background: var(--white); border: 1px solid var(--line-2); }
.verify-banner__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: var(--ink); }
.verify-banner__text { flex: 1 1 320px; min-width: 0; }
.verify-banner__title { margin: 0; font-size: 16px; font-weight: 600; }
.verify-banner__sub { margin: 2px 0 0; font-size: 14px; color: var(--text-2); overflow-wrap: anywhere; }
.verify-banner__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.verify-banner__actions form { margin: 0; }
.verify-banner__link { font-size: 14px; font-weight: 600; }
.verify { display: flex; flex-direction: column; gap: 20px; }
.verify__icon { position: relative; width: 72px; height: 72px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); }
.verify__dot { position: absolute; top: -6px; right: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); border: 3px solid var(--paper); }
.verify .notice { margin: 0; }
.verify__help { border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.verify__h { margin: 0; font-size: 16px; font-weight: 600; }
.verify__help ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--text-2); }
.verify__resend { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 4px 0 0; }
.verify .small { margin: 0; }
button[data-resend-countdown][disabled] { opacity: .6; cursor: not-allowed; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: minmax(0, 1fr); } }
.contact__intro { display: flex; flex-direction: column; gap: 18px; padding-top: 12px; }
.contact__title { margin: 0; }
.contact__intro .body-lg { margin: 0; color: var(--text-2); }
.contact__ways { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.contact__ways li { display: flex; gap: 14px; align-items: flex-start; }
.contact__ways a { font-weight: 600; overflow-wrap: anywhere; }
.contact__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.contact__icon--accent { background: var(--accent); border-color: var(--accent); }
.contact__label { display: block; font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }
.contact__card { padding: clamp(20px, 3vw, 32px); border-radius: 22px; background: var(--white); border: 1px solid var(--line); box-shadow: 6px 6px 0 var(--accent); display: flex; flex-direction: column; gap: 16px; }
.contact__form-title, .contact__sent-title { margin: 0; font-size: 22px; font-weight: 600; }
.contact__sent { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 12px 0; }
.contact__sent .muted { margin: 0; }

/* ---------- Public pages: header state ---------- */
.nav__links a[aria-current="page"] { font-weight: 600; box-shadow: inset 0 -2px 0 var(--ink); }
.btn--outline-light { background: transparent; color: var(--white); border-color: #3A4754; }
.btn--outline-light:hover { color: var(--ink); background: var(--white); }

/* Breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 8px; font-size: 14px; color: var(--text-3); }
.crumbs a { color: var(--text-2); }
.crumbs--dark { color: var(--on-ink-3); }
.crumbs--dark a { color: var(--on-ink-2); }
.crumbs [aria-current] { color: inherit; }

/* ---------- Public job board ---------- */
.pj-hero { background: var(--ink); color: var(--white); }
.pj-hero__inner { padding-top: 48px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 20px; }
.pj-hero__text { display: flex; flex-direction: column; gap: 10px; max-width: 820px; }
.pj-hero__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -0.03em; }
.pj-hero__sub { margin: 0; font-size: 18px; color: var(--on-ink-2); }
.pj-search { display: flex; flex-wrap: wrap; gap: 10px; padding: 12px; border-radius: 18px; background: var(--ink-2); border: 1px solid var(--ink-line); }
.pj-search__input { flex: 1 1 200px; min-width: 0; min-height: 50px; padding: 12px 16px; font: inherit; font-size: 16px; color: var(--white); background: var(--ink); border: 1px solid var(--ink-line-2); border-radius: 12px; }
.pj-search__input--wide { flex: 2 1 260px; }
.pj-search__input::placeholder { color: var(--on-ink-3); }
.pj-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.pj-tabs a { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--ink-line-2); color: var(--white); text-decoration: none; font-size: 14px; font-weight: 500; }
.pj-tabs a:hover { border-color: var(--white); color: var(--white); }
.pj-tabs a.is-on { background: var(--accent); border-color: var(--accent); color: var(--ink); font-weight: 600; }

.pj-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; padding-top: 32px; padding-bottom: 64px; }
.pj-layout--company { grid-template-columns: minmax(0, 1fr) 340px; }
@media (max-width: 900px) { .pj-layout, .pj-layout--company { grid-template-columns: minmax(0, 1fr); } }
.pj-filters { display: flex; flex-direction: column; gap: 20px; padding: 20px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); }
@media (max-width: 900px) { .pj-filters { order: 2; } }
.pj-filter { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pj-filter__title { margin: 0 0 4px; padding: 0; font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--text-3); }
.pj-filter__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.pj-filter__links a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 8px; margin: 0 -8px; border-radius: 8px; text-decoration: none; font-size: 15px; }
.pj-filter__links a:hover { background: var(--paper); }
.pj-filter__links a.is-on { background: var(--ink); color: var(--white); }
.pj-filter__links span { font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }
.pj-filter__links a.is-on span { color: var(--accent); }
.pj-check { display: flex; align-items: center; gap: 10px; min-height: 32px; font-size: 15px; cursor: pointer; }
.pj-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.pj-filters__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.js .pj-filters__apply { display: none; }

.pj-results { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pj-results__title { margin: 0 0 4px; font-size: 20px; font-weight: 600; }
.pj-card { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); transition: border-color .15s; }
.pj-card:hover { border-color: var(--ink); }
.pj-card__logo { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; color: var(--white); font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.pj-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.pj-card__title { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.3; }
.pj-card__title a { text-decoration: none; color: var(--ink); }
.pj-card__title a::after { content: ""; }
.pj-card__title a:hover { text-decoration: underline; }
.pj-card__ext { font-size: 13px; color: var(--text-3); }
.pj-card__meta { font-size: 14px; color: var(--text-2); }
.pj-card__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pj-card__chips span { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: #F1F2EF; color: var(--text-2); }
.pj-card__chips--lg span { font-size: 14px; padding: 6px 12px; }
.pj-card__side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.pj-card__side form { margin: 0; }
.pj-card__time { font-size: 13px; color: var(--text-3); white-space: nowrap; }
.pj-save { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); background: var(--white); color: var(--ink); cursor: pointer; }
.pj-save:hover { border-color: var(--ink); color: var(--ink); }
.pj-save[aria-pressed="true"] { background: var(--accent); border-color: var(--ink); }
.pj-save[aria-pressed="true"] svg { fill: currentColor; }
@media (max-width: 560px) { .pj-card { flex-wrap: wrap; } .pj-card__side { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; } }
.pj-prompt { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; padding: 20px 22px; border-radius: 16px; background: var(--accent); }
.pj-prompt > div { flex: 1 1 340px; display: flex; flex-direction: column; gap: 4px; }
.pj-prompt strong { font-size: 17px; }
.pj-prompt span { font-size: 15px; color: var(--text-2); }
.pj-empty { padding: 28px; border-radius: 16px; background: var(--white); border: 1px dashed var(--line-2); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.pj-empty p { margin: 0; }
.pj-pages { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; margin-top: 12px; }
.pj-pages a { min-width: 44px; height: 44px; padding: 0 12px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); background: var(--white); text-decoration: none; font-weight: 500; }
.pj-pages a.is-on { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pj-pages__wide { font-weight: 600 !important; padding: 0 18px !important; }
.pj-pages__gap { color: var(--text-3); padding: 0 6px; }

.pj-links { background: var(--white); border-top: 1px solid var(--line); }
.pj-links__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-top: 56px; padding-bottom: 56px; }
.pj-links__grid > div { display: flex; flex-direction: column; gap: 9px; }
.pj-links__grid h2 { margin: 0 0 4px; font-size: 17px; font-weight: 600; }
.pj-links__grid a { font-size: 15px; color: var(--text-2); }
.pj-links__grid a:hover { color: var(--ink); }

/* Job page */
.pj-job { padding-top: 24px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 22px; }
.pj-job__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
@media (max-width: 960px) { .pj-job__grid { grid-template-columns: minmax(0, 1fr); } }
.pj-job__main, .pj-job__side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.pj-box { padding: clamp(20px, 3vw, 28px); border-radius: 20px; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.pj-box--soft { background: #F1F2EF; border-color: #F1F2EF; }
.pj-job__head { gap: 18px; }
.pj-job__company { display: flex; gap: 14px; align-items: center; }
.pj-job__company > div { display: flex; flex-direction: column; }
.pj-job__logo { flex: none; width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; color: var(--white); font-family: var(--font-display); font-weight: 800; font-size: 26px; }
.pj-job__company-name { font-weight: 600; }
.pj-job__posted { font-size: 14px; color: var(--text-3); }
.pj-job__title { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.03em; }
.pj-job__actions form { margin: 0; }
.pj-icon-btn { display: inline-flex; align-items: center; gap: 8px; }
.pj-icon-btn[aria-pressed="true"] { background: var(--accent); border-color: var(--ink); }
.pj-match { display: flex; flex-wrap: wrap; gap: 18px 26px; align-items: center; padding: clamp(20px, 3vw, 28px); border-radius: 20px; background: var(--ink); color: var(--white); }
.pj-match__ring { flex: none; width: 96px; height: 96px; border-radius: 50%; border: 8px solid #2B3742; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--accent); }
.pj-match__text { flex: 1 1 300px; display: flex; flex-direction: column; gap: 6px; }
.pj-match__text h2 { margin: 0; font-size: 20px; font-weight: 600; }
.pj-match__text p { margin: 0; font-size: 15px; color: var(--on-ink-2); }
.pj-desc { color: var(--text-2); font-size: 16px; line-height: 1.65; }
.pj-desc h2 { margin: 0 0 4px; font-size: 22px; color: var(--ink); }
.pj-desc p, .pj-desc ul { margin: 0; overflow-wrap: anywhere; }
.pj-desc ul { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.pj-desc__note { margin-top: 8px !important; font-size: 14px; color: var(--text-3); }
.pj-cta { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between; padding: 24px 26px; border-radius: 20px; background: var(--accent); }
.pj-cta > div { flex: 1 1 340px; display: flex; flex-direction: column; gap: 4px; }
.pj-cta strong { font-size: 18px; }
.pj-cta span { font-size: 15px; color: var(--text-2); }
.pj-side__title { margin: 0; font-size: 18px; font-weight: 600; }
.pj-side__text { margin: 0; font-size: 15px; color: var(--text-2); }
.pj-side__link { font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.pj-dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: 15px; }
.pj-dl dt { color: var(--text-3); }
.pj-dl dd { margin: 0; overflow-wrap: anywhere; }
.pj-similar { display: flex; flex-direction: column; padding: 12px 0; border-top: 1px solid var(--line-soft); text-decoration: none; }
.pj-similar strong { font-weight: 600; }
.pj-similar span { font-size: 14px; color: var(--text-3); }
.pj-similar:hover strong { text-decoration: underline; }
.pj-closed { gap: 10px; }
.pj-closed p { margin: 0; }
.pj-companies { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; padding-top: 32px; padding-bottom: 48px; }
.pj-company { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); text-decoration: none; }
.pj-company:hover { border-color: var(--ink); }
.pj-company span { font-size: 14px; color: var(--text-3); }

/* ---------- Feature (landing) pages ---------- */
.lp-hero__inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.lp-hero--ink { background: var(--ink); color: var(--white); }
.lp-hero__text { flex: 1 1 460px; display: flex; flex-direction: column; gap: 20px; }
.lp-pill { align-self: flex-start; font-family: var(--font-mono); font-size: 13px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--white); }
.lp-pill--dark { background: transparent; border-color: #3A4754; color: var(--accent); }
.lp-h1 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 5vw, 62px); line-height: 1.03; letter-spacing: -0.035em; }
.lp-h2 { margin: 0 0 12px; font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.03em; max-width: 780px; }
.lp-lead { margin: 0; font-size: 18px; color: var(--text-2); max-width: 640px; }
.lp-hero--ink .lp-lead { color: var(--on-ink-2); }
.lp-muted-light { color: var(--on-ink-3); }
.lp-section { padding-top: 80px; padding-bottom: 80px; }
.lp-section--white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-card { padding: 24px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.lp-section--white .lp-card { background: var(--paper); }
.lp-card p { margin: 0; color: var(--text-2); }
.lp-card__title { margin: 0; font-size: 20px; font-weight: 600; }
.lp-card--ink { background: var(--ink) !important; color: var(--white); border-color: var(--ink); }
.lp-card--ink p { color: var(--on-ink-2); }
.lp-card--link { text-decoration: none; }
.lp-card--link:hover { border-color: var(--ink); color: var(--ink); }
.lp-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.lp-step { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); font-family: var(--font-mono); font-size: 13px; }
.lp-grid { display: grid; gap: 18px; margin-top: 28px; }
.lp-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.lp-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.lp-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.lp-before-after { flex: 1 1 420px; display: flex; flex-direction: column; gap: 14px; }
.lp-strike { margin: 0; font-size: 18px; color: var(--text-3) !important; text-decoration: line-through; }
.lp-mono-accent { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
.lp-quote { margin: 0; font-size: 15px; }
.lp-after { margin: 0; font-size: 19px; font-weight: 600; background: var(--accent); color: var(--ink) !important; padding: 14px 16px; border-radius: 12px; }
.lp-split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.lp-split__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 12px; }
.lp-ats { flex: 1 1 420px; padding: 24px; border-radius: 22px; background: var(--ink); color: var(--white); font-size: 15px; }
.lp-ats__head, .lp-ats__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; }
.lp-ats__head { padding-top: 0; font-family: var(--font-mono); font-size: 12px; color: var(--on-ink-3); }
.lp-ats__row { border-top: 1px solid var(--ink-line); }
.lp-ats__row span:last-child { color: var(--on-ink-2); text-align: right; }
.lp-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.lp-templates { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 28px; }
.lp-template { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.lp-template .template-card__thumb { border-radius: 12px; }
.lp-template figcaption { display: flex; flex-direction: column; }
.lp-template figcaption span { font-size: 14px; color: var(--text-3); }
.lp-practice { flex: 1 1 440px; gap: 16px; }
.lp-practice__meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }
.lp-practice__q { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.35; color: var(--ink) !important; }
.lp-practice__a { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--paper); font-size: 15px; }
.lp-practice__rows { display: flex; flex-direction: column; gap: 10px; }
.lp-practice__rows div { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; }
.lp-compose { flex: 1 1 440px; gap: 16px; box-shadow: 6px 6px 0 var(--accent); }
.lp-compose__person { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.lp-compose__person > div { display: flex; flex-direction: column; }
.lp-compose__person > div span { font-size: 14px; color: var(--text-3); }
.lp-compose__person .tag { margin-left: auto; }
.lp-compose__tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-compose__tabs span { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); }
.lp-compose__tabs .is-on { background: var(--ink); color: var(--white); border-color: var(--ink); }
.lp-compose__msg { margin: 0; padding: 16px; border-radius: 14px; background: var(--paper); color: var(--ink) !important; }
.lp-compose__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 12px; color: var(--text-3); }
.lp-template-msg__text { width: 100%; box-sizing: border-box; resize: vertical; padding: 14px; border-radius: 12px; border: 0; background: var(--paper); font: inherit; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.lp-faq__inner { max-width: 860px; }
.lp-faq__item { border-top: 1px solid var(--line-2); padding: 18px 0; }
.lp-faq__item:last-child { border-bottom: 1px solid var(--line-2); }
.lp-faq__item summary { cursor: pointer; font-size: 18px; font-weight: 600; }
.lp-faq__item p { margin: 10px 0 0; color: var(--text-2); }
.lp-final { background: var(--ink); color: var(--white); }
.lp-final__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-top: 72px; padding-bottom: 72px; }
.lp-final .lp-h2 { margin: 0; max-width: 640px; }

/* Interview question guides */
.qa-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; padding-top: 40px; padding-bottom: 72px; }
@media (max-width: 960px) { .qa-layout { grid-template-columns: minmax(0, 1fr); } }
.qa-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.qa-item { padding: 20px 22px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); scroll-margin-top: 90px; }
.qa-item__q { margin: 0 0 8px; display: flex; gap: 12px; font-size: 18px; font-weight: 600; line-height: 1.35; }
.qa-item__n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); font-family: var(--font-mono); font-size: 13px; font-weight: 500; }
.qa-item__tip { margin: 0 0 0 42px; color: var(--text-2); font-size: 15px; }
.qa-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 960px) { .qa-side { position: static; } }
.qa-side__link { font-size: 15px; font-weight: 500; }
.lp-ats__row .tag { color: var(--ink) !important; }

/* Portfolio photo picker */
.photo-pick { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.photo-pick__preview { flex: none; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--accent); border: 2px solid var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.photo-pick__preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-pick__actions { flex: 1 1 220px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.photo-pick__actions .btn { cursor: pointer; }
.photo-pick__actions .field__hint { flex-basis: 100%; }
.photo-pick:focus-within .btn { outline: 3px solid rgba(47, 91, 255, .35); outline-offset: 2px; }
/* Phones: a slimmer "Confirm your email" box */
@media (max-width: 640px) {
    .verify-banner { gap: 8px 12px; padding: 12px 14px; border-radius: 14px; }
    .verify-banner__icon { width: 32px; height: 32px; border-radius: 9px; }
    .verify-banner__icon svg { width: 17px; height: 17px; }
    .verify-banner__text { flex: 1 1 0; }
    .verify-banner__title { font-size: 15px; }
    .verify-banner__sub { font-size: 13px; }
    .verify-banner__actions { flex-basis: 100%; gap: 6px 14px; }
    .verify-banner__actions .btn { min-height: 36px; padding: 6px 14px; font-size: 13px; }
    .verify-banner__link { font-size: 13px; }
    .verify-banner__link--help { display: none; }
}

/* Phones: bottom tab bar in the app */
.tabbar { display: none; }
@media (max-width: 860px) {
    .tabbar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
        display: grid; grid-template-columns: repeat(5, 1fr);
        background: var(--ink); border-top: 1px solid var(--ink-line);
        padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    }
    .tabbar__item {
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
        min-height: 52px; border-radius: 12px; text-decoration: none; color: #B5C0CA; font-size: 11px; font-weight: 500;
    }
    .tabbar__item:hover { color: var(--white); }
    .tabbar__item.is-on { color: var(--ink); background: var(--accent); font-weight: 600; }
    .shell__main { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}
/* Pagination that ends a page: room before the footer */
.pj-pages--end { margin-top: 0; padding-bottom: 72px; }
.field__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field__link { font-size: 14px; font-weight: 500; }
/* Phones: a smaller "Matching against" picker on the job board */
@media (max-width: 640px) {
    .match-picker { gap: 6px; flex-wrap: nowrap; max-width: 100%; }
    .match-picker label { font-size: 12px; white-space: nowrap; }
    .match-picker .input--compact { min-height: 34px; padding: 5px 30px 5px 10px; font-size: 13px; max-width: 190px; min-width: 0; border-radius: 10px; text-overflow: ellipsis; }
}
/* Tab bar: room around each tab so the highlighted one never touches its neighbours */
@media (max-width: 860px) {
    .tabbar { column-gap: 4px; padding-left: 8px; padding-right: 8px; }
    .tabbar__item { padding: 0 4px; min-width: 0; font-size: 10.5px; letter-spacing: -0.01em; }
    .tabbar__item span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .tabbar__item.is-on { font-weight: 600; }
}
@media (max-width: 380px) {
    .tabbar { column-gap: 2px; padding-left: 4px; padding-right: 4px; }
    .tabbar__item { padding: 0 2px; font-size: 10px; letter-spacing: -0.02em; }
}
/* Phones: on short pages the wrapped flex lines stretched to fill the screen, making the top bar taller. Keep it at its own height. */
@media (max-width: 860px) {
    .shell { align-content: flex-start; }
}
