/* =============================================================
   Conversion Labs — site-wide design system
   Palette: navy + blue, enterprise feel.
   Used by: index.html (homepage). Product pages still use their
   own stylesheets until later phases consolidate them.
   ============================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Palette */
  --ink:        #0a1628;   /* deep navy — headings, dark surfaces */
  --ink-soft:   #1e2a3d;
  --brand:      #2563eb;   /* primary blue — CTAs, accents */
  --brand-dark: #1d4ed8;
  --brand-soft: #eff6ff;   /* tinted backgrounds */
  --surface:    #f8fafc;   /* section bg */
  --white:      #ffffff;
  --border:     #e2e8f0;
  --text:       #1e293b;
  --text-muted: #64748b;
  --success:    #10b981;
  --warn:       #d97706;
  --warn-soft:  #fef3c7;

  /* Gray scale aliases (used by some product-specific inline styles) */
  --gray-50:  #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Type */
  --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font-sans);

  /* Spacing scale (4px base) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-6: 24px; --s-8: 32px; --s-12: 48px; --s-16: 64px;
  --s-24: 96px; --s-32: 128px;

  /* Radii */
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px;

  /* Shadows */
  --shadow-sm:    0 1px 2px rgba(10,22,40,0.06);
  --shadow-md:    0 4px 12px rgba(10,22,40,0.08);
  --shadow-lg:    0 12px 40px rgba(10,22,40,0.10);
  --shadow-brand: 0 8px 24px rgba(37,99,235,0.20);
}

/* ---------- Reset + base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 5vw, 3.75rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
p  { color: var(--text-muted); }
a  { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Layout ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s-6);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 12px 22px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.18s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(37,99,235,0.30);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--surface);
}
.btn--sm { padding: 8px 16px; font-size: 0.875rem; }

/* ---------- Inline labels ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--s-3);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 6px 14px;
  background: var(--brand-soft);
  border: 1px solid #dbeafe;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--brand-dark);
}
.pill__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.20);
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__logo {
  display: flex; align-items: center; gap: var(--s-2);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
}
.nav__logo img { width: 40px; height: 40px; }
.nav__links {
  display: flex;
  gap: var(--s-8);
  list-style: none;
}
.nav__links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
}
.nav__links a:hover { color: var(--ink); }
.nav__cta { display: flex; gap: var(--s-3); }

/* Mobile hamburger toggle — hidden on desktop, shown via media query.
   JS in /assets/js/main.js toggles .active on click. */
.nav__mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav__mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav__mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__mobile-toggle.active span:nth-child(2) { opacity: 0; }
.nav__mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: var(--s-24) 0 var(--s-16);
  background:
    radial-gradient(ellipse at top right, rgba(37,99,235,0.08), transparent 60%),
    var(--white);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--s-16);
  align-items: center;
}
.hero__title { margin: var(--s-4) 0 var(--s-6); }
.hero__title em { font-style: normal; color: var(--brand); }
.hero__lede {
  font-size: 1.1875rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: var(--s-8);
}
.hero__cta {
  display: flex;
  gap: var(--s-3);
  margin-bottom: var(--s-8);
}
.hero__proof {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  font-size: 0.875rem;
  color: var(--text-muted);
}
.hero__visual { position: relative; }

/* ---------- Device frame mockup ---------- */
.device-frame {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.device-frame__bar {
  display: flex;
  gap: var(--s-2);
  padding: 12px 16px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.device-frame__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.device-frame__body {
  padding: var(--s-8);
  background: linear-gradient(180deg, var(--white), var(--surface));
  min-height: 360px;
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
}

/* Skeleton placeholders inside device-frame mockups */
.skeleton-row {
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--border), #cbd5e1, var(--border));
}
.skeleton-row--80 { width: 80%; }
.skeleton-row--60 { width: 60%; }
.skeleton-row--40 { width: 40%; }
.skeleton-card {
  padding: var(--s-4);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--white);
  display: flex;
  gap: var(--s-3);
  align-items: center;
}
.skeleton-card__icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--brand-soft);
  flex-shrink: 0;
}
.skeleton-card__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Floating proof cards layered on top of device frame */
.floating-card {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: var(--s-3) var(--s-4);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: 0.875rem;
}
.floating-card__icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--brand-soft);
  display: grid; place-items: center;
  color: var(--brand);
  font-weight: 700;
}
.floating-card--top { top: -16px; right: -24px; }
.floating-card--bot { bottom: -20px; left: -24px; }
.floating-card__metric {
  font-weight: 700;
  color: var(--ink);
}
.floating-card__label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ---------- Hero mock (homepage hero — combines IG grid + cart bar) ----------
   Shows what BOTH products do at a glance: an auto-synced Instagram feed
   above a free-shipping progress bar. Sits inside .device-frame. */
