/* ============================================================
   platform.css — Mastery Logistics Systems Platform Overview
   Page-specific styles only. Global styles live in style.css.
   Desktop styles first. Mobile overrides at bottom.

   TITLE BLOCK CONVENTION (applies across all pages):
   - Eyebrow: no max-width
   - H2: no max-width — headlines flow at their natural width
   - Sub / lede in CENTERED title blocks: max-width: 640px;
     margin: 0 auto (for readable line length)
   - LEFT-ALIGNED title blocks: constrained by their parent
     column or container — no additional max-width needed

   IMAGE-LED CARD CONVENTION (.card-visual — site-wide standard):
   - Each card has a 16:10 image zone at the top, body below
   - The image zone holds a real <img class="card-visual__image">
   - Until the asset exists, a designed .card-visual__placeholder
     fills the zone (labeled copper-tinted frame, never broken)
   - Going live = uncomment the <img>, delete the placeholder div
============================================================ */


/* ============================================================
   SECTION 1 — HERO
   Two-column layout: H1 + sub + CTA on left, video on right.
   Native HTML5 video element with preload="metadata" so only
   the metadata loads on page load — full video downloads when
   the user clicks play. No autoplay.
============================================================ */
.hero {
  position: relative;
  background-color: #0a0a0a;
  overflow: hidden;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(178, 93, 66, 0.15) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.hero__content {
  max-width: 540px;
}

.hero .eyebrow {
  color: var(--color-copper-light);
}

.hero__headline {
  font-size: var(--font-size-h1);
  font-weight: var(--weight-semibold);
  color: var(--color-white);
  line-height: var(--leading-tight);
  letter-spacing: -0.02em;
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero__sub {
  font-size: var(--text-lg);
  line-height: var(--leading-loose);
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__media {
  position: relative;
  width: 100%;
}

.hero__video {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #1a1a1a, #232323);
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  display: block;
  object-fit: cover;
}


/* ============================================================
   SECTION 2 — THE BIG PICTURE
============================================================ */
.bigpic {
  background: #faf6f3;
}

.bigpic__head {
  margin-bottom: 1rem;
}

.bigpic__head h2 {
  color: var(--color-text-primary);
  margin-top: 0;
  margin-bottom: 1rem;
}

.bigpic__head .text-lead {
  color: var(--color-text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

.bigpic__visual {
  position: relative;
  height: 320px;
  max-width: 580px;
  margin: 3rem auto 0;
}

.bigpic__lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.bigpic__lines line {
  stroke: var(--color-copper);
  stroke-width: 1;
  stroke-opacity: 0.25;
  stroke-dasharray: 3 4;
}

/* Sits above the labels so they can slide out from behind it. */
.bigpic__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--gradient-copper);
  color: var(--color-white);
  font-weight: var(--weight-semibold);
  font-size: var(--text-base);
  letter-spacing: 0.04em;
  padding: 1rem 1.75rem;
  border-radius: 10px;
  z-index: 3;
  box-shadow: 0 8px 24px rgba(178, 93, 66, 0.25);
  white-space: nowrap;
}

/* The transform is composed from custom properties so the reveal can
   add a "back toward the hub" offset without clobbering the centering
   offset some positions rely on. --bp-x/y are the resting centering
   values; --bp-from-x/y are non-zero only while primed. */
.bigpic__mode {
  --bp-x: 0;
  --bp-y: 0;
  --bp-from-x: 0px;
  --bp-from-y: 0px;
  --bp-scale: 1;
  position: absolute;
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  font-weight: var(--weight-medium);
  background: var(--color-white);
  border: 0.5px solid var(--color-border);
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  white-space: nowrap;
  z-index: 2;
  transform:
    translate(var(--bp-x), var(--bp-y))
    translate(var(--bp-from-x), var(--bp-from-y))
    scale(var(--bp-scale));
}

.bigpic__mode--top         { top: 0;      left: 50%;  --bp-x: -50%; }
.bigpic__mode--upper-right { top: 18%;    right: 4%; }
.bigpic__mode--right       { top: 50%;    right: -2%; --bp-y: -50%; }
.bigpic__mode--lower-right { bottom: 18%; right: 4%; }
.bigpic__mode--bottom      { bottom: 0;   left: 50%;  --bp-x: -50%; }
.bigpic__mode--lower-left  { bottom: 18%; left: 4%; }
.bigpic__mode--left        { top: 50%;    left: -2%;  --bp-y: -50%; }
.bigpic__mode--upper-left  { top: 18%;    left: 4%; }


/* ----- Big Picture reveal -----
   .is-primed is added by platform.js, so with no JavaScript the
   graphic renders in its finished state. .is-revealed is added once,
   the first time the graphic scrolls into view; the observer then
   disconnects, so scrolling away and back does not replay it. */
.bigpic__visual.is-primed .bigpic__mode {
  --bp-scale: 0.72;
  opacity: 0;
  transition:
    transform 0.6s cubic-bezier(0.22, 0.9, 0.3, 1),
    opacity 0.45s ease-out;
}

.bigpic__visual.is-primed .bigpic__lines {
  opacity: 0;
  transition: opacity 0.5s ease-out 0.45s;
}

/* Each label starts offset back toward the hub, along the line it
   will travel out on. */
.bigpic__visual.is-primed .bigpic__mode--top         { --bp-from-y: 118px; }
.bigpic__visual.is-primed .bigpic__mode--upper-right { --bp-from-x: -152px; --bp-from-y: 68px; }
.bigpic__visual.is-primed .bigpic__mode--right       { --bp-from-x: -196px; }
.bigpic__visual.is-primed .bigpic__mode--lower-right { --bp-from-x: -152px; --bp-from-y: -68px; }
.bigpic__visual.is-primed .bigpic__mode--bottom      { --bp-from-y: -118px; }
.bigpic__visual.is-primed .bigpic__mode--lower-left  { --bp-from-x: 152px;  --bp-from-y: -68px; }
.bigpic__visual.is-primed .bigpic__mode--left        { --bp-from-x: 196px; }
.bigpic__visual.is-primed .bigpic__mode--upper-left  { --bp-from-x: 152px;  --bp-from-y: 68px; }

/* Staggered clockwise from the top so they fan out rather than
   arriving as one block. */
.bigpic__visual.is-primed .bigpic__mode--top         { transition-delay: 0s; }
.bigpic__visual.is-primed .bigpic__mode--upper-right { transition-delay: 0.07s; }
.bigpic__visual.is-primed .bigpic__mode--right       { transition-delay: 0.14s; }
.bigpic__visual.is-primed .bigpic__mode--lower-right { transition-delay: 0.21s; }
.bigpic__visual.is-primed .bigpic__mode--bottom      { transition-delay: 0.28s; }
.bigpic__visual.is-primed .bigpic__mode--lower-left  { transition-delay: 0.35s; }
.bigpic__visual.is-primed .bigpic__mode--left        { transition-delay: 0.42s; }
.bigpic__visual.is-primed .bigpic__mode--upper-left  { transition-delay: 0.49s; }

.bigpic__visual.is-primed.is-revealed .bigpic__mode {
  --bp-from-x: 0px;
  --bp-from-y: 0px;
  --bp-scale: 1;
  opacity: 1;
}

.bigpic__visual.is-primed.is-revealed .bigpic__lines {
  opacity: 1;
}

/* Reduced motion: neutralize the primed state so the graphic is
   simply present, with no travel and no fade. */
@media (prefers-reduced-motion: reduce) {
  .bigpic__visual.is-primed .bigpic__mode,
  .bigpic__visual.is-primed .bigpic__lines {
    --bp-from-x: 0px;
    --bp-from-y: 0px;
    --bp-scale: 1;
    opacity: 1;
    transition: none;
    transition-delay: 0s;
  }
}


/* ============================================================
   SECTION 3 — CUSTOMER QUOTES
   Dark. Two quote cards with copper top border + subtle glow.
   Logos enlarged in the upper-right. Quote text bold for impact.
============================================================ */
.quotes {
  background: #111111;
  border-top: 0.5px solid #1f1f1f;
}

.quotes .eyebrow {
  color: var(--color-copper-light);
}

.quotes__heading {
  color: var(--color-white);
  margin-top: 0.5rem;
  margin-bottom: 2.5rem;
}

.quotes__slider-wrap {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.quotes__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.quotes__slide {
  flex-shrink: 0;
  /* width set by JS to match wrapper */
  box-sizing: border-box;
}

.quotes__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.quotes__prev,
.quotes__next {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 0.5px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  flex-shrink: 0;
}

.quotes__prev:hover,
.quotes__next:hover {
  background: rgba(252, 147, 101, 0.15);
  border-color: rgba(252, 147, 101, 0.4);
  color: var(--color-copper-light);
}

.quotes__dots {
  display: flex;
  gap: 0.125rem;
  align-items: center;
}

.quotes__dot {
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: grid;
  place-items: center;
}

.quotes__dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.quotes__dot--active::before {
  background: var(--color-copper-light);
  transform: scale(1.35);
}

.quote-card {
  background: #161616;
  border: 0.5px solid rgba(252, 147, 101, 0.25);
  border-top: 1.5px solid var(--color-copper);
  border-radius: 10px;
  padding: 1.75rem;
  position: relative;
  box-shadow: 0 0 0 1px rgba(252, 147, 101, 0.04), 0 8px 24px rgba(178, 93, 66, 0.06);
  transition: box-shadow var(--transition-normal);
}

.quote-card:hover {
  box-shadow: 0 0 0 1px rgba(252, 147, 101, 0.08), 0 16px 32px rgba(178, 93, 66, 0.12);
}

/* Logo — enlarged from the prior 90x24 to 140x40 */
.quote-card__logo {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  max-width: 140px;
  height: 40px;
  display: flex;
  align-items: center;
}

.quote-card__logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.75;
  filter: brightness(0) invert(1);
}

.quote-card__mark {
  font-size: 2rem;
  color: var(--color-copper-light);
  line-height: 1;
  font-family: Georgia, serif;
  margin: 0 0 0.5rem;
}

/* Quote text — bold for impact */
.quote-card__text {
  font-size: var(--text-lg);
  color: var(--color-white);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-normal);
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
  padding-right: 120px;
}

.quote-card__attr {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.quote-card__attr strong {
  color: var(--color-white);
  font-weight: var(--weight-medium);
}


/* ============================================================
   SECTION 4 — BUILT ON A MODERN FOUNDATION
   Light with cool tint. Three image-led cards.

   Uses the .card-visual pattern (site-wide image-led card
   standard). Each card: 16:10 image zone on top, body below.
   The image zone holds a real <img> once assets exist; until
   then, a designed placeholder fills it.
============================================================ */
.tech {
  background: #f5f5f3;
}

.tech .eyebrow {
  color: var(--color-copper-dark);
}

.tech h2 {
  color: var(--color-text-primary);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.tech .text-lead {
  color: var(--color-text-secondary);
  margin-bottom: 2.5rem;
  max-width: 720px;
}

.tech__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}


/* ------------------------------------------------------------
   IMAGE-LED CARD COMPONENT (.card-visual)
   Reusable site-wide. Image zone on top, text body below.
------------------------------------------------------------ */
.card-visual {
  background: var(--color-white);
  border: 0.5px solid rgba(178, 93, 66, 0.2);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow var(--transition-fast), transform var(--transition-normal);
}

.card-visual:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* The image zone — fixed 16:10 ratio. Holds <img> or placeholder. */
.card-visual__image-zone {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1a1a1a;
}

.card-visual__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Designed placeholder — shown until the real image is dropped in.
   A branded copper-on-dark frame with a subtle grid texture so it
   never reads as a broken or missing image. */
.card-visual__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  text-align: center;
  padding: 1rem;
  background:
    radial-gradient(circle at 30% 35%, rgba(252, 147, 101, 0.18) 0%, transparent 62%),
    linear-gradient(135deg, #1a1a1a, #2a2320);
}

.card-visual__placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(252, 147, 101, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(252, 147, 101, 0.06) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
}

.card-visual__placeholder-label {
  position: relative;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: rgba(252, 147, 101, 0.9);
  letter-spacing: 0.02em;
}

.card-visual__placeholder-note {
  position: relative;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Card text body */
.card-visual__body {
  padding: 1.5rem 1.5rem 1.625rem;
}

.card-visual__body h3 {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}

.card-visual__body p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-normal);
  margin: 0;
}

/* Read More affordance — the whole card is already the link, so this
   is a visual CTA, not a nested anchor. */
.card-visual__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  color: var(--color-copper);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  transition: color var(--transition-fast);
}

.card-visual:hover .card-visual__cta {
  color: var(--color-copper-dark);
}

.card-visual__cta-arrow {
  display: inline-block;
  transition: transform var(--transition-fast);
}

.card-visual:hover .card-visual__cta-arrow {
  transform: translateX(4px);
}


/* ============================================================
   SECTION 5 — EFFORTLESS INTEGRATION
============================================================ */
.integration {
  background: #0a0a0a;
  border-top: 0.5px solid #1f1f1f;
}

.integration__inner {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: 3rem;
  align-items: center;
}

.integration__content .eyebrow {
  color: var(--color-copper-light);
}

.integration__content h2 {
  color: var(--color-white);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.integration__lede {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.65);
  line-height: var(--leading-normal);
  margin: 0 0 2rem;
  max-width: 460px;
}

.integration__actions {
  margin-top: 1.5rem;
}

/* Animated hub visual — six partner tiles in the Mastery M six-point
   arrangement around the API/MasterMind core. No bounding card: the
   visual floats on the section background. */
.integration__hub {
  position: relative;
  width: 100%;
  aspect-ratio: 600 / 460;
}

/* Warm glow behind the hub, feathered so it dissolves into the
   section background. */
.integration__hub::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 60%;
  height: 70%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(252, 147, 101, 0.20) 0%, rgba(178, 93, 66, 0.08) 40%, rgba(0, 0, 0, 0) 68%);
  pointer-events: none;
  animation: integrationHubBreathe 5s ease-in-out infinite;
}

