/* Kizizi Gigs - site stylesheet, generated from the Kizizi Gigs Design System
   (tokens: colors.css / typography.css / spacing.css; layout: ui_kits/website) */

:root {
  /* Brand - Kizizi Gold */
  --brand: #E1AD01;
  --brand-light: #F2C630;
  --brand-fill: #E1AD01;
  --brand-dark: #A87F00;
  --brand-tint-10: rgba(225, 173, 1, .14);
  --brand-tint-5: rgba(225, 173, 1, .07);
  --on-brand: #1A1A1A;
  /* Ink */
  --ink: #1A1A1A;
  --ink-light: #2D2D2D;
  --ink-dark: #000000;
  --on-ink: #FFFFFF;
  /* Neutrals */
  --neutral-50: #FAFAFA;
  --neutral-100: #F5F5F5;
  --neutral-200: #E5E5E5;
  --neutral-300: #D4D4D4;
  --neutral-400: #A3A3A3;
  --neutral-500: #737373;
  --neutral-600: #525252;
  --neutral-700: #404040;
  --neutral-800: #262626;
  --neutral-900: #171717;
  /* Surfaces */
  --surface-variant: #FAFAFA;
  --background: #FFFFFF;
  --text-muted: #6B7280;
  /* Type */
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-ui: 'Poppins', system-ui, sans-serif;
  /* Radii / shadows */
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .10);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, .12);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--background);
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { color: var(--brand); }
::selection { background: var(--brand); color: var(--ink); }
img { max-width: 100%; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 48px; }

/* ---------- Navigation ---------- */

nav.site {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--neutral-100);
  transition: box-shadow .3s;
}
nav.site.nav-scrolled { box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
nav.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
nav.site .links { display: flex; gap: 32px; font-size: 14px; font-weight: 500; }
nav.site .links a { color: var(--neutral-600); transition: color .2s; }
nav.site .links a:hover, nav.site .links a.active { color: var(--brand-dark); }
nav.site .logo img { width: 44px; height: 44px; display: block; }

#menu-btn { display: none; background: none; border: none; padding: 8px; margin-right: -8px; color: var(--neutral-600); cursor: pointer; }
#mobile-menu {
  display: none;
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: rgba(255, 255, 255, .98);
  border-top: 1px solid var(--neutral-100);
  box-shadow: var(--shadow-md);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
}
#mobile-menu a { display: block; padding: 10px 0; color: var(--neutral-600); }
#mobile-menu.open { display: block; }

/* ---------- Shared pieces ---------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  line-height: 1;
  background: var(--brand-tint-10);
  color: var(--brand-dark);
  border-radius: var(--radius-full);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

h2.sec {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.8px;
  text-align: center;
  margin: 0 0 12px;
}
p.sub { text-align: center; font-size: 17px; color: var(--text-muted); margin: 0 0 56px; }

.badge-btn img { height: 56px; display: block; }

.btn-ink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 32px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  transition: background .2s;
}
.btn-ink:hover { background: var(--ink-light); color: #fff; }

/* ---------- Hero (home + affiliate) ---------- */

.hero {
  padding: 160px 0 96px; /* clears the fixed nav */
  background: linear-gradient(to bottom, #fff, var(--surface-variant));
}
.hero .wrap { display: flex; align-items: center; gap: 64px; }
.hero h1 { font-size: 56px; font-weight: 900; letter-spacing: -1.5px; line-height: 1.05; margin: 0 0 16px; }
.hero h1 em { font-style: normal; color: var(--brand-dark); }
.hero p.lede { font-size: 20px; line-height: 1.55; color: var(--text-muted); max-width: 520px; margin: 0 0 40px; }
.hero-phone {
  width: 288px;
  flex-shrink: 0;
  display: block;
  filter: drop-shadow(0 24px 48px rgba(225, 173, 1, .45));
  animation: sway 6s ease-in-out infinite;
}
@keyframes sway {
  0% { transform: rotate(1.5deg); }
  50% { transform: rotate(-0.5deg); }
  100% { transform: rotate(1.5deg); }
}

.hero.center { text-align: center; }
.hero.center .wrap { display: block; max-width: 840px; }
.hero.center h1 { font-size: 52px; letter-spacing: -1.5px; line-height: 1.08; }
.hero.center p.tag { font-size: 19px; font-weight: 600; color: var(--brand-dark); margin: 0 0 12px; }
.hero.center p.lede { margin: 0 auto 40px; max-width: 560px; font-size: 19px; }
.hero.center .badge-btn img { margin: 0 auto; }
.hero.center p.note { font-size: 13px; color: var(--text-muted); margin: 16px 0 0; }

/* ---------- How it works ---------- */

.steps { padding: 96px 0; }
.steps .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.step .num { font-family: var(--font-display); font-weight: 900; font-size: 56px; color: rgba(225, 173, 1, .2); line-height: 1; }
.step h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin: 12px 0; }
.step p { font-size: 15px; line-height: 1.6; color: var(--text-muted); margin: 0; }
.step svg { margin-top: 8px; }
.step-shot {
  width: 144px;
  margin-top: auto;
  padding-top: 32px;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .15));
}

