/*
 * EOTLS 071 — Contrast / Checkout review 04.
 * Review candidate. The approved 071 source remains unmodified.
 * Visual overrides only: no checkout logic, commerce, admin, route or API changes.
 * These selectors describe the actual surface role rather than resetting every text color.
 */

/* Publisher palette: deliberate explicit contrast at light and dark section boundaries. */
body.eotls-071 :is(
  .e062-black, .e062-purple, .e062-join, .e062-brand-pull,
  .e062-campaign-cta, .e062-shop-hero, .e062-studio-hero,
  .e062-news-hero, .e062-home-hero, .e062-section-hero,
  .e062-property-hero, .e062-world-feature
) :is(.e062-heading-row h2, .e062-heading-row h3,
       .e062-section-hero-copy h1, .e062-property-copy h1,
       .e062-world-copy h2, .e062-news-hero h1,
       .e062-home-hero-copy h1, .e062-shop-hero h1,
       .e062-studio-hero h1, .e062-join h2, .e062-brand-pull h2) {
  color: #f1f5f5 !important;
  text-shadow: none !important;
}

body.eotls-071 .e062-heading-row.light :is(h1,h2,h3),
body.eotls-071 .e062-black > .e062-heading-row :is(h1,h2,h3),
body.eotls-071 .e062-preorder > .e062-heading-row :is(h1,h2,h3) {
  color: #f1f5f5 !important;
  text-shadow: none !important;
}

body.eotls-071 .e062-black > .e062-heading-row > a,
body.eotls-071 .e062-heading-row.light > a,
body.eotls-071 .e062-black .e062-video-rail figcaption,
body.eotls-071 .e062-black .e062-cover-rail.dark :is(h3,p),
body.eotls-071 .e062-preorder > .e062-preorder-note,
body.eotls-071 .e062-preorder .e062-intro {
  color: #d5dcdc !important;
}

/* Artwork-backed world tiles stay light-on-dark even when nested in paper sections. */
body.eotls-071 .e062-world-grid > a > div :is(h3,p),
body.eotls-071 .e062-character-grid article > div :is(h3,p,span),
body.eotls-071 .e062-black .e062-cover-rail.dark h3 {
  color: #f1f5f5 !important;
  text-shadow: 0 1px 8px rgba(0,0,0,.25) !important;
}

/* White/paper editorial surfaces retain dark text—not inherited cinema-theme ivory. */
body.eotls-071 .e062-white > .e062-heading-row :is(h1,h2,h3),
body.eotls-071 .e062-white .e062-news-grid :is(h2,h3),
body.eotls-071 .e062-white .e062-featured-release :is(h2,h3),
body.eotls-071 .e062-white .e062-shop-tease :is(h2,h3),
body.eotls-071 .e062-white .e062-editorial-columns :is(h2,h3),
body.eotls-071 .e062-shop-grid-section .product__meta :is(h2,h3),
body.eotls-071 .e062-white .e062-cover-rail:not(.dark) h3 {
  color: #101313 !important;
  text-shadow: none !important;
}

body.eotls-071 .e062-white .e062-news-grid :is(p,small),
body.eotls-071 .e062-white .e062-featured-release p,
body.eotls-071 .e062-white .e062-shop-tease p,
body.eotls-071 .e062-white .e062-editorial-columns p,
body.eotls-071 .e062-shop-grid-section .product__meta :is(p,small,span),
body.eotls-071 .e062-white :is(.e062-property-intro,.e062-nm-overview) p:not(.e062-kicker) {
  color: #343939 !important;
  opacity: 1 !important;
}

/* Body copy on dark standalone release modules can otherwise inherit light-section ink. */
body.eotls-071 :is(.e062-join,.e062-brand-pull,.e062-campaign-cta,
                    .e062-shop-hero,.e062-studio-hero,.e062-news-hero,
                    .e062-world-feature) > div > p:not(.e062-kicker),
body.eotls-071 .e062-character-grid article > div p,
body.eotls-071 .e062-world-grid > a > div p {
  color: #d6dddd !important;
  opacity: 1 !important;
}

