/* ============================================================================
   AKWAABA — Carbon-inspired design system, hardcoded.
   Verge Nexus LTD · One welcome. Every visitor. Every host.
   ============================================================================
   Built on:
     - IBM Carbon Design System principles (clarity, density, restraint)
     - Ghana flag tricolor (red · gold · green) as intentional accents
     - Poppins type family throughout
     - 16-column grid · 8px baseline · 1px border discipline
   ============================================================================ */

/* ── 1. RESET ─────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, dl, dd, table {
    margin: 0; padding: 0;
}
ul, ol { list-style: none; }
img, picture, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }

/* ── 2. DESIGN TOKENS (CSS custom properties) ─────────────────────────── */

:root {
    /* Ghana flag — used as deliberate accent strips and category cards */
    --gh-red:        #CE1126;
    --gh-red-dark:   #A50E1F;
    --gh-gold:       #FCD116;
    --gh-gold-dark:  #C9A50C;
    --gh-green:      #006B3F;
    --gh-green-dark: #004F2D;

    /* Carbon grayscale */
    --gray-10:  #F4F4F4;
    --gray-20:  #E0E0E0;
    --gray-30:  #C6C6C6;
    --gray-40:  #A8A8A8;
    --gray-50:  #8D8D8D;
    --gray-60:  #6F6F6F;
    --gray-70:  #525252;
    --gray-80:  #393939;
    --gray-90:  #262626;
    --gray-100: #161616;

    /* Brand surfaces */
    --bg-canvas:    #F6F3E8;   /* warm cream — bottom of deck slides */
    --bg-page:      #FFFFFF;
    --bg-card:      #FFFFFF;
    --bg-subtle:    #FAFAFA;
    --bg-inverse:   #0F1419;   /* near-black header for Pro/App previews */
    --bg-inverse-2: #08210F;   /* very dark green — used for badges/featured states */

    --border:       #E0E0E0;
    --border-dark:  #C6C6C6;
    --border-focus: var(--gh-green);

    --text-primary:   #0F172A;
    --text-secondary: #525252;
    --text-muted:     #6F6F6F;
    --text-inverse:   #FFFFFF;
    --text-link:      #0F62FE;   /* IBM Blue 60 */

    /* Semantic */
    --success:        #198038;
    --success-bg:     #DEFBE6;
    --warning:        #B28600;
    --warning-bg:     #FFF4D6;
    --danger:         #DA1E28;
    --danger-bg:      #FFD7D9;

    /* Typography */
    --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

    /* Type scale */
    --fs-display:  44px;
    --fs-h1:       32px;
    --fs-h2:       24px;
    --fs-h3:       18px;
    --fs-body:     14px;
    --fs-small:    12px;
    --fs-micro:    11px;

    --lh-tight: 1.15;
    --lh-snug:  1.35;
    --lh-base:  1.5;

    /* Spacing — 8px baseline */
    --s-1:  4px;
    --s-2:  8px;
    --s-3:  12px;
    --s-4:  16px;
    --s-5:  24px;
    --s-6:  32px;
    --s-7:  48px;
    --s-8:  64px;

    /* Radius — Carbon prefers small radii (2-4px). Cards 8px. Pills full. */
    --r-1: 2px;
    --r-2: 4px;
    --r-3: 8px;
    --r-pill: 999px;

    /* Elevation — Carbon is restrained; one drop shadow for cards is enough. */
    --shadow-1: 0 1px 2px rgba(15, 23, 42, .04), 0 0 0 1px rgba(15, 23, 42, .04);
    --shadow-2: 0 4px 12px rgba(15, 23, 42, .06), 0 0 0 1px rgba(15, 23, 42, .04);
    --shadow-3: 0 12px 32px rgba(15, 23, 42, .10), 0 0 0 1px rgba(15, 23, 42, .04);

    /* Motion */
    --ease:  cubic-bezier(0.2, 0, 0.38, 0.9);
    --dur-1: 110ms;
    --dur-2: 240ms;
    --dur-3: 400ms;
}

/* ── 3. BASE ──────────────────────────────────────────────────────────── */

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

