/* ============================================================
   AddressChangeGuide.pages.dev — Main Stylesheet
   Aesthetic: Editorial/Utilitarian — authoritative, human, clear
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Source+Sans+3:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

/* === VARIABLES === */
:root {
  --navy:       #1a2744;
  --navy-mid:   #243360;
  --navy-light: #2e4080;
  --amber:      #e8940a;
  --amber-light:#f5b942;
  --cream:      #faf8f4;
  --white:      #ffffff;
  --gray-100:   #f4f2ee;
  --gray-200:   #e8e4dc;
  --gray-400:   #a09888;
  --gray-600:   #6b6356;
  --gray-800:   #3a342c;
  --text:       #1e1a14;
  --text-light: #5a5248;
  --green:      #1a7a4a;
  --green-light:#e8f5ef;
  --red:        #b83232;
  --red-light:  #fdeaea;
  --border:     #ddd8cf;
  --shadow:     0 2px 12px rgba(26,39,68,0.10);
  --shadow-lg:  0 8px 32px rgba(26,39,68,0.15);
  --radius:     6px;
  --radius-lg:  12px;
  --max-w:      860px;
  --max-w-wide: 1100px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-light); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--amber); }

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: 'DM Serif Display', serif;
  color: var(--navy);
  line-height: 1.25;
}
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 0.75rem; margin-top: 2.5rem; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); margin-bottom: 0.5rem; margin-top: 1.75rem; }
h4 { font-size: 1.05rem; margin-bottom: 0.4rem; margin-top: 1.25rem; }
p { margin-bottom: 1.1rem; color: var(--text); }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1.1rem; }
li { margin-bottom: 0.4rem; }
strong { font-weight: 700; color: var(--navy); }
em { font-style: italic; }
blockquote {
  border-left: 4px solid var(--amber);
  padding: 0.75rem 1.25rem;
  background: var(--gray-100);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-light);
}

/* === HEADER === */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.header-inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}
.site-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.site-logo span.accent { color: var(--amber-light); }
.site-logo .logo-icon {
  width: 32px; height: 32px;
  background: var(--amber);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.main-nav { display: flex; gap: 0.25rem; align-items: center; flex-wrap: wrap; }
.main-nav a {
  color: rgba(255,255,255,0.80);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.main-nav a:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.main-nav a.active { background: var(--amber); color: var(--navy); }
.nav-cta {
  background: var(--amber) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
}
.hamburger {
  display: none;
  background: none; border: none;
  cursor: pointer; padding: 0.5rem;
  flex-direction: column; gap: 5px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: all 0.3s;
}

/* === BREADCRUMB === */
.breadcrumb {
  background: var(--navy-mid);
  padding: 0.5rem 1.5rem;
}
.breadcrumb-inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
}
.breadcrumb-inner a { color: rgba(255,255,255,0.80); text-decoration: none; }
.breadcrumb-inner a:hover { color: var(--amber-light); }
.breadcrumb-inner span { margin: 0 0.4rem; }

/* === HERO (Homepage) === */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
  padding: 4rem 1.5rem 3rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}
.hero-label {
  display: inline-block;
  background: var(--amber);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 1rem;
  max-width: 700px;
}
.hero h1 em { color: var(--amber-light); font-style: normal; }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 580px;
  margin-bottom: 2rem;
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  border: 2px solid transparent;
}
.btn-primary { background: var(--amber); color: var(--navy); }
.btn-primary:hover { background: var(--amber-light); color: var(--navy); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.5); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.1); color: var(--white); border-color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); color: var(--white); }
.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat { color: rgba(255,255,255,0.90); }
.hero-stat strong { display: block; font-size: 1.6rem; color: var(--amber-light); font-family: 'DM Serif Display', serif; }
.hero-stat span { font-size: 0.85rem; color: rgba(255,255,255,0.65); }