/* ---------- Categories ---------- */

.cats { background: var(--ink); padding: 96px 0; color: #fff; }
.cats h2.sec { color: #fff; }
.cats p.sub { color: var(--neutral-400); }
.cats .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cat {
  background: var(--neutral-900);
  border: 1px solid var(--neutral-800);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: border-color .2s;
}
.cat:hover { border-color: var(--brand); }
.cat h3 { font-family: var(--font-display); font-size: 16px; font-weight: 700; margin: 16px 0 6px; color: #fff; }
.cat p { font-size: 13px; color: var(--neutral-400); margin: 0; }

/* ---------- Protection ---------- */

.protect { padding: 96px 0; }
.protect .wrap { display: flex; gap: 80px; align-items: flex-start; }
.protect .intro { flex: 1; max-width: 420px; }
.protect .items { flex: 1; display: flex; flex-direction: column; gap: 40px; }
.protect h2 { font-family: var(--font-display); font-size: 36px; font-weight: 700; letter-spacing: -0.8px; margin: 0 0 16px; }
.protect p.lede { font-size: 17px; line-height: 1.6; color: var(--text-muted); margin: 0; }
.protect .item { padding-left: 24px; border-left: 2px solid var(--brand); }
.protect .item.ink { border-left-color: var(--ink); }
.protect .item h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin: 8px 0 6px; }
.protect .item p { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin: 0; }

/* ---------- Referrals ---------- */

.refer { padding: 96px 0; background: var(--brand-tint-5); }
.refer .wrap { text-align: center; }
.refer .cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto 48px;
}
.refer .card { background: #fff; border-radius: var(--radius-lg); padding: 32px 24px; box-shadow: var(--shadow-sm); }
.refer .card svg { margin: 0 auto; display: block; }
.refer .card h3 { font-family: var(--font-display); font-size: 16px; font-weight: 700; margin: 16px 0 6px; }
.refer .card p { font-size: 13px; line-height: 1.6; color: var(--text-muted); margin: 0; }

/* ---------- FAQ ---------- */

.faq { padding: 96px 0; background: var(--surface-variant); }
.faq .list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border-radius: var(--radius-md); padding: 20px 24px; box-shadow: var(--shadow-sm); }
.faq summary {
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 20px; color: var(--brand-dark); font-weight: 400; margin-left: 16px; }
.faq details[open] summary::after { content: '\2013'; }
.faq details p { margin: 12px 0 0; font-size: 14px; line-height: 1.6; color: var(--text-muted); }

/* ---------- Affiliate: why join / eligibility ---------- */

.why { padding: 96px 0; background: var(--surface-variant); }
.why .grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 56px auto 0;
}
.why .card {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.why .card h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin: 16px 0 8px; }
.why .card p { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin: 0; }

.elig { padding: 96px 0; }
.elig .wrap { max-width: 720px; }
.elig h2 { font-family: var(--font-display); font-size: 36px; font-weight: 700; letter-spacing: -0.8px; margin: 0 0 24px; }
.elig .box { border-left: 2px solid var(--brand); padding-left: 32px; }
.elig .box svg { margin-bottom: 16px; }
.elig .box p { font-size: 16px; line-height: 1.65; color: var(--text-muted); margin: 0 0 16px; }
.elig .box p.small { font-size: 13px; margin: 0; }

/* ---------- CTA ---------- */

