/* ==========================================================================
   Crewmixerbrmsby - Small Business Financial Calculator Platform
   Color Palette: Warm White, Cream, Emerald Green, Mint, Coral, Orange,
                  Mustard Yellow, Charcoal, Gold (STRICTLY NO BLUE)
   ========================================================================== */

:root {
  --bg-warm-white: #fdfbf7;
  --bg-cream: #f7f3e8;
  --bg-cream-card: #ffffff;
  --bg-alt: #f1ebd9;
  
  --emerald-dark: #0a432c;
  --emerald-primary: #0f6848;
  --emerald-medium: #15835b;
  --mint-light: #d1fae5;
  --mint-accent: #34d399;
  --mint-bright: #10b981;
  
  --coral-primary: #e05244;
  --coral-light: #fee2e2;
  --orange-warm: #ea580c;
  --orange-light: #ffedd5;
  --mustard-yellow: #ca8a04;
  --gold-accent: #eab308;
  --gold-soft: #fef08a;
  
  --charcoal-black: #1a1918;
  --charcoal-dark: #292524;
  --charcoal-body: #44403c;
  --charcoal-muted: #78716c;
  --charcoal-light: #a8a29e;
  
  --border-light: #e7e2d6;
  --border-medium: #d6cebe;
  --shadow-sm: 0 2px 4px rgba(26, 25, 24, 0.04);
  --shadow-md: 0 6px 16px rgba(26, 25, 24, 0.08);
  --shadow-lg: 0 14px 30px rgba(15, 104, 72, 0.1);
  --shadow-xl: 0 20px 40px rgba(26, 25, 24, 0.12);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-full: 9999px;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Playfair Display', Georgia, Cambria, serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-warm-white);
  color: var(--charcoal-body);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Slim, Responsive Header (NOT Sticky/Fixed - Scrolls Away Naturally)
   ========================================================================== */
.site-header {
  position: relative;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  width: 100%;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(26, 25, 24, 0.03);
}

.header-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--emerald-dark);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.brand-logo-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--emerald-primary), var(--mustard-yellow));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  font-size: 1.1rem;
  box-shadow: 0 2px 6px rgba(15, 104, 72, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--emerald-dark);
}

