/* ── JobHunter design system ────────────────────────────────────
   Premium flat aesthetic: no gradients, no glass. Crisp 1px
   borders, restrained emerald accent, generous whitespace,
   strong type hierarchy. Light default, dark via [data-theme].  */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    color-scheme: light;
    --bg: #fafaf8;
    --surface: #ffffff;
    --surface2: #f2f2ef;
    --border: #e6e5e1;
    --border-strong: #d4d3ce;
    --ink: #191a18;
    --muted: #6d716e;
    --faint: #9b9f9c;
    --accent: #0d7a5c;
    --accent-hover: #0a6249;
    --accent-soft: #e7f2ee;
    --accent-ink: #0a5741;
    --green: #0d7a5c;
    --green-soft: #e7f2ee;
    --amber: #9a6700;
    --amber-soft: #f8efdc;
    --red: #b4231f;
    --red-soft: #f9e9e8;
    --blue: #1f5ecc;
    --blue-soft: #e9effb;
    --shadow: 0 1px 2px rgba(25, 26, 24, 0.05);
    --shadow-lg: 0 10px 30px rgba(25, 26, 24, 0.10);
    --r: 8px;
    --r-lg: 12px;
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --bg: #101211;
    --surface: #171918;
    --surface2: #1f2220;
    --border: #282b29;
    --border-strong: #363a37;
    --ink: #e9eae7;
    --muted: #999e9a;
    --faint: #6c706d;
    --accent: #3cc493;
    --accent-hover: #55d2a5;
    --accent-soft: #16281f;
    --accent-ink: #6adcb1;
    --green: #3cc493;
    --green-soft: #16281f;
    --amber: #e3b341;
    --amber-soft: #2b2416;
    --red: #ef7a72;
    --red-soft: #2e1a18;
    --blue: #6ea8f7;
    --blue-soft: #17202e;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.55);
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        color-scheme: dark;
        --bg: #101211;
        --surface: #171918;
        --surface2: #1f2220;
        --border: #282b29;
        --border-strong: #363a37;
        --ink: #e9eae7;
        --muted: #999e9a;
        --faint: #6c706d;
        --accent: #3cc493;
        --accent-hover: #55d2a5;
        --accent-soft: #16281f;
        --accent-ink: #6adcb1;
        --green: #3cc493;
        --green-soft: #16281f;
        --amber: #e3b341;
        --amber-soft: #2b2416;
        --red: #ef7a72;
        --red-soft: #2e1a18;
        --blue: #6ea8f7;
        --blue-soft: #17202e;
        --shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.55);
    }
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    transition: background 0.2s ease, color 0.2s ease;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; margin: 0 auto; padding: 0 clamp(20px, 4vw, 64px); }
.wrap-narrow { width: 100%; margin: 0 auto; padding: 0 clamp(20px, 4vw, 64px); }

/* ── Type ── */
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.2; }
.eyebrow {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
}
.micro {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--muted);
}
.muted { color: var(--muted); }
.num { font-variant-numeric: tabular-nums; }

/* ── Nav: floating pill bar ── */
.nav {
    position: sticky;
    top: 12px;
    z-index: 100;
    margin: 12px 0 4px;
    padding: 0 clamp(16px, 3vw, 48px);
    background: transparent;
    border-bottom: none;
}
.nav-inner {
    max-width: 1560px;
    margin: 0 auto;
    height: 64px;
    padding: 0 12px 0 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: color-mix(in srgb, var(--surface) 90%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 999px;
    box-shadow: var(--shadow);
}
.brand {
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 26px;
    color: var(--ink);
    letter-spacing: -0.03em;
}
.brand:hover { text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 550;
    color: var(--muted);
    text-decoration: none;
}
.nav-link:hover { color: var(--ink); background: var(--surface2); text-decoration: none; }
.nav-link.active { color: var(--bg); background: var(--ink); font-weight: 650; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-right .btn { border-radius: 999px; }

.credit-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    font-size: 14px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.credit-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    cursor: pointer;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    transition: border-color 0.15s;
}
.theme-toggle:hover { border-color: var(--border-strong); }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: var(--r);
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary { background: var(--accent); color: #fff; }
:root[data-theme="dark"] .btn-primary { color: #08130e; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .btn-primary { color: #08130e; }
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { opacity: 0.88; }
.btn-ghost { background: transparent; border-color: var(--border-strong); color: var(--ink); }
.btn-ghost:hover { background: var(--surface2); }
.btn-danger { background: transparent; border-color: var(--red); color: var(--red); }
.btn-danger:hover { background: var(--red-soft); }
.btn-lg { padding: 12px 26px; font-size: 16px; border-radius: 10px; }
.btn-sm { padding: 5px 12px; font-size: 14px; }
.btn-block { width: 100%; }

/* ── Cards / panels ── */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
}
.card-pad { padding: 24px; }

.panel-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}

/* ── Forms ── */
.field { margin-bottom: 18px; }
.field > label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}
.field .hint { font-size: 13.5px; color: var(--muted); margin-top: 5px; }
.input, .select, .textarea {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    color: var(--ink);
    padding: 9px 12px;
    border-radius: var(--r);
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.input:focus, .select:focus, .textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}
.textarea { resize: vertical; min-height: 80px; }

.seg {
    display: inline-flex;
    border: 1px solid var(--border-strong);
    border-radius: var(--r);
    overflow: hidden;
}
.seg button {
    padding: 8px 16px;
    background: var(--surface);
    color: var(--muted);
    border: none;
    border-right: 1px solid var(--border);
    font-size: 14.5px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}
.seg button:last-child { border-right: none; }
.seg button.on { background: var(--ink); color: var(--bg); }

/* Tag editor */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--r);
    min-height: 44px;
    align-items: center;
    cursor: text;
}
.tags:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.tags .chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--surface2);
    border: 1px solid var(--border);
    padding: 3px 6px 3px 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}
.tags .chip.core { background: var(--accent-soft); border-color: transparent; color: var(--accent-ink); }
.tags .chip button {
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 15px;
    line-height: 1;
    padding: 0 3px;
}
.tags .chip button:hover { color: var(--red); }
.tags input {
    background: transparent;
    border: none;
    color: var(--ink);
    font-size: 14.5px;
    font-family: inherit;
    padding: 4px;
    flex: 1;
    min-width: 110px;
}
.tags input:focus { outline: none; }

/* ── Badges ── */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}
.badge-green { background: var(--green-soft); color: var(--green); }
.badge-amber { background: var(--amber-soft); color: var(--amber); }
.badge-red { background: var(--red-soft); color: var(--red); }
.badge-blue { background: var(--blue-soft); color: var(--blue); }
.badge-plain { background: var(--surface2); color: var(--muted); }

/* ── Job rows ── */
.job-row {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 18px;
    padding: 20px 22px;
    border-bottom: 1px solid var(--border);
    align-items: start;
}
.job-row:last-child { border-bottom: none; }
.job-row.applied { opacity: 0.55; }
.job-score {
    width: 48px;
    height: 48px;
    border-radius: var(--r);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 17px;
    font-variant-numeric: tabular-nums;
}
.job-score.high { background: var(--green-soft); color: var(--green); }
.job-score.mid { background: var(--amber-soft); color: var(--amber); }
.job-score.low { background: var(--surface2); color: var(--muted); }
.job-title { font-size: 16.5px; font-weight: 650; }
.job-sub { font-size: 14.5px; color: var(--muted); margin-top: 1px; }
.job-reasons { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.job-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-wrap: wrap; min-width: 0; }

