/* The whole site. No framework, no third-party font, no tracker, no script. */

:root {
    color-scheme: light dark;
    --paper: #FAFAF8;
    --surface: #E3F0F2;
    --ink: #14161A;
    --ink-soft: #4A4F57;
    --brand: #0E4552;
    --on-brand: #FAFAF8;
    --border: #808997;
    --clear: #145A3C;
    --warn: #734400;
    --risk: #991E24;
    --none: #4B4F59;
}

@media (prefers-color-scheme: dark) {
    :root {
        --paper: #101317;
        --surface: #101317;
        --ink: #FAFAF8;
        --ink-soft: #999FAA;
        --brand: #E3F0F2;
        --on-brand: #08252C;
        --border: #5A626D;
        --clear: #29B478;
        --warn: #E68900;
        --risk: #E78287;
        --none: #999FAA;
    }
}

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

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Open Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
}

.skip {
    position: absolute;
    left: -9999px;
    top: 0;
}

.skip:focus {
    left: 0;
    z-index: 2;
    display: block;
    padding: 0.75rem 1rem;
    background: var(--brand);
    color: var(--on-brand);
    text-decoration: none;
}

a {
    color: var(--brand);
}

a:hover {
    text-decoration-thickness: 2px;
}

:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 2px;
}

.site-header,
main,
.site-footer {
    max-width: 44rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 48px;
    color: var(--ink);
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
}

.logo__wave {
    width: 2.25rem;
    height: 1.125rem;
    color: var(--clear);
}

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

.site-nav a {
    display: inline-block;
    min-height: 48px;
    padding: 0.75rem 0;
}

.site-nav__current {
    display: inline-block;
    min-height: 48px;
    padding: 0.75rem 0;
    font-weight: 700;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

main {
    padding-bottom: 3rem;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

h1 {
    margin: 0.5rem 0 1rem;
    font-size: 2rem;
    line-height: 1.25;
}

h2 {
    margin: 2.5rem 0 0.75rem;
    font-size: 1.5rem;
    line-height: 1.3;
}

h3 {
    margin: 1.75rem 0 0.5rem;
    font-size: 1.25rem;
    line-height: 1.35;
}

p,
ul,
ol,
dl {
    margin: 0 0 1rem;
}

li {
    margin-bottom: 0.5rem;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.5;
}

.meta {
    color: var(--ink-soft);
    font-size: 0.9375rem;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0 2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--brand);
    border-radius: 8px;
    background: var(--brand);
    color: var(--on-brand);
    font-size: 1.0625rem;
    font-weight: 700;
    text-decoration: none;
}

.button--secondary {
    background: transparent;
    color: var(--brand);
}

.callout {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border);
    border-left: 6px solid var(--brand);
    border-radius: 8px;
    background: var(--surface);
}

.callout > :last-child {
    margin-bottom: 0;
}

.callout--clear {
    border-left-color: var(--clear);
}

.callout--warn {
    border-left-color: var(--warn);
}

.callout--risk {
    border-left-color: var(--risk);
}

.quote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border);
    border-left: 6px solid var(--clear);
    border-radius: 8px;
    background: var(--surface);
    font-size: 1.125rem;
    font-weight: 700;
}

.verdicts {
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.verdicts li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}

.icon {
    flex: 0 0 auto;
    width: 1.375rem;
    height: 1.375rem;
    margin-top: 0.25rem;
}

.icon--clear {
    color: var(--clear);
}

.icon--warn {
    color: var(--warn);
}

.icon--risk {
    color: var(--risk);
}

.label--clear {
    color: var(--clear);
    font-weight: 700;
}

.label--warn {
    color: var(--warn);
    font-weight: 700;
}

.label--risk {
    color: var(--risk);
    font-weight: 700;
}

table {
    width: 100%;
    margin: 0 0 1.5rem;
    border-collapse: collapse;
}

caption {
    margin-bottom: 0.5rem;
    color: var(--ink-soft);
    font-size: 0.9375rem;
    text-align: left;
}

th,
td {
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

th {
    background: var(--surface);
}

.steps {
    padding-left: 1.25rem;
}

.site-footer {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
    border-top: 1px solid var(--border);
    color: var(--ink-soft);
    font-size: 0.9375rem;
}

.site-footer ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1rem;
    padding: 0;
    list-style: none;
}

.site-footer a {
    display: inline-block;
    min-height: 48px;
    padding: 0.75rem 0;
}

@media print {
    .skip,
    .site-nav,
    .actions,
    .site-footer ul {
        display: none;
    }

    body {
        background: #FFFFFF;
        color: #000000;
        font-size: 11pt;
    }
}
