/* ============================================================
   BrandSnap AI — Design System v2
   Tokens, type scale, core components, mobile-first.
   ============================================================ */

/* ── 1. Design Tokens ──────────────────────────────────────── */
:root {
  /* Color — neutral slate base so generated brand kits pop
     App chrome stays muted; content cards are the visual stage */
  --c-bg:         #0B1120;
  --c-surface:    #101828;
  --c-card:       #141E2E;
  --c-card-hover: #19253B;
  --c-border:     rgba(255,255,255,0.07);
  --c-border-hi:  rgba(255,255,255,0.14);

  /* Accent — fresh orange, accessible on dark */
  --c-accent:     #F0540C;
  --c-accent-h:   #E86A20;
  --c-accent-dim: rgba(240,84,12,0.12);
  --c-accent-glow: rgba(240,84,12,0.18);

  /* Text */
  --c-text:       #EFF2F7;
  --c-text-2:     #8896AB;
  --c-text-3:     #4A5768;
  --c-text-inv:   #080C14;

  /* Status */
  --c-success:    #22C55E;
  --c-success-dim: rgba(34,197,94,0.12);
  --c-warn:       #F59E0B;
  --c-warn-dim:   rgba(245,158,11,0.12);

  /* Typography */
  --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font-sans);

  /* Type scale — clamp(min, preferred, max) */
  --t-hero:  clamp(2.4rem, 6vw, 4.5rem);
  --t-h1:    clamp(2rem,   4.5vw, 3.2rem);
  --t-h2:    clamp(1.5rem, 3vw, 2.2rem);
  --t-h3:    clamp(1.1rem, 2vw, 1.5rem);
  --t-body:  clamp(0.9rem, 1.5vw, 1rem);
  --t-sm:    clamp(0.75rem, 1vw, 0.875rem);
  --t-xs:    0.75rem;

  /* Spacing scale (8px base) */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  20px;
  --sp-6:  24px;
  --sp-8:  32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* Border radius */
  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-pill: 100px;

  /* Shadows */
  --sh-card:   0 1px 3px rgba(0,0,0,0.4), 0 4px 16px rgba(0,0,0,0.25);
  --sh-card-h: 0 4px 8px rgba(0,0,0,0.4), 0 12px 32px rgba(0,0,0,0.35);
  --sh-glow:   0 0 0 1px var(--c-accent-dim), 0 0 24px var(--c-accent-glow);
  --sh-accent: 0 4px 16px var(--c-accent-glow);

  /* Layout */
  --max-w:   1200px;
  --max-w-narrow: 760px;
  --nav-h:   64px;
  --page-pad: clamp(var(--sp-6), 5vw, var(--sp-16));

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 120ms;
  --dur-mid:  220ms;
  --dur-slow: 380ms;
}

/* ── 2. Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100dvh;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb { background: var(--c-border-hi); border-radius: 3px; }

/* Selection */
::selection { background: var(--c-accent-dim); color: var(--c-accent); }

/* Focus */
:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ── 3. Layout Utilities ───────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--page-pad);
}
.container--narrow {
  max-width: var(--max-w-narrow);
}
.section {
  padding: clamp(var(--sp-12), 8vw, var(--sp-24)) 0;
}

/* ── 4. Typography ─────────────────────────────────────────── */
.t-hero  { font-family: var(--font-display); font-size: var(--t-hero);  font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.t-h1    { font-family: var(--font-display); font-size: var(--t-h1);    font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.t-h2    { font-family: var(--font-display); font-size: var(--t-h2);    font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; }
.t-h3    { font-family: var(--font-display); font-size: var(--t-h3);    font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.t-body  { font-size: var(--t-body);  line-height: 1.65; }
.t-sm    { font-size: var(--t-sm);  line-height: 1.55; }
.t-xs    { font-size: var(--t-xs);  line-height: 1.5; }
.t-display { font-family: var(--font-display); }
.t-muted  { color: var(--c-text-2); }
.t-dim    { color: var(--c-text-3); }
.t-accent { color: var(--c-accent); }
.t-center { text-align: center; }

/* ── 5. Buttons ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 12px 24px;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-size: var(--t-sm);
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-fast);
  min-height: 48px;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn:active { transform: scale(0.97); }

/* Primary */
.btn-primary {
  background: var(--c-accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(240,84,12,0.35);
}
.btn-primary:hover {
  background: var(--c-accent-h);
  box-shadow: var(--sh-accent);
  transform: translateY(-1px);
}

/* Secondary — outline */
.btn-secondary {
  background: var(--c-card);
  color: var(--c-text);
  border: 1px solid var(--c-border-hi);
}
.btn-secondary:hover {
  background: var(--c-card-hover);
  border-color: var(--c-accent);
  color: var(--c-accent);
}

/* Ghost */
.btn-ghost {
  background: transparent;
  color: var(--c-text-2);
  border: 1px solid var(--c-border);
}
.btn-ghost:hover {
  background: var(--c-accent-dim);
  color: var(--c-accent);
  border-color: var(--c-accent);
}

/* Sizes */
.btn-lg { padding: 14px 32px; font-size: 1rem; min-height: 52px; }
.btn-sm { padding: 8px 16px; font-size: var(--t-sm); min-height: 40px; }
.btn-full { width: 100%; }

/* Icon button */
.btn-icon {
  padding: 10px;
  min-width: 48px;
  min-height: 48px;
}

/* ── 6. Cards ──────────────────────────────────────────────── */
.card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--sh-card);
  transition: border-color var(--dur-mid), box-shadow var(--dur-mid), transform var(--dur-mid);
}
.card:hover {
  border-color: var(--c-border-hi);
  box-shadow: var(--sh-card-h);
  transform: translateY(-2px);
}
.card--accent {
  border-color: rgba(240,84,12,0.35);
  box-shadow: var(--sh-glow);
}
.card--accent:hover {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 1px var(--c-accent-dim), 0 0 32px var(--c-accent-glow);
}

/* ── 7. Badges / Pills ─────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge--accent {
  background: var(--c-accent-dim);
  color: var(--c-accent);
  border: 1px solid rgba(240,84,12,0.25);
}
.badge--ghost {
  background: var(--c-surface);
  color: var(--c-text-2);
  border: 1px solid var(--c-border);
}
.badge--new {
  background: var(--c-accent);
  color: #fff;
}
.badge-dot::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

/* ── 8. Eyebrow labels ─────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--sp-4);
}
.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
  flex-shrink: 0;
}

/* ── 9. Section headers ────────────────────────────────────── */
.section-head {
  margin-bottom: clamp(var(--sp-10), 5vw, var(--sp-16));
}
.section-head--center { text-align: center; }
.section-head--center p { max-width: 520px; margin: var(--sp-4) auto 0; color: var(--c-text-2); }

/* ── 10. Grid layouts ──────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--sp-5); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--sp-5); }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--sp-4); }
.grid-5 { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--sp-4); }

/* ── 11. Divider ───────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--c-border); margin: var(--sp-8) 0; }

/* ── 12. Color palette display ─────────────────────────────── */
.palette-row { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.swatch {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  border: 2px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
  cursor: default;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.swatch--lg { width: 52px; height: 52px; }

/* ── 13. Stats strip ───────────────────────────────────────── */
.stats-strip {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-surface);
}
.stats-strip-item {
  flex: 1;
  min-width: 120px;
  padding: var(--sp-4) var(--sp-5);
  border-right: 1px solid var(--c-border);
  text-decoration: none;
  color: inherit;
  transition: background var(--dur-fast);
}
.stats-strip-item:last-child { border-right: none; }
.stats-strip-item:hover { background: var(--c-card-hover); }
.stats-strip-num {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-text);
  line-height: 1.1;
}
.stats-strip-label {
  font-size: var(--t-xs);
  color: var(--c-text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-top: 2px;
}

/* ── 14. Trust bar ──────────────────────────────────────────── */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  flex-wrap: wrap;
  padding: var(--sp-6) 0;
  color: var(--c-text-3);
}
.trust-bar-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--t-sm);
  color: var(--c-text-3);
}
.trust-bar-icon { color: var(--c-accent); }

