.topbar { padding: 12px max(24px, calc((100% - 1160px) / 2)); min-height: 65px; display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--paper); }
.identity { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font: 23px/1 var(--face); text-decoration: none; white-space: nowrap; }
.identity strong { color: var(--green); }
.mark { display: inline-grid; place-items: center; position: relative; width: 34px; height: 34px; flex: none; border-radius: 10px; background: #234639; color: #fff6df; }
.mark::before, .mark::after { content: ''; position: absolute; width: 18px; top: 9px; border-bottom: 2px solid; }
.mark::before { top: 7px; width: 12px; border-top: 2px solid; height: 6px; border-radius: 8px 8px 0 0; }
.mark::after { top: 23px; }
.mark i { width: 2px; height: 8px; background: currentColor; box-shadow: -5px 0 currentColor, 5px 0 currentColor; margin-top: 3px; }
.top-actions { display: flex; align-items: center; gap: 15px; }
.demo-label { color: var(--muted); white-space: nowrap; font-size: 12px; font-weight: 650; }
.demo-label i, .provider-status i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #bb552f; margin-right: 5px; }
.reset { background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 8px 11px; font-size: 12px; white-space: nowrap; font-weight: 700; }
.reset:hover { background: #eceee4; }
.reset span { margin-left: 5px; }
.hero {
  background: linear-gradient(90deg, #122e26 7%, #122e26 27%, #122e26e8 43%, #122e2666 74%, #122e2666),
    url('/assets/capitol.jpg') 83% 42% / max(780px, 70%) auto no-repeat, #122e26;
  color: #fff9eb; border-bottom: 4px solid #bc633d;
}
.hero-inner { max-width: 1160px; margin: auto; padding: 31px 0 35px; }
.hero .eyebrow { color: #e5c39e; margin-bottom: 8px; }
.hero h1 { font: 500 clamp(33px, 5vw, 62px)/1.05 var(--face); letter-spacing: -.055em; }
.hero h1 span { color: #efab80; }
.hero p:last-child { margin-top: 12px; color: #f2ecdf; font-size: 14px; }
.workspace { display: grid; grid-template-columns: minmax(180px, 240px) 340px minmax(208px, 300px); gap: clamp(20px, 4vw, 60px); justify-content: center; align-items: start; max-width: 1160px; margin: auto; padding: 27px 24px 36px; }
.guide, .inspector { margin-top: 23px; }
.guide h2, .inspector h2 { font: 500 26px/1.15 var(--face); letter-spacing: -.045em; }
.guide > p { color: var(--muted); font-size: 13px; margin-top: 8px; }
.scenario-list { display: grid; gap: 10px; margin-top: 19px; }
.scenario {
  border: 1px solid var(--line); border-radius: 13px; padding: 13px; width: 100%; text-align: left;
  background: var(--paper); color: var(--ink); position: relative; transition: background .15s, border-color .15s;
}
.scenario:hover, .scenario[aria-pressed="true"] { border-color: #648475; background: #e8eee4; }
.scenario-zip { color: var(--green); display: inline-block; background: #e6ede4; border-radius: 5px; font: 700 11px ui-monospace, monospace; padding: 4px 6px; }
.scenario[aria-pressed="true"] .scenario-zip { color: #fff; background: var(--green); }
.scenario-place { font-size: 10px; font-weight: 700; display: inline-block; margin-left: 7px; color: var(--muted); }
.scenario-name { display: block; font-weight: 800; font-size: 14px; margin: 8px 18px 3px 0; }
.scenario-note { display: block; font-size: 11px; line-height: 1.45; color: var(--muted); }
.scenario-arrow { position: absolute; right: 12px; top: 10px; color: var(--green); }
.guide .privacy-note { margin-top: 19px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 11px; }
.page-footer { max-width: 1160px; margin: auto; padding: 21px 24px; display: flex; gap: 10px 22px; flex-wrap: wrap; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.page-footer strong { color: var(--ink); }
@media (max-width: 1208px) { .hero-inner { padding-left: 24px; padding-right: 24px; } }
@media (max-width: 940px) {
  .workspace { grid-template-columns: minmax(160px, 235px) 340px; gap: 24px; }
  .inspector { grid-column: 1 / -1; margin-top: 0; }
}
@media (max-width: 660px) {
  .topbar { padding: 12px 16px; }
  .top-actions { gap: 6px; }
  .identity { font-size: 19px; gap: 7px; }
  .demo-label { display: none; }
  .hero { background-position: 69% 43%; }
  .hero-inner { padding: 25px 18px 29px; }
  .wide-only { display: none; }
  .workspace { display: flex; flex-direction: column; align-items: stretch; gap: 24px; padding: 20px 15px 24px; }
  .guide { margin-top: 0; }
  .scenario-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
  .scenario { padding: 8px 7px; }
  .scenario-note, .scenario-arrow, .guide .privacy-note { display: none; }
  .scenario-name { font-size: 11px; margin: 5px 0 0; }
  .scenario-place { display: block; margin: 5px 0; }
  .guide > p { font-size: 12px; margin-top: 3px; }
  .guide h2 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
