:root {
    --text: #2b3137;
    --muted: #4b5563;
    --accent: #1059b3;
    --border: #e1e4e8;
    --bg: #fafbfc;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    margin: 0;
    padding: 40px 16px 56px;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

main {
    max-width: 820px;
    margin: 0 auto;
}

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

a:hover,
a:focus {
    text-decoration: underline;
}

h1,
h2,
h3 {
    color: #1a1f24;
}

h1 {
    font-size: 2.5rem;
    margin: 0 0 0.5rem;
}

h2 {
    font-size: 1.5rem;
    margin: 2rem 0 0.5rem;
}

h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 0.5rem;
}

p {
    margin: 0.75rem 0;
}

ul {
    padding-left: 20px;
    margin: 0.5rem 0 0;
}

section {
    margin-top: 2rem;
}

.centered {
    text-align: center;
}

.lead {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.cta,
.button {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent);
    border-radius: 6px;
    color: var(--accent);
    font-weight: 600;
}

.hero {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: var(--muted);
    margin: 0;
}

.subtitle {
    margin: 0;
    font-size: 1rem;
    color: var(--muted);
}

.cta-row {
    margin-top: 0.75rem;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tools {
    margin-top: 2rem;
    text-align: left;
}

.tool-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.tool-card,
.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.tool-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
}

.tool-card p {
    margin: 0.25rem 0 0.5rem;
}

.tool-card .url {
    font-size: 0.95rem;
    word-break: break-all;
}

.card-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
}

.card h3 {
    margin: 0 0 0.25rem;
    font-size: 1.1rem;
}

.affiliation-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 12px;
}

.affiliation-list li {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    line-height: 1.5;
}

.org-name {
    font-weight: 700;
    margin: 0;
}

.org-roles {
    margin: 0.2rem 0 0;
    font-size: 0.95rem;
    color: var(--muted);
}

@media (max-width: 560px) {
    .affiliation-list {
        grid-template-columns: 1fr;
    }
}

.tip {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 40px;
    background: #d2daee;
    color: var(--text);
    text-align: center;
    padding: 0.75rem 0.5rem;
    font-size: 1rem;
    box-shadow: 0 -2px 8px rgba(17, 24, 39, 0.06);
    z-index: 100;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #f1f1f1;
    text-align: center;
    padding: 10px 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 99;
}

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

.footer a:hover {
    text-decoration: underline;
}

.page-title {
    text-align: center;
}