/* ── 15. Comparison table ──────────────────────────────────── */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--t-sm);
}
.compare-table th {
  font-family: var(--font-display);
  font-weight: 700;
  padding: var(--sp-4);
  text-align: left;
  border-bottom: 2px solid var(--c-border-hi);
  color: var(--c-text);
}
.compare-table td {
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text-2);
}
.compare-table tr:hover td { background: var(--c-card); }
.compare-table .check { color: var(--c-success); }
.compare-table .cross { color: var(--c-text-3); }

/* ── 16. FAQ accordion ─────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.faq-item {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--dur-mid);
}
.faq-item:has(.faq-body[open]) { border-color: var(--c-accent); }
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  background: none;
  border: none;
  color: var(--c-text);
  font-family: var(--font-display);
  font-size: var(--t-body);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  min-height: 48px;
  transition: color var(--dur-fast);
}
.faq-trigger:hover { color: var(--c-accent); }
.faq-chevron {
  flex-shrink: 0;
  transition: transform var(--dur-mid);
  color: var(--c-text-3);
}
.faq-body[open] .faq-chevron { transform: rotate(180deg); }
.faq-body {
  border-top: 1px solid var(--c-border);
}
.faq-answer {
  padding: var(--sp-4) var(--sp-6) var(--sp-5);
  color: var(--c-text-2);
  line-height: 1.7;
  font-size: var(--t-sm);
}

/* ── 17. Testimonial card ──────────────────────────────────── */
.testimonial-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.testimonial-stars { color: var(--c-warn); font-size: 0.7rem; letter-spacing: 2px; }
.testimonial-quote { color: var(--c-text-2); font-size: var(--t-sm); line-height: 1.7; font-style: italic; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: var(--sp-3); }
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--c-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-sm);
  color: var(--c-text);
}
.testimonial-name { font-family: var(--font-display); font-weight: 700; font-size: var(--t-sm); }
.testimonial-role { font-size: var(--t-xs); color: var(--c-text-3); }

/* ── 18. Feature card ───────────────────────────────────────── */
.feature-card {
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  background: var(--c-card);
  border: 1px solid var(--c-border);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: border-color var(--dur-mid), background var(--dur-mid), transform var(--dur-mid);
}
.feature-card:hover {
  border-color: var(--c-accent);
  background: var(--c-card-hover);
  transform: translateY(-2px);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--c-accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  flex-shrink: 0;
}
.feature-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-body);
  color: var(--c-text);
}
.feature-card-desc {
  color: var(--c-text-2);
  font-size: var(--t-sm);
  line-height: 1.6;
}
.feature-card-cta {
  color: var(--c-accent);
  font-size: var(--t-sm);
  font-weight: 600;
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: auto;
}