@keyframes integrationHubBreathe {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;   transform: translate(-50%, -50%) scale(1.08); }
}

.integration__hub-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Dashed connection tracks; the dash offset animates so flow reads
   inward from each tile toward the hub. */
.integration__hub-track {
  fill: none;
  stroke: rgba(178, 93, 66, 0.40);
  stroke-width: 1.5;
  stroke-dasharray: 4 7;
  animation: integrationHubFlow 3.5s linear infinite;
}

@keyframes integrationHubFlow {
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -44; }
}

/* Outbound tracks — dash flow reads outward, matching their packets. */
.integration__hub-track--out {
  animation-direction: reverse;
}

.integration__hub-packet {
  fill: var(--color-copper);
  filter: drop-shadow(0 0 4px rgba(252, 147, 101, 0.9));
}

.integration__hub-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 22%;
  aspect-ratio: 120 / 70;
  border-radius: 10px;
  background: var(--gradient-copper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  animation: integrationHubPulse 5s ease-in-out infinite;
  z-index: 2;
}

@keyframes integrationHubPulse {
  0%, 100% { box-shadow: 0 0 18px rgba(252, 147, 101, 0.35), 0 0 0 0 rgba(252, 147, 101, 0); }
  50%      { box-shadow: 0 0 34px rgba(252, 147, 101, 0.55), 0 0 0 10px rgba(252, 147, 101, 0.06); }
}

