/* ==========================================================================
   InvestGame Introduction Page — Editorial, Product Showcase & SEO Layout
   Extends static/landing/landing.css Black & White Design System
   ========================================================================== */

.intro-main {
  padding-bottom: 4rem;
}

/* ==========================================================================
   Hero Showcase & Key Takeaways (TL;DR)
   ========================================================================== */

.intro-hero {
  padding: clamp(2.75rem, 5vw, 4.25rem) 0 2.5rem 0;
  text-align: center;
  max-width: 1080px;
  margin: 0 auto;
}

.intro-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--bw-text-muted);
  margin-bottom: 1.25rem;
}

.intro-breadcrumb a {
  color: var(--bw-text-secondary);
  text-decoration: none;
  transition: color 0.18s ease;
}

.intro-breadcrumb a:hover {
  color: var(--bw-black);
  text-decoration: underline;
}

.intro-hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 3.85rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.09;
  color: var(--bw-black);
  margin-bottom: 1.25rem;
  text-wrap: balance;
}

.intro-hero-lead {
  font-size: clamp(1.05rem, 1.9vw, 1.24rem);
  color: var(--bw-text-secondary);
  line-height: 1.68;
  max-width: 820px;
  margin: 0 auto 2rem auto;
  font-weight: 500;
  text-wrap: pretty;
}

.intro-hero-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1.75rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--bw-text-muted);
}

.intro-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.intro-hero-meta i {
  color: var(--bw-black);
}

/* Metrics Strip */
.intro-metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.25rem 0 2.5rem 0;
}

.intro-metric-box {
  background: var(--bw-white);
  border: 1.5px solid var(--bw-border-dark);
  border-radius: var(--bw-radius-lg);
  padding: 1.25rem 1.15rem;
  text-align: left;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.intro-metric-box:hover {
  transform: translateY(-3px);
  box-shadow: 4px 4px 0px var(--bw-black);
}

.intro-metric-value {
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--bw-black);
  line-height: 1.15;
  margin-bottom: 0.25rem;
}

.intro-metric-label {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bw-text-muted);
  margin-bottom: 0.35rem;
}

.intro-metric-sub {
  font-size: 0.84rem;
  color: var(--bw-text-secondary);
  line-height: 1.45;
  margin: 0;
}

/* Showcase Figure Frame */
.intro-figure {
  background: var(--bw-bg-alt);
  border: 2px solid var(--bw-black);
  border-radius: var(--bw-radius-xl);
  overflow: hidden;
  box-shadow: 6px 6px 0px var(--bw-black);
  margin: 2rem 0 2.5rem 0;
}

.intro-figure-media {
  position: relative;
  background: #ffffff;
  border-bottom: 1.5px solid var(--bw-border);
  overflow: hidden;
}

.intro-figure-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.intro-figure-caption {
  padding: 1rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.86rem;
  color: var(--bw-text-secondary);
  line-height: 1.5;
  text-align: left;
}

.intro-figure-caption strong {
  color: var(--bw-black);
  font-weight: 800;
}

.intro-figure-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.28rem 0.7rem;
  border-radius: var(--bw-radius-full);
  background: var(--bw-white);
  border: 1px solid var(--bw-border-dark);
  color: var(--bw-black);
  flex-shrink: 0;
}

/* TL;DR Executive Summary Box */
.intro-tldr-box {
  background: #09090b;
  color: #f4f4f5;
  border: 2px solid #09090b;
  border-radius: var(--bw-radius-xl);
  padding: 2rem 2.25rem;
  margin: 0 0 3rem 0;
  text-align: left;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.intro-tldr-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid #27272a;
}

.intro-tldr-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #ffffff;
  color: #09090b;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.3rem 0.8rem;
  border-radius: var(--bw-radius-full);
}

.intro-tldr-header h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0;
}

.intro-tldr-summary {
  font-size: 1rem;
  color: #d4d4d8;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.intro-tldr-summary strong {
  color: #ffffff;
}

.intro-tldr-points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.5rem;
  margin: 0;
  padding: 0;
}

.intro-tldr-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #e4e4e7;
}

.intro-tldr-points li i {
  color: #22c55e;
  margin-top: 0.22rem;
  flex-shrink: 0;
}

.intro-tldr-points li strong {
  color: #ffffff;
}

