/* ============================================================
   homepage.css — Mastery Logistics Systems Homepage
   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
============================================================ */


/* ============================================================
   SECTION 1 — HERO
   Three layers stacked:
     z-index 0  →  .hero__bg     (background image)
     z-index 1  →  .hero__overlay (copper radial glow on top of image)
     z-index 2  →  .hero__inner   (text + buttons, untinted)
============================================================ */
.hero {
  position: relative;
  background-color: #0a0a0a;
  /* Leaves a constant 12rem below the hero at any viewport height. The nav
     takes 3.5rem of that, so about 8.5rem of the trusted strip lands above
     the fold: enough for the label and the full logo row. */
  min-height: calc(100vh - 12rem);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.38;
  pointer-events: none;
  user-select: none;
}

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

.hero__inner {
  position: relative;
  z-index: 2;
  /* The hero centres its content, so this padding only decides how short the
     hero may get. Keeping it modest means the copy still fits inside the
     min-height on a short laptop, which is what keeps the logo strip in view. */
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.hero__content {
  max-width: 720px;
}

.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-bottom: 1.5rem;
  margin-top: 0.75rem;
}

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

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


/* ============================================================
   SECTION 2 — TRUSTED BY (auto-scrolling marquee)
============================================================ */
.trusted {
  background: #111111;
  border-top: 0.5px solid #1f1f1f;
  border-bottom: 0.5px solid #1f1f1f;
  padding: 1.75rem 0 2.5rem;
}

.trusted__label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-text-inverse-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 1.25rem;
}

.trusted__slider {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 8%, black 92%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, black 8%, black 92%, transparent 100%);
}

.trusted__track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  animation: trustedScroll 130s linear infinite; /* scales with the logos per loop half, keeping the scroll speed steady */
}

.trusted__slider:hover .trusted__track {
  animation-play-state: paused;
}

@keyframes trustedScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.trusted__logo {
  flex: 0 0 auto;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trusted__logo img {
  height: 100%;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity var(--transition-normal);
}

.trusted__slider:hover .trusted__logo img {
  opacity: 1;
}


/* ============================================================
   SECTION 3 — THE CHALLENGE
   Left-aligned title block — constrained by parent column,
   no additional max-width needed.
============================================================ */
.problem {
  background: var(--color-white);
}

.problem__inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 5rem;
  align-items: start;
}

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

.problem__intro {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: var(--leading-loose);
  margin: 0;
}

.problem__points {
  display: flex;
  flex-direction: column;
}

.problem__point {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--color-border);
}

.problem__point:first-child {
  border-top: none;
  padding-top: 0;
}

.problem__point:last-child {
  padding-bottom: 0;
}

.problem__point-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  background: var(--color-bg-subtle);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.problem__point-text {
  flex: 1;
  min-width: 0;
}

.problem__point-text h3 {
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin-bottom: 0.4rem;
}

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


/* ============================================================
   SECTION 4 — THE SOLUTION (CSS-only tabbed)
   Three personas: Carriers / Brokers / Private fleets.
   Each tab swaps headline, bullets, and screenshot using only
   :checked + sibling-combinator CSS. No JavaScript required.

   Centered title block — per convention, h2 has no max-width
   constraint. Headline flows naturally on a single line at
   desktop and wraps gracefully at narrower viewports.
============================================================ */
.solution {
  scroll-margin-top: 4.5rem;
  background: #111111;
  border-top: 0.5px solid #1f1f1f;
  position: relative;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.solution::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(178, 93, 66, 0.08) 0%, transparent 55%);
  pointer-events: none;
}

.solution .container {
  position: relative;
  z-index: 1;
}

/* The native radio group owns selection and keyboard behavior. Its labels
   remain the visible controls while the inputs stay available to assistive
   technology and expose focus on the matching label. */
.solution__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Centered section header — no max-width on the block, h2 flows naturally */
.solution__head {
  text-align: center;
  margin: 0 auto 2rem;
}

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

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

/* Tab strip — centered horizontally to align with the header above */
.solution__tabs {
  display: flex;
  gap: 0.625rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.solution__tab {
  padding: 0.625rem 1.25rem;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
  white-space: nowrap;
}

.solution__tab:hover {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.solution__tab:has(.solution__radio:focus-visible) {
  outline: 2px solid var(--color-copper-light);
  outline-offset: 2px;
}

.solution__tab:has(.solution__radio:checked) {
  background: var(--gradient-copper);
  color: var(--color-white);
  border-color: transparent;
  font-weight: var(--weight-semibold);
}

.solution__panels {
  position: relative;
}

.solution__panel {
  display: none;
  animation: solutionFade 0.25s ease;
}

@keyframes solutionFade {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.solution:has(#solution-tab-carriers:checked) .solution__panel[data-panel="carriers"],
.solution:has(#solution-tab-brokers:checked) .solution__panel[data-panel="brokers"],
.solution:has(#solution-tab-shippers:checked) .solution__panel[data-panel="shippers"] {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .solution__panel {
    animation: none;
  }
}

/* Panel body — stays left-aligned so the two-column content
   reads naturally even though the header above is centered */
.solution__panel-inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4rem;
  align-items: center;
  text-align: left;
}

.solution__headline {
  color: var(--color-white);
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 1.5rem;
}

.solution__bullets {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.solution__bullet {
  display: flex;
  gap: 1rem;
  align-items: stretch;
}

.solution__bullet-bar {
  flex-shrink: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--color-copper-light), var(--color-copper));
  border-radius: 2px;
}

.solution__bullet h4 {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-white);
  line-height: 1.4;
  margin: 0;
  padding: 0.25rem 0;
}

.solution__link {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--color-copper-light);
  font-weight: 500;
  text-decoration: none;
}

