/* DemoPermit.pages.dev — Industrial Utilitarian Design System */
/* Palette: Steel dark bg + Safety orange + Concrete grey + Caution yellow */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;900&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,400&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  --steel-900: #0f1114;
  --steel-800: #181c21;
  --steel-700: #242930;
  --steel-600: #323a44;
  --steel-500: #4a5568;
  --steel-400: #718096;
  --steel-300: #a0aec0;
  --steel-200: #cbd5e0;
  --steel-100: #edf2f7;
  --safety-orange: #f26522;
  --safety-orange-dark: #c4511a;
  --safety-orange-light: #f9874a;
  --caution-yellow: #f6c244;
  --concrete: #8c8c8c;
  --concrete-light: #d4d0ca;
  --white: #fafaf8;
  --danger-red: #c53030;
  --success-green: #276749;
  
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Source Serif 4', serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  --max-width: 1200px;
  --section-pad: 4rem;
  --border-radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background-color: var(--white);
  color: var(--steel-800);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── UTILITY ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ── SITE HEADER ── */
.site-header {
  background: var(--steel-900);
  border-bottom: 3px solid var(--safety-orange);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 1rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--safety-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: -1px;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.logo-text span { color: var(--safety-orange); }

.site-nav { display: flex; align-items: center; gap: 0.25rem; }

.site-nav a {
  color: var(--steel-300);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: var(--border-radius);
  transition: color 0.15s, background 0.15s;
}

.site-nav a:hover { color: var(--white); background: var(--steel-700); }
.site-nav .nav-cta {
  background: var(--safety-orange);
  color: var(--white) !important;
  padding: 0.4rem 0.9rem;
}
.site-nav .nav-cta:hover { background: var(--safety-orange-dark) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--white);
  font-size: 1.5rem;
}

/* ── HERO ── */
.hero {
  background: var(--steel-900);
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(242,101,34,0.03) 2px, rgba(242,101,34,0.03) 4px),
    linear-gradient(180deg, var(--steel-900) 0%, #1a2030 100%);
  padding: 5rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(242,101,34,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(242,101,34,0.15);
  border: 1px solid rgba(242,101,34,0.4);
  color: var(--safety-orange-light);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--border-radius);
  margin-bottom: 1.25rem;
}

.hero-label::before {
  content: '◆';
  font-size: 0.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--white);
  line-height: 1.0;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-title em {
  font-style: normal;
  color: var(--safety-orange);
  display: block;
}

.hero-subtitle {
  color: var(--steel-300);
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--border-radius);
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--safety-orange);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(242,101,34,0.35);
}
.btn-primary:hover {
  background: var(--safety-orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(242,101,34,0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--steel-200);
  border: 2px solid var(--steel-600);
}
.btn-secondary:hover { border-color: var(--steel-300); color: var(--white); }

.btn-outline-orange {
  background: transparent;
  color: var(--safety-orange);
  border: 2px solid var(--safety-orange);
}
.btn-outline-orange:hover { background: var(--safety-orange); color: var(--white); }

.hero-stat-card {
  background: var(--steel-800);
  border: 1px solid var(--steel-600);
  border-top: 3px solid var(--safety-orange);
  padding: 1.5rem;
  min-width: 200px;
  text-align: center;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3rem;
  color: var(--safety-orange);
  line-height: 1;
  display: block;
}

.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--steel-400);
  margin-top: 0.25rem;
  display: block;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  background: var(--steel-100);
  border-bottom: 1px solid var(--steel-200);
  padding: 0.6rem 1.5rem;
}

.breadcrumb ol {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 0.4rem;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--steel-500);
}

.breadcrumb li + li::before { content: '/'; margin-right: 0.4rem; color: var(--steel-400); }
.breadcrumb a { color: var(--safety-orange); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ── SECTIONS ── */
.section { padding: var(--section-pad) 1.5rem; }
.section-alt { background: var(--steel-100); }
.section-dark { background: var(--steel-900); color: var(--white); }
.section-stripe {
  background: 
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(0,0,0,0.02) 60px, rgba(0,0,0,0.02) 61px),
    var(--white);
}

.section-header { margin-bottom: 2.5rem; }
.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--safety-orange);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1.1;
  color: var(--steel-900);
}

.section-dark .section-title { color: var(--white); }

.section-title span { color: var(--safety-orange); }

.section-intro {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  color: var(--steel-500);
  max-width: 640px;
  line-height: 1.6;
}

.section-dark .section-intro { color: var(--steel-300); }

/* ── CONTENT TYPOGRAPHY ── */
.prose h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem;
  text-transform: uppercase;
  letter-spacing: -0.25px;
  color: var(--steel-900);
  margin: 2.5rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--steel-200);
}

.prose h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  color: var(--steel-800);
  margin: 1.75rem 0 0.5rem;
}

.prose p { margin-bottom: 1.2rem; }

.prose ul, .prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

.prose li { margin-bottom: 0.4rem; }

.prose a { color: var(--safety-orange); text-decoration: underline; }
.prose a:hover { color: var(--safety-orange-dark); }

