/**
 * BE Authentic landing page styles.
 *
 * All rules scoped under `.ba-home` so the page can drop into any
 * theme without bleeding into the rest of the site. Mobile-first
 * with a single breakpoint at 880px (tablet+).
 *
 * Color tokens (matching the BE Authentic / Vector Normal brand guide):
 *   --ba-bg-deep        #0D0D0F   page background
 *   --ba-bg-surface     #1A1A1F   elevated surface (sections that pop)
 *   --ba-bg-elevated    #252530   featured callouts
 *   --ba-border         #2E2E3A
 *   --ba-text           #FFFFFF
 *   --ba-text-secondary #A0A0A8
 *   --ba-text-muted     #6B6B75
 *   --ba-teal           #5FCEAB   BE Authentic
 *   --ba-teal-deep      #3FA88A
 *   --ba-gold           #CCA86B   Arcform
 *   --ba-blue           #7BA3C9   Vector Normal
 *
 * @since 1.10.12
 */

/* ─── Reset / scope ──────────────────────────────────────────────────────── */

.ba-home {
  --ba-bg-deep:        #0D0D0F;
  --ba-bg-surface:     #1A1A1F;
  --ba-bg-elevated:    #252530;
  --ba-border:         #2E2E3A;
  --ba-text:           #FFFFFF;
  --ba-text-secondary: #A0A0A8;
  --ba-text-muted:     #6B6B75;
  --ba-teal:           #5FCEAB;
  --ba-teal-deep:      #3FA88A;
  --ba-gold:           #CCA86B;
  --ba-blue:           #7BA3C9;

  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--ba-text);
  background: var(--ba-bg-deep);
  line-height: 1.7;
  font-size: 17px;
  margin: 0;
}

.ba-home *,
.ba-home *::before,
.ba-home *::after {
  box-sizing: border-box;
}

.ba-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.ba-container--narrow {
  max-width: 780px;
}

.ba-section {
  padding: 88px 0;
}

.ba-section__h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
  color: var(--ba-text);
}

.ba-section__h2--centered {
  text-align: center;
  margin-bottom: 48px;
}

.ba-arrow {
  display: inline-block;
  transition: transform 200ms ease;
}

.ba-home a:hover .ba-arrow {
  transform: translateX(4px);
}

/* ─── 1. Hero ────────────────────────────────────────────────────────────── */

.ba-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0 96px;
}

.ba-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13,13,15,0.45) 0%,
    rgba(13,13,15,0.10) 35%,
    rgba(13,13,15,0.55) 75%,
    rgba(13,13,15,0.92) 100%
  );
  pointer-events: none;
}

.ba-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.ba-hero__h1 {
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}

.ba-hero__sub {
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 600;
  color: var(--ba-teal);
  letter-spacing: 0.02em;
  margin: 0 0 32px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}

.ba-hero__lede {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--ba-text);
  margin: 0 0 36px;
  max-width: 520px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.6);
}

.ba-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--ba-teal);
  color: var(--ba-bg-deep);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  border-radius: 4px;
  text-transform: uppercase;
  transition: background 200ms ease, transform 200ms ease;
}

.ba-hero__cta:hover {
  background: var(--ba-teal-deep);
  transform: translateY(-1px);
}

/* ─── 2. What this is ────────────────────────────────────────────────────── */

.ba-what {
  background: var(--ba-bg-deep);
  border-top: 1px solid var(--ba-border);
}

.ba-what__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}

.ba-what__copy p {
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 20px;
  color: var(--ba-text-secondary);
}

.ba-what__copy p strong {
  color: var(--ba-teal);
  font-weight: 600;
}

.ba-what__cap {
  font-size: 15px !important;
  font-style: italic;
  color: var(--ba-text-muted) !important;
  margin-top: 32px !important;
}

.ba-what__phone {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ba-phone-frame {
  width: 280px;
  max-width: 100%;
  border-radius: 36px;
  border: 8px solid var(--ba-bg-elevated);
  background: #000;
  overflow: hidden;
  box-shadow:
    0 0 0 2px var(--ba-border),
    0 24px 80px -16px rgba(95,206,171,0.25),
    0 12px 36px rgba(0,0,0,0.5);
}

.ba-phone-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.ba-phone-frame__placeholder {
  aspect-ratio: 9 / 19;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ba-text-muted);
  font-size: 13px;
  font-style: italic;
  padding: 24px;
  text-align: center;
}

.ba-phone-caption {
  margin: 24px 0 0;
  max-width: 320px;
  text-align: center;
  font-size: 13px;
  font-style: italic;
  color: var(--ba-text-muted);
  line-height: 1.55;
}

/* ─── 3. Montage of moments ─────────────────────────────────────────────── */

.ba-montage {
  background: var(--ba-bg-surface);
}

.ba-montage__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.ba-tile {
  background: var(--ba-bg-deep);
  border: 1px solid var(--ba-border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 200ms ease, transform 200ms ease;
}

.ba-tile:hover {
  border-color: var(--ba-gold);
  transform: translateY(-2px);
}

.ba-tile__photo {
  aspect-ratio: 4 / 3;
  background: var(--ba-bg-surface);
  overflow: hidden;
}

.ba-tile__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.ba-tile:hover .ba-tile__photo img {
  transform: scale(1.04);
}

.ba-tile__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ba-text-muted);
  font-size: 13px;
  font-style: italic;
}

