/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #F5F3EE;
  --bg-alt: #ECEAE3;
  --fg: #1A1A1A;
  --fg-muted: #6B6560;
  --accent: #E85D04;
  --accent-dark: #C44D03;
  --accent-warm: #FFF0E6;
  --surface: #FFFFFF;
  --border: #D8D5CE;
  --success: #1B7A4A;
  --star: #F59E0B;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Figtree', sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #fff; }

/* === NAV === */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 243, 238, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.nav-logo {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--fg-muted);
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
  align-items: center;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--fg); }
.nav-links a.active { color: var(--accent); font-weight: 600; }

/* === HERO === */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 0;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.4;
  mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.6) 20%, rgba(0,0,0,0.6) 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,0.6) 20%, rgba(0,0,0,0.6) 70%, transparent);
}

.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 80px;
}

.hero-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--fg);
  max-width: 700px;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 540px;
  line-height: 1.65;
  margin-bottom: 0;
}

.hero-visual {
  margin-top: 56px;
  display: flex;
  justify-content: flex-start;
}

/* === SEARCH WIDGET === */
.search-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
}

.sw-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.sw-search-icon {
  color: var(--fg-muted);
  flex-shrink: 0;
}

.sw-query {
  font-family: 'Figtree', sans-serif;
  font-size: 0.95rem;
  color: var(--fg);
}

.sw-results {
  padding: 8px 0;
}

.sw-result {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
}

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

.sw-result-top {
  background: var(--accent-warm);
}

.sw-result-badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--fg-muted);
  background: var(--bg-alt);
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 2px;
  letter-spacing: 0.05em;
}

.sw-result-top .sw-result-badge {
  background: var(--accent);
  color: white;
}

.sw-result-body { flex: 1; }

.sw-result-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--fg);
  margin-bottom: 4px;
}

.sw-result-name-me {
  color: var(--accent-dark);
}

.sw-result-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--fg-muted);
}

.sw-stars { color: var(--star); font-size: 0.75rem; }

.sw-result-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--success);
  background: #EDFAF3;
  padding: 1px 6px;
  border-radius: 3px;
  margin-top: 4px;
}

/* === STATS === */
.stats-row {
  background: var(--fg);
  color: white;
  padding: 0;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
}

.stat-item {
  padding: 48px 32px;
}

.stat-number {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.stat-divider {
  width: 1px;
  height: 80px;
  background: rgba(255,255,255,0.12);
}

/* === HOW IT WORKS === */
.how-it-works {
  padding: 100px 0;
  background: var(--bg);
}

.hiw-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-headline {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--fg);
  line-height: 1.1;
  max-width: 600px;
  margin-bottom: 20px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 56px;
}

.hiw-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.hiw-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  position: relative;
}

.hiw-card-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: var(--accent-warm);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 20px;
}

.hiw-card-icon {
  color: var(--accent);
  margin-bottom: 16px;
}

.hiw-card-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.hiw-card-desc {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* === MANIFESTO === */
.manifesto {
  background: var(--accent);
  padding: 100px 0;
  color: white;
}

.manifesto-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.manifesto-quote {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: white;
  margin-bottom: 40px;
  max-width: 720px;
}

.manifesto-body {
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.85);
  max-width: 680px;
  margin-bottom: 20px;
}

.manifesto-body:last-child {
  font-weight: 600;
  color: white;
  font-size: 1.2rem;
}

/* === NICHES === */
.niches {
  padding: 100px 0;
  background: var(--bg);
}

.niches-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.niche-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.niche-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
}

.niche-icon {
  color: var(--accent);
  margin-bottom: 16px;
}

.niche-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.niche-desc {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* === CLOSING === */
.closing {
  padding: 100px 0;
  background: var(--fg);
  color: white;
}

.closing-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  text-align: center;
}

.closing-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(232,93,4,0.15);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
}

.closing-headline {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: white;
  line-height: 1.1;
  max-width: 720px;
  margin: 0 auto 28px;
}

.closing-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 64px;
}

.closing-proof {
  display: flex;
  justify-content: center;
  gap: 64px;
}

.proof-stat { text-align: center; }

.proof-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 10px;
}

.proof-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
}

/* === FOOTER === */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.footer-bottom {
  font-size: 0.82rem;
  color: var(--fg-muted);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hiw-cards { grid-template-columns: 1fr; gap: 20px; }
  .niche-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: 1fr; }
  .stat-divider { display: none; }
  .stat-item { padding: 32px 24px; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-item:last-child { border-bottom: none; }
  .closing-proof { gap: 40px; flex-wrap: wrap; }
  .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
  .hero-visual { justify-content: center; }
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .hero-headline { font-size: 2.4rem; }
  .niche-grid { grid-template-columns: 1fr; }
  .nav-inner { padding: 14px 20px; }
  .hero-inner, .hiw-inner, .niches-inner, .manifesto-inner, .closing-inner, .footer-inner { padding: 0 20px; }
  .closing-headline { font-size: 2rem; }
  .proof-num { font-size: 3rem; }
  .manifesto-quote { font-size: 1.8rem; }
}
