/* ai-insights.css — the AI Insights index.
 *
 * NEW in the Webflow → Eleventy migration. The live /ai-insights page was an
 * unfinished Webflow template built from Webflow's own starter classes
 * (hero-heading-right, features-metrics), carrying a stock placeholder SVG and
 * four metric blocks all labelled "Metric description". It had no header and
 * no footer. See docs/PRODUCTION-CAPTURE-2026-08-18.md §7.
 *
 * Rebuilt against the AgentReady design system, reusing the .page-hero /
 * .page-label / .grad / .page-hero-lead pattern already used by about, faq,
 * pricing, privacy and terms — values copied verbatim from about.css so the
 * page reads as part of the same site.
 */

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.page-hero {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 72px 24px 64px;
}

.page-hero-inner {
  max-width: 860px;
  margin: 0 auto;
}

.page-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent2);
  margin-bottom: 14px;
}

.page-hero h1 {
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
}

.grad {
  background: linear-gradient(135deg, var(--accent2) 0%, #a78bfa 50%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero-lead {
  font-size: 18px;
  color: var(--text2);
  line-height: 1.7;
  max-width: 680px;
}

/* ── Content ───────────────────────────────────────────────────────────── */
.content-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

.section-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent2);
  margin-bottom: 12px;
}

.section-h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.2;
}

.body-text {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.75;
  margin-bottom: 18px;
}

/* ── Article cards ─────────────────────────────────────────────────────── */
.insight-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}

.insight-card {
  display: block;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r2);
  padding: 26px 24px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.insight-card:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -14px rgba(17, 24, 39, 0.28);
}

.insight-cat {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent2);
  margin-bottom: 10px;
}

.insight-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.insight-desc {
  font-size: 14.5px;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 14px;
}

.insight-more {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--accent2);
}

/* ── Closing CTA ───────────────────────────────────────────────────────── */
.cta-block {
  margin-top: 56px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r3);
  padding: 40px 32px;
  text-align: center;
}

.cta-block h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.25;
}

.cta-block p {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 24px;
}

.cta-btn {
  display: inline-block;
  background: var(--accent-g);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: var(--r2);
  text-decoration: none;
  transition: opacity 0.15s;
}

.cta-btn:hover {
  opacity: 0.88;
}

@media (min-width: 720px) {
  .insight-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .insight-card:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 48px 16px 40px;
  }
  .content-wrap {
    padding: 40px 16px 56px;
  }
  .cta-block {
    padding: 32px 20px;
  }
}