/* ==========================================================================
   Chapter Sections & Two-Column Editorial Split
   ========================================================================== */

.intro-chapter {
  padding: 3.75rem 0;
  border-top: 1px solid var(--bw-border);
  scroll-margin-top: 5.5rem;
}

.intro-chapter-header {
  max-width: 780px;
  margin: 0 auto 2.5rem auto;
  text-align: center;
}

.intro-chapter-header.is-left {
  margin-left: 0;
  text-align: left;
}

.intro-chapter-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--bw-black);
  background: var(--bw-bg-subtle);
  border: 1px solid var(--bw-border-dark);
  padding: 0.28rem 0.8rem;
  border-radius: var(--bw-radius-full);
  margin-bottom: 0.85rem;
}

.intro-chapter-header h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--bw-black);
  margin-bottom: 0.75rem;
}

.intro-chapter-header p {
  font-size: 1.06rem;
  color: var(--bw-text-secondary);
  line-height: 1.65;
  margin: 0;
}

.intro-prose {
  max-width: 880px;
  margin: 0 auto 2rem auto;
}

.intro-prose p {
  font-size: 1.03rem;
  color: var(--bw-text-secondary);
  line-height: 1.75;
  margin-bottom: 1.15rem;
}

.intro-prose p strong {
  color: var(--bw-black);
  font-weight: 700;
}

.intro-prose a {
  color: var(--bw-black);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Split Media + Copy Layout */
.intro-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2.25rem;
  align-items: center;
  margin-top: 1.5rem;
}

.intro-split.is-reversed .intro-split-media {
  order: -1;
}

.intro-split-copy h3 {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--bw-black);
  margin-bottom: 0.85rem;
}

.intro-split-copy p {
  font-size: 0.98rem;
  color: var(--bw-text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.intro-split-copy p strong {
  color: var(--bw-black);
}

.intro-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 1.25rem 0 0 0;
  padding: 0;
}

.intro-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.94rem;
  color: var(--bw-text-secondary);
  line-height: 1.55;
}

.intro-checklist li i {
  color: var(--bw-black);
  margin-top: 0.24rem;
  flex-shrink: 0;
}

.intro-checklist li strong {
  color: var(--bw-black);
}

.intro-split-media .intro-figure {
  margin: 0;
}

/* ==========================================================================
   Asset Universe Cards & Ticker Pills
   ========================================================================== */

.intro-asset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.intro-asset-card {
  background: var(--bw-white);
  border: 1.5px solid var(--bw-border-dark);
  border-radius: var(--bw-radius-xl);
  padding: 1.85rem 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.intro-asset-card:hover {
  transform: translateY(-4px);
  box-shadow: 5px 5px 0px var(--bw-black);
}

.intro-asset-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.intro-asset-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--bw-radius-md);
  background: var(--bw-black);
  color: var(--bw-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.intro-asset-count {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.28rem 0.75rem;
  border-radius: var(--bw-radius-full);
  background: var(--bw-bg-subtle);
  border: 1px solid var(--bw-border);
  color: var(--bw-black);
}

.intro-asset-card h3 {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--bw-black);
  margin: 0;
}

.intro-asset-card p {
  font-size: 0.94rem;
  color: var(--bw-text-secondary);
  line-height: 1.6;
  margin: 0;
}

.intro-ticker-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--bw-border);
}

.intro-ticker-pill {
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0.24rem 0.6rem;
  border-radius: 6px;
  background: var(--bw-bg-alt);
  border: 1px solid var(--bw-border);
  color: var(--bw-black);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

a.intro-ticker-pill:hover {
  background: var(--bw-black);
  color: var(--bw-white);
  border-color: var(--bw-black);
}

/* ==========================================================================
   Structured Comparison & Specification Tables (High SEO / AI Extractability)
   ========================================================================== */

.intro-table-wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--bw-white);
  border: 1.5px solid var(--bw-border-dark);
  border-radius: var(--bw-radius-xl);
  box-shadow: 4px 4px 0px var(--bw-black);
  margin: 2rem 0;
}

.intro-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.93rem;
}

.intro-table caption {
  padding: 1rem 1.35rem;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--bw-black);
  background: var(--bw-bg-alt);
  border-bottom: 1.5px solid var(--bw-border);
}