.prose strong { font-weight: 600; color: var(--steel-900); }

.prose blockquote {
  border-left: 4px solid var(--safety-orange);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: rgba(242,101,34,0.05);
  font-style: italic;
  color: var(--steel-600);
}

/* ── CALLOUT BOXES ── */
.callout {
  border-radius: var(--border-radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.callout-warning {
  background: rgba(246,194,68,0.1);
  border: 1px solid rgba(246,194,68,0.5);
  border-left: 4px solid var(--caution-yellow);
}

.callout-danger {
  background: rgba(197,48,48,0.08);
  border: 1px solid rgba(197,48,48,0.3);
  border-left: 4px solid var(--danger-red);
}

.callout-info {
  background: rgba(242,101,34,0.07);
  border: 1px solid rgba(242,101,34,0.3);
  border-left: 4px solid var(--safety-orange);
}

.callout-success {
  background: rgba(39,103,73,0.08);
  border: 1px solid rgba(39,103,73,0.3);
  border-left: 4px solid var(--success-green);
}

.callout-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 0.1rem; }
.callout-title { font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.25rem; }
.callout-body { font-size: 0.95rem; line-height: 1.6; }

/* ── CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.card-grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
}

.card:hover {
  border-color: var(--safety-orange);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.card-accent { border-top: 3px solid var(--safety-orange); }
.card-accent-yellow { border-top: 3px solid var(--caution-yellow); }
.card-accent-red { border-top: 3px solid var(--danger-red); }

.card-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.25px;
  color: var(--steel-900);
  margin-bottom: 0.5rem;
}

.card p { font-size: 0.95rem; color: var(--steel-600); line-height: 1.6; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--safety-orange);
  text-decoration: none;
}

.card-link:hover { color: var(--safety-orange-dark); gap: 0.5rem; }
.card-link::after { content: '→'; transition: transform 0.2s; }

/* ── STATE DIRECTORY ── */
.state-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.5rem;
}

.state-card {
  display: flex;
  flex-direction: column;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: all 0.15s;
}

.state-card:hover {
  border-color: var(--safety-orange);
  background: rgba(242,101,34,0.04);
}

.state-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--steel-800);
}

.state-info {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--steel-400);
  margin-top: 0.15rem;
}

/* ── STEPS ── */
.step-list { display: flex; flex-direction: column; gap: 0; }

.step-item {
  display: flex;
  gap: 1.5rem;
  position: relative;
  padding-bottom: 2rem;
}

.step-item:last-child { padding-bottom: 0; }

.step-left { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; }

.step-number {
  width: 42px;
  height: 42px;
  background: var(--safety-orange);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
  flex-shrink: 0;
}

.step-line {
  width: 2px;
  flex: 1;
  background: var(--steel-200);
  margin-top: 0.25rem;
}

.step-item:last-child .step-line { display: none; }

.step-content { padding-top: 0.5rem; }

.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--steel-900);
  margin-bottom: 0.4rem;
}

.step-body { font-size: 0.95rem; color: var(--steel-600); line-height: 1.6; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--steel-200); border-radius: var(--border-radius); overflow: hidden; }

.faq-item { border-bottom: 1px solid var(--steel-200); }
.faq-item:last-child { border-bottom: none; }

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.5rem;
  cursor: pointer;
  background: var(--white);
  transition: background 0.15s;
  gap: 1rem;
  list-style: none;
}

.faq-question:hover { background: var(--steel-100); }

.faq-q-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.25px;
  color: var(--steel-800);
}

.faq-toggle {
  width: 24px;
  height: 24px;
  background: var(--steel-100);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--safety-orange);
  flex-shrink: 0;
  font-weight: 700;
  transition: transform 0.2s;
}

details[open] .faq-toggle { transform: rotate(45deg); }

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--steel-600);
  font-size: 0.95rem;
  line-height: 1.7;
  border-top: 1px solid var(--steel-100);
  background: rgba(0,0,0,0.01);
}

/* ── DATA TABLE ── */
.data-table-wrap { overflow-x: auto; }

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table th {
  background: var(--steel-800);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.75rem 1rem;
  text-align: left;
}

.data-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--steel-200);
  color: var(--steel-700);
}

.data-table tr:nth-child(even) td { background: var(--steel-100); }
.data-table tr:hover td { background: rgba(242,101,34,0.04); }

.badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: var(--border-radius);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-required { background: rgba(197,48,48,0.1); color: var(--danger-red); }
.badge-varies { background: rgba(246,194,68,0.15); color: #8a6d00; }
.badge-exempt { background: rgba(39,103,73,0.1); color: var(--success-green); }

/* ── TOOL / CHECKER ── */
.checker-wrap {
  background: var(--steel-900);
  border: 1px solid var(--steel-600);
  border-top: 4px solid var(--safety-orange);
  padding: 2.5rem;
  border-radius: var(--border-radius);
}

.checker-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.checker-sub { color: var(--steel-400); font-size: 0.9rem; margin-bottom: 2rem; }

.checker-field { margin-bottom: 1.25rem; }

.checker-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--steel-300);
  margin-bottom: 0.4rem;
}

