:root {
    --bg: #f4f6f8;
    --panel: #ffffff;
    --line: #d7dde5;
    --text: #1f2933;
    --muted: #667085;
    --accent: #1f4f80;
    --accent-dark: #183a5c;
    --nav-bg: #163047;
    --nav-hover: rgba(255, 255, 255, 0.10);
    --max-width: 1080px;
    --radius: 12px;
    --shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

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

a:hover {
    text-decoration: underline;
}

.site-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.site-header {
    background: linear-gradient(180deg, #234866, #183149);
    color: #fff;
    padding: 1.3rem 0 1.1rem;
}

.site-title-row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
}

.site-kicker {
    margin: 0 0 0.3rem;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.82);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.site-title {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
}

.site-home-link a {
    color: #fff;
    font-size: 0.95rem;
}

.site-nav {
    background: var(--nav-bg);
}

.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
}

.site-nav li a {
    display: block;
    color: #fff;
    padding: 0.9rem 0.95rem;
}

.site-nav li.active a,
.site-nav li a:hover {
    background: var(--nav-hover);
    text-decoration: none;
}

.page-content {
    flex: 1;
    padding-top: 0.75rem;
    padding-bottom: 1.25rem;
}

.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.25rem 1.35rem;
    margin-bottom: 1.2rem;
}

.card h2,
.card h3 {
    margin-top: 0;
    color: var(--accent-dark);
}

.lead {
    font-size: 1.06rem;
    color: var(--text);
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.tool-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.2rem 1.25rem;
    display: flex;
    flex-direction: column;
}

.tool-card h3 {
    margin-top: 0;
    margin-bottom: 0.65rem;
    color: var(--accent-dark);
}

.tool-card p {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--muted);
}

.tool-card .button {
    margin-top: auto;
}

.button {
    display: inline-block;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--accent);
    color: var(--accent);
    background: #fff;
}

.button:hover {
    background: #eef4fa;
    text-decoration: none;
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #eef2f6;
    color: var(--muted);
    font-size: 0.94rem;
    padding: 1rem 0;
}

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

@media (max-width: 700px) {
    .site-title-row {
        flex-direction: column;
        align-items: start;
    }
}

.disclaimer {
    margin-top: 0.4rem;
    font-size: 0.85rem;
    color: var(--muted);
}
