:root {
  color-scheme: dark;
  --bg: #0b0d10;
  --panel: #161a1e;
  --charcoal: #24282e;
  --border: #30353d;
  --white: #f7f8fa;
  --muted: #a9b0b8;
  --green: #194a37;
  --mint: #b0d0bb;
  --gold: #c9a65d;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font:
    16px/1.7 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:hover {
  color: var(--mint);
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
a,
button,
input,
select,
textarea,
summary {
  outline-offset: 5px;
}
:focus-visible {
  outline: 2px solid var(--gold);
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
[hidden] {
  display: none !important;
}
img,
svg {
  max-width: 100%;
}
img {
  height: auto;
}
p {
  margin: 0 0 1.3em;
}
h1,
h2,
h3 {
  line-height: 1.12;
  margin: 0 0 0.65em;
  font-weight: 500;
}
h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(2.7rem, 5.3vw, 5.4rem);
  max-width: 1000px;
}
h2 {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
}
h3 {
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}
ul,
ol {
  padding-left: 1.3em;
}
li {
  margin: 0.45em 0;
}
.wrap {
  width: min(1240px, calc(100% - 64px));
  margin: auto;
}
.section {
  padding: 84px 0;
  border-top: 1px solid var(--border);
}
.eyebrow,
.label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--mint);
}
.eyebrow {
  margin-bottom: 24px;
}
.gold {
  color: var(--gold);
}
.muted,
.meta {
  color: var(--muted);
}
.meta {
  font-size: 0.8rem;
}
.lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #c5cbd0;
  max-width: 760px;
}
.page-intro {
  padding: 70px 0 58px;
}
.page-intro .lead {
  max-width: 730px;
}
.breadcrumb {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 35px;
}
.breadcrumb a {
  text-decoration: none;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: transparent;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}