.checker-select, .checker-input {
  width: 100%;
  background: var(--steel-800);
  border: 1px solid var(--steel-600);
  color: var(--white);
  padding: 0.7rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: var(--border-radius);
  appearance: none;
  transition: border-color 0.15s;
}

.checker-select:focus, .checker-input:focus {
  outline: none;
  border-color: var(--safety-orange);
}

.checker-result {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--border-radius);
  display: none;
}

.checker-result.show { display: block; }

.checker-result-required {
  background: rgba(197,48,48,0.15);
  border: 1px solid rgba(197,48,48,0.4);
  border-left: 4px solid var(--danger-red);
}

.checker-result-varies {
  background: rgba(246,194,68,0.12);
  border: 1px solid rgba(246,194,68,0.4);
  border-left: 4px solid var(--caution-yellow);
}

.checker-result-exempt {
  background: rgba(39,103,73,0.15);
  border: 1px solid rgba(39,103,73,0.4);
  border-left: 4px solid var(--success-green);
}

.checker-result-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.checker-result-body { color: var(--steel-300); font-size: 0.9rem; line-height: 1.65; }

/* ── SIDEBAR LAYOUT ── */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar-card {
  background: var(--steel-100);
  border: 1px solid var(--steel-200);
  border-top: 3px solid var(--safety-orange);
  padding: 1.25rem;
}

.sidebar-card h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--steel-800);
  margin-bottom: 0.75rem;
}

.sidebar-list { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; }

.sidebar-list li a {
  color: var(--steel-600);
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0;
  transition: color 0.15s;
}

.sidebar-list li a:hover { color: var(--safety-orange); }
.sidebar-list li a::before { content: '›'; color: var(--safety-orange); font-weight: 700; }

.toc { counter-reset: toc-counter; }
.toc li { counter-increment: toc-counter; }
.toc li a::before { content: counter(toc-counter) '.'; color: var(--steel-400); font-family: var(--font-mono); font-size: 0.75rem; }

/* ── DISCLAIMER ── */
.disclaimer {
  background: rgba(242,101,34,0.05);
  border: 1px solid rgba(242,101,34,0.2);
  padding: 1rem 1.25rem;
  border-radius: var(--border-radius);
  font-size: 0.82rem;
  color: var(--steel-500);
  line-height: 1.5;
  margin: 2rem 0 0;
}

.disclaimer strong { color: var(--steel-700); }

/* ── SITE FOOTER ── */
.site-footer {
  background: var(--steel-900);
  color: var(--steel-400);
  padding: 3rem 1.5rem 2rem;
  margin-top: 0;
  border-top: 3px solid var(--steel-700);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-brand .logo-text { font-size: 1.1rem; }

.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-top: 0.75rem;
  color: var(--steel-500);
}

.footer-col h5 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--steel-300);
  margin-bottom: 0.75rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.35rem; }

.footer-col a {
  color: var(--steel-500);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--safety-orange); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  border-top: 1px solid var(--steel-700);
  font-size: 0.8rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom a { color: var(--steel-500); text-decoration: none; }
.footer-bottom a:hover { color: var(--safety-orange); }

/* ── HIGHLIGHT BOX ── */
.highlight-box {
  background: var(--steel-900);
  color: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  border-left: 5px solid var(--safety-orange);
  margin: 2rem 0;
}

.highlight-box h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  text-transform: uppercase;
  color: var(--safety-orange);
  margin-bottom: 0.75rem;
}

.highlight-box p { color: var(--steel-300); font-size: 0.95rem; margin-bottom: 0.5rem; }

/* ── COST RANGE BADGE ── */
.cost-range {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  background: rgba(242,101,34,0.1);
  border: 1px solid rgba(242,101,34,0.3);
  padding: 0.3rem 0.75rem;
  border-radius: var(--border-radius);
}

.cost-amount {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--safety-orange);
}

.cost-label { font-family: var(--font-mono); font-size: 0.7rem; color: var(--steel-500); text-transform: uppercase; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .site-nav { display: none; }
  .site-nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--steel-900); padding: 1rem 1.5rem; border-bottom: 2px solid var(--safety-orange); }
  .nav-toggle { display: block; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-stat-card { display: none; }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  :root { --section-pad: 2.5rem; }
  .card-grid { grid-template-columns: 1fr; }
  .state-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .checker-wrap { padding: 1.5rem; }
}

/* ── PRINT ── */
@media print {
  .site-header, .site-footer, .sidebar { display: none; }
  body { font-size: 12pt; }
  .prose h2 { page-break-after: avoid; }
}

/* ── ANALYTICS PLACEHOLDER ── */
/* Google Analytics 4 — replace with live G-XXXXXXXXXX
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}gtag('js',new Date());gtag('config','G-XXXXXXXXXX');</script>
*/

/* Microsoft Clarity — replace with live project ID
<script type="text/javascript">(function(c,l,a,r,i,t,y){c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);})(window,document,"clarity","script","XXXXXXXXXX");</script>
*/
