/* About page — page-specific styles only. Shared styles live in styles.css. */

/* ── Hero ──────────────────────────────────────────────────── */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
  position: relative;
}

/* ── Signal panel (hero right card) ───────────────────────── */
.signal-panel {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border-hi);
  border-radius: var(--r-lg);
  padding: 30px;
  box-shadow: var(--shadow-card), var(--glow-gold);
  position: relative;
  overflow: hidden;
}
.signal-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad-gold);
}
.signal-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.signal-panel-title {
  font-size: .72rem;
  font-weight: 700;
  color: var(--text-dim);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.signal-panel-live {
  font-size: .72rem;
  color: var(--gold-text);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.signal-panel-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 1.6s infinite;
}

/* Stat grid — 3 tiles in a row */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.stat-tile {
  padding: 18px 12px;
  text-align: center;
  background: var(--surface-3);
  border-right: 1px solid var(--border);
}
.stat-tile:last-child { border-right: none; }
.stat-num {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-variant-numeric: tabular-nums;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 7px;
}
.stat-num.gold { color: var(--gold-text); }
.stat-num.cyan { color: var(--cyan); }
[data-theme="light"] .stat-num.cyan { color: var(--blue); }
.stat-label {
  font-size: .74rem;
  color: var(--text-dim);
  font-weight: 500;
  line-height: 1.35;
}

/* Voice note at bottom of signal panel */
.voice-note {
  padding: 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--tint-cyan-line);
  background: var(--tint-cyan);
}
.voice-note strong {
  display: block;
  color: var(--cyan);
  font-size: .86rem;
  margin-bottom: 5px;
  font-family: "Sora", sans-serif;
}
[data-theme="light"] .voice-note strong { color: var(--blue); }
.voice-note span {
  display: block;
  color: var(--text-dim);
  font-size: .82rem;
  line-height: 1.5;
}

/* ── Problem section ───────────────────────────────────────── */
.about-problem {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
  padding: 84px 0;
}
.pull-quote {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-family: "Sora", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text);
  max-width: 760px;
  margin: 16px 0 36px;
}
.pull-quote .accent {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-theme="light"] .pull-quote .accent {
  background: linear-gradient(135deg, #B07100 0%, #7A4B00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Application funnel */
[data-theme="light"] .funnel-track { background: rgba(0, 0, 0, 0.09); }

.funnel { display: flex; flex-direction: column; gap: 14px; margin: 36px 0; }
.funnel-row { display: flex; align-items: center; gap: 16px; }
.funnel-label {
  flex: 0 0 230px;
  font-size: .85rem;
  color: var(--text-mid);
  font-weight: 500;
}
.funnel-track {
  flex: 1;
  height: 8px;
  background: var(--surface-3);
  border-radius: 999px;
  overflow: hidden;
}
.funnel-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--grad-gold);
}
.fw-100 { width: 100%; }
.fw-22  { width: 22%; }
.fw-10  { width: 10%; }
.fw-4   { width: 4%; }
.funnel-num {
  flex: 0 0 36px;
  text-align: right;
  font-family: "JetBrains Mono", monospace;
  font-variant-numeric: tabular-nums;
  font-size: .85rem;
  font-weight: 700;
  color: var(--text);
}

/* Story prose card */
.story-card {
  max-width: 820px;
  background: var(--surface);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: var(--shadow-soft);
  margin-top: 40px;
}
.story-card p {
  color: var(--text-dim);
  font-size: .98rem;
  line-height: 1.82;
  margin-bottom: 18px;
}
.story-card p:last-child { margin-bottom: 0; }

/* ── Pipeline section (reuses .trio + .trio-card from styles.css) ── */
.about-pipeline { padding: 84px 0; }

/* Step number badge — replaces .trio-ico for numbered steps */
.step-badge {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--tint-cyan);
  border: 1px solid var(--tint-cyan-line);
  color: var(--cyan);
  font-family: "JetBrains Mono", monospace;
  font-size: .86rem;
  font-weight: 700;
  margin-bottom: 18px;
}
[data-theme="light"] .step-badge { color: var(--blue); }

/* ── Principles section ────────────────────────────────────── */
.about-principles {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
  padding: 84px 0;
}
.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.principle-card {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 24px 24px 24px 28px;
  border-left: 3px solid transparent;
  transition: box-shadow .2s, transform .2s;
}
.principle-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.principle-card.cyan-accent { border-left-color: var(--cyan); }
.principle-card.gold-accent { border-left-color: var(--gold); }
[data-theme="light"] .principle-card.cyan-accent { border-left-color: var(--blue); }
.principle-card h3 { font-size: 1.05rem; margin-bottom: 9px; }
.principle-card p { font-size: .9rem; color: var(--text-dim); line-height: 1.62; }

/* ── Company section ───────────────────────────────────────── */
.about-company { padding: 84px 0; }
.company-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}
.company-copy h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 16px; }
.company-copy p {
  color: var(--text-dim);
  font-size: .98rem;
  line-height: 1.75;
  margin-bottom: 16px;
}
.company-copy p:last-child { margin-bottom: 0; }
.detail-stack { display: flex; flex-direction: column; gap: 12px; }
.detail-tile {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 14px 16px;
}
.detail-tile-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-faint);
  margin-bottom: 5px;
  font-family: "Sora", sans-serif;
}
.detail-tile-value {
  color: var(--text);
  font-size: .9rem;
  font-weight: 600;
}
.detail-tile-value a { color: var(--cyan); transition: color .18s; }
.detail-tile-value a:hover { color: var(--text); }
[data-theme="light"] .detail-tile-value a { color: var(--blue); }

/* ── Final CTA (reuses .cta-panel + .cta-actions from styles.css) ── */
.about-cta { padding: 60px 0 110px; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1040px) {
  .about-hero-grid { grid-template-columns: 1fr 380px; gap: 44px; }
}

@media (max-width: 900px) {
  .about-hero-grid { grid-template-columns: 1fr; }
  .signal-panel { max-width: 520px; }
  .company-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .about-problem,
  .about-pipeline,
  .about-principles,
  .about-company { padding: 60px 0; }
  .principle-grid { grid-template-columns: 1fr; }
  .funnel-label { flex: 0 0 140px; font-size: .78rem; }
  .story-card { padding: 24px 20px; }
  .pull-quote { font-size: 1.45rem; }
}
