/* Sarat Sonsuk — dark, minimal, table-driven (GitHub-dark monochrome) */
:root {
    --bg: #010409;
    --bg-card: #161b22;
    --border: #30363d;
    --text: #c9d1d9;
    --text-bright: #e6edf3;
    --text-muted: #8b949e;
    --text-faint: #6e7681;
    --accent: #58a6ff;
    --mono: ui-monospace, 'SF Mono', 'JetBrains Mono', 'Fira Code', Menlo, Consolas, monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: var(--mono);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}
.container { max-width: 820px; margin: 0 auto; padding: 3.5rem 1.5rem; }

/* header */
header { margin-bottom: 3rem; }
h1 { font-size: 1.7rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text-bright); }
.tagline { color: var(--accent); margin-top: 0.15rem; font-size: 0.95rem; }
.intro { color: var(--text-muted); margin-top: 0.9rem; max-width: 62ch; font-size: 0.95rem; }
.social { margin-top: 1.1rem; display: flex; gap: 1.25rem; flex-wrap: wrap; }
.social a { color: var(--accent); text-decoration: none; font-size: 0.9rem; }
.social a:hover { text-decoration: underline; }

/* sections */
section { margin-bottom: 2.25rem; }
h2 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-faint);
    font-weight: 600;
    margin-bottom: 0.6rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border);
}

/* tables */
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th {
    text-align: left;
    color: var(--text-faint);
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
}
td { padding: 0.55rem 0.75rem; border-bottom: 1px solid var(--border); vertical-align: top; }
tbody tr:last-child td { border-bottom: none; }
td a { color: var(--accent); text-decoration: none; }
td a:hover { text-decoration: underline; }
td strong { color: var(--text-bright); font-weight: 600; }

/* footer */
footer {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
}
footer a { color: var(--accent); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .copy { display: block; margin-top: 0.5rem; color: var(--text-faint); }

/* responsive */
@media (max-width: 600px) {
    .container { padding: 2.5rem 1.1rem; }
    table, th, td { font-size: 0.82rem; }
    th, td { padding: 0.45rem 0.5rem; }
    .intro { font-size: 0.9rem; }
}
