﻿:root {
    --bg: #f6f7fb;
    --text: #111827;
    --muted: #4b5563;
    --line: #e5e7eb;
    --card: #ffffff;
    --sidebar: #f3efe6;
    --accent: #0b6b3a;
    --accentBlue: #2563eb;
    --shadow: 0 8px 20px rgba(17,24,39,.08);
    --r: 10px;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Top bar */
.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255,255,255,.92);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.topbarInner {
    max-width: 1220px;
    margin: 0 auto;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

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

.logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #fff;
    background: linear-gradient(135deg, var(--accent), #38b000);
}

.brandName {
    font-weight: 800;
}

.brandSub {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}

.linkTop {
    color: var(--accentBlue);
    text-decoration: none;
    font-weight: 600;
}

/* Page layout */
.page {
    max-width: 1220px;
    margin: 0 auto;
    padding: 8px 16px 12px;
}

.grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 18px;
    align-items: start;
}

/* Panels (each scrolls independently) */
.leftPanel {
    background: var(--sidebar);
    border: 1px solid #e6e0d4;
    border-radius: var(--r);
    padding: 16px 16px 0;
    height: calc(100vh - 92px);
    overflow: auto;
}

.rightPanel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: 16px;
    height: calc(100vh - 92px);
    overflow: auto;
}

/* Titles */
.panelTitle {
    font-size: 20px;
    font-weight: 800;
    margin: 2px 0 10px;
}

/* Form */
.form h3 {
    margin: 10px 0 4px;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #374151;
}

label {
    display: block;
    margin: 6px 0;
    font-size: 13px;
}

input, select {
    width: 100%;
    padding: 8px 10px;
    margin-top: 4px;
    border-radius: 6px;
    border: 1px solid #cfcfcf;
    background: #ffffff;
    color: var(--text);
    outline: none;
}

    input:focus, select:focus {
        border-color: rgba(37,99,235,.55);
        box-shadow: 0 0 0 4px rgba(37,99,235,.12);
    }

.row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.row3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
}

