/* ============================================================
   Unlisted Hub — Design System
   Brand tokens sampled from the official logo:
     navy  #223652   green #33C05B
   Authored for the 2026 redesign. No third-party CSS framework.
   ============================================================ */

@layer reset, tokens, base, layout, components, utilities;

/* ---------- Self-hosted Manrope (variable, 200..800) ---------- */
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('/fonts/manrope-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url('/fonts/manrope-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@layer tokens {
    :root {
        /* --- brand --- */
        --uh-navy: #223652;
        --uh-green: #33C05B;
        /* navy ramp */
        --navy-900: #14243A;
        --navy-800: #1B2C46;
        --navy-700: #223652;
        --navy-600: #2E4668;
        --navy-500: #3E5A80;
        --navy-300: #7389A6;
        --navy-100: #C9D4E2;
        --navy-50: #EDF1F7;
        /* green ramp */
        --green-900: #0E4A27;
        --green-800: #135E32;
        --green-700: #16733D;
        --green-600: #1D9A4E;
        --green-500: #27AE55;
        --green-400: #33C05B;
        --green-300: #6FD489;
        --green-200: #A9E6B9;
        --green-100: #D9F5E1;
        --green-50: #F0FBF4;
        /* neutrals */
        --ink: #223652;
        --ink-muted: #5C6B82;
        --ink-subtle: #8494A8;
        --surface: #FFFFFF;
        --surface-2: #F7F8FC;
        --surface-3: #F1F4F9;
        --line: #E5E9F0;
        --line-strong: #D3DAE6;
        /* status */
        --up: #1D9A4E;
        --down: #D14343;
        --warn: #B4700E;
        /* --- typography --- */
        --font: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
        --fs-display: clamp(2.25rem, 1.35rem + 3.4vw, 3.5rem);
        --fs-h2: clamp(1.75rem, 1.2rem + 2.1vw, 2.5rem);
        --fs-h3: clamp(1.25rem, 1.05rem + 0.75vw, 1.5rem);
        --fs-h4: 1.125rem;
        --fs-body: 1rem;
        --fs-sm: 0.875rem;
        --fs-xs: 0.8125rem;
        --lh-tight: 1.12;
        --lh-snug: 1.3;
        --lh-body: 1.65;
        /* --- space (4pt) --- */
        --s-1: 0.25rem;
        --s-2: 0.5rem;
        --s-3: 0.75rem;
        --s-4: 1rem;
        --s-5: 1.25rem;
        --s-6: 1.5rem;
        --s-8: 2rem;
        --s-10: 2.5rem;
        --s-12: 3rem;
        --s-16: 4rem;
        --s-20: 5rem;
        --s-24: 6rem;
        /* --- shape --- */
        --r-sm: 6px;
        --r: 10px;
        --r-md: 14px;
        --r-lg: 20px;
        --r-pill: 999px;
        /* --- elevation --- */
        --sh-1: 0 1px 2px rgb(34 54 82 / .06), 0 1px 3px rgb(34 54 82 / .05);
        --sh-2: 0 2px 6px rgb(34 54 82 / .06), 0 6px 16px rgb(34 54 82 / .06);
        --sh-3: 0 10px 30px rgb(34 54 82 / .10);
        --sh-green: 0 6px 18px rgb(22 115 61 / .22);
        /* --- layout --- */
        --page: 1200px;
        --gutter: clamp(1rem, 0.5rem + 2vw, 2rem);
        --header-h: 112px;
    }
}

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

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

    @media (prefers-reduced-motion: reduce) {
        html { scroll-behavior: auto; }
        *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    }

    body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
    ul[class], ol[class] { list-style: none; padding: 0; }
    img, picture, svg, video { display: block; max-width: 100%; height: auto; }
    input, button, textarea, select { font: inherit; color: inherit; }
    button { cursor: pointer; background: none; border: none; }
    a { color: inherit; text-decoration: none; }
    table { border-collapse: collapse; width: 100%; }
    :where(h1, h2, h3, h4) { text-wrap: balance; }
    :where(p) { text-wrap: pretty; }
    [hidden] { display: none !important; }
}