body {
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    line-height: var(--lh-base);
    color: var(--text-primary);
    background: var(--bg-page);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    line-height: var(--lh-tight);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { line-height: var(--lh-base); }
small { font-size: var(--fs-small); color: var(--text-secondary); }

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

/* ── 4. GHANA TRICOLOR ACCENT STRIP (signature element across the deck) ─── */

.gh-strip {
    display: flex;
    width: 88px;
    height: 6px;
    border-radius: var(--r-1);
    overflow: hidden;
    margin-bottom: var(--s-5);
}
.gh-strip > span { flex: 1; }
.gh-strip > span:nth-child(1) { background: var(--gh-red); }
.gh-strip > span:nth-child(2) { background: var(--gh-gold); }
.gh-strip > span:nth-child(3) { background: var(--gh-green); }

.gh-strip-lg { width: 120px; height: 8px; }

/* ── 5. LAYOUT ────────────────────────────────────────────────────────── */

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--s-5);
}
.container-narrow { max-width: 960px; }
.container-wide   { max-width: 1600px; }

.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
@media (max-width: 1024px) {
    .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
}

.stack > * + * { margin-top: var(--s-4); }
.stack-sm > * + * { margin-top: var(--s-2); }
.stack-lg > * + * { margin-top: var(--s-6); }

.row { display: flex; align-items: center; gap: var(--s-3); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.row-wrap { flex-wrap: wrap; }
.col { display: flex; flex-direction: column; gap: var(--s-3); }

/* ── 6. UTILITIES ─────────────────────────────────────────────────────── */

.muted    { color: var(--text-muted); }
.secondary{ color: var(--text-secondary); }
.center   { text-align: center; }
.right    { text-align: right; }
.bold     { font-weight: 600; }
.tabular  { font-variant-numeric: tabular-nums; }
.eyebrow  {
    font-size: var(--fs-micro);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gh-red);
    font-weight: 600;
}
.eyebrow-green { color: var(--gh-green); }
.eyebrow-gold  { color: var(--gh-gold-dark); }
.eyebrow-dark  { color: var(--text-secondary); }
.display-text  { font-size: var(--fs-display); line-height: 1.1; letter-spacing: -0.025em; font-weight: 700; }
.lede          { font-size: 16px; color: var(--text-secondary); max-width: 720px; line-height: 1.55; }

.hide-on-mobile { display: initial; }
@media (max-width: 768px) {
    .hide-on-mobile { display: none !important; }
    .display-text   { font-size: 32px; }
    h1              { font-size: 26px; }
}

/* ── 7. CARDS ─────────────────────────────────────────────────────────── */

.card {
    background: var(--bg-card);
    border-radius: var(--r-3);
    box-shadow: var(--shadow-1);
    padding: var(--s-5);
}
.card-lg { padding: var(--s-6); }
.card-flush { padding: 0; }

/* Tricolor-topped category card — the signature on slides 2, 17, 18 */
.card-accent {
    position: relative;
    overflow: hidden;
}
.card-accent::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 6px;
    background: var(--gh-green);
}
.card-accent.accent-red::before    { background: var(--gh-red); }
.card-accent.accent-gold::before   { background: var(--gh-gold); }
.card-accent.accent-green::before  { background: var(--gh-green); }

.card h3 + p { margin-top: var(--s-2); color: var(--text-secondary); }

/* ── 8. BUTTONS ───────────────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-2);
    height: 44px;
    padding: 0 20px;
    border-radius: var(--r-2);
    font-weight: 600;
    font-size: var(--fs-body);
    line-height: 1;
    cursor: pointer;
    transition: background var(--dur-1) var(--ease),
                color      var(--dur-1) var(--ease),
                box-shadow var(--dur-1) var(--ease),
                transform  var(--dur-1) var(--ease);
    white-space: nowrap;
    text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--gh-green); outline-offset: 2px; }
.btn[disabled], .btn.is-disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }

.btn-primary {
    background: var(--gh-green);
    color: var(--text-inverse);
}
.btn-primary:hover { background: var(--gh-green-dark); }

.btn-dark {
    background: var(--bg-inverse);
    color: var(--text-inverse);
}
.btn-dark:hover { background: #000; }

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--gray-10); }

.btn-danger {
    background: var(--danger);
    color: var(--text-inverse);
}
.btn-danger:hover { background: #B5181F; }

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
}
.btn-ghost:hover { background: var(--gray-10); }

.btn-link {
    background: transparent;
    color: var(--text-link);
    padding: 0;
    height: auto;
}
.btn-link:hover { text-decoration: underline; }

.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 15px; }
.btn-block { width: 100%; }

/* ── 9. FORMS ─────────────────────────────────────────────────────────── */

