/* ============================================================
   ABOUT PAGE STYLES
   Hero, experience, mission, differentiator, features table,
   audience cards, and video demo.
   ============================================================ */

/* Hero — two-column with text left, proof points right */
.about-hero {
  padding-top: calc(var(--navbar-height) + var(--space-3xl));
  padding-bottom: var(--space-section);
}

.about-hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.about-hero__eyebrow {
  display: inline-block;
  margin-bottom: var(--space-lg);
}

.about-hero__title {
  margin-bottom: var(--space-lg);
  max-width: 520px;
}

.about-hero__desc {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.7;
  max-width: 520px;
}

.about-hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

/* Meta/proof aside */
.about-meta {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
}

.about-meta__heading {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: var(--space-lg);
}

.about-meta__summary {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-subtle);
}

.about-meta__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.about-meta__list li {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.6;
}

.about-accent {
  color: var(--brand-light);
  font-weight: 600;
}

@media (max-width: 768px) {
  .about-hero {
    padding-top: calc(var(--navbar-height) + var(--space-xl));
  }

  .about-hero__grid {
    grid-template-columns: 1fr;
  }

  .about-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .about-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Content sections — alternating layout */
.about-section {
  padding: var(--space-section) 0;
}

.about-section--alt {
  background: var(--bg-secondary);
}

.about-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.about-section__grid--swap {
  direction: rtl;
}

.about-section__grid--swap > * {
  direction: ltr;
}

.about-section__eyebrow {
  display: block;
  margin-bottom: var(--space-md);
}

.about-section__title {
  margin-bottom: var(--space-md);
}

.about-section__text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.about-section__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.about-section__list li {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: var(--space-lg);
  position: relative;
}

.about-section__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.about-section__note {
  margin-top: var(--space-lg);
  padding: var(--space-lg);
  background: var(--brand-subtle);
  border-radius: var(--border-radius-md);
  border-left: 3px solid var(--brand);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .about-section__grid {
    grid-template-columns: 1fr;
  }

  .about-section__grid--swap {
    direction: ltr;
  }

  /*
   * Swap sections use direction:rtl on desktop so the second column appears
   * on the left. On mobile we reset to ltr, which restores DOM order — but
   * for Mission-style rows the markup is [body copy, then eyebrow+title], so
   * the heading block would sit below the paragraphs. Re-order grid children
   * so eyebrow + title (second column in DOM) still read first on small screens.
   */
  .about-section__grid--swap > *:first-child {
    order: 2;
  }

  .about-section__grid--swap > *:nth-child(2) {
    order: 1;
  }
}

/* Features table */
.features-table {
  margin-top: var(--space-xl);
}

.features-table__header {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--border-medium);
}

.features-table__header-cell {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.features-table__row {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-lg);
  padding: var(--space-lg);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--duration-fast);
}

.features-table__row:hover {
  background: var(--bg-card);
}

.features-table__cell--feature {
  font-weight: 600;
  color: var(--text-primary);
}

.features-table__cell--benefit {
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

@media (max-width: 640px) {
  .features-table__header {
    display: none;
  }

  .features-table__row {
    grid-template-columns: 1fr;
    gap: var(--space-xs);
  }
}

/* Audience cards */
.audience {
  padding: var(--space-section) 0;
}

.audience__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.audience__card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  display: flex;
  gap: var(--space-lg);
  transition:
    border-color var(--duration-normal),
    background var(--duration-normal);
}

.audience__card:hover {
  border-color: var(--border-brand);
  background: var(--bg-card-hover);
}

.audience__icon {
  flex-shrink: 0;
  color: var(--brand-light);
}

.audience__icon svg {
  width: 40px;
  height: 40px;
}

.audience__card-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.audience__card-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

@media (max-width: 640px) {
  .audience__card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}