/* Preserve signal colors and the specific dark-card/light-label palette. */
body.eotls-071 .e062-tier-grid .tier-body :is(h3,.tier-price),
body.eotls-071 .e062-tier-grid .tier-body > p,
body.eotls-071 .e062-tier-grid .tier-reward-list,
body.eotls-071 .e062-tier-grid .tier-reward-list li {
  opacity: 1 !important;
}
body.eotls-071 .e062-tier-grid .tier-body h3 {color: #f1f5f5 !important;}
body.eotls-071 .e062-tier-grid .tier-reward-list,
body.eotls-071 .e062-tier-grid .tier-reward-list li {color: #d3d9d9 !important;}
body.eotls-071 .e062-tier-grid .tier-body > p {color: #d3d9d9 !important;}
body.eotls-071 .e062-tier-grid .tier-price {color: #e9c116 !important;}

/* Transactional surfaces: no pale text on the white form / summary cards. */
body.eotls-071.e062-system main :is(.card,.total-box) :is(label,small),
body.eotls-071.checkout-page .e071-checkout-body :is(.card,.total-box) > p:not(.eyebrow),
body.eotls-071.checkout-page .e071-checkout-form-intro,
body.eotls-071.checkout-page .checkout-international-note {
  color: #303535 !important;
  opacity: 1 !important;
}
body.eotls-071.checkout-page .e071-checkout-body :is(input,select,textarea),
body.eotls-071.checkout-page .e071-checkout-body :is(input,select,textarea)::placeholder {
  opacity: 1 !important;
}
body.eotls-071.checkout-page .e071-checkout-body :is(input,select,textarea) {
  background: #ffffff !important;
  color: #101313 !important;
  border-color: #686f70 !important;
}
body.eotls-071.checkout-page .e071-checkout-body :is(input,textarea)::placeholder {
  color: #636b6b !important;
}
/* The generated order rows are intentionally black panels; do not darken their text. */
body.eotls-071.checkout-page [data-checkout-summary] :is(.checkout-item,.checkout-summary,.order-summary,.summary-lines) :is(p,span,small,li),
body.eotls-071.checkout-page [data-checkout-summary] .checkout-item :is(strong,h3) {
  color: #f1f5f5 !important;
}

/* ============================================================
   CHECKOUT: a short, full-width publisher hero above the form.
   Main site chrome remains as-is; form and summary hooks remain intact.
   ============================================================ */
body.eotls-071.checkout-page main {
  display: block;
  min-height: 65vh;
  padding: 0 0 clamp(3rem,6vw,5.5rem) !important;
  background: #f1f5f5 !important;
  color: #101313 !important;
}
body.eotls-071.checkout-page .e071-checkout-hero {
  padding: clamp(3rem,5.5vw,5rem) var(--e062-pad);
  background: #080808;
  color: #f1f5f5;
  border-bottom: 4px solid #7631a0;
}
body.eotls-071.checkout-page .e071-checkout-hero-inner {
  width: min(1180px,100%);
  margin: 0 auto;
}
body.eotls-071.checkout-page .e071-checkout-hero .eyebrow {
  display: block;
  margin: 0 0 1rem;
  color: #e9c116 !important;
  letter-spacing: .13em !important;
}
body.eotls-071.checkout-page .e071-checkout-hero h1 {
  width: 100%;
  max-width: none;
  margin: 0 0 1rem;
  color: #f1f5f5 !important;
  font-size: clamp(3.6rem,6vw,6.25rem) !important;
  line-height: 1.04 !important;
  letter-spacing: .035em !important;
  overflow-wrap: normal;
  text-shadow: none !important;
}
body.eotls-071.checkout-page .e071-checkout-hero .lede {
  max-width: 66ch;
  margin: 0;
  color: #d5dddd !important;
  font-size: clamp(.98rem,1.3vw,1.12rem) !important;
  font-weight: 500;
  line-height: 1.65;
}
body.eotls-071.checkout-page main > .e071-checkout-body {
  display: grid;
  grid-template-columns: minmax(0,1.45fr) minmax(310px,.9fr);
  align-items: start;
  gap: clamp(1.25rem,3vw,2.5rem);
  width: min(1280px,100%);
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(2rem,4vw,3.5rem) var(--e062-pad) 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
body.eotls-071.checkout-page .e071-checkout-body > :is(.card,.total-box) {
  min-width: 0;
  width: 100%;
  padding: clamp(1.3rem,2.6vw,2.4rem) !important;
}
body.eotls-071.checkout-page .e071-checkout-form-heading {
  margin: 0 0 .75rem;
  color: #101313 !important;
  font-size: clamp(2rem,3.15vw,3rem) !important;
  line-height: 1.08 !important;
  text-shadow: none !important;
}
body.eotls-071.checkout-page .e071-checkout-form-intro {
  max-width: 55ch;
  margin: 0 0 1.5rem;
  line-height: 1.6;
  font-size: .95rem;
}
body.eotls-071.checkout-page .e071-checkout-body .checkout-form {
  min-width: 0;
}
body.eotls-071.checkout-page .e071-checkout-body .total-box {
  align-self: start;
}

@media (max-width: 850px) {
  body.eotls-071.checkout-page main > .e071-checkout-body {
    grid-template-columns: minmax(0,1fr);
  }
  body.eotls-071.checkout-page .e071-checkout-hero h1 {
    font-size: clamp(3.1rem,8.4vw,5.2rem) !important;
  }
}
@media (max-width: 560px) {
  body.eotls-071.checkout-page .e071-checkout-hero {
    padding: 2.6rem 1.15rem 2.8rem;
  }
  body.eotls-071.checkout-page .e071-checkout-hero h1 {
    font-size: clamp(2.8rem,11.4vw,3.75rem) !important;
    line-height: 1.02 !important;
  }
  body.eotls-071.checkout-page main > .e071-checkout-body {
    padding: 1.25rem 1rem 0;
    gap: 1.25rem;
  }
  body.eotls-071.checkout-page .e071-checkout-body > :is(.card,.total-box) {
    padding: 1.25rem !important;
  }
  body.eotls-071.checkout-page .e071-checkout-body .form-row {
    grid-template-columns: minmax(0,1fr);
  }
}
