/* BeepRunner landing page */

.br {
  --br-bg: #111;
  --br-surface: #1C1C1E;
  --br-text: #fff;
  --br-text-secondary: #999;
  --br-accent: #00D1A3;
  --br-border: #2C2C2E;
}

/* Header override for dark theme */
.br .site-header {
  background: rgba(17, 17, 17, 0.9);
  border-bottom-color: var(--br-border);
}

.br .site-header__logo {
  color: var(--br-text);
}

.br .site-header .btn {
  background: var(--br-accent);
  color: #000;
}

.br .site-header .btn:hover {
  background: #00B890;
}

/* Body dark background */
.br {
  background: var(--br-bg);
  color: var(--br-text);
}

/* Footer dark override */
.br .site-footer {
  border-top-color: var(--br-border);
  color: var(--br-text-secondary);
}

.br .site-footer a {
  color: var(--br-text-secondary);
}

.br .site-footer a:hover {
  color: var(--br-text);
}

/* Hero */

.br-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2.5rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.br-hero__text {
  max-width: 500px;
}

.br-hero__text h1 {
  margin-bottom: 1rem;
}

.br-hero__text .section-sub {
  color: var(--br-text-secondary);
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.br-hero__image {
  width: 100%;
  max-width: 280px;
}

/* Dark device frame */
.br .device-frame {
  background: #000;
}

/* Tests section */

.br-tests {
  background: var(--br-surface);
}

.br-tests .container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.br-tests__text {
  max-width: 480px;
}

.br-tests__list {
  list-style: none;
  margin-top: 1.5rem;
}

.br-tests__list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--br-border);
  font-size: 0.9375rem;
}

.br-tests__list .br-tests__name {
  font-weight: 600;
}

.br-tests__list .br-tests__detail {
  color: var(--br-text-secondary);
  font-size: 0.8125rem;
}

.br-tests__images {
  display: flex;
  gap: 1rem;
  align-self: center;
}

.br-tests__images .device-frame img {
  width: 160px;
}

/* Results section */

.br-results .container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.br-results__text {
  max-width: 480px;
}

.br-results__text .section-sub {
  color: var(--br-text-secondary);
}

.br-results__features {
  margin-top: 1.5rem;
}

.br-results__features dt {
  font-weight: 600;
  margin-top: 1.25rem;
  font-size: 1rem;
}

.br-results__features dt:first-child {
  margin-top: 0;
}

.br-results__features dd {
  color: var(--br-text-secondary);
  font-size: 0.9375rem;
  margin-top: 0.25rem;
}

.br-results__image {
  width: 100%;
  max-width: 280px;
  align-self: center;
}

/* Cooper section */

.br-cooper {
  background: var(--br-surface);
}

.br-cooper .container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.br-cooper__text {
  max-width: 480px;
}

.br-cooper__text .section-sub {
  color: var(--br-text-secondary);
}

.br-cooper__image {
  width: 100%;
  max-width: 280px;
  align-self: center;
}

/* PEAKVO2 cross-promo */

.br-promo {
  text-align: center;
}

.br-promo .section-sub {
  color: var(--br-text-secondary);
  max-width: 480px;
  margin: 0.75rem auto 1.5rem;
}

.br-promo .btn {
  background: var(--brand);
  color: #fff;
}

/* CTA */

.br-cta {
  background: var(--br-surface);
  text-align: center;
  padding: 4rem 0;
}

.br-cta h2 {
  margin-bottom: 1rem;
}

.br-cta .section-sub {
  color: var(--br-text-secondary);
  margin-bottom: 1.5rem;
}

/* Desktop */

@media (min-width: 768px) {
  .br-hero .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .br-hero__text {
    flex: 1;
  }

  .br-hero__image {
    flex-shrink: 0;
  }

  .br-tests .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .br-tests__text {
    flex: 1;
  }

  .br-tests__images {
    flex-shrink: 0;
  }

  .br-tests__images .device-frame img {
    width: 200px;
  }

  .br-results .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .br-results__text {
    flex: 1;
  }

  .br-results__image {
    flex-shrink: 0;
  }

  .br-cooper .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .br-cooper__text {
    flex: 1;
  }

  .br-cooper__image {
    flex-shrink: 0;
  }
}
