/* SiteCrew — base stylesheet.
   Professional B2B operations UI (handoff §51): fast, dense, excellent tables,
   minimal animation.

   Palette is carried over from CareerBridge USA so the portfolio reads as one
   house: navy #071d36 with safety-orange #f47b20, Inter, 18px cards and 12px
   controls. Orange doubles as the trades/safety cue, which suits a facilities
   brand better than a generic SaaS accent.

   --brand is injected by the layout from APP_PRIMARY_COLOR so branding stays
   configuration-driven (handoff §52); the palette below is the default. */

:root {
    /* Brand */
    --navy: #071d36;
    --navy-deep: #06182d;
    --blue: #0d3767;
    --orange: #f47b20;
    --orange-dark: #cc5f13;
    --orange-light: #ffc08c;

    --brand: var(--navy);
    --accent: var(--orange);

    /* Surfaces */
    --bg: #eef3f8;
    --surface: #ffffff;
    --soft: #f4f7fb;
    --line: #d9e2ec;
    --line-strong: #cdd9e5;

    /* Text */
    --ink: #102033;
    --muted: #627083;
    --faint: #8a97a8;
    --on-navy: #d8e5f4;

    /* Status tones. Semantic, not brand — kept legible on white at 13px. */
    --green: #12703f;  --green-bg: #e6f4ec;
    --amber: #8a5a00;  --amber-bg: #fdf3e0;
    --red: #a41f1f;    --red-bg: #fdeaea;
    --blue-t: #1a4d8f; --blue-bg: #e8f0fa;
    --violet: #5b3ba5; --violet-bg: #f0ebfb;
    --teal: #126b6b;   --teal-bg: #e4f3f3;
    --indigo: #37409e; --indigo-bg: #ebedfa;
    --slate: #4a5361;  --slate-bg: #eef0f3;
    --gray: #666e78;   --gray-bg: #f0f1f3;

    --radius: 18px;
    --radius-md: 12px;
    --radius-sm: 10px;
    --shadow: 0 18px 48px rgba(7, 29, 54, .14);
    --shadow-sm: 0 2px 8px rgba(7, 29, 54, .08);

    --space-1: 4px;  --space-2: 8px;  --space-3: 12px;
    --space-4: 16px; --space-5: 24px; --space-6: 32px;

    --font: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

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

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

body {
    margin: 0;
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
}

h1, h2, h3, h4 { margin: 0 0 var(--space-3); line-height: 1.15; font-weight: 800; }
h1 { font-size: 26px; }
h2 { font-size: 20px; }
h3 { font-size: 16px; }

p { margin: 0 0 var(--space-3); }

a { color: var(--blue); text-decoration: none; font-weight: 600; }
a:hover { color: var(--orange); }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    background: var(--surface);
    color: var(--ink);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

.btn:hover { background: var(--soft); color: var(--ink); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }

/* Orange carries dark text: at 13-14px this is the legible pairing. */
.btn--primary { background: var(--orange); border-color: var(--orange); color: #111; }
.btn--primary:hover { background: #ff9347; color: #111; }

.btn--navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--blue); color: #fff; }

.btn--danger { background: var(--red); border-color: var(--red); color: #fff; }
.btn--danger:hover { background: #8c1a1a; color: #fff; }

.btn--ghost { background: transparent; border-color: var(--line); }
.btn--sm { min-height: 36px; padding: 7px 12px; font-size: 13px; border-radius: var(--radius-sm); }
.btn--block { width: 100%; }

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

.field { margin-bottom: var(--space-4); }
.field__label { display: block; margin-bottom: 6px; font-weight: 800; font-size: 13px; }
.field__hint { margin-top: 6px; font-size: 13px; color: var(--muted); font-weight: 400; }
.field__error { margin-top: 6px; font-size: 13px; color: var(--red); font-weight: 700; }
.field__required { color: var(--orange); }

.input, .select, .textarea {
    width: 100%;
    min-height: 44px;
    padding: 12px 13px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-md);
    background: var(--surface);
    color: var(--ink);
    font: inherit;
}

.textarea { min-height: 110px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--orange); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--red); }

.field-row { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

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

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--line);
}

.card__title { margin: 0; font-size: 17px; font-weight: 800; }
.card__body { padding: var(--space-5); }

/* ---- Metrics --------------------------------------------------------- */

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }

