/* ============================================================
   homepage.css — ClaimTalk homepage redesign
   Applies slide visual language to homepage sections.
   Uses hp-* prefix throughout. Does not touch style.css.
   ============================================================ */

/* ── SCROLL ANIMATION ── */
.hp-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hp-reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.hp-reveal-d1 { transition-delay: 0.08s; }
.hp-reveal-d2 { transition-delay: 0.18s; }
.hp-reveal-d3 { transition-delay: 0.28s; }
.hp-reveal-d4 { transition-delay: 0.38s; }

/* ── SECTION SHARED ── */
.hp-kicker {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-a);
  margin-bottom: 16px;
  display: block;
}
.hp-kicker-light {
  color: rgba(255,255,255,0.45);
}

/* ============================================================
   SECTION 1 — HERO
   Dark full-screen. Left: headline + CTA. Right: stage card.
   ============================================================ */
.hp-hero {
  background: var(--dark);
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(30,122,80,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(13,61,40,0.4) 0%, transparent 60%);
  padding-top: 90px;
  min-height: calc(100vh - 90px);
  display: flex;
  flex-direction: column;
}

.hp-hero-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
  padding: 80px 10vw 80px;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

.hp-hero-left {
  display: flex;
  flex-direction: column;
}

.hp-hero-h1 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(52px, 6.5vw, 88px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}
.hp-hero-h1 em {
  font-style: italic;
  color: var(--green-a);
  font-weight: 400;
}

.hp-hero-sub {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  color: rgba(255,255,255,0.48);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 52px;
  border-left: 2px solid rgba(30,122,80,0.35);
  padding-left: 20px;
}

.hp-hero-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hp-hero-trust {
  margin-top: 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.04em;
}

.hp-btn-primary {
  background: var(--green-a);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 16px 32px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
}
.hp-btn-primary:hover {
  background: #238f5d;
  transform: translateY(-1px);
}

/* Stage selector card */
.hp-stage-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.24), 0 4px 16px rgba(0,0,0,0.12);
}
.hp-stage-card-h {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
  line-height: 1.25;
}
.hp-stage-card-sub {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.5;
}
.hp-stage-list {
  list-style: none;
}
.hp-stage-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 14px 10px;
  margin: 0 -10px;
  width: calc(100% + 20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  color: var(--body);
  font-weight: 400;
  border-bottom: 1px solid var(--border);
  text-align: left;
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s, box-shadow 0.15s, transform 0.1s;
  line-height: 1.4;
  outline: none;
}
.hp-stage-list li:last-child .hp-stage-btn {
  border-bottom: none;
}

/* Hover — elevation + background tint */
.hp-stage-btn:hover {
  color: var(--ink);
  background: rgba(30,122,80,0.05);
  box-shadow: 0 2px 8px rgba(13,61,40,0.08);
  transform: translateX(2px);
}
.hp-stage-btn:hover .hp-stage-arr {
  opacity: 1;
  color: var(--green-a);
  transform: translateX(2px);
}

/* Active — brief press feedback */
.hp-stage-btn:active {
  background: rgba(30,122,80,0.1);
  transform: translateX(2px) scale(0.99);
  box-shadow: none;
  transition-duration: 0.06s;
}

/* Focus-visible — clear keyboard outline */
.hp-stage-btn:focus-visible {
  background: rgba(30,122,80,0.05);
  box-shadow: 0 0 0 2px var(--green-a);
  color: var(--ink);
}

.hp-stage-arr {
  font-size: 14px;
  color: var(--ink);
  opacity: 0.25;
  flex-shrink: 0;
  transition: opacity 0.15s, color 0.15s, transform 0.15s;
  font-style: normal;
  line-height: 1;
}
.hp-stage-arr::after {
  content: '→';
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

/* Scroll cue */
.hp-scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 0;
  opacity: 0.3;
}
.hp-scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.4);
}
.hp-scroll-text {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ============================================================
   SECTION 2 — INSIGHTS
   Cream. 4 numbered facts. Big, clear, minimal.
   ============================================================ */
.hp-insights {
  background: var(--cream);
  padding: 100px 10vw;
  border-top: 1px solid var(--border);
}

.hp-insights-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 64px;
}

