:root {
  --paper: #f4f6f9;
  --panel: #ffffff;
  --ink: #000000;
  --ink-2: #12161c;
  --stone: #3f5573;
  --line: #cdd5e2;
  --blue: #61799b;
  --tape: #a3b3ca;
  --tape-ink: #000000;
  --no: #b3261e;
  --no-bg: #fbe3df;
  --yes: #22703f;
  --yes-bg: #ddf0e2;
  --limit: #7a5000;
  --limit-bg: #fbedc9;
  --focus: #000000;
  --measure: 66ch;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.55; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 2px #fff; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

/* Header */
.site-head { background: var(--ink); color: #ffffff; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 10px; padding-bottom: 10px; position: relative; }
.brand { font-family: var(--head); font-weight: 700; font-size: 1.75rem; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; color: #fff; min-height: 44px; }
.brand-mark { width: 40px; height: 40px; flex: none; border-radius: 8px; }
.nav { display: flex; gap: 6px; font-weight: 600; }
.nav a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 4px; color: #ffffff; }
.nav a:hover { background: rgba(255,255,255,0.1); }
.nav a[aria-current="page"] { background: var(--tape); color: var(--tape-ink); }
.menu-btn { display: none; }

/* Type */
h1, h2, h3 { font-family: var(--head); line-height: 1.04; margin: 0 0 0.35em; }
h1 { font-size: clamp(2.7rem, 6vw, 4.2rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; }
p, ul, ol { margin: 0 0 1em; max-width: var(--measure); }
.muted { color: var(--stone); }
.small { font-size: 0.92rem; }
.tiny { font-size: 0.82rem; opacity: 0.75; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; font-family: var(--head); font-weight: 700; font-size: 1.2rem; padding: 10px 20px; border: 2px solid var(--tape); background: var(--tape); color: var(--tape-ink); text-decoration: none; cursor: pointer; border-radius: 4px; }
.btn:hover { background: var(--blue); border-color: var(--blue); }
.btn.big { font-size: 1.35rem; padding: 12px 26px; min-width: 120px; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: rgba(0,0,0,0.04); }
.btn.ghost-dark { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn.ghost-dark:hover { background: var(--paper); }

/* Hero with yard */
.hero { background: var(--ink); color: #ffffff; padding: 40px 0 48px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-areas: "copy yard" "panel yard"; gap: 20px 40px; align-items: start; }
.hero-copy { grid-area: copy; }
.yard { grid-area: yard; }
.panel { grid-area: panel; }
.hero h1 { color: #fff; max-width: 11ch; margin-top: 8px; }
.lede { font-size: 1.3rem; max-width: 30ch; color: #dbe2ec; }
.lede a { color: #fff; text-decoration-color: var(--tape); }
.hero-cta { font-family: var(--head); font-weight: 700; font-size: 1.6rem; color: var(--tape); margin-bottom: 0.6em; }
.hero .tiny a { color: #dbe2ec; }

.yard { position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 18px 40px rgba(0,0,0,0.35); }
.yard svg { width: 100%; height: 100%; display: block; }
.spot { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 3px solid var(--ink); background: var(--tape); color: var(--ink); font-family: var(--head); font-weight: 700; font-size: 1.5rem; line-height: 1; display: grid; place-items: center; cursor: pointer; padding: 0; box-shadow: 0 2px 6px rgba(0,0,0,0.35); }
.spot.seen.no { background: var(--no); color: #fff; border-color: #fff; }
.spot.seen.yes { background: var(--yes); color: #fff; border-color: #fff; }
.spot.seen.limits { background: #e9a400; color: var(--ink); border-color: #fff; }
.spot.active { transform: scale(1.15); box-shadow: 0 0 0 4px rgba(163,179,202,0.7), 0 2px 6px rgba(0,0,0,0.35); }

.panel { background: #fff; color: var(--ink); border-radius: 6px; padding: 18px 20px; min-height: 120px; border-left: 6px solid var(--tape); }
.panel p { margin: 0 0 0.5em; }
.panel-empty { font-size: 1.1rem; }
.panel-empty .dot { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--tape); border: 2px solid var(--ink); font-weight: 700; line-height: 1; }
#count { display: block; color: var(--stone); font-size: 0.95rem; margin-top: 4px; }
.panel-label { font-family: var(--head); font-weight: 700; font-size: 1.5rem; }
.panel-answer { font-size: 1.1rem; }
.panel-fix { background: var(--paper); padding: 8px 12px; }
.panel-more a { font-weight: 600; }
.panel-count { color: var(--stone); font-size: 0.95rem; margin-bottom: 0 !important; }

/* Verdict chips */
.verdict { display: inline-block; font-family: var(--head); font-weight: 700; font-size: 1.1rem; padding: 2px 10px; white-space: nowrap; align-self: start; border-radius: 3px; }
.verdict.no { color: var(--no); background: var(--no-bg); }
.verdict.yes { color: var(--yes); background: var(--yes-bg); }
.verdict.limits { color: var(--limit); background: var(--limit-bg); }

/* Home sections */
.quiz-sec, .applies-sec, .more-sec { padding: 56px 0; border-bottom: 1px solid var(--line); }
.quiz-sec { background: var(--tape); color: var(--tape-ink); border-bottom: 0; }
.quiz-sec h2 { color: var(--ink); }
.sub { font-size: 1.15rem; }
.quiz { background: #fff; color: var(--ink); border-radius: 6px; padding: 24px; max-width: 760px; box-shadow: 0 10px 28px rgba(0,20,50,0.18); }
.q-step { font-weight: 600; color: var(--stone); margin-bottom: 6px; }
.q-bar { height: 6px; background: var(--paper); border-radius: 3px; overflow: hidden; margin-bottom: 16px; }
.q-bar span { display: block; height: 100%; background: var(--ink); transition: width 0.2s ease; }
.q-text { font-family: var(--head); font-weight: 700; font-size: clamp(1.6rem, 3.6vw, 2.1rem); line-height: 1.15; max-width: 28ch; }
.q-answers { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.result-head { font-family: var(--head); font-weight: 700; font-size: 2.2rem; line-height: 1.1; }
.result-list li { margin-bottom: 8px; }
.result-sub { font-weight: 600; margin-top: 12px; }

.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; max-width: 880px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.two > div { padding: 20px 22px; }
.two > div + div { border-left: 1px solid var(--line); }
.two p { margin: 0; }
.status-strip { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; max-width: 880px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 16px 18px; }
.status-strip p { margin: 0; }
.badge { flex: none; font-family: var(--head); font-weight: 700; font-size: 1rem; background: var(--ink); color: #fff; padding: 3px 10px; border-radius: 3px; }

/* Lookup */
.lookup-box { max-width: 760px; }
.lookup-box label { display: block; font-weight: 600; margin-bottom: 6px; }
.lookup-box input { width: 100%; font: inherit; font-size: 1.15rem; padding: 12px 14px; border: 2px solid var(--ink); background: #fff; color: var(--ink); border-radius: 4px; }
.items { list-style: none; padding: 0; margin: 18px 0 0; max-width: 880px; border-top: 1px solid var(--line); }
.items li { border-bottom: 1px solid var(--line); }
.items a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 14px 4px; text-decoration: none; }
.items a:hover { background: #fff; }
.items .name { font-weight: 600; font-size: 1.1rem; }
.items .one { grid-column: 1 / -1; color: var(--stone); }
.empty { margin-top: 16px; color: var(--stone); }
.next { margin-top: 24px; }

/* Steps (real sequence) */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; max-width: 820px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step); font-family: var(--head); font-weight: 700; font-size: 2.2rem; line-height: 1; color: var(--tape-ink); background: var(--tape); width: 48px; height: 48px; display: grid; place-items: center; border-radius: 4px; }
.steps h3 { margin-bottom: 0.2em; }
.steps p { margin: 0; }

/* Article pages */
.page { padding-top: 44px; padding-bottom: 64px; }
.page h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); max-width: 22ch; }
.answer { font-size: 1.3rem; max-width: 52ch; margin: 14px 0 20px; }
.instead { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--yes); padding: 16px 20px; max-width: 720px; margin: 20px 0; border-radius: 4px; }
.instead h2, .note h2 { font-size: 1.4rem; margin-bottom: 0.2em; }
.instead p, .note p { margin: 0; }
.note { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--tape); padding: 16px 20px; max-width: 720px; margin: 20px 0; border-radius: 4px; }
.sources { font-size: 0.95rem; }
.sources li { margin-bottom: 6px; }
.crumbs { font-size: 0.95rem; color: var(--stone); margin-bottom: 18px; }
.crumbs a { color: var(--stone); }
.timeline { list-style: none; padding: 0; margin: 0; max-width: 780px; }
.timeline li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.timeline time { font-family: var(--head); font-weight: 600; font-size: 1.15rem; }
.timeline li:last-child time { color: var(--no); }
.rules h2 { margin-top: 1.4em; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--stone); font-size: 0.95rem; }
.site-foot p { max-width: 72ch; }

@media (max-width: 820px) {
  .hero { padding: 24px 0 36px; }
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "yard" "panel"; gap: 16px; }
  .hero h1 { max-width: 14ch; }
  .lede { font-size: 1.15rem; }
  .hero-cta { font-size: 1.4rem; margin-bottom: 0.2em; }
  .two { grid-template-columns: 1fr; }
  .two > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
  .quiz-sec, .applies-sec, .more-sec { padding: 40px 0; }
  .js .menu-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; font: 600 1rem var(--body); color: #fff; background: transparent; border: 2px solid rgba(255,255,255,0.35); border-radius: 4px; cursor: pointer; }
  .js .menu-icon, .js .menu-icon::before, .js .menu-icon::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
  .js .menu-icon::before, .js .menu-icon::after { content: ""; position: absolute; left: 0; }
  .js .menu-icon::before { top: -6px; }
  .js .menu-icon::after { top: 6px; }
  .js .open .menu-icon { background: transparent; }
  .js .open .menu-icon::before { top: 0; transform: rotate(45deg); }
  .js .open .menu-icon::after { top: 0; transform: rotate(-45deg); }
  .js .nav { display: none; }
  .js .open .nav { display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 100%; z-index: 20; background: var(--ink); padding: 4px 20px 16px; border-top: 1px solid rgba(255,255,255,0.12); box-shadow: 0 14px 28px rgba(0,0,0,0.35); }
  .js .open .nav a { min-height: 54px; padding: 0 12px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 1.15rem; }
  .js .open .nav a[aria-current="page"] { background: transparent; color: #fff; box-shadow: inset 4px 0 0 var(--tape); }
  html:not(.js) .site-head .wrap { flex-wrap: wrap; }
  html:not(.js) .nav { width: 100%; flex-wrap: wrap; }
  .nav a { white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media print {
  .site-head, .hero, .applies-sec, .more-sec, .site-foot, .q-answers, .sub { display: none !important; }
  .quiz-sec { background: #fff; padding: 0; }
  .quiz { box-shadow: none; }
}

.hero-note { color: #c4cedd; font-size: 0.95rem; margin: 0 0 0.8em; }
.hero-note a { color: #fff; }
.draft-flag { font-size: 0.95rem; color: var(--stone); margin: 8px 0 0; }
.result-note { font-size: 0.95rem; margin-top: 1em; }
.applies-sec p.small { margin: 12px 0 18px; }

/* Brand with tagline */
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-tag { font-family: var(--body); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.02em; color: #c4cedd; margin-top: 3px; }

/* Hero: what the site is, then the guide */
.hero-grid { grid-template-areas: "copy yard"; align-items: start; }
.yard-col { grid-area: yard; }
.yard-col .panel { margin-top: 16px; }
.yard-cap { color: #dbe2ec; margin: 0 0 10px; font-size: 1.05rem; }
.yard-cap strong { color: var(--tape); font-family: var(--head); font-size: 1.4rem; margin-right: 6px; }
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.5rem); max-width: 15ch; }
.status-box { list-style: none; padding: 0; margin: 4px 0 22px; max-width: 34rem; border-top: 1px solid rgba(255,255,255,0.14); }
.status-box li { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.14); color: #dbe2ec; font-size: 0.98rem; }
.status-box a { color: #fff; }
.tag { flex: none; font-family: var(--head); font-weight: 700; font-size: 0.95rem; background: var(--tape); color: var(--tape-ink); padding: 1px 8px; border-radius: 3px; min-width: 92px; text-align: center; }
.guide-head { font-family: var(--head); font-weight: 700; font-size: 1.25rem; color: #fff; margin-bottom: 8px; }
.guide { list-style: none; padding: 0; margin: 0 0 18px; max-width: 34rem; display: grid; gap: 8px; }
.guide a { display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: 0 16px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.08rem; border-radius: 4px; border-left: 5px solid var(--tape); }
.guide a:hover { background: #eef1f6; }
.guide .arrow { font-size: 1.2rem; }
.byline { font-size: 0.88rem; color: #b8c3d4; max-width: 34rem; margin: 0; }
.ins-sec { padding: 56px 0; border-bottom: 1px solid var(--line); background: #fff; }
.applies-sec .sub { margin-bottom: 14px; }

@media (max-width: 820px) {
  .hero-grid { grid-template-areas: "copy" "yard"; }
  .brand-name { font-size: 1.6rem; }
  .ins-sec { padding: 40px 0; }
}
.cover-cards .btn { margin: 14px 0 8px; }
.cover-cards p.small { margin: 0; }
.cover-cards > div > p:first-of-type { margin-bottom: 0; }
.words { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 0 18px; max-width: 720px; margin: 8px 0 20px; }
.words summary { cursor: pointer; font-weight: 600; min-height: 48px; display: flex; align-items: center; }
.words dl { margin: 0 0 14px; }
.words dt { font-weight: 600; margin-top: 10px; }
.words dd { margin: 2px 0 0; color: var(--stone); }

/* Updates */
.updates-sec { padding: 56px 0; border-bottom: 1px solid var(--line); background: var(--paper); }
.updates-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 40px; align-items: start; }
.u-list { list-style: none; padding: 0; margin: 10px 0 0; max-width: 760px; border-top: 1px solid var(--line); }
.u-list li { border-bottom: 1px solid var(--line); }
.u-list a { display: block; padding: 14px 4px; text-decoration: none; }
.u-list a:hover { background: #fff; }
.u-meta { display: flex; gap: 10px; align-items: center; font-size: 0.9rem; color: var(--stone); margin-bottom: 4px; }
.u-meta time { font-weight: 600; }
.u-tag { font-size: 0.8rem; font-weight: 600; padding: 1px 8px; border-radius: 3px; background: #dde3ec; color: var(--ink); }
.u-title { display: block; font-family: var(--head); font-weight: 700; font-size: 1.35rem; line-height: 1.15; margin-bottom: 4px; }
.u-sum { display: block; color: var(--stone); }
.u-list a:hover .u-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Signup */
.signup { background: var(--ink); color: #ffffff; border-radius: 6px; padding: 24px; max-width: 640px; margin: 24px 0; border-top: 6px solid var(--tape); }
.updates-grid .signup { margin: 0; }
.signup .signup-head { color: #fff; font-size: clamp(1.7rem, 3vw, 2.1rem); margin-bottom: 0.3em; }
.signup p { color: #dbe2ec; }
.signup label { display: block; font-weight: 600; margin-bottom: 6px; color: #fff; }
.signup-row { display: flex; gap: 8px; flex-wrap: wrap; }
.signup-row input { flex: 1 1 220px; min-width: 0; font: inherit; font-size: 1.1rem; min-height: 48px; padding: 10px 14px; border: 2px solid #fff; border-radius: 4px; background: #fff; color: var(--ink); }
.signup-row .btn { flex: 0 0 auto; }
.signup .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.signup-msg { min-height: 1.4em; margin: 10px 0 0; font-weight: 600; color: var(--tape) !important; }
.signup .fine { font-size: 0.88rem; color: #b8c3d4; margin: 4px 0 0; }
.signup .fine a { color: #dbe2ec; }

@media (max-width: 820px) {
  .updates-sec { padding: 40px 0; }
  .updates-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Search */
.search-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; justify-content: center; padding: 0 12px; color: #fff; text-decoration: none; border-radius: 4px; font-weight: 600; margin-left: auto; }
.search-btn:hover { background: rgba(255,255,255,0.1); }
.search-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.search-form input { width: 100%; max-width: 760px; font: inherit; font-size: 1.2rem; min-height: 52px; padding: 12px 14px; border: 2px solid var(--ink); border-radius: 4px; background: #fff; color: var(--ink); }
#search-count { margin-top: 12px; }
@media (max-width: 820px) {
  .search-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .site-head .wrap { gap: 6px; }
}
@media (max-width: 480px) {
  .brand-name { font-size: 1.3rem; white-space: nowrap; }
  .brand-tag { display: none; }
  .brand-mark { width: 32px; height: 32px; }
  .brand { gap: 8px; }
  .js .menu-btn { padding: 0 10px; }
}
@media (max-width: 480px) {
  .brand { min-width: 0; flex: 1 1 auto; }
  .brand-name { font-size: 1.15rem; }
  .search-btn { margin-left: 0; padding: 0 8px; }
}
@media (max-width: 360px) {
  .js .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .js .menu-btn { min-width: 44px; justify-content: center; }
}

/* Zone lookup */
.zl-form { max-width: 640px; margin: 8px 0 12px; }
.zl-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.zl-form .signup-row input { border-color: var(--ink); }
.zl-form p.small { margin: 8px 0 0; }
.zl-result { max-width: 720px; margin: 0 0 24px; }
.zl-result:not(:empty) { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--tape); border-radius: 4px; padding: 16px 20px; }
.zl-addr { font-weight: 600; margin: 10px 0 4px; }
.zl-answer { font-size: 1.15rem; }
.zl-result ul { padding-left: 1.2em; }
.zl-places li { margin-bottom: 10px; }

/* Keep the site name clear of the search and menu buttons on small phones, even before the web font loads */
@media (max-width: 480px) {
  .brand-text { min-width: 0; overflow: hidden; }
  .brand-name { font-size: min(1.15rem, 4vw); overflow: hidden; text-overflow: ellipsis; }
}

/* Rule status: steps to becoming law, near the top of the status page */
.track-head { font-family: var(--head); font-weight: 700; font-size: 1.2rem; margin: 18px 0 6px; }
.track { list-style: none; padding: 0; margin: 0 0 8px; max-width: 30rem; }
.track li { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 5px 0; }
.track li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 31px; bottom: -7px; width: 2px; background: var(--line); }
.track .mark { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 0.95rem; line-height: 1; }
.track .done .mark { background: var(--ink); color: #fff; }
.track .stop .mark { background: var(--no); color: #fff; }
.track .todo .mark { background: var(--paper); border: 2px dashed var(--stone); }
.track .t-label { font-weight: 600; }
.track .stop .t-label { color: var(--no); }
.track .todo .t-label { color: var(--stone); font-weight: 500; }
.track .t-date { font-size: 0.92rem; color: var(--stone); white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.actions.next { margin-top: 16px; }

/* Yard picture: the 5-foot band uses the site colors */
.yard svg rect[stroke="#f5c400"] { stroke: #000; }
.yard svg rect[fill="#f5c400"] { fill: var(--tape); }

/* ===== Resource-site look (2026-10-11): white header, photo hero, photo cards, dark footer ===== */
body { background: #fff; }

/* Header: white, with a thin rule */
.site-head { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
.brand { color: var(--ink); }
.brand-tag { color: var(--stone); }
.nav a { color: var(--ink); }
.nav a:hover { background: var(--paper); }
.nav a[aria-current="page"] { background: transparent; color: var(--ink); border-radius: 0; box-shadow: inset 0 -4px 0 var(--blue); }
.search-btn { color: var(--ink); }
.search-btn:hover { background: var(--paper); }
@media (max-width: 820px) {
  .js .menu-btn { color: var(--ink); border-color: rgba(0,0,0,0.4); }
  .js .open .nav { background: #fff; border-top: 1px solid var(--line); box-shadow: 0 14px 28px rgba(0,20,50,0.2); }
  .js .open .nav a { color: var(--ink); border-bottom: 1px solid var(--line); }
  .js .open .nav a:hover { background: var(--paper); }
  .js .open .nav a[aria-current="page"] { background: transparent; color: var(--ink); box-shadow: inset 4px 0 0 var(--blue); }
}

/* Hero: photo behind the headline, signup in a white card, status in a card */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); padding: 72px 0 80px; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.76) 50%, rgba(0,0,0,0.5) 100%); }
.hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); grid-template-areas: "copy side"; gap: 32px 56px; align-items: center; }
.hero-copy { grid-area: copy; }
.hero-side { grid-area: side; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); max-width: 14ch; margin-top: 0; }
.lede { max-width: 32ch; font-size: 1.35rem; }
.hero .signup.compact { background: #fff; color: var(--ink); border-top: 5px solid var(--blue); border-radius: 8px; max-width: 30rem; box-shadow: 0 18px 40px rgba(0,0,0,0.35); }
.hero .signup.compact .signup-head, .hero .signup.compact p, .hero .signup.compact label { color: var(--ink); }
.hero .signup.compact .fine, .hero .signup.compact .fine a { color: var(--stone); }
.hero .signup .signup-msg { color: var(--ink) !important; }
.hero .signup .signup-row input { border-color: var(--ink); }
.hero .signup .btn { background: var(--ink); border-color: var(--ink); color: #fff; }
.hero .signup .btn:hover { background: var(--blue); border-color: var(--blue); color: var(--ink); }
.byline { color: #c4cedd; max-width: 30rem; margin: 18px 0 0; }
.hero-side .status-box { background: #fff; color: var(--ink); border: 0; border-radius: 8px; padding: 4px 22px; margin: 0; max-width: none; box-shadow: 0 18px 40px rgba(0,0,0,0.35); }
.hero-side .status-box li { color: var(--ink); border-bottom: 1px solid var(--line); padding: 16px 0; font-size: 1.02rem; }
.hero-side .status-box li:last-child { border-bottom: 0; }
.hero-side .status-box a { color: var(--ink); font-weight: 600; }

/* Common questions: a row of cards under the hero */
.guide-sec { padding: 48px 0 8px; background: #fff; }
.guide-sec .guide-head { color: var(--ink); font-size: 1.9rem; margin: 0 0 14px; }
.guide-sec .guide { max-width: none; margin: 0; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.guide-sec .guide a { background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--blue); border-radius: 8px; min-height: 84px; padding: 12px 16px; gap: 12px; }
.guide-sec .guide a:hover { background: #fff; border-color: var(--ink); border-left-color: var(--ink); }

/* The yard: picture left, answer right */
.yard-sec { background: var(--paper); padding: 56px 0; margin-top: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.yard-sec .yard-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 40px; align-items: start; }
.yard-sec .yard-cap { grid-column: 1 / -1; margin: 0; color: var(--ink); font-size: 1.15rem; }
.yard-sec .yard-cap strong { display: block; color: var(--ink); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.04; margin: 0 0 4px; }
.yard-sec .yard, .yard-sec .panel { grid-area: auto; }
.yard-sec .yard { border-radius: 10px; box-shadow: 0 10px 28px rgba(0,20,50,0.2); }
.yard-sec .yard-col .panel { margin-top: 0; border-left-color: var(--blue); border-radius: 10px; box-shadow: 0 10px 28px rgba(0,20,50,0.12); }
@media (max-width: 820px) {
  .hero { padding: 40px 0 48px; }
  .hero-bg::after { background: rgba(0,0,0,0.8); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "side"; gap: 28px; }
  .lede { font-size: 1.2rem; }
  .guide-sec { padding-top: 32px; }
  .yard-sec { padding: 40px 0; margin-top: 32px; }
  .yard-sec .yard-col { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

/* Sections */
.applies-sec { background: #fff; }
#covered { background: var(--paper); }
.more-sec { background: var(--paper); }
.updates-sec { background: #fff; }
.two { border-radius: 10px; }
.note, .instead, .zl-result:not(:empty) { border-radius: 8px; }
.note { border-left-color: var(--blue); }

/* Photos beside text */
.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px 56px; align-items: center; }
.split .photo { margin: 0; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--blue); box-shadow: 0 10px 28px rgba(0,20,50,0.18); }
.split .photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .split .photo { aspect-ratio: 16 / 9; }
}

/* Photo banner at the top of inner pages */
.page-photo { margin: 0 0 28px; max-width: 960px; aspect-ratio: 21 / 9; border-radius: 12px; overflow: hidden; background: var(--blue); }
.page-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) { .page-photo { aspect-ratio: 16 / 9; border-radius: 8px; } }

/* Updates as photo cards */
.u-list { max-width: none; border-top: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; margin-top: 20px; }
.u-list li { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.u-list li:hover { box-shadow: 0 12px 28px rgba(0,20,50,0.16); }
.u-list a { height: 100%; padding: 16px 18px 20px; }
.u-list a:hover { background: #fff; }
.u-img { display: block; aspect-ratio: 16 / 9; margin: -16px -18px 14px; background: var(--blue); overflow: hidden; }
.u-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
#search-results.u-list { grid-template-columns: minmax(0, 1fr); max-width: 760px; gap: 12px; }

/* Footer: dark, to match the header's weight */
.site-foot { background: var(--ink); color: #c4cedd; border-top: 0; padding: 48px 0 64px; }
.site-foot a { color: #fff; }
.nav a { white-space: nowrap; padding: 0 12px; }
.page-photo { max-width: none; }
@media (max-width: 480px) { .hero .signup-row .btn { flex: 1 1 100%; } }
