/* ========================================
   HowMuchToStartABusiness.com
   Mobile-first responsive CSS
   ======================================== */

:root {
  --color-primary: #1a56db;
  --color-primary-dark: #1242a8;
  --color-primary-light: #e8effc;
  --color-success: #059669;
  --color-success-light: #ecfdf5;
  --color-warning: #d97706;
  --color-warning-light: #fffbeb;
  --color-danger: #dc2626;
  --color-text: #1f2937;
  --color-text-light: #6b7280;
  --color-text-lighter: #9ca3af;
  --color-border: #e5e7eb;
  --color-bg: #ffffff;
  --color-bg-alt: #f9fafb;
  --color-bg-dark: #111827;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SF Mono', SFMono-Regular, Consolas, monospace;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --max-width: 1200px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
ul, ol { list-style: none; }

/* Container */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1rem; }

/* ========== HEADER / NAV ========== */
.site-header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo:hover { text-decoration: none; }
.logo svg { color: var(--color-primary); }
.nav-links { display: flex; gap: 1.5rem; align-items: center; }
.nav-links a {
  font-size: 0.875rem;
  color: var(--color-text-light);
  font-weight: 500;
}
.nav-links a:hover { color: var(--color-primary); text-decoration: none; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  padding: 3rem 0;
  text-align: center;
}
.hero h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero p { font-size: 1.125rem; opacity: 0.9; max-width: 600px; margin: 0 auto 2rem; }

/* Hero search */
.search-box {
  background: white;
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  display: flex;
  gap: 0.5rem;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}
.search-box select, .search-box input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg);
}
.search-box select:focus, .search-box input:focus {
  outline: none;
  border-color: var(--color-primary);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn:hover { background: var(--color-primary-dark); text-decoration: none; color: white; }
.btn-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}
.btn-outline:hover { background: var(--color-primary); color: white; }
.btn-success { background: var(--color-success); }
.btn-success:hover { background: #047857; }

/* ========== COST SUMMARY HERO ========== */
.cost-hero {
  background: linear-gradient(135deg, #065f46 0%, #047857 100%);
  color: white;
  padding: 2.5rem 0;
}
.cost-hero h1 { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.75rem; }
.cost-total {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 1rem 0;
}
.cost-hero .subtitle { font-size: 1rem; opacity: 0.85; }

/* ========== BREADCRUMBS ========== */
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 1rem 0;
  font-size: 0.8125rem;
  color: var(--color-text-light);
}
.breadcrumbs li::after { content: '/'; margin-left: 0.5rem; color: var(--color-text-lighter); }
.breadcrumbs li:last-child::after { content: ''; }
.breadcrumbs .current { color: var(--color-text); font-weight: 500; }
.breadcrumbs a { color: var(--color-text-light); }
.breadcrumbs a:hover { color: var(--color-primary); }

/* ========== SECTIONS ========== */
.section { padding: 3rem 0; }
.section-alt { background: var(--color-bg-alt); }
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* ========== COST TABLE ========== */
.cost-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.cost-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  background: var(--color-bg-alt);
  border-bottom: 2px solid var(--color-border);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
}
.cost-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
.cost-table tr:hover td { background: var(--color-bg-alt); }
.cost-label { font-weight: 600; }
.cost-desc { font-size: 0.8125rem; color: var(--color-text-light); margin-top: 0.25rem; }
.cost-amount { font-weight: 700; white-space: nowrap; color: var(--color-success); }
.cost-note { font-size: 0.75rem; color: var(--color-text-lighter); font-style: italic; }
.cost-table .total-row td {
  background: var(--color-success-light);
  font-weight: 700;
  font-size: 1.125rem;
  border-top: 2px solid var(--color-success);
}

/* ========== CARDS GRID ========== */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--color-primary);
}
.card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.card p { font-size: 0.875rem; color: var(--color-text-light); }
.card-link { display: block; color: inherit; }
.card-link:hover { text-decoration: none; }