.intro-table thead th {
  padding: 0.95rem 1.25rem;
  background: #09090b;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.intro-table tbody td {
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid var(--bw-border);
  color: var(--bw-text-secondary);
  vertical-align: top;
  line-height: 1.55;
}

.intro-table tbody tr:last-child td {
  border-bottom: none;
}

.intro-table tbody tr:nth-child(even) {
  background: #fafafa;
}

.intro-table tbody td:first-child {
  font-weight: 800;
  color: var(--bw-black);
}

.intro-table-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--bw-radius-full);
  font-size: 0.76rem;
  font-weight: 800;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.intro-table-badge.is-neutral {
  background: var(--bw-bg-subtle);
  color: var(--bw-black);
  border-color: var(--bw-border);
}

/* ==========================================================================
   Education Suite Spotlight Panel
   ========================================================================== */

.intro-edu-spotlight {
  background: linear-gradient(165deg, #082f49 0%, #0a3c4a 100%);
  color: #f0fdfa;
  border: 2px solid #082f49;
  border-radius: var(--bw-radius-xl);
  padding: 2.5rem;
  box-shadow: 0 16px 36px rgba(8, 47, 73, 0.16);
}

.intro-edu-spotlight .intro-chapter-kicker {
  background: rgba(20, 184, 166, 0.18);
  color: #5eead4;
  border-color: rgba(45, 212, 191, 0.45);
}

.intro-edu-spotlight h3 {
  color: #ffffff;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.intro-edu-spotlight p {
  color: #ccfbf1;
  line-height: 1.65;
}

.intro-edu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 1.75rem;
}

.intro-edu-feature {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(45, 212, 191, 0.28);
  border-radius: var(--bw-radius-md);
  padding: 1.25rem;
}

.intro-edu-feature h4 {
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.intro-edu-feature h4 i {
  color: #2dd4bf;
}

.intro-edu-feature p {
  font-size: 0.89rem;
  color: #99f6e4;
  margin: 0;
  line-height: 1.55;
}

/* ==========================================================================
   Strategy Cards & Personas Grid
   ========================================================================== */

.intro-strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
  margin-top: 1.75rem;
}

.intro-strategy-card {
  background: var(--bw-white);
  border: 1.5px solid var(--bw-border);
  border-radius: var(--bw-radius-lg);
  padding: 1.65rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.intro-strategy-card:hover {
  border-color: var(--bw-black);
  transform: translateY(-2px);
  box-shadow: 4px 4px 0px var(--bw-black);
}

.intro-strategy-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.intro-strategy-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--bw-black);
  margin: 0;
}

.intro-strategy-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.22rem 0.6rem;
  border-radius: var(--bw-radius-full);
  background: var(--bw-bg-subtle);
  border: 1px solid var(--bw-border);
  color: var(--bw-text-secondary);
}

.intro-strategy-card p {
  font-size: 0.93rem;
  color: var(--bw-text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   Glossary Definition List (Semantic <dl> for AI & Search Engines)
   ========================================================================== */

.intro-glossary-dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.intro-glossary-entry {
  background: var(--bw-white);
  border: 1px solid var(--bw-border);
  border-radius: var(--bw-radius-md);
  padding: 1.35rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.intro-glossary-entry:hover {
  border-color: var(--bw-black);
  box-shadow: var(--bw-shadow-sm);
}

.intro-glossary-entry dt {
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--bw-black);
  margin-bottom: 0.45rem;
}

.intro-glossary-entry dd {
  font-size: 0.9rem;
  color: var(--bw-text-secondary);
  line-height: 1.58;
  margin: 0;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 992px) {
  .intro-metrics-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-asset-grid,
  .intro-glossary-dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-split {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .intro-split.is-reversed .intro-split-media {
    order: 0;
  }
}

@media (max-width: 768px) {
  .intro-tldr-box,
  .intro-edu-spotlight {
    padding: 1.5rem 1.25rem;
  }

  .intro-tldr-points,
  .intro-asset-grid,
  .intro-edu-grid,
  .intro-strategy-grid,
  .intro-glossary-dl {
    grid-template-columns: 1fr;
  }

  .intro-chapter {
    padding: 2.75rem 0;
  }
}

@media (max-width: 540px) {
  .intro-metrics-strip {
    grid-template-columns: 1fr;
  }

  .intro-figure {
    box-shadow: 4px 4px 0px var(--bw-black);
  }
}