/* ── Stat tiles ── */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.stat {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 16px 18px;
}
.stat .v { font-size: 28px; font-weight: 750; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* ── Tables ── */
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th {
    text-align: left;
    font-size: 12px;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
}
.table td { padding: 11px 14px; border-bottom: 1px solid var(--border); }
.table tr:last-child td { border-bottom: none; }

/* ── Paywall ── */
.paywall {
    text-align: center;
    padding: 56px 32px;
}
.paywall .lock {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--surface2);
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 18px;
}
.paywall h2 { font-size: 24px; margin-bottom: 8px; }
.paywall p { color: var(--muted); max-width: 420px; margin: 0 auto 22px; }
.price-line { font-size: 16px; margin-bottom: 20px; }
.price-line strong { font-size: 24px; font-variant-numeric: tabular-nums; }

/* ── Toast ── */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--ink);
    color: var(--bg);
    padding: 12px 20px;
    border-radius: var(--r);
    font-size: 14.5px;
    font-weight: 550;
    z-index: 2000;
    box-shadow: var(--shadow-lg);
    animation: toastIn 0.25s ease;
    max-width: 380px;
}
.toast.error { background: var(--red); color: #fff; }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } }

/* ── Auth pages ── */
.auth-wrap {
    min-height: calc(100vh - 61px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}
.auth-card { width: 100%; max-width: 400px; }
.auth-card h1 { font-size: 26px; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.auth-alt { text-align: center; font-size: 15px; color: var(--muted); margin-top: 18px; }

/* ── Landing ── */
.hero { padding: 96px 0 72px; text-align: center; }
.hero h1 {
    font-size: clamp(36px, 6vw, 60px);
    font-weight: 800;
    letter-spacing: -0.035em;
    max-width: 780px;
    margin: 16px auto 0;
}
.hero h1 .accent { color: var(--accent); }
.hero .sub {
    font-size: 19px;
    color: var(--muted);
    max-width: 560px;
    margin: 20px auto 32px;
    line-height: 1.65;
}
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 14px; color: var(--faint); }

.band { border-top: 1px solid var(--border); padding: 72px 0; }
.band h2 { font-size: 30px; letter-spacing: -0.025em; margin-bottom: 10px; }
.band .lead { color: var(--muted); max-width: 560px; margin-bottom: 40px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.step {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 24px;
}
.step .n {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--ink);
    color: var(--bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
}
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--muted); }

.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px 32px; }
.feature {
    display: flex;
    gap: 12px;
    padding: 14px 0;
    font-size: 15.5px;
}
.feature .tick {
    color: var(--accent);
    font-weight: 800;
    flex-shrink: 0;
}
.feature b { display: block; margin-bottom: 2px; }
.feature span { color: var(--muted); font-size: 14.5px; }

.pricing-card {
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
    padding: 36px 32px;
}
.pricing-card .amount {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    margin: 12px 0 2px;
}
.pricing-card .per { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.pricing-card ul { list-style: none; text-align: left; margin-bottom: 26px; }
.pricing-card li { padding: 7px 0; font-size: 15.5px; display: flex; gap: 10px; }
.pricing-card li::before { content: "✓"; color: var(--accent); font-weight: 800; }

.footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
    font-size: 14.5px;
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

/* Mock window on landing hero */
.mock {
    max-width: 720px;
    margin: 56px auto 0;
    text-align: left;
    overflow: hidden;
}
.mock-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.mock .job-row { padding: 16px 20px; }

/* ── Page scaffolding ── */
.page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin: 36px 0 22px;
}
.page-head h1 { font-size: 26px; }
.page-head .sub { color: var(--muted); font-size: 15px; margin-top: 4px; }

.empty {
    text-align: center;
    padding: 56px 24px;
    color: var(--muted);
}
.empty h3 { color: var(--ink); font-size: 17px; margin-bottom: 6px; }

.spinner {
    width: 18px; height: 18px;
    border: 2px solid var(--border-strong);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    display: inline-block;
    vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 720px) {
    .nav-links { display: none; }
    .job-row { grid-template-columns: 44px 1fr; }
    .job-actions { grid-column: 1 / -1; flex-direction: row; align-items: center; }
    .hero { padding: 64px 0 48px; }
}

/* ═══ Landing page (premium) ═══════════════════════════════════ */

.nav-landing { background: transparent; }

.pill-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--muted);
    box-shadow: var(--shadow);
}
.pill-eyebrow .pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.hero-x {
    padding: 92px 0 0;
    position: relative;
    overflow: hidden;
}
/* Dawn motif: concentric rings rising from a soft sun disc below the fold */
.hero-x::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 18%;
    width: 1900px;
    height: 1900px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: repeating-radial-gradient(circle,
        transparent 0 118px, var(--border) 118px 119.5px);
    -webkit-mask-image: radial-gradient(circle, black 26%, transparent 62%);
    mask-image: radial-gradient(circle, black 26%, transparent 62%);
    pointer-events: none;
}
.hero-x::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 30%;
    width: 560px;
    height: 560px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: var(--accent-soft);
    filter: blur(2px);
    opacity: 0.8;
    pointer-events: none;
}
.hero-x .wrap { position: relative; z-index: 1; }
.hero-inner { text-align: center; }
.hero-x h1 {
    font-size: clamp(40px, 6.6vw, 70px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin: 22px auto 0;
    max-width: 820px;
}
.hero-x .sub {
    font-size: 20px;
    color: var(--muted);
    max-width: 600px;
    margin: 22px auto 34px;
    line-height: 1.65;
}
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--faint); }

/* Product mock */
.mock-x {
    max-width: 780px;
    margin: 64px auto 0;
    text-align: left;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border-color: var(--border-strong);
}
.mock-chrome {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 16px;
    border-bottom: 1px solid var(--border);
    background: var(--surface2);
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.mock-url {
    flex: 1;
    max-width: 260px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 3px 12px;
    font-size: 13px;
    color: var(--muted);
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.mock-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 22px 12px;
}
.mock-title { font-size: 18px; font-weight: 750; letter-spacing: -0.01em; }
.mock-sub { font-size: 14px; color: var(--muted); }
.mock-fade { opacity: 0.55; -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 96%); mask-image: linear-gradient(to bottom, black 30%, transparent 96%); }

/* Source strip */
.source-strip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 44px 0 56px;
}
.source-marks { display: flex; gap: 34px; flex-wrap: wrap; justify-content: center; }
.source-marks span {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--faint);
}

/* Stats band */
.stats-band { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.stat-x { padding: 30px 24px; border-right: 1px solid var(--border); }
.stat-x:last-child { border-right: none; }
.stat-x .v { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; }
.stat-x .k { font-size: 14px; color: var(--muted); margin-top: 2px; }

/* Bands */
.band { padding: 88px 0; border-top: 1px solid var(--border); }
.band-head { margin-bottom: 44px; }
.band-head h2 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 800; letter-spacing: -0.03em; margin-top: 10px; line-height: 1.15; }
.band-head .lead { color: var(--muted); max-width: 560px; margin-top: 12px; font-size: 17px; }

