/* ============================================
   PanelPermitMap.pages.dev — Main Stylesheet
   Aesthetic: American Civic Utility
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400;600;700;800&family=Source+Sans+3:wght@300;400;600;700&family=Source+Code+Pro:wght@400;600&display=swap');

/* ── CSS Variables ── */
:root {
  --navy:       #0d1f3c;
  --navy-mid:   #162d52;
  --navy-light: #1e3e6e;
  --amber:      #e8a020;
  --amber-dark: #c8861a;
  --amber-pale: #fdf3e0;
  --white:      #ffffff;
  --off-white:  #f7f8fa;
  --gray-100:   #eef0f4;
  --gray-200:   #dde1e9;
  --gray-400:   #8f96a8;
  --gray-600:   #545d70;
  --gray-800:   #2c3344;
  --green:      #1a7a4a;
  --green-pale: #e6f4ee;
  --red:        #c0392b;
  --red-pale:   #fdecea;

  --font-display: 'Roboto Slab', Georgia, serif;
  --font-body:    'Source Sans 3', sans-serif;
  --font-mono:    'Source Code Pro', monospace;

  --shadow-sm:  0 1px 3px rgba(13,31,60,.08), 0 1px 2px rgba(13,31,60,.04);
  --shadow-md:  0 4px 12px rgba(13,31,60,.10), 0 2px 4px rgba(13,31,60,.06);
  --shadow-lg:  0 10px 30px rgba(13,31,60,.14), 0 4px 8px rgba(13,31,60,.08);

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  14px;

  --max-w:      1140px;
  --content-w:  780px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--off-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-light); text-decoration: underline; }
a:hover { color: var(--amber-dark); }

/* ── Circuit-trace background pattern on body ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(13,31,60,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,31,60,.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* ── Skip link ── */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--amber);
  color: var(--navy);
  padding: 8px 16px;
  font-weight: 700;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ══════════════════════════════
   HEADER / NAV
══════════════════════════════ */
.site-header {
  background: var(--navy);
  border-bottom: 3px solid var(--amber);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 20px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--amber);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: -.01em;
  line-height: 1.2;
}
.logo-text span { color: var(--amber); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a {
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.site-nav a:hover {
  background: rgba(255,255,255,.1);
  color: var(--white);
}
.site-nav a.active {
  background: var(--amber);
  color: var(--navy);
}
.nav-cta {
  background: var(--amber) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
}
.nav-cta:hover { background: var(--amber-dark) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* ── Mobile nav ── */
.mobile-nav {
  display: none;
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,.1);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  padding: 14px 24px;
  font-size: .95rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-nav a:hover { background: rgba(255,255,255,.07); color: var(--white); }

/* ══════════════════════════════
   HERO
══════════════════════════════ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy-light) 100%);
  color: var(--white);
  padding: 72px 24px 64px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 40px;
  background: var(--off-white);
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 50% 100%, 0 0);
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(232,160,32,.15);
  border: 1px solid rgba(232,160,32,.3);
  color: var(--amber);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--amber);
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.78);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: all .18s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--amber);
  color: var(--navy);
  border-color: var(--amber);
}
.btn-primary:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  color: var(--navy);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.35);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.08);
  color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--navy-light);
  border-color: var(--gray-200);
  font-size: .88rem;
  padding: 9px 18px;
}
.btn-ghost:hover {
  border-color: var(--navy-light);
  background: var(--gray-100);
}

/* Hero card */
.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(8px);
}
.hero-card-title {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}
.state-quick-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.state-quick-links a {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background .15s, color .15s;
}
.state-quick-links a:hover {
  background: rgba(232,160,32,.2);
  color: var(--amber);
  border-color: rgba(232,160,32,.3);
}

/* ══════════════════════════════
   ALERT / NOTICE BANNERS
══════════════════════════════ */
.notice {
  border-left: 4px solid var(--amber);
  background: var(--amber-pale);
  padding: 14px 18px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: .93rem;
  margin: 24px 0;
}
.notice-info { border-color: #2980b9; background: #eaf4fb; }
.notice-success { border-color: var(--green); background: var(--green-pale); }
.notice-warning { border-color: var(--amber); background: var(--amber-pale); }
.notice-danger { border-color: var(--red); background: var(--red-pale); }
.notice strong { display: block; margin-bottom: 4px; }

/* ══════════════════════════════
   MAIN LAYOUT
══════════════════════════════ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.content-wrap {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section headings ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 10px;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--amber);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.02em;
  line-height: 1.25;
  margin-bottom: 12px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 600px;
  line-height: 1.7;
}

/* ══════════════════════════════
   CARDS
══════════════════════════════ */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
  background: var(--amber-pale);
}
.card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.card p { font-size: .92rem; color: var(--gray-600); line-height: 1.6; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--navy-light);
  text-decoration: none;
  margin-top: 14px;
}
.card-link:hover { color: var(--amber-dark); }

/* ══════════════════════════════
   STATE GRID
══════════════════════════════ */
.state-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin: 24px 0;
}
.state-tile {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  text-align: center;
  text-decoration: none;
  color: var(--navy);
  font-size: .85rem;
  font-weight: 600;
  transition: all .18s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}
