/* === FlowRead — shared styles === */

:root {
    --bg: #0d1321;
    --bg-raised: #111b2d;
    --bg-alt: #0a1020;
    --ink: #ffffff;
    --muted: #7a8aa0;
    --accent: #f59e0b;
    --accent-hover: #fbbf24;
    --border: #1e2d45;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    color: var(--accent-hover);
}

img {
    max-width: 100%;
    display: block;
}

/* ── Wrap ── */
.wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Nav ── */
.site-nav {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.site-nav .inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink);
}

.nav-logo:hover {
    color: var(--ink);
}

.nav-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-links a {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 500;
    transition: color 0.15s;
}

.nav-links a:hover {
    color: var(--ink);
}

/* ── Footer ── */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 28px 0;
}

.site-footer .inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

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

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color 0.15s;
}

.footer-links a:hover {
    color: var(--ink);
}

/* ── Section label ── */
.section-label {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 14px;
    display: block;
}

/* ── Section heading ── */
.section-title {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

/* ── Card ── */
.card {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
}

/* ── Table ── */
.table-wrap {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 32px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
    text-align: left;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border);
}

table td {
    padding: 14px 20px;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    line-height: 1.5;
}

table tr:last-child td {
    border-bottom: none;
}

table td:first-child {
    font-weight: 600;
    width: 44%;
}

table td:last-child {
    color: var(--muted);
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .site-footer .inner {
        justify-content: center;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    table td,
    table th {
        padding: 12px 14px;
        font-size: 14px;
    }

    table td:first-child {
        width: 42%;
    }
}