/* Kasvukumppanuus 1/7: sivun tokenit, tausta, tilastokaista ja osioiden perusosat */
  :root {
    --green: #1d8a4a;
    --green-50: #e8f7ee;
    --amber: #b7791f;
    --amber-50: #fff6e0;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  }

/* Page-tason ambient blobs */
body::before {
  content: "";
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none; z-index: 0;
  background:
    radial-gradient(circle 380px at 8% 18%, rgba(245,128,36,0.07) 0%, transparent 100%),
    radial-gradient(circle 460px at 94% 42%, rgba(216,35,205,0.08) 0%, transparent 100%),
    radial-gradient(circle 320px at 12% 75%, rgba(216,35,205,0.06) 0%, transparent 100%),
    radial-gradient(circle 400px at 90% 88%, rgba(245,128,36,0.06) 0%, transparent 100%);
}

/* Tummalla taustalla: vaalea muunnos */
.cta-final .ai-hi:hover,
.cta-final .ai-hi:focus-within { border-color: rgba(255,255,255,0.55); color: #fff; }
.cta-final .ai-hi-input::placeholder { color: rgba(255,255,255,0.6); }
.cta-final .ai-hi:hover .ai-hi-input,
.cta-final .ai-hi:focus-within .ai-hi-input { border-left-color: rgba(255,255,255,0.28); }
.cta-final .ai-hi-send:hover,
.cta-final .ai-hi-send:focus-visible { color: var(--pink-soft); }
.cta-final .ai-hi { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.25); color: #fff; }
.cta-final .ai-hi-label, .cta-final .ai-hi-input, .cta-final .ai-hi-send { color: #fff; }

/* =========================================================
   STATS STRIP: cinematic
   ========================================================= */
.stats-strip {
  background: #090e24;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 65% 180% at -8% 50%, rgba(245,128,36,0.28) 0%, transparent 52%),
    radial-gradient(ellipse 55% 180% at 108% 50%, rgba(216,35,205,0.24) 0%, transparent 52%),
    radial-gradient(ellipse 40% 60% at 50% 110%, rgba(230,70,68,0.18) 0%, transparent 55%);
  pointer-events: none;
}
.stats-strip::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--grad); opacity: 0.5;
}
.stats-strip .container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  display: flex; flex-direction: column; align-items: center;
  padding: 0 32px;
  border-right: 1px solid rgba(255,255,255,0.06);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-bar {
  width: 36px; height: 3px;
  background: var(--grad); border-radius: 999px;
  margin-bottom: 22px;
  box-shadow: 0 0 18px rgba(230,70,68,0.7), 0 0 6px rgba(245,128,36,0.5);
}
.stat-num {
  font-size: 60px; font-weight: 900;
  letter-spacing: -0.05em; line-height: 1;
  color: #fff; margin-bottom: 12px;
}
.stat-lbl {
  font-size: 11px; color: rgba(255,255,255,0.38);
  font-family: var(--mono); letter-spacing: 0.12em;
  text-transform: uppercase; text-align: center;
}
@media (max-width: 768px) {
  .stats-strip .container { grid-template-columns: repeat(2, 1fr); gap: 40px 0; padding: 0; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); padding: 32px; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.06); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .stats-strip { padding: 60px 0; }
}
@media (max-width: 480px) {
  .stats-strip .container { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; }
  .stat-num { font-size: 48px; }
}

/* =========================================================
   SHARED SECTION PRIMITIVES
   ========================================================= */
.block { padding: 96px 0; position: relative; }
.block.surface { background: var(--surface); }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px; border-radius: 999px;
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  background: var(--navy-50); color: var(--navy);
}
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--navy); }
.kicker.orange { background: var(--orange-50); color: var(--orange); }
.kicker.orange::before { background: var(--orange); }
.kicker.pink { background: var(--pink-50); color: var(--pink); }
.kicker.pink::before { background: var(--pink); }

.section-title {
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 900; letter-spacing: -0.03em; line-height: 1.1;
  margin: 16px 0 14px; max-width: 22ch;
}
.section-title .gr {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-lead {
  font-size: clamp(16px, 1.2vw, 18px);
  color: var(--text-muted); max-width: 640px; line-height: 1.6;
}

.block.alt { background: var(--surface); }
.section-head { margin-bottom: 48px; max-width: 880px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .section-title { margin-left: auto; margin-right: auto; max-width: 26ch; }
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }
.jk-grad-num { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: var(--grad);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    border-radius: 999px;
    box-shadow: 0 12px 28px -8px rgba(230, 70, 68, 0.55);
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px -8px rgba(230, 70, 68, 0.70);
  }
  .btn-primary svg { transition: transform 0.2s; }
  .btn-primary:hover svg { transform: translateX(3px); }

/* Ankkurilinkit: kiinteä yläpalkki ei peitä osion otsikkoa */
section[id], div[id] { scroll-margin-top: 96px; }