/* === URGENCY TIERS === */
.urgency-section { padding: 3rem 1.5rem; }
.urgency-inner { max-width: var(--max-w-wide); margin: 0 auto; }
.urgency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.urgency-card {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.urgency-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.urgency-card.tier-1 { border-top: 4px solid var(--red); }
.urgency-card.tier-2 { border-top: 4px solid var(--amber); }
.urgency-card.tier-3 { border-top: 4px solid var(--green); }
.tier-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 0.25rem 0.6rem;
  border-radius: 100px; margin-bottom: 0.75rem;
}
.tier-1 .tier-badge { background: var(--red-light); color: var(--red); }
.tier-2 .tier-badge { background: #fff3e0; color: #c17e00; }
.tier-3 .tier-badge { background: var(--green-light); color: var(--green); }
.urgency-card h3 { margin-top: 0; font-size: 1.1rem; }
.urgency-card ul { padding-left: 1.2rem; margin-bottom: 0.75rem; }
.urgency-card ul li { font-size: 0.9rem; margin-bottom: 0.3rem; }
.urgency-card .card-link {
  font-size: 0.88rem; font-weight: 600; color: var(--navy-light);
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.3rem;
}
.urgency-card .card-link:hover { color: var(--amber); }

/* === MAIN CONTENT LAYOUT === */
.page-layout {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}
.page-layout.full-width { grid-template-columns: 1fr; max-width: var(--max-w); }
.article-body { min-width: 0; }

/* === ARTICLE HERO === */
.article-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 3rem 1.5rem 2.5rem;
}
.article-hero-inner { max-width: var(--max-w-wide); margin: 0 auto; }
.article-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.article-hero .subtitle { color: rgba(255,255,255,0.78); font-size: 1.05rem; max-width: 640px; }
.article-meta {
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.60);
}
.article-meta span { display: flex; align-items: center; gap: 0.35rem; }

