/* Dataful Voices — static homepage. No build step, no auth, no API. */

:root {
  --primary: #9b0047;
  --primary-dark: #680030;
  --primary-light: #fdf2f8;
  --text-heading: #101828;
  --text-body: #344054;
  --text-secondary: #475467;
  --border: #eaecf0;
  --bg-section: #f9fafb;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background-color: #ffffff;
  color: var(--text-body);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  line-height: 1.25;
  color: var(--text-heading);
  margin: 0;
}

p { margin: 0; }

a { color: inherit; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
::selection { background: rgba(155, 0, 71, 0.12); color: #101828; }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-thumb { background: #d0d5dd; border-radius: 3px; }

/* ── Layout helpers ────────────────────────────────────────── */
.page { min-height: 100vh; display: flex; flex-direction: column; }
.container { max-width: 1280px; margin: 0 auto; position: relative; z-index: 1; }
main { flex: 1; }

section { padding: 80px 24px; scroll-margin-top: 64px; }
.section-alt { background-color: var(--bg-section); }
.border-t { border-top: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
.split-narrow { gap: 32px; align-items: stretch; }
.split-faq { align-items: start; grid-template-columns: 4fr 8fr; }
.stack { display: flex; flex-direction: column; gap: 24px; }

@media (max-width: 1024px) {
  .split, .split-faq { grid-template-columns: 1fr; gap: 32px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  section { padding: 56px 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ── Shared bits ───────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(24px, 3.5vw, 36px); margin-bottom: 16px; }
.section-head p { font-size: 16px; color: var(--text-secondary); max-width: 560px; margin: 0 auto; }

.card {
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(155, 0, 71, 0.08), 0 8px 16px rgba(0, 0, 0, 0.04);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(155, 0, 71, 0.25);
  transition: background-color 150ms;
}
.btn:hover { background-color: var(--primary-dark); }

.icon { display: inline-flex; vertical-align: middle; }

/* ── Navbar ────────────────────────────────────────────────── */
.nav {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand img { height: 22px; width: auto; display: block; }
.brand-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--primary);
  background-color: var(--primary-light);
  border: 1px solid rgba(155, 0, 71, 0.12);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-body); text-decoration: none; transition: color 150ms; }
.nav-links a:hover { color: var(--primary); }
@media (max-width: 760px) {
  .nav-inner { height: auto; padding: 12px 20px 8px; flex-wrap: wrap; row-gap: 8px; }
  .nav-links { width: 100%; gap: 20px; overflow-x: auto; white-space: nowrap; padding-bottom: 4px; }
}

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  background: radial-gradient(circle at 80% 20%, rgba(155, 0, 71, 0.06), transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(155, 0, 71, 0.02), transparent 40%);
}
.hero h1 { font-size: clamp(36px, 5vw, 54px); line-height: 1.15; margin-bottom: 20px; }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 18px; margin-bottom: 36px; max-width: 520px; }
.hero-art {
  width: 100%;
  max-width: 480px;
  border-radius: 20px;
  padding: 12px;
  background-color: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border);
}
.hero-art img, .framed img { width: 100%; height: auto; border-radius: 14px; display: block; }
.framed {
  width: 100%;
  border-radius: 16px;
  padding: 8px;
  background-color: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
}

/* ── About / stats ─────────────────────────────────────────── */
.about-card { border-radius: 20px; padding: 36px; }
.about-card h3 { font-size: 22px; }
.stat { display: flex; flex-direction: column; justify-content: center; padding: 20px 24px; }
.stat-value { font-size: 24px; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 13.5px; font-weight: 600; color: var(--text-heading); }
.stat-desc { font-size: 12px; color: var(--text-secondary); }

/* ── Steps ─────────────────────────────────────────────────── */
.step { border-radius: 18px; padding: 32px 28px; display: flex; flex-direction: column; gap: 16px; }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background-color: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.step-num { font-weight: 700; font-size: 13px; color: var(--primary); opacity: 0.6; }
.step h3 { font-size: 17px; font-weight: 600; }
.step p { font-size: 13.5px; line-height: 1.65; color: var(--text-secondary); }

/* ── Eligibility ───────────────────────────────────────────── */
.elig {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px; border-radius: 16px;
  background-color: var(--bg-section);
  border: 1px solid var(--border);
}
.elig .tick {
  background-color: #ffffff;
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(155, 0, 71, 0.05);
}
.elig p { font-size: 13.5px; line-height: 1.6; }

