@font-face {
  font-family: Editorial;
  src: url("editorial.9a123b80287a.woff") format("woff");
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fcf7e9;
  --sheet: #fffcf2;
  --ink: #263529;
  --muted: #51604e;
  --line: #d3c7a7;
  --green: #38532d;
  --light-green: #e5ebd4;
  --sand: #eee3c6;
  --gold: #eac472;
  --focus: #934315;
  --serif: Editorial, Georgia, serif;
  --base: system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 18px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.62 var(--base); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .19em; }
a:hover { text-decoration-thickness: 2px; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
h1, h2, h3 { overflow-wrap: break-word; line-height: 1.14; }
h1 { font-size: clamp(2.35rem, 5.2vw, 4.55rem); letter-spacing: -.064em; }
h2 { font-size: clamp(1.57rem, 3.2vw, 2.55rem); letter-spacing: -.048em; }
h3 { font-size: 1.15rem; letter-spacing: -.025em; }
p { overflow-wrap: break-word; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: absolute; top: 12px; left: 12px; z-index: 9; background: var(--sheet); padding: 9px 13px; transform: translateY(-160%); }
.skip:focus { transform: none; }
.eyebrow { color: var(--green); font-size: .76rem; line-height: 1.45; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; }
.lead { font-size: clamp(1rem, 2vw, 1.18rem); color: var(--muted); max-width: 62ch; }
.arrow { white-space: nowrap; }
.underline { text-decoration: underline; }
.subtle { color: var(--muted); }
.text-link { color: var(--green); font-weight: 700; }

.topline { background: #e8ead8; font-size: .78rem; }
.topline .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 35px; }
.topline a { font-weight: 700; }
.head { border-bottom: 1px solid var(--line); }
.head .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 17px; gap: 15px 27px; }
.brand { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; line-height: 1.16; }
.brand img { width: 49px; flex: none; }
.brand strong { display: block; font-weight: 780; }
.brand small { display: block; color: var(--muted); margin-top: 3px; font-size: .78rem; }
.head nav { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 22px; font-size: .88rem; font-weight: 680; }
.head nav a { text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.head nav a:hover, .head nav [aria-current] { text-decoration: underline; }
.head nav [aria-current] { color: var(--green); }
.button { display: inline-flex; justify-content: center; gap: 15px; align-items: center; min-height: 46px; padding: 10px 16px; border: 1px solid var(--green); border-radius: 4px; background: var(--green); color: #fffbea; font-weight: 700; line-height: 1.24; text-decoration: none; cursor: pointer; }
.button:hover { background: #2b4221; }
.button.secondary { color: var(--green); background: transparent; border-color: var(--line); }
.button.secondary:hover { background: var(--sand); }
.button.small { min-height: 39px; font-size: .87rem; }

.home-hero {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,.82fr);
  grid-template-areas: "intro folder" "search folder";
  column-gap: clamp(24px,6vw,76px);
  row-gap: 22px;
  padding-block: 46px 39px;
}
.hero-intro { grid-area: intro; }
.home-hero h1 { font-weight: 840; line-height: .99; }
.home-hero h1 em { display: block; color: #526640; font-style: normal; }
.home-hero .lead { margin-top: 15px; max-width: 40ch; }
.home-hero .actions { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 19px; }
.folder-visual {
  grid-area: folder;
  position: relative;
  min-height: 280px;
  display: grid;
  isolation: isolate;
  align-self: start;
  width: min(100%,454px);
  margin-inline: auto;
}
.folder-back, .folder-front, .folder-card { position: absolute; border: 1px solid #74643c; border-radius: 7px; }
.folder-back { inset: 29% 3% 7%; background: #d5ac61; z-index: -4; }
.folder-back::before { content: ""; position: absolute; top: -19px; left: -1px; width: 41%; height: 28px; border: 1px solid #74643c; border-bottom: 0; border-radius: 8px 8px 0 0; background: #d5ac61; }
.folder-card { position: absolute; padding: 13px 15px; height: 64%; transform: rotate(var(--tilt)); }
.folder-card-first { --tilt: -7deg; inset: 13% 17% auto 11%; z-index: -3; background: #fff8df; }
.folder-card-second { --tilt: 7deg; inset: 11% 8% auto 22%; z-index: -2; background: #e1e8c8; }
.folder-card-third { --tilt: -1deg; inset: 28% 12% auto 15%; z-index: -1; background: #fbf1d6; }
.folder-card span { display: block; color: #3e5137; font: clamp(1rem,2.1vw,1.52rem)/1.2 var(--serif); }
.folder-front { inset: 51% 2% 5%; background: var(--gold); box-shadow: 0 15px 20px #815d271a; display: grid; place-items: center; }
.folder-front span { color: #34412b; background: #f8e9b6; border: 1px solid #897849; padding: 8px 13px; text-align: center; }
.search-panel { grid-area: search; min-width: 0; padding: 13px 15px; border: 1px solid var(--line); background: var(--sheet); border-radius: 4px; }
.search-panel label { display: block; font-weight: 750; margin-bottom: 5px; }
.search-panel input { width: 100%; min-height: 45px; color: var(--ink); background: #fffdfa; border: 1px solid #988e73; padding: 8px 11px; border-radius: 3px; }
.search-panel .hint { font-size: .77rem; color: var(--muted); margin-top: 5px; }
.search-list { list-style: none; padding: 0; }
.search-list li { margin-top: 4px; border-top: 1px solid var(--line); }
.search-list a { display: block; padding: 7px 1px 4px; font-weight: 700; }
.search-list small { display: block; color: var(--muted); font-weight: 500; }
.facts { display: flex; gap: 12px 24px; flex-wrap: wrap; padding-block: 12px; border-block: 1px solid var(--line); color: var(--muted); font-size: .86rem; }
.facts strong { color: var(--green); margin-right: 3px; font-size: 1rem; }
.block { margin-block: 35px 46px; }
.block-head { display: flex; justify-content: space-between; align-items: end; gap: 15px; margin-bottom: 16px; }
.block-head .lead { font-size: .94rem; }
.topic-list, .index-list, .card-list { list-style: none; padding: 0; }
.topic-list { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; }
.topic-list a { display: flex; flex-direction: column; gap: 5px; min-height: 108px; height: 100%; border: 1px solid var(--line); background: var(--sand); border-radius: 4px; padding: 13px; text-decoration: none; }
.topic-list a:hover { background: var(--light-green); }
.topic-list strong { display: block; font-size: .99rem; line-height: 1.24; }
.topic-list small { display: block; color: var(--muted); font-size: .79rem; line-height: 1.32; }
.topic-list .arrow { margin-top: auto; color: var(--green); }
.index-list { border: 1px solid var(--line); background: var(--sheet); border-radius: 4px; }
.index-list li + li { border-top: 1px solid var(--line); }
.index-list a { display: grid; grid-template-columns: minmax(95px, .65fr) minmax(0,1.5fr) minmax(0,1.14fr) 1.25rem; align-items: center; gap: 9px 16px; padding: 13px 15px; text-decoration: none; }
.index-list a:hover { background: #f1e9d2; }
.index-list a:hover strong { text-decoration: underline; }
.index-list .arrow { justify-self: end; }
.index-list strong { line-height: 1.3; }
.index-list .desc { color: var(--muted); font-size: .88rem; line-height: 1.46; }
.card-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.card-list a { display: flex; gap: 8px; flex-direction: column; height: 100%; background: var(--sheet); border: 1px solid var(--line); border-radius: 4px; padding: 14px; text-decoration: none; }
.card-list a:hover { background: #f1e9d2; }
.card-list strong { line-height: 1.3; }
.card-list .desc { color: var(--muted); font-size: .89rem; }
.card-list .arrow { margin-top: auto; }
.feature-list { grid-template-columns: repeat(4,minmax(0,1fr)); }
.feature-list img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; background: var(--sand); border-radius: 2px; }

.crumbs { padding-block: 17px 6px; color: var(--muted); font-size: .82rem; }
.crumbs ol { display: flex; align-items: baseline; gap: 3px 10px; flex-wrap: wrap; list-style: none; padding: 0; }
.crumbs li { display: flex; gap: 10px; align-items: baseline; }
.crumbs li + li::before { content: "/"; color: #776a4c; }
.page-top { padding-block: 21px 20px; border-bottom: 1px solid var(--line); }
.page-top h1 { margin-block: 8px 12px; max-width: 20ch; }
.page-top .lead { max-width: 67ch; }
.section-notes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid var(--line); margin-top: 19px; }
.section-notes p { padding: 11px 13px; font-size: .92rem; color: var(--muted); }
.section-notes p + p { border-left: 1px solid var(--line); }
.read-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px,.34fr); gap: clamp(20px,5vw,65px); align-items: start; margin-block: 25px 45px; }
.read-body { min-width: 0; max-width: 806px; }
.read-body section + section { margin-top: 30px; }
.read-body h2 { margin-bottom: 10px; }
.read-body p + p { margin-top: 11px; }
.read-body p + ul, .read-body p + ol { margin-top: 9px; }
.read-body ul, .read-body ol { padding-inline-start: 25px; }
.read-body li + li { margin-top: 7px; }
.read-body .sources { font-size: .91rem; }
.cover { margin: 0 0 24px; }
.cover img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; background: var(--sand); border-radius: 2px; }
.comparison { border-collapse: collapse; width: 100%; background: var(--sheet); }
.comparison th, .comparison td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .92rem; }
.comparison thead { background: var(--light-green); }
.toc { position: sticky; top: 20px; padding: 14px; background: var(--sheet); border: 1px solid var(--line); }
.toc summary { font-size: 1.04rem; cursor: pointer; font-weight: 750; }
.toc[open] summary { margin-bottom: 7px; }
.toc ul { padding: 0; list-style: none; }
.toc li + li { margin-top: 5px; }
.toc a { display: block; color: var(--muted); font-size: .88rem; line-height: 1.35; padding: 4px 0; }
.read-body details { border-bottom: 1px solid var(--line); padding: 9px 3px; }
.read-body summary { cursor: pointer; font-weight: 700; }
.read-body details p { margin: 7px 0 4px 15px; color: var(--muted); }
.inline-callout { border: 1px solid var(--line); background: var(--light-green); padding: 13px 15px; margin-block: 21px; }
.inline-callout a { color: var(--green); font-weight: 750; }
.document-text { border: 1px solid var(--line); background: var(--sheet); padding: 15px; white-space: pre-wrap; overflow-wrap: anywhere; font: 1rem/1.55 var(--serif); margin: 12px 0; }
.document-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.document-actions output { display: block; width: 100%; color: var(--muted); font-size: .86rem; }
.simple-content { max-width: 790px; margin-block: 22px 43px; }
.contact-box { margin-block: 18px; background: var(--light-green); border: 1px solid var(--line); padding: 16px; }
.contact-box a { overflow-wrap: anywhere; }
.map-group + .map-group { margin-top: 21px; }
.foot { margin-top: 42px; border-top: 1px solid var(--line); background: #f1e9d5; }
.foot .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 14px 30px; padding-block: 21px; }
.foot nav { display: flex; gap: 6px 15px; flex-wrap: wrap; align-items: start; }
.foot p { color: var(--muted); font-size: .85rem; }
.foot a { font-size: .86rem; }
.foot .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 10px; }

.checklist-banner { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; padding: clamp(15px,3vw,27px); background: var(--light-green); border: 1px solid var(--line); border-radius: 4px; }
.checklist-banner p { margin-top: 7px; color: var(--muted); }
.checklist-banner .button { flex-shrink: 0; }
.checklist-content { max-width: 800px; margin-block: 20px 38px; }
.checklist-jump, .checklist-related, .checklist-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.checklist-jump { margin-bottom: 14px; }
.checklist-jump a { min-height: 40px; padding: 7px 12px; border: 1px solid var(--line); background: var(--sand); border-radius: 4px; font-weight: 650; text-decoration: none; }
.checklist-jump a:hover { background: var(--light-green); }
.checklist-panels { display: grid; gap: 9px; margin-top: 13px; }
.checklist-panel { border: 1px solid var(--line); background: var(--sheet); border-radius: 4px; }
.checklist-panel:target { border-color: var(--green); }
.checklist-panel summary { min-height: 44px; padding: 9px 13px; cursor: pointer; font-weight: 740; }
.checklist-panel[open] summary { border-bottom: 1px solid var(--line); background: var(--light-green); }
.checklist-body { padding: 13px; }
.checklist-body fieldset { padding: 0; margin: 12px 0; min-width: 0; border: 0; }
.checklist-body legend { padding: 0; font-weight: 680; }
.checklist-body ul { padding: 0; list-style: none; }
.checklist-body label { display: flex; gap: 10px; align-items: baseline; padding-block: 7px; min-height: 42px; border-bottom: 1px solid var(--line); cursor: pointer; }
.checklist-body input { flex: none; margin: 0; width: 18px; height: 18px; accent-color: var(--green); }
.checklist-actions { align-items: center; margin-block: 13px 15px; }
.checklist-actions output { font-size: .9rem; font-weight: 680; margin-inline-end: 6px; }
.checklist-actions button:disabled { opacity: .55; cursor: default; }
.checklist-related { gap: 7px 17px; }
.article-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.article-gallery figure { display: grid; grid-template-rows: auto 1fr; background: var(--sheet); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.article-gallery img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; background: var(--sand); }
.article-gallery figcaption { padding: 10px; font-size: .88rem; color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  .folder-card { animation: file-rise .85s cubic-bezier(.21,.72,.24,1) both; }
  .folder-card-second { animation-delay: .13s; }
  .folder-card-third { animation-delay: .26s; }
  @keyframes file-rise {
    from { transform: translateY(28px) rotate(0deg); }
    76% { transform: translateY(-3px) rotate(var(--tilt)); }
    to { transform: rotate(var(--tilt)); }
  }
}
@media (max-width: 960px) {
  .wrap { width: calc(100% - 48px); }
  .head .wrap { flex-wrap: wrap; gap: 7px 17px; }
  .head nav { gap: 0 13px; }
  .feature-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .topic-list { grid-template-columns: repeat(6,minmax(0,1fr)); }
  .topic-list li { grid-column: span 2; }
  .topic-list li:nth-last-child(-n+2) { grid-column: span 3; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .topline .wrap { align-items: baseline; min-height: 35px; padding-block: 4px; }
  .head .wrap { padding-block: 11px; }
  .head nav { font-size: .79rem; }
  .head nav a { min-height: 31px; }
  .home-hero { grid-template-columns: minmax(0,1fr); grid-template-areas: "intro" "folder" "search"; padding-block: 22px 18px; gap: 13px; }
  .home-hero .lead { margin-top: 12px; }
  .home-hero .actions { margin-top: 12px; }
  .folder-visual { min-height: clamp(158px,43vw,226px); width: min(100%,365px); }
  .folder-card { padding: 11px 12px; }
  .topic-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .topic-list li, .topic-list li:nth-last-child(-n+2) { grid-column: span 1; }
  .topic-list li:last-child { grid-column: 1 / -1; }
  .topic-list a { min-height: 90px; padding: 10px; }
  .block { margin-block: 25px 33px; }
  .block-head { align-items: start; flex-direction: column; gap: 6px; margin-bottom: 10px; }
  .index-list a { grid-template-columns: minmax(0,1fr) auto; gap: 5px 8px; padding: 10px; }
  .index-list a .desc { grid-column: 1; }
  .index-list .arrow { grid-column: 2; grid-row: 1 / span 3; }
  .card-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .card-list a { padding: 10px; }
  .page-top h1 { font-size: clamp(2rem, 7vw, 2.8rem); }
  .read-layout { grid-template-columns: 1fr; gap: 13px; }
  .toc { grid-row: 1; position: static; }
  .section-notes { grid-template-columns: 1fr; }
  .section-notes p + p { border-left: 0; border-top: 1px solid var(--line); }
  .checklist-banner { flex-direction: column; align-items: start; }
  .foot .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .article-gallery { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 440px) {
  .topline .wrap { font-size: .74rem; gap: 6px; }
  .card-list { grid-template-columns: minmax(0,1fr); }
  .home-hero .actions .button { min-height: 41px; padding: 8px 11px; gap: 8px; font-size: .87rem; }
}

.tool-jump { margin-top: 18px; }
.route-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.route-cards a { font-weight: 680; line-height: 1.4; }
.route-list { display: grid; gap: 15px; margin-block: 17px 40px; }
.route-case { border: 1px solid var(--line); border-radius: 4px; background: var(--sheet); padding: clamp(14px, 3vw, 26px); scroll-margin-top: 18px; }
.route-case:target { border-color: var(--green); }
.route-case h2 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); margin-bottom: 13px; }
.route-case dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 0; margin-block: 12px; }
.route-case dt { font-weight: 730; }
.route-case dd { margin: 3px 0 0; color: var(--muted); }
.route-case li + li { margin-top: 6px; }
.route-case li a { color: var(--green); }
.inline-callout h2 { font-size: 1.35rem; margin-bottom: 8px; }
#wage-calculator { margin-block: 15px; }
.calculator-fields, .payment-row { min-width: 0; border: 1px solid var(--line); border-radius: 4px; padding: 12px; margin: 0 0 12px; background: var(--sheet); }
.calculator-fields legend, .payment-row legend { padding-inline: 4px; font-weight: 690; }
.calculator-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 12px; align-items: end; }
.calculator-grid label { min-width: 0; display: grid; gap: 5px; color: var(--ink); font-weight: 630; font-size: .92rem; }
.calculator-grid input { display: block; width: 100%; min-width: 0; padding: 7px 8px; min-height: 42px; border: 1px solid #8e886f; border-radius: 3px; background: #fff; color: var(--ink); font-weight: 450; }
.calculator-fields .document-actions { margin-top: 12px; }
.payment-row { margin-top: 10px; }
.payment-row .calculator-grid { margin-bottom: 0; }
.calculator-error { color: #8a271e; }
.calculator-result output { display: block; font-size: 1.25rem; font-weight: 740; }
.calculator-result p { margin-block: 8px 11px; font-size: .87rem; }
.table-scroll { overflow-x: auto; margin-top: 10px; }
.compensation-table { border-collapse: collapse; width: 100%; min-width: 460px; font-size: .87rem; }
.compensation-table th, .compensation-table td { padding: 7px; border-bottom: 1px solid var(--line); text-align: left; }
.tool-related { margin-top: 16px; }
@media (max-width: 960px) { .route-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .route-cards, .route-case dl, .calculator-grid { grid-template-columns: minmax(0, 1fr); }
}

.analytics-pixel { position: absolute; left: -9999px; width: 1px; height: 1px; }
.privacy-notice { position: fixed; z-index: 20; bottom: 12px; right: 12px; max-width: 560px; width: calc(100% - 24px); display: flex; gap: 14px; align-items: center; padding: 12px 16px; background: var(--sheet); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 4px 18px #0002; border-radius: 5px; }
.privacy-notice[hidden] { display: none; }
.privacy-notice p { margin: 0; font-size: .875rem; line-height: 1.5; }
.privacy-notice .button { flex-shrink: 0; }
@media (max-width: 440px) { .privacy-notice { align-items: flex-start; flex-direction: column; gap: 8px; } }
