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

:root {
  --bg: #F7F2E8;
  --surface: #FDFAF4;
  --surface-2: #F0E9DA;
  --fg: #1C1917;
  --fg-muted: #78716C;
  --accent: #C2410C;
  --accent-light: #FEF3C7;
  --accent-text: #9A3412;
  --border: #E7E0D5;
  --verified-bg: #F0FDF4;
  --verified-text: #15803D;
  --review-bg: #FFFBEB;
  --review-text: #B45309;
  --radius: 12px;
  --radius-sm: 8px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Figtree', sans-serif;
}

html { scroll-behavior: smooth; }

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

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 232, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 28px;
}

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

.nav-links a:hover { color: var(--fg); }

/* === HERO === */
.hero {
  padding: 80px 24px 96px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(194, 65, 12, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 20px;
}

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

.hero-search {
  max-width: 420px;
}

.search-input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--fg-muted);
  cursor: default;
  margin-bottom: 12px;
}

.search-input::placeholder { color: #BDB5A8; }

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--fg-muted);
  cursor: default;
}

.search-hint {
  font-size: 0.78rem;
  color: #BDB5A8;
}

/* Guide Card */
.guide-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 24px rgba(28, 25, 23, 0.08), 0 1px 4px rgba(28, 25, 23, 0.05);
  position: relative;
}

.guide-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.logo-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #E50914;
  color: white;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
}

.guide-meta {
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin-top: 2px;
}

.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--fg);
}

.step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guide-alt {
  background: var(--accent-light);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 14px;
}

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

.alt-item {
  font-size: 0.85rem;
  color: var(--accent-text);
  padding: 4px 0;
  border-bottom: 1px solid rgba(194, 65, 12, 0.15);
}

.alt-item:last-child { border-bottom: none; }

.guide-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
  background: var(--verified-bg);
  color: var(--verified-text);
}

/* === PROOF === */
.proof {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 24px;
}

.proof-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* === HOW IT WORKS === */
.how-it-works {
  padding: 96px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-header { margin-bottom: 56px; }

.section-tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg);
}

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

.step-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* === CATEGORIES === */
.categories {
  padding: 80px 24px 96px;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
}

.categories > .section-header,
.categories > .cat-grid {
  max-width: 1100px;
  margin: 0 auto;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.15s, transform 0.15s;
}

.cat-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.cat-icon {
  color: var(--accent);
  margin-bottom: 14px;
}

.cat-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 6px;
}

.cat-count {
  font-size: 0.82rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* === SPOTLIGHT === */
.spotlight {
  padding: 96px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.company-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s;
}

.company-card:hover { border-color: var(--accent); }

.company-logo {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.company-info { flex: 1; min-width: 0; }

.company-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.company-cat {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

.company-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 99px;
  flex-shrink: 0;
}

.company-badge.verified {
  background: var(--verified-bg);
  color: var(--verified-text);
}

.company-badge.needs-review {
  background: var(--review-bg);
  color: var(--review-text);
}

.spotlight-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* === MANIFESTO === */
.manifesto {
  background: var(--fg);
  padding: 96px 24px;
}

.manifesto-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.manifesto blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #F7F2E8;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1.3;
}

.manifesto p {
  font-size: 0.95rem;
  color: #A8A29E;
  line-height: 1.75;
  margin-bottom: 16px;
}

.manifesto p:last-child { margin-bottom: 0; }

/* === FOOTER === */
.footer {
  background: #0F0D0B;
  padding: 64px 24px 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #292524;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: #F7F2E8;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: #78716C;
  line-height: 1.6;
  max-width: 280px;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #A8A29E;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: #78716C;
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.15s;
}

.footer-col a:hover { color: #F7F2E8; }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 32px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: #57534E;
  line-height: 1.6;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .hero-text { text-align: center; }
  .hero-sub { margin: 0 auto 32px; }
  .hero-search { margin: 0 auto; }
  .proof-inner { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .steps-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .company-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero { padding: 48px 20px 64px; }
  .hero-headline { font-size: 2rem; }
  .cat-grid { grid-template-columns: 1fr; }
  .company-grid { grid-template-columns: 1fr; }
  .guide-card { padding: 18px; }
}