/* Font */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap");

:root {
    /* Black + Silver palette */
    --bg-deep: #060607;
    --bg-deeper: #040405;

    --surface: #0e0f12;
    --surface2: #11131a;

    --ink: #ffffff;
    --ink2: rgba(255, 255, 255, .88);
    --muted: rgba(255, 255, 255, .62);
    --muted2: rgba(255, 255, 255, .48);

    --line: rgba(255, 255, 255, .12);
    --line2: rgba(255, 255, 255, .08);

    /* Silver accents */
    --silver1: rgba(255, 255, 255, .92);
    --silver2: rgba(255, 255, 255, .70);
    --silver3: rgba(255, 255, 255, .40);

    /* Used for visibility */
    --border-strong: rgba(255, 255, 255, .18);
    --border-stronger: rgba(255, 255, 255, .26);

    --radius: 18px;
    --radius2: 24px;

    --shadow: 0 24px 70px rgba(0, 0, 0, .72);
    --shadow2: 0 16px 40px rgba(0, 0, 0, .58);
    --shadow3: 0 10px 26px rgba(0, 0, 0, .44);

    --ring: 0 0 0 4px rgba(255, 255, 255, .10), 0 0 0 1px rgba(255, 255, 255, .18);
}

/* Reset */
* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    color: var(--ink2);
    background: var(--bg-deep);
    font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

/* Silver “void” background (NO color) */
body::before {
    content: "";
    position: fixed;
    inset: -30vh -25vw;
    z-index: -2;
    background:
        radial-gradient(900px 520px at 18% 18%, rgba(255, 255, 255, .08), transparent 62%),
        radial-gradient(820px 560px at 78% 12%, rgba(255, 255, 255, .06), transparent 62%),
        radial-gradient(760px 560px at 35% 84%, rgba(255, 255, 255, .05), transparent 62%),
        linear-gradient(180deg, var(--bg-deep), var(--bg-deeper));
    animation: voidDrift 18s ease-in-out infinite alternate;
}

@keyframes voidDrift {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }

    to {
        transform: translate3d(-1vw, 1vh, 0) scale(1.03);
    }
}

/* Subtle grain */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: .55;
}

/* Container */
.container {
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto;
}

/* Links */
a {
    text-decoration: none;
    color: inherit;
}

/* =========================================================
   Header (taller + wider logo + wider buttons)
========================================================= */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 9, 11, .80);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line2);
}

.header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .16), transparent);
    opacity: .95;
}

/* Increased height via padding */
.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 18px 0;
    /* was ~14px */
}

/* Brand */
.header__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

/* Logo wider + longer */
.brand__logo {
    width: 64px;
    /* wider */
    height: 54px;
    /* longer */
    border-radius: 14px;
    object-fit: contain;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--border-strong);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 14px 34px rgba(0, 0, 0, .55);
}

.brand__name {
    font-weight: 900;
    font-size: 34px;
    letter-spacing: -.03em;
    line-height: 1.5;
    /* Silver text */
    color: rgba(228, 211, 155, 0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand__sub {
    margin-top: 2px;
    font-size: 12px;
    color: rgba(255, 255, 255, .55);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Header buttons wider */
.header__nav {
    display: flex;
    gap: 12px;
    align-items: center;
    color: rgba(228, 211, 155, 0.9);
}

.header__nav .link {
    position: relative;
    padding: 12px 22px;
    /* wider */
    min-width: 120px;
    /* forces width */
    text-align: center;
    font-size: 13.5px;
    font-weight: 900;
    border-radius: 999px;
    color: rgba(255, 255, 255, .90);
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border-strong);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .35);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.header__nav .link::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .14), transparent);
    transform: translateX(-120%);
    transition: transform .6s ease;
}

.header__nav .link:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .06);
    border-color: var(--border-stronger);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .44);
}

.header__nav .link:hover::before {
    transform: translateX(120%);
}

.header__nav .link:focus-visible {
    outline: none;
    box-shadow: var(--ring), 0 14px 34px rgba(0, 0, 0, .44);
}

/* If you use class="link primary" for Donate, keep it SILVER not colored */
.header__nav .link.primary {
    background: linear-gradient(135deg, rgba(255, 255, 255, .20), rgba(255, 255, 255, .08));
    border-color: rgba(255, 255, 255, .22);
    color: rgba(255, 255, 255, .92);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .45);
}

.header__nav .link.primary:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .10));
}