.ba-tile__body {
  padding: 22px 24px 26px;
}

.ba-tile__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ba-gold);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ba-tile__icon {
  font-size: 20px;
  filter: grayscale(0);
}

.ba-tile__caption {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ba-text-secondary);
  margin: 0;
}

.ba-montage__closer {
  text-align: center;
  font-size: 18px;
  font-style: italic;
  color: var(--ba-teal);
  margin: 56px 0 0;
}

/* ─── 4. What it isn't ──────────────────────────────────────────────────── */

.ba-isnt {
  background: var(--ba-bg-deep);
}

.ba-isnt__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ba-isnt__row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--ba-border);
}

.ba-isnt__row:last-child {
  border-bottom: none;
}

.ba-isnt__pill {
  flex-shrink: 0;
  display: inline-block;
  padding: 4px 12px;
  background: var(--ba-teal);
  color: var(--ba-bg-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 3px;
  margin-top: 4px;
}

.ba-isnt__body {
  flex: 1;
}

.ba-isnt__body strong {
  display: block;
  font-size: 19px;
  font-weight: 700;
  color: var(--ba-text);
  margin-bottom: 6px;
}

.ba-isnt__rebuttal {
  display: block;
  font-size: 16px;
  color: var(--ba-text-secondary);
  line-height: 1.6;
}

/* ─── 5. Trust principles ───────────────────────────────────────────────── */

.ba-principles {
  background-color: var(--ba-bg-surface);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top: 1px solid var(--ba-border);
  border-bottom: 1px solid var(--ba-border);
}

.ba-principles__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.ba-principle {
  text-align: center;
}

.ba-principle__mark {
  width: 32px;
  height: 32px;
  margin: 0 auto 18px;
  background:
    linear-gradient(135deg, var(--ba-teal) 0%, var(--ba-teal-deep) 100%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.ba-principle__h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ba-text);
  margin: 0 0 14px;
}

.ba-principle p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ba-text-secondary);
  margin: 0;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── 6. AI accountability ──────────────────────────────────────────────── */

.ba-ai {
  background: var(--ba-bg-elevated);
  border-top: 1px solid var(--ba-border);
  border-bottom: 1px solid var(--ba-border);
}

.ba-ai__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.ba-ai__copy p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ba-text-secondary);
  margin: 0 0 18px;
}

.ba-ai__copy p strong {
  color: var(--ba-teal);
  font-weight: 600;
}

.ba-ai__list {
  margin: 18px 0 24px;
  padding-left: 22px;
  color: var(--ba-text-secondary);
  font-size: 16px;
  line-height: 1.7;
}

.ba-ai__list li {
  margin-bottom: 6px;
}

.ba-ai__list li::marker {
  color: var(--ba-teal);
}

.ba-ai__open {
  font-style: italic;
  color: var(--ba-text-muted) !important;
  font-size: 15px !important;
  margin-top: 24px !important;
}

.ba-link-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ba-teal);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 16px;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 200ms ease;
}

.ba-link-cta:hover {
  border-bottom-color: var(--ba-teal);
}

.ba-ai__diagram {
  display: flex;
  justify-content: center;
}

.ba-svg-ai {
  width: 100%;
  max-width: 420px;
  height: auto;
}

/* ─── 7. Ecosystem ──────────────────────────────────────────────────────── */

.ba-eco {
  background: var(--ba-bg-deep);
}

.ba-eco__diagram {
  display: flex;
  justify-content: center;
  margin: 0 0 48px;
}

.ba-svg-eco {
  width: 100%;
  max-width: 520px;
  height: auto;
}

.ba-eco__copy {
  max-width: 620px;
  margin: 0 auto;
}

.ba-eco__copy p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ba-text-secondary);
  margin: 0 0 18px;
  text-align: center;
}

.ba-eco__brand {
  font-weight: 700;
}

.ba-eco__brand--ba { color: var(--ba-teal); }
.ba-eco__brand--af { color: var(--ba-gold); font-style: italic; }
.ba-eco__brand--vn { color: var(--ba-blue); }

/* ─── 8. For makers ─────────────────────────────────────────────────────── */

.ba-makers {
  background: var(--ba-bg-surface);
  border-top: 3px solid var(--ba-teal);
}

.ba-makers__lede {
  font-size: 18px;
  color: var(--ba-text-secondary);
  margin: 0 0 18px;
  line-height: 1.6;
}

.ba-makers p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ba-text-secondary);
  margin: 0 0 20px;
}

.ba-makers__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 14px 28px;
  background: var(--ba-teal);
  color: var(--ba-bg-deep);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  border-radius: 4px;
  transition: background 200ms ease, transform 200ms ease;
}

.ba-makers__cta:hover {
  background: var(--ba-teal-deep);
  transform: translateY(-1px);
}

