/* Approved black, electric-blue, vivid-purple, white, and lavender palette. */

:root {
  --btp-ink: #05060a;
  --btp-deep-teal: #5b5cff;
  --btp-teal: #7657ff;
  --btp-sky: #7377ff;
  --btp-navy: #171028;
  --btp-sunset: #b000ff;
  --btp-coral: #d34dff;
  --btp-gold: #6870ff;
  --btp-sage: #9a63ff;
  --btp-cream: #0e0b16;
  --btp-sand: #171724;
  --btp-soft-blue: #0d1024;
  --btp-white: #ffffff;
  --btp-muted: #bbb7c8;
  --btp-line: rgba(154, 99, 255, .22);
  --btp-shadow: 0 24px 70px rgba(0, 0, 0, .42);
}

html {
  color-scheme: dark;
}

body,
body.btp-approved-dark-palette {
  color: #f8f7ff;
  background: #05060a;
}

body::selection {
  color: #ffffff;
  background: #8a00d4;
}

a {
  color: #9699ff;
}

a:hover {
  color: #d58bff;
}

:focus-visible {
  outline-color: #8b91ff;
}

.btp-site .site-content,
.btp-site #primary,
.btp-site .site-main,
.btp-site .ast-article-single,
.btp-site .entry-content {
  background: #05060a;
}

.btp-title,
.btp-page-title,
.btp-h2,
.btp-h3,
.btp-article h1,
.btp-article h2,
.btp-card h2,
.btp-card h3 {
  color: #ffffff;
}

/* Policy and long-form heading readability */
.btp-prose h2,
.btp-prose h3,
.btp-prose h4,
.btp-prose h5,
.btp-prose h6 {
  color: #ffffff !important;
}
.btp-eyebrow {
  color: #7f83ff;
}