/* =========================================================
   Hero
========================================================= */
.intro {
    padding: 56px 0 34px;
    text-align: center;
}

.intro h1 {
    margin: 0 0 14px;
    font-size: clamp(34px, 4.6vw, 56px);
    font-weight: 950;
    letter-spacing: -.04em;
    line-height: 1.48;
    background: linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .65));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .35));
}

.intro p {
    margin: 0 auto;
    max-width: 680px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .62);
    font-size: 15px;
}

/* =========================================================
   Card
========================================================= */
.card {
    background: rgba(14, 15, 18, .72);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: var(--radius2);
    padding: 28px;
    box-shadow: var(--shadow);
    position: relative;
}

.card::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: var(--radius2);
    padding: 1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .10), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.card__title {
    font-size: 18px;
    color: rgba(228, 211, 155, 0.9);
    font-weight: 950;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .10);
    text-align: center;
}

.card__hint {
    margin-top: -10px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, .56);
    font-size: 10px;
    padding-bottom: 20px;
    text-align: center;
}

/* =========================================================
   Form (inputs: more padding + lighter background)
========================================================= */
.form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.field{
    padding: 4px 0;         /* adds top/bottom space around label+input+help */
}

.field label {
    display: block;
    font-size: 12px;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .62);
    margin-bottom: 10px;
    font-weight: 900;
}

.field .help,
.field .meta {
    margin-top: 8px;
    font-size: 11px;
    /* <-- increase/decrease */
}


.field-error{
    padding: 4px 0;         /* adds top/bottom space around label+input+help */
}

.field-error label {
    display: block;
    font-size: 12px;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: rgba(240, 64, 64, 0.62);
    margin-bottom: 10px;
    font-weight: 900;
}

.field-error .help,
.field-error .meta {
    margin-top: 8px;
    font-size: 11px;
    /* <-- increase/decrease */
}
.row {
    gap: 16px;
    /* space between input and button */
    margin-top: 6px;
    /* space from label to row */
}

/* Bigger input padding (top/bottom) + slightly taller feel */
input {
    padding: 18px 16px;
    /* top/bottom, left/right */
    min-height: 56px;
    /* consistent height */
}

/* Match button height with input in the row */
.btn--secondary {
    min-height: 56px;
    padding: 0 22px;
    /* keep text in one line */
    white-space: nowrap;
    /* prevents "Find closest role" wrapping */
}

/* Slight space above "Check wage level" button */
#checkBtn {
    margin-top: 6px;
    min-height: 58px; }

input {
    width: 100%;
    /* lighter fill to be more visible */
    background: rgba(255, 255, 255, .07);
    border: 1px solid var(--border-strong);
    /* visible silver border */
    color: rgba(255, 255, 255, .92);

    /* Increased top/bottom padding */
    padding: 18px 16px;

    border-radius: 16px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background .18s ease;
}

input::placeholder {
    color: rgba(255, 255, 255, .34);
}

input:hover {
    background: rgba(255, 255, 255, .09);
    border-color: var(--border-stronger);
}

input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, .30);
    box-shadow: var(--ring);
    background: rgba(255, 255, 255, .10);
    transform: translateY(-1px);
}

.meta {
    margin-top: 8px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .52);
}

.row {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

/* Dropdown */
.dropdown {
    background: rgba(14, 16, 20, .98);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    margin-top: 8px;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .55);
    max-height: 260px;
    overflow-y: auto;
}

.dropdown>* {
    padding: 12px 14px;
    color: rgba(255, 255, 255, .74);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    cursor: pointer;
}

.dropdown>*:hover {
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .92);
}

.dropdown>*:last-child {
    border-bottom: 0;
}

.hidden {
    display: none;
}

/* =========================================================
   Buttons (silver)
========================================================= */
.btn {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .14);
    cursor: pointer;
    font-weight: 950;
    font-size: 14px;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, background .18s ease, border-color .18s ease;
}

/* Main CTA: silver (not color) */
#checkBtn {
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .10));
    color: rgba(228, 211, 155, 0.9);
    border-color: rgba(255, 255, 255, .22);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .55);
    position: relative;
    overflow: hidden;
}

#checkBtn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .18), transparent 55%);
    opacity: .0;
    transition: opacity .18s ease;
}

#checkBtn:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .12));
    box-shadow: 0 24px 62px rgba(0, 0, 0, .62);
}