.hero-mock {
  background: var(--white);
  padding: var(--s-5, 20px);
}
.hero-mock__header {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}
.hero-mock__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
  flex-shrink: 0;
}
.hero-mock__profile { flex: 1; min-width: 0; }
.hero-mock__handle {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
}
.hero-mock__sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.hero-mock__tag {
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hero-mock__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: var(--s-4);
}
.hero-mock__tile {
  aspect-ratio: 1;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
}
.hero-mock__bar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-3) var(--s-4);
}
.hero-mock__bar-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text);
  margin-bottom: 6px;
}
.hero-mock__bar-row strong { color: var(--ink); }
.hero-mock__bar-amount { color: var(--brand); font-weight: 600; }
.hero-mock__bar-track {
  height: 6px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.hero-mock__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), #60a5fa);
  border-radius: 999px;
}

/* ---------- Strip (between hero and product sections) ---------- */
.strip {
  padding: var(--s-12) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-12);
  flex-wrap: wrap;
}
.strip__label {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}
.strip__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 10px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-weight: 600;
  color: var(--ink);
  font-size: 0.9375rem;
}
.strip__badge::before {
  content: "";
  width: 22px; height: 22px;
  border-radius: var(--r-sm);
  background: #95BF47; /* Shopify green */
}

/* ---------- Per-product section block ---------- */
.product { padding: var(--s-24) 0; }
.product--alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.product__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-16);
  align-items: center;
}
.product__inner--reverse .product__visual { order: -1; }
.product__title { margin: var(--s-4) 0 var(--s-6); }
.product__lede {
  font-size: 1.1875rem;
  margin-bottom: var(--s-8);
  max-width: 520px;
}
.product__cta {
  display: flex; gap: var(--s-3);
  margin-bottom: var(--s-4);
}
.product__sublinks {
  display: flex;
  gap: var(--s-6);
  flex-wrap: wrap;
  font-size: 0.875rem;
}
.product__sublinks a {
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.15s;
}
.product__sublinks a:hover { color: var(--brand); }
.product__sublinks span { color: var(--border); }

/* ---------- Feature grid (used inside product sections) ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-6);
  margin-bottom: var(--s-8);
}
.feature {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.feature__icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--brand-soft);
  color: var(--brand);
  display: grid; place-items: center;
  margin-bottom: var(--s-2);
}
.feature__title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 1rem;
}
.feature__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---------- SocialSnap visual: Instagram grid mockup ---------- */
.ig-mock {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.ig-mock__header {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-6);
  border-bottom: 1px solid var(--border);
}
.ig-mock__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #ec4899, #8b5cf6);
}
.ig-mock__handle {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.9375rem;
}
.ig-mock__follow {
  margin-left: auto;
  padding: 6px 14px;
  background: var(--brand);
  color: var(--white);
  border-radius: var(--r-sm);
  font-size: 0.8125rem;
  font-weight: 600;
}
.ig-mock__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 2px;
}
.ig-mock__tile {
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
}