@layer base {
    body {
        font-family: var(--font);
        font-size: var(--fs-body);
        line-height: var(--lh-body);
        color: var(--ink);
        background: var(--surface);
        -webkit-font-smoothing: antialiased;
        overflow-x: hidden;
    }

    h1, h2, h3, h4 { line-height: var(--lh-tight); font-weight: 800; letter-spacing: -0.02em; }
    h1 { font-size: var(--fs-display); }
    h2 { font-size: var(--fs-h2); }
    h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); }
    h4 { font-size: var(--fs-h4); line-height: var(--lh-snug); font-weight: 700; }

    :focus-visible { outline: 3px solid var(--green-600); outline-offset: 2px; border-radius: 4px; }

    ::selection { background: var(--green-200); color: var(--navy-900); }

    .skip-link {
        position: absolute; left: var(--s-4); top: -100px; z-index: 999;
        background: var(--navy-700); color: #fff; padding: var(--s-3) var(--s-5);
        border-radius: var(--r); font-weight: 700;
    }
    .skip-link:focus { top: var(--s-4); }
}

@layer layout {
    .uh-wrap { width: min(100% - (var(--gutter) * 2), var(--page)); margin-inline: auto; }

    .uh-section { padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
    .uh-section--tint { background: var(--surface-2); }
    .uh-section--flush { padding-block: 0; }

    .uh-sechead { text-align: center; margin-bottom: clamp(2rem, 1.4rem + 2vw, 3.5rem); }
    .uh-sechead p { color: var(--ink-muted); margin-top: var(--s-3); max-width: 62ch; margin-inline: auto; }

    .uh-eyebrow {
        display: block; font-size: var(--fs-sm); font-weight: 700;
        letter-spacing: .08em; text-transform: uppercase; color: var(--green-600);
        margin-bottom: var(--s-2);
    }

    .uh-grid { display: grid; gap: var(--s-6); }
    .uh-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
    .uh-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
    .uh-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
}

@layer components {
    /* ---------------- buttons ---------------- */
    .uh-btn {
        --_bg: var(--green-700);
        --_fg: #fff;
        display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
        min-height: 48px; padding-inline: var(--s-6);
        background: var(--_bg); color: var(--_fg);
        border-radius: var(--r); font-weight: 700; font-size: var(--fs-sm);
        letter-spacing: .01em; white-space: nowrap;
        transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
    }
    .uh-btn:hover { --_bg: var(--green-800); box-shadow: var(--sh-green); transform: translateY(-1px); }
    .uh-btn:active { transform: translateY(0); }

    .uh-btn--navy { --_bg: var(--navy-700); }
    .uh-btn--navy:hover { --_bg: var(--navy-800); box-shadow: 0 6px 18px rgb(34 54 82 / .25); }

    .uh-btn--ghost { --_bg: transparent; --_fg: var(--green-700); border: 1.5px solid var(--green-400); }
    .uh-btn--ghost:hover { --_bg: var(--green-50); box-shadow: none; }

    .uh-btn--white { --_bg: #fff; --_fg: var(--green-800); }
    .uh-btn--white:hover { --_bg: var(--green-50); }

    .uh-btn--lg { min-height: 54px; padding-inline: var(--s-8); font-size: var(--fs-body); }
    .uh-btn--sm { min-height: 36px; padding-inline: var(--s-4); font-size: var(--fs-xs); border-radius: var(--r-sm); }
    .uh-btn--pill { border-radius: var(--r-pill); }
    .uh-btn--block { width: 100%; }

    /* ---------------- pills / badges ---------------- */
    .uh-pill {
        display: inline-flex; align-items: center; gap: var(--s-2);
        padding: var(--s-2) var(--s-4); border-radius: var(--r-pill);
        background: #fff; border: 1px solid var(--line);
        font-size: var(--fs-sm); font-weight: 600; color: var(--navy-700);
        box-shadow: var(--sh-1);
    }
    .uh-pill::before {
        content: ""; inline-size: 8px; block-size: 8px; border-radius: 50%;
        background: var(--green-400); flex: none;
    }
    .uh-pill--plain::before { display: none; }

    .uh-tag {
        display: inline-block; padding: 2px var(--s-3); border-radius: var(--r-pill);
        font-size: var(--fs-xs); font-weight: 700; line-height: 1.6;
    }
    .uh-tag--ok { background: var(--green-100); color: var(--green-800); }
    .uh-tag--low { background: #FFF3D6; color: var(--warn); }
    .uh-tag--neutral { background: var(--navy-50); color: var(--navy-600); }

    /* ---------------- announcement bar ---------------- */
    .uh-topbar {
        background: var(--navy-700); color: #fff;
        font-size: var(--fs-sm); text-align: center;
    }
    .uh-topbar__in {
        display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
        gap: var(--s-4); padding-block: var(--s-2); min-height: 40px;
    }
    .uh-topbar a.uh-btn { min-height: 28px; font-size: var(--fs-xs); padding-inline: var(--s-4); }

    /* ---------------- header ---------------- */
    .uh-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: var(--sh-1); }

    .uh-nav { display: flex; align-items: center; gap: var(--s-6); min-height: 68px; }

    .uh-logo { display: inline-flex; align-items: center; flex: none; }
    .uh-logo img, .uh-logo svg { height: 38px; width: auto; }

    .uh-nav__links {
        display: flex; align-items: center; gap: var(--s-6);
        margin-left: auto; font-size: var(--fs-sm); font-weight: 600;
    }
    .uh-nav__links > li > a { display: inline-flex; align-items: center; gap: var(--s-1); padding-block: var(--s-2); color: var(--navy-700); }
    .uh-nav__links > li > a:hover { color: var(--green-600); }
    .uh-nav__actions { display: flex; align-items: center; gap: var(--s-3); flex: none; }
    .uh-nav__actions .uh-btn { min-height: 40px; padding-inline: var(--s-5); }

    /* dropdown */
    .uh-drop { position: relative; }
    .uh-drop__panel {
        position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0;
        min-width: 230px; background: #fff; border: 1px solid var(--line);
        border-radius: var(--r-md); box-shadow: var(--sh-3); padding: var(--s-2);
        opacity: 0; visibility: hidden; transform: translateY(-6px);
        transition: opacity .16s ease, transform .16s ease, visibility .16s;
    }
    .uh-drop:hover .uh-drop__panel,
    .uh-drop:focus-within .uh-drop__panel { opacity: 1; visibility: visible; transform: none; }
    .uh-drop__panel a {
        display: block; padding: var(--s-3) var(--s-4); border-radius: var(--r-sm);
        font-weight: 600; color: var(--navy-700);
    }
    .uh-drop__panel a:hover { background: var(--green-50); color: var(--green-800); }

    .uh-burger {
        display: none; flex: none; padding: var(--s-2); border-radius: var(--r-sm);
        color: var(--navy-700);
    }

    /* ---------------- search + contact row ---------------- */
    .uh-subbar { border-top: 1px solid var(--line); background: #fff; }
    .uh-subbar__in { display: flex; align-items: center; gap: var(--s-6); padding-block: var(--s-3); }

    .uh-search { position: relative; flex: 1 1 auto; max-width: 520px; margin-inline: auto; }
    .uh-search input {
        width: 100%; min-height: 44px; padding: 0 var(--s-4) 0 var(--s-10);
        border: 1px solid var(--line-strong); border-radius: var(--r);
        background: #fff; font-size: var(--fs-sm);
    }
    .uh-search input::placeholder { color: var(--ink-subtle); }
    .uh-search svg { position: absolute; left: var(--s-4); top: 50%; translate: 0 -50%; color: var(--ink-subtle); }

    .uh-callout { display: inline-flex; align-items: center; gap: var(--s-3); flex: none; font-weight: 700; color: var(--navy-700); }
    .uh-callout__icon {
        display: grid; place-items: center; inline-size: 36px; block-size: 36px;
        border-radius: 50%; background: var(--green-400); color: #fff; flex: none;
    }
}

@layer components {
    /* ---------------- hero ---------------- */
    .uh-hero { position: relative; overflow: clip; background: #fff; }
    .uh-hero::before {
        content: ""; position: absolute; inset-block-start: -18%; inset-inline-start: -12%;
        inline-size: 62%; aspect-ratio: 1.35; z-index: 0; pointer-events: none;
        background: radial-gradient(closest-side, rgb(51 192 91 / .38), rgb(51 192 91 / .10) 62%, transparent 100%);
        filter: blur(6px);
    }
    .uh-hero__in {
        position: relative; z-index: 1;
        display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem);
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr));
        align-items: center; padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem);
    }
    .uh-hero h1 { margin-block: var(--s-5) var(--s-5); max-width: 15ch; }
    .uh-hero__lead { font-size: clamp(1rem, .95rem + .3vw, 1.125rem); color: var(--ink-muted); max-width: 52ch; }
    .uh-hero__lead strong { color: var(--navy-700); font-weight: 800; }
    .uh-hero__cta { margin-top: var(--s-8); display: flex; flex-wrap: wrap; gap: var(--s-4); }

    .uh-stats { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 1rem + 2vw, 3rem); margin-top: clamp(2rem, 1.4rem + 2vw, 3rem); }
    .uh-stats__n { font-size: clamp(1.4rem, 1.15rem + .9vw, 1.9rem); font-weight: 800; color: var(--green-600); line-height: 1.1; }
    .uh-stats__l { font-size: var(--fs-xs); color: var(--ink-muted); margin-top: 2px; }

    /* dark media card in hero */
    .uh-showcase {
        position: relative; border-radius: var(--r-lg); overflow: hidden;
        background: linear-gradient(160deg, #0D2B1B, #071A10 60%, #04120A);
        box-shadow: var(--sh-3); isolation: isolate;
    }
    .uh-showcase > img,
    .uh-showcase__art { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; display: block; }
    .uh-showcase__overlay { position: absolute; inset-inline: 0; inset-block-end: 0; padding: var(--s-5); }

    .uh-inlineform { display: flex; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-2); }
    .uh-inlineform input { flex: 1 1 auto; min-width: 0; min-height: 48px; padding-inline: var(--s-4); border: none; font-size: var(--fs-sm); }
    .uh-inlineform input:focus { outline: none; }
    .uh-inlineform .uh-btn { border-radius: 0; flex: none; }
    .uh-showcase__note { margin-top: var(--s-3); font-size: var(--fs-xs); color: #D6E6DC; text-align: center; }

    /* ---------------- generic card ---------------- */
    .uh-card {
        background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
        padding: var(--s-6); box-shadow: var(--sh-1);
        transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
    }
    .uh-card--hover:hover { box-shadow: var(--sh-2); transform: translateY(-3px); border-color: var(--green-200); }
    .uh-card__icon {
        display: grid; place-items: center; inline-size: 52px; block-size: 52px;
        border-radius: var(--r); background: var(--green-50); color: var(--green-600);
        margin-bottom: var(--s-5);
    }
    .uh-card p { color: var(--ink-muted); font-size: var(--fs-sm); margin-top: var(--s-3); }

    /* ---------------- check list ---------------- */
    .uh-checks { display: grid; gap: var(--s-4); }
    .uh-checks li { display: flex; gap: var(--s-3); align-items: flex-start; font-weight: 600; }
    .uh-checks svg { flex: none; color: var(--green-500); margin-top: 3px; }

    /* ---------------- company name cards (no third-party logos) ---------------- */
    .uh-co {
        display: flex; flex-direction: column; justify-content: center; gap: var(--s-1);
        min-height: 88px; padding: var(--s-4) var(--s-5);
        background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
        box-shadow: var(--sh-1); transition: box-shadow .2s ease, transform .2s ease;
    }
    .uh-co:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
    .uh-co__name { font-weight: 800; color: var(--navy-700); line-height: 1.25; }
    .uh-co__meta { font-size: var(--fs-xs); color: var(--ink-subtle); }

    /* ---------------- tabs ---------------- */
    .uh-tabs { display: inline-flex; gap: var(--s-1); padding: var(--s-1); background: var(--surface-3); border-radius: var(--r); }
    .uh-tabs button {
        min-height: 40px; padding-inline: var(--s-5); border-radius: var(--r-sm);
        font-size: var(--fs-sm); font-weight: 700; color: var(--ink-muted);
        transition: background-color .16s ease, color .16s ease;
    }
    .uh-tabs button:hover { color: var(--navy-700); }
    .uh-tabs button[aria-selected="true"] { background: #fff; color: var(--navy-700); box-shadow: var(--sh-1); }

    /* ---------------- data table ---------------- */
    .uh-tablewrap { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-1); overflow: hidden; }
    .uh-tablescroll { overflow-x: auto; overscroll-behavior-x: contain; }

    .uh-table { min-width: 860px; font-size: var(--fs-sm); }
    .uh-table thead th {
        position: sticky; top: 0; z-index: 1;
        background: var(--surface-2); text-align: left; font-weight: 700; color: var(--ink-muted);
        font-size: var(--fs-xs); padding: var(--s-4) var(--s-4); white-space: nowrap;
        border-bottom: 1px solid var(--line);
    }
    .uh-table tbody td { padding: var(--s-4); border-bottom: 1px solid var(--line); vertical-align: middle; }
    .uh-table tbody tr:last-child td { border-bottom: none; }
    .uh-table tbody tr { transition: background-color .15s ease; }
    .uh-table tbody tr:hover { background: var(--green-50); }
    .uh-table__co { font-weight: 800; color: var(--navy-700); }
    .uh-table__sector { font-size: var(--fs-xs); color: var(--ink-subtle); font-weight: 500; }
    .uh-table__price { font-weight: 800; color: var(--navy-700); white-space: nowrap; }
    .uh-table__num { text-align: right; }
    .uh-table__actions { display: flex; gap: var(--s-2); justify-content: flex-end; }
    .uh-table caption { caption-side: bottom; padding: var(--s-4); font-size: var(--fs-xs); color: var(--ink-subtle); text-align: left; }

    /* ---------------- sector grid ---------------- */
    .uh-sector {
        display: block; padding: var(--s-5); background: #fff;
        border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-1);
        transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
    }
    .uh-sector:hover { box-shadow: var(--sh-2); transform: translateY(-3px); border-color: var(--green-200); }
    .uh-sector__icon {
        display: grid; place-items: center; inline-size: 44px; block-size: 44px;
        border-radius: var(--r-sm); background: var(--green-50); color: var(--green-600);
        margin-bottom: var(--s-8);
    }
    .uh-sector__name { font-weight: 800; color: var(--navy-700); }
    .uh-sector__count { font-size: var(--fs-xs); color: var(--ink-subtle); }

    /* ---------------- numbered steps ---------------- */
    .uh-steps { counter-reset: step; }
    .uh-step { position: relative; text-align: center; padding: var(--s-8) var(--s-6); border-radius: var(--r-md); background: linear-gradient(180deg, var(--green-50), #fff 70%); border: 1px solid var(--line); overflow: hidden; }
    .uh-step::after {
        counter-increment: step; content: "0" counter(step);
        position: absolute; top: var(--s-3); right: var(--s-5);
        font-size: 2.75rem; font-weight: 800; color: rgb(34 54 82 / .07); line-height: 1;
    }
    .uh-step__icon {
        display: grid; place-items: center; inline-size: 64px; block-size: 64px; margin-inline: auto;
        border-radius: var(--r-md); background: #fff; color: var(--green-600); box-shadow: var(--sh-2);
        margin-bottom: var(--s-5);
    }
    .uh-step h3 { font-size: var(--fs-h4); margin-bottom: var(--s-2); }
    .uh-step p { font-size: var(--fs-sm); color: var(--ink-muted); }
}

@layer components {
    /* ---------------- split feature ---------------- */
    .uh-split { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); align-items: center; }

    .uh-feature { display: flex; gap: var(--s-4); padding-block: var(--s-4); border-bottom: 1px solid var(--line); }
    .uh-feature:last-of-type { border-bottom: none; }
    .uh-feature__icon {
        display: grid; place-items: center; inline-size: 40px; block-size: 40px; flex: none;
        border-radius: var(--r-sm); background: var(--green-50); color: var(--green-600);
    }
    .uh-feature h3 { font-size: var(--fs-body); font-weight: 800; }
    .uh-feature p { font-size: var(--fs-sm); color: var(--ink-muted); margin-top: 2px; }

    .uh-bestfor {
        display: flex; gap: var(--s-4); align-items: center; margin-top: var(--s-6);
        padding: var(--s-4) var(--s-5); border-radius: var(--r-md); background: var(--green-50);
        border: 1px solid var(--green-100); font-weight: 600; font-size: var(--fs-sm);
    }
    .uh-bestfor b { color: var(--green-800); }

    .uh-chips { display: grid; grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr)); gap: var(--s-3); margin-top: calc(var(--s-8) * -1); position: relative; z-index: 2; padding-inline: var(--s-4); }
    .uh-chip { text-align: center; padding: var(--s-4) var(--s-3); background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-2); font-size: var(--fs-xs); font-weight: 700; color: var(--navy-700); }
    .uh-chip svg { margin: 0 auto var(--s-2); color: var(--green-600); }

    /* ---------------- about ---------------- */
    .uh-about__media { border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-2); }
    .uh-about__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
    .uh-about__panel { background: var(--navy-700); color: #fff; border-radius: var(--r-md); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
    .uh-about__panel h3 { font-size: var(--fs-h4); margin-bottom: var(--s-4); }
    .uh-about__panel p { font-size: var(--fs-sm); color: #C9D6E4; margin-bottom: var(--s-4); line-height: 1.7; }
    .uh-about__panel .uh-btn { --_bg: transparent; --_fg: #fff; border: 1.5px solid rgb(255 255 255 / .4); min-height: 40px; }
    .uh-about__panel .uh-btn:hover { --_bg: rgb(255 255 255 / .12); box-shadow: none; }

    /* ---------------- FAQ ---------------- */
    .uh-faq { display: grid; gap: var(--s-3); }
    .uh-faq details {
        background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
        box-shadow: var(--sh-1); overflow: hidden;
    }
    .uh-faq summary {
        display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
        padding: var(--s-5); font-weight: 700; font-size: var(--fs-sm); cursor: pointer;
        list-style: none; color: var(--navy-700);
    }
    .uh-faq summary::-webkit-details-marker { display: none; }
    .uh-faq summary::after {
        content: ""; flex: none; inline-size: 24px; block-size: 24px; border-radius: 50%;
        background: var(--green-500); position: relative; transition: background-color .2s ease;
        background-image: linear-gradient(#fff, #fff), linear-gradient(#fff, #fff);
        background-size: 11px 2px, 2px 11px; background-position: center, center; background-repeat: no-repeat;
    }
    .uh-faq details[open] summary::after { background-size: 11px 2px, 0 0; }
    .uh-faq details > div { padding: 0 var(--s-5) var(--s-5); font-size: var(--fs-sm); color: var(--ink-muted); }

    .uh-ask { text-align: center; }
    .uh-ask h3 { margin-bottom: var(--s-2); }
    .uh-ask p { font-size: var(--fs-sm); color: var(--ink-muted); margin-bottom: var(--s-5); }

    /* ---------------- contact ---------------- */
    .uh-contact { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); align-items: center; }
    .uh-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-2); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); display: grid; gap: var(--s-4); }
    .uh-form__row { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
    .uh-field { display: grid; gap: var(--s-2); }
    .uh-field label { font-size: var(--fs-xs); font-weight: 700; color: var(--navy-700); }
    .uh-field input, .uh-field textarea, .uh-field select {
        min-height: 46px; padding: var(--s-3) var(--s-4);
        border: 1px solid var(--line-strong); border-radius: var(--r);
        background: #fff; font-size: var(--fs-sm); width: 100%;
        transition: border-color .16s ease, box-shadow .16s ease;
    }
    .uh-field textarea { min-height: 116px; resize: vertical; }
    .uh-field input:focus, .uh-field textarea:focus, .uh-field select:focus {
        outline: none; border-color: var(--green-400); box-shadow: 0 0 0 3px rgb(51 192 91 / .18);
    }
    .uh-field__err { font-size: var(--fs-xs); color: var(--down); font-weight: 600; }
    .uh-consent { display: flex; gap: var(--s-3); align-items: flex-start; font-size: var(--fs-xs); color: var(--ink-muted); line-height: 1.55; }
    .uh-consent input { inline-size: 18px; block-size: 18px; flex: none; margin-top: 2px; accent-color: var(--green-600); }
    .uh-consent a { color: var(--green-700); font-weight: 700; text-decoration: underline; }

    /* ---------------- news ---------------- */
    .uh-news { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-1); overflow: hidden; transition: box-shadow .2s ease, transform .2s ease; }
    .uh-news:hover { box-shadow: var(--sh-2); transform: translateY(-3px); }
    .uh-news__media { background: linear-gradient(135deg, var(--green-100), var(--green-50)); aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; }
    .uh-news__media img { width: 100%; height: 100%; object-fit: cover; }
    .uh-news__body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }
    .uh-news__title { font-size: var(--fs-body); font-weight: 800; color: var(--navy-700); line-height: 1.35; }
    .uh-news__excerpt { font-size: var(--fs-sm); color: var(--ink-muted); flex: 1; }
    .uh-news__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); font-size: var(--fs-xs); color: var(--ink-subtle); }

    /* ---------------- partner CTA ---------------- */
    .uh-partner {
        position: relative; z-index: 2; margin-bottom: calc(var(--s-12) * -1);
        display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
        gap: var(--s-5); padding: var(--s-6) clamp(1.25rem, 1rem + 2vw, 2.5rem);
        border-radius: var(--r-md); color: #fff;
        background: linear-gradient(90deg, var(--green-800), var(--green-500));
        box-shadow: var(--sh-3);
    }
    .uh-partner h2 { font-size: var(--fs-h3); }
    .uh-partner p { font-size: var(--fs-sm); color: #DFF5E7; }

    /* ---------------- footer ---------------- */
    .uh-footer { background: var(--navy-700); color: #C9D6E4; padding-block: clamp(4rem, 3rem + 3vw, 6rem) var(--s-8); font-size: var(--fs-sm); }
    .uh-footer__grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 3.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
    .uh-footer__brand { grid-column: span 1; max-width: 34ch; }
    .uh-footer__brand img, .uh-footer__brand svg { height: 34px; width: auto; margin-bottom: var(--s-5); }
    .uh-footer h3 { font-size: var(--fs-xs); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: var(--s-5); }
    .uh-footer nav { display: grid; gap: var(--s-3); }
    .uh-footer nav a { color: #C9D6E4; }
    .uh-footer nav a:hover { color: var(--green-300); }
    .uh-social { display: flex; gap: var(--s-3); margin-top: var(--s-5); }
    .uh-social a {
        display: grid; place-items: center; inline-size: 34px; block-size: 34px;
        border-radius: var(--r-sm); border: 1px solid rgb(255 255 255 / .22); color: #fff;
        transition: background-color .16s ease, border-color .16s ease;
    }
    .uh-social a:hover { background: var(--green-600); border-color: var(--green-600); }

    .uh-footer__legal { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); padding-top: var(--s-6); border-top: 1px solid rgb(255 255 255 / .14); }
    .uh-footer__bottom { display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: space-between; align-items: center; margin-top: var(--s-6); font-size: var(--fs-xs); }
    .uh-footer__bottom nav { display: flex; flex-wrap: wrap; gap: var(--s-5); }

    /* ---------------- compliance / disclaimer ---------------- */
    .uh-disclaimer { font-size: var(--fs-xs); line-height: 1.7; color: #A9BCD0; }
    .uh-disclaimer b, .uh-disclaimer strong { color: #E4EDF5; }

    .uh-riskbar {
        background: var(--navy-50); border-block: 1px solid var(--line);
        font-size: var(--fs-xs); line-height: 1.7; color: var(--ink-muted); padding-block: var(--s-4);
    }
    .uh-riskbar strong { color: var(--navy-700); }

    .uh-note { font-size: var(--fs-xs); color: var(--ink-subtle); line-height: 1.6; }

    /* ---------------- floating WhatsApp ---------------- */
    .uh-fab {
        position: fixed; right: clamp(1rem, .5rem + 1.5vw, 1.75rem); bottom: clamp(1rem, .5rem + 1.5vw, 1.75rem);
        z-index: 60; display: grid; place-items: center;
        inline-size: 54px; block-size: 54px; border-radius: 50%;
        background: #25D366; color: #fff; box-shadow: 0 6px 20px rgb(0 0 0 / .22);
        transition: transform .18s ease;
    }
    .uh-fab:hover { transform: scale(1.06); }

    /* ---------------- cookie / consent banner ---------------- */
    .uh-consentbar {
        position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 70;
        background: var(--navy-800); color: #D6E0EC; padding: var(--s-4) 0;
        box-shadow: 0 -4px 20px rgb(0 0 0 / .2);
    }
    .uh-consentbar__in { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); justify-content: space-between; }
    .uh-consentbar p { font-size: var(--fs-xs); line-height: 1.6; max-width: 76ch; }
    .uh-consentbar a { color: var(--green-300); text-decoration: underline; }
    .uh-consentbar__btns { display: flex; gap: var(--s-3); flex: none; }
    .uh-consentbar .uh-btn { min-height: 38px; font-size: var(--fs-xs); }
    .uh-consentbar .uh-btn--ghost { --_fg: #fff; border-color: rgb(255 255 255 / .4); }
    .uh-consentbar .uh-btn--ghost:hover { --_bg: rgb(255 255 255 / .12); }
}

@layer utilities {
    .uh-center { text-align: center; }
    .uh-mt-6 { margin-top: var(--s-6); }
    .uh-mt-8 { margin-top: var(--s-8); }
    .uh-muted { color: var(--ink-muted); }
    .uh-green { color: var(--green-500); }
    .uh-navy { color: var(--navy-700); }
    .uh-up { color: var(--up); font-weight: 700; }
    .uh-down { color: var(--down); font-weight: 700; }
    .uh-flex-between { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; justify-content: space-between; }
    .uh-visually-hidden {
        position: absolute !important; inline-size: 1px; block-size: 1px;
        overflow: hidden; clip-path: inset(50%); white-space: nowrap;
    }

    /* ---- responsive ---- */
    @media (max-width: 960px) {
        .uh-nav__links { display: none; }
        .uh-burger { display: grid; margin-left: auto; }
        .uh-nav[data-open="true"] .uh-nav__links {
            display: grid; position: absolute; inset-inline: 0; top: 100%;
            background: #fff; padding: var(--s-4) var(--gutter); gap: var(--s-1);
            box-shadow: var(--sh-3); border-top: 1px solid var(--line);
        }
        .uh-nav[data-open="true"] .uh-nav__links > li > a { padding: var(--s-3) 0; }

        /* Keep logo, primary action and the menu button on one row. Allowing the
           row to wrap drops the action button onto a line of its own. */
        .uh-nav { position: relative; flex-wrap: nowrap; gap: var(--s-3); }
        .uh-nav__actions { margin-left: auto; order: 2; }
        .uh-burger { order: 3; margin-left: 0; }
        .uh-drop__panel { position: static; translate: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding-left: var(--s-4); }
    }

    @media (max-width: 720px) {
        .uh-nav__actions .uh-btn--navy { display: none; }
        .uh-subbar__in { flex-wrap: wrap; }
        .uh-search { max-width: none; order: 2; flex-basis: 100%; }
        .uh-stats { gap: var(--s-6) var(--s-8); }
        .uh-partner { text-align: center; justify-content: center; }
        .uh-topbar__in { font-size: var(--fs-xs); }
        /* 28px cleared WCAG's 24px minimum but was uncomfortable to hit. */
        .uh-topbar a.uh-btn { min-height: 34px; }
    }

    /* Narrow phones: logo + action + menu button must still fit one row without
       pushing the document wider than the viewport. */
    @media (max-width: 420px) {
        .uh-logo img { height: 30px; }
        .uh-nav__actions .uh-btn { padding-inline: var(--s-4); }
        .uh-nav { gap: var(--s-2); }
    }

    @media print {
        .uh-header, .uh-topbar, .uh-fab, .uh-consentbar, .uh-partner { display: none !important; }
        body { color: #000; }
    }
}

@layer components {
    /* ---- about: fact panel used where no photograph is available ---- */
    .uh-aboutfacts {
        display: grid; gap: var(--s-3); align-content: center;
        padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
        border-radius: var(--r-md);
        background: linear-gradient(150deg, var(--green-50), #fff 65%);
        border: 1px solid var(--green-100);
    }
    .uh-aboutfacts__row {
        display: flex; gap: var(--s-4); align-items: baseline;
        padding: var(--s-4) 0; border-bottom: 1px solid var(--green-100);
    }
    .uh-aboutfacts__row:last-child { border-bottom: none; }
    .uh-aboutfacts__n {
        flex: none; min-width: 6.5rem;
        font-size: var(--fs-h4); font-weight: 800; color: var(--green-700);
        letter-spacing: -0.01em;
    }
    .uh-aboutfacts__l { font-size: var(--fs-sm); color: var(--ink-muted); }

    /* ---- header condenses once the page is scrolled ---- */
    @media (min-width: 961px) {
        .uh-subbar {
            transition: grid-template-rows .22s ease, opacity .18s ease;
            display: grid; grid-template-rows: 1fr; opacity: 1;
        }
        .uh-subbar > * { overflow: hidden; }
        body[data-scrolled="true"] .uh-subbar { grid-template-rows: 0fr; opacity: 0; }
    }
}
