:root {
    --ink: #0d1b2a;
    --ink-soft: #46586b;
    --brand: #0f3460;
    --brand-bright: #1560a8;
    --accent: #00a6a6;
    --accent-warm: #e0803c;
    --paper: #f6f8fb;
    --line: #dfe6ee;
}

html { scroll-behavior: smooth; }

body {
    color: var(--ink);
    font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 { font-weight: 650; letter-spacing: -0.015em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.25; }
p  { color: var(--ink-soft); }

a { color: var(--brand-bright); text-decoration: none; }
a:hover { color: var(--brand); text-decoration: underline; }

/* ---------- header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.brand-mark {
    display: inline-grid; place-items: center;
    width: 34px; height: 34px; border-radius: 9px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
    color: #fff; font-weight: 800; font-size: 1.15rem; line-height: 1;
}
.brand-name { font-weight: 750; color: var(--ink); letter-spacing: -0.02em; }
.brand-sub  { font-size: .68rem; color: var(--ink-soft); letter-spacing: .02em; }
.navbar-nav .nav-link { color: var(--ink-soft); font-weight: 550; font-size: .94rem; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--brand); }

/* ---------- buttons ---------- */
.btn-primary { background: var(--brand); border-color: var(--brand); font-weight: 600; }
.btn-primary:hover, .btn-primary:focus { background: var(--brand-bright); border-color: var(--brand-bright); }
.btn-outline-light-brand { border: 1px solid rgba(255,255,255,.5); color: #fff; font-weight: 600; }
.btn-outline-light-brand:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- sections ---------- */
.section { padding: 4.5rem 0; }
.section-tight { padding: 3rem 0; }
.section-paper { background: var(--paper); }
.eyebrow {
    text-transform: uppercase; letter-spacing: .12em; font-size: .74rem;
    font-weight: 700; color: var(--accent);
}
.lede { font-size: 1.12rem; color: var(--ink-soft); }

.hero {
    background: linear-gradient(150deg, var(--brand) 0%, #123f77 45%, #0b6b74 100%);
    color: #fff; padding: 5rem 0 4.5rem;
}
.hero h1, .hero h2 { color: #fff; }
.hero p { color: rgba(255,255,255,.86); }
.hero .eyebrow { color: #7fe3e0; }

/* ---------- cards ---------- */
.card-flat {
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 1.6rem; height: 100%;
}
.card-flat h3 { font-size: 1.06rem; margin-bottom: .5rem; }
.card-flat p:last-child { margin-bottom: 0; }

.stat { border-left: 3px solid var(--accent); padding-left: 1rem; }
.stat-value { font-size: 1.9rem; font-weight: 750; color: var(--brand); line-height: 1.1; }
.stat-label { font-size: .86rem; color: var(--ink-soft); }

/* ---------- flow / steps ---------- */
.step { display: flex; gap: 1rem; margin-bottom: 1.6rem; }
.step-num {
    flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
    background: var(--brand); color: #fff; display: grid; place-items: center;
    font-weight: 700; font-size: .95rem;
}
.step h4 { font-size: 1rem; margin-bottom: .25rem; }
.step p { margin-bottom: 0; font-size: .95rem; }

/* ---------- tables ---------- */
.table-clean { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.table-clean table { margin-bottom: 0; }
.table-clean thead th {
    background: var(--paper); font-size: .78rem; text-transform: uppercase;
    letter-spacing: .06em; color: var(--ink-soft); font-weight: 700; border-bottom: 1px solid var(--line);
}
.table-clean td, .table-clean th { padding: .7rem .9rem; vertical-align: top; }

/* ---------- notes ---------- */
.note {
    border-left: 3px solid var(--accent-warm); background: #fff8f1;
    padding: 1rem 1.15rem; border-radius: 0 10px 10px 0; font-size: .94rem;
}
.note strong { color: var(--ink); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 3rem 0 2rem; margin-top: 0; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: #fff; }
.footer-head { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75rem; }
.footer-rule { border-color: rgba(255,255,255,.14); margin: 2rem 0 1.25rem; }

@media (max-width: 991.98px) {
    .section { padding: 3rem 0; }
    .hero { padding: 3.5rem 0 3rem; }
}