/* Steps with connector */
.steps-x { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.step-x { position: relative; padding-top: 6px; }
.step-x .step-line {
    position: absolute;
    top: 24px; left: 48px; right: -28px;
    border-top: 1px dashed var(--border-strong);
}
.step-x:last-child .step-line { display: none; }
.step-x .n {
    position: relative;
    z-index: 1;
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--ink);
    color: var(--bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 750;
    margin-bottom: 18px;
}
.step-x h3 { font-size: 18px; margin-bottom: 8px; letter-spacing: -0.01em; }
.step-x p { font-size: 15.5px; color: var(--muted); max-width: 300px; }

/* Comparison table */
.compare { overflow: hidden; }
.compare-table th, .compare-table td { padding: 16px 22px; }
.compare-table th.hl, .compare-table td.hl {
    background: var(--accent-soft);
    color: var(--accent-ink);
    font-weight: 600;
}
.compare-table td:first-child { font-weight: 650; width: 190px; }
.compare-table em { font-style: normal; border-bottom: 2px solid var(--accent); }

/* Feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.feature-card { padding: 24px; transition: border-color 0.2s, transform 0.2s; }
.feature-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.feature-card .f-ico {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--accent-soft);
    color: var(--accent-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 14px;
}
.feature-card b { display: block; font-size: 16.5px; margin-bottom: 5px; letter-spacing: -0.01em; }
.feature-card span { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* Pricing */
.pricing-x {
    max-width: 460px;
    margin: 0 auto;
    padding: 34px 34px 30px;
    border-top: 3px solid var(--accent);
}
.pricing-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.pricing-x .amount {
    font-size: 54px;
    font-weight: 800;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}
.pricing-x .per { font-size: 17px; font-weight: 550; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.pricing-sub { color: var(--muted); font-size: 15px; margin: 12px 0 20px; line-height: 1.6; }
.pricing-x ul { list-style: none; margin-bottom: 26px; border-top: 1px solid var(--border); padding-top: 18px; }
.pricing-x li { padding: 7px 0; font-size: 15.5px; display: flex; gap: 12px; }
.pricing-x li::before { content: "✓"; color: var(--accent); font-weight: 800; }
.pricing-note { text-align: center; font-size: 13.5px; color: var(--faint); margin-top: 14px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--border); padding: 4px 0; }
.faq summary {
    cursor: pointer;
    font-size: 16.5px;
    font-weight: 650;
    padding: 16px 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 21px; font-weight: 400; color: var(--muted); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); font-size: 15.5px; padding: 0 0 18px; max-width: 640px; line-height: 1.7; }

/* Final CTA — inverted panel */
.cta-band { padding: 40px 0 96px; }
.cta-inner {
    background: var(--ink);
    color: var(--bg);
    border-radius: 20px;
    text-align: center;
    padding: 72px 32px;
}
.cta-inner h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.cta-inner p { opacity: 0.65; margin: 14px 0 30px; font-size: 17px; }
.btn-cta { background: var(--bg); color: var(--ink); border: none; }
.btn-cta:hover { opacity: 0.9; }

/* Footer */
.footer-x {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding: 40px 0 24px;
    border-top: 1px solid var(--border);
}
.footer-brand { max-width: 300px; }
.footer-brand p { font-size: 14.5px; color: var(--muted); margin-top: 12px; line-height: 1.6; }
.footer-cols { display: flex; gap: 64px; }
.footer-cols .micro { margin-bottom: 12px; }
.footer-cols a { display: block; color: var(--muted); font-size: 15px; padding: 4px 0; }
.footer-cols a:hover { color: var(--ink); text-decoration: none; }
.footer-base { padding: 20px 0 36px; font-size: 13.5px; color: var(--faint); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 720px) {
    .hero-x { padding-top: 56px; }
    .stat-x { border-right: none; border-bottom: 1px solid var(--border); }
    .stat-x:last-child { border-bottom: none; }
    .step-x .step-line { display: none; }
    .band { padding: 64px 0; }
}

/* ── Role strip (multi-role profiles) ── */
.role-strip { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.role-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    color: var(--muted);
    font-size: 14.5px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
}
.role-pill:hover { border-color: var(--accent); color: var(--ink); }
.role-pill.sel { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.role-pill.new { border-style: dashed; background: transparent; }
.role-pill.new.sel {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}
.role-pill .role-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.role-pill.sel .role-dot { background: var(--accent); }
.role-foot { display: flex; gap: 10px; align-items: center; margin: 16px 0 8px; }


/* ── End-to-end width refinements ── */
@media (min-width: 1100px) {
    .card-pad { padding: 32px 36px; }
    .wrap-narrow .card-pad {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 44px;
        align-items: start;
    }
    .wrap-narrow .card-pad > .field { margin-bottom: 22px; }
}
.mock-x { max-width: 860px; }
.pricing-x { max-width: 480px; }
.faq, .band-head .lead { max-width: 760px; }

/* ── Max-width refinements ── */
.wrap, .nav-inner { max-width: 1720px; }
.wrap-narrow { max-width: 1240px; }

/* Split hero on large screens: copy left, product mock right */
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1200px) {
    .hero-x { padding-top: 72px; }
    .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; }
    .hero-inner { text-align: left; }
    .hero-x h1 { margin-left: 0; max-width: none; font-size: clamp(40px, 3.8vw, 64px); }
    .hero-x .sub { margin-left: 0; margin-right: 0; max-width: 540px; }
    .hero-ctas { justify-content: flex-start; }
    .mock-x { margin: 0; max-width: none; }
}

/* Today page: two-column card grid on wide screens */
@media (min-width: 1280px) {
    #content.card.job-grid {
        background: transparent;
        border: none;
        box-shadow: none;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        align-items: start;
    }
    #content.card.job-grid .job-row {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--r-lg);
        box-shadow: var(--shadow);
    }
    #content.card.job-grid .job-row:hover { border-color: var(--border-strong); }
}

/* Admin: stats + sources side by side on wide screens */
@media (min-width: 1280px) {
    .admin-cols { display: grid; grid-template-columns: 2fr 1fr; gap: 22px; align-items: start; }
    .admin-cols .stat-grid { margin-bottom: 0 !important; }
}

/* ── Mobile menu ── */
.nav-burger {
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 999px;
    width: 38px;
    height: 38px;
    font-size: 16px;
    color: var(--ink);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
@media (max-width: 720px) {
    .nav-burger { display: inline-flex; }
    .nav-links { display: none; }
    .nav-inner.menu-open { border-radius: 24px; }
    .nav-inner.menu-open .nav-links {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 74px;
        left: clamp(16px, 3vw, 48px);
        right: clamp(16px, 3vw, 48px);
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 16px;
        box-shadow: var(--shadow-lg);
        padding: 10px;
        gap: 2px;
        z-index: 120;
    }
    .nav-inner { position: relative; }
}

/* ── Day selector chips ── */
.day-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.day-bar:empty { display: none; }
.day-chip {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    color: var(--muted);
    font-size: 13.5px;
    font-weight: 600;
    font-family: inherit;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
}
.day-chip:hover { border-color: var(--accent); color: var(--ink); }
.day-chip.sel { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ── Job detail modal ── */
.modal-ov {
    position: fixed;
    inset: 0;
    background: rgba(10, 12, 11, 0.5);
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 16px 24px;
    overflow-y: auto;
}
.modal-box {
    width: 100%;
    max-width: 760px;
    padding: 24px 26px;
    animation: modalIn 0.18s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(10px); } }
.modal-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.modal-desc {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 18px;
    font-size: 14.5px;
    line-height: 1.7;
    max-height: 46vh;
    overflow-y: auto;
    white-space: pre-line;
}
.modal-foot { display: flex; justify-content: flex-end; margin-top: 16px; }

/* ── Pass rows (billing) ── */
.pass-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
}
.pass-row:last-child { border-bottom: none; }