.field { display: flex; flex-direction: column; gap: var(--s-2); }
.label {
    font-size: var(--fs-small);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-secondary);
}
.input, .select, .textarea {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-bottom: 1px solid var(--gray-50);
    border-radius: var(--r-2);
    font-size: 15px;
    color: var(--text-primary);
    transition: border-color var(--dur-1) var(--ease),
                box-shadow var(--dur-1) var(--ease);
}
.textarea { height: auto; padding: 12px 14px; min-height: 96px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus {
    outline: none;
    border-color: var(--gh-green);
    box-shadow: 0 0 0 3px rgba(0, 107, 63, 0.15);
}
.input::placeholder { color: var(--gray-50); }
.input-error { border-color: var(--danger); }
.input-error:focus { box-shadow: 0 0 0 3px rgba(218, 30, 40, 0.15); }

.help { font-size: var(--fs-small); color: var(--text-muted); }

.checkbox, .radio {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2);
    cursor: pointer;
    font-size: var(--fs-body);
}
.checkbox input, .radio input { width: 18px; height: 18px; accent-color: var(--gh-green); }

/* Chip selector — used for property type / region in slide 5 */
.chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2);
    background: var(--gray-10);
    padding: var(--s-1);
    border-radius: var(--r-3);
}
.chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 18px;
    background: transparent;
    color: var(--text-secondary);
    border-radius: var(--r-2);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: background var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.chip:hover { background: var(--bg-card); color: var(--text-primary); }
.chip.is-active {
    background: var(--gh-green);
    color: var(--text-inverse);
    box-shadow: var(--shadow-1);
}

/* ── 10. BADGES, PILLS, STATUS DOTS ───────────────────────────────────── */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 24px;
    padding: 0 10px;
    border-radius: var(--r-pill);
    font-size: var(--fs-small);
    font-weight: 600;
    line-height: 1;
    background: var(--gray-10);
    color: var(--text-secondary);
    white-space: nowrap;
}
.badge-success { background: var(--success-bg);  color: var(--success); }
.badge-warn    { background: var(--warning-bg);  color: var(--warning); }
.badge-danger  { background: var(--danger-bg);   color: var(--danger); }
.badge-info    { background: #EDF5FF; color: #0043CE; }

/* Featured pill — pitch deck uses bright gold on dark green */
.badge-featured {
    background: var(--gh-gold);
    color: #3D2A00;
}

/* Verified Tier-1 badge — dark green chip with gold "Verified" mark */
.badge-tier1 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: var(--bg-inverse-2);
    color: #F5E29A;
    border-radius: var(--r-pill);
    font-size: var(--fs-small);
    font-weight: 600;
    line-height: 1;
}
.badge-tier1::before {
    content: '★';
    color: var(--gh-gold);
}

.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-success { background: var(--success); }
.dot-warn    { background: var(--warning); }
.dot-danger  { background: var(--danger); }

/* ── 11. KPI TILES (dashboard) ────────────────────────────────────────── */

.kpi {
    background: var(--bg-card);
    border-radius: var(--r-3);
    padding: var(--s-5);
    box-shadow: var(--shadow-1);
    position: relative;
    overflow: hidden;
}
.kpi-label {
    display: block;
    font-size: var(--fs-micro);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: var(--s-3);
}
.kpi-value {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}
.kpi-delta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: var(--s-3);
    font-size: var(--fs-small);
    color: var(--text-secondary);
    font-weight: 500;
}
.kpi-delta.is-up   { color: var(--success); }
.kpi-delta.is-down { color: var(--danger); }

/* Highlight KPI tile — dark green w/ gold value, used for Tax Rebate / Verified Operators */
.kpi-highlight {
    background: var(--bg-inverse-2);
    color: var(--text-inverse);
}
.kpi-highlight .kpi-label { color: var(--gh-gold); }
.kpi-highlight .kpi-value { color: #FFFFFF; }
.kpi-highlight .kpi-delta { color: rgba(255, 255, 255, 0.7); }

/* Top accent stripe on KPI cards (Ghana flag-colored separators) */
.kpi.kpi-red::before, .kpi.kpi-gold::before, .kpi.kpi-green::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
}
.kpi.kpi-red::before    { background: var(--gh-red); }
.kpi.kpi-gold::before   { background: var(--gh-gold); }
.kpi.kpi-green::before  { background: var(--gh-green); }