.integration__hub-name {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  color: var(--color-white);
}

/* Partner logo circles — six points mirroring the Mastery M symbol:
   upper-left, top-center, upper-right, lower-left, bottom-center,
   lower-right. */
.integration__hub-tile {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 17%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px solid var(--color-copper);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.6),
    0 0 16px rgba(252, 147, 101, 0.28);
  overflow: hidden;
  z-index: 2;
}

.integration__hub-tile img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  display: block;
}

.integration__hub-tile--t1 { left: 19%; top: 27%; }
.integration__hub-tile--t2 { left: 50%; top: 12%; }
.integration__hub-tile--t3 { left: 81%; top: 27%; }
.integration__hub-tile--t4 { left: 19%; top: 73%; }
.integration__hub-tile--t5 { left: 50%; top: 88%; }
.integration__hub-tile--t6 { left: 81%; top: 73%; }

@media (prefers-reduced-motion: reduce) {
  .integration__hub-track,
  .integration__hub-core,
  .integration__hub::after {
    animation: none;
  }

  .integration__hub-packet {
    display: none;
  }
}


/* ============================================================
   SECTION 6 — IMPLEMENTATION
   Light. Centered title block with bridge copy. Two-column body:
   cinematic playbook image on the left, brief content + download
   CTA on the right.
============================================================ */
.implementation {
  background: #faf6f3;
}

