/* Colorado planning atlas. Original site-owned composition for the shared shell. */
:root {
  --paper: #f6f3e9;
  --ink: #193c32;
  --muted: #535d52;
  --line: #b8c0ae;
  --panel: #e9ecdf;
  --heading: Arial, Helvetica, sans-serif;
  --gap: 3.5rem;
  background: var(--paper);
}
body { background-image: radial-gradient(#2352420d .7px, transparent .7px); background-size: 9px 9px; }
.wrap { width: min(1220px, calc(100% - 5rem)); }
.preview-notice { background: #193c32; color: #fff9e9; }
.site-header { align-items: flex-start; gap: 1.5rem; padding-block: 1.8rem; border-bottom: 3px solid var(--ink); }
.brand { font-family: var(--heading); font-size: clamp(1.05rem, 1.8vw, 1.6rem); font-weight: 800; letter-spacing: -.055em; overflow-wrap: anywhere; }
.site-header nav ul { justify-content: flex-end; gap: .25rem 1rem; font-weight: 700; font-size: .75rem; }
.site-header nav a { padding: .5rem .15rem; min-height: 44px; }
.site-header nav a[aria-current] { color: #8a391d; text-underline-offset: .4em; }
.page-header { position: relative; max-width: 1060px; padding-block: 3rem; }
.eyebrow { color: #8a391d; letter-spacing: .16em; font-size: .73rem; }
[data-theme="atlas"] .page-header h1 { font-family: var(--heading); font-size: clamp(2.5rem, 6.4vw, 5.3rem); font-weight: 800; line-height: 1.02; letter-spacing: -.065em; max-width: 18ch; }
h2 { font-weight: 750; letter-spacing: -.04em; line-height: 1.15; }
h3 { font-weight: 700; letter-spacing: -.025em; }
.intro { max-width: 66ch; font-size: 1.17rem; line-height: 1.65; }
.byline { font-family: monospace; letter-spacing: -.02em; }
.hero-image { border: 1px solid var(--line); background: var(--panel); padding: 1.1rem; margin-bottom: 3rem; }
.hero-image img { max-height: none; background: transparent; }
figcaption { color: #3f5145; max-width: 95ch; }
.feature-list { border-top: 3px solid var(--ink); padding-top: 2.2rem; }
.section-label h2 { max-width: 10ch; font-size: 2.2rem; }
.curated-links { column-gap: 2rem; }
.curated-item { border-top: 1px solid #82947e; gap: 1rem; padding-block: 1.8rem; }
.curated-item h3 a { text-decoration-thickness: 1px; text-underline-offset: .18em; }
.item-number { color: #8a391d; font-family: monospace; font-weight: 700; }
.prose { max-width: 76ch; }
.prose table { min-width: 0; width: 100%; table-layout: fixed; font-size: .85rem; }
.prose table :is(th,td) { overflow-wrap: anywhere; padding: .7rem; }
.prose section { padding-top: 1.8rem; border-top: 1px solid var(--line); margin-bottom: 2.5rem; }
.prose section p { max-width: 68ch; }
.section-sources { font-family: monospace; font-size: .72rem; line-height: 1.7; }
.merchant-section, .evidence { background: #ebeede; padding: 2rem; border: 1px solid var(--line); max-width: 90ch; }
.merchant { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 1.5rem 0; }
.button { background: #235242; color: #ffffff; border-radius: 0; min-height: 44px; padding: .8rem 1.1rem; font-weight: 700; }
.table-scroll { border: 1px solid #82947e; background: #fffdf5; }
th { background: #235242; color: #fff; }
td, th { vertical-align: top; padding: 1rem; border-bottom: 1px solid var(--line); }
tbody tr:nth-child(even) { background: #edf0e3; }
.site-footer { margin-top: 4rem; padding-block: 2rem 3rem; border-top: 3px solid var(--ink); }
.site-footer p:last-child { max-width: 85ch; font-size: .85rem; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid #a34019; outline-offset: 4px; }
@media (max-width: 900px) {
  .site-header { display: block; }
  .site-header nav { margin-top: 1rem; }
  .site-header nav ul { justify-content: flex-start; }
  .feature-list { grid-template-columns: 1fr; gap: 1rem; }
  .section-label h2 { max-width: none; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 2rem); }
  .site-header { padding-block: 1.1rem; }
  .site-header nav ul { gap: .15rem 1rem; font-size: .76rem; }
  .page-header { padding-block: 2.2rem; }
  [data-theme="atlas"] .page-header h1 { font-size: clamp(2.3rem, 11.5vw, 3.4rem); max-width: 17ch; }
  .intro { font-size: 1.05rem; }
  .curated-links { grid-template-columns: 1fr; }
  .merchant-section, .evidence { padding: 1.1rem; }
  .hero-image { padding: .5rem; }
  .section-sources { word-break: break-word; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  body { background: white; color: black; }
  .wrap { width: 100%; }
  .merchant-section, .evidence, .hero-image { background: white; }
  th { background: white; color: black; }
  .prose section { break-inside: auto; }
}