/* ── 12. TABLES ───────────────────────────────────────────────────────── */

.table-wrap {
    background: var(--bg-card);
    border-radius: var(--r-3);
    overflow: hidden;
    box-shadow: var(--shadow-1);
}
.table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--fs-body);
}
.table thead th {
    background: var(--bg-inverse);
    color: var(--text-inverse);
    text-align: left;
    font-size: var(--fs-small);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 14px 16px;
    white-space: nowrap;
}
.table tbody td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: var(--bg-subtle); }
.table .col-num { text-align: right; font-variant-numeric: tabular-nums; }
.table .row-title { font-weight: 600; color: var(--text-primary); }
.table .row-sub  { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ── 13. APP CHROME (top bar, side nav, page layout) ──────────────────── */

.app-shell { min-height: 100vh; background: var(--gray-10); }

.topbar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 var(--s-5);
    gap: var(--s-5);
    position: sticky; top: 0; z-index: 30;
}
.topbar-brand {
    display: flex; align-items: center; gap: var(--s-3);
    font-weight: 700; font-size: 15px;
}
.topbar-brand .gh-strip { margin-bottom: 0; width: 56px; height: 5px; }
.topbar-brand .brand-sub {
    font-size: 11px; font-weight: 500; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--text-secondary);
    border-left: 1px solid var(--border); padding-left: var(--s-3);
}
.topbar-nav {
    display: flex; gap: 2px; margin-left: var(--s-6);
}
.topbar-nav a {
    padding: 0 14px; height: 64px;
    display: inline-flex; align-items: center;
    font-size: var(--fs-body); color: var(--text-secondary);
    border-bottom: 2px solid transparent;
    transition: color var(--dur-1), border-color var(--dur-1);
}
.topbar-nav a:hover { color: var(--text-primary); text-decoration: none; }
.topbar-nav a.is-active {
    color: var(--text-primary);
    border-bottom-color: var(--gh-green);
    font-weight: 600;
}
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: var(--s-3); }

.page { padding: var(--s-6) var(--s-5) var(--s-8); }
.page-narrow { max-width: 960px; margin: 0 auto; }
.page-header { margin-bottom: var(--s-6); }
.page-title  { font-size: 28px; line-height: 1.2; margin-bottom: var(--s-2); }
.page-sub    { color: var(--text-secondary); font-size: 15px; max-width: 720px; }

/* ── 14. STEPPER (onboarding) ─────────────────────────────────────────── */

.stepper {
    display: flex; align-items: center;
    border-top: 2px solid var(--gh-green);
    background: var(--bg-card);
    border-radius: 0 0 var(--r-3) var(--r-3);
    overflow: hidden;
}
.stepper-item {
    flex: 1;
    padding: 14px var(--s-4);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    border-right: 1px solid var(--border);
}
.stepper-item:last-child { border-right: 0; }
.stepper-item.is-active { color: var(--text-primary); }
.stepper-item.is-done   { color: var(--gh-green); }

/* ── 15. TRUST PANEL ──────────────────────────────────────────────────── */

.trust-panel {
    background: #F1FAF4;
    border: 1px solid #C6E5D4;
    border-radius: var(--r-3);
    padding: var(--s-4);
}
.trust-panel h4 {
    font-size: var(--fs-small);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gh-green);
    margin-bottom: var(--s-3);
    font-weight: 700;
}
.trust-list { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.trust-list li::before { content: '✓ '; color: var(--gh-green); font-weight: 700; }

/* ── 16. NUDGE BANNER (compliance) ────────────────────────────────────── */

.nudge {
    display: flex; align-items: center; gap: var(--s-4);
    background: var(--warning-bg);
    border-left: 4px solid var(--gh-gold);
    border-radius: var(--r-2);
    padding: var(--s-4) var(--s-5);
    margin-top: var(--s-5);
}
.nudge-title  { font-weight: 700; color: var(--gray-100); margin-bottom: 2px; }
.nudge-body   { font-size: 13px; color: var(--text-secondary); }
.nudge .btn   { margin-left: auto; }

/* ── 17. AVATAR ───────────────────────────────────────────────────────── */

.avatar {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--gh-green);
    color: var(--text-inverse);
    font-weight: 600; font-size: 12px; line-height: 1;
    flex-shrink: 0;
}
.avatar-md { width: 40px; height: 40px; font-size: 14px; }
.avatar-lg { width: 56px; height: 56px; font-size: 18px; }