/* ── 19. Pricing card ──────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  align-items: start;
}
@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
.pricing-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8) var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  position: relative;
}
.pricing-card--featured {
  border-color: var(--c-accent);
  box-shadow: var(--sh-glow);
  background: linear-gradient(180deg, var(--c-card) 0%, rgba(240,84,12,0.04) 100%);
}
.pricing-tier {
  font-family: var(--font-display);
  font-size: var(--t-xs);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-3);
}
.pricing-card--featured .pricing-tier { color: var(--c-accent); }
.pricing-amount {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--c-text);
}
.pricing-amount-sub {
  font-size: var(--t-body);
  font-weight: 400;
  color: var(--c-text-3);
  letter-spacing: 0;
}
.pricing-feature-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--t-sm);
  color: var(--c-text-2);
}
.pricing-feature::before {
  content: '✓';
  color: var(--c-success);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--t-xs);
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  letter-spacing: 0.04em;
}
.pricing-note {
  text-align: center;
  font-size: var(--t-sm);
  color: var(--c-text-3);
  margin-top: var(--sp-6);
}

/* ── 20. Sticky mobile CTA ──────────────────────────────────── */
.sticky-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: var(--sp-4) var(--sp-5);
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.sticky-mobile-cta-inner {
  display: flex;
  gap: var(--sp-3);
  align-items: center;
}
.sticky-mobile-cta .btn { flex: 1; }
@media (max-width: 768px) {
  .sticky-mobile-cta { display: block; }
  /* Give the page content room at the bottom */
  main { padding-bottom: 80px; }
}

/* ── 21. Hero section ───────────────────────────────────────── */
/* min-height removed — hero should fit snugly above the fold, not fill viewport */
.hero-section {
  display: flex;
  align-items: flex-start;
  padding: calc(var(--nav-h) + var(--sp-10)) var(--page-pad) var(--sp-12);
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-glow-1 {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,84,12,0.12) 0%, transparent 70%);
}
.hero-glow-2 {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-10);
  align-items: start;
}
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--sp-8); }
}
.hero-headline { margin-bottom: var(--sp-5); }
.hero-sub { color: var(--c-text-2); font-size: var(--t-body); max-width: 540px; margin-bottom: var(--sp-6); }
/* Reset all theme.css .hero-cta leaks (margin-bottom:56px, flex-direction:column) */
.hero-cta { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; flex-direction: row; margin-bottom: 0; }
.hero-proof {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
  font-size: var(--t-sm);
  color: var(--c-text-3);
}
.hero-proof-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--c-text);
}
.hero-mockup {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-card-h);
  aspect-ratio: 4/3;
  max-width: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-mockup-label {
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  padding: 4px 12px;
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--c-text-2);
}
.hero-mockup-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-success);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── 22. Process / How it works ─────────────────────────────── */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
@media (max-width: 640px) {
  .steps-row { grid-template-columns: 1fr; }
}
.step-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.step-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--c-accent);
  opacity: 0.4;
  line-height: 1;
}
.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-h3);
  color: var(--c-text);
}
.step-desc { color: var(--c-text-2); font-size: var(--t-sm); line-height: 1.6; }

/* ── 23. Industry cards ────────────────────────────────────── */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--sp-4);
}
.industry-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: border-color var(--dur-mid), transform var(--dur-mid);
}
.industry-card:hover {
  border-color: var(--c-accent);
  transform: translateY(-2px);
}
.industry-icon {
  font-size: 1.8rem;
  line-height: 1;
}
.industry-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-sm);
  color: var(--c-text);
}
.industry-count {
  font-size: var(--t-xs);
  color: var(--c-text-3);
}

/* ── 24. Page hero (inner pages) ──────────────────────────── */
.page-hero {
  padding: clamp(var(--sp-12), 8vw, var(--sp-20)) var(--page-pad) clamp(var(--sp-8), 5vw, var(--sp-12));
  border-bottom: 1px solid var(--c-border);
  text-align: center;
}
.page-hero p { max-width: 520px; margin: var(--sp-4) auto 0; color: var(--c-text-2); }

/* ── 25. Kit card (gallery) ────────────────────────────────── */
.kit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-5);
}
.kit-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color var(--dur-mid), transform var(--dur-mid), box-shadow var(--dur-mid);
}
.kit-card:hover {
  border-color: var(--c-border-hi);
  transform: translateY(-3px);
  box-shadow: var(--sh-card-h);
}
.kit-card-visual {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--c-surface);
}
/* Light logo container — logos pop against any brand color bg */
.kit-card-logo-wrap {
  width: 72px;
  height: 72px;
  background: rgba(255,255,255,0.9);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  backdrop-filter: blur(4px);
}
.kit-card-logo { max-width: 100%; max-height: 100%; }
.kit-card-logo svg { width: 100%; height: auto; }
.kit-card-body { padding: var(--sp-4) var(--sp-5); flex: 1; display: flex; flex-direction: column; }
.kit-card-meta { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-bottom: var(--sp-2); }
.kit-card-industry {
  font-size: var(--t-xs);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--c-accent-dim);
  color: var(--c-accent);
  border: 1px solid rgba(240,84,12,0.18);
  letter-spacing: 0.02em;
}
.kit-card-tag {
  font-size: var(--t-xs);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  background: var(--c-surface);
  color: var(--c-text-3);
  border: 1px solid var(--c-border);
}
.kit-card-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--c-text);
  margin-bottom: var(--sp-1);
  letter-spacing: -0.01em;
}
.kit-card-tagline {
  font-size: var(--t-sm);
  color: var(--c-text-3);
  margin-bottom: var(--sp-4);
  line-height: 1.4;
}
/* Palette swatches — larger ringed circles for easy color ID */
.kit-card-palette {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-top: auto;
  flex-wrap: wrap;
}
.kit-card-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.remix-btn {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 5px 10px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-pill);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--t-xs);
  font-weight: 700;
  text-decoration: none;
  transition: background var(--dur-fast), border-color var(--dur-fast);
  z-index: 2;
}
.remix-btn:hover {
  background: var(--c-accent);
  border-color: var(--c-accent);
}

