/*
 * cognavis — index.css
 * Homepage-specific styles
 * Version 2.0 | September 2026
 *
 * Scope: styles that apply ONLY to index.html.
 * Shared tokens, nav, footer, buttons → global.css
 */

/* ─── HERO ───────────────────────────────────────────────────────────────── */
/*
 * The homepage hero differs from the shared .hero pattern: it leads with a
 * full-bleed illustration that fades into the dark background, followed by
 * centred copy. The shared .hero in global.css provides the dark background
 * and base padding — this file adds the illustration layer on top.
 */

.hero-illustration-wrap {
  width: 100%;
  overflow: hidden;
  /* Fade the bottom edge seamlessly into the dark hero background */
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
          mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}
.hero-illustration {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 1;
  max-height: 360px;
  object-fit: cover;
  object-position: center 40%;
}

/* Hero copy block — sits below the illustration */
.hero-content {
  padding: 56px 32px 72px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.hero-display {
  font-size: 48px;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--linen-light);
  max-width: 640px;
  margin: 0 auto 24px;
}
.hero-lead {
  font-size: 20px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.65;
  color: var(--rose);
  max-width: 540px;
  margin: 0 auto 48px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── PROMISE SECTION ────────────────────────────────────────────────────── */
.promise-h2 {
  font-size: 34px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--cocoa);
  margin-bottom: 16px;
}
.promise-lead {
  font-size: 22px;
  font-weight: 300;
  font-style: italic;
  color: var(--cocoa-60);
  line-height: 1.6;
  margin-bottom: 28px;
}
.promise-body {
  font-size: 18px;
  color: var(--cocoa-60);
  line-height: 1.85;
  margin-bottom: 20px;
}

/* ─── AUDIENCE STRIP ─────────────────────────────────────────────────────── */
.audience-strip { background: var(--linen); padding: 72px 32px; }
.audience-h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--cocoa);
  text-align: center;
  margin-bottom: 8px;
}
.audience-lead {
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  color: var(--cocoa-60);
  text-align: center;
  margin-bottom: 48px;
}
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.audience-card {
  background: var(--linen-light);
  border: 1px solid var(--cocoa-10);
  border-radius: var(--r);
  padding: 28px 32px;
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: box-shadow var(--t);
}
.audience-card:hover { box-shadow: 0 4px 20px rgba(26,9,5,.10); }
.audience-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cocoa-40);
  margin-bottom: 8px;
}
.audience-card-title { font-size: 20px; font-weight: 600; color: var(--cocoa); margin-bottom: 8px; }
.audience-card-body  { font-size: 16px; color: var(--cocoa-60); line-height: 1.7; }
.audience-card-link  {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--slate);
  text-transform: uppercase;
  margin-top: 16px;
  display: inline-block;
}

/* ─── ANCHORS SECTION ────────────────────────────────────────────────────── */
.anchors-section {
  background: var(--slate-bg);
  border-top: 1px solid var(--slate-light);
  border-bottom: 1px solid var(--slate-light);
}
.anchors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}
.anchor-card {
  background: var(--cloud);          /* token — never raw #fff */
  border: 1px solid var(--slate-light);
  border-radius: var(--r-lg);
  padding: 24px 24px 20px;
}
.anchor-num  { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate); margin-bottom: 6px; }
.anchor-icon { font-size: 22px; margin-bottom: 8px; }
.anchor-name { font-size: 17px; font-weight: 700; color: var(--cocoa); margin-bottom: 6px; }
.anchor-desc { font-size: 14px; color: var(--cocoa-60); line-height: 1.65; }

/* ─── BELIEFS TASTER ─────────────────────────────────────────────────────── */
.belief-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--cocoa-10);
}
.belief-item:last-child { border-bottom: none; }
/*
 * .belief-num on the homepage taster uses larger type (18px) for visual impact.
 * The beliefs.css version (13px) is the canonical style for the full beliefs page.
 * Defined separately here to avoid cascade conflicts.
 */
.belief-item .belief-num {
  font-size: 18px;
  font-weight: 700;
  color: var(--burgundy);
  min-width: 28px;
  line-height: 1.8;
}
.belief-text { font-size: 17px; color: var(--cocoa-60); line-height: 1.8; }

/* ─── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 680px) {
  .hero-display         { font-size: 30px; }
  .hero-content         { padding: 40px 20px 56px; }
  .hero-illustration    { aspect-ratio: 5/2; max-height: 240px; }
  .audience-grid        { grid-template-columns: 1fr; }
  .anchors-grid         { grid-template-columns: 1fr 1fr; }
  .promise-h2           { font-size: 26px; }
  .audience-strip       { padding: 56px 20px; }
}
@media (max-width: 460px) {
  .anchors-grid         { grid-template-columns: 1fr; }
}
