/* ==========================================================================
   CareerKit — minimalist UI
   Palette: blue (primary), mint green (accent), bone white (background)
   ========================================================================== */

:root {
    --blue-900: #12324f;
    --blue-700: #1f4e79;
    --blue-500: #2f6aa3;
    --blue-100: #e5edf5;
    --mint-600: #2f9e7a;
    --mint-400: #98e2c6;
    --mint-100: #e4f7ef;
    --bone-50: #fdfcf8;
    --bone-100: #f8f5ec;
    --bone-200: #eee9dc;
    --ink: #1d2733;
    --muted: #66717d;
    --border: #e3ddcf;
    --danger: #b83a2e;
    --danger-100: #fbeceb;
    --warning: #c58a16;

    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 2px rgba(18, 50, 79, .06), 0 4px 16px rgba(18, 50, 79, .05);
    --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--bone-100);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3 { line-height: 1.25; margin: 0 0 .4em; color: var(--blue-900); }
h1 { font-size: 1.75rem; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: 1.1rem; font-weight: 600; }
h3 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--blue-700); }
a:hover { color: var(--blue-500); }
:focus-visible { outline: 3px solid var(--mint-400); outline-offset: 2px; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.main { flex: 1; padding-top: 28px; padding-bottom: 48px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.stack > * + * { margin-top: 20px; }

/* ---------- Top bar ---------- */
.topbar {
    background: var(--bone-50);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 700; font-size: 1.15rem; color: var(--blue-700); text-decoration: none;
}
.brand__mark { color: var(--mint-600); }
.brand--large { font-size: 1.6rem; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
    padding: 8px 12px; border-radius: var(--radius-sm);
    color: var(--ink); text-decoration: none; font-weight: 500; font-size: .93rem;
}
.nav__link:hover { background: var(--blue-100); color: var(--blue-700); }
.nav__link.is-active { background: var(--mint-100); color: var(--blue-900); }
.nav__logout { margin: 0 0 0 8px; }
.nav__link--button { border: 1px solid var(--border); background: transparent; cursor: pointer; font: inherit; font-weight: 500; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-flex; padding: 8px 14px; border-radius: var(--radius-sm);
        border: 1px solid var(--border); background: var(--bone-50); font: inherit; cursor: pointer;
    }
    .nav {
        display: none; position: absolute; left: 0; right: 0; top: 64px;
        flex-direction: column; align-items: stretch; padding: 12px 20px 20px;
        background: var(--bone-50); border-bottom: 1px solid var(--border);
    }
    .nav.is-open { display: flex; }
    .nav__logout { margin: 8px 0 0; }
    .nav__link--button { width: 100%; text-align: left; }
}

.footer { padding: 20px 0; border-top: 1px solid var(--border); color: var(--muted); background: var(--bone-50); }

/* ---------- Page header ---------- */
.page-header {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
    flex-wrap: wrap; margin-bottom: 24px;
}
.page-header p { margin-bottom: 0; max-width: 680px; }
.back-link { display: inline-block; margin-bottom: 6px; font-size: .9rem; text-decoration: none; }

/* ---------- Cards & layout ---------- */
.card {
    background: var(--bone-50);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
    margin: 0 0 20px;
    min-width: 0;
}
fieldset.card { margin-inline: 0; }
fieldset.card > legend { float: left; width: 100%; }
fieldset.card > legend + * { clear: both; }
.stack > .card { margin-bottom: 0; }
.card__title { font-size: 1.05rem; padding: 0; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card__header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.card__header .card__title { margin-bottom: 0; }
.card__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.card--accent { background: linear-gradient(135deg, var(--bone-50) 0%, var(--mint-100) 100%); }
.card--danger { border-color: #e9c3bf; background: #fffaf9; }
.card--danger .card__title { color: var(--danger); }

.grid { display: grid; gap: 20px; }
.grid > .card { margin: 0; }
.grid--hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); margin-bottom: 20px; }
.grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--tiles { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.grid__full { grid-column: 1 / -1; }
.split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.split > .card { margin: 0; }

@media (max-width: 860px) {
    .grid--hero, .grid--two, .split { grid-template-columns: 1fr; }
}

.subheading {
    font-size: .8rem; text-transform: uppercase; letter-spacing: .06em;
    color: var(--muted); margin: 18px 0 6px; font-weight: 600;
}
.count {
    font-size: .78rem; font-weight: 600; color: var(--blue-700);
    background: var(--blue-100); border-radius: 999px; padding: 1px 9px;
}
.empty { color: var(--muted); font-style: italic; margin: 0; }
.big-number { font-size: 2.6rem; font-weight: 700; color: var(--blue-700); margin: 0 0 8px; line-height: 1; }

.progress {
    width: 100%; height: 10px; border: 0; border-radius: 999px;
    background: var(--bone-200); overflow: hidden; appearance: none;
}
.progress::-webkit-progress-bar { background: var(--bone-200); border-radius: 999px; }
.progress::-webkit-progress-value { background: var(--mint-600); border-radius: 999px; }
.progress::-moz-progress-bar { background: var(--mint-600); border-radius: 999px; }

/* ---------- Tiles ---------- */
.tile {
    display: flex; flex-direction: column; gap: 4px; padding: 18px;
    background: var(--bone-50); border: 1px solid var(--border); border-radius: var(--radius);
    text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s;
}
.tile:hover { border-color: var(--mint-400); transform: translateY(-2px); color: var(--ink); }
.tile__title { font-weight: 600; color: var(--blue-900); }
.tile__count { color: var(--muted); font-size: .9rem; }
.tile__link { color: var(--mint-600); font-weight: 600; font-size: .88rem; margin-top: 6px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 10px 18px; border-radius: var(--radius-sm); border: 1px solid transparent;
    font: inherit; font-weight: 600; font-size: .93rem; line-height: 1.2;
    text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s;
    white-space: nowrap;
}
.btn--primary { background: var(--blue-700); color: #fff; }
.btn--primary:hover { background: var(--blue-900); color: #fff; }
.btn--secondary { background: var(--mint-100); color: var(--blue-900); border-color: var(--mint-400); }
.btn--secondary:hover { background: var(--mint-400); color: var(--blue-900); }
.btn--ghost { background: transparent; color: var(--blue-700); border-color: var(--border); }
.btn--ghost:hover { background: var(--blue-100); }
.btn--danger { background: var(--danger); color: #fff; }
.btn--danger:hover { background: #962e24; color: #fff; }
.btn--danger-ghost { background: transparent; color: var(--danger); border-color: #ecc8c4; }
.btn--danger-ghost:hover { background: var(--danger-100); }
.btn--small { padding: 6px 11px; font-size: .82rem; }
.btn--block { width: 100%; }
.link-button {
    background: none; border: 0; padding: 0; font: inherit; font-size: .85rem;
    color: var(--blue-700); cursor: pointer; text-decoration: underline;
}

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.form > .field, .form > .btn { margin-bottom: 16px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

label { font-weight: 500; font-size: .9rem; color: var(--blue-900); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.req { color: var(--danger); }

input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="url"],
input[type="date"], input[type="month"], input[type="number"], select, textarea {
    width: 100%; padding: 10px 12px; font: inherit; color: var(--ink);
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
    transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px var(--blue-100); }
input:disabled { background: var(--bone-200); color: var(--muted); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--danger); }
.hint { color: var(--muted); font-size: .8rem; }
.error { color: var(--danger); font-size: .82rem; font-weight: 500; }

.checkbox { font-weight: 500; cursor: pointer; flex-wrap: nowrap; }
.field--checkbox { justify-content: flex-end; }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; accent-color: var(--blue-700); flex-shrink: 0; margin: 0; }

.password { position: relative; display: flex; }
.password input { padding-right: 84px; }
.password__toggle {
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    background: var(--bone-100); border: 1px solid var(--border); border-radius: 6px;
    padding: 4px 9px; font: inherit; font-size: .78rem; cursor: pointer; color: var(--blue-700);
}

.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.form-actions--sticky {
    position: sticky; bottom: 0; padding: 14px 0; margin-top: 0;
    background: linear-gradient(to top, var(--bone-100) 70%, transparent);
}

/* ---------- Alerts & badges ---------- */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; border: 1px solid; font-size: .93rem; }
.alert--success { background: var(--mint-100); border-color: var(--mint-400); color: #1d5c47; }
.alert--error { background: var(--danger-100); border-color: #ecc8c4; color: #8a2b22; }
.alert--info { background: var(--blue-100); border-color: #c9d9ea; color: var(--blue-900); }

.badge {
    display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .02em;
    padding: 2px 8px; border-radius: 999px; background: var(--blue-100); color: var(--blue-700);
    vertical-align: middle;
}
.badge--muted { background: var(--bone-200); color: var(--muted); }
.badge--accent { background: var(--mint-100); color: #1d5c47; font-size: .82rem; margin-top: 10px; }

.status-pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px;
    border-radius: 999px; font-weight: 600; font-size: .88rem; text-decoration: none;
    border: 1px solid var(--border); background: var(--bone-50); color: var(--ink);
}
.status-pill::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.status-pill--actively_looking::before, .status-dot--actively_looking { background: var(--mint-600); }
.status-pill--open_to_offers::before, .status-dot--open_to_offers { background: var(--warning); }
.status-pill--not_looking::before, .status-dot--not_looking { background: var(--muted); }
.status-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }

/* ---------- Lists ---------- */
.item-list { list-style: none; margin: 0; padding: 0; }
.item-list__row {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding: 12px 0; border-top: 1px solid var(--border);
}
.item-list__row:first-child { border-top: 0; padding-top: 0; }
.item-list__row.is-editing { background: var(--mint-100); margin: 0 -10px; padding-inline: 10px; border-radius: var(--radius-sm); }
.item-list__label { min-width: 0; overflow-wrap: anywhere; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; flex-shrink: 0; }
.actions form { margin: 0; }

.data-list { margin: 0; }
.data-list__row {
    display: grid; grid-template-columns: minmax(140px, 1fr) minmax(0, 2fr) auto;
    gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--bone-200);
}
.data-list__row dt { color: var(--muted); font-size: .88rem; }
.data-list__row dd { margin: 0; overflow-wrap: anywhere; }
.data-list__actions { display: flex; gap: 6px; justify-content: flex-end; }
.data-list__actions form { margin: 0; }
.data-list--compact .data-list__row { grid-template-columns: minmax(120px, 1fr) 2fr; }
@media (max-width: 640px) {
    .data-list__row { grid-template-columns: 1fr; gap: 4px; }
    .data-list__actions { justify-content: flex-start; }
    .item-list__row { flex-direction: column; align-items: flex-start; }
}

/* ---------- Builder ---------- */
.builder { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.builder__aside { position: sticky; top: 84px; }
@media (max-width: 960px) {
    .builder { grid-template-columns: 1fr; }
    .builder__aside { position: static; order: -1; }
}
.format-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 640px) { .format-options { grid-template-columns: 1fr; } }
.format-option {
    align-items: flex-start; gap: 12px; padding: 16px; cursor: pointer; flex-wrap: nowrap;
    border: 2px solid var(--border); border-radius: var(--radius); background: #fff;
    transition: border-color .15s, background .15s;
}
.format-option:has(input:checked) { border-color: var(--blue-700); background: var(--blue-100); }
.format-option input { margin-top: 3px; }
.format-option__body { display: flex; flex-direction: column; gap: 4px; }
.format-option__body small { color: var(--muted); font-weight: 400; }

.check-all { display: flex; gap: 8px; align-items: center; color: var(--muted); }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.check-card {
    align-items: flex-start; gap: 10px; padding: 11px 12px; cursor: pointer; flex-wrap: nowrap;
    border: 1px solid var(--border); border-radius: var(--radius-sm); background: #fff;
    transition: border-color .15s, background .15s, opacity .15s;
}
.check-card:has(input:checked) { border-color: var(--mint-400); background: var(--mint-100); }
.check-card input { margin-top: 2px; }
.check-card__body { display: flex; flex-direction: column; min-width: 0; }
.check-card__label { font-weight: 600; font-size: .85rem; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.check-card__value { font-weight: 400; color: var(--muted); font-size: .85rem; overflow-wrap: anywhere; }

.check-list { display: flex; flex-direction: column; gap: 4px; }
.check-row {
    font-weight: 400; color: var(--ink); gap: 10px; padding: 9px 10px; border-radius: var(--radius-sm);
    cursor: pointer; flex-wrap: nowrap; align-items: flex-start;
}
.check-row:hover { background: var(--bone-100); }
.check-row:has(input:checked) { background: var(--mint-100); }

.is-dimmed { opacity: .45; }
.builder__save .field { max-width: 460px; }

.preset-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.preset-list__item {
    padding: 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    display: flex; flex-direction: column; gap: 8px; background: #fff;
}
.preset-list__item.is-active { border-color: var(--mint-400); background: var(--mint-100); }
.preset-list__item strong { margin-right: 6px; }

/* ---------- Profile ---------- */
.radio-list { display: flex; flex-direction: column; gap: 8px; }
.radio-card {
    gap: 10px; padding: 11px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    cursor: pointer; background: #fff; flex-wrap: nowrap;
}
.radio-card:has(input:checked) { border-color: var(--blue-700); background: var(--blue-100); }

/* ---------- Auth ---------- */
.auth-body {
    background:
        radial-gradient(circle at 15% 10%, var(--mint-100) 0, transparent 40%),
        radial-gradient(circle at 85% 90%, var(--blue-100) 0, transparent 45%),
        var(--bone-100);
}
.auth { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 20px; }
.auth__brand { text-align: center; margin-bottom: 22px; max-width: 420px; }
.auth__tagline { color: var(--muted); margin: 8px 0 0; }
.auth__card { width: 100%; max-width: 420px; padding: 30px; }
.auth__title { font-size: 1.45rem; }
.auth__switch { text-align: center; margin: 18px 0 0; color: var(--muted); }

/* ---------- Collapsible groups & multi-choice fields ---------- */
.card--collapsible > summary {
    cursor: pointer; list-style: none; margin-bottom: 0;
}
.card--collapsible > summary::-webkit-details-marker { display: none; }
.card--collapsible > summary::before {
    content: "▸"; color: var(--mint-600); transition: transform .15s; display: inline-block;
}
.card--collapsible[open] > summary { margin-bottom: 14px; }
.card--collapsible[open] > summary::before { transform: rotate(90deg); }
.field--choices { border: 0; padding: 0; margin: 0; min-width: 0; }
.field--choices legend { font-weight: 500; font-size: .9rem; color: var(--blue-900); padding: 0; margin-bottom: 6px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.subheading--builder { margin-top: 14px; }

/* ---------- Footer links ---------- */
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer__links { display: flex; gap: 16px; font-size: .85rem; }
.footer__links a { color: var(--muted); }
.footer__links a:hover { color: var(--blue-700); }

/* ---------- Public pages (home, legal) ---------- */
.public-nav { display: flex; align-items: center; gap: 8px; }
.container--narrow { max-width: 820px; }
.btn--large { padding: 14px 24px; font-size: 1rem; }

.hero {
    background:
        radial-gradient(circle at 10% 0%, var(--mint-100) 0, transparent 45%),
        radial-gradient(circle at 95% 100%, var(--blue-100) 0, transparent 40%);
    padding: 64px 0 56px;
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.eyebrow { color: var(--mint-600); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.hero__title { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.12; letter-spacing: -.02em; margin-bottom: 18px; }
.hero__lead { font-size: 1.1rem; color: #3d4955; max-width: 560px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 20px; }
.hero__badges { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px 20px; flex-wrap: wrap; color: var(--blue-900); font-weight: 600; font-size: .9rem; }
.hero__badges li::before { content: "✓"; color: var(--mint-600); margin-right: 6px; font-weight: 800; }

.hero__visual { position: relative; height: 340px; }
.paper {
    position: absolute; inset: 10px 40px 0 30px; background: #fff; border: 1px solid var(--border);
    border-radius: 10px; box-shadow: 0 18px 40px rgba(18, 50, 79, .12); padding: 26px 24px;
    display: flex; flex-direction: column; gap: 10px;
}
.paper--back { transform: rotate(5deg) translate(18px, 6px); background: var(--mint-100); box-shadow: none; }
.paper__band { height: 14px; background: var(--blue-700); border-radius: 3px; }
.paper__band--mint { background: var(--mint-400); margin-top: 6px; }
.paper__line { height: 8px; background: var(--bone-200); border-radius: 4px; }
.paper__line--title { height: 14px; width: 60%; background: var(--blue-100); }
.paper__line--short { width: 55%; }

.section { padding: 64px 0; }
.section--tinted { background: var(--bone-50); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__title { text-align: center; font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 32px; }
.section__title--left { text-align: left; margin-bottom: 14px; }

.grid--features { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.feature { background: var(--bone-50); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.feature h3 { margin-top: 10px; }
.feature p { color: #46525e; margin: 0; }
.feature__icon {
    display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center;
    border-radius: 10px; background: var(--mint-100); color: var(--blue-700); font-size: 1.3rem;
}

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.step { background: #fff; border-radius: var(--radius); padding: 22px; border-top: 4px solid var(--mint-400); }
.step p { margin: 0; color: #46525e; }

.security { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li {
    background: var(--bone-50); border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 12px 16px 12px 44px; position: relative;
}
.checklist li::before {
    content: "✓"; position: absolute; left: 14px; top: 11px; width: 20px; height: 20px; border-radius: 50%;
    background: var(--mint-600); color: #fff; font-size: .75rem; display: flex; align-items: center; justify-content: center;
}

.faq { display: grid; gap: 10px; }
.faq__item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 18px; }
.faq__item summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--blue-900); list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; float: right; color: var(--mint-600); font-size: 1.2rem; line-height: 1; }
.faq__item[open] summary::after { content: "–"; }
.faq__item p { margin: 0 0 16px; color: #46525e; }

.cta-final { text-align: center; }
.cta-final p { color: #46525e; margin-bottom: 22px; }

@media (max-width: 860px) {
    .hero { padding: 40px 0; }
    .hero__inner, .security { grid-template-columns: 1fr; gap: 28px; }
    .hero__visual { height: 240px; }
    .section { padding: 44px 0; }
}

/* ---------- Legal documents ---------- */
.legal { padding-top: 40px; padding-bottom: 56px; }
.legal h2 { margin-top: 28px; font-size: 1.15rem; }
.legal p, .legal li { color: #333f4b; }
.legal li { margin-bottom: 6px; }
.legal__summary { background: var(--mint-100); border: 1px solid var(--mint-400); border-radius: var(--radius); padding: 18px 22px; margin: 20px 0; }
.legal__summary h2 { margin-top: 0; }
.legal__summary ul { margin: 0; padding-left: 20px; }

/* ---------- Consent box (register / consent) ---------- */
.consent { background: var(--bone-100); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px; margin-bottom: 16px; }
.consent.has-error { border-color: var(--danger); }
.consent__points { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; font-size: .85rem; color: #3d4955; }
.consent__points li::before { content: "🔒"; margin-right: 6px; font-size: .8rem; }
.consent__check { align-items: flex-start; font-size: .86rem; font-weight: 400; color: var(--ink); }
.consent__check input { margin-top: 2px; }
.public-nav .nav__link { white-space: nowrap; }
@media (max-width: 420px) { .public-nav .nav__link { display: none; } }