.brand-tagline {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--charcoal-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.nav-item-link {
  color: var(--charcoal-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-item-link:hover,
.nav-item-link.active {
  color: var(--emerald-primary);
  background-color: var(--mint-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-header-cta {
  background-color: var(--emerald-primary);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(15, 104, 72, 0.2);
}

.btn-header-cta:hover {
  background-color: var(--emerald-dark);
  transform: translateY(-1px);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 0.4rem;
  cursor: pointer;
  color: var(--charcoal-dark);
}

.mobile-menu-btn svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* Mobile dropdown */
.mobile-nav-drawer {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 2px solid var(--emerald-primary);
  padding: 1.25rem;
  box-shadow: 0 10px 25px rgba(26, 25, 24, 0.15);
  flex-direction: column;
  gap: 0.75rem;
  z-index: 100;
}

.mobile-nav-drawer.open {
  display: flex;
}

.mobile-nav-drawer a {
  text-decoration: none;
  color: var(--charcoal-dark);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
}

.mobile-nav-drawer a:hover {
  background-color: var(--bg-cream);
  color: var(--emerald-primary);
}

/* ==========================================================================
   Common Layout & Typography
   ========================================================================== */
.main-content {
  flex: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}

.narrow-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}

h1, h2, h3, h4, h5 {
  color: var(--charcoal-black);
  line-height: 1.25;
  font-weight: 800;
}

h1 { font-size: 2.5rem; letter-spacing: -0.03em; }
h2 { font-size: 1.95rem; letter-spacing: -0.02em; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }

.text-emerald { color: var(--emerald-primary); }
.text-coral { color: var(--coral-primary); }
.text-orange { color: var(--orange-warm); }
.text-gold { color: var(--mustard-yellow); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
}

.badge-mint {
  background-color: var(--mint-light);
  color: var(--emerald-dark);
}

.badge-coral {
  background-color: var(--coral-light);
  color: var(--coral-primary);
}

.badge-orange {
  background-color: var(--orange-light);
  color: var(--orange-warm);
}

.badge-gold {
  background-color: var(--gold-soft);
  color: var(--mustard-yellow);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
  background-color: var(--emerald-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 104, 72, 0.2);
}

.btn-primary:hover {
  background-color: var(--emerald-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 104, 72, 0.28);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--charcoal-dark);
  border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
  background-color: var(--bg-cream);
  border-color: var(--charcoal-muted);
}

.btn-coral {
  background-color: var(--coral-primary);
  color: #ffffff;
}

.btn-coral:hover {
  background-color: #cb3f31;
  transform: translateY(-2px);
}

.btn-orange {
  background-color: var(--orange-warm);
  color: #ffffff;
}

.btn-orange:hover {
  background-color: #c2410c;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-cream) 100%);
  padding: 4rem 1.25rem 3rem;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.hero-pattern-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  opacity: 0.07;
  pointer-events: none;
  background-image: radial-gradient(var(--emerald-primary) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content h1 {
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-subhead {
  font-size: 1.15rem;
  color: var(--charcoal-body);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-proof-stats {
  display: flex;
  gap: 2rem;
  border-top: 1px solid var(--border-medium);
  padding-top: 1.5rem;
}

.stat-item-number {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--emerald-dark);
  line-height: 1;
}

.stat-item-label {
  font-size: 0.82rem;
  color: var(--charcoal-muted);
  font-weight: 600;
  margin-top: 0.25rem;
}

.hero-card-preview {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-xl);
  position: relative;
}

.hero-card-preview::before {
  content: '';
  position: absolute;
  top: -6px;
  right: -6px;
  bottom: -6px;
  left: -6px;
  background: linear-gradient(135deg, var(--gold-accent), var(--mint-accent));
  border-radius: calc(var(--radius-xl) + 6px);
  z-index: -1;
  opacity: 0.35;
}

/* ==========================================================================
   Interactive Calculator Core Components
   ========================================================================== */
.calc-wrapper {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.calc-header {
  background: linear-gradient(135deg, var(--emerald-dark) 0%, var(--emerald-primary) 100%);
  color: #ffffff;
  padding: 1.5rem 1.75rem;
}

.calc-header h3 {
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.calc-header p {
  color: var(--mint-light);
  font-size: 0.88rem;
  margin-bottom: 0;
}

.calc-body {
  padding: 1.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--charcoal-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.input-with-symbol {
  position: relative;
  display: flex;
  align-items: center;
}

.input-prefix {
  position: absolute;
  left: 0.9rem;
  font-weight: 700;
  color: var(--charcoal-muted);
  pointer-events: none;
}

.input-suffix {
  position: absolute;
  right: 0.9rem;
  font-weight: 700;
  color: var(--charcoal-muted);
  pointer-events: none;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  background-color: var(--bg-warm-white);
  color: var(--charcoal-black);
  font-weight: 600;
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--emerald-primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(15, 104, 72, 0.15);
}

.has-prefix {
  padding-left: 2rem;
}

.has-suffix {
  padding-right: 2.2rem;
}

.range-slider {
  width: 100%;
  accent-color: var(--emerald-primary);
  cursor: pointer;
  margin-top: 0.35rem;
}

.quick-presets {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.preset-chip {
  background: var(--bg-cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--charcoal-dark);
  cursor: pointer;
  transition: all 0.15s;
}

.preset-chip:hover {
  background: var(--mint-light);
  color: var(--emerald-dark);
}

/* Calculator Output Panel */
.calc-results-panel {
  background: var(--bg-cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.result-primary-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid var(--border-light);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.result-card-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--charcoal-muted);
}

.result-big-number {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--emerald-dark);
  line-height: 1.1;
  margin-top: 0.35rem;
  transition: all 0.2s ease;
}

.results-breakdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.breakdown-box {
  background: #ffffff;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.breakdown-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--charcoal-muted);
}

.breakdown-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--charcoal-black);
  margin-top: 0.2rem;
}

.calc-action-bar {
  display: flex;
  gap: 0.5rem;
}

.calc-action-bar button {
  flex: 1;
}

/* ==========================================================================
   Card Architecture & Catalog Grid
   ========================================================================== */
.section-title-wrap {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-title-wrap h2 {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

.tool-card {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--emerald-medium);
}

.tool-card-image-wrap {
  position: relative;
  height: 175px;
  width: 100%;
  overflow: hidden;
  background-color: var(--bg-cream);
}

.tool-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.tool-card:hover .tool-card-img {
  transform: scale(1.04);
}

.tool-card-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
}

.tool-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tool-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--charcoal-black);
}

.tool-card-desc {
  font-size: 0.92rem;
  color: var(--charcoal-body);
  margin-bottom: 1.25rem;
  flex: 1;
}

.tool-card-metrics {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
  color: var(--charcoal-muted);
}

.tool-card-btn {
  width: 100%;
  padding: 0.7rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  border-radius: var(--radius-md);
  text-decoration: none;
  background-color: var(--bg-cream);
  color: var(--emerald-dark);
  border: 1px solid var(--border-medium);
  transition: all 0.2s ease;
  display: block;
}

.tool-card-btn:hover {
  background-color: var(--emerald-primary);
  color: #ffffff;
  border-color: var(--emerald-primary);
}

/* ==========================================================================
   Detail Page Structure (Tools & Articles)
   ========================================================================== */
.detail-hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-cream) 100%);
  border-bottom: 1px solid var(--border-light);
  padding: 3rem 1.25rem 2rem;
}

.detail-breadcrumbs {
  font-size: 0.85rem;
  color: var(--charcoal-muted);
  margin-bottom: 1rem;
}

.detail-breadcrumbs a {
  color: var(--emerald-primary);
  text-decoration: none;
  font-weight: 600;
}

.detail-layout {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

.detail-main {
  background: #ffffff;
  padding: 2.25rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-sm);
}

.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-box {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.sidebar-box h4 {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}

.article-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.article-content ul, .article-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.article-content li {
  margin-bottom: 0.4rem;
}

.formula-box {
  background: var(--bg-cream);
  border-left: 4px solid var(--emerald-primary);
  padding: 1.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.5rem 0;
  font-family: monospace;
  font-size: 1.05rem;
  color: var(--charcoal-black);
}

.pro-con-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.pro-card {
  background: var(--mint-light);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 1.25rem;
  border-radius: var(--radius-md);
}

.con-card {
  background: var(--coral-light);
  border: 1px solid rgba(224, 82, 68, 0.3);
  padding: 1.25rem;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   Comprehensive Legal & Contact Page Formatting
   ========================================================================== */
.legal-card {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  margin-top: 2rem;
}

.legal-card h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--emerald-dark);
}

.legal-card h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-card p, .legal-card ul {
  font-size: 0.98rem;
  color: var(--charcoal-body);
}

.legal-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1rem;
  background: var(--bg-cream);
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Contact Form Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

.contact-card {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--mint-light);
  color: var(--emerald-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
}

/* ==========================================================================
   MANDATORY UNIFIED FOOTER
   Strictly present across ALL pages: Address, Legal, Links, Copyright
   ========================================================================== */
.site-footer {
  background-color: #ffffff;
  border-top: 1px solid var(--border-medium);
  margin-top: auto;
  padding-top: 3.5rem;
  padding-bottom: 2rem;
}

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

.footer-brand-col p {
  font-size: 0.9rem;
  color: var(--charcoal-muted);
  margin-top: 0.75rem;
  max-width: 320px;
}

.footer-address-box {
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  background-color: var(--bg-warm-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--charcoal-dark);
  line-height: 1.5;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--emerald-dark);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  text-decoration: none;
  color: var(--charcoal-body);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--emerald-primary);
}