.btp-eyebrow::before {
  background: linear-gradient(90deg, #5b5cff, #b000ff);
}

.btp-lead,
.btp-prose,
.btp-prose p,
.btp-prose li,
.btp-card p,
.btp-value-card p,
.btp-post-card p,
.btp-product-info p,
.btp-article p,
.btp-article li {
  color: #c5c2d0;
}

.btp-button {
  border-color: rgba(255, 255, 255, .08);
  background: linear-gradient(135deg, #8a00df, #b000ff);
  color: #ffffff !important;
  box-shadow: 0 12px 34px rgba(176, 0, 255, .32);
}

.btp-button:hover {
  background: linear-gradient(135deg, #7200c8, #9d00e8);
  color: #ffffff !important;
  box-shadow: 0 16px 42px rgba(176, 0, 255, .42);
}

.btp-button--teal {
  background: linear-gradient(135deg, #4147ed, #6667ff);
  color: #ffffff !important;
  box-shadow: 0 12px 32px rgba(91, 92, 255, .28);
}

.btp-button--teal:hover {
  background: linear-gradient(135deg, #353bd6, #5758f0);
}

.btp-button--gold {
  background: linear-gradient(135deg, #5b5cff, #8158ff);
  color: #ffffff !important;
  box-shadow: 0 12px 32px rgba(91, 92, 255, .3);
}

.btp-button--gold:hover {
  background: linear-gradient(135deg, #494ae8, #7047ef);
  color: #ffffff !important;
}

.btp-button--ghost {
  border-color: rgba(255, 255, 255, .48);
  background: transparent;
  color: #ffffff !important;
}

.btp-button--ghost:hover {
  border-color: #8b8fff;
  background: rgba(91, 92, 255, .12);
  color: #ffffff !important;
}

.btp-site-header {
  background: #000000;
  border-bottom-color: rgba(125, 92, 255, .22);
  box-shadow: 0 12px 38px rgba(0, 0, 0, .34);
}

.btp-site-header .btp-brand.btp-brand--image {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.btp-site-header .btp-brand-logo {
  width: 170px;
  max-height: 76px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(111, 92, 255, .34));
}

.btp-brand-qualifier {
  color: #7478ff;
}

.btp-site-header .btp-nav a {
  color: #f8f7ff;
}

.btp-site-header .btp-nav a:hover,
.btp-site-header .btp-nav a[aria-current="page"] {
  color: #8d91ff;
}

.btp-site-header .btp-button {
  background: linear-gradient(135deg, #8700e8, #b000ff);
  box-shadow: 0 10px 30px rgba(176, 0, 255, .34);
}

.btp-site-header .btp-button:hover {
  background: linear-gradient(135deg, #7300cb, #9700e0);
}

.btp-menu-toggle {
  border-color: rgba(129, 88, 255, .38);
  background: #11121c;
  color: #ffffff;
}

.btp-hero {
  background:
    radial-gradient(circle at 86% 24%, rgba(76, 47, 194, .3), transparent 38%),
    radial-gradient(circle at 66% 78%, rgba(176, 0, 255, .18), transparent 30%),
    linear-gradient(135deg, #04050a 0%, #070812 58%, #150928 100%);
}

.btp-hero::after {
  background: radial-gradient(circle, rgba(91, 92, 255, .22), rgba(176, 0, 255, .08) 52%, transparent 72%);
}

.btp-hero-badge {
  border: 1px solid rgba(91, 92, 255, .24);
  background: rgba(91, 92, 255, .1);
  color: #9da0ff;
}

.btp-hero-badge::before {
  background: #b000ff;
  box-shadow: 0 0 0 5px rgba(176, 0, 255, .14), 0 0 18px rgba(176, 0, 255, .5);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .btp-hero .btp-title {
    background: linear-gradient(180deg, #ffffff 0 18%, #6c70ff 40%, #b000ff 72%, #ffffff 112%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.btp-hero .btp-lead {
  color: #dedce7;
}

.btp-hero-note {
  color: #bbb7ca;
}

.btp-hero-note span::before {
  color: #7277ff;
}

.btp-hero-photo {
  border: 1px solid rgba(119, 99, 255, .38);
  background: #11121b;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .56), 0 0 0 8px rgba(91, 92, 255, .05);
}

.btp-hero-shape {
  background: linear-gradient(145deg, #353be8, #8a00e7);
  box-shadow: 0 18px 44px rgba(91, 92, 255, .28);
}

.btp-hero-card {
  border: 1px solid rgba(154, 99, 255, .24);
  background: rgba(15, 15, 24, .95);
  color: #ffffff;
  box-shadow: 0 20px 58px rgba(0, 0, 0, .54);
}

.btp-hero-card span {
  color: #c2bfcd;
}

.btp-track {
  opacity: .62;
}

.btp-track::before,
.btp-track::after {
  background: repeating-linear-gradient(90deg, #5b5cff 0 18px, #b000ff 18px 27px, transparent 27px 36px);
}

.btp-value-grid {
  border-color: rgba(124, 92, 255, .26) !important;
  background: #0d0e16;
  box-shadow: 0 26px 72px rgba(0, 0, 0, .46);
}

.btp-value-card {
  color: #ffffff !important;
  background: linear-gradient(145deg, #0d0e16, #11101c);
}

.btp-value-card + .btp-value-card {
  border-color: rgba(124, 92, 255, .2);
}

.btp-value-card:hover {
  background: linear-gradient(145deg, #121321, #171126);
}

.btp-value-card:nth-child(1) .btp-value-icon,
.btp-value-card:nth-child(2) .btp-value-icon,
.btp-value-card:nth-child(3) .btp-value-icon {
  border: 1px solid rgba(138, 93, 255, .2);
  background: rgba(111, 73, 255, .13);
  color: #ad6dff;
}

.btp-value-link,
.btp-card-link {
  color: #8f93ff;
}

.btp-section--cream {
  background: linear-gradient(135deg, #0b0a11, #120c1c);
}

.btp-section--blue {
  background: linear-gradient(135deg, #080a16, #10112b);
}

.btp-section--ink {
  background: linear-gradient(135deg, #030409, #0a0712 58%, #160a24);
}

.btp-section--teal {
  background: linear-gradient(135deg, #111333, #32105a);
}

.btp-photo-card {
  border: 1px solid rgba(111, 91, 255, .26);
  background: #12131d;
  box-shadow: var(--btp-shadow);
}

.btp-chip {
  border-color: rgba(105, 109, 255, .28);
  background: rgba(91, 92, 255, .1);
  color: #aeb0ff;
}

.btp-card,
.btp-post-card,
.btp-product-card,
.btp-quote {
  border-color: rgba(129, 89, 255, .22);
  background: linear-gradient(145deg, #0f1018, #14121e);
  color: #ffffff;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .25);
}

.btp-card:hover,
.btp-post-card:hover {
  border-color: rgba(130, 134, 255, .46);
  box-shadow: 0 22px 52px rgba(0, 0, 0, .4), 0 0 28px rgba(91, 92, 255, .07);
}

.btp-card--soft {
  border-color: rgba(129, 89, 255, .2);
  background: linear-gradient(145deg, #111323, #171127);
}

.btp-card-number {
  background: linear-gradient(135deg, #4d52ef, #6b6cff);
  color: #ffffff;
}

.btp-card:nth-child(2) .btp-card-number {
  background: linear-gradient(135deg, #6e45ee, #8c58ff);
}

.btp-card:nth-child(3) .btp-card-number {
  background: linear-gradient(135deg, #8d00dc, #b000ff);
}

.btp-card:nth-child(4) .btp-card-number {
  background: linear-gradient(135deg, #5056ed, #9b35ff);
}

.btp-program-card:nth-child(1) {
  background: linear-gradient(145deg, #3136c9, #4d26a8);
}

.btp-program-card:nth-child(2) {
  background: linear-gradient(145deg, #4d51e7, #251449);
}

.btp-program-card:nth-child(3) {
  background: linear-gradient(145deg, #8d00dc, #3a0b5f);
}

.btp-program-card:nth-child(4) {
  background: linear-gradient(145deg, #9255ff, #321059);
}

.btp-program-card::before {
  background: linear-gradient(180deg, rgba(5, 6, 10, .03), rgba(5, 6, 10, .82) 86%);
}

.btp-adventure-grid {
  border: 1px solid rgba(112, 89, 255, .26);
  background: #080910;
}

.btp-adventure-copy {
  background: radial-gradient(circle at 90% 90%, rgba(176, 0, 255, .16), transparent 42%), #080910;
}

.btp-adventure-copy .btp-lead,
.btp-section--ink .btp-lead,
.btp-section--teal .btp-lead {
  color: #d0ced9;
}

.btp-post-card-media,
.btp-product-art {
  background: #12131c;
}

.btp-post-meta,
.btp-resource-org {
  color: #8c90ff !important;
}

.btp-trust-item {
  border-color: rgba(130, 96, 255, .22);
  background: rgba(255, 255, 255, .055);
}

.btp-trust-item span {
  color: #c5c1cf;
}

.btp-check {
  background: linear-gradient(135deg, #5b5cff, #b000ff);
  color: #ffffff;
}

.btp-cta {
  border: 1px solid rgba(129, 104, 255, .36);
  background: linear-gradient(120deg, #262bad, #5510a7 54%, #8300cc);
  box-shadow: 0 28px 74px rgba(0, 0, 0, .48);
}

.btp-cta::before {
  background: rgba(118, 124, 255, .22);
}

.btp-cta p {
  color: #e0deea;
}

.btp-page-hero {
  border-bottom-color: rgba(122, 90, 255, .22);
  background:
    radial-gradient(circle at 86% 22%, rgba(91, 92, 255, .18), transparent 36%),
    linear-gradient(135deg, #07080e, #10091b);
}

.btp-page-hero::before {
  background: repeating-linear-gradient(90deg, #5b5cff 0 17px, #b000ff 17px 26px, transparent 26px 35px);
  opacity: .38;
}

.btp-breadcrumb,
.btp-breadcrumb a {
  color: #aaa7b6;
}

.btp-icon-list li {
  color: #d8d5df;
}

.btp-icon-list li::before {
  background: rgba(91, 92, 255, .16);
  color: #aeb1ff;
}

.btp-notice,
.btp-notice--info,
.btp-notice--success {
  border-top: 1px solid rgba(123, 105, 255, .16);
  border-right: 1px solid rgba(123, 105, 255, .16);
  border-bottom: 1px solid rgba(123, 105, 255, .16);
  border-left-color: #7657ff;
  background: #111321;
  color: #e5e3ec;
}

.btp-notice a {
  color: #aeb1ff;
}

.btp-status-pill {
  border-color: rgba(111, 112, 255, .32);
  background: rgba(91, 92, 255, .12);
  color: #b5b7ff;
}

.btp-status-pill::before {
  background: #b000ff;
  box-shadow: 0 0 14px rgba(176, 0, 255, .56);
}

.btp-field label {
  color: #f1eff6;
}

.btp-field input,
.btp-field select,
.btp-field textarea {
  border-color: rgba(132, 115, 255, .28);
  background: #080910;
  color: #ffffff;
}

.btp-field input::placeholder,
.btp-field textarea::placeholder {
  color: #8d8998;
}

.btp-field input:focus,
.btp-field select:focus,
.btp-field textarea:focus {
  border-color: #7579ff;
  box-shadow: 0 0 0 4px rgba(91, 92, 255, .18);
}

.btp-field small,
.btp-checkbox {
  color: #b5b1c0;
}

.btp-product-art,
.btp-product-card:nth-child(2) .btp-product-art,
.btp-product-card:nth-child(3) .btp-product-art {
  background: linear-gradient(135deg, #121528, #211034);
}

.btp-product-badge {
  background: rgba(91, 92, 255, .13);
  color: #b2b5ff;
}

.btp-article-meta {
  color: #9d99aa;
}

/* Keep long-form Stories centered even when Astra adds physical margins. */
.btp-site .entry-content .btp-article-inner {
  margin-left: auto !important;
  margin-right: auto !important;
}

.btp-article-featured {
  border: 1px solid rgba(124, 96, 255, .26);
  box-shadow: var(--btp-shadow);
}

.btp-site .entry-content .btp-article-featured {
  margin-left: auto !important;
  margin-right: auto !important;
}

.btp-author-box {
  border: 1px solid rgba(124, 96, 255, .2);
  background: #10111b;
}

.btp-author-avatar {
  background: linear-gradient(135deg, #5156ed, #a000ed);
}

.btp-site-footer {
  border-top: 1px solid rgba(123, 90, 255, .22);
  background: #000000;
}

.btp-footer-brand .btp-brand {
  padding: 0;
  background: transparent;
}

.btp-footer-brand .btp-brand-logo {
  width: 220px;
  max-height: 96px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 0 12px rgba(111, 92, 255, .3));
}

.btp-footer-nonprofit {
  border-color: rgba(110, 115, 255, .3);
  color: #aeb1ff !important;
}

.btp-footer-brand p,
.btp-footer-links,
.btp-footer-links a,
.btp-footer-status,
.btp-footer-bottom,
.btp-footer-bottom a {
  color: #aaa7b5;
}

.btp-footer-title,
.btp-footer-status a,
.btp-footer-links a:hover,
.btp-footer-bottom a:hover {
  color: #aeb1ff;
}

.btp-footer-status {
  border-color: rgba(123, 94, 255, .2);
  background: rgba(255, 255, 255, .035);
}

.btp-footer-bottom {
  border-top-color: rgba(129, 92, 255, .16);
}

.btp-skip-link {
  background: #6e00c6;
  color: #ffffff !important;
}

@media (max-width: 1080px) {
  .btp-menu-toggle {
    border-color: rgba(129, 88, 255, .36);
    background: #11121c;
    color: #ffffff;
  }

  .btp-nav {
    border-color: rgba(122, 92, 255, .3);
    background: #090a11;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .62);
  }

  .btp-nav li + li {
    border-top-color: rgba(123, 91, 255, .18);
  }

  .btp-nav a {
    color: #f7f6fb !important;
  }
}

@media (max-width: 680px) {
  .btp-site-header .btp-brand-logo {
    width: 140px;
    max-height: 62px;
  }

  .btp-footer-brand .btp-brand-logo {
    width: 200px;
  }

  .btp-nav-action a {
    background: linear-gradient(135deg, #8300db, #b000ff);
  }

  .btp-hero-card {
    background: rgba(12, 13, 21, .96);
  }
}

/* Story card readability */
.btp-post-card h3,
.btp-post-card h3 a {
  color: #ffffff !important;
}

.btp-post-card p {
  color: #d8d5df !important;
}

.btp-post-card:hover h3,
.btp-post-card:focus-visible h3 {
  color: #c8caff !important;
}
.btp-resource-note {
  max-width: 920px;
  margin: 22px 0 0;
  color: #aaa7b6;
  font-size: .88rem;
  line-height: 1.65;
}
/* Homepage action-card layout repair */
.btp-value-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-auto-flow: row;
  align-items: stretch;
  overflow: hidden;
}

.btp-value-grid > p {
  display: contents;
  margin: 0;
}

.btp-value-card {
  display: flex;
  min-width: 0;
  min-height: 230px;
  padding: 30px;
  flex-direction: column;
  align-items: flex-start;
  color: #ffffff !important;
  transform: none !important;
}

.btp-value-card h3 {
  margin: 18px 0 9px;
  color: #ffffff !important;
  font-size: 1.2rem;
  line-height: 1.25;
}

.btp-value-card p {
  margin: 0 0 22px;
  flex: 1 1 auto;
  color: #d2cfda !important;
  line-height: 1.65;
}

.btp-value-link {
  display: inline-flex;
  position: static !important;
  width: auto !important;
  margin: auto 0 0;
  padding: 0 !important;
  align-items: center;
  gap: 7px;
  border: 0 !important;
  background: transparent !important;
  color: #9da0ff !important;
  box-shadow: none !important;
  font-weight: 850;
  text-decoration: none !important;
}

.btp-value-link:hover,
.btp-value-link:focus-visible {
  color: #ffffff !important;
}

.btp-value-card:focus-within {
  outline: 3px solid #9a63ff;
  outline-offset: -3px;
}

@media (min-width: 921px) {
  .btp-value-card + .btp-value-card {
    border-top: 0;
    border-left: 1px solid rgba(124, 92, 255, .2);
  }
}

@media (max-width: 920px) {
  .btp-value-grid {
    grid-template-columns: 1fr !important;
  }

  .btp-value-card {
    min-height: 0;
  }

  .btp-value-card + .btp-value-card {
    border-top: 1px solid rgba(124, 92, 255, .2);
    border-left: 0;
  }
}
/* Merchandise showcase */
.btp-merch-section {
  border-top: 1px solid rgba(116, 88, 255, .18);
  border-bottom: 1px solid rgba(116, 88, 255, .18);
  background: #0b0c13;
  padding-top: clamp(72px, 7vw, 108px);
  padding-bottom: clamp(72px, 7vw, 108px);
}

.btp-merch-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: end;
}

.btp-merch-heading /* Policy and long-form heading readability */
.btp-prose h2,
.btp-prose h3,
.btp-prose h4,
.btp-prose h5,
.btp-prose h6 {
  color: #ffffff !important;
}
.btp-eyebrow {
  margin-bottom: 14px;
  color: #8f92ff;
}

.btp-merch-heading .btp-h2 {
  margin: 0;
  color: #f7f7ff;
  font-size: clamp(2.55rem, 4.3vw, 4.7rem);
  line-height: .92;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.btp-merch-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #9699ff !important;
  font-size: .8rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-decoration: none !important;
  text-transform: uppercase;
  white-space: nowrap;
}

.btp-merch-all-link:hover,
.btp-merch-all-link:focus-visible {
  color: #ffffff !important;
}

.btp-merch-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.btp-merch-card {
  display: flex;
  overflow: hidden;
  padding: 15px;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 6px;
  background: #11131d;
  color: #ffffff !important;
  box-shadow: none;
  text-decoration: none !important;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.btp-merch-card:hover,
.btp-merch-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(125, 129, 255, .58);
  box-shadow: 0 20px 44px rgba(0, 0, 0, .36), 0 0 26px rgba(91, 92, 255, .1);
}

.btp-merch-image {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #07070c;
}

.btp-merch-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btp-merch-info {
  display: flex;
  min-height: 100px;
  padding: 22px 10px 5px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.btp-merch-info strong {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.25;
}

.btp-merch-info > span {
  color: #9699ff;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .btp-merch-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .btp-merch-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .btp-merch-all-link {
    width: max-content;
    margin: 0;
  }

  .btp-merch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .btp-merch-grid {
    grid-template-columns: 1fr;
  }

  .btp-merch-info {
    min-height: auto;
  }
}
@media print {
  body,
  .btp-site .site-content,
  .btp-site #primary,
  .btp-site .site-main,
  .btp-site .entry-content {
    color: #000000;
    background: #ffffff;
  }
}