/* ── 18. AUTH / SPLIT SCREENS ─────────────────────────────────────────── */

.auth-screen { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) {
    .auth-screen { grid-template-columns: 1fr; }
    .auth-screen .auth-art { display: none; }
}
.auth-art {
    background:
        radial-gradient(120% 80% at 20% 0%, rgba(252, 209, 22, 0.20), transparent 60%),
        radial-gradient(120% 80% at 80% 100%, rgba(0, 107, 63, 0.40), transparent 60%),
        linear-gradient(160deg, var(--gh-red) 0%, var(--gh-red-dark) 70%);
    color: var(--text-inverse);
    padding: var(--s-8) var(--s-7);
    display: flex; flex-direction: column; justify-content: space-between;
    position: relative; overflow: hidden;
}
.auth-art::after {
    content: '★';
    position: absolute; right: -40px; bottom: -60px;
    font-size: 360px; line-height: 1;
    color: rgba(15, 20, 25, 0.18);
    pointer-events: none;
}
.auth-art h1 { color: var(--text-inverse); font-size: 44px; max-width: 460px; }
.auth-art .lede { color: rgba(255, 255, 255, 0.85); max-width: 420px; margin-top: var(--s-4); }
.auth-form-wrap {
    display: flex; align-items: center; justify-content: center;
    padding: var(--s-7);
}
.auth-form { width: 100%; max-width: 420px; }
.auth-form h2 { font-size: 28px; margin-bottom: var(--s-2); }
.auth-form .lede { margin-bottom: var(--s-6); }

/* ── 19. FOOTER ───────────────────────────────────────────────────────── */

.footer {
    background: var(--bg-canvas);
    color: var(--text-secondary);
    padding: var(--s-7) 0 var(--s-5);
    font-size: 13px;
    border-top: 1px solid #ECE7D8;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--s-6);
    margin-bottom: var(--s-6);
}
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
.footer h4 {
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: var(--s-3);
}
.footer ul li { padding: 4px 0; }
.footer-bottom {
    border-top: 1px solid #ECE7D8;
    padding-top: var(--s-4);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-3);
    font-size: 12px;
}

/* ── 20. ALERT (form errors etc.) ─────────────────────────────────────── */