.hp-insights-h {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 560px;
}

.hp-insights-intro {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 360px;
  flex-shrink: 0;
}

.hp-insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
}

.hp-insight-item {
  background: var(--white);
  padding: 48px 44px;
  position: relative;
  overflow: hidden;
}

.hp-insight-num {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 88px;
  font-weight: 700;
  color: rgba(13,61,40,0.07);
  line-height: 1;
  position: absolute;
  top: 24px;
  right: 32px;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
}

.hp-insight-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  max-width: 380px;
}

.hp-insight-body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  color: var(--body);
  line-height: 1.75;
  max-width: 400px;
}

/* ============================================================
   SECTION 3 — TOOLS
   White. Big heading. 3×2 grid.
   ============================================================ */
.hp-tools {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.hp-tools-header {
  padding: 80px 10vw 56px;
}

.hp-tools-h {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 680px;
}

.hp-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}

.hp-tool-card {
  background: var(--cream);
  padding: 48px 44px;
  cursor: pointer;
  border: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.2s, box-shadow 0.2s;
  position: relative;
}
.hp-tool-card:hover {
  background: var(--white);
  box-shadow: 0 6px 32px rgba(0,0,0,0.08);
  z-index: 1;
}
.hp-tool-card.featured {
  background: var(--white);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.hp-tool-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green-a);
}

.hp-tool-ico {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(13,61,40,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hp-tool-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.hp-tool-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  color: var(--body);
  line-height: 1.7;
  flex: 1;
}

.hp-tool-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-a);
  margin-top: 8px;
}
.hp-tool-card:hover .hp-tool-link {
  text-decoration: underline;
}

/* ============================================================
   SECTION 4 — AWARENESS
   Dark green. Slide-style contrast. 4 items.
   ============================================================ */
.hp-awareness {
  background: var(--green);
  padding: 100px 10vw;
}

.hp-awareness-header {
  margin-bottom: 64px;
}

.hp-awareness-h {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 700px;
}
.hp-awareness-h em {
  font-style: italic;
  color: rgba(255,255,255,0.45);
  font-weight: 400;
}

.hp-awareness-sub {
  margin-top: 20px;
  font-size: 16px;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 480px;
}

.hp-awareness-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.07);
}

.hp-awareness-item {
  background: var(--green);
  padding: 48px 44px;
  transition: background 0.2s;
}
.hp-awareness-item:hover {
  background: rgba(255,255,255,0.04);
}

.hp-aw-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.hp-aw-body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
}

/* ============================================================
   SECTION 5 — PROBLEMS BAND
   Narrow. Mid-claim callout. Links to something-wrong.
   ============================================================ */
.hp-problems {
  background: var(--cream-dk, #E9E6DE);
  padding: 60px 10vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
}

.hp-problems-left {}

.hp-problems-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  display: block;
}

.hp-problems-h {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hp-problems-body {
  font-size: 15px;
  color: var(--body);
  line-height: 1.65;
  max-width: 560px;
}

.hp-problems-btn {
  background: var(--ink);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 16px 30px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.01em;
}
.hp-problems-btn:hover {
  background: var(--green);
  transform: translateY(-1px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .hp-hero-body {
    grid-template-columns: 1fr 380px;
    gap: 56px;
  }
}

@media (max-width: 960px) {
  .hp-hero-body {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 56px 6vw 56px;
  }
  .hp-stage-card { position: static; }
  .hp-insights-header { flex-direction: column; align-items: flex-start; }
  .hp-insights-grid { grid-template-columns: 1fr; }
  .hp-tools-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-awareness-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hp-tools-grid { grid-template-columns: 1fr; }
  .hp-hero-h1 { font-size: 48px; }
  .hp-insights { padding: 64px 6vw; }
  .hp-tools-header { padding: 64px 6vw 40px; }
  .hp-awareness { padding: 64px 6vw; }
  .hp-problems { padding: 48px 6vw; }
  .hp-insight-item { padding: 36px 28px; }
  .hp-tool-card { padding: 36px 28px; }
  .hp-awareness-item { padding: 36px 28px; }
}