.implementation__head {
  margin-bottom: 1.5rem;
}

.implementation__head .eyebrow {
  color: var(--color-copper-dark);
}

.implementation__head h2 {
  color: var(--color-text-primary);
  margin-top: 0.5rem;
}

.implementation__lede {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-loose);
  max-width: 640px;
  margin: 0.75rem auto 0;
}

.implementation__inner {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: 3.5rem;
  align-items: center;
  margin-top: 2.5rem;
}

.implementation__visual {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.implementation__image {
  width: 100%;
  height: auto;
  display: block;
}

.implementation__copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

.implementation__sub-headline {
  font-size: var(--text-xl);
  color: var(--color-text-primary);
  font-weight: var(--weight-semibold);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
}

.implementation__sub {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-normal);
  margin: 0;
}

.btn--with-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}


/* ============================================================
   SECTION 7 — FAQs
   Dark. Single-column accordion built with native <details>.
   No JavaScript. Custom icon swaps via the [open] selector.
============================================================ */
.faqs {
  background: #111111;
  border-top: 0.5px solid #1f1f1f;
}

.faqs__heading {
  color: var(--color-white);
  margin: 0 0 2rem;
}

.faqs__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq {
  background: #161616;
  border: 0.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq[open] {
  border-color: rgba(252, 147, 101, 0.25);
}

.faq__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq__summary::-webkit-details-marker { display: none; }
.faq__summary::marker { display: none; }

.faq__summary:hover {
  background: rgba(255, 255, 255, 0.02);
}

.faq__summary:focus-visible {
  outline: 2px solid var(--color-copper-light);
  outline-offset: -2px;
  border-radius: 10px;
}

.faq__question {
  font-size: var(--text-base);
  color: var(--color-white);
  font-weight: var(--weight-semibold);
  margin: 0;
  flex: 1;
}

.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--color-copper-light);
  transition: transform var(--transition-fast);
}