/* ── Landing pricing tiers ── */
.tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 18px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}
.tier { padding: 28px 26px; position: relative; display: flex; flex-direction: column; }
.tier.featured { border-color: var(--accent); border-width: 2px; }
.tier-flag {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 14px;
    border-radius: 999px;
    letter-spacing: 0.03em;
    white-space: nowrap;
}
:root[data-theme="dark"] .tier-flag { color: #08130e; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .tier-flag { color: #08130e; }
}
.tier .amount { font-size: 38px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin: 10px 0 2px; }
.tier .per { font-size: 15px; font-weight: 550; color: var(--muted); margin-left: 4px; }
.tier-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.tier ul { list-style: none; margin: 0 0 22px; flex: 1; }
.tier li { padding: 6px 0; font-size: 14.5px; display: flex; gap: 10px; }
.tier li::before { content: "✓"; color: var(--accent); font-weight: 800; }

/* ── Legal pages ── */
.legal { padding: 48px 24px 72px; max-width: 820px; }
.legal h1 { font-size: 32px; margin-bottom: 6px; }
.legal h2 { font-size: 19px; margin: 28px 0 8px; }
.legal p { color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.legal p b { color: var(--ink); }

/* ── Split auth pages ── */
.auth-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 24px;
    padding: 24px clamp(16px, 3vw, 48px) 48px;
    max-width: 1400px;
    margin: 0 auto;
    min-height: calc(100vh - 110px);
}
.auth-side {
    background: var(--ink);
    color: var(--bg);
    border-radius: 20px;
    display: flex;
}
.auth-side-inner {
    padding: clamp(32px, 5vw, 64px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
}
.auth-side-brand { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; opacity: 0.7; }
.auth-side h2 { font-size: clamp(26px, 2.6vw, 38px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; }
.auth-points { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.auth-points li { display: flex; gap: 12px; font-size: 16px; opacity: 0.85; }
.auth-points li::before { content: "✓"; color: var(--accent); font-weight: 800; }
.auth-side-foot { font-size: 14px; opacity: 0.5; margin-top: 10px; }

.auth-main { display: flex; align-items: center; justify-content: center; }
.auth-main .auth-card { width: 100%; max-width: 440px; }
.auth-main .auth-card h1 { font-size: 30px; margin-bottom: 6px; letter-spacing: -0.03em; }
.input-lg { padding: 13px 16px; font-size: 16px; border-radius: 10px; }
.auth-legal { font-size: 12.5px; color: var(--faint); margin-top: 14px; text-align: center; line-height: 1.6; }

@media (max-width: 900px) {
    .auth-split { grid-template-columns: 1fr; min-height: 0; }
    .auth-side { display: none; }
    .auth-main { padding-top: 24px; }
}

/* ── Landing animations ── */

/* Staggered rise-in on first paint */
@keyframes riseIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.rise { opacity: 0; animation: riseIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.r1 { animation-delay: 0.05s; }
.r2 { animation-delay: 0.16s; }
.r3 { animation-delay: 0.28s; }

/* Mock rows cascade in after the window lands */
.mock-row { opacity: 0; animation: riseIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.mock-row:nth-of-type(1) { animation-delay: 0.55s; }
.mock-row:nth-of-type(2) { animation-delay: 0.7s; }
.mock-row:nth-of-type(3) { animation-delay: 0.85s; }

/* Dawn rings breathe; sun disc drifts */
@keyframes ringBreathe { 0%, 100% { transform: translateX(-50%) scale(1); } 50% { transform: translateX(-50%) scale(1.035); } }
@keyframes sunDrift { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-14px); } }
.hero-x::before { animation: ringBreathe 9s ease-in-out infinite; }
.hero-x::after { animation: sunDrift 7s ease-in-out infinite; }

/* Source marquee */
.marquee {
    overflow: hidden;
    max-width: 720px;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
    mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}
.marquee-track {
    display: flex;
    gap: 44px;
    width: max-content;
    animation: marquee 26s linear infinite;
}
.marquee-track span {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--faint);
    white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* Card hover lift on tiers + steps */
.tier, .step { transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.tier:hover, .step:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.tier.featured:hover { border-color: var(--accent); }

/* CTA button pulse-glow (subtle, ink panel only) */
@keyframes ctaPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.0); } 50% { box-shadow: 0 0 0 8px rgba(255,255,255,0.06); } }
.cta-inner .btn-cta { animation: ctaPulse 3.2s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
    .rise, .mock-row { opacity: 1; animation: none; }
    .hero-x::before, .hero-x::after, .marquee-track, .cta-inner .btn-cta { animation: none; }
    .tier:hover, .step:hover { transform: none; }
}

/* ── Admin dashboard ── */
.admin-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 22px;
    align-items: start;
}
@media (max-width: 900px) { .admin-two { grid-template-columns: 1fr; } }
.card-head {
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 700;
    border-bottom: 1px solid var(--border);
}
.stat .v.accent { color: var(--accent); }
.chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 150px;
    margin-top: 14px;
}
.bar-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    min-width: 0;
    gap: 6px;
}
.bar {
    width: 100%;
    max-width: 34px;
    background: var(--accent);
    border-radius: 5px 5px 2px 2px;
    transition: height 0.4s ease;
}
.bar-ink { background: var(--ink); }
.bar-col:hover .bar { opacity: 0.75; }
.bar-label {
    font-size: 10.5px;
    color: var(--faint);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    overflow: hidden;
    max-width: 100%;
}
.bar-col:nth-child(even) .bar-label { visibility: hidden; }

/* ── User insights panel ── */
.insights { margin-bottom: 48px; }
.insight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}
.stat-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.insight-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
}
@media (max-width: 900px) { .insight-two { grid-template-columns: 1fr; } }
.demand-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.demand-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface2);
    font-size: 13.5px;
}
.demand-chip b { font-weight: 650; }
.demand-chip .num {
    background: var(--accent-soft);
    color: var(--accent-ink);
    border-radius: 999px;
    padding: 1px 9px;
    font-size: 12px;
    font-weight: 700;
}
.co-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14.5px;
    font-weight: 550;
}
.co-row:last-child { border-bottom: none; }

/* ── Mini action buttons (save / vote) ── */
.row-mini { display: flex; gap: 4px; }
.mini-btn {
    width: 30px;
    height: 28px;
    border-radius: 7px;
    border: 1px solid var(--border);
    background: var(--surface);
    cursor: pointer;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s, background 0.15s;
    line-height: 1;
    padding: 0;
}
.mini-btn:hover { border-color: var(--border-strong); }
.mini-btn.on { background: var(--accent-soft); border-color: var(--accent); }
.mini-btn.on-bad { background: var(--red-soft); border-color: var(--red); }

/* ── Graphical polish ── */

.card, .nav-inner, .stat, .modal-box { position: relative; }

/* Icon chips on stat tiles */
.tile-ico {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 10px;
}

/* User avatar in the nav */
.avatar {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--bg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 750;
    flex-shrink: 0;
}

/* Company initial chips */
.co-name { display: flex; align-items: center; gap: 10px; min-width: 0; }
.co-avatar {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 750;
    flex-shrink: 0;
}