/* === CALLOUT BOXES === */
.callout {
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.callout-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 0.1rem; }
.callout-body h4 { margin-top: 0; font-size: 1rem; margin-bottom: 0.35rem; }
.callout-body p { margin-bottom: 0; font-size: 0.92rem; }
.callout.warning { background: #fff8e8; border: 1px solid #f5d070; }
.callout.warning h4 { color: #8a5e00; }
.callout.info { background: #e8eef8; border: 1px solid #b0c4e8; }
.callout.info h4 { color: var(--navy); }
.callout.success { background: var(--green-light); border: 1px solid #9ad4b8; }
.callout.success h4 { color: var(--green); }
.callout.danger { background: var(--red-light); border: 1px solid #e8a0a0; }
.callout.danger h4 { color: var(--red); }

/* === DEADLINE TABLE === */
.deadline-table-wrap { overflow-x: auto; margin: 1.75rem 0; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
table {
  width: 100%; border-collapse: collapse;
  background: var(--white);
  font-size: 0.93rem;
}
thead { background: var(--navy); color: var(--white); }
thead th {
  padding: 0.85rem 1rem; text-align: left;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 0.04em;
}
tbody tr { border-bottom: 1px solid var(--border); }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--gray-100); }
td { padding: 0.85rem 1rem; vertical-align: top; }
.badge-urgent { background: var(--red-light); color: var(--red); font-size: 0.78rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 100px; white-space: nowrap; }
.badge-soon { background: #fff3e0; color: #c17e00; font-size: 0.78rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 100px; white-space: nowrap; }
.badge-ok { background: var(--green-light); color: var(--green); font-size: 0.78rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 100px; white-space: nowrap; }

/* === SIDEBAR === */
.sidebar { position: sticky; top: 84px; }
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.25rem;
}
.sidebar-card h4 {
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--gray-600); margin-bottom: 0.75rem; margin-top: 0;
  border-bottom: 1px solid var(--border); padding-bottom: 0.5rem;
}
.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-list li { margin-bottom: 0; }
.toc-list a {
  font-size: 0.88rem; color: var(--text-light);
  text-decoration: none; display: block;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--gray-100);
  transition: color 0.2s, padding-left 0.2s;
}
.toc-list a:hover { color: var(--navy-light); padding-left: 0.4rem; }
.toc-list a.sub { padding-left: 1rem; font-size: 0.83rem; }
.related-links { list-style: none; padding: 0; margin: 0; }
.related-links li { margin-bottom: 0; }
.related-links a {
  font-size: 0.88rem; display: flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0; color: var(--navy-light); text-decoration: none;
  border-bottom: 1px solid var(--gray-100);
  transition: color 0.2s;
}
.related-links a:hover { color: var(--amber); }
.sidebar-cta {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-align: center;
}
.sidebar-cta h4 { color: var(--amber-light); margin-top: 0; font-size: 1rem; border-bottom: none; padding-bottom: 0; }
.sidebar-cta p { font-size: 0.88rem; color: rgba(255,255,255,0.78); margin-bottom: 1rem; }
.sidebar-cta .btn { width: 100%; justify-content: center; font-size: 0.88rem; }

/* === FAQ SECTION === */
.faq-section {
  margin: 2.5rem 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.faq-header {
  background: var(--navy);
  padding: 1rem 1.5rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.faq-header h2 { color: var(--white); font-size: 1.2rem; margin: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%; background: none; border: none; cursor: pointer;
  padding: 1.1rem 1.5rem;
  text-align: left; display: flex; justify-content: space-between;
  align-items: center; gap: 1rem;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.97rem; font-weight: 600;
  color: var(--navy); transition: background 0.2s;
}
.faq-question:hover { background: var(--gray-100); }
.faq-question.open { background: var(--gray-100); }
.faq-chevron { flex-shrink: 0; font-size: 0.7rem; transition: transform 0.25s; color: var(--amber); }
.faq-question.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  display: none; padding: 0 1.5rem 1.25rem;
  font-size: 0.93rem; color: var(--text-light); line-height: 1.7;
}
.faq-answer.open { display: block; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { color: var(--navy-light); }

/* === STEP LIST === */
.step-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.step-list li {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 0; border-bottom: 1px solid var(--border);
}
.step-list li:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0; width: 32px; height: 32px;
  background: var(--navy); color: var(--white);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-weight: 700; font-size: 0.88rem;
  margin-top: 0.1rem;
}
.step-content { flex: 1; }
.step-content strong { display: block; margin-bottom: 0.3rem; color: var(--navy); }
.step-content p { font-size: 0.93rem; margin-bottom: 0; color: var(--text-light); }

/* === CHECKLIST COMPONENT === */
.checklist {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); margin: 1.75rem 0;
}
.checklist-header {
  background: var(--navy); padding: 0.9rem 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.checklist-header h3 { color: var(--white); font-size: 1rem; margin: 0; }
.checklist-header .header-badge {
  margin-left: auto; background: var(--amber);
  color: var(--navy); font-size: 0.75rem; font-weight: 700;
  padding: 0.2rem 0.5rem; border-radius: 100px;
}
.checklist-body { padding: 0.75rem 1.25rem; }
.checklist-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.6rem 0; border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
}
.checklist-item:last-child { border-bottom: none; }
.checklist-item input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0;
  margin-top: 0.15rem; accent-color: var(--navy);
  cursor: pointer;
}
.checklist-item label { font-size: 0.93rem; cursor: pointer; flex: 1; }
.checklist-item.checked label { text-decoration: line-through; color: var(--gray-400); }
.checklist-item .item-badge {
  font-size: 0.72rem; font-weight: 700; padding: 0.15rem 0.45rem;
  border-radius: 100px; flex-shrink: 0; margin-top: 0.2rem;
}

/* === TOOL / WIZARD === */
.tool-container {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); margin: 2rem 0;
}
.tool-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 1.75rem 2rem;
}
.tool-header h2 { color: var(--white); margin: 0 0 0.4rem; font-size: 1.5rem; }
.tool-header p { color: rgba(255,255,255,0.78); margin: 0; font-size: 0.95rem; }
.tool-body { padding: 2rem; }
.tool-progress {
  display: flex; gap: 0.5rem; margin-bottom: 2rem;
}
.progress-step {
  flex: 1; height: 4px; border-radius: 2px;
  background: var(--gray-200); transition: background 0.3s;
}
.progress-step.active { background: var(--amber); }
.progress-step.done { background: var(--navy); }
.wizard-step { display: none; }
.wizard-step.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.wizard-step h3 { font-size: 1.2rem; margin-bottom: 1.25rem; color: var(--navy); }
.option-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.option-btn {
  padding: 1rem; border: 2px solid var(--border);
  border-radius: var(--radius-lg); background: var(--white);
  cursor: pointer; text-align: left; transition: all 0.2s;
  font-family: 'Source Sans 3', sans-serif;
}
.option-btn:hover { border-color: var(--navy-light); background: var(--gray-100); }
.option-btn.selected { border-color: var(--navy); background: #e8eef8; }
.option-btn strong { display: block; font-size: 0.95rem; color: var(--navy); margin-bottom: 0.25rem; }
.option-btn span { font-size: 0.82rem; color: var(--text-light); }
.wizard-nav { display: flex; gap: 1rem; justify-content: space-between; margin-top: 1.5rem; }
.result-section { display: none; }
.result-section.active { display: block; animation: fadeIn 0.3s ease; }
.result-header {
  background: var(--green-light); border: 1px solid #9ad4b8;
  border-radius: var(--radius-lg); padding: 1.25rem 1.5rem;
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem;
}
.result-header .checkmark { font-size: 2rem; }
.result-header h3 { margin: 0; color: var(--green); font-size: 1.2rem; }
.result-header p { margin: 0.25rem 0 0; font-size: 0.9rem; color: var(--text-light); }
.result-checklist { margin-bottom: 1.5rem; }
.result-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.75rem 0; border-bottom: 1px solid var(--border);
}
.result-item:last-child { border-bottom: none; }
.result-item .priority-dot {
  width: 10px; height: 10px; border-radius: 50%;
  flex-shrink: 0; margin-top: 0.45rem;
}
.priority-dot.p1 { background: var(--red); }
.priority-dot.p2 { background: var(--amber); }
.priority-dot.p3 { background: var(--green); }
.result-item-body strong { display: block; font-size: 0.95rem; color: var(--navy); }
.result-item-body span { font-size: 0.85rem; color: var(--text-light); }
.result-item-body a { font-size: 0.85rem; color: var(--navy-light); }
.print-btn {
  background: var(--navy); color: var(--white); border: none;
  padding: 0.75rem 1.5rem; border-radius: var(--radius);
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.95rem; font-weight: 700;
  cursor: pointer; display: inline-flex; align-items: center; gap: 0.5rem;
  transition: background 0.2s;
}
.print-btn:hover { background: var(--navy-mid); }