.solution__link:hover {
  text-decoration: underline;
}

.solution__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.solution__screenshot {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.solution__screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 20px rgba(252, 147, 101, 0.6)) drop-shadow(0 0 50px rgba(252, 147, 101, 0.3));
}

.solution__screenshot-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem;
  text-align: center;
}

.solution__screenshot-placeholder-title {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.5);
  font-weight: var(--weight-medium);
}

.solution__screenshot-placeholder-subtitle {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


/* ============================================================
   SECTION 5 — ROI STATS SLIDER
   Left-aligned title block.
============================================================ */
.roi {
  background: #0a0a0a;
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
  overflow: hidden;
}

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

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

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

.newsroom__summary {
  max-width: 44rem;
  margin-top: 0.75rem;
  color: var(--color-text-secondary);
}

.roi__sub {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--text-base);
  margin-bottom: 3rem;
}

.roi__slider-wrap {
  position: relative;
  overflow: hidden;
  cursor: grab;
  padding: 0 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.roi__slider-wrap:active {
  cursor: grabbing;
}

.roi__track {
  display: flex;
  gap: 2rem;
  transition: transform 0.4s ease;
  will-change: transform;
}

.roi__card {
  flex: 0 0 auto;
  background: #1a1a1a;
  border: 0.5px solid #2a2a2a;
  border-radius: 10px;
  padding: 2.5rem 2.25rem;
  min-width: 0;
  user-select: none;
  display: flex;
  flex-direction: column;
}

.roi__card-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-copper-light);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 1rem;
}

