/* PhonePoint UK - High-Contrast Statutory Audit & Technical Layout */
:root {
    --primary: #1d4ed8;
    --primary-dark: #1e40af;
    --accent: #0284c7;
    --text-main: #0f172a;
    --text-muted: #475569;
    --border: #cbd5e1;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --success: #15803d;
    --hsbc-red: #db0011;
    --tag-bg: #eff6ff;
    --tag-text: #1d4ed8;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text-main);
    background-color: #f1f5f9;
    line-height: 1.5;
    font-size: 14px;
}
.gov-compliance-bar {
    background-color: #0f172a;
    color: #f8fafc;
    padding: 8px 24px;
    font-size: 12px;
    border-bottom: 2px solid var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.gov-compliance-bar span { font-weight: 500; }
.gov-badge {
    background: #15803d;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}
header {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.brand-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.brand-sub {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: normal;
    display: block;
}
nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
    flex-wrap: wrap;
}
nav a {
    color: var(--text-main);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    border: 1px solid transparent;
}
nav a:hover, nav a.active {
    background: var(--bg-light);
    border-color: var(--border);
    color: var(--primary);
}
.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 16px;
}
.stat-ribbon {
    background: #0f172a;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    border-left: 6px solid var(--primary);
    font-size: 13px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}
.stat-ribbon .item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.stat-ribbon .label {
    color: #94a3b8;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.stat-ribbon .val {
    color: #38bdf8;
    font-weight: 800;
}
.card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 24px;
    margin-bottom: 20px;
}
.card-header {
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 12px;
    margin-bottom: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.card-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.disclosure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.disclosure-box {
    background: #f8fafc;
    border: 2px solid #94a3b8;
    border-radius: 6px;
    padding: 18px;
    border-left: 6px solid var(--primary);
}
.disclosure-box.highlight {
    background: #eff6ff;
    border-color: #3b82f6;
    border-left: 6px solid #1d4ed8;
}
.disclosure-box.gold {
    background: #fefce8;
    border-color: #eab308;
    border-left: 6px solid #ca8a04;
}
.disclosure-title {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.disclosure-content {
    font-size: 13px;
    color: #334155;
    line-height: 1.6;
}
.disclosure-val {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 6px 0;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}
.stat-box {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 16px;
    border-left: 4px solid var(--primary);
}
.stat-label { font-size: 11px; color: var(--text-muted); font-weight: 700; text-transform: uppercase; }
.stat-val { font-size: 24px; font-weight: 800; color: var(--text-main); margin-top: 4px; }
.stat-desc { font-size: 12px; color: var(--success); font-weight: 600; margin-top: 4px; }

table.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}
table.data-table th {
    background: #f1f5f9;
    color: #334155;
    font-weight: 700;
    padding: 12px;
    border-bottom: 2px solid var(--border);
    text-transform: uppercase;
    font-size: 11px;
}
table.data-table td {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}
table.data-table tr:hover {
    background: #f8fafc;
}
.badge-clean {
    background: #dcfce7;
    color: #15803d;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}
.badge-blue {
    background: #dbeafe;
    color: #1d4ed8;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}
.badge-red {
    background: #fee2e2;
    color: #b91c1c;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 24px 16px;
    font-size: 12px;
    border-top: 1px solid #1e293b;
    margin-top: 40px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