/* ── 26. Filter chips ───────────────────────────────────────── */
.filter-chips { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--c-border);
  background: var(--c-card);
  color: var(--c-text-2);
  font-family: var(--font-display);
  font-size: var(--t-xs);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--dur-fast);
  min-height: 36px;
}
.filter-chip:hover, .filter-chip.active {
  border-color: var(--c-accent);
  color: var(--c-accent);
  background: var(--c-accent-dim);
}
.filter-select {
  padding: 8px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  background: var(--c-card);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: var(--t-sm);
  min-height: 44px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%238896AB' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* ── 27. Pagination ────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  margin-top: var(--sp-10);
}
.pagination-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  background: var(--c-card);
  color: var(--c-text-2);
  font-family: var(--font-display);
  font-size: var(--t-sm);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--dur-fast);
  min-height: 44px;
}
.pagination-btn:hover { border-color: var(--c-accent); color: var(--c-accent); }
.pagination-info { font-size: var(--t-sm); color: var(--c-text-3); }

/* ── 28. Input / Form ───────────────────────────────────────── */
.input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
  background: var(--c-card);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: var(--t-body);
  transition: border-color var(--dur-fast);
  min-height: 48px;
}
.input::placeholder { color: var(--c-text-3); }
.input:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px var(--c-accent-dim); }
.input-group { display: flex; flex-direction: column; gap: var(--sp-2); }
.input-label {
  font-family: var(--font-display);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--c-text);
}

/* ── 29. CTA Strip ──────────────────────────────────────────── */
.cta-strip {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: clamp(var(--sp-8), 4vw, var(--sp-12));
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  flex-wrap: wrap;
}
.cta-strip-text { flex: 1; min-width: 240px; }
.cta-strip-text h2 { font-family: var(--font-display); font-size: var(--t-h2); font-weight: 700; margin-bottom: var(--sp-3); }
.cta-strip-text p { color: var(--c-text-2); font-size: var(--t-sm); }
.cta-strip-actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; }

/* ── 30. Alert / Notice ──────────────────────────────────────── */
.alert {
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  font-size: var(--t-sm);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  border: 1px solid;
}
.alert--info { background: rgba(99,102,241,0.1); border-color: rgba(99,102,241,0.25); color: #a5b4fc; }
.alert--success { background: var(--c-success-dim); border-color: rgba(34,197,94,0.25); color: var(--c-success); }
.alert--warn { background: var(--c-warn-dim); border-color: rgba(245,158,11,0.25); color: var(--c-warn); }

/* ── 31. Empty state ────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: var(--sp-16) var(--sp-8);
  color: var(--c-text-3);
}
.empty-state-icon {
  font-size: 2.5rem;
  margin-bottom: var(--sp-4);
  opacity: 0.4;
}
.empty-state h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-h3);
  color: var(--c-text);
  margin-bottom: var(--sp-3);
}
.empty-state p { font-size: var(--t-sm); color: var(--c-text-3); }

/* ── 32. Breadcrumb ─────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--t-xs);
  color: var(--c-text-3);
  padding: var(--sp-4) var(--page-pad);
}
.breadcrumb a { color: var(--c-text-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-accent); }
.breadcrumb-sep { color: var(--c-text-3); }

/* ── 33. Social proof ticker ────────────────────────────────── */
.sp-rotator {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
}
.sp-rotator-track { min-height: 60px; }
.sp-card {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2) 0;
}
.sp-card-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--c-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.sp-card-logo svg { width: 28px; height: 28px; }
.sp-card-initial {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--c-text);
}
.sp-card-name { font-family: var(--font-display); font-weight: 600; font-size: var(--t-sm); }
.sp-card-industry { font-size: var(--t-xs); color: var(--c-text-3); }
.sp-rotator-dots { display: flex; gap: var(--sp-2); margin-top: var(--sp-3); }
.sp-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-border-hi);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--dur-fast);
}
.sp-dot-active { background: var(--c-accent); }
.sp-rotator-cta {
  display: block;
  margin-top: var(--sp-3);
  font-size: var(--t-xs);
  color: var(--c-accent);
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
}

/* ── 33b. Live kit gallery (homepage) ───────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}
@media (max-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-kit-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  transition: transform var(--dur-base), box-shadow var(--dur-base);
  text-decoration: none;
  display: block;
}
.gallery-kit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.gallery-kit-logo {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-5);
  position: relative;
}
.gallery-kit-logo svg { max-width: 64px; max-height: 48px; }
.gallery-kit-logo .logo-initial {
  width: 64px; height: 64px;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.5rem;
  color: #fff;
}

.gallery-kit-palette {
  display: flex;
  height: 8px;
}
.gallery-kit-palette-swatch {
  flex: 1;
  min-width: 0;
}

.gallery-kit-meta {
  padding: var(--sp-3) var(--sp-4);
  border-top: 1px solid var(--c-border);
}
.gallery-kit-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--t-sm);
  color: var(--c-text-1);
  margin-bottom: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gallery-kit-industry {
  font-size: var(--t-xs);
  color: var(--c-text-3);
}

/* Hero mini-kit preview (3-up grid) */
.hero-kits-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}
.hero-mini-kit {
  border-radius: var(--r-md);
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform var(--dur-fast), box-shadow var(--dur-fast);
}
.hero-mini-kit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.hero-mini-kit-logo {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
}
.hero-mini-kit-logo svg { max-width: 36px; max-height: 36px; }
.hero-mini-kit-logo .logo-initial {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
}
.hero-mini-kit-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--t-xs);
  color: rgba(255,255,255,0.9);
  text-align: center;
}
.hero-mini-kit-tag {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
}
.hero-mini-kit-palette {
  display: flex;
  gap: 3px;
}
.hero-mini-kit-palette-swatch {
  width: 14px; height: 14px;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.2);
}