.metric {
    padding: var(--space-5);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.metric strong { display: block; font-size: 34px; line-height: 1.05; color: var(--blue); }
.metric span { color: var(--muted); font-weight: 800; font-size: 13px; }
.metric--alert strong { color: var(--orange-dark); }

/* ---- Tables ---------------------------------------------------------- */

.table-wrap { overflow-x: auto; background: var(--surface); border-radius: var(--radius-md); }

.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.table thead th {
    position: sticky;
    top: 0;
    background: var(--soft);
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
}
.table tbody tr:hover { background: var(--soft); }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.table .mono { font-family: var(--font-mono); font-size: 13px; }

.empty-state { padding: var(--space-6); text-align: center; color: var(--muted); }

/* ---- Badges ---------------------------------------------------------- */

.badge {
    display: inline-block;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.badge--green  { background: var(--green-bg);  color: var(--green); }
.badge--amber  { background: var(--amber-bg);  color: var(--amber); }
.badge--red    { background: var(--red-bg);    color: var(--red); }
.badge--blue   { background: var(--blue-bg);   color: var(--blue-t); }
.badge--violet { background: var(--violet-bg); color: var(--violet); }
.badge--teal   { background: var(--teal-bg);   color: var(--teal); }
.badge--indigo { background: var(--indigo-bg); color: var(--indigo); }
.badge--slate  { background: var(--slate-bg);  color: var(--slate); }
.badge--gray   { background: var(--gray-bg);   color: var(--gray); }

/* ---- App shell ------------------------------------------------------- */

.shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); min-height: 100vh; }

