/* Brand SoLoMo v2 — tokens, reset, typography, buttons, utilities */

:root {
  --primary: #4F46E5;
  --primary-hover: #4338CA;
  --primary-light: #EEF2FF;
  --background: #FAFBFC;
  --surface: #FFFFFF;
  --secondary: #F8FAFC;
  --text-primary: #0F172A;
  --text-secondary: #64748B;
  --text-tertiary: #94A3B8;
  --success: #22C55E;
  --success-light: #DCFCE7;
  --warning: #F59E0B;
  --warning-light: #FEF3C7;
  --danger: #EF4444;
  --danger-light: #FEE2E2;
  --info: #3B82F6;
  --info-light: #DBEAFE;
  --violet: #8B5CF6;
  --rose: #E11D48;
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --ink: #0B1120;
  --shadow-xs: 0 2px 8px rgba(71, 85, 105, 0.08);
  --shadow-sm: 0 4px 12px rgba(71, 85, 105, 0.12), 0 2px 4px rgba(71, 85, 105, 0.06);
  --shadow-md: 0 8px 20px rgba(71, 85, 105, 0.10), 0 4px 8px rgba(71, 85, 105, 0.06);
  --shadow-lg: 0 16px 32px rgba(71, 85, 105, 0.12), 0 8px 16px rgba(71, 85, 105, 0.08);
  --shadow-xl: 0 24px 48px rgba(71, 85, 105, 0.15), 0 12px 24px rgba(71, 85, 105, 0.10);
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 24px;
  --r-full: 9999px;
  --maxw: 1200px;
  --nav-h: 72px;
  --gradient: linear-gradient(120deg, #4F46E5 0%, #8B5CF6 55%, #3B82F6 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--background);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
h1, h2, h3, h4 { color: var(--text-primary); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--primary); background: var(--primary-light);
  padding: 6px 14px; border-radius: var(--r-full);
}
.eyebrow svg { width: 15px; height: 15px; }
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-sub {
  font-size: clamp(17px, 2vw, 20px); color: var(--text-secondary);
  max-width: 640px; margin: 16px auto 0; line-height: 1.7;
}
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--text-secondary); line-height: 1.7; max-width: 540px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.text-center { text-align: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; border-radius: var(--r-md);
  padding: 13px 26px; transition: all .22s ease; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-hover); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.btn-secondary { background: var(--secondary); color: var(--text-primary); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--border-light); border-color: #CBD5E1; }
.btn-ghost { color: var(--text-secondary); }
.btn-ghost:hover { color: var(--text-primary); background: var(--secondary); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline-white { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.btn-outline-white:hover { background: rgba(255,255,255,.12); }
.btn-gradient { background: var(--gradient); color: #fff; box-shadow: var(--shadow-md); }
.btn-gradient:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-dark { background: #fff; color: var(--ink); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* Image placeholders */
.img-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  text-align: center; padding: 28px 20px; background: var(--secondary);
  border: 2px dashed var(--border); border-radius: var(--r-lg);
}
.img-ph svg { width: 40px; height: 40px; color: var(--text-tertiary); }
.img-ph b { font-size: 14px; color: var(--text-primary); }
.img-ph span { font-size: 12px; color: var(--text-tertiary); max-width: 320px; line-height: 1.5; }

/* Browser frame */
.browser-frame {
  background: var(--surface); border-radius: var(--r-xl); border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xl); overflow: hidden;
}
.browser-bar {
  display: flex; align-items: center; gap: 7px; padding: 12px 16px;
  background: var(--secondary); border-bottom: 1px solid var(--border-light);
}
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.dot-r { background: #EF4444; } .dot-y { background: #F59E0B; } .dot-g { background: #22C55E; }

/* Publisher chips */
.pub-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border-light);
  border-radius: var(--r-full); padding: 8px 16px 8px 10px;
  box-shadow: var(--shadow-xs); white-space: nowrap;
}
.pub-chip img, .pub-chip .pub-logo {
  width: 22px; height: 22px; object-fit: contain; flex-shrink: 0;
}
.pub-chip span { font-size: 14px; font-weight: 500; color: var(--text-primary); }

/* Icon chips */
.ico-chip {
  width: 48px; height: 48px; border-radius: var(--r-md);
  display: grid; place-items: center; margin-bottom: 16px;
}
.ico-chip svg { width: 24px; height: 24px; }
.ico-indigo { background: var(--primary-light); color: var(--primary); }
.ico-violet { background: #F3F0FF; color: var(--violet); }
.ico-green { background: var(--success-light); color: #16A34A; }
.ico-blue { background: var(--info-light); color: var(--info); }
.ico-amber { background: var(--warning-light); color: #D97706; }
.ico-rose { background: #FFE4E6; color: var(--rose); }
.ico-danger { background: var(--danger-light); color: var(--danger); }

/* Reveal fallback */
.reveal, [data-reveal] { opacity: 0; transform: translateY(24px); }
.reveal.visible, [data-reveal].visible { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease; }
[data-stagger-item] { opacity: 0; transform: translateY(24px); }

/* Aurora blobs */
.aurora {
  position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; z-index: 0;
}
.aurora-indigo { background: rgba(79, 70, 229, 0.10); width: 480px; height: 480px; }
.aurora-violet { background: rgba(139, 92, 246, 0.08); width: 400px; height: 400px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, [data-reveal], [data-stagger-item] { opacity: 1; transform: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .btn-lg { width: 100%; }
}