/* Wall of Love — testimonial carousel */
.woo-section { position: relative; }
.woo-track {
  display: flex;
  overflow: hidden;
  gap: var(--sp-5);
}
.woo-slide {
  flex-shrink: 0;
  width: calc(33.333% - var(--sp-4));
  min-width: 280px;
}
@media (max-width: 768px) {
  .woo-slide { width: calc(100% - var(--sp-8)); }
}
.woo-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  height: 100%;
}
.woo-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
}
.woo-quote {
  font-size: var(--t-sm);
  line-height: 1.6;
  color: var(--c-text-1);
  flex: 1;
}
.woo-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: auto;
}
.woo-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-sm);
  color: #fff;
  flex-shrink: 0;
}
.woo-name { font-weight: 600; font-size: var(--t-sm); color: var(--c-text-1); }
.woo-role { font-size: var(--t-xs); color: var(--c-text-3); }

.woo-nav {
  display: flex;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
  align-items: center;
}
.woo-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  background: var(--c-card);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--dur-fast), background var(--dur-fast);
  color: var(--c-text-2);
}
.woo-btn:hover { border-color: var(--accent); background: var(--accent); color: #fff; }

/* ── 34. Comparison feature grid ────────────────────────────── */
.feature-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}
@media (max-width: 640px) {
  .feature-compare-grid { grid-template-columns: 1fr; }
}
.feature-compare-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border-radius: var(--r-md);
  background: var(--c-card);
  border: 1px solid var(--c-border);
}
.feature-compare-icon { color: var(--c-accent); flex-shrink: 0; margin-top: 2px; }
.feature-compare-text { font-size: var(--t-sm); color: var(--c-text-2); }

/* ── 35. Tool card ──────────────────────────────────────────── */
.tool-card {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4);
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--dur-fast), transform var(--dur-fast);
}
.tool-card:hover { border-color: var(--c-accent); transform: translateX(3px); }
.tool-emoji { font-size: 1.4rem; line-height: 1; }
.tool-name { font-family: var(--font-display); font-weight: 600; font-size: var(--t-sm); }

/* ── 36. Niche / Mood page elements ────────────────────────── */
.mood-swatches {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin: var(--sp-5) 0;
}
.mood-swatch {
  width: 60px;
  height: 60px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--t-xs);
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  flex-direction: column;
  gap: 2px;
}

/* ── 37. Vs comparison page ────────────────────────────────── */
.vs-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  flex-wrap: wrap;
}
.vs-brand {
  text-align: center;
}
.vs-vs {
  font-family: var(--font-display);
  font-size: var(--t-h2);
  font-weight: 800;
  color: var(--c-accent);
}
.vs-brand-name {
  font-family: var(--font-display);
  font-size: var(--t-h2);
  font-weight: 800;
  color: var(--c-text);
}
.vs-brand-price {
  font-size: var(--t-sm);
  color: var(--c-text-3);
  margin-top: var(--sp-1);
}

/* ── 38. Brand audit form ───────────────────────────────────── */
.ba-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  max-width: 480px;
}
.ba-form .btn { align-self: flex-start; }

/* ── 39. Score ring ─────────────────────────────────────────── */
.score-ring-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
}
.score-ring {
  width: 140px;
  height: 140px;
  position: relative;
}
.score-ring svg { transform: rotate(-90deg); }
.score-ring-value {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.score-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--c-text);
  line-height: 1;
}
.score-label { font-size: var(--t-xs); color: var(--c-text-3); }

/* ── 40. Utilities ───────────────────────────────────────────── */
.mt-0 { margin-top: 0 !important; }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.mt-8 { margin-top: var(--sp-8); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.mb-8 { margin-bottom: var(--sp-8); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.gap-5 { gap: var(--sp-5); }
.gap-6 { gap: var(--sp-6); }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.w-full { width: 100%; }
.hidden { display: none; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.text-center { text-align: center; }

/* ── 41. Brand Toolkit Grid (homepage mid-section) ─────────── */
.toolkit-section { padding: var(--sp-12) 0; border-bottom: 1px solid var(--c-border); }
.toolkit-row { display: grid; gap: var(--sp-4); margin-bottom: var(--sp-5); }
.toolkit-row:last-child { margin-bottom: 0; }
.toolkit-row--hero   { grid-template-columns: repeat(4, 1fr); }
.toolkit-row--pro    { grid-template-columns: repeat(4, 1fr); }
.toolkit-row--eco    { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) {
  .toolkit-row--hero,
  .toolkit-row--pro  { grid-template-columns: repeat(2, 1fr); }
  .toolkit-row--eco  { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .toolkit-row--hero,
  .toolkit-row--pro,
  .toolkit-row--eco  { grid-template-columns: 1fr; }
}
.toolkit-card {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--dur-mid), transform var(--dur-mid), box-shadow var(--dur-mid);
}
.toolkit-card:hover {
  border-color: var(--c-accent);
  transform: translateY(-2px);
  box-shadow: var(--sh-card-h);
}
.toolkit-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--c-accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-accent);
  flex-shrink: 0;
}
.toolkit-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--t-sm);
  color: var(--c-text);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.toolkit-pro-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-accent);
  background: var(--c-accent-dim);
  border: 1px solid rgba(240,84,12,0.25);
  padding: 2px 8px;
  border-radius: var(--r-pill);
}
.toolkit-desc { font-size: var(--t-xs); color: var(--c-text-3); line-height: 1.5; flex: 1; }
.toolkit-cta {
  font-family: var(--font-display);
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--c-accent);
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  margin-top: auto;
}
.toolkit-row-label {
  font-family: var(--font-display);
  font-size: var(--t-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-text-3);
  margin-bottom: var(--sp-3);
}