/* Paywall sunrise illustration */
.sunrise-art { margin-bottom: 14px; animation: sunUp 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes sunUp { from { opacity: 0; transform: translateY(10px); } }

/* Job rows: score ring + hover accent edge */
.job-score { box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 25%, transparent); }
.job-row { position: relative; transition: background 0.15s; }
.job-row::before {
    content: "";
    position: absolute;
    left: 0; top: 14px; bottom: 14px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: transparent;
    transition: background 0.15s;
}
.job-row:hover { background: color-mix(in srgb, var(--surface2) 45%, transparent); }
.job-row:hover::before { background: var(--accent); }

/* Job titles read as ink, not link-green */
.job-title a { color: var(--ink); }
.job-title a:hover { color: var(--accent); text-decoration: none; }

/* Cards get a hairline top highlight for depth */
.card { box-shadow: var(--shadow), inset 0 1px 0 color-mix(in srgb, var(--bg) 40%, transparent); }

@media (prefers-reduced-motion: reduce) { .sunrise-art { animation: none; } }

/* SVG icons inside tile chips */
.tile-ico svg { width: 18px; height: 18px; display: block; }

/* ── Password show/hide toggle ── */
.pw-wrap { position: relative; }
.pw-wrap input { width: 100%; padding-right: 44px; }
.pw-toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: color 0.15s, background 0.15s;
}
.pw-toggle:hover { color: var(--ink); background: var(--surface2); }
.pw-toggle svg { display: block; }

/* ── App sidebar ── */
.side {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 236px;
    background: var(--surface);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 22px 14px 18px;
    z-index: 90;
}
.side-brand { font-size: 24px; padding: 0 12px 18px; }
.side-nav { display: flex; flex-direction: column; gap: 3px; }
.side-link {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--muted);
    font-weight: 600;
    font-size: 14.5px;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.side-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.side-link:hover { color: var(--ink); background: var(--surface2); text-decoration: none; }
.side-link.active { background: var(--accent-soft); color: var(--accent-ink); }
.side-foot {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 6px 0;
    border-top: 1px solid var(--border);
}
.side-foot .credit-pill { justify-content: center; }
.side-user { display: flex; align-items: center; gap: 10px; }
.side-user-meta { flex: 1; min-width: 0; line-height: 1.3; }
.side-user-name {
    font-size: 13.5px;
    font-weight: 650;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.side-user-meta a { font-size: 12.5px; color: var(--muted); }
.side-user-meta a:hover { color: var(--red); text-decoration: none; }
.side-user .theme-toggle { width: 30px; height: 30px; flex-shrink: 0; }

/* Content shifts right of the sidebar on desktop; mobile keeps the top bar */
body.with-sidebar { padding-left: 236px; }
body.with-sidebar .app-topnav { display: none; }
@media (max-width: 1000px) {
    .side { display: none; }
    body.with-sidebar { padding-left: 0; }
    body.with-sidebar .app-topnav { display: block; }
}

/* ── Shell v2: dark sidebar + light app bar ── */
.side {
    background: var(--ink);
    color: var(--bg);
    border-right: none;
    padding: 24px 16px 20px;
}
.side-brand { color: var(--bg); font-size: 24px; padding: 0 10px 20px; }
.side-brand:hover { text-decoration: none; }
.side-label {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.45;
    padding: 0 12px 8px;
}
.side-link { color: color-mix(in srgb, var(--bg) 72%, transparent); }
.side-link:hover { color: var(--bg); background: color-mix(in srgb, var(--bg) 8%, transparent); }
.side-link.active {
    background: var(--accent);
    color: #fff;
}
:root[data-theme="dark"] .side-link.active { color: #08130e; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .side-link.active { color: #08130e; }
}
.side-promo {
    margin-top: auto;
    background: color-mix(in srgb, var(--bg) 7%, transparent);
    border: 1px solid color-mix(in srgb, var(--bg) 14%, transparent);
    border-radius: 14px;
    padding: 16px;
}
.side-promo-title { font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.side-promo p { font-size: 12.5px; opacity: 0.65; line-height: 1.5; margin-bottom: 12px; }
.side-foot { display: none; }

/* App bar */
.appbar {
    position: sticky;
    top: 0;
    z-index: 80;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 clamp(20px, 4vw, 64px);
    background: color-mix(in srgb, var(--bg) 85%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.appbar-left { display: flex; align-items: center; gap: 12px; min-width: 0; }
.appbar-title { font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em; }
.appbar-right { display: flex; align-items: center; gap: 10px; }
.appbar-burger { display: none; }

/* Mobile: sidebar becomes a slide-in drawer */
.drawer-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 12, 11, 0.45);
    z-index: 89;
}
@media (max-width: 1000px) {
    .side {
        display: flex;
        transform: translateX(-102%);
        transition: transform 0.25s ease;
        box-shadow: var(--shadow-lg);
    }
    body.drawer-open .side { transform: none; }
    body.drawer-open .drawer-backdrop { display: block; }
    body.with-sidebar { padding-left: 0; }
    .appbar-burger { display: inline-flex; }
}

/* ── Job list view switcher ── */
.view-switch {
    display: inline-flex;
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    overflow: hidden;
    background: var(--surface);
}
.view-switch button {
    border: none;
    background: transparent;
    color: var(--muted);
    padding: 7px 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    border-right: 1px solid var(--border);
}
.view-switch button:last-child { border-right: none; }
.view-switch button.on { background: var(--ink); color: var(--bg); }
.view-switch svg { width: 15px; height: 15px; display: block; }

/* View: two-column and grid cards */
#content.view-cols2, #content.view-grid {
    background: transparent;
    border: none;
    box-shadow: none;
    display: grid;
    gap: 14px;
    align-items: start;
}
#content.view-cols2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#content.view-grid { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
#content.view-cols2 .job-row, #content.view-grid .job-row {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow);
}
#content.view-grid .job-row {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
}
#content.view-grid .job-score { width: 44px; height: 44px; font-size: 14px; }
#content.view-grid .job-title { font-size: 14.5px; }
#content.view-grid .job-sub { font-size: 12.5px; }
#content.view-grid .job-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    border-top: 1px solid var(--border);
    padding-top: 12px;
    margin-top: 2px;
}
#content.view-grid .job-actions .row-mini { margin-left: auto; }
#content.view-grid .job-actions .btn-sm { padding: 6px 10px; font-size: 12.5px; }
#content.view-cols2 .job-actions { gap: 6px; }
#content.view-cols2 .job-actions .row-mini { margin-left: auto; }
@media (max-width: 900px) {
    #content.view-cols2 { grid-template-columns: 1fr; }
}

/* ── Job filters bar ── */
.job-filters { display: flex; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }

/* ── Tracker board ── */
.board {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    align-items: start;
    margin-bottom: 48px;
}
.board-col {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.board-col-win { border-color: var(--accent); }
.board-col-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    padding: 4px 6px;
}
.board-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    box-shadow: var(--shadow);
}
.board-card-title { font-size: 14px; font-weight: 650; line-height: 1.35; }
.board-card-sub { font-size: 12.5px; color: var(--muted); margin: 2px 0 10px; }
.board-card-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.board-empty { text-align: center; color: var(--faint); padding: 14px 0; }