/* ---------- CartClimb visual: cart with progress bar ---------- */
.cart-mock { padding: var(--s-8); background: var(--white); }
.cart-mock__title {
  font-size: 1.25rem;
  margin-bottom: var(--s-4);
}
.cart-mock__progress {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--s-4);
  margin-bottom: var(--s-6);
}
.cart-mock__progress-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--s-2);
  font-size: 0.875rem;
}
.cart-mock__progress-label { font-weight: 600; color: var(--ink); }
.cart-mock__progress-value { color: var(--brand); font-weight: 600; }
.cart-mock__bar {
  height: 8px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.cart-mock__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), #60a5fa);
  border-radius: 999px;
}
.cart-mock__item {
  display: flex;
  gap: var(--s-3);
  padding: var(--s-3) 0;
}
.cart-mock__item--bordered { border-bottom: 1px solid var(--border); }
.cart-mock__thumb {
  width: 56px; height: 56px;
  border-radius: var(--r-sm);
  flex-shrink: 0;
}
.cart-mock__info { flex: 1; }
.cart-mock__name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink);
}
.cart-mock__meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.cart-mock__price {
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Per-product theme overrides ---------- */
/* Apply on <body> to swap brand color for one product's pages.
   The chrome (nav, footer) stays navy; --brand variables shift. */
body.theme-socialsnap {
  --brand:        #dc2743;
  --brand-dark:   #be185d;
  --brand-soft:   #fce7f3;
  --shadow-brand: 0 8px 24px rgba(220,39,67,0.20);
}
body.theme-cartclimb {
  --brand:        #059669;
  --brand-dark:   #047857;
  --brand-soft:   #d1fae5;
  --shadow-brand: 0 8px 24px rgba(5,150,105,0.20);
}

/* ---------- Page header (large title block for sub-pages) ---------- */
.page-header {
  padding: var(--s-16) 0 var(--s-12);
  background:
    radial-gradient(ellipse at top, rgba(37,99,235,0.06), transparent 60%),
    var(--white);
  text-align: center;
}
.page-header h1 {
  margin-bottom: var(--s-3);
}
.page-header__lede {
  font-size: 1.1875rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- Prose (long-form text — privacy, terms, etc.) ---------- */
.prose {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.7;
}
.prose h2 {
  font-size: 1.5rem;
  margin-top: var(--s-12);
  margin-bottom: var(--s-4);
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--border);
}
.prose h3 {
  font-size: 1.125rem;
  margin-top: var(--s-8);
  margin-bottom: var(--s-3);
  color: var(--ink);
}
.prose p,
.prose ul,
.prose ol {
  margin-bottom: var(--s-4);
  color: var(--text);
}
.prose ul,
.prose ol {
  padding-left: var(--s-6);
}
.prose li {
  margin-bottom: var(--s-2);
}
.prose a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose strong { color: var(--ink); font-weight: 600; }
.prose code {
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--ink);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--s-6) 0;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  font-size: 0.9375rem;
}
.prose table thead {
  background: var(--surface);
}
.prose table th,
.prose table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.prose table th {
  font-weight: 600;
  color: var(--ink);
}
.prose table tr:last-child td { border-bottom: none; }

/* ---------- Steps (numbered installation timeline) ---------- */
.steps {
  display: flex;
  flex-direction: column;
  gap: var(--s-8);
  max-width: 760px;
  margin: 0 auto;
}
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--s-6);
  align-items: flex-start;
}
.step__number {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--white);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
}
.step__body h3 {
  margin-bottom: var(--s-3);
}
.step__body p,
.step__body ul,
.step__body ol {
  color: var(--text);
  margin-bottom: var(--s-3);
}
.step__body ul,
.step__body ol {
  padding-left: var(--s-6);
}
.step__body li { margin-bottom: var(--s-2); }
.step__body a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- FAQ category filter buttons ---------- */
.faq-categories {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--s-12);
}
.faq-category {
  padding: 8px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s ease;
}
.faq-category:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.faq-category.active {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}

/* ---------- FAQ list (Q&A) ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.faq-item:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}
.faq-item__q {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 1.0625rem;
  margin-bottom: var(--s-2);
}
.faq-item__a {
  color: var(--text);
  line-height: 1.6;
}
.faq-item__a a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Section header (centered title + lede) ---------- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--s-12);
}
.section-header .eyebrow { margin-bottom: var(--s-3); }
.section-header h2 { margin-bottom: var(--s-3); }
.section-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* ---------- "Why Conversion Labs" section ---------- */
.why {
  padding: var(--s-24) 0;
  background: var(--white);
}
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-8);
}
.why-card {
  padding: var(--s-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.why-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}
.why-card__icon {
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  background: var(--brand-soft);
  color: var(--brand);
  display: grid; place-items: center;
  margin-bottom: var(--s-4);
}
.why-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: 1.0625rem;
  margin-bottom: var(--s-2);
}
.why-card__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ---------- Closing CTA section ---------- */
.cta {
  padding: var(--s-24) 0;
  background: var(--ink);
  text-align: center;
}
.cta__title {
  color: var(--white);
  margin-bottom: var(--s-4);
}
.cta__lede {
  color: #94a3b8;
  font-size: 1.125rem;
  max-width: 560px;
  margin: 0 auto var(--s-8);
}
.cta__buttons {
  display: inline-flex;
  gap: var(--s-3);
}
.cta .btn--ghost {
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}
.cta .btn--ghost:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--white);
}