/* ── 42. Before/After Transformation ──────────────────────────── */
.ba-section {
  padding: var(--sp-12) 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  background: var(--c-surface);
}
.ba-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--sp-8);
  align-items: center;
}
@media (max-width: 768px) {
  .ba-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
}
.ba-panel {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--c-border);
}
.ba-panel--before { background: var(--c-card); }
.ba-panel--after  { background: var(--c-card); }
.ba-panel-header {
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  border-bottom: 1px solid var(--c-border);
  background: var(--c-surface);
}
.ba-panel-label {
  font-family: var(--font-display);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-3);
}
.ba-panel--before .ba-panel-label { color: #888; }
.ba-panel--after  .ba-panel-label { color: var(--c-accent); }
.ba-panel-body { padding: var(--sp-6); display: flex; flex-direction: column; gap: var(--sp-4); }
.ba-asset-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  background: var(--c-bg);
  border: 1px solid var(--c-border);
}
.ba-asset-label {
  font-size: 0.65rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--c-text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  min-width: 52px;
  flex-shrink: 0;
}
.ba-asset-content {
  flex: 1;
  font-size: var(--t-xs);
  color: var(--c-text-2);
  font-family: var(--font-sans);
}
.ba-asset-content--bad {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}
.ba-swatches {
  display: flex;
  gap: 4px;
}
.ba-swatch {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid var(--c-border);
}
.ba-font-bad {
  font-size: var(--t-xs);
  color: var(--c-text-3);
  font-style: italic;
}
.ba-font-good {
  font-size: var(--t-sm);
  color: var(--c-text);
  font-weight: 600;
}
.ba-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
}
@media (max-width: 768px) {
  .ba-divider { flex-direction: row; justify-content: center; }
}
.ba-divider-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-pill);
  background: var(--c-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px var(--c-accent-glow);
  flex-shrink: 0;
}
.ba-divider-label {
  font-family: var(--font-display);
  font-size: var(--t-xs);
  font-weight: 600;
  color: var(--c-text-2);
  text-align: center;
}
.ba-summary {
  text-align: center;
  margin-top: var(--sp-6);
}
.ba-summary p {
  font-size: var(--t-sm);
  color: var(--c-text-3);
  max-width: 400px;
  margin: 0 auto;
}

/* ── 43. Trusted By (social proof strip) ──────────────────────── */
.trusted-strip {
  padding: var(--sp-10) 0;
  border-bottom: 1px solid var(--c-border);
}
.trusted-inner { display: flex; flex-direction: column; align-items: center; gap: var(--sp-6); }
.trusted-label {
  font-family: var(--font-display);
  font-size: var(--t-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-text-3);
}
.trusted-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  flex-wrap: wrap;
}
.trusted-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--c-text-3);
  letter-spacing: -0.02em;
  opacity: 0.5;
  transition: opacity var(--dur-fast);
  text-decoration: none;
}
.trusted-logo:hover { opacity: 0.8; }
.trusted-stat {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  justify-content: center;
}
.trusted-stat-item { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.trusted-stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--c-text);
  letter-spacing: -0.02em;
}
.trusted-stat-label { font-size: var(--t-xs); color: var(--c-text-3); text-transform: uppercase; letter-spacing: 0.06em; }
.trusted-stat-divider { width: 1px; height: 32px; background: var(--c-border); }

/* ── 44. FAQ accordion (CSS-only using details/summary) ─────── */
.hp-faq-list { display: flex; flex-direction: column; gap: var(--sp-3); }
.hp-faq-item {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--dur-mid);
}
.hp-faq-item[open] { border-color: rgba(240,84,12,0.35); }
.hp-faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--c-text);
  transition: color var(--dur-fast);
  min-height: 48px;
}
.hp-faq-summary::-webkit-details-marker { display: none; }
.hp-faq-summary::marker { display: none; }
.hp-faq-summary:hover { color: var(--c-accent); }
.hp-faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--c-text-3);
  transition: transform var(--dur-mid), color var(--dur-fast);
}
.hp-faq-item[open] .hp-faq-chevron {
  transform: rotate(180deg);
  color: var(--c-accent);
}
.hp-faq-body {
  padding: 0 var(--sp-6) var(--sp-5);
  border-top: 1px solid var(--c-border);
  color: var(--c-text-2);
  font-size: var(--t-sm);
  line-height: 1.7;
}

/* ── 45. Z-Index Scale ────────────────────────────────────────── */
/* Prevents overlap conflicts between nav, modals, dropdowns, toasts.
   Usage: use ONLY these values — no ad-hoc z-index values. */
:root {
  --z-0:   0;
  --z-10: 10;   /* Cards, panels — no user interaction */
  --z-20: 20;   /* Dropdowns, tooltips */
  --z-30: 30;   /* Sticky navigation, sticky mobile CTA */
  --z-40: 40;   /* Mobile menu overlay, slide-in panels */
  --z-50: 50;   /* Modals, dialogs */
  --z-60: 60;   /* Toast notifications */
  --z-70: 70;   /* Context menus */
}

/* ── 46. Animation Specs ──────────────────────────────────────── */
:root {
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:    120ms;
  --dur-mid:     220ms;
  --dur-slow:    380ms;
}

/* Page entrance — apply .page-enter to main content wrapper */
@keyframes page-enter {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-enter {
  animation: page-enter var(--dur-slow) var(--ease-out) both;
}

/* Scroll reveal — add .reveal class + data-reveal attribute */
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
}
.reveal.is-visible {
  animation: reveal-up var(--dur-slow) var(--ease-out) both;
}

/* Modal enter */
@keyframes modal-enter {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}
.modal-content {
  animation: modal-enter var(--dur-mid) var(--ease-out) both;
}

/* Spin / loading */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.spin { animation: spin 0.8s linear infinite; }