.roi__card-stat {
  font-size: 3rem;
  font-weight: var(--weight-semibold);
  color: var(--color-white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.roi__card-bar {
  width: 48px;
  height: 3px;
  background: linear-gradient(135deg, #fc9365, #b25d42);
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.roi__card-desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  line-height: var(--leading-normal);
  margin: 0;
}

.roi__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 0 2rem;
}

.roi__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.roi__btn:hover {
  border-color: var(--color-copper);
  color: var(--color-copper);
}

.roi__dots {
  display: flex;
  gap: 2px;
  align-items: center;
}

.roi__dot {
  position: relative;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.roi__dot::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: all var(--transition-fast);
}

.roi__dot.is-active::before {
  background: var(--color-copper);
  width: 24px;
  border-radius: 3px;
}

.roi__counter {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  min-width: 40px;
  text-align: center;
}


/* ============================================================
   SECTION 6 — ONE PLATFORM, EVERY MODE
   Centered title block — sub-text constrained to 640px for
   line-length readability, h2 flows naturally.
============================================================ */
.platform {
  background: #ffffff;
}

.platform__header {
  margin-bottom: 3.5rem;
}

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

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

/* Platform capability cards grid */
.platform__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.platform__card {
  display: flex;
  flex-direction: column;
  padding: 1.375rem 1.5rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.platform__card:hover {
  border-color: var(--color-copper);
  box-shadow: var(--shadow-sm);
}

.platform__card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(178, 93, 66, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-copper);
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.platform__card-name {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

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

.platform__cta {
  margin-top: 3rem;
}


/* ============================================================
   SECTION 7 — WERNER PARTNERSHIP VIDEO
   Light warm. Two-column: content left, video right.
============================================================ */
.werner-feature {
  background: #faf6f3;
  border-top: 0.5px solid rgba(178, 93, 66, 0.12);
}

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

.werner-feature__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

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

.werner-feature__heading {
  font-size: var(--font-size-h2);
  font-weight: var(--weight-semibold);
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0;
}

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

.werner-feature__media {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.werner-feature__video {
  width: 100%;
  height: auto;
  display: block;
}


/* ============================================================
   SECTION 8 — NEWSROOM
   Left-aligned title block with view-all link to the right.
============================================================ */
.newsroom {
  background: #0d0d0d;
  border-top: 0.5px solid #1f1f1f;
}

.newsroom__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

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

.newsroom__header h2 {
  color: var(--color-white);
  margin: 0.5rem 0 0;
}

.newsroom__view-all {
  font-size: var(--text-sm);
  color: var(--color-copper-light);
  font-weight: var(--weight-medium);
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.newsroom__view-all:hover {
  color: var(--color-copper);
}

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

.newsroom__card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition-normal);
}

.newsroom__card:hover {
  transform: translateY(-3px);
}

.newsroom__card:hover .newsroom__card-title {
  color: var(--color-copper-light);
}

.newsroom__card-thumb {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  margin-bottom: 1.125rem;
  background: #1a1a1a;
  border: 0.5px solid rgba(255, 255, 255, 0.08);
}

.newsroom__card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.newsroom__card:hover .newsroom__card-thumb img {
  transform: scale(1.04);
}

.newsroom__card-thumb-placeholder {
  position: absolute;
  inset: 0;
}

.newsroom__card-thumb-placeholder--copper {
  background: linear-gradient(135deg, #2a1f1a 0%, #4a2f24 100%);
}

.newsroom__card-thumb-placeholder--teal {
  background: linear-gradient(135deg, #1f2a2a 0%, #2f4a48 100%);
}

.newsroom__card-thumb-placeholder--neutral {
  background: linear-gradient(135deg, #1f1f25 0%, #2a2a35 100%);
}

.newsroom__card-tag {
  font-size: var(--text-xs);
  color: var(--color-copper-light);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.newsroom__card-title {
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-white);
  line-height: 1.4;
  margin: 0 0 0.625rem;
  transition: color var(--transition-fast);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.newsroom__card-date {
  font-size: var(--text-sm);
  color: var(--color-text-inverse-muted);
  margin: auto 0 0;
}


/* ============================================================
   SECTION 8 — CTA BANNER
   Centered title block — h2 flows at its natural width
   (no max-width constraint per the title block convention).
============================================================ */
.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 { min-height: auto; }

  .hero__inner {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .hero__sub-extended {
    display: none;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  /* Marquee */
  .trusted__track { gap: 2.5rem; }
  .trusted__logo  { height: 28px; }

  /* Challenge section */
  .problem__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .problem__point {
    padding: 1.25rem 0;
  }

  /* Solution section — tab strip can scroll horizontally if it
     overflows. On mobile, tabs start from the left edge of the
     scroll container so users can swipe through them naturally. */
  .solution__tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-left: calc(var(--container-px) * -1);
    margin-right: calc(var(--container-px) * -1);
    padding-left: var(--container-px);
    padding-right: var(--container-px);
    scrollbar-width: none;
  }

  .solution__tabs::-webkit-scrollbar {
    display: none;
  }

  .solution__tab {
    padding: 0.5rem 1rem;
    font-size: var(--text-sm);
  }

  .solution__panel-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .solution__media {
    aspect-ratio: 16 / 10;
  }

  /* ROI cards */
  .roi__card {
    padding: 2rem;
  }

  .roi__card-stat {
    font-size: 2.5rem;
  }

  .roi__controls {
    gap: 0.5rem;
    padding: 0;
  }

  /* Nothing rotates on its own at this width, so there is no rotation to
     pause and the control has nothing to say. */
  .roi__rotation {
    display: none;
  }

  .roi__counter {
    display: none;
  }

  .platform__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 2rem;
  }

  /* Werner feature. The CTA sits below the video on mobile, so the text
     column stops being its own box and its children lay out in the stack. */
  .werner-feature__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }

  .werner-feature__content {
    display: contents;
  }

  .werner-feature__media {
    order: 1;
    margin-top: 0.75rem;
  }

  .werner-feature__content > .btn-primary-lg {
    order: 2;
    align-self: flex-start;
    margin-top: 0.75rem;
  }

  /* Newsroom */
  .newsroom__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .newsroom__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

}

/* ============================================================
   MEET LEO SPOTLIGHT
   Light warm band between the ROI results and the platform
   section. Content left, shared leo-chat example right
   (see /leo.css).
============================================================ */
.leo-spotlight {
  background: #faf6f3;
}

.leo-spotlight__inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

.leo-spotlight__content h2 {
  margin: 0.75rem 0 1.25rem;
}

.leo-spotlight__summary {
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  max-width: 520px;
}

/* copper-dark (7:1 on the tan band) keeps WCAG AA contrast;
   primary copper measures only ~4.3:1 here */
.leo-spotlight__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--color-copper-dark);
  font-weight: var(--weight-semibold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.leo-spotlight__link:hover {
  color: var(--color-copper-darker);
}

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

.leo-spotlight__link:hover .leo-spotlight__link-arrow {
  transform: translateX(3px);
}

.leo-spotlight__media {
  width: 100%;
}

@media (max-width: 768px) {
  /* The link sits below the chat example on mobile, so the text column
     stops being its own box and its children lay out in the stack. */
  .leo-spotlight__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .leo-spotlight__content {
    display: contents;
  }

  .leo-spotlight__summary {
    margin-bottom: 0;
  }

  .leo-spotlight__media {
    order: 1;
    margin-top: 2.5rem;
  }

  .leo-spotlight__link {
    order: 2;
    align-self: flex-start;
    margin-top: 2rem;
  }
}