/* ── Support tickets ── */
.ticket-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.15s;
}
.ticket-row:last-child { border-bottom: none; }
.ticket-row:hover { background: var(--surface2); }
.ticket-subject { font-size: 15px; font-weight: 650; }
.ticket-meta { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.thread { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; max-height: 46vh; overflow-y: auto; }
.msg { border-radius: 12px; padding: 12px 14px; max-width: 88%; }
.msg-user { background: var(--surface2); border: 1px solid var(--border); align-self: flex-start; }
.msg-admin { background: var(--accent-soft); border: 1px solid transparent; align-self: flex-end; }
.msg-head { font-size: 11.5px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.msg-admin .msg-head { color: var(--accent-ink); }
.msg-body { font-size: 14px; line-height: 1.55; white-space: pre-wrap; }


/* Premium card */
.premium-card { border-color: var(--accent); border-width: 2px; }


/* Premium upsell banner */
.premium-prod {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 14px 20px;
    margin-top: 14px;
    border-color: var(--accent);
    font-size: 14px;
}


/* Premium career tiers */
.premium-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
    margin-top: 16px;
}
.premium-tier {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: var(--surface);
}
.premium-tier.is-active { border-color: var(--accent); }
.premium-tier .pt-name { font-weight: 700; font-size: 15px; }
.premium-tier .pt-roles { font-size: 14px; }
.premium-tier .pt-count { font-size: 13px; color: var(--muted); }
.premium-tier .pt-price { font-size: 15px; font-weight: 600; margin: 4px 0 8px; }
.premium-tier .btn { align-self: flex-start; }


/* Account details grid */
.acct-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px 24px; margin-top: 12px; }
.acct-row { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--border); padding: 7px 0; font-size: 14px; }
.acct-k { color: var(--muted); }
.acct-v { font-weight: 600; text-align: right; word-break: break-all; }


/* Admin tabs */
.admin-tabs {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
    margin: 0 0 20px;
}
.admin-tab-btn {
    appearance: none;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 10px 14px;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
}
.admin-tab-btn:hover { color: var(--text); }
.admin-tab-btn.active { color: var(--text); border-bottom-color: var(--accent); }
.admin-pane { display: none; }
.admin-pane.active { display: block; }


/* Landing currency picker */
.landing-cur {
    appearance: none;
    background: transparent;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    color: var(--ink);
    font: inherit;
    font-size: 13.5px;
    font-weight: 600;
    padding: 6px 10px;
    cursor: pointer;
}
.landing-cur:hover { border-color: var(--accent); }
.landing-cur option { color: initial; }


/* Appbar currency picker */
.appbar-cur {
    appearance: none;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: inherit;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    padding: 5px 8px;
    cursor: pointer;
}
.appbar-cur:hover { border-color: var(--accent); }
.appbar-cur option { color: initial; }
@media (max-width: 640px) { .appbar-cur { display: none; } }


/* Integrations panel */
.ig-group { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; }
.ig-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.ig-fields { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.ig-field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.ig-field span { color: var(--muted); font-weight: 600; }


/* ── 3D hero scene ── */
.hero-scene {
    perspective: 1400px;
    position: relative;
    transform-style: preserve-3d;
}
#hero-card {
    transform: rotateY(-7deg) rotateX(4deg);
    transform-style: preserve-3d;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s;
    will-change: transform;
}
.hero-scene:hover #hero-card { box-shadow: 0 32px 64px -24px rgba(0, 0, 0, 0.28); }

.float-chip {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 13.5px;
    font-weight: 700;
    box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.35);
    pointer-events: none;
}
.float-chip .fc-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-variant-numeric: tabular-nums;
    font-size: 13px;
}
.fc-1 { top: -22px; right: -18px; animation: chipFloat 5.5s ease-in-out infinite; }
.fc-2 { bottom: 18%; left: -34px; animation: chipFloat 6.5s ease-in-out 0.8s infinite; }
.fc-3 { top: 34%; right: -30px; animation: chipFloat 7s ease-in-out 1.6s infinite; color: var(--accent); }

@keyframes chipFloat {
    0%, 100% { transform: translateY(0) translateZ(60px); }
    50%      { transform: translateY(-12px) translateZ(60px); }
}

@media (max-width: 980px) {
    #hero-card { transform: none; }
    .fc-1 { right: 4px; }
    .fc-2 { left: 4px; }
    .fc-3 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    #hero-card { transform: none; transition: none; }
    .float-chip { animation: none; }
}


/* Live-typing headline */
.type-wrap { display: inline-flex; align-items: baseline; white-space: nowrap; }
.type-caret {
    display: inline-block;
    width: 3px;
    height: 0.88em;
    margin-left: 4px;
    background: var(--accent);
    border-radius: 2px;
    transform: translateY(0.1em);
    animation: caretBlink 1.05s steps(1) infinite;
}
@keyframes caretBlink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .type-caret { display: none; } }


/* Spotlight cursor — the sanctioned gradient exception: a light, not a surface */
.hero-x { position: relative; }
.hero-spot {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 40%),
                rgba(13, 122, 92, 0.06), transparent 65%);
    z-index: 0;
}
[data-theme="dark"] .hero-spot {
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 40%),
                rgba(255, 255, 255, 0.045), transparent 65%);
}
.hero-x > .wrap { position: relative; z-index: 1; }