.faq__icon::before {
  width: 14px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.faq__icon::after {
  width: 1.5px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.faq[open] .faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq__answer {
  padding: 0 1.25rem 1.125rem;
}

.faq__answer p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  line-height: var(--leading-loose);
  margin: 0;
  width: 100%;
}


/* ============================================================
   SECTION 8 — CTA BANNER
============================================================ */
.cta-banner {
  background: #111111;
  border-top: 0.5px solid #1f1f1f;
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(178, 93, 66, 0.1) 0%, transparent 65%);
  pointer-events: none;
}

.cta-banner__heading {
  font-size: var(--font-size-h2);
  font-weight: var(--weight-semibold);
  color: #ffffff;
  margin-bottom: 1rem;
}


/* ============================================================
   RESPONSIVE — MOBILE OVERRIDES
============================================================ */
@media (max-width: 768px) {

  /* Hero — single column, video below text */
  .hero {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  /* Single column, with the CTA below the visual rather than above
     it. .hero__actions is nested inside .hero__content, so it
     cannot be ordered past .hero__media on its own; display:
     contents lifts the copy's children into the hero grid so all five
     can be ordered together. The wrapper is a plain div, so nothing
     is lost from the accessibility tree.

     Row gap drops to 0 because it would otherwise apply between every
     line of copy, not just between the blocks. Each element's own
     margins space them, exactly as they do on desktop. */
  .hero__inner {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .hero__content {
    display: contents;
  }

  .hero .eyebrow {
    order: 1;
  }

  .hero__headline {
    order: 2;
  }

  .hero__sub {
    order: 3;
  }

  .hero__media {
    order: 4;
  }

  .hero__actions {
    order: 5;
    margin-top: 2rem;
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions > a {
    text-align: center;
    justify-content: center;
  }

  /* Big Picture — unwind absolute positioning, stack as a grid */
  .bigpic__visual {
    position: static;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
    max-width: 400px;
  }

  .bigpic__lines {
    display: none;
  }

  .bigpic__center {
    position: static;
    transform: none;
    grid-column: 1 / -1;
    justify-self: center;
    margin-bottom: 0.75rem;
  }

  .bigpic__mode {
    position: static;
    transform: none !important;
    text-align: center;
  }

  /* Customer quotes — tighter padding on mobile */
  .quote-card__text {
    padding-right: 0;
    margin-top: 2.5rem;
  }

  .quote-card__logo {
    top: 1.25rem;
    right: 1.5rem;
    max-width: 110px;
    height: 32px;
  }

  /* Tech — single column image-led cards */
  .tech__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Integration — stack, with the CTA below the hub visual. The text column
     stops being its own box so its children lay out in the stack. */
  .integration__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .integration__content {
    display: contents;
  }

  .integration__lede {
    margin-bottom: 0;
  }

  .integration__hub {
    order: 1;
    max-width: 420px;
    margin: 2.5rem auto 0;
  }

  .integration__actions {
    order: 2;
    margin-top: 2rem;
  }

  .integration__hub-name {
    font-size: var(--text-sm);
  }

  /* Implementation — stack, image above content */
  .implementation__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .implementation__visual {
    max-width: 480px;
    margin: 0 auto;
  }

  .implementation__copy {
    align-items: center;
    text-align: center;
  }

  /* FAQ — slightly tighter padding */
  .faq__summary {
    padding: 0.875rem 1rem;
  }

  .faq__question {
    font-size: var(--text-sm);
  }

  .faq__answer {
    padding: 0 1rem 1rem;
  }

}