.footer-bottom-bar {
  border-top: 1px solid var(--border-light);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--charcoal-muted);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-legal-links a {
  color: var(--charcoal-muted);
  text-decoration: none;
  font-weight: 500;
}

.footer-legal-links a:hover {
  color: var(--emerald-primary);
}

/* ==========================================================================
   Persistent Cookie Consent Banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--charcoal-black);
  color: #ffffff;
  padding: 1.25rem 1.5rem;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  display: none; /* Managed by JS, stored in localStorage */
  border-top: 3px solid var(--emerald-primary);
}

.cookie-content-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.cookie-text {
  font-size: 0.88rem;
  line-height: 1.5;
  max-width: 780px;
}

.cookie-text a {
  color: var(--mint-accent);
  text-decoration: underline;
}

.cookie-btn-group {
  display: flex;
  gap: 0.75rem;
}

.btn-cookie-accept {
  background-color: var(--emerald-primary);
  color: #ffffff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-cookie-accept:hover {
  background-color: var(--mint-bright);
}

.btn-cookie-pref {
  background-color: transparent;
  color: #e7e5e4;
  border: 1px solid var(--charcoal-muted);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cookie-pref:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links-list,
  .btn-header-cta {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .calc-body {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .tools-grid {
    grid-template-columns: 1fr;
  }
  .pro-con-grid {
    grid-template-columns: 1fr;
  }
  .legal-card {
    padding: 1.5rem;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .header-container {
    padding: 0.5rem 1rem;
  }
  .brand-name {
    font-size: 1.05rem;
  }
  .hero-proof-stats {
    flex-direction: column;
    gap: 0.85rem;
  }
  .results-breakdown-grid {
    grid-template-columns: 1fr;
  }
  .cookie-content-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-btn-group {
    width: 100%;
  }
  .btn-cookie-accept,
  .btn-cookie-pref {
    flex: 1;
    text-align: center;
  }
}