.button:hover {
  border-color: var(--mint);
  background: #1b2520;
  color: white;
}
.button.primary {
  background: var(--green);
  border-color: #35674e;
}
.button.primary:hover {
  background: #265b44;
}
.button.light {
  background: #eae7dd;
  color: #18221b;
}
.button.small {
  padding: 7px 12px;
  min-height: 36px;
  font-size: 0.75rem;
}
.text-link {
  font-size: 0.9rem;
  font-weight: 600;
}
.hero {
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 90% 20%, #194a3733, transparent 55%);
}
.hero-layout {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 70px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.7rem, 4.8vw, 4.7rem);
  line-height: 1.04;
}
.hero .lead {
  font-size: 1rem;
  max-width: 580px;
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}
.live-dot {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}
.file-art {
  position: relative;
  padding: 22px 0 20px 20px;
}
.file-art:before {
  content: "";
  position: absolute;
  inset: 5px 10px 6px 35px;
  background: #294634;
  border: 1px solid #526448;
  transform: rotate(5deg);
}
.file-sheet {
  position: relative;
  background: #e7e5dc;
  color: #202a25;
  padding: 37px 32px 30px;
  box-shadow: 0 20px 50px #0005;
  transform: rotate(-3deg);
  min-height: 385px;
}
.file-sheet .stamp {
  font:
    10px/1.5 ui-monospace,
    monospace;
  letter-spacing: 0.1em;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #a7ada1;
  padding-bottom: 18px;
}
.file-sheet h2 {
  font-size: 2.5rem;
  line-height: 1.05;
  margin: 28px 0 20px;
}
.file-sheet p {
  font-size: 0.78rem;
  line-height: 1.7;
}
.file-sheet .rule {
  height: 5px;
  width: 70px;
  background: #194a37;
  margin: 24px 0;
}
.file-sheet .sheet-label {
  font:
    10px ui-monospace,
    monospace;
  border-top: 1px solid #a7ada1;
  padding-top: 20px;
}
.art-caption {
  font-size: 0.65rem;
  color: var(--muted);
  text-align: right;
  position: relative;
  margin: 20px 0 0;
}
.status-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  margin-top: 55px;
}
.status-strip > div {
  padding: 24px 28px;
  border-right: 1px solid var(--border);
}
.status-strip > div:last-child {
  border: 0;
}
.status-strip strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 1.4rem;
  font-weight: 400;
  margin-top: 5px;
}
.status-strip .meta {
  margin-top: 5px;
  display: block;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 35px;
}
.section-head h2 {
  margin: 0;
}
.section-head p {
  margin: 0;
  max-width: 450px;
  color: var(--muted);
  font-size: 0.9rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.card {
  border: 1px solid var(--border);
  background: var(--panel);
  padding: 28px;
  min-width: 0;
}
.card p {
  color: #bec4ca;
  font-size: 0.92rem;
}
.card .label {
  margin-bottom: 22px;
}
.card h3 a {
  text-decoration: none;
}
.card p:last-child {
  margin-bottom: 0;
}
.card-number {
  font:
    2.8rem Georgia,
    serif;
  color: #6c8775;
  display: block;
  margin-bottom: 28px;
}
.card-footer {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid var(--border);
}
.callout {
  padding: 28px 32px;
  border-left: 3px solid var(--gold);
  background: #c9a65d0b;
  margin: 28px 0;
}
.callout p:last-child {
  margin-bottom: 0;
}
.notice {
  font-size: 0.78rem;
  background: #171b18;
  border-bottom: 1px solid #364334;
  color: #c4cdc3;
  padding: 12px 0;
}
.notice .wrap {
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.notice strong {
  color: var(--gold);
  white-space: nowrap;
}
.notice p {
  margin: 0;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.article-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}
.index {
  position: sticky;
  top: 110px;
  border-top: 2px solid var(--green);
  padding-top: 20px;
  font-size: 0.8rem;
}
.index ol {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}
.index a {
  display: block;
  text-decoration: none;
  color: var(--muted);
  padding: 7px 0;
  line-height: 1.5;
}
.index a:hover {
  color: white;
}
.prose {
  max-width: 790px;
}
.prose h2 {
  font-size: 2.3rem;
}
.prose section {
  padding: 0 0 38px;
  margin: 0 0 38px;
  border-bottom: 1px solid var(--border);
}
.prose p {
  color: #c5cbd0;
}
.citations {
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tag {
  display: inline-block;
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid #3f5548;
  color: var(--mint);
  padding: 4px 8px;
  margin-bottom: 18px;
}
.tag.pending {
  color: var(--gold);
  border-color: #655737;
}
.timeline {
  border-left: 1px solid #3b5345;
  padding-left: 32px;
  margin: 30px 0;
}
.event {
  position: relative;
  padding: 0 0 30px;
}
.event:before {
  content: "";
  position: absolute;
  left: -37px;
  top: 7px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--mint);
  background: var(--bg);
  border-radius: 50%;
}
.event time {
  font:
    11px ui-monospace,
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--gold);
}
.event h3 {
  margin: 10px 0;
  font-size: 1.1rem;
}
.event p {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 680px;
}
.timeline details > summary {
  margin-left: -12px;
}
.timeline details .event {
  margin-top: 28px;
}
details {
  border-top: 1px solid var(--border);
  padding: 19px 0;
}
summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
summary:after {
  content: "+";
  position: absolute;
  right: 8px;
  color: var(--gold);
}
details[open] > summary:after {
  content: "−";
}
details > p,
details > .details-body {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
details .citations {
  margin-top: 15px;
}
.source-card {
  display: flex;
  flex-direction: column;
}
.source-card h3 {
  font:
    1.5rem/1.25 Georgia,
    serif;
  letter-spacing: -0.02em;
}
.source-card .description {
  flex: 1;
}
.source-meta {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 18px;
  font:
    10px ui-monospace,
    monospace;
  color: var(--muted);
}
.source-card .actions {
  margin-top: 18px;
}
.source-card details {
  margin-top: 16px;
  padding-bottom: 0;
}
.source-card:target {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}
.toolbar {
  padding: 25px;
  border: 1px solid var(--border);
  background: var(--panel);
  margin-bottom: 25px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 15px;
  align-items: end;
}
label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #d8dcdf;
  margin-bottom: 7px;
}
input,
select,
textarea {
  width: 100%;
  min-width: 0;
  color: var(--white);
  background: #0d1114;
  border: 1px solid #465049;
  border-radius: 2px;
  padding: 11px 12px;
  line-height: 1.5;
}
textarea {
  min-height: 230px;
  resize: vertical;
}
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  flex-shrink: 0;
}
input::placeholder,
textarea::placeholder {
  color: #939ca4;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}
.filters button {
  border: 1px solid var(--border);
  background: none;
  color: var(--muted);
  padding: 9px 14px;
  border-radius: 2px;
  font-size: 0.75rem;
}
.filters button[aria-pressed="true"] {
  border-color: #53745d;
  background: #194a3755;
  color: white;
}
.results-meta {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.8rem;
}
.empty {
  padding: 40px;
  border: 1px dashed var(--border);
  text-align: center;
  color: var(--muted);
}
.builder-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: start;
}
.builder {
  position: sticky;
  top: 110px;
}
.builder label {
  margin-top: 18px;
}
.builder label:first-child {
  margin-top: 0;
}
.contact-card {
  padding: 22px;
  border: 1px solid var(--border);
  margin-bottom: 12px;
}
.contact-card h3 {
  font-size: 1rem;
  margin: 0;
}
.contact-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.contact-card p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 8px 0;
}
.contact-card a {
  font-size: 0.8rem;
}
.selection-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.selection-note {
  padding: 15px;
  border: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--muted);
}
.status-message {
  font-size: 0.85rem;
  color: var(--mint);
  margin: 15px 0;
  min-height: 1.5em;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-block {
  margin: 22px 0;
}
.support-block {
  padding: 50px;
  background: linear-gradient(120deg, #163b2c, #15221b);
  border: 1px solid #3a5946;
}
.support-block p {
  max-width: 650px;
  color: #c8d6cc;
}
.resource .label {
  color: var(--gold);
}
.resource p {
  margin-bottom: 25px;
}
.resource a {
  font-size: 0.85rem;
}
.step-list {
  counter-reset: steps;
}
.step-list article {
  position: relative;
  padding: 0 0 25px 50px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 25px;
  counter-increment: steps;
}
.step-list article:before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  left: 0;
  color: var(--gold);
  font:
    1.1rem Georgia,
    serif;
}
.step-list p {
  color: var(--muted);
  font-size: 0.92rem;
}
.quick-exit {
  background: #e7e5dc;
  color: #18221b;
  border: 0;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 8px 14px;
  white-space: nowrap;
}
.quick-exit:hover {
  background: white;
  color: black;
}
.short-read {
  max-width: 780px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
th,
td {
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
  padding: 16px;
}
th {
  color: var(--gold);
  font-weight: 600;
}
.privacy-note {
  font-size: 0.8rem;
  color: var(--muted);
}
.error-code {
  font:
    7rem Georgia,
    serif;
  color: var(--gold);
  margin-bottom: 10px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}
.skip-link {
  position: fixed;
  left: 15px;
  top: -100px;
  z-index: 100;
  background: white;
  color: black;
  padding: 10px;
}
.skip-link:focus {
  top: 15px;
}
.reading-note {
  font-size: 0.7rem;
  color: var(--muted);
  margin: 20px 0 0;
}
.divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 30px 0;
}
.pdf-viewer {
  border: 1px solid var(--border);
  padding: 20px;
}
.pdf-viewer iframe {
  width: 100%;
  height: 650px;
  border: 0;
  background: white;
}
.pdf-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  margin-bottom: 15px;
}
.pdf-controls input {
  width: 90px;
}
.pdf-controls label {
  margin: 0;
}
.no-js-note {
  color: var(--gold);
  font-size: 0.8rem;
}
.footer-cta {
  background: #15241c;
  padding: 55px 0;
  border-top: 1px solid #34513d;
}
.footer-cta .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.footer-cta h2 {
  font-size: 2.3rem;
  margin: 0;
}
.footer-cta p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
@media (max-width: 1050px) {
  .hero-layout {
    gap: 35px;
    grid-template-columns: 1.4fr 1fr;
  }
  .file-sheet {
    padding: 25px;
    min-height: 350px;
  }
  .file-sheet h2 {
    font-size: 2.1rem;
  }
  .toolbar {
    grid-template-columns: 1fr 1fr;
  }
  .article-layout {
    gap: 35px;
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split {
    gap: 35px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .hero {
    padding: 45px 0;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .hero h1 {
    font-size: clamp(2.6rem, 9.6vw, 4.1rem);
  }
  .file-art {
    max-width: 440px;
    width: 100%;
    margin: auto;
    padding-left: 8px;
  }
  .file-sheet {
    min-height: 310px;
  }
  .file-sheet h2 {
    font-size: 2.2rem;
  }
  .status-strip {
    margin-top: 38px;
    grid-template-columns: 1fr;
  }
  .status-strip > div {
    padding: 18px 22px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .status-strip strong {
    font-size: 1.25rem;
  }
  .section {
    padding: 52px 0;
  }
  .section-head,
  .footer-cta .wrap {
    display: block;
  }
  .section-head p {
    margin-top: 20px;
  }
  .section-head .button {
    margin-top: 20px;
  }
  .grid,
  .grid.two,
  .split,
  .builder-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }
  .page-intro {
    padding: 45px 0;
  }
  .page-intro h1 {
    font-size: 2.8rem;
  }
  .index,
  .builder {
    position: static;
  }
  .index {
    margin-bottom: 15px;
  }
  .index ol {
    columns: 2;
  }
  .index li {
    break-inside: avoid;
  }
  .notice .wrap {
    display: block;
  }
  .notice strong {
    display: block;
    margin-bottom: 4px;
  }
  .toolbar {
    padding: 18px;
  }
  .toolbar > div:first-child {
    grid-column: 1/-1;
  }
  .card {
    padding: 23px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .support-block {
    padding: 30px 24px;
  }
  .footer-cta .button {
    margin-top: 24px;
  }
  .source-card h3 {
    font-size: 1.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}
@media print {
  body {
    background: white;
    color: black;
  }
  .site-header,
  .site-footer,
  .notice,
  .actions,
  .toolbar,
  .filters,
  .quick-exit {
    display: none;
  }
  .card {
    background: white;
    color: black;
  }
  .prose p,
  .muted,
  .lead {
    color: #222;
  }
  h1 {
    font-size: 30pt;
  }
  h2 {
    font-size: 20pt;
  }
  .article-layout {
    display: block;
  }
  .index {
    display: none;
  }
  .wrap {
    width: 100%;
  }
}

.split {
  align-items: start;
}

.pdf-stage {
  width: 100%;
  overflow: auto;
  max-height: 750px;
  min-height: 250px;
  padding: 8px;
  background: #d8d8d8;
}
.pdf-stage canvas {
  display: block;
  max-width: none;
  margin: 0 auto;
}
.pdf-text {
  white-space: pre-wrap;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 20px 0;
}
.pdf-reading-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}
.pdf-reading-main {
  min-width: 0;
}
.pdf-guide {
  border-top: 2px solid var(--green);
  padding-top: 20px;
}
.pdf-guide h3 {
  margin-top: 24px;
  font-family: Georgia, serif;
}
.pdf-guide p {
  font-size: 0.85rem;
  color: var(--muted);
}
.pdf-jump {
  display: block;
  text-align: left;
  width: 100%;
  margin-top: 12px;
  padding: 13px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--white);
  font-size: 0.85rem;
}
.pdf-jump span {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 6px;
}
.pdf-jump[aria-pressed="true"] {
  background: var(--green);
  border-color: var(--mint);
}
.is-full-view .pdf-guide {
  display: none;
}
.is-full-view .pdf-reading-layout {
  grid-template-columns: minmax(0, 1fr);
}
.no-js button,
.no-js [data-email],
.no-js .toolbar,
.no-js .filters,
.no-js .pdf-guide,
.no-js .pdf-stage,
.no-js .pdf-controls,
.no-js [data-pdf-status],
.no-js .pdf-viewer details {
  display: none;
}
.no-js .pdf-reading-layout {
  display: block;
}
@media (max-width: 760px) {
  .pdf-reading-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .pdf-guide {
    padding-bottom: 18px;
  }
}
.directory-filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 20px 0;
}
.directory-filters > div:last-child {
  grid-column: 1/-1;
}
.no-js .directory-filters,
.no-js #contact-search,
.no-js label[for="contact-search"] {
  display: none;
}
@media (max-width: 450px) {
  .directory-filters {
    grid-template-columns: 1fr;
  }
  .directory-filters > div:last-child {
    grid-column: auto;
  }
}