.alert {
    padding: 12px var(--s-4);
    border-radius: var(--r-2);
    font-size: 13px;
    margin-bottom: var(--s-4);
    border: 1px solid transparent;
}
.alert-error   { background: var(--danger-bg);  color: #75100A; border-color: #FFB3B7; }
.alert-success { background: var(--success-bg); color: #044317; border-color: #A7F0BA; }
.alert-info    { background: #EDF5FF; color: #0043CE; border-color: #BAE6FF; }

/* ── 21. RISK / DECISION BADGE (check-in) ─────────────────────────────── */

.risk-card {
    background: var(--bg-inverse-2);
    color: var(--text-inverse);
    border-radius: var(--r-3);
    padding: var(--s-5);
    display: flex; align-items: center; justify-content: space-between;
}
.risk-card .eyebrow { color: var(--gh-gold); }
.risk-value {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    color: var(--gh-gold);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.04em;
}

/* ── 22. PROGRESS BAR ─────────────────────────────────────────────────── */

.progress {
    width: 100%; height: 8px;
    background: var(--gray-20);
    border-radius: var(--r-pill);
    overflow: hidden;
}
.progress > span {
    display: block; height: 100%;
    background: var(--gh-green);
    border-radius: var(--r-pill);
    transition: width var(--dur-3) var(--ease);
}
.progress-bar-row { display: flex; align-items: center; gap: var(--s-3); }
.progress-bar-row .progress { flex: 1; }
.progress-bar-row .progress-num {
    min-width: 36px; text-align: right;
    font-size: 13px; font-variant-numeric: tabular-nums; color: var(--text-secondary);
}

/* Per-row coloured progress for the "Guests by origin" chart */
.progress.is-red    > span { background: var(--gh-red); }
.progress.is-gold   > span { background: var(--gh-gold); }
.progress.is-gray   > span { background: var(--gray-50); }

/* ── 23. MAP STAGE (tourist app and gov dashboard) ────────────────────── */

.map-stage {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r-3);
    padding: var(--s-5);
    min-height: 320px;
    position: relative;
}
.map-pin {
    position: absolute;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    color: var(--text-inverse);
    font-weight: 700;
    font-size: 11px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform var(--dur-1) var(--ease);
}
.map-pin:hover { transform: scale(1.08); }
.map-pin.is-green { background: var(--gh-green); }
.map-pin.is-gold  { background: var(--gh-gold); color: #3D2A00; }
.map-pin.is-red   { background: var(--gh-red); }
.map-pin.is-gray  { background: var(--gray-50); }

/* ── 24. NAVIGATION (sidebar) ─────────────────────────────────────────── */

.sidebar {
    width: 240px;
    background: var(--bg-card);
    border-right: 1px solid var(--border);
    padding: var(--s-5) var(--s-3);
    height: calc(100vh - 64px);
    position: sticky; top: 64px;
}
.side-link {
    display: flex; align-items: center; gap: var(--s-3);
    padding: 10px 12px;
    border-radius: var(--r-2);
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 2px;
}
.side-link:hover { background: var(--gray-10); color: var(--text-primary); text-decoration: none; }
.side-link.is-active {
    background: rgba(0, 107, 63, 0.08);
    color: var(--gh-green);
    font-weight: 600;
}

.layout-with-sidebar { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 64px); }
@media (max-width: 900px) {
    .layout-with-sidebar { grid-template-columns: 1fr; }
    .sidebar { display: none; }
}

/* ── 25. ANIMATIONS ───────────────────────────────────────────────────── */

@keyframes akwaaba-fade-up {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: akwaaba-fade-up var(--dur-3) var(--ease) both; }
.animate-in.delay-1 { animation-delay: 60ms; }
.animate-in.delay-2 { animation-delay: 120ms; }
.animate-in.delay-3 { animation-delay: 180ms; }
.animate-in.delay-4 { animation-delay: 240ms; }

/* ── 26. PROPERTY / LISTING CARD (tourist app) ────────────────────────── */

.listing {
    background: var(--bg-card);
    border-radius: var(--r-3);
    overflow: hidden;
    box-shadow: var(--shadow-1);
    transition: box-shadow var(--dur-2) var(--ease), transform var(--dur-2) var(--ease);
}
.listing:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.listing-img {
    aspect-ratio: 16 / 10;
    background: linear-gradient(160deg, #0A4D2E, #006B3F);
    position: relative;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255, 255, 255, 0.4); font-size: 14px;
}
.listing-img .featured-pill {
    position: absolute; top: 12px; left: 12px;
    background: var(--gh-gold); color: #3D2A00;
    padding: 4px 10px; border-radius: var(--r-pill);
    font-size: 12px; font-weight: 700;
}
.listing-body { padding: var(--s-4); }
.listing-title { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.listing-meta  { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; }
.listing-price {
    display: flex; align-items: baseline; gap: 6px;
    padding-top: var(--s-3);
    border-top: 1px solid var(--border);
}
.listing-price .num { font-size: 18px; font-weight: 700; color: var(--gh-green); font-variant-numeric: tabular-nums; }
.listing-price .unit { font-size: 12px; color: var(--text-muted); }

/* ── 27. TRAVELLER ID CARD (trip wallet — slide 15) ───────────────────── */

.traveller-id {
    background: linear-gradient(160deg, var(--gh-red) 0%, var(--gh-gold) 60%, var(--gh-green) 100%);
    color: var(--text-inverse);
    border-radius: var(--r-3);
    padding: var(--s-5);
    position: relative;
    overflow: hidden;
}
.traveller-id::after {
    content: '★';
    position: absolute; right: -10px; bottom: -40px;
    font-size: 200px; color: rgba(15, 20, 25, 0.15);
    line-height: 1;
}
.traveller-id .eyebrow { color: rgba(255, 255, 255, 0.85); }
.traveller-id h3 { color: var(--text-inverse); font-size: 22px; }
.traveller-id .meta-row {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4);
    margin-top: var(--s-5);
    font-size: 12px;
}
.traveller-id .meta-row strong { display: block; font-size: 14px; }

/* ── 28. PRINT ───────────────────────────────────────────────────────── */

@media print {
    .topbar, .sidebar, .footer, .btn { display: none !important; }
    body { background: #fff; }
    .card, .kpi { box-shadow: none; border: 1px solid var(--border); }
}