/* Subtle float for hero elements */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
.float { animation: float 3s ease-in-out infinite; }

/* ── 47. Navigation Pattern ────────────────────────────────────── */
/* Sticky top nav: height 64px, backdrop-blur, hide-on-scroll-down */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: var(--z-30);
  display: flex;
  align-items: center;
  padding: 0 var(--page-pad);
  background: rgba(11,17,32,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: transform 200ms var(--ease-out), border-color 200ms;
}
.site-nav.is-scrolled {
  border-bottom-color: var(--c-border);
  box-shadow: 0 1px 0 var(--c-border);
}
.site-nav.is-hidden {
  transform: translateY(-100%);
}
.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-badge {
  width: 32px;
  height: 32px;
  background: var(--c-accent);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--c-text);
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  flex: 1;
}
.nav-link {
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--c-text-2);
  text-decoration: none;
  transition: color var(--dur-fast), background var(--dur-fast);
}
.nav-link:hover { color: var(--c-text); background: var(--c-card); }
.nav-cta { margin-left: auto; }

/* Mobile nav */
.nav-hamburger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--c-text);
  cursor: pointer;
  border-radius: var(--r-sm);
  margin-left: auto;
}
.nav-hamburger:hover { background: var(--c-card); }
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

/* Mobile menu overlay */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--z-40);
  background: rgba(11,17,32,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  padding: var(--sp-6);
}
.nav-mobile-overlay.is-open { display: flex; }
.nav-mobile-link {
  font-family: var(--font-display);
  font-size: var(--t-h3);
  font-weight: 700;
  color: var(--c-text);
  text-decoration: none;
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-md);
  transition: color var(--dur-fast);
  text-align: center;
}
.nav-mobile-link:hover { color: var(--c-accent); }
.nav-mobile-close {
  position: absolute;
  top: var(--sp-5);
  right: var(--sp-5);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  color: var(--c-text);
  cursor: pointer;
}

/* Nav guard — every page with a sticky nav needs this padding */
body.has-nav { padding-top: var(--nav-h); }

/* ── 48. Footer Pattern ───────────────────────────────────────── */
.site-footer {
  background: var(--c-surface);
  border-top: 1px solid var(--c-border);
  padding: clamp(var(--sp-10), 6vw, var(--sp-16)) 0 var(--sp-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-8);
  margin-bottom: var(--sp-8);
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  text-decoration: none;
  margin-bottom: var(--sp-4);
}
.footer-brand-tagline {
  font-size: var(--t-sm);
  color: var(--c-text-3);
  max-width: 280px;
  line-height: 1.6;
}
.footer-col-title {
  font-family: var(--font-display);
  font-size: var(--t-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-text-2);
  margin-bottom: var(--sp-4);
}
.footer-links { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-link {
  font-size: var(--t-sm);
  color: var(--c-text-3);
  text-decoration: none;
  transition: color var(--dur-fast);
}
.footer-link:hover { color: var(--c-accent); }
.footer-social { display: flex; gap: var(--sp-3); margin-top: var(--sp-4); }
.footer-social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  color: var(--c-text-3);
  text-decoration: none;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.footer-social-link:hover { color: var(--c-accent); border-color: var(--c-accent); }
.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding-top: var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.footer-copy { font-size: var(--t-xs); color: var(--c-text-3); }
.footer-legal-links { display: flex; gap: var(--sp-4); }
.footer-legal-link {
  font-size: var(--t-xs);
  color: var(--c-text-3);
  text-decoration: none;
  transition: color var(--dur-fast);
}
.footer-legal-link:hover { color: var(--c-accent); }

/* ── Footer competitor compare cluster ── */
.footer-compare-cluster {
  display: flex; align-items: center; flex-wrap: wrap; gap: var(--sp-2);
  padding: var(--sp-4) 0 var(--sp-2);
  border-top: 1px solid var(--c-border);
  margin-top: var(--sp-4);
}
.footer-compare-label {
  font-size: var(--t-xs); color: var(--c-text-3); margin-right: var(--sp-1);
}
.footer-compare-link {
  font-size: var(--t-xs); color: var(--c-text-2);
  text-decoration: none; transition: color var(--dur-fast);
}
.footer-compare-link:hover { color: var(--c-accent); }
.footer-compare-sep { color: var(--c-text-3); font-size: var(--t-xs); }

/* ── 49. Overlap Prevention Rules ────────────────────────────── */
/*
  CRITICAL: These rules prevent element overlap — the #1 CSS bug
  in multi-page redesigns. Every page using this design system
  MUST follow these rules.

  RULE 1 — Sticky nav spacing
  Page content must start below nav height (64px). Use:
    body.has-nav { padding-top: var(--nav-h); }
  Hero sections that want full-bleed can use negative margin to
  visually bleed into nav area, but actual content is padded below.

  RULE 2 — Mobile bottom bar spacing
  Pages with .sticky-mobile-cta must have:
    main { padding-bottom: 88px; }  /* 72px bar + 16px buffer */
  This prevents content from being hidden behind the bar.

  RULE 3 — Modal z-index stack
  Modal overlay: z-index 49, backdrop-filter: blur(4px)
  Modal dialog:  z-index 50
  Body scroll must be locked (overflow: hidden) when modal open.
  Pattern:
    .modal-overlay { position:fixed; inset:0; z-index:49;
                      background:rgba(0,0,0,0.6); backdrop-filter:blur(4px); }
    .modal-dialog  { position:fixed; top:50%; left:50%; z-index:50;
                      transform:translate(-50%,-50%); }

  RULE 4 — Dropdowns / tooltips
  All dropdowns and tooltips: z-index 20. They must NOT
  overlap sticky nav (z-30). Ensure dropdowns position below
  the trigger, not above it at the top of the viewport.

  RULE 5 — Sidebar spacing
  Sticky sidebars use z-index 10. Ensure they start below
  the 64px nav area — sidebar should not be flush with top
  of viewport. Use: margin-top: var(--nav-h); on sidebar container.

  RULE 6 — Fixed/sticky elements
  Any fixed or sticky element must account for mobile bottom bar.
  On mobile, all fixed bottom elements need:
    bottom: calc(env(safe-area-inset-bottom) + 72px);
  or simply use .sticky-mobile-cta which handles this natively.

  RULE 7 — Section visual separation
  Adjacent sections with same background color MUST have a
  clear visual break — use a 1px border (var(--c-border)) or
  increased spacing. Never rely on card background alone.
  Pattern:
    section:nth-child(odd)  { background: var(--c-bg); }
    section:nth-child(even) { background: var(--c-surface); }

  RULE 8 — Scroll-reveal safety
  All scroll-reveal animations use CSS transform/opacity, NOT
  margin or top/left position. This prevents reflow and ensures
  fixed elements (nav, bottom bar) don't clip revealed content.
  Correct: transform: translateY(20px); opacity: 0;
  Wrong:   margin-top: 20px;
*/

/* ── 50. Accessibility Utilities ─────────────────────────────── */
.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;
}