.cta { padding: 112px 0; background: var(--ink); text-align: center; color: #fff; }
.cta h2 { font-family: var(--font-display); font-size: 44px; font-weight: 900; letter-spacing: -1px; margin: 0 0 16px; }
.cta h2 em { font-style: normal; color: var(--brand); }
.cta p { font-size: 17px; color: var(--neutral-400); margin: 0 0 40px; }
.cta .badge-btn { display: inline-block; }
.cta .badge-btn img { margin: 0 auto; }

/* ---------- Legal document pages ---------- */

.pagehead { background: #fff; border-bottom: 1px solid var(--neutral-200); padding: 136px 0 64px; }
.pagehead h1 { font-family: var(--font-display); font-size: 44px; font-weight: 900; letter-spacing: -1.2px; margin: 0 0 12px; }
.pagehead p { font-size: 14px; color: var(--text-muted); margin: 0; }

.legal-body { background: var(--surface-variant); }
.layout { padding: 64px 0; }
.doc {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  padding: 56px 64px;
  box-shadow: var(--shadow-sm);
}
.doc h1 { display: none; } /* page title lives in the header band */
.doc h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin: 40px 0 16px;
  padding-top: 24px;
  border-top: 1px solid var(--neutral-100);
}
.doc h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.doc h3 { font-family: var(--font-display); font-size: 16px; font-weight: 700; margin: 28px 0 12px; }
.doc p { font-size: 15px; line-height: 1.75; color: var(--neutral-600); margin: 0 0 16px; }
.doc ul, .doc ol { padding-left: 24px; margin: 0 0 16px; }
.doc ol { list-style-type: lower-alpha; }
.doc li { font-size: 15px; line-height: 1.75; color: var(--neutral-600); margin-bottom: 8px; }
.doc strong { color: var(--ink); }
.doc hr { border: none; height: 1px; background: var(--neutral-200); margin: 40px 0; }
.doc table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 14px;
  border-radius: 8px;
  overflow: hidden;
}
.doc thead tr { background: var(--ink); color: #fff; }
.doc th { padding: 12px 16px; text-align: left; font-weight: 600; font-family: var(--font-ui); }
.doc td { padding: 12px 16px; border-bottom: 1px solid var(--neutral-200); color: var(--neutral-600); line-height: 1.6; }
.doc tbody tr:nth-child(odd) { background: var(--surface-variant); }
.doc tbody tr:nth-child(even) { background: #fff; }

/* ---------- Footer ---------- */

footer.site { background: #000; color: var(--neutral-400); padding: 48px 0; font-size: 13px; }
footer.site .social { display: flex; justify-content: center; gap: 20px; margin-bottom: 32px; }
footer.site .social a { color: var(--neutral-600); transition: color .2s; }
footer.site .social a:hover { color: var(--brand-light); }
footer.site .social svg { width: 20px; height: 20px; display: block; }
footer.site .row {
  border-top: 1px solid var(--neutral-800);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
footer.site .links { display: flex; gap: 24px; flex-wrap: wrap; }
footer.site a { color: var(--neutral-400); }
footer.site a:hover { color: var(--brand-light); }

/* ---------- Scroll reveal ---------- */

.fade-up { opacity: 0; transform: translateY(30px); transition: opacity .6s ease-out, transform .6s ease-out; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  .hero-phone { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .wrap { padding: 0 24px; }
  .hero .wrap { flex-direction: column; text-align: center; }
  .hero p.lede { margin-left: auto; margin-right: auto; }
  .hero .actions { justify-content: center; }
  .hero h1, .hero.center h1 { font-size: 40px; }
  .steps .grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .cats .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .protect .wrap { flex-direction: column; gap: 48px; }
  .protect .intro { max-width: none; }
  .refer .cards { grid-template-columns: minmax(0, 1fr); }
  .why .grid { grid-template-columns: minmax(0, 1fr); }
  .cta h2 { font-size: 32px; }
  .pagehead h1 { font-size: 32px; }
  .doc { padding: 32px 24px; }
}

@media (max-width: 640px) {
  nav.site .links { display: none; }
  #menu-btn { display: block; }
  .cats .grid { grid-template-columns: minmax(0, 1fr); }
  h2.sec { font-size: 28px; }
  .hero { padding-top: 128px; }
}
