/* ============================================================
   index_new.html — scoped styles for the redesigned homepage.
   Loaded AFTER site.css. New class names only, no global overrides.
   Reuses :root tokens defined in site.css.
   ============================================================ */

/* ---------- Problem statement ---------- */
.problem-statement {
  background: var(--bg-primary);
  position: relative; overflow: hidden;
}
.problem-statement::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(0,225,117,0.05), transparent 60%);
}
.problem-grid {
  display: grid;
  grid-template-columns: 0.9fr 2.1fr;
  gap: 32px;
  align-items: start;
}
.problem-label-col { padding-top: 12px; }
.problem-title {
  font-family: var(--font);
  font-size: 52px; font-weight: 800; line-height: 1.12; letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0 0 28px;
  max-width: 16ch;
}
.problem-title .muted { color: var(--text-tertiary); }
.problem-sub {
  font-size: 18px; line-height: 1.7; color: var(--text-secondary);
  max-width: 56ch; margin: 0;
}

/* ---------- Approach rows (01 / 02 / 03) ---------- */
.approach-rows { background: var(--bg-primary); }
.approach-row {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr 1.6fr;
  gap: 32px;
  align-items: start;
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.approach-row:last-child { border-bottom: 1px solid var(--border); }
.approach-kicker {
  display: flex; flex-direction: column; gap: 2px;
  font-family: var(--font);
  font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-tertiary);
}
.approach-index { font-weight: 700; }
.approach-stage { color: var(--text-tertiary); }
.approach-title {
  font-family: var(--font);
  font-size: 26px; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 0; max-width: 14ch;
}
.approach-detail p {
  font-size: 16px; line-height: 1.65; color: var(--text-secondary);
  margin: 0 0 14px;
}
.approach-link {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--accent-3);
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.approach-link:hover { opacity: 0.75; }

/* ---------- Result stat (big number) ---------- */
.result-stat {
  text-align: center;
  background: var(--bg-secondary);
  position: relative; overflow: hidden;
  padding: 120px 0;
}
.result-stat::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 500px at 50% 50%, rgba(0,225,117,0.07), transparent 65%);
}
.result-stat-label { margin-bottom: 8px; }
.result-stat-number {
  font-family: var(--font);
  font-size: clamp(120px, 22vw, 300px);
  font-weight: 800; line-height: 0.9; letter-spacing: -0.03em;
  color: var(--text-primary);
  position: relative; z-index: 1;
}
.result-stat-pct {
  color: var(--accent-3);
  font-size: 0.4em;
  vertical-align: super;
}
.result-stat-caption {
  font-size: 18px; line-height: 1.65; color: var(--text-secondary);
  max-width: 48ch; margin: 24px auto 20px;
  position: relative; z-index: 1;
}
.result-stat-link { position: relative; z-index: 1; }

/* ---------- Single testimonial ---------- */
.testimonial-single { background: var(--bg-primary); position: relative; overflow: hidden; }
.testimonial-single::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(800px 500px at 90% 110%, rgba(29,185,140,0.05), transparent 60%);
}
.testimonial-single-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.testimonial-single-mark {
  font-family: Georgia, serif;
  font-size: 64px; line-height: 0.6;
  color: var(--accent-3);
  margin-bottom: 18px;
}
.testimonial-single-quote {
  font-family: var(--font);
  font-size: 34px; font-weight: 700; line-height: 1.25; letter-spacing: -0.015em;
  color: var(--text-primary);
  margin: 0 0 24px; max-width: 22ch;
  border: 0; padding: 0;
}
.testimonial-single-author {
  display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap;
}
.testimonial-single-name { font-weight: 700; color: var(--text-primary); font-size: 15px; }
.testimonial-single-role { color: var(--text-tertiary); font-size: 14px; }
.testimonial-single-photo {
  width: 200px; height: 200px; border-radius: 50%; overflow: hidden;
  margin-left: auto;
  border: 1px solid var(--border);
}
.testimonial-single-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .problem-grid { grid-template-columns: 1fr; gap: 16px; }
  .problem-label-col { padding-top: 0; }
  .problem-title { font-size: 36px; max-width: none; }

  .approach-row { grid-template-columns: 1fr; gap: 14px; padding: 32px 0; }
  .approach-title { max-width: none; }

  .result-stat { padding: 80px 0; }

  .testimonial-single-grid { grid-template-columns: 1fr; gap: 28px; text-align: left; }
  .testimonial-single-quote { font-size: 26px; max-width: none; }
  .testimonial-single-photo {
    width: 120px; height: 120px; margin-left: 0; order: -1;
  }
}
