:root {
    --bg: #f3f0e8;
    --paper: #f7f4ec;
    --ink: #1c1a16;
    --muted: #3f3b34;
    --faint: #6b655c;
    --line: #ddd6c8;
    --line-strong: #c9c0b0;
    --accent: #1b3f32;
    --accent-hover: #132e25;
    --pick: #e7f0ea;
    --serif: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, "Liberation Serif", "Times New Roman", serif;
    --sans: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    --content: 68rem;
    --measure: 40rem;
    --toc: 13.25rem;
}

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

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--serif);
    font-size: 1.125rem;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--accent);
    text-underline-offset: 0.15em;
}

a:hover {
    color: var(--accent-hover);
}

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

.skip {
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
    transform: translateY(-150%);
    background: var(--ink);
    color: #fff;
    font-family: var(--sans);
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
    z-index: 10;
}

.skip:focus {
    transform: none;
}

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

.site-header-inner,
.page-intro,
.layout,
.site-footer-inner {
    width: min(var(--content), calc(100% - 2.5rem));
    margin-inline: auto;
}

.site-header-inner {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    min-height: 3.5rem;
    padding-block: 0.85rem;
}

.wordmark {
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--ink);
    text-decoration: none;
}

.wordmark:hover {
    color: var(--ink);
}

.updated {
    margin: 0;
    font-family: var(--sans);
    font-size: 0.8125rem;
    color: var(--muted);
}

.page-intro {
    padding-top: 2.75rem;
    padding-bottom: 0.5rem;
}

@media (min-width: 861px) {
    .page-intro {
        padding-left: calc(var(--toc) + 3rem);
    }
}

.kicker {
    margin: 0 0 0.75rem;
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}

h1 {
    margin: 0;
    max-width: 18ch;
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.08;
}

.dek {
    max-width: 42rem;
    margin: 1.1rem 0 0;
    font-size: 1.25rem;
    line-height: 1.5;
    color: var(--muted);
}

.layout {
    display: grid;
    grid-template-columns: var(--toc) minmax(0, 1fr);
    gap: 3rem;
    padding-top: 2rem;
    padding-bottom: 4rem;
    align-items: start;
}

.toc {
    position: sticky;
    top: 1.25rem;
}

.toc-label {
    margin: 0 0 0.7rem;
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--faint);
}

.toc ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc li + li {
    margin-top: 0.45rem;
}

.toc a {
    font-family: var(--sans);
    font-size: 0.875rem;
    line-height: 1.35;
    color: var(--muted);
    text-decoration-thickness: 1px;
    text-decoration-color: transparent;
}

.toc a:hover {
    color: var(--ink);
    text-decoration-color: currentColor;
}

.article {
    min-width: 0;
}

.article section {
    margin-top: 3.25rem;
    scroll-margin-top: 1.25rem;
}

.article section:first-child {
    margin-top: 0;
}