/* ========== FAQ ACCORDION ========== */
.faq-list { max-width: 800px; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question:hover { background: var(--color-bg-alt); }
.faq-question svg { flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  padding: 0 1.25rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 500px; padding: 0 1.25rem 1.25rem; }
.faq-answer p { color: var(--color-text-light); line-height: 1.7; }

/* ========== PERMITS LIST ========== */
.permits-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
}
.permits-list svg { color: var(--color-success); flex-shrink: 0; margin-top: 2px; }

/* ========== AFFILIATE CTA ========== */
.cta-box {
  background: var(--color-primary-light);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}
.cta-box h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.cta-box p { color: var(--color-text-light); margin-bottom: 1.25rem; }

/* ========== AD SLOT ========== */
.ad-slot {
  background: var(--color-bg-alt);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  color: var(--color-text-lighter);
  font-size: 0.75rem;
  margin: 2rem 0;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========== RELATED LINKS ========== */
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.75rem; }
.related-link {
  display: block;
  padding: 0.75rem 1rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.related-link:hover { border-color: var(--color-primary); color: var(--color-primary); text-decoration: none; }

/* ========== CONTENT SECTIONS ========== */
.content-section { margin: 2rem 0; }
.content-section h2 { font-size: 1.375rem; font-weight: 700; margin-bottom: 1rem; }
.content-section p { color: var(--color-text); line-height: 1.8; margin-bottom: 1rem; }

/* ========== HOW IT WORKS ========== */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; text-align: center; }
.step-number {
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}
.step h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.875rem; color: var(--color-text-light); }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--color-bg-dark);
  color: #9ca3af;
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer-col h4 { color: white; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }
.footer-col a { display: block; color: #9ca3af; font-size: 0.875rem; padding: 0.25rem 0; }
.footer-col a:hover { color: white; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8125rem;
}
.disclaimer {
  font-size: 0.75rem;
  color: #6b7280;
  max-width: 700px;
  margin: 1rem auto 0;
  line-height: 1.5;
}

/* ========== 404 ========== */
.page-404 { text-align: center; padding: 4rem 0; }
.page-404 h1 { font-size: 4rem; font-weight: 800; color: var(--color-primary); }
.page-404 h2 { font-size: 1.5rem; margin: 1rem 0; }
.page-404 p { color: var(--color-text-light); margin-bottom: 2rem; }

/* ========== COMPARISON PAGE ========== */
.compare-totals {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.compare-card {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  text-align: center;
  min-width: 250px;
}
.compare-card h3 { font-size: 1.125rem; margin-bottom: 0.5rem; }
.compare-card .cost-total { font-size: 1.75rem; }
.compare-vs {
  font-size: 1.5rem;
  font-weight: 800;
  opacity: 0.6;
}
.compare-table td:nth-child(4) { text-align: center; }

/* Diff badges */
.diff-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--color-bg-alt);
  color: var(--color-text-light);
}
.diff-badge.diff-higher {
  background: #fef2f2;
  color: #dc2626;
}
.diff-badge.diff-lower {
  background: #ecfdf5;
  color: #059669;
}

/* ========== TABLE RESPONSIVE ========== */
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ========== FILTER BAR ========== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}
.filter-btn {
  padding: 0.5rem 1rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text-light);
  cursor: pointer;
  transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.filter-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

/* ========== ALL INDUSTRIES PAGE ========== */
.category-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2rem 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-primary);
}
.category-header svg { color: var(--color-primary); }
.category-count {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-text-lighter);
  margin-left: auto;
}
.category-section.hidden { display: none; }

/* ========== RELATED LINK WITH ICON ========== */
.related-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.related-link svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--color-text-lighter); }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem;
    box-shadow: var(--shadow-md);
  }
  .hero h1 { font-size: 1.5rem; }
  .search-box { flex-direction: column; }
  .cost-total { font-size: 2rem; }
  .cost-table { font-size: 0.875rem; }
  .cost-table th:nth-child(3),
  .cost-table td:nth-child(3) { display: none; }
}

@media (max-width: 480px) {
  .hero { padding: 2rem 0; }
  .hero h1 { font-size: 1.25rem; }
  .cards { grid-template-columns: 1fr; }
}

/* ========================================
   Monetization Components
   ======================================== */

