:root {
  --primary: #2563EB;
  --primary-hover: #1D4ED8;
  --secondary: #7C3AED;
  --bg: #F8FAFC;
  --card: #FFFFFF;
  --text: #1E293B;
  --text-muted: #64748B;
  --success: #10B981;
  --warning: #F59E0B;
  --error: #EF4444;
  --border: #E2E8F0;
  --shadow: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.08);
  --radius: 12px;
  --radius-sm: 10px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 1rem;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
.button,
input,
select,
textarea,
summary,
a {
  transition: all 0.2s ease;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 2px;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

main {
  min-height: 60vh;
}

section {
  padding: 4rem 0;
  contain: layout paint;
}

.section-title {
  font-size: 1.875rem;
  line-height: 1.2;
  margin: 0 0 0.75rem;
  font-weight: 600;
}

.section-subtitle {
  color: var(--text-muted);
  margin: 0 0 2rem;
}

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.875rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

small,
.small-text {
  font-size: 0.875rem;
}

.text-muted {
  color: var(--text-muted);
}

.mono,
.result-number,
.kpi-number {
  font-family: 'JetBrains Mono', monospace;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--text);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1001;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
}

.logo-mark {
  font-size: 1.3rem;
}

.logo-ai {
  color: var(--primary);
}

.logo-calc {
  color: var(--text);
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links {
  justify-content: center;
}

.nav-link {
  color: var(--text);
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  border: none;
  background: transparent;
  color: var(--text);
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 500;
}

.dropdown-toggle:hover,
.dropdown-toggle[aria-expanded='true'] {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 0;
  width: 320px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  display: none;
}

.dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  color: var(--text);
}

.dropdown-menu a:hover {
  background: var(--bg);
  color: var(--primary);
}

.cta-pill,
.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
}

.btn-primary,
.cta-pill {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover,
.cta-pill:hover {
  background: var(--primary-hover);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
}

.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
}

.mobile-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #fff;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-toggle span,
.mobile-toggle span::before,
.mobile-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  content: '';
  border-radius: 999px;
  position: relative;
}

.mobile-toggle span::before {
  top: -6px;
  position: absolute;
}

.mobile-toggle span::after {
  top: 6px;
  position: absolute;
}

.mobile-sidebar {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(86vw, 360px);
  background: #fff;
  box-shadow: -24px 0 60px rgba(15, 23, 42, 0.18);
  padding: 1.5rem;
  transform: translateX(105%);
  transition: transform 0.25s ease;
  z-index: 1002;
  overflow-y: auto;
}

.mobile-sidebar.open {
  transform: translateX(0);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1001;
}

.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-sidebar nav,
.mobile-sidebar .mobile-group {
  display: grid;
  gap: 0.35rem;
}

.mobile-sidebar a,
.mobile-sidebar button {
  width: 100%;
  justify-content: flex-start;
  color: var(--text);
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: transparent;
  border: none;
  text-align: left;
}

.mobile-sidebar a:hover,
.mobile-sidebar button:hover {
  background: var(--bg);
  color: var(--primary);
}

.mobile-submenu {
  display: none;
  padding-left: 0.75rem;
}

.mobile-submenu.open {
  display: grid;
}

.page-hero {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 5.25rem 0 4.5rem;
}

.page-hero h1,
.page-hero p,
.page-hero h2 {
  color: #fff;
}

.hero-content {
  max-width: 760px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-counter {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255,255,255,0.25);
  animation: pulseGlow 2.6s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(255,255,255,0.12); transform: translateY(0); }
  50% { box-shadow: 0 10px 30px rgba(255,255,255,0.12); transform: translateY(-1px); }
}

.breadcrumb {
  font-size: 0.92rem;
  color: var(--text-muted);
  padding: 1.25rem 0 0;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb span {
  color: var(--text);
}

.page-intro {
  padding-top: 1rem;
  padding-bottom: 2rem;
}

.card,
.calc-card,
.result-card,
.testimonial-card,
.blog-card,
.info-card,
.affiliate-card,
.quick-pick,
.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card,
.calc-card,
.result-card,
.info-card,
.affiliate-card,
.quick-pick,
.stat-card {
  padding: 1.5rem;
}

.card h3,
.calc-card h3,
.result-card h3,
.info-card h3 {
  margin-top: 0;
}

.grid-3,
.grid-2,
.grid-auto,
.calculator-grid,
.blog-grid,
.testimonial-grid,
.footer-grid,
.results-grid,
.kpi-grid {
  display: grid;
  gap: 1.5rem;
}

.grid-3,
.calculator-grid,
.blog-grid,
.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2,
.results-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-hover:hover,
.calculator-card:hover,
.blog-card:hover,
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
}