.state-tile:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.state-tile .abbr {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--amber-dark);
}
.state-tile:hover .abbr { color: var(--amber); }

/* ══════════════════════════════
   ARTICLE / CONTENT STYLES
══════════════════════════════ */
.article-header {
  background: var(--navy);
  color: var(--white);
  padding: 56px 24px 48px;
}
.article-header .container { max-width: var(--content-w); }
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.article-meta .tag {
  background: rgba(232,160,32,.2);
  border: 1px solid rgba(232,160,32,.3);
  color: var(--amber);
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.article-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.article-header .lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,.78);
  max-width: 640px;
  line-height: 1.7;
}

.article-body {
  padding: 48px 0 64px;
}
.article-body .container { max-width: var(--content-w); }

.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--navy);
  margin: 44px 0 14px;
  padding-top: 8px;
  border-top: 2px solid var(--amber);
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin: 28px 0 10px;
}
.article-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-800);
  margin: 20px 0 8px;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .85rem;
}
.article-body p { margin-bottom: 18px; line-height: 1.75; }
.article-body ul, .article-body ol {
  padding-left: 1.5em;
  margin-bottom: 18px;
}
.article-body li { margin-bottom: 7px; line-height: 1.65; }
.article-body strong { color: var(--navy); }
.article-body code {
  font-family: var(--font-mono);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: 2px 7px;
  border-radius: 3px;
  font-size: .87em;
  color: var(--navy-light);
}

/* ── Info Box ── */
.info-box {
  background: var(--amber-pale);
  border: 1px solid rgba(232,160,32,.3);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin: 28px 0;
  font-size: .93rem;
}
.info-box .label {
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 6px;
}
.info-box-success { background: var(--green-pale); border-color: var(--green); border-left-color: var(--green); }
.info-box-success .label { color: var(--green); }
.info-box-danger { background: var(--red-pale); border-color: var(--red); border-left-color: var(--red); }
.info-box-danger .label { color: var(--red); }

/* ── Comparison Table ── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: .9rem;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.data-table thead tr {
  background: var(--navy);
  color: var(--white);
}
.data-table th {
  padding: 13px 16px;
  text-align: left;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.data-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: top;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:nth-child(even) { background: var(--off-white); }
.data-table tbody tr:hover { background: var(--amber-pale); }
.badge-yes { color: var(--green); font-weight: 700; }
.badge-no  { color: var(--red); font-weight: 700; }
.badge-varies { color: var(--amber-dark); font-weight: 700; }

/* ── FAQ ── */
.faq-section { margin: 48px 0; }
.faq-section h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--amber);
}
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  background: var(--white);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  text-align: left;
  font-family: var(--font-body);
  font-size: .97rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-q:hover { background: var(--off-white); }
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  font-weight: 900;
  transition: transform .2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 0 20px 18px;
  font-size: .93rem;
  color: var(--gray-600);
  line-height: 1.7;
  border-top: 1px solid var(--gray-100);
}
.faq-item.open .faq-a { display: block; padding-top: 16px; }