/* Skip-to-content — visible on keyboard focus only */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  z-index: 9999;
  padding: var(--sp-3) var(--sp-5);
  background: var(--c-accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: var(--r-md);
  text-decoration: none;
  transition: top var(--dur-fast);
}
.skip-to-content:focus { top: var(--sp-4); }

/* Focus visible ring — overrides default browser ring */
:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px var(--c-accent-dim);
}

/* Reduced motion — respect user preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── 51. Toast Notifications ───────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  z-index: var(--z-60);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  max-width: 360px;
}
@media (max-width: 480px) {
  .toast-container {
    bottom: calc(env(safe-area-inset-bottom) + 80px);
    left: var(--sp-4);
    right: var(--sp-4);
    max-width: none;
  }
}
.toast {
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-5);
  box-shadow: var(--sh-card-h);
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  animation: toast-enter var(--dur-mid) var(--ease-spring) both;
}
@keyframes toast-enter {
  from { opacity: 0; transform: translateX(20px) scale(0.95); }
  to   { opacity: 1; transform: translateX(0)   scale(1); }
}
.toast--success { border-color: rgba(34,197,94,0.3); }
.toast--error   { border-color: rgba(239,68,68,0.3); }
.toast--info    { border-color: rgba(99,102,241,0.3); }
.toast-icon { flex-shrink: 0; margin-top: 1px; }
.toast-body { flex: 1; }
.toast-title { font-family: var(--font-display); font-weight: 700; font-size: var(--t-sm); }
.toast-message { font-size: var(--t-xs); color: var(--c-text-2); margin-top: 2px; }
.toast-close {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; color: var(--c-text-3);
  cursor: pointer; border-radius: var(--r-sm);
  flex-shrink: 0;
  transition: color var(--dur-fast), background var(--dur-fast);
}
.toast-close:hover { color: var(--c-text); background: var(--c-card-hover); }

/* ── 52. Modal Pattern ─────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-mid) var(--ease-out);
}
.modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}
.modal-dialog {
  position: relative;
  z-index: 50;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  max-width: 520px;
  width: 100%;
  max-height: 90dvh;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}
.modal-dialog--wide { max-width: 720px; }
.modal-dialog--full { max-width: 960px; }
.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}
.modal-title {
  font-family: var(--font-display);
  font-size: var(--t-h3);
  font-weight: 700;
  color: var(--c-text);
}
.modal-close {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  color: var(--c-text-2);
  cursor: pointer;
  flex-shrink: 0;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.modal-close:hover { color: var(--c-text); border-color: var(--c-border-hi); }
.modal-body { color: var(--c-text-2); font-size: var(--t-sm); line-height: 1.65; }
.modal-footer {
  display: flex;
  gap: var(--sp-3);
  justify-content: flex-end;
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--c-border);
}

/* Body scroll lock — apply to <body> when modal is open */
body.modal-open { overflow: hidden; }

/* ── 53. Loading / Skeleton States ───────────────────────────── */
.skeleton {
  background: linear-gradient(90deg,
    var(--c-surface) 25%,
    var(--c-card) 50%,
    var(--c-surface) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s ease-in-out infinite;
  border-radius: var(--r-md);
}
@keyframes skeleton-shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}
.skeleton-text  { height: 14px; margin-bottom: var(--sp-2); }
.skeleton-title { height: 24px; margin-bottom: var(--sp-3); }
.skeleton-btn   { height: 48px; border-radius: var(--r-md); }

/* ── 54. Pro Upgrade Gate ──────────────────────────────────────── */
.pro-gate {
  position: relative;
}
.pro-gate-blur {
  filter: blur(6px);
  user-select: none;
  pointer-events: none;
}
.pro-gate-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11,17,32,0.5);
  border-radius: inherit;
  backdrop-filter: blur(2px);
}
.pro-gate-badge {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--c-accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--t-xs);
  font-weight: 700;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-pill);
  text-decoration: none;
}

/* ── 55. Color contrast helpers ────────────────────────────────── */
/* Ensure high-contrast text on all surfaces */
.on-accent    { color: var(--c-accent); }
.on-surface   { color: var(--c-surface); }
.on-card      { color: var(--c-card); }
.on-bg        { color: var(--c-bg); }
.text-muted   { color: var(--c-text-2); }
.text-dim     { color: var(--c-text-3); }
.text-success { color: var(--c-success); }
.text-warn    { color: var(--c-warn); }
.text-error   { color: var(--c-error); }