/* === STATE GRID === */
.state-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem; margin: 1.5rem 0;
}
.state-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem;
  box-shadow: var(--shadow); transition: all 0.2s;
  text-decoration: none;
}
.state-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--navy-light); }
.state-card h3 { margin: 0 0 0.3rem; font-size: 1rem; color: var(--navy); }
.state-card .deadline { font-size: 0.82rem; color: var(--text-light); }
.state-card .deadline strong { color: var(--red); }

/* === CATEGORY GRID === */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem; margin: 1.5rem 0;
}
.category-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  box-shadow: var(--shadow); transition: all 0.2s;
  text-decoration: none; display: block;
}
.category-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.category-icon {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--navy); display: flex; align-items: center;
  justify-content: center; font-size: 1.3rem; margin-bottom: 0.85rem;
}
.category-card h3 { margin: 0 0 0.4rem; font-size: 1rem; color: var(--navy); }
.category-card p { margin: 0; font-size: 0.85rem; color: var(--text-light); }
.category-card .count { font-size: 0.78rem; color: var(--amber); font-weight: 700; margin-top: 0.5rem; }

/* === DISCLAIMER === */
.disclaimer {
  background: var(--gray-100); border: 1px solid var(--border);
  border-left: 4px solid var(--gray-400);
  border-radius: var(--radius); padding: 1rem 1.25rem;
  margin: 2rem 0; font-size: 0.85rem; color: var(--text-light);
}
.disclaimer strong { color: var(--gray-800); }

/* === FOOTER === */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 3rem 1.5rem 2rem;
  margin-top: 4rem;
}
.footer-inner {
  max-width: var(--max-w-wide); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem;
}
.footer-brand .site-logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.65; max-width: 280px; }
.footer-col h4 {
  color: var(--white); font-family: 'Source Sans 3', sans-serif;
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.07em;
  margin-bottom: 0.85rem; margin-top: 0;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 0.4rem; }
.footer-col ul li a {
  color: rgba(255,255,255,0.65); font-size: 0.88rem;
  text-decoration: none; transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--amber-light); }
.footer-bottom {
  max-width: var(--max-w-wide); margin: 2rem auto 0;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  font-size: 0.82rem; color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-bottom a:hover { color: var(--amber-light); }

/* === ANALYTICS PLACEHOLDERS === */
/* <!-- GOOGLE_TAG_MANAGER_PLACEHOLDER --> */
/* <!-- GA4_PLACEHOLDER: G-XXXXXXXXXX --> */
/* <!-- CLARITY_PLACEHOLDER --> */

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .header-inner { height: 56px; }
  .main-nav { display: none; flex-direction: column; position: absolute; top: 56px; left: 0; right: 0; background: var(--navy); padding: 1rem; gap: 0.25rem; }
  .main-nav.open { display: flex; }
  .hamburger { display: flex; }
  .option-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.25rem; }
  .urgency-grid { grid-template-columns: 1fr; }
}
@media print {
  .site-header, .site-footer, .sidebar, .breadcrumb { display: none; }
  .page-layout { grid-template-columns: 1fr; }
  body { background: white; }
}