/* Affiliate Tools Grid */
.tools-box { background: var(--color-bg-alt, #f8f9fa); border-radius: 12px; padding: 2rem; margin: 1rem 0; }
.tools-box h3 { margin: 0 0 1.25rem; font-size: 1.25rem; }
.tools-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.tool-card {
  display: flex; flex-direction: column; padding: 1.25rem;
  background: #fff; border-radius: 8px; border: 1px solid #e2e8f0;
  text-decoration: none; color: inherit; transition: all 0.2s;
}
.tool-card:hover { border-color: var(--color-primary, #2563eb); box-shadow: 0 4px 12px rgba(0,0,0,0.08); transform: translateY(-2px); }
.tool-name { font-weight: 700; font-size: 0.875rem; color: var(--color-text-light, #64748b); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.5px; }
.tool-desc { font-size: 0.9375rem; color: var(--color-text, #1e293b); flex: 1; margin-bottom: 0.75rem; }
.tool-cta { font-weight: 600; color: var(--color-primary, #2563eb); font-size: 0.9375rem; }

/* Inline CTA */
.inline-cta {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  padding: 1rem 1.25rem; margin: 1.5rem 0;
  background: linear-gradient(135deg, #eff6ff, #f0fdf4);
  border-left: 4px solid var(--color-primary, #2563eb);
  border-radius: 0 8px 8px 0; font-size: 0.9375rem;
}
.inline-cta-label { font-weight: 700; color: var(--color-primary, #2563eb); }
.inline-cta a { font-weight: 600; color: var(--color-primary, #2563eb); text-decoration: none; }
.inline-cta a:hover { text-decoration: underline; }
.inline-cta-via { color: var(--color-text-light, #64748b); font-size: 0.8125rem; }

/* CTA Box (enhanced) */
.cta-subtext { margin-top: 0.75rem; font-size: 0.8125rem; color: var(--color-text-light, #64748b); }

/* Email Popup */
.popup-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem; backdrop-filter: blur(4px);
}
.popup-box {
  background: #fff; border-radius: 16px; padding: 2.5rem; max-width: 440px; width: 100%;
  position: relative; box-shadow: 0 24px 48px rgba(0,0,0,0.2);
  text-align: center;
}
.popup-close {
  position: absolute; top: 12px; right: 16px; background: none; border: none;
  font-size: 1.75rem; cursor: pointer; color: #94a3b8; line-height: 1;
}
.popup-close:hover { color: #1e293b; }
.popup-box h3 { margin: 0 0 0.5rem; font-size: 1.5rem; }
.popup-box > p { margin: 0 0 1.25rem; color: var(--color-text-light, #64748b); }
.popup-form { display: flex; gap: 0.5rem; }
.popup-form input[type="email"] {
  flex: 1; padding: 0.75rem 1rem; border: 2px solid #e2e8f0; border-radius: 8px;
  font-size: 1rem; outline: none;
}
.popup-form input:focus { border-color: var(--color-primary, #2563eb); }
.popup-form .btn { white-space: nowrap; padding: 0.75rem 1.25rem; }
.popup-disclaimer { margin: 0.75rem 0 0; font-size: 0.75rem; color: #94a3b8; }

/* Sticky Bottom CTA */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: var(--color-success, #16a34a); text-align: center;
  transform: translateY(100%); transition: transform 0.3s ease;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta a {
  display: block; padding: 1rem; color: #fff; text-decoration: none;
  font-weight: 700; font-size: 1rem; letter-spacing: 0.3px;
}

/* Responsive */
@media (max-width: 768px) {
  .tools-grid { grid-template-columns: 1fr; }
  .popup-form { flex-direction: column; }
  .popup-box { padding: 2rem 1.5rem; }
  body { padding-bottom: 56px; }
}
@media (min-width: 769px) {
  .sticky-cta { display: none; }
}

/* ========== GUIDE PAGES ========== */
.guide-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: white;
  padding: 3rem 0;
}
.guide-hero-img {
  background-size: cover;
  background-position: center;
  position: relative;
}
.guide-hero-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,86,219,0.85) 0%, rgba(18,66,168,0.9) 100%);
}
.guide-hero-img > .container { position: relative; z-index: 1; }
.guide-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.guide-meta-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.guide-category-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(255,255,255,0.2);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: white;
}
.guide-category-tag:hover { background: rgba(255,255,255,0.3); text-decoration: none; color: white; }
.guide-pillar-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--color-warning);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.guide-subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 700px;
  margin-bottom: 1rem;
}
.guide-date {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  opacity: 0.8;
}
.guide-read-time::before { content: '\00b7'; margin-right: 0.5rem; }

/* Guide TOC */
.guide-toc {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}
.guide-toc h2 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
}
.guide-toc ol {
  list-style: decimal;
  padding-left: 1.25rem;
}
.guide-toc li {
  padding: 0.35rem 0;
  font-size: 0.9375rem;
}
.guide-toc a { color: var(--color-primary); }
.guide-toc a:hover { text-decoration: underline; }

/* Guide content */
.guide-content { max-width: 800px; margin: 0 auto; }
.guide-section { margin: 2.5rem 0; }
.guide-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-top: 0.5rem;
}
.guide-text { line-height: 1.8; color: var(--color-text); }
.guide-text p { margin-bottom: 1rem; }
.guide-text ul, .guide-text ol { margin: 1rem 0; padding-left: 1.5rem; }
.guide-text ul { list-style: disc; }
.guide-text ol { list-style: decimal; }
.guide-text li { margin-bottom: 0.5rem; line-height: 1.7; }
.guide-text strong { font-weight: 700; }
.guide-text a { color: var(--color-primary); text-decoration: underline; text-decoration-color: rgba(26,86,219,0.3); }
.guide-text a:hover { text-decoration-color: var(--color-primary); }
.guide-text table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.9375rem; }
.guide-text th {
  text-align: left;
  padding: 0.75rem;
  background: var(--color-bg-alt);
  border-bottom: 2px solid var(--color-border);
  font-size: 0.8125rem;
  font-weight: 600;
}
.guide-text td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}
.guide-text tr:hover td { background: var(--color-bg-alt); }

/* Hidden SEO img tag in hero (crawlable but visually hidden) */
.guide-hero-seo-img {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* Card thumbnail images */
.card-thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  margin: -1.5rem -1.5rem 1rem -1.5rem;
  width: calc(100% + 3rem);
}

/* Guide listing page */
.category-hero-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
}
.card-featured {
  border-color: var(--color-primary);
  border-width: 2px;
}
.card-date {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--color-text-lighter);
}

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-bg-dark);
  color: #e5e7eb;
  padding: 1rem;
  z-index: 9999;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
}
.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cookie-inner p { margin: 0; font-size: 0.875rem; }
.cookie-inner a { color: #93c5fd; }
.cookie-btns { display: flex; gap: 0.5rem; flex-shrink: 0; }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.8125rem; }
.btn-outline {
  background: transparent;
  border: 1px solid #6b7280;
  color: #d1d5db;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* Legal pages */
.legal-content { max-width: 800px; }
.legal-content h1 { font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem; }
.legal-updated { color: var(--color-text-light); font-size: 0.875rem; margin-bottom: 2rem; }
.legal-content h2 { font-size: 1.25rem; font-weight: 700; margin: 2rem 0 0.75rem; }
.legal-content p { margin-bottom: 1rem; line-height: 1.7; }
.legal-content ul { margin-bottom: 1rem; padding-left: 1.5rem; }
.legal-content li { margin-bottom: 0.5rem; line-height: 1.6; }
.legal-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.legal-content th { text-align: left; padding: 0.75rem; border-bottom: 2px solid var(--color-border); font-size: 0.875rem; }
.legal-content td { padding: 0.75rem; border-bottom: 1px solid var(--color-border); font-size: 0.875rem; }

@media (max-width: 768px) {
  .guide-hero h1 { font-size: 1.5rem; }
  .guide-toc { padding: 1rem 1.25rem; }
  .category-hero-img { height: 150px; }
  .cookie-inner { flex-direction: column; text-align: center; }
}