.sidebar { padding: 22px; background: var(--navy); color: #fff; }
.sidebar .brand { display: block; margin-bottom: 28px; color: #fff; font-weight: 900; font-size: 19px; }
.sidebar .brand em { display: block; font-style: normal; color: var(--orange); font-size: 12px; letter-spacing: .08em; font-weight: 800; }
.sidebar nav { display: grid; gap: 6px; }
.sidebar nav a { padding: 11px 12px; border-radius: var(--radius-md); color: var(--on-navy); font-weight: 800; }
.sidebar nav a:hover, .sidebar nav a.active { background: rgba(255, 255, 255, .12); color: #fff; }
.sidebar .nav-group { margin-top: 18px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #8fa8c4; font-weight: 800; }

.main { padding: 28px; min-width: 0; }
.main__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 22px; flex-wrap: wrap; }
.main__top p { margin: 0; color: var(--muted); }

/* ---- Flash messages -------------------------------------------------- */

.flash-stack {
    position: fixed;
    top: var(--space-4);
    right: var(--space-4);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    max-width: min(420px, calc(100vw - 32px));
}

.flash {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow);
    font-size: 14px;
    font-weight: 700;
}

.flash--success { border-color: var(--green); background: var(--green-bg); color: var(--green); }
.flash--error   { border-color: var(--red);   background: var(--red-bg);   color: var(--red); }
.flash--warning { border-color: var(--orange-light); background: #fff7ed; color: #7a3b0c; }
.flash--info    { border-color: var(--blue-t); background: var(--blue-bg); color: var(--blue-t); }

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

.centered-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: var(--space-4);
    background: linear-gradient(135deg, var(--navy), #0b2e57 56%, #123f73);
}

.centered-card {
    width: 100%;
    max-width: 460px;
    padding: var(--space-6);
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.error-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: var(--space-4); }
.error-card { max-width: 460px; padding: var(--space-6); text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.error-code { margin: 0; font-size: 56px; font-weight: 900; color: var(--orange); line-height: 1; }
.error-title { margin: var(--space-3) 0 var(--space-2); font-size: 20px; }
.error-message { color: var(--muted); }
.error-actions { margin-top: var(--space-5); margin-bottom: 0; }

/* ---- Utilities ------------------------------------------------------- */

.muted { color: var(--muted); }
.faint { color: var(--faint); }
.nowrap { white-space: nowrap; }
.mono { font-family: var(--font-mono); }
.text-right { text-align: right; }
.stack > * + * { margin-top: var(--space-4); }
.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- Responsive ------------------------------------------------------ */

@media (max-width: 1180px) {
    .metric-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
    .shell { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .main { padding: 18px; }
}

/* Phones: the vendor field workflow lives here, so every actionable row is a
   full-width tap target of at least 44px rather than a small icon. */
@media (max-width: 640px) {
    .metric-grid { grid-template-columns: 1fr; }
    .btn { width: 100%; min-height: 52px; }
    .btn--inline { width: auto; }
    .table th, .table td { padding: 10px; font-size: 13px; }
    .row-link { display: block; min-height: 44px; }
    .card__body, .card__header { padding: var(--space-4); }
}

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

/* ---- Mandatory corporate footer -------------------------------------- */
/* Renders on every page via the shared layout. Muted so it never competes
   with operational content, but always legible (4.5:1 on the page background). */

.site-footer {
    padding: 22px clamp(16px, 4vw, 32px);
    background: var(--navy-deep);
    color: var(--on-navy);
}

.site-footer .footer-copy p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

.site-footer a { color: #fff; font-weight: 700; text-decoration: underline; }
.site-footer a:hover { color: var(--orange); }

/* Inside the internal shell the footer sits under the main column only. */
.shell .site-footer { grid-column: 1 / -1; }

@media print {
    .site-footer { background: transparent; color: #000; border-top: 1px solid #999; }
    .site-footer a { color: #000; }
}

/* ---- Auth page ------------------------------------------------------- */

.auth-brand { margin-bottom: 22px; }
.auth-brand strong { display: block; font-size: 22px; font-weight: 900; color: var(--navy); }
.auth-brand em { display: block; font-style: normal; color: var(--orange); font-size: 12px; letter-spacing: .08em; font-weight: 800; text-transform: uppercase; }
.auth-title { margin-bottom: 4px; }
.auth-subtitle { margin-bottom: 22px; }
.auth-help { margin: 16px 0 0; text-align: center; font-size: 14px; }
.auth-note { margin: 18px 0 0; font-size: 13px; text-align: center; }

/* ---- Sidebar user block ---------------------------------------------- */

.sidebar-user { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .16); }
.sidebar-user__name { margin: 0; font-weight: 800; color: #fff; font-size: 14px; }
.sidebar-user__role { margin: 2px 0 12px; color: #a8bdd4; font-size: 12px; }
.sidebar-user__signout { width: 100%; color: #fff; border-color: rgba(255, 255, 255, .3); background: transparent; }
.sidebar-user__signout:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---- Alerts ---------------------------------------------------------- */

.alert-row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-bottom: 20px; }

.alert {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--orange-light);
    background: #fff7ed;
    color: #7a3b0c;
    font-weight: 700;
}

.alert strong { font-size: 26px; line-height: 1; font-weight: 900; }
.alert:hover { text-decoration: none; filter: brightness(.98); }
.alert--urgent { border-color: var(--red); background: var(--red-bg); color: var(--red); }

/* ---- Clickable metric tiles ------------------------------------------ */
/* Every number drills through to the list behind it — no dead-end figures. */

.metric--link { display: block; color: inherit; text-decoration: none; }
.metric--link:hover { border-color: var(--orange); text-decoration: none; }
.metric--link:hover strong { color: var(--orange-dark); }

/* ---- Figure row (financial summary) ----------------------------------- */

.figure-row { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.figure__label { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.figure__value { display: block; margin-top: 4px; font-size: 24px; font-weight: 900; color: var(--blue); font-variant-numeric: tabular-nums; }
.figure__value--negative { color: var(--red); }

/* ---- Plain-language helper text --------------------------------------- */
/* One short sentence under a status telling the reader what happens next and
   whether they must act. Sized for readability, not for density: these users
   read at roughly a third-grade level. */

.row-help {
    margin: 6px 0 0;
    max-width: 34ch;
    font-size: 13px;
    line-height: 1.45;
    color: var(--muted);
    font-weight: 400;
}

/* =======================================================================
   Public marketing page
   ======================================================================= */

.public-body { background: var(--surface); }

.public-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px clamp(16px, 4vw, 48px);
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.public-brand strong { display: block; font-size: 20px; font-weight: 900; color: var(--navy); line-height: 1; }
.public-brand em { display: block; font-style: normal; color: var(--orange); font-size: 11px; letter-spacing: .1em; font-weight: 800; text-transform: uppercase; margin-top: 3px; }
.public-brand:hover { text-decoration: none; }

.public-nav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 700; }
.public-nav a { color: #25364a; }
.public-nav a:hover { color: var(--orange); }

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

.hero {
    background: linear-gradient(135deg, var(--navy), #0b2e57 56%, #123f73);
    color: #fff;
    padding: clamp(48px, 7vw, 84px) clamp(16px, 5vw, 64px);
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
    gap: 48px;
    align-items: center;
    max-width: 1180px;
    margin: 0 auto;
}

.hero__eyebrow { color: var(--orange); font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.hero__title { font-size: clamp(38px, 5.6vw, 66px); line-height: 1.02; letter-spacing: -.5px; margin: 0 0 20px; color: #fff; }
.hero__lead { font-size: clamp(17px, 2vw, 20px); color: #d8e5f4; max-width: 52ch; line-height: 1.6; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 0; }

.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.hero__points { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 10px; }
.hero__points li { position: relative; padding-left: 30px; color: #d8e5f4; font-weight: 600; }
.hero__points li::before {
    content: "";
    position: absolute;
    left: 0; top: 7px;
    width: 16px; height: 9px;
    border-left: 3px solid var(--orange);
    border-bottom: 3px solid var(--orange);
    transform: rotate(-45deg);
}

/* Illustrative job card — shows the product rather than describing it. */
.hero__panel { min-width: 0; }

.panel-card {
    background: #fff;
    color: var(--ink);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 24px 60px rgba(7, 29, 54, .35);
}

.panel-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-size: 12px; color: var(--muted); }
.panel-card__title { margin: 0 0 4px; font-size: 18px; font-weight: 800; }
.panel-card__meta { margin: 0 0 18px; color: var(--muted); font-size: 14px; }

.panel-steps { display: grid; gap: 10px; }
.panel-step { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 14px; color: var(--faint); }
.panel-step span {
    display: grid; place-items: center;
    width: 26px; height: 26px; border-radius: 50%;
    background: var(--soft); color: var(--faint);
    font-size: 12px; font-weight: 800;
    border: 1px solid var(--line);
}
.panel-step--done { color: var(--ink); }
.panel-step--done span { background: var(--green-bg); color: var(--green); border-color: var(--green-bg); }
.panel-step--active { color: var(--ink); }
.panel-step--active span { background: var(--orange); color: #111; border-color: var(--orange); }

/* ---- Sections --------------------------------------------------------- */

.section { max-width: 1180px; margin: 0 auto; padding: clamp(48px, 6vw, 78px) clamp(16px, 4vw, 32px); }
.section--tint { max-width: none; background: var(--soft); }
.section--tint > * { max-width: 1180px; margin-left: auto; margin-right: auto; }

.section__head { max-width: 720px; margin-bottom: 34px; }
.section__head h2 { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.1; margin: 0 0 10px; }
.section__head p { font-size: 17px; margin: 0; }

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

.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.step-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
}

.step-card__num {
    display: grid; place-items: center;
    width: 42px; height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--orange), var(--orange-light));
    color: #111;
    font-weight: 900; font-size: 19px;
    margin-bottom: 16px;
}

.step-card h3 { font-size: 19px; margin: 0 0 8px; }
.step-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---- Trades ----------------------------------------------------------- */

.trade-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }

.trade-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
}

.trade-card h3 { font-size: 15px; margin: 0 0 12px; color: var(--blue); text-transform: uppercase; letter-spacing: .04em; font-size: 12px; }
.trade-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.trade-card li { font-size: 15px; font-weight: 600; }

/* ---- Audiences -------------------------------------------------------- */

.who-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }

.who-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 4px solid var(--orange);
    border-radius: var(--radius);
    padding: 22px;
}

.who-card h3 { font-size: 18px; margin: 0 0 6px; }
.who-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ---- Areas ------------------------------------------------------------ */

.area-row { display: flex; flex-wrap: wrap; gap: 12px; }

.area-chip {
    display: inline-flex;
    align-items: center;
    padding: 11px 20px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line);
    font-weight: 800;
    color: var(--navy);
}

.area-note { margin-top: 20px; max-width: 60ch; }

/* ---- Closing call to action ------------------------------------------ */

.cta-band {
    background: var(--navy);
    color: #fff;
    text-align: center;
    padding: clamp(48px, 6vw, 78px) clamp(16px, 4vw, 32px);
}

.cta-band h2 { font-size: clamp(26px, 3.6vw, 40px); margin: 0 0 10px; color: #fff; }
.cta-band p { color: #d8e5f4; font-size: 17px; margin: 0 0 26px; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---- Responsive ------------------------------------------------------- */

@media (max-width: 980px) {
    .hero__inner { grid-template-columns: 1fr; gap: 34px; }
    .step-grid { grid-template-columns: 1fr; }
    .public-nav { gap: 14px; font-size: 13px; }
    .public-nav a:not(.btn) { display: none; }
}

@media (max-width: 640px) {
    .hero__title { font-size: 34px; }
    .hero__actions .btn { width: 100%; }
    .cta-band__actions .btn { width: 100%; }
}

/* ---- Headline figures ------------------------------------------------- */

.stat-band {
    background: var(--navy-deep);
    color: #fff;
    padding: clamp(28px, 4vw, 44px) clamp(16px, 4vw, 32px);
    border-top: 3px solid var(--orange);
}

.stat-band__inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 24px;
    text-align: center;
}

.stat strong {
    display: block;
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 900;
    line-height: 1.05;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.stat span {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--on-navy);
}

/* ---- Brand lockup ----------------------------------------------------- */

.brand-mark { display: block; flex: 0 0 auto; border-radius: 9px; }

.public-brand { display: flex; align-items: center; gap: 11px; }
.public-brand span { display: block; }

.sidebar .brand { display: flex; align-items: center; gap: 10px; }
.sidebar .brand span { display: block; }

.auth-brand img { display: block; margin-bottom: 12px; border-radius: 12px; }