h2 {
    margin: 0 0 0.85rem;
    max-width: 22ch;
    font-size: clamp(1.7rem, 3vw, 2.05rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

h3 {
    margin: 1.6rem 0 0.4rem;
    font-size: 1.28rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

p,
ul,
ol {
    max-width: var(--measure);
}

p {
    margin: 0.8rem 0 0;
}

ul,
ol {
    margin: 0.8rem 0 0;
    padding-left: 1.2rem;
}

li + li {
    margin-top: 0.35rem;
}

.steps {
    list-style: decimal;
}

.fax-btn {
    display: inline-block;
    margin-top: 1.15rem;
    padding: 0.55rem 0.85rem;
    background: var(--accent);
    color: #fff;
    font-family: var(--sans);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    border-radius: 3px;
}

.fax-btn:hover {
    background: var(--accent-hover);
    color: #fff;
}

.flow {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    max-width: var(--measure);
}

.flow li {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    column-gap: 0.9rem;
    position: relative;
    padding-bottom: 1.2rem;
}

.flow li:last-child {
    padding-bottom: 0;
}

.flow li:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 1.22rem;
    top: 2.55rem;
    bottom: 0.15rem;
    width: 1px;
    background: var(--line-strong);
}

.flow-num {
    width: 2.5rem;
    height: 2.5rem;
    margin-top: 0.1rem;
    display: grid;
    place-items: center;
    border: 1px solid var(--accent);
    border-radius: 50%;
    background: var(--bg);
    color: var(--accent);
    font-family: var(--sans);
    font-size: 0.875rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.flow h3 {
    margin: 0.15rem 0 0.2rem;
    font-size: 1.15rem;
}

.flow p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.walkthrough {
    margin: 0;
    padding: 0;
    list-style: none;
    max-width: none;
}

.walkthrough > li {
    margin-top: 2.25rem;
}

.walkthrough h3 {
    margin-top: 0;
}

.figure {
    margin: 0.9rem 0 0;
    max-width: min(46rem, 100%);
}

.figure img {
    display: block;
    width: 100%;
    height: auto;
    background: #fff;
    border: 1px solid var(--line);
}

.figure figcaption {
    margin-top: 0.45rem;
    max-width: var(--measure);
    font-family: var(--sans);
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--muted);
}

.scroll-hint {
    display: none;
    margin: 0.75rem 0 0;
    font-family: var(--sans);
    font-size: 0.8125rem;
    color: var(--faint);
}

.table-wrap {
    max-width: 100%;
    margin-top: 1.1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid var(--line-strong);
}

table {
    width: 100%;
    min-width: 44rem;
    border-collapse: collapse;
    font-family: var(--sans);
    font-size: 0.875rem;
    line-height: 1.45;
}

caption {
    caption-side: bottom;
    text-align: left;
    padding-top: 0.7rem;
    color: var(--faint);
    font-size: 0.8125rem;
}

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

thead th {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--faint);
}

tbody th {
    font-weight: 600;
    color: var(--ink);
}

.table-wrap tbody th {
    position: sticky;
    left: 0;
    background: var(--bg);
    z-index: 1;
    box-shadow: 1px 0 0 var(--line);
}

.pick td,
.table-wrap tbody tr.pick th {
    background: var(--pick);
}

.pick-label {
    display: block;
    margin-bottom: 0.15rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.note {
    margin-top: 0.9rem;
    font-size: 0.98rem;
    color: var(--muted);
}

.faq {
    margin-top: 0.4rem;
    max-width: var(--measure);
}

.faq details {
    border-top: 1px solid var(--line);
}

.faq details:last-child {
    border-bottom: 1px solid var(--line);
}

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 0;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "";
    flex: 0 0 auto;
    width: 0.45rem;
    height: 0.45rem;
    margin-right: 0.2rem;
    border-right: 1.5px solid var(--ink);
    border-bottom: 1.5px solid var(--ink);
    transform: rotate(45deg);
}

.faq details[open] summary::after {
    transform: rotate(-135deg);
    margin-top: 0.3rem;
}

.faq details p {
    margin: 0 0 1rem;
    color: var(--muted);
}

.sources {
    list-style: none;
    padding: 0;
    max-width: var(--measure);
}

.sources li {
    margin-top: 0.55rem;
    font-size: 1rem;
}

.sources span {
    display: block;
    font-family: var(--sans);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--faint);
}

.site-footer {
    border-top: 1px solid var(--line);
    padding-block: 1.75rem 2.5rem;
}

.site-footer p {
    margin: 0.4rem 0 0;
    max-width: 40rem;
    font-family: var(--sans);
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--muted);
}

.site-footer p:first-child {
    margin-top: 0;
    color: var(--ink);
    font-weight: 600;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 860px) {
    body {
        font-size: 1.0625rem;
    }

    .site-header-inner,
    .page-intro,
    .layout,
    .site-footer-inner {
        width: min(100% - 2rem, var(--content));
    }

    .page-intro {
        padding-top: 1.75rem;
    }

    .layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.5rem;
        padding-top: 1.5rem;
    }

    .toc {
        position: static;
        padding-bottom: 0.25rem;
        border-bottom: 1px solid var(--line);
    }

    .toc ol {
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem 0.9rem;
    }

    .toc li + li {
        margin-top: 0;
    }

    .scroll-hint {
        display: block;
    }

    h1 {
        max-width: none;
    }
}

@media print {
    body {
        background: #fff;
        font-size: 11pt;
    }

    .site-header,
    .toc,
    .fax-btn,
    .skip {
        display: none;
    }

    .layout {
        display: block;
    }

    a {
        color: inherit;
        text-decoration: none;
    }
}