/* Hero background: quiet topographic contours (self-contained SVG) */
.hero-x::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1440 760%22 preserveAspectRatio=%22xMidYMid slice%22%3E%3Cpath d=%22M0,60.0 L40,70.0 L80,78.7 L120,85.2 L160,88.7 L200,89.2 L240,87.1 L280,83.3 L320,78.9 L360,75.0 L400,72.5 L440,72.0 L480,73.6 L520,76.9 L560,80.9 L600,84.5 L640,86.7 L680,86.4 L720,83.3 L760,77.3 L800,68.8 L840,59.0 L880,48.9 L920,39.9 L960,33.1 L1000,29.3 L1040,28.5 L1080,30.4 L1120,34.4 L1160,39.3 L1200,43.8 L1240,47.1 L1280,48.5 L1320,47.8 L1360,45.3 L1400,41.8 L1440,38.3%22 fill=%22none%22 stroke=%22%230d7a5c%22 stroke-width=%221.1%22/%3E%3Cpath d=%22M0,187.0 L40,187.7 L80,185.5 L120,181.2 L160,176.0 L200,171.0 L240,167.2 L280,165.0 L320,164.7 L360,165.7 L400,167.3 L440,168.4 L480,167.9 L520,165.0 L560,159.3 L600,150.8 L640,140.2 L680,128.4 L720,116.7 L760,106.6 L800,99.0 L840,94.7 L880,93.9 L920,96.2 L960,100.9 L1000,106.8 L1040,112.6 L1080,117.5 L1120,120.7 L1160,122.1 L1200,121.8 L1240,120.8 L1280,119.9 L1320,120.3 L1360,122.9 L1400,128.1 L1440,136.0%22 fill=%22none%22 stroke=%22%230d7a5c%22 stroke-width=%221.1%22/%3E%3Cpath d=%22M0,270.4 L40,263.1 L80,256.8 L120,252.0 L160,248.8 L200,247.0 L240,245.7 L280,243.9 L320,240.7 L360,235.2 L400,227.2 L440,216.7 L480,204.5 L520,191.6 L560,179.4 L600,169.1 L640,162.0 L680,158.5 L720,159.0 L760,163.0 L800,169.6 L840,177.7 L880,186.1 L920,193.6 L960,199.5 L1000,203.6 L1040,206.3 L1080,208.0 L1120,209.9 L1160,213.0 L1200,217.9 L1240,225.3 L1280,235.0 L1320,246.5 L1360,258.8 L1400,270.6 L1440,280.5%22 fill=%22none%22 stroke=%22%230d7a5c%22 stroke-width=%221.1%22/%3E%3Cpath d=%22M0,306.3 L40,307.4 L80,309.6 L120,311.6 L160,312.4 L200,311.3 L240,307.6 L280,301.7 L320,293.9 L360,285.3 L400,277.2 L440,270.7 L480,266.8 L520,266.2 L560,268.9 L600,274.4 L640,281.8 L680,289.9 L720,297.5 L760,303.5 L800,307.2 L840,308.6 L880,308.0 L920,306.0 L960,303.9 L1000,302.7 L1040,303.3 L1080,306.1 L1120,311.4 L1160,318.6 L1200,326.7 L1240,334.6 L1280,341.1 L1320,345.1 L1360,345.9 L1400,343.4 L1440,337.9%22 fill=%22none%22 stroke=%22%230d7a5c%22 stroke-width=%221.1%22/%3E%3Cpath d=%22M0,381.4 L40,378.7 L80,373.9 L120,367.1 L160,358.9 L200,350.4 L240,342.7 L280,337.2 L320,334.7 L360,335.8 L400,340.4 L440,348.1 L480,357.8 L520,368.3 L560,378.4 L600,386.8 L640,393.0 L680,396.7 L720,398.2 L760,398.4 L800,398.1 L840,398.5 L880,400.4 L920,404.3 L960,410.2 L1000,417.5 L1040,425.4 L1080,432.6 L1120,437.9 L1160,440.4 L1200,439.3 L1240,434.7 L1280,426.9 L1320,416.9 L1360,406.0 L1400,395.4 L1440,386.2%22 fill=%22none%22 stroke=%22%230d7a5c%22 stroke-width=%221.1%22/%3E%3Cpath d=%22M0,423.0 L40,415.8 L80,410.0 L120,406.6 L160,406.7 L200,410.5 L240,418.1 L280,428.8 L320,441.5 L360,454.9 L400,467.7 L440,478.7 L480,487.1 L520,492.8 L560,496.1 L600,497.6 L640,498.4 L680,499.4 L720,501.6 L760,505.3 L800,510.5 L840,516.7 L880,523.0 L920,528.2 L960,531.1 L1000,530.9 L1040,527.0 L1080,519.3 L1120,508.5 L1160,495.6 L1200,481.7 L1240,468.5 L1280,456.9 L1320,447.9 L1360,441.8 L1400,438.4 L1440,437.0%22 fill=%22none%22 stroke=%22%230d7a5c%22 stroke-width=%221.1%22/%3E%3Cpath d=%22M0,518.2 L40,521.1 L80,527.1 L120,535.5 L160,545.3 L200,555.2 L240,564.0 L280,570.6 L320,574.5 L360,575.5 L400,574.1 L440,571.1 L480,567.6 L520,564.7 L560,563.3 L600,564.0 L640,566.7 L680,571.0 L720,576.0 L760,580.6 L800,583.5 L840,584.0 L880,581.4 L920,575.7 L960,567.5 L1000,557.7 L1040,547.7 L1080,538.5 L1120,531.4 L1160,527.1 L1200,525.7 L1240,527.0 L1280,530.1 L1320,534.0 L1360,537.5 L1400,539.7 L1440,540.0%22 fill=%22none%22 stroke=%22%230d7a5c%22 stroke-width=%221.1%22/%3E%3Cpath d=%22M0,635.1 L40,647.2 L80,657.9 L120,666.1 L160,671.2 L200,673.1 L240,672.3 L280,669.5 L320,665.9 L360,662.5 L400,660.4 L440,659.9 L480,661.2 L520,663.7 L560,666.6 L600,668.8 L640,669.3 L680,667.0 L720,661.7 L760,653.4 L800,642.7 L840,630.6 L880,618.4 L920,607.6 L960,599.1 L1000,593.7 L1040,591.7 L1080,592.6 L1120,595.7 L1160,600.0 L1200,604.2 L1240,607.4 L1280,608.9 L1320,608.7 L1360,607.1 L1400,604.8 L1440,602.9%22 fill=%22none%22 stroke=%22%230d7a5c%22 stroke-width=%221.1%22/%3E%3Cpath d=%22M0,772.4 L40,774.0 L80,772.5 L120,768.6 L160,763.6 L200,758.6 L240,754.4 L280,751.6 L320,750.3 L360,750.1 L400,750.1 L440,749.4 L480,746.8 L520,741.6 L560,733.5 L600,722.7 L640,709.8 L680,695.9 L720,682.5 L760,670.7 L800,661.9 L840,656.6 L880,655.1 L920,656.9 L960,661.4 L1000,667.2 L1040,673.4 L1080,678.8 L1120,682.8 L1160,685.2 L1200,686.4 L1240,687.0 L1280,688.1 L1320,690.6 L1360,695.5 L1400,703.1 L1440,713.3%22 fill=%22none%22 stroke=%22%230d7a5c%22 stroke-width=%221.1%22/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    opacity: 0.055;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 78%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 78%, transparent 100%);
    z-index: 0;
}
[data-theme="dark"] .hero-x::before { opacity: 0.09; filter: brightness(3); }


/* ═══ Landing 3D system ═══ */
/* 3D scroll reveals: cards rise and pitch flat as they enter */
.steps-x, .tier-grid, .stat-grid-x, .stats-band .wrap, .compare-wrap { perspective: 1200px; }
.reveal-3d { opacity: 0; transform: rotateX(10deg) translateY(28px); transform-origin: 50% 100%; transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); will-change: transform; }
.reveal-3d.in { opacity: 1; transform: none; }

/* Pointer tilt for cards (attached by JS to .tilt-3d) */
.tilt-3d { transform-style: preserve-3d; transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s; }
.tilt-3d.tilting { transition: box-shadow 0.3s; }
.tilt-3d:hover { box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.22); }
.tilt-3d .step-n, .tilt-3d .tier-name, .tilt-3d .amount { transform: translateZ(26px); }
.tilt-3d > * { transform-style: preserve-3d; }

/* Featured pricing tier: gentle perpetual float */
.tier.featured { animation: tierFloat 7s ease-in-out infinite; }
@keyframes tierFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
.tier.featured.tilting { animation: none; }

/* Hero chips: counter-parallax against card tilt (composes with float anim) */
.float-chip { translate: calc(var(--px, 0) * -16px) calc(var(--py, 0) * -12px); }

/* Hero scene recede on scroll */
.hero-scene { transition: transform 0.1s linear; }

@media (prefers-reduced-motion: reduce) {
    .reveal-3d { opacity: 1; transform: none; transition: none; }
    .tier.featured { animation: none; }
    .tilt-3d { transition: none; }
}