/* ─── 0. Top nav (rendered via wp_body_open on all launch pages) ───────── */

.ba-topnav {
  /* Brand tokens re-declared since the topnav can render before .ba-home
     wrapper (especially on supporting pages where landing template isn't used). */
  --ba-bg-deep:        #0D0D0F;
  --ba-bg-surface:     #1A1A1F;
  --ba-border:         #2E2E3A;
  --ba-text:           #FFFFFF;
  --ba-text-secondary: #A0A0A8;
  --ba-teal:           #5FCEAB;
  --ba-teal-deep:      #3FA88A;

  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 13, 15, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ba-border);
  width: 100%;
}

.ba-topnav * {
  box-sizing: border-box;
}

.ba-topnav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 20px;
}

.ba-topnav__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.ba-topnav__hex {
  color: var(--ba-teal);
  font-size: 18px;
  line-height: 1;
}

.ba-topnav__wordmark {
  color: var(--ba-text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.ba-topnav__links {
  display: none; /* hidden on mobile; revealed at desktop breakpoint */
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 24px;
}

.ba-topnav__links a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--ba-text-secondary);
  letter-spacing: 0.02em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 200ms ease, border-color 200ms ease;
  white-space: nowrap;
}

.ba-topnav__links a:hover {
  color: var(--ba-text);
}

.ba-topnav__link--active {
  color: var(--ba-teal) !important;
  border-bottom-color: var(--ba-teal) !important;
}

.ba-topnav__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--ba-teal);
  border-radius: 4px;
  color: var(--ba-teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.ba-topnav__cta:hover {
  background: var(--ba-teal);
  color: var(--ba-bg-deep);
  transform: translateY(-1px);
}

.ba-topnav__cta--active {
  background: var(--ba-teal);
  color: var(--ba-bg-deep);
}

@media (min-width: 760px) {
  .ba-topnav__links {
    display: flex;
  }
  .ba-topnav__wordmark {
    font-size: 15px;
  }
  .ba-topnav__hex {
    font-size: 20px;
  }
}

/* ─── 9. Footer nav (rendered on all launch pages via the_content) ─────── */

.ba-footer {
  /* Re-establish brand tokens since footer can render on supporting
     pages (about, security, etc.) where .ba-home isn't the wrapper. */
  --ba-bg-deep:        #0D0D0F;
  --ba-bg-surface:     #1A1A1F;
  --ba-border:         #2E2E3A;
  --ba-text:           #FFFFFF;
  --ba-text-secondary: #A0A0A8;
  --ba-text-muted:     #6B6B75;
  --ba-teal:           #5FCEAB;
  --ba-gold:           #CCA86B;
  --ba-blue:           #7BA3C9;

  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--ba-bg-deep);
  color: var(--ba-text-secondary);
  border-top: 1px solid var(--ba-border);
  margin-top: 56px;
  padding: 56px 24px 28px;
}

.ba-footer * {
  box-sizing: border-box;
}

.ba-footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  max-width: 1120px;
  margin: 0 auto;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--ba-border);
}

.ba-footer__col--brand {
  max-width: 360px;
}

.ba-footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.ba-footer__hex {
  color: var(--ba-teal);
  font-size: 22px;
  line-height: 1;
}

.ba-footer__wordmark {
  font-size: 17px;
  font-weight: 700;
  color: var(--ba-text);
  letter-spacing: 0.04em;
}

.ba-footer__tagline {
  font-size: 14px;
  font-style: italic;
  color: var(--ba-teal);
  margin: 0 0 14px;
}

.ba-footer__positioning {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ba-text-muted);
  margin: 0;
}

.ba-footer__h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ba-text);
  margin: 0 0 16px;
}

.ba-footer__nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ba-footer__nav li {
  margin: 0 0 8px;
}

.ba-footer__nav a {
  color: var(--ba-text-secondary);
  text-decoration: none;
  font-size: 14px;
  border-bottom: 1px solid transparent;
  transition: color 200ms ease, border-color 200ms ease;
}

.ba-footer__nav a:hover {
  color: var(--ba-teal);
  border-bottom-color: var(--ba-teal);
}

.ba-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 1120px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 12px;
  color: var(--ba-text-muted);
}

.ba-footer__copy,
.ba-footer__legal,
.ba-footer__attrib {
  margin: 0;
}

.ba-footer__legal a {
  color: var(--ba-text-secondary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, color 200ms ease;
}

.ba-footer__legal a:hover {
  color: var(--ba-teal);
  border-bottom-color: var(--ba-teal);
}

.ba-footer__sep {
  margin: 0 6px;
  color: var(--ba-text-muted);
}

.ba-footer__attrib strong {
  color: var(--ba-blue);
  font-weight: 700;
}

@media (min-width: 720px) {
  .ba-footer__inner {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 56px;
  }

  .ba-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ─── Tablet+ breakpoint ────────────────────────────────────────────────── */

@media (min-width: 880px) {
  .ba-section { padding: 112px 0; }

  .ba-what__grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
  }

  .ba-montage__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .ba-principles__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
  }

  .ba-ai__grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 64px;
  }
}