#checkBtn:hover::after {
    opacity: .9;
}

#checkBtn:active {
    transform: translateY(0);
}

#checkBtn:focus-visible {
    outline: none;
    box-shadow: var(--ring), 0 24px 62px rgba(0, 0, 0, .62);
}

/* Find closest role button - keep ONE LINE + wider */
.btn--secondary {
    background: rgba(255, 255, 255, .05);
    color: rgba(255, 255, 255, .86);
    border: 1px solid rgba(255, 255, 255, .18);

    /* make it wider so text stays one line */
    min-width: 190px;
    white-space: nowrap;

    width: auto;
    padding: 0 20px;
    font-size: 13px;
    letter-spacing: .03em;
    text-transform: none;
    border-radius: 16px;
    box-shadow: 0 12px 26px rgba(0, 0, 0, .40);
}

.btn--secondary:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .24);
    transform: translateY(-1px);
}

.btn--secondary:focus-visible {
    outline: none;
    box-shadow: var(--ring);
}

/* =========================================================
   Result (your exact markup)
========================================================= */
.result {
    margin-top: 22px;
    background: linear-gradient(180deg, rgba(12, 13, 16, .88), rgba(8, 9, 11, .92));
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 22px;
    padding: 22px;
    box-shadow: var(--shadow2);
    position: relative;
    overflow: hidden;
}

.result::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(900px 260px at 20% 0%, rgba(255, 255, 255, .06), transparent 60%),
        radial-gradient(820px 260px at 85% 10%, rgba(255, 255, 255, .05), transparent 62%);
    opacity: .95;
}

.result>* {
    position: relative;
}

.result .title {
    font-size: 16px;
    font-weight: 950;
    letter-spacing: -.02em;
    color: rgba(255, 255, 255, .92);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.kv {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 10px 14px;
    padding: 6px 0 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.k {
    color: rgba(255, 255, 255, .52);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .10em;
    font-weight: 900;
}

.v {
    color: rgba(255, 255, 255, .90);
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
    word-break: break-word;
}

.v b {
    font-weight: 950;
    letter-spacing: -.01em;
}

/* Pill (SOC and level pills) */
.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .04);
    color: rgba(255, 255, 255, .78);
    font-weight: 900;
    font-size: 12px;
    letter-spacing: .02em;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
}

.pills {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    justify-content: center;
    flex-wrap: nowrap;
}

.pills .pill {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 12px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .03));
    border-color: rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .86);
    font-size: 13px;
    font-weight: 950;
    justify-content: center;
}

.pills .pill:hover {
    transform: translateY(-1px);
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .04));
    border-color: rgba(255, 255, 255, .16);
}

/* =========================
   HIGHLIGHT: Estimated Wage Level (WORKS WITH YOUR .kv STRUCTURE)
   .kv contains: .k, .v, .k, .v ...
========================= */

/* 1) Highlight the first KEY (Estimated wage level) */
.result .kv .k:first-child {
    color: rgba(255, 255, 255, .78);
    font-weight: 650;
}

/* 2) Highlight the first VALUE (I / II / III / IV / Not Qualified) */
.result .kv .v:nth-child(2) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    /* make it look like a premium badge */
    padding: 6px 12px;
    border-radius: 599px;

    background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .05));
    border: 1px solid rgba(255, 255, 255, .26);

    box-shadow:
        0 0 0 1px rgba(255, 255, 255, .08),
        0 14px 34px rgba(0, 0, 0, .55);

    color: rgba(237, 115, 115, 0.96);
    font-weight: 650;
    letter-spacing: .10em;
    font-size: 10px;

    /* optional: align it nicely */
    width: fit-content;
}

/* Bigger text inside the badge */
.result .kv .v:nth-child(2) b {
    font-size: 20px;
    letter-spacing: .12em;
}

/* 3) OPTIONAL: If you want the badge on a new line (more emphasis), enable this */
@media (min-width: 700px) {
    .result .kv .v:nth-child(2) {
        grid-column: 2 / -1;
        /* keep in value column */
    }
}


/* =========================================================
   Footer — Premium Silver / Black (upgrade)
========================================================= */

.footer {
    margin-top: 64px;
    padding: 44px 0 46px;
    border-top: 1px solid rgba(255, 255, 255, .10);
    background:
        radial-gradient(1200px 260px at 15% 0%, rgba(255, 255, 255, .08), transparent 62%),
        radial-gradient(1000px 240px at 90% 10%, rgba(255, 255, 255, .06), transparent 64%),
        linear-gradient(180deg, rgba(9, 10, 12, .86), rgba(7, 8, 10, .92));
    backdrop-filter: blur(14px);
    position: relative;
    overflow: hidden;
}