/* ══════════════════════════════
   SIDEBAR LAYOUT
══════════════════════════════ */
.page-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px 64px;
}
.sidebar {
  position: sticky;
  top: 88px;
}
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.sidebar-card h3 {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--amber);
}
.toc-list {
  list-style: none;
  padding: 0;
}
.toc-list li { margin-bottom: 4px; }
.toc-list a {
  font-size: .87rem;
  color: var(--gray-600);
  text-decoration: none;
  display: block;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: background .12s, color .12s;
}
.toc-list a:hover {
  background: var(--amber-pale);
  color: var(--navy);
}
.toc-list .sub { padding-left: 18px; font-size: .82rem; }

/* ── Disclaimer ── */
.disclaimer {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: .82rem;
  color: var(--gray-600);
  margin: 40px 0 20px;
  line-height: 1.6;
}
.disclaimer strong { color: var(--gray-800); }

/* ══════════════════════════════
   HOMEPAGE SECTIONS
══════════════════════════════ */
.hp-section {
  padding: 64px 0;
}
.hp-section:nth-child(even) {
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}
.hp-section-header { text-align: center; margin-bottom: 44px; }

/* Stats strip */
.stats-strip {
  background: var(--navy);
  padding: 40px 24px;
  color: var(--white);
}
.stats-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: .82rem;
  color: rgba(255,255,255,.65);
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
}

/* Steps */
.steps { counter-reset: step; }
.step {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.step-num {
  counter-increment: step;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .95rem;
}
.step-num::before { content: counter(step); }
.step-body h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
}
.step-body p { font-size: .92rem; color: var(--gray-600); margin: 0; }

/* ══════════════════════════════
   TOOL PAGE
══════════════════════════════ */
.tool-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}
.tool-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.tool-step { display: none; }
.tool-step.active { display: block; }
.tool-step-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 8px;
}
.tool-question {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  line-height: 1.35;
}
.tool-options { display: flex; flex-direction: column; gap: 10px; }
.tool-option {
  background: var(--off-white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  transition: all .15s;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tool-option:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
.tool-option.selected {
  border-color: var(--amber);
  background: var(--amber-pale);
  color: var(--navy);
}
.tool-result {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--white);
  display: none;
  margin-top: 24px;
}
.tool-result.visible { display: block; }
.tool-result h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 12px;
}
.tool-result p { font-size: .93rem; color: rgba(255,255,255,.82); line-height: 1.7; margin-bottom: 10px; }
.tool-result ul { padding-left: 1.5em; color: rgba(255,255,255,.78); font-size: .9rem; }
.tool-result li { margin-bottom: 6px; }
.tool-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 28px;
}
.tool-progress-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-200);
  transition: background .2s;
}
.tool-progress-dot.done { background: var(--amber); }
.tool-progress-dot.active { background: var(--navy); }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  padding: 56px 24px 32px;
  border-top: 3px solid var(--amber);
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 48px;
}
.footer-brand .logo-text { font-size: 1.05rem; margin-bottom: 12px; display: block; }
.footer-brand p {
  font-size: .86rem;
  line-height: 1.65;
  max-width: 280px;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 7px; }
.footer-col a {
  font-size: .87rem;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color .15s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .82rem; }
.footer-bottom a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: .82rem;
}
.footer-bottom a:hover { color: var(--white); }
.footer-links { display: flex; gap: 16px; }

/* ══════════════════════════════
   BREADCRUMB
══════════════════════════════ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
}
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb-sep { opacity: .4; }

/* ══════════════════════════════
   PDF DOWNLOAD BLOCK
══════════════════════════════ */
.pdf-download {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 32px 0;
  color: var(--white);
}
.pdf-icon { font-size: 2.5rem; flex-shrink: 0; }
.pdf-info h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--white);
}
.pdf-info p { font-size: .86rem; color: rgba(255,255,255,.65); margin: 0; }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .hero { padding: 52px 24px 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .page-with-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .site-nav { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 1.9rem; }
  .card-grid { grid-template-columns: 1fr; }
  .state-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-actions { flex-direction: column; }
  .tool-card { padding: 22px; }
  .pdf-download { flex-direction: column; text-align: center; }
}

/* ── Utility ── */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.hidden { display: none !important; }

/* Print styles */
@media print {
  .site-header, .site-footer, .sidebar, .hero-card { display: none; }
  body { background: white; }
  .article-header { background: white; color: black; }
}