.check {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .check input {
        width: auto;
        margin: 0;
    }

/* Sticky actions in left panel */
.leftSticky {
    position: sticky;
    bottom: 0;
    background: var(--sidebar);
    border-top: 1px solid #e6e0d4;
    padding: 12px 0 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.btn {
    border: 0;
    border-radius: 6px;
    padding: 8px 12px;
    font-weight: 800;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
}

    .btn:disabled {
        opacity: .65;
        cursor: not-allowed;
    }

.btnGhost {
    border: 1px solid #94a3b8;
    border-radius: 6px;
    padding: 8px 12px;
    font-weight: 800;
    background: #f1f5f9;
    color: #475569;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
}

.btnGhost:hover {
    background: #e2e8f0;
    border-color: #64748b;
    color: #1e293b;
}

.status {
    margin-left: auto;
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
}

.error {
    margin: 12px 0 14px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(220,38,38,.25);
    background: rgba(220,38,38,.06);
    color: #7f1d1d;
}

/* Accounts List */
.accountsList {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.accountRow {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 13px;
}

.accountRowName {
    font-weight: 700;
    color: #111827;
    min-width: 80px;
    flex-shrink: 0;
}

.accountRowInfo {
    flex: 1;
    color: #374151;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.accountRowActions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

/* Legacy card kept for backward compat */
.accountCard {
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 10px;
}

.btnSmall {
    border: 0;
    background: none;
    color: var(--accentBlue);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
}

.btnSmall:hover {
    text-decoration: underline;
}

.btnDanger {
    color: #6b7280;
    border: 1px solid #d1d5db;
    background: transparent;
    border-radius: 4px;
    padding: 2px 8px;
    transition: color .15s, border-color .15s, background .15s;
}

.btnDanger:hover {
    color: #b91c1c;
    background: #fff5f5;
    border-color: #fca5a5;
}

.btnClearAll {
    border: 1px solid #fb923c;
    background: #fff7ed;
    color: #9a3412;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: color .15s, border-color .15s, background .15s;
}

.btnClearAll:hover {
    background: #9b2226;
    border-color: #9b2226;
    color: #fff;
}

.btnSecondary {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 8px 12px;
    font-weight: 700;
    background: #fff;
    color: #374151;
    cursor: pointer;
    font-size: 13px;
}

.btnSecondary:hover {
    background: #f9fafb;
}

/* ── Spending step subtitle row ───────────────────────────────── */
.btnEstimate {
    flex-shrink: 0;
    border: 1px solid var(--accentBlue);
    background: transparent;
    color: var(--accentBlue);
    border-radius: 6px;
    padding: 5px 11px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s, color .15s;
}
.btnEstimate:hover {
    background: var(--accentBlue);
    color: #fff;
}

/* ── Spending step — prerequisite row ────────────────────────── */
.spendingPrereqs {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-end;
    padding: 12px 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 12px;
}

.estRequired { color: #dc2626; }

/* ── Spending step — mode-choice buttons row ─────────────────── */
.spendingActionRow {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.btnProvide {
    flex-shrink: 0;
    border: 1px solid #6b7280;
    background: transparent;
    color: #374151;
    border-radius: 6px;
    padding: 5px 11px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s, color .15s;
}
.btnProvide:hover {
    background: #374151;
    color: #fff;
}

.btnEstimate:disabled,
.btnProvide:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* ── Expense Estimator Panel ──────────────────────────────────── */
#expenseEstimatorPanel {
    margin-top: 12px;
    margin-bottom: 4px;
}

.estimatorInner {
    border: 1px solid #c7d2fe;
    border-radius: 10px;
    background: #f8faff;
    overflow: hidden;
}

.estimatorTitleBar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #eef2ff;
    border-bottom: 1px solid #c7d2fe;
    padding: 10px 14px;
}

.estimatorTitle {
    font-size: 13px;
    font-weight: 700;
    color: #3730a3;
}

.estimatorCloseBtn {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 16px;
    cursor: pointer;
    line-height: 1;
    padding: 0 2px;
}
.estimatorCloseBtn:hover { color: #111; }

.estimatorControls {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding: 12px 14px;
    border-bottom: 1px solid #e0e7ff;
    background: #fff;
}

.estCtrlLabel {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
}

.estSelect {
    font-size: 13px;
    padding: 4px 8px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    color: #111827;
    cursor: pointer;
    min-width: 170px;
}

.estSegment {
    display: flex;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    overflow: hidden;
}

.estSegBtn {
    flex: 1;
    background: #fff;
    border: none;
    border-right: 1px solid #d1d5db;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    color: #4b5563;
    cursor: pointer;
    white-space: nowrap;
    transition: background .12s, color .12s;
}
.estSegBtn:last-child { border-right: none; }
.estSegBtn.active {
    background: var(--accentBlue);
    color: #fff;
    font-weight: 600;
}
.estSegBtn:not(.active):hover { background: #f3f4f6; }

.estHealthNote {
    font-size: 11px;
    color: #92400e;
    background: #fffbeb;
    border-top: 1px solid #fde68a;
    border-bottom: 1px solid #fde68a;
    padding: 6px 14px;
}

.estRows {
    padding: 6px 14px 10px;
}

.estSectionHeader {
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin: 12px 0 4px;
}
.estSectionHeader:first-child { margin-top: 6px; }

.estRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 0;
    border-bottom: 1px solid #f0f0f0;
}
.estRow:last-child { border-bottom: none; }

.estRowHidden { display: none !important; }

.estLabel {
    font-size: 13px;
    color: #374151;
    flex: 1;
}

.estInputWrap {
    display: flex;
    align-items: center;
    gap: 3px;
}

/* Annual expenses single-input field */
.annualExpenseField {
    margin-top: 14px;
    margin-bottom: 4px;
}
.annualExpenseWrap .estInput {
    width: 130px;
}
.annualExpenseWrap .estMo {
    width: auto;
}

.estDollar {
    font-size: 12px;
    color: #6b7280;
}

.estInput {
    width: 76px;
    text-align: right;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    padding: 3px 6px;
    font-size: 13px;
    color: #111827;
    background: #fff;
}
.estInput:focus { outline: none; border-color: var(--accentBlue); }

/* hide browser spinners */
.estInput::-webkit-inner-spin-button,
.estInput::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.estInput[type=number] { -moz-appearance: textfield; }

.estMo {
    font-size: 11px;
    color: #9ca3af;
    width: 24px;
}

.estimatorFooter {
    border-top: 1px solid #c7d2fe;
    background: #eef2ff;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.estimatorTotals {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.estTotalRow {
    display: flex;
    gap: 10px;
    font-size: 13px;
    color: #374151;
    align-items: baseline;
}
.estTotalRow strong { color: #1e1b4b; font-size: 14px; }

.estTotalAnnual strong { font-size: 16px; }

.estimatorActions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.accountSummary {
    padding: 10px;
    background: #f9fafb;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.summaryLine {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 12px;
}

.summaryTotal {
    font-weight: 700;
    padding-top: 6px;
    margin-top: 4px;
    border-top: 1px solid #d1d5db;
}

.summaryAmount {
    font-weight: 600;
}

/* Account Modal */
.accountModal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.accountModalContent {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
}

.modalTitleBar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.modalTitleBar h3 {
    margin: 0;
    font-size: 18px;
    text-transform: none;
    letter-spacing: normal;
}

.closeModal {
    border: 0;
    background: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--muted);
    padding: 0;
    width: 30px;
    height: 30px;
}

/* Right header / KPIs */
.rightHeader {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 14px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 10px;
    margin-bottom: 8px;
}

.mutedSmall {
    color: var(--muted);
    font-size: 12px;
}

.mutedTiny {
    color: var(--muted);
    font-size: 12px;
    margin-top: 8px;
}

.link {
    display: inline-block;
    margin-top: 8px;
    color: var(--accentBlue);
    text-decoration: none;
}

/* Results top bar: title left, KPIs right */
.results-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.results-top-title .wizard-page-title {
    font-size: 18px;
}

.results-kpi-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f9fafb;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px 16px;
    flex-shrink: 0;
}

.results-kpi-item {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.results-kpi-label {
    font-size: 11px;
    color: var(--muted);
    font-weight: 500;
    white-space: nowrap;
}

.results-kpi-value {
    font-size: 16px;
    font-weight: 900;
    color: #111827;
}

.results-kpi-sep {
    width: 1px;
    height: 32px;
    background: var(--line);
}

/* Compact inline stats in summary tab */
.results-inline-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    padding: 8px 12px;
    background: #f9fafb;
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-bottom: 10px;
}

.results-stat-label {
    color: var(--muted);
}

.results-stat-val {
    font-weight: 700;
    color: #111827;
}

.kpis {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 360px;
}

.kpiLabel {
    color: var(--muted);
    font-size: 13px;
}

.kpiValue {
    font-size: 24px;
    font-weight: 900;
    margin-top: 2px;
}

.kpiDivider {
    width: 1px;
    height: 38px;
    background: var(--line);
}

/* Tabs */
.tabs {
    display: flex;
    gap: 14px;
    border-bottom: 1px solid var(--line);
    margin: 8px 0 10px;
}

.tab {
    border: 0;
    background: transparent;
    padding: 8px 0;
    font-weight: 900;
    letter-spacing: .08em;
    font-size: 12px;
    color: #6b7280;
    cursor: pointer;
}

    .tab.active {
        color: var(--accent);
        border-bottom: 3px solid var(--accent);
        margin-bottom: -1px;
    }

/* Chart & table cards */
.chartCard {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px;
    background: #ffffff;
}

canvas {
    width: 100%;
    height: auto;
    display: block;
}

.summaryRow {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}

.metric {
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #ffffff;
    padding: 10px;
}

.metricLabel {
    color: var(--muted);
    font-size: 12px;
}

.metricValue {
    font-size: 16px;
    font-weight: 900;
    margin-top: 4px;
}

.tableCard {
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    background: #fff;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
    background: #fff;
}

th, td {
    padding: 8px 10px;
    border-bottom: 1px solid #eef2f7;
    font-size: 13px;
}

th {
    position: sticky;
    top: 0;
    background: #f3f4f6;
    text-align: left;
    z-index: 2;
}

.num {
    text-align: right;
}

tbody tr:hover {
    background: #f3f6ff;
}

/* Disclaimer */
.disclaimer {
    margin-top: 14px;
    border-top: 1px solid var(--line);
    padding-top: 12px;
}

    .disclaimer h3 {
        margin: 0 0 6px;
        font-size: 14px;
        letter-spacing: .08em;
        text-transform: uppercase;
    }

    .disclaimer p {
        margin: 0;
        color: var(--muted);
        line-height: 1.5;
    }

/* Responsive */
@media (max-width: 980px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .leftPanel, .rightPanel {
        height: auto;
        overflow: visible;
    }

    .kpis {
        min-width: 0;
    }

    .results-top-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .results-kpi-bar {
        width: 100%;
        justify-content: space-between;
    }

    .results-kpi-item {
        align-items: flex-start;
    }

    .results-inline-stats {
        flex-direction: column;
        gap: 6px;
    }

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

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

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


input.money {
    text-align: right;
    font-variant-numeric: tabular-nums;
    padding-right: 10px; /* 👈 helps a lot */
}

/* Help icon */
.help {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-left: 6px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    color: rgba(17, 24, 39, .9);
    background: rgba(17, 24, 39, .08);
}

    .help:hover {
        background: rgba(17, 24, 39, .14);
    }

/* Modal */
.modalBackdrop {
    position: fixed;
    inset: 0;
    background: rgba(17,24,39,.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 9999;
}

.modal {
    width: min(720px, 100%);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 18px 60px rgba(0,0,0,.25);
    overflow: hidden;
}

.modalHeader {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(17,24,39,.10);
}

.modalCategory {
    font-size: 12px;
    color: rgba(17,24,39,.60);
    margin-bottom: 4px;
}

.modalTitle {
    margin: 0;
    font-size: 18px;
    color: rgba(17,24,39,.92);
}

.modalClose {
    border: 0;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
    opacity: .7;
}

    .modalClose:hover {
        opacity: 1;
    }

.modalBody {
    padding: 16px 18px 18px;
}

.helpBlock {
    margin-bottom: 12px;
}

.helpLabel {
    font-size: 12px;
    font-weight: 700;
    color: rgba(17,24,39,.70);
    margin-bottom: 4px;
}

.helpText {
    font-size: 14px;
    color: rgba(17,24,39,.88);
    line-height: 1.35;
}

.helpGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 10px;
}

.helpFooter {
    display: flex;
    gap: 14px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(17,24,39,.10);
}

.helpLink {
    color: rgba(37,99,235,.95);
    text-decoration: none;
    font-weight: 600;
}

    .helpLink:hover {
        text-decoration: underline;
    }

@media (max-width: 640px) {
    .helpGrid {
        grid-template-columns: 1fr;
    }

    /* Account rows — stack on tiny screens */
    .accountRow {
        flex-wrap: wrap;
        gap: 4px;
    }

    .accountRowInfo {
        width: 100%;
        flex: none;
        white-space: normal;
        font-size: 12px;
        color: #6b7280;
    }

    .accountRowName {
        flex: 1;
        min-width: 0;
    }

    /* Modal — full width on mobile, edge-to-edge with safe margin */
    .accountModalContent {
        width: calc(100% - 24px);
        max-width: 100%;
        padding: 16px 14px;
        border-radius: 10px;
        max-height: 85vh;
    }

    /* Topbar — collapse sub-brand text, shrink nav links */
    .brandSub {
        display: none;
    }

    .topnav {
        gap: 6px;
    }

    .linkTop {
        font-size: 11px;
    }

    /* Hide lower-priority nav links; keep Calculator, Glossary, How it works */
    .topnav .linkTop:nth-child(n+4) {
        display: none;
    }

    /* Tighter page padding */
    .page {
        padding: 4px 8px 16px;
    }

    /* Prevent iOS auto-zoom on inputs (must be >= 16px) */
    input, select, textarea {
        font-size: 16px !important;
    }

    /* Canvas — scale down to fit screen */
    #chart {
        width: 100% !important;
        height: auto;
        display: block;
    }

    /* Results table — horizontal scroll on small screens */
    .tableCard {
        overflow-x: auto;
        max-width: 100%;
    }

    /* Results KPI bar — wrap so 3 items don't exceed 375px */
    .results-kpi-bar {
        flex-wrap: wrap;
        gap: 8px;
        padding: 8px 10px;
    }

    /* Hide separators when bar wraps */
    .results-kpi-sep {
        display: none;
    }

    .results-kpi-value {
        font-size: 14px;
    }

    .results-kpi-label {
        font-size: 10px;
    }

    /* Wizard nav buttons — don't force wide on small screen */
    .wizard-navigation {
        flex-wrap: wrap;
        gap: 8px;
    }

    .btn, .btnGhost {
        min-width: 0 !important;
        width: auto;
    }
}

.topnav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.linkTop.active {
    font-weight: 800;
    text-decoration: underline;
}

.contentPage {
    max-width: 980px;
    margin: 0 auto;
    padding: 18px;
}

    .contentPage h1 {
        margin-top: 8px;
    }

    .contentPage h2 {
        margin-top: 18px;
    }

    .contentPage p, .contentPage li {
        line-height: 1.45;
        color: rgba(17,24,39,.88);
    }

.brandLink {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

    .brandLink:focus-visible {
        outline: 3px solid rgba(37,99,235,.45);
        outline-offset: 6px;
        border-radius: 12px;
    }