/* Magnetic CTAs */
.hero-cta-row { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.magnetic { transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s; will-change: transform; }
.magnetic:hover { box-shadow: 0 14px 28px -12px rgba(0, 0, 0, 0.3); }
@media (prefers-reduced-motion: reduce) { .magnetic { transition: none; } }


/* SEO browse pages */
.browse-wrap { padding: 48px 0 72px; }
.browse-head h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.02em; margin-bottom: 10px; }
.browse-head .sub { color: var(--muted); max-width: 640px; margin-bottom: 28px; font-size: 16.5px; }
.browse-card { margin-bottom: 24px; overflow-x: auto; }
.browse-link { font-weight: 600; text-decoration: none; color: inherit; }
.browse-link:hover { color: var(--accent); }
.browse-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; border-color: var(--accent); margin-bottom: 36px; }
.browse-related h3 { font-size: 15px; margin-bottom: 12px; color: var(--muted); }
.browse-links { display: flex; flex-wrap: wrap; gap: 10px; }
.browse-links a { font-size: 13.5px; border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px; text-decoration: none; color: inherit; }
.browse-links a:hover { border-color: var(--accent); color: var(--accent); }
.hub-cats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.hub-cat { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 18px 20px; text-decoration: none; color: inherit; }
.hub-cat:hover { border-color: var(--accent); }
.hub-cat-name { font-weight: 600; font-size: 14.5px; }
.hub-cat-count { color: var(--accent); font-weight: 700; font-size: 13px; white-space: nowrap; }


/* ═══ Dawn identity ═══
   Emerald stays the product voice; dawn gold speaks only where "morning"
   is the message: the sun, the typed promise, the ritual stamp, one flag. */
:root { --dawn: #9C6F15; --dawn-sun: #E3A439; --dawn-soft: #f8edd7; }
[data-theme="dark"] { --dawn: #E8A93D; --dawn-sun: #E8A93D; --dawn-soft: #3a2f16; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 12px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--muted);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    padding: 7px 14px;
    margin-bottom: 22px;
}
.eyebrow-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--dawn-sun);
    animation: dawnPulse 2.4s ease-in-out infinite;
}
@keyframes dawnPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* typed promise + caret glow gold */
#type-word { color: var(--dawn); }
.type-caret { background: var(--dawn); }

/* the sun rises over the contour hills on load */
.sun-disc {
    position: absolute;
    left: 50%;
    bottom: -8%;
    width: 340px;
    height: 340px;
    margin-left: -170px;
    border-radius: 50%;
    background: var(--dawn-sun);
    opacity: 0.9;
    z-index: 0;
    transform: translateY(220px);
    transition: transform 2.2s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
.reveal.in .sun-disc { transform: translateY(60px); }
.hero-scene .mock-x, .hero-scene .float-chip { position: relative; z-index: 1; }
#hero-card { position: relative; z-index: 1; }
[data-theme="dark"] .sun-disc { opacity: 0.55; }
@media (prefers-reduced-motion: reduce) {
    .sun-disc { transition: none; transform: translateY(60px); }
    .eyebrow-dot { animation: none; }
}
@media (max-width: 980px) { .sun-disc { width: 240px; height: 240px; margin-left: -120px; } }

/* the two sanctioned gold touches */
.tier-flag { background: var(--dawn-sun) !important; color: #241a05 !important; }
.stats-band .stat-x:last-child .v { color: var(--dawn); }


/* ═══ App polish: the dawn ritual inside the product ═══ */
.ritual-stamp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 11.5px;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--faint);
}

/* Job cards: lift on hover, settle on leave */
.job-row {
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
#content.view-cols2 .job-row:hover, #content.view-grid .job-row:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.18);
    border-color: var(--border-strong);
}
#content.view-list .job-row:hover { background: var(--surface2); }

/* Score badge: ring treatment, tone-graded */
.job-score {
    box-shadow: inset 0 0 0 2.5px currentColor;
    background: transparent !important;
}
.job-score.high { color: var(--accent); }
.job-score.mid { color: var(--dawn); }
.job-score.low { color: var(--faint); }

/* Sidebar: active item carries the dawn rail */
.side-link { position: relative; transition: background 0.15s, color 0.15s; }
.side-link.active::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 20%;
    bottom: 20%;
    width: 3px;
    border-radius: 2px;
    background: var(--dawn);
}

/* Accessibility floor: visible keyboard focus everywhere in the app */
.btn:focus-visible, .side-link:focus-visible, .input:focus-visible,
.select:focus-visible, .mini-btn:focus-visible, .admin-tab-btn:focus-visible {
    outline: 2px solid var(--dawn);
    outline-offset: 2px;
}

/* Paywall: a small sun waits behind the unlock */
.paywall-sun {
    position: relative;
    overflow: hidden;
}
.paywall-sun::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -110px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--dawn-sun);
    opacity: 0.14;
    pointer-events: none;
}


/* ═══ App-wide page polish (profile / wallet / tracker / support / activity / settings / admin) ═══ */

/* Tables everywhere: readable hover, calmer borders */
.table tbody tr { transition: background 0.12s ease; }
.table tbody tr:hover { background: var(--surface2); }

/* Stat/KPI tiles: lift gently, mono numerals, dawn on money */
.stat { transition: transform 0.16s ease, box-shadow 0.16s ease; }
.stat:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.14); }
.stat .v { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: -0.01em; }
.stat .v.accent { color: var(--accent); }

/* Wallet: balance is the hero; passes read as offers */
#balance { font-size: 26px; }
.pass-row { transition: background 0.12s ease, border-color 0.12s ease; border-radius: 10px; }
.pass-row:hover { background: var(--surface2); }
.pass-save {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 11.5px;
    color: var(--dawn);
    font-weight: 700;
}

/* Premium tiers: hover lift + a flag for the sweet spot */
.premium-tier { transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease; position: relative; }
.premium-tier:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.18); }
.pt-flag {
    position: absolute;
    top: -11px;
    left: 16px;
    background: var(--dawn-sun);
    color: #241a05;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 6px;
    padding: 3px 9px;
}

/* Role pills: springier */
.role-pill { transition: border-color 0.15s, color 0.15s, transform 0.15s; }
.role-pill:hover { transform: translateY(-1px); }

/* Tracker: columns breathe, cards lift, offer column glows warm */
.board-col-head { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.board-card { transition: transform 0.15s ease, box-shadow 0.15s ease; }
.board-card:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.16); }
.board-col-win .board-col-head { color: var(--dawn); }

/* Activity: money actions carry the dawn mark */
.badge-dawn { background: var(--dawn-soft); color: var(--dawn); border: none; }

/* Settings: account rows quiet hover */
.acct-row { transition: background 0.12s ease; }
.acct-row:hover { background: var(--surface2); }

/* Admin: revenue tile leads in dawn, tab bar sticks under the appbar */
.admin-tabs { position: sticky; top: 64px; background: var(--bg); z-index: 5; }


/* Accessibility: skip link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 12px;
    z-index: 100;
    background: var(--ink);
    color: var(--bg);
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
}
.skip-link:focus { left: 12px; }

/* Hero role search — the marketplace's real CTA */
.hero-search { display: flex; gap: 10px; margin-top: 28px; max-width: 520px; flex-wrap: wrap; }
.hero-search input {
    flex: 1;
    min-width: 220px;
    font: inherit;
    font-size: 16px;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1.5px solid var(--border-strong);
    background: var(--surface);
    color: inherit;
}
.hero-search input:focus { outline: 2px solid var(--accent); border-color: transparent; }
.hero-suggest { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.hero-suggest button {
    font: inherit; font-size: 12.5px; cursor: pointer;
    background: none; border: 1px solid var(--border); border-radius: 999px;
    padding: 5px 12px; color: var(--muted);
}
.hero-suggest button:hover { border-color: var(--accent); color: var(--accent); }

/* Toasts announce politely; errors assertively (screen readers) */

.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; }