/* ---------- Pricing cards ---------- */
.pricing { padding: var(--s-24) 0; background: var(--surface); }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-6);
}
.pricing-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--s-8);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.pricing-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.pricing-card--featured {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
}
.pricing-card__badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pricing-card__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--ink);
  margin-bottom: var(--s-3);
}
.pricing-card__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.25rem;
  color: var(--ink);
  margin-bottom: var(--s-6);
}
.pricing-card__price span {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
}
.pricing-card__features {
  list-style: none;
  padding: 0;
  margin-bottom: var(--s-6);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.pricing-card__feature {
  display: flex;
  align-items: flex-start;
  gap: var(--s-2);
  font-size: 0.9375rem;
  color: var(--text);
}
.pricing-card__feature::before {
  content: "✓";
  color: var(--brand);
  font-weight: 700;
  flex-shrink: 0;
}
.pricing-card__feature--disabled {
  color: var(--text-muted);
  text-decoration: line-through;
  opacity: 0.6;
}
.pricing-card__feature--disabled::before {
  content: "—";
  color: var(--text-muted);
  text-decoration: none;
}

/* ---------- Value section (benefits list with side visual) ---------- */
.value { padding: var(--s-24) 0; background: var(--white); }
.value__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-16);
  align-items: center;
}
.value__title { margin: var(--s-4) 0 var(--s-6); }
.value__lede {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: var(--s-8);
}
.value__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
}
.value__item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: var(--s-4);
  align-items: flex-start;
}
.value__item-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.value__item-text h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: var(--s-1);
}
.value__item-text p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- SocialSnap-specific: layout switcher tabs + previews ---------- */
.layouts { padding: var(--s-24) 0; background: var(--surface); }
.layouts__tabs {
  display: flex;
  justify-content: center;
  gap: var(--s-2);
  margin-bottom: var(--s-8);
  flex-wrap: wrap;
}
.layouts__tab {
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.layouts__tab:hover { border-color: var(--brand); color: var(--brand); }
.layouts__tab.active {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}
.layouts__preview {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  max-width: 880px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}
.layouts__preview-header {
  padding: var(--s-3) var(--s-6);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
}
.layouts__preview-title {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}
.layouts__preview-content { padding: var(--s-6); }
.hidden { display: none !important; }

.layout-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-2);
}
.layout-grid__item {
  aspect-ratio: 1;
  border-radius: var(--r-sm);
  overflow: hidden;
}
.layout-grid__item img { width: 100%; height: 100%; object-fit: cover; }

.layout-slider {
  display: flex;
  gap: var(--s-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--s-2);
}
.layout-slider__item {
  flex: 0 0 220px;
  aspect-ratio: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  scroll-snap-align: start;
}
.layout-slider__item img { width: 100%; height: 100%; object-fit: cover; }

.layout-circle {
  display: flex;
  gap: var(--s-6);
  flex-wrap: wrap;
  justify-content: center;
}
.layout-circle__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-2);
  width: 88px;
}
.layout-circle__avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid transparent;
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888) border-box;
  box-shadow: 0 0 0 3px var(--white) inset;
  padding: 3px;
}
.layout-circle__avatar img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.layout-circle__label {
  font-size: 0.8125rem;
  color: var(--text);
  font-weight: 500;
  text-align: center;
}

/* SocialSnap brand-mock (Instagram-style profile card used in value section) */
.brand-mock {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  padding: var(--s-6);
}
.brand-mock__header {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}
.brand-mock__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
  display: grid; place-items: center;
  color: var(--white);
  font-weight: 700;
}
.brand-mock__handle {
  font-weight: 600;
  color: var(--ink);
}
.brand-mock__followers {
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.brand-mock__follow {
  margin-left: auto;
  padding: 6px 14px;
  background: var(--brand);
  color: var(--white);
  border-radius: var(--r-sm);
  font-size: 0.8125rem;
  font-weight: 600;
}
.brand-mock__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.brand-mock__grid-item {
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
}
.brand-mock__grid-item img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: #cbd5e1;
  padding: var(--s-16) 0 var(--s-8);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-12);
  margin-bottom: var(--s-12);
}
.footer__brand {
  display: flex; align-items: center; gap: var(--s-2);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: var(--s-4);
}
.footer__brand img { width: 40px; height: 40px; }
.footer__desc {
  font-size: 0.9375rem;
  color: #94a3b8;
  max-width: 320px;
}
.footer h4 {
  color: var(--white);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--s-4);
}
.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.footer ul a {
  color: #94a3b8;
  font-size: 0.9375rem;
  transition: color 0.15s;
}
.footer ul a:hover { color: var(--white); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-6);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.875rem;
  color: #64748b;
}
.footer__bottom a { color: #94a3b8; margin-left: var(--s-6); }

/* ============================================================
   Scroll-triggered reveal animations

   Add `.reveal` to any element to fade + slide it in when scrolled
   into view. The .js-loaded class is applied on body by main.js, so:
   - No JS / JS error → element stays visible (graceful fallback)
   - prefers-reduced-motion → animation disabled, element visible
   - JS loaded + motion OK → element invisible until observer marks it
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  body.js-loaded .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
  }
  body.js-loaded .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
  /* Stagger child reveals when parent has .reveal-stagger */
  body.js-loaded .reveal-stagger > .reveal:nth-child(1) { transition-delay:   0ms; }
  body.js-loaded .reveal-stagger > .reveal:nth-child(2) { transition-delay:  80ms; }
  body.js-loaded .reveal-stagger > .reveal:nth-child(3) { transition-delay: 160ms; }
  body.js-loaded .reveal-stagger > .reveal:nth-child(4) { transition-delay: 240ms; }
  body.js-loaded .reveal-stagger > .reveal:nth-child(5) { transition-delay: 320ms; }
  body.js-loaded .reveal-stagger > .reveal:nth-child(6) { transition-delay: 400ms; }
}