.calculator-card {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.calculator-card .emoji,
.step-icon,
.trust-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  margin-top: 0.75rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
  position: relative;
}

.step-card {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.step-card::after {
  content: '→';
  position: absolute;
  right: -0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 1.5rem;
}

.step-card:last-child::after {
  display: none;
}

.trust-strip {
  background: #F1F5F9;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  color: var(--text-muted);
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
}

.testimonial-card {
  padding: 1.5rem;
}

.testimonial-quote {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.10);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.tag.comparison { background: rgba(124, 58, 237, 0.12); color: var(--secondary); }
.tag.tips { background: rgba(16, 185, 129, 0.12); color: var(--success); }
.tag.news { background: rgba(245, 158, 11, 0.15); color: #B45309; }
.tag.guide { background: rgba(15, 23, 42, 0.08); color: var(--text); }
.tag.analysis { background: rgba(239, 68, 68, 0.12); color: var(--error); }

.newsletter-section {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
}

.newsletter-section h2,
.newsletter-section p,
.newsletter-inline h3,
.newsletter-inline p {
  color: inherit;
}

.newsletter-form,
.newsletter-inline form,
.footer-newsletter form,
.share-actions,
.filter-buttons,
.related-links,
.hero-actions,
.affiliate-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.newsletter-form input,
.footer-newsletter input,
.newsletter-inline input {
  min-width: 240px;
  flex: 1;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
}

input::placeholder,
textarea::placeholder {
  color: #94A3B8;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.form-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.toggle {
  appearance: none;
  width: 56px;
  height: 32px;
  background: #CBD5E1;
  border-radius: 999px;
  position: relative;
  cursor: pointer;
}

.toggle::after {
  content: '';
  width: 24px;
  height: 24px;
  background: #fff;
  position: absolute;
  top: 3px;
  left: 4px;
  border-radius: 50%;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.toggle:checked {
  background: var(--primary);
}

.toggle:checked::after {
  transform: translateX(24px);
}

.result-stack {
  display: grid;
  gap: 1rem;
}

.result-highlight {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
}

.result-highlight h3,
.result-highlight p,
.result-highlight .result-number {
  color: #fff;
}

.result-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
}

.result-row:last-child {
  border-bottom: none;
}

.result-number {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 700;
}

.kpi-number {
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 800;
}

.breakdown-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.breakdown-table td,
.breakdown-table th {
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.breakdown-table td:last-child,
.breakdown-table th:last-child {
  text-align: right;
}

.bar-track {
  width: 100%;
  height: 16px;
  border-radius: 999px;
  background: #E2E8F0;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  width: 0;
}

.comparison-prompt,
.banner-success,
.banner-warning,
.related-calculators,
.newsletter-inline,
.quick-pick,
.affiliate-section,
.info-panel {
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.comparison-prompt,
.related-calculators,
.newsletter-inline,
.quick-pick,
.affiliate-section,
.info-panel {
  background: #fff;
}

.banner-success {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.18);
  color: #065F46;
}

.banner-warning {
  background: rgba(245, 158, 11, 0.13);
  border-color: rgba(245, 158, 11, 0.22);
  color: #92400E;
}

.compare-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.compare-card .header {
  margin: -1.5rem -1.5rem 1rem;
  padding: 1rem 1.5rem;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  font-weight: 700;
}

.header-human {
  background: rgba(239, 68, 68, 0.12);
  color: #991B1B;
}

.header-ai {
  background: rgba(37, 99, 235, 0.12);
  color: #1D4ED8;
}

.horizontal-compare {
  display: grid;
  gap: 1rem;
}

.compare-bar-row {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 1rem;
  align-items: center;
}

.compare-bar {
  height: 18px;
  border-radius: 999px;
  background: #E2E8F0;
  overflow: hidden;
}

.compare-bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
}

.compare-bar.human > span { background: linear-gradient(90deg, #F87171, #EF4444); }
.compare-bar.ai > span { background: linear-gradient(90deg, #60A5FA, #2563EB); }

.line-chart {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.65rem;
  align-items: end;
  min-height: 220px;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.line-chart .month {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
}

.line-chart .points {
  position: relative;
  height: 160px;
  width: 100%;
  display: grid;
  align-items: end;
  justify-items: center;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: absolute;
}

.dot.human { background: var(--error); box-shadow: 0 0 0 4px rgba(239,68,68,0.18); }
.dot.ai { background: var(--primary); box-shadow: 0 0 0 4px rgba(37,99,235,0.18); }

.dot-label {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.subscription-list {
  display: grid;
  gap: 1rem;
}

.subscription-row {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(120px, 0.9fr) minmax(140px, 1fr) auto;
  gap: 0.75rem;
  align-items: end;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.subscription-row .remove-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: none;
  background: rgba(239, 68, 68, 0.12);
  color: var(--error);
  cursor: pointer;
  font-size: 1.1rem;
}

.subscription-row .remove-btn:hover {
  background: rgba(239, 68, 68, 0.18);
}

.checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 500;
}

.checkbox-wrap input {
  width: 18px;
  height: 18px;
}

.suggestions-list,
.related-links,
.resource-list,
.faq-list {
  display: grid;
  gap: 0.85rem;
}

.suggestions-list li,
.resource-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  list-style: none;
}

.suggestions-list,
.resource-list {
  padding: 0;
  margin: 0;
}

.bar-chart-pairs {
  display: grid;
  gap: 1rem;
}

.bar-chart-pairs .pair {
  display: grid;
  gap: 0.5rem;
}

.table-wrap {
  overflow-x: auto;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.table-scroll-hint {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

table.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 920px;
}

table.pricing-table th,
table.pricing-table td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

table.pricing-table th {
  background: #F8FAFC;
  position: sticky;
  top: 0;
  z-index: 1;
  cursor: pointer;
  user-select: none;
}

table.pricing-table tr:hover td {
  background: #FAFCFF;
}

.sort-indicator {
  color: var(--text-muted);
  margin-left: 0.35rem;
}

.price-low {
  background: rgba(16, 185, 129, 0.10);
}

.price-high {
  background: rgba(239, 68, 68, 0.08);
}

.filter-buttons button {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  cursor: pointer;
}

.filter-buttons button.active,
.filter-buttons button:hover {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.18);
  color: var(--primary);
}

.quick-pick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
}

summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  float: right;
  color: var(--primary);
}

details[open] summary::after {
  content: '–';
}

.ad-slot {
  max-width: 728px;
  min-height: 90px;
  margin: 2rem auto;
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #CBD5E1;
  font-size: 0.75rem;
  background: #F8FAFC;
  border-radius: 12px;
}

.site-footer {
  background: #1E293B;
  color: #CBD5E1;
  padding-top: 3rem;
}

.footer-grid {
  grid-template-columns: 1.2fr 1fr 1fr 1.1fr;
  align-items: start;
}

.site-footer .logo-calc,
.site-footer .logo,
.site-footer h3,
.site-footer h4 {
  color: #fff;
}

.site-footer a {
  color: #93C5FD;
}

.site-footer .footer-links {
  display: grid;
  gap: 0.75rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding: 1rem 0 2rem;
  border-top: 1px solid rgba(226, 232, 240, 0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  color: #CBD5E1;
}

.footer-newsletter button {
  width: 100%;
}

.helper-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 1rem; }
.center { text-align: center; }

@media (max-width: 1024px) {
  .grid-3,
  .calculator-grid,
  .blog-grid,
  .testimonial-grid,
  .footer-grid,
  .form-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .navbar {
    grid-template-columns: auto 1fr auto;
  }

  .nav-links,
  .nav-actions .cta-pill {
    display: none;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  section {
    padding: 3rem 0;
  }

  .grid-3,
  .grid-2,
  .calculator-grid,
  .blog-grid,
  .testimonial-grid,
  .results-grid,
  .compare-cards,
  .steps,
  .form-grid,
  .form-grid-3,
  .quick-pick-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 4.5rem 0 3.6rem;
  }

  .hero-actions,
  .newsletter-form,
  .newsletter-inline form,
  .share-actions,
  .footer-newsletter form {
    flex-direction: column;
  }

  .compare-bar-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .step-card::after {
    display: none;
  }

  .subscription-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .table-scroll-hint {
    display: block;
  }

  .hero-counter {
    width: 100%;
    justify-content: center;
  }
}