/* ── Benefits ──────────────────────────────────────────────── */
.benefit { display: flex; flex-direction: column; gap: 12px; }
.benefit-icon {
  width: 40px; height: 40px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.benefit h3 { font-size: 15px; font-weight: 600; }
.benefit p { font-size: 13.5px; line-height: 1.6; color: var(--text-secondary); }

/* ── Themes ────────────────────────────────────────────────── */
.themes-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 40px; flex-wrap: wrap;
}
.themes-head h2 { font-size: clamp(24px, 3.5vw, 36px); }
.theme-card {
  height: 100%; display: flex; flex-direction: column;
  border-radius: 14px; padding: 24px; gap: 16px;
  text-decoration: none;
}
.theme-card:hover { border-color: var(--theme-color, var(--primary)); box-shadow: 0 12px 28px var(--theme-tint, rgba(155, 0, 71, 0.08)); }
.theme-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background-color: var(--bg-section);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; transition: all 200ms ease;
}
.theme-card:hover .theme-icon { background-color: var(--theme-tint); border-color: var(--theme-border); }
.theme-card h3 { font-size: 16px; font-weight: 600; line-height: 1.3; }
.theme-card p { font-size: 13px; line-height: 1.7; color: var(--text-secondary); flex: 1; }
.theme-explore {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 600; color: var(--theme-color, var(--primary));
}
.theme-card:hover .theme-explore .icon { transform: translateX(4px); }
.theme-explore .icon { transition: transform 150ms; }

/* ── Deliverables ──────────────────────────────────────────── */
.week-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.week-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: 999px; cursor: pointer;
  background: #ffffff; border: 1px solid var(--border);
  font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 600; color: var(--text-body);
  transition: all 150ms;
}
.week-tab span { font-size: 12px; font-weight: 600; color: var(--text-secondary); background: var(--bg-section); border-radius: 999px; padding: 0 8px; }
.week-tab:hover { border-color: var(--primary); color: var(--primary); }
.week-tab[aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: #ffffff; }
.week-tab[aria-selected="true"] span { background: rgba(255, 255, 255, 0.2); color: #ffffff; }

.deliv-grid { gap: 20px; }
.deliv { padding: 0; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; }
.deliv-thumb {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--primary-light); border-bottom: 1px solid var(--border);
}
.deliv-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.deliv-type {
  position: absolute; top: 10px; left: 10px;
  padding: 2px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.95); color: var(--primary);
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}
.deliv-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.deliv-body h3 { font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.deliv-who { font-size: 13px; color: var(--text-secondary); }
.deliv-open {
  margin-top: auto; padding-top: 10px;
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12.5px; font-weight: 600; color: var(--primary);
}

/* ── Testimonials ──────────────────────────────────────────── */
.testimonials { columns: 3; column-gap: 24px; }
.testimonial {
  break-inside: avoid;
  margin: 0 0 24px;
  display: flex; flex-direction: column; gap: 16px;
  padding: 28px;
}
.testimonial-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background-color: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.testimonial blockquote { margin: 0; font-size: 14.5px; line-height: 1.75; color: var(--text-body); }
.testimonial figcaption {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background-color: var(--primary-light); color: var(--primary);
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 15px;
  object-fit: cover; border: 1px solid var(--border);
}
.testimonial-who { display: flex; flex-direction: column; min-width: 0; }
.testimonial-who b { font-size: 14px; font-weight: 600; color: var(--text-heading); }
.testimonial-who span { font-size: 12.5px; line-height: 1.5; color: var(--text-secondary); }
@media (max-width: 1024px) { .testimonials { columns: 2; } }
@media (max-width: 640px) { .testimonials { columns: 1; } }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background-color: #ffffff;
  transition: all 200ms ease;
}
.faq[data-open="true"] { border-color: var(--primary); box-shadow: 0 8px 24px rgba(155, 0, 71, 0.04); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; text-align: left;
  background: transparent; border: none; cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 600; font-size: 15px; color: var(--text-heading);
}
.faq-q .icon { color: var(--primary); flex-shrink: 0; transition: transform 200ms ease; }
.faq[data-open="true"] .faq-q .icon { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 250ms cubic-bezier(0.4, 0, 0.2, 1); }
.faq[data-open="true"] .faq-a { max-height: 400px; }
.faq-a > div { padding: 16px 24px 20px; border-top: 1px solid var(--border); }
.faq-a p { font-size: 14px; line-height: 1.7; }
.faq-help {
  background-color: var(--primary-light);
  border-radius: 16px; padding: 24px;
  border: 1px solid rgba(155, 0, 71, 0.1);
  margin-top: 8px;
}
.faq-help h4 { color: var(--primary); font-size: 15px; margin-bottom: 8px; }
.faq-help p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 8px; box-shadow: 0 4px 10px rgba(155, 0, 71, 0.2); }

/* ── Footer ────────────────────────────────────────────────── */
.footer { background-color: #ffffff; border-top: 1px solid var(--border); padding: 64px 24px 48px; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
  margin-bottom: 48px;
}
.footer h4 {
  font-family: 'Inter', sans-serif;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--text-heading); margin-bottom: 20px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer a { font-size: 14px; color: #667085; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; transition: color 200ms ease; }
.footer a:hover { color: var(--primary); }
.footer-tagline { font-size: 14.5px; color: #667085; line-height: 1.6; max-width: 260px; }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 32px;
  font-size: 13px; color: #667085;
}

/* ── Motion ────────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.4s ease-out both; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover { transform: none; }
  * { animation-duration: 0.01ms !important; }
}