/* ============================================================
   Responsive — mobile-friendly across all viewports
   Breakpoints:
     <= 1100px  : nav switches to hamburger (desktop nav doesn't fit)
     <= 900px   : layout grids collapse to single column
     <= 600px   : phone (tighter padding, 1-col footer, smaller grids)

   Nav and layout breakpoints differ on purpose — the desktop nav has
   a lot of items and gets cramped well before the side-by-side
   layouts (hero, product sections) actually need to stack.
   ============================================================ */

/* Mobile menu — activates earlier than the layout breakpoint
   because the nav has more density to fit in less width. */
@media (max-width: 1100px) {
  .nav__mobile-toggle { display: flex; }
  .nav__cta { display: none; }
  .nav__links {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: var(--s-4) var(--s-6);
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    z-index: 99;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .nav__links.active { display: flex; }
  .nav__links li {
    list-style: none;
    border-bottom: 1px solid var(--border);
  }
  .nav__links li:last-child { border-bottom: none; }
  .nav__links a {
    display: block;
    padding: var(--s-4) 0;
    font-size: 1rem;
  }
}

/* Small tablet / large phone — layout grids start collapsing */
@media (max-width: 900px) {
  .hero__inner,
  .product__inner {
    grid-template-columns: 1fr;
    gap: var(--s-12);
  }
  .product__inner--reverse .product__visual { order: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--s-8); }
  /* On mobile the floating cards sit inline below the device frame
     instead of overlapping it with negative offsets that would overflow
     the viewport. */
  .hero__visual { display: flex; flex-direction: column; gap: var(--s-3); }
  .floating-card {
    position: static;
    top: auto; right: auto; bottom: auto; left: auto;
  }
  .why__grid { grid-template-columns: 1fr; gap: var(--s-4); }
  .pricing__grid { grid-template-columns: 1fr; }
  .value__grid { grid-template-columns: 1fr; gap: var(--s-12); }
  .layout-grid { grid-template-columns: repeat(3, 1fr); }
  .step { grid-template-columns: 40px 1fr; gap: var(--s-4); }
  .step__number { width: 40px; height: 40px; font-size: 1rem; }
  /* Hide product sub-links (Installation · FAQ · Privacy) on mobile;
     the same links are still reachable via the footer columns. */
  .product__sublinks { display: none; }
}

/* Tablet refinements (apply when nav is still desktop, between 1101px+ ranges)
   — these previously matched 901-1100 but with mobile menu now starting at 1101,
   they apply where layout is multi-col but slightly compressed. */
@media (min-width: 901px) and (max-width: 1200px) {
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Phone */
@media (max-width: 600px) {
  .container { padding: 0 var(--s-4); }
  .footer__grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .footer__bottom {
    flex-direction: column;
    gap: var(--s-3);
    text-align: center;
    align-items: center;
  }
  .footer__bottom a { margin-left: var(--s-3); }
  .layout-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: var(--s-12) 0 var(--s-8); }
  .product { padding: var(--s-12) 0; }
  .why, .pricing, .value, .cta { padding: var(--s-12) 0; }
  .strip__inner { gap: var(--s-4); }
  .ig-mock__follow { padding: 4px 10px; font-size: 0.75rem; }
  .strip__label { display: none; }
}