/* thin premium top accent */
.footer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent);
    opacity: .9;
    pointer-events: none;
}

/* subtle grid texture (very premium) */
.footer::before {
    content: "";
    position: absolute;
    inset: -30% -20%;
    pointer-events: none;
    background:
        radial-gradient(circle at 25% 0%, rgba(255, 255, 255, .10), transparent 55%),
        radial-gradient(circle at 80% 10%, rgba(255, 255, 255, .08), transparent 58%),
        radial-gradient(circle at 55% 120%, rgba(255, 255, 255, .06), transparent 56%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 22px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 26px);
    opacity: .30;
    filter: blur(.2px);
}

.footer__inner {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
}

.footer__left,
.footer__right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__line {
    color: rgba(255, 255, 255, .84);
    font-size: 13.5px;
    font-weight: 750;
    letter-spacing: .01em;
}

.footer__fineprint {
    color: rgba(255, 255, 255, .56);
    font-size: 12.5px;
    line-height: 1.65;
    max-width: 72ch;
}

/* small divider row feel */
.footer__right {
    align-items: flex-end;
    text-align: right;
}

/* Footer links as premium chips (smaller, cleaner) */
.footer .link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 7px 12px;
    /* compact */
    border-radius: 14px;
    /* less “fat pill” */
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .14);

    color: rgba(255, 255, 255, .90);
    font-weight: 900;
    font-size: 12.5px;
    letter-spacing: .02em;

    box-shadow: 0 10px 24px rgba(0, 0, 0, .34);
    transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.footer .link:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .22);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .42);
}

.footer .link:active {
    transform: translateY(0px);
}

.footer .link:focus-visible {
    outline: none;
    box-shadow: var(--ring), 0 14px 30px rgba(0, 0, 0, .42);
}

/* Make footer feel “finished”: compact spacing between lines + links */
.footer__left .footer__line {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

/* Responsive footer */
@media (max-width: 780px) {
    .footer {
        padding: 38px 0 42px;
    }

    .footer__inner {
        flex-direction: column;
        gap: 16px;
    }

    .footer__right {
        align-items: flex-start;
        text-align: left;
    }
}

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 980px) {
    .header__inner {
        padding: 16px 0;
    }

    .brand__sub {
        display: none;
    }

    .footer__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .pills {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kv {
        grid-template-columns: 170px minmax(0, 1fr);
    }
}

@media (max-width: 560px) {
    .container {
        width: calc(100% - 22px);
    }

    /* keep header neat */
    .brand__logo {
        width: 48px;
        height: 40px;
    }

    .header__nav .link {
        min-width: 104px;
        padding: 10px 16px;
        font-size: 12.5px;
    }

    .card {
        padding: 18px;
        border-radius: 20px;
    }

    .intro {
        padding: 42px 0 26px;
    }

    .intro h1 {
        font-size: clamp(28px, 8vw, 40px);
    }

    .row {
        flex-direction: column;
    }

    .btn--secondary {
        width: 100%;
        min-width: 0;
        padding: 14px 16px;
    }

    .kv {
        grid-template-columns: 1fr;
    }

    .k {
        margin-top: 8px;
    }

    .pills {
        grid-template-columns: 1fr;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}

/* =========================================================
   MOBILE HEADER — compact buttons, balanced height
========================================================= */

@media (max-width: 640px) {

    .header {
        padding: 12px 0;
    }

    .header__inner {
        align-items: center;
        /* vertical alignment fix */
    }

    /* Brand */
    .header__brand {
        align-items: center;
        gap: 10px;
    }

    .brand__logo {
        width: 36px;
        height: 36px;
    }

    .brand__name {
        font-size: 18px;
        line-height: 1.15;
        white-space: nowrap;
    }

    /* Right-side buttons (stacked, compact) */
    .header__nav {
        gap: 1px;
        /* tighter spacing */
    }

    .header__nav .link {
        padding-inline: 12px;
        /* ⬅ reduces width */
        min-width: unset;
        /* ⬅ remove forced width */
        width: auto;
        /* ⬅ content-based width */
        max-width: fit-content;
        /* ⬅ prevent stretching */     }
}