/* The company web site's one stylesheet (MAGAPP-809). System fonts only; light and dark
   follow the reader's device setting. */

:root {
    color-scheme: light dark;
    --bg: #ffffff;
    --text: #1d1d1f;
    --muted: #5c5f66;
    --line: #e2e2e6;
    --link: #0b57d0;
    --placeholder-bg: #fff3c4;
    --placeholder-text: #5a4300;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #121214;
        --text: #ececef;
        --muted: #a5a5ad;
        --line: #2d2d33;
        --link: #8ab4f8;
        --placeholder-bg: #4a3a00;
        --placeholder-text: #ffe8a0;
    }
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
}

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

.wrap {
    max-width: 42rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.site-header {
    border-bottom: 1px solid var(--line);
}

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

.site-name {
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
}

nav a {
    margin-right: 1.25rem;
}

nav a:last-child {
    margin-right: 0;
}

nav a[aria-current="page"] {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
}

main {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

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

h2 {
    font-size: 1.25rem;
    line-height: 1.3;
    margin: 2rem 0 0.5rem;
}

.effective,
.tagline {
    color: var(--muted);
}

.placeholder {
    background: var(--placeholder-bg);
    color: var(--placeholder-text);
    border-radius: 0.25rem;
    padding: 0 0.25rem;
    font-weight: 600;
}

.contact dt {
    font-weight: 600;
    margin-top: 1rem;
}

.contact dd {
    margin: 0;
}

.site-footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.9375rem;
}

.site-footer .wrap {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
}

.site-footer nav a {
    margin-right: 0;
}

.copyright {
    margin: 1rem 0 0;
}
