/* Phase 6B: commercial tightening, CTA logic, proof strip and bounded-scope visibility. */

.home-proof-strip {
  background: #081f3a;
  color: #ffffff;
  padding: clamp(1.25rem, 2.5vw, 2rem) 0;
}

.home-proof-strip__inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
}

.home-proof-strip__copy span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.home-proof-strip__copy strong {
  display: block;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.18;
  max-width: 420px;
}

.home-proof-strip__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1rem);
}

.home-proof-strip__metrics article {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: clamp(0.95rem, 1.7vw, 1.2rem);
}

.home-proof-strip__metrics strong {
  display: block;
  color: #2CA6A4;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1;
  margin-bottom: 0.45rem;
}

.home-proof-strip__metrics span {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.45;
}

.work-with-us-page--condensed .wwu-sprint-condensed-panel--diagnose {
  padding: clamp(1.75rem, 3vw, 2.75rem) !important;
}

.work-with-us-page--condensed .wwu-sprint-condensed__header--visual {
  display: grid !important;
  grid-template-columns: minmax(260px, 0.82fr) minmax(360px, 1.18fr) !important;
  gap: clamp(1.5rem, 3vw, 3rem) !important;
  align-items: center !important;
}

.work-with-us-page--condensed .wwu-diagnostic-image {
  max-width: 560px !important;
  margin: 0 !important;
}

.work-with-us-page--condensed .wwu-diagnostic-image img {
  max-height: 340px !important;
  object-fit: cover !important;
  object-position: 50% 18% !important;
  border-radius: 22px !important;
}

.work-with-us-page--condensed .wwu-sprint-condensed__intro {
  max-width: 620px !important;
}

.work-with-us-page--condensed .wwu-sprint-condensed__intro h2 {
  margin-bottom: 0.8rem !important;
}

.work-with-us-page--condensed .wwu-sprint-condensed__intro p {
  font-size: clamp(1.02rem, 1.3vw, 1.16rem) !important;
  line-height: 1.62 !important;
}

.wwu-boundary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.5vw, 1rem);
  margin: clamp(1.2rem, 2vw, 1.6rem) 0 clamp(1.4rem, 2.5vw, 2rem);
}

.wwu-boundary-strip article {
  border: 1px solid rgba(11, 37, 69, 0.1);
  border-radius: 18px;
  background: rgba(244, 246, 248, 0.74);
  padding: clamp(1rem, 1.6vw, 1.25rem);
}

.wwu-boundary-strip strong {
  display: block;
  color: var(--td-navy, #0B2545);
  font-size: 0.98rem;
  line-height: 1.3;
  margin-bottom: 0.45rem;
}

.wwu-boundary-strip span {
  display: block;
  color: var(--td-slate, #5C6B73);
  font-size: 0.93rem;
  line-height: 1.5;
}

.work-with-us-page--condensed .wwu-experience-grid--featured-only {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  max-width: 1080px !important;
  margin-inline: auto !important;
}

.work-with-us-page--condensed .wwu-experience-note {
  margin: clamp(1.1rem, 2vw, 1.6rem) auto 0 !important;
  max-width: 780px !important;
  color: var(--td-slate, #5c6b73) !important;
  font-size: 0.98rem !important;
  line-height: 1.65 !important;
  text-align: center !important;
}

.how-work-foundation-map {
  position: relative;
  display: grid;
  gap: clamp(1rem, 2vw, 1.4rem);
  padding: clamp(1rem, 2vw, 1.35rem);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(244, 246, 248, 0.95), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(11, 37, 69, 0.1);
}

.how-work-foundation-row {
  display: grid !important;
  gap: 0.75rem !important;
  align-items: stretch;
}

.how-work-foundation-row--stages {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

.how-work-foundation-row--pillars {
  grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
}

.how-work-foundation-row span {
  display: grid !important;
  place-items: center;
  min-height: 58px;
  border-radius: 16px;
  text-align: center;
  font-weight: 800;
  line-height: 1.15;
}

.how-work-foundation-row--stages span {
  background: #0B2545;
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(11, 37, 69, 0.12);
}

.how-work-foundation-row--pillars span {
  background: #ffffff;
  color: #0B2545;
  border: 1px solid rgba(44, 166, 164, 0.24);
}

.how-work-foundation-bridge {
  justify-self: center;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(44, 166, 164, 0.12);
  color: #0B2545;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .home-proof-strip__inner,
  .home-proof-strip__metrics,
  .work-with-us-page--condensed .wwu-sprint-condensed__header--visual,
  .work-with-us-page--condensed .wwu-experience-grid--featured-only,
  .wwu-boundary-strip,
  .how-work-foundation-row--stages,
  .how-work-foundation-row--pillars {
    grid-template-columns: 1fr !important;
  }

  .work-with-us-page--condensed .wwu-diagnostic-image {
    max-width: 100% !important;
  }
}

/* Phase 7D — Home pre-launch polish
   Scope: homepage only. Removes duplicated link treatment, constrains the diagnostic visual,
   and rebalances the software-enabled diagnostics section. */

/* 1. Home symptom/problem cards: the whole card is already the link; remove secondary link noise. */
.home-symptoms .home-context-link-card__meta,
.home-diagnostic-value .home-context-link-card__meta,
.home-software-diagnostics .home-context-link-card__meta {
  display: none !important;
}

.home-symptoms__grid {
  row-gap: clamp(1.2rem, 2.3vw, 1.8rem);
}

.home-symptom-card {
  min-height: 9.4rem;
  gap: 0.62rem;
}

.home-symptom-card p {
  line-height: 1.5;
}

/* 2. Diagnostic-value section: visual and cards work as a balanced pair, not a full-width billboard. */
.home-diagnostic-value__body {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(21rem, 0.78fr);
  gap: clamp(1.1rem, 2.7vw, 2rem);
  align-items: center;
  margin-bottom: clamp(1.2rem, 2.6vw, 1.9rem);
}

.home-diagnostic-value__visual {
  margin: 0;
  justify-self: stretch;
  align-self: center;
  overflow: hidden;
  border: 1px solid rgba(11, 37, 69, 0.10);
  border-radius: var(--telstar-radius-md);
  background: #FFFFFF;
  box-shadow: 0 16px 36px rgba(0, 16, 38, 0.06);
}

.home-diagnostic-value__visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: clamp(17rem, 28vw, 25rem);
  object-fit: contain;
}

.home-diagnostic-value__body .home-diagnostic-value__grid {
  grid-template-columns: 1fr;
  gap: clamp(0.8rem, 1.4vw, 1rem);
  margin-bottom: 0;
}

.home-diagnostic-value-card {
  min-height: 0;
  gap: 0.58rem;
  padding: clamp(1rem, 1.6vw, 1.22rem);
}

.home-diagnostic-value-card h3 {
  font-size: clamp(1.02rem, 1.1vw, 1.12rem);
}

.home-diagnostic-value-card p {
  font-size: 0.96rem;
  line-height: 1.5;
}

.home-diagnostic-value__decision-panel {
  margin-top: 0;
}

/* 3. Software-enabled diagnostics: compact proof card, then method cards as a row and screenshots as a clean 2x2 grid. */
.home-software-diagnostics__intro {
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 26rem);
  align-items: center;
  gap: clamp(1.1rem, 2.8vw, 2rem);
  margin-bottom: clamp(1.3rem, 2.6vw, 1.95rem);
}

.home-software-diagnostics__proof-card {
  justify-self: end;
  align-self: center;
  width: min(100%, 26rem);
  min-height: 0;
  padding: clamp(1.05rem, 1.8vw, 1.35rem);
  gap: 0.65rem;
}

.home-software-diagnostics__proof-card h3 {
  max-width: 18ch;
  font-size: clamp(1.08rem, 1.26vw, 1.22rem);
  line-height: 1.14;
}

.home-software-diagnostics__proof-card p {
  font-size: 0.94rem;
  line-height: 1.5;
}

.home-software-diagnostics__layout {
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2vw, 1.55rem);
}

.home-software-diagnostics__method {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.5vw, 1rem);
}

.home-software-step {
  grid-template-columns: 1fr;
  min-height: 10.1rem;
  gap: 0.65rem;
  padding: clamp(0.96rem, 1.55vw, 1.15rem);
}

.home-software-step h3 {
  margin-bottom: 0.25rem;
  font-size: clamp(0.98rem, 1.06vw, 1.08rem);
}

.home-software-step p {
  font-size: 0.94rem;
  line-height: 1.46;
}

.home-software-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.95rem, 1.7vw, 1.15rem);
  align-items: stretch;
}

.home-software-shot {
  height: 100%;
}

.home-software-shot__media {
  aspect-ratio: 16 / 9.9;
}

.home-software-shot__body {
  padding: clamp(0.92rem, 1.45vw, 1.06rem);
}

.home-software-shot__body span:last-child {
  font-size: 0.92rem;
  line-height: 1.44;
}

@media (max-width: 1180px) {
  .home-software-diagnostics__method {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-software-step {
    min-height: 0;
  }
}

@media (max-width: 980px) {
  .home-diagnostic-value__body,
  .home-software-diagnostics__intro {
    grid-template-columns: 1fr;
  }

  .home-diagnostic-value__visual {
    max-width: 48rem;
    justify-self: start;
  }

  .home-diagnostic-value__visual img {
    max-height: none;
  }

  .home-software-diagnostics__proof-card {
    justify-self: start;
    width: 100%;
    max-width: 42rem;
  }
}

@media (max-width: 760px) {
  .home-software-diagnostics__method,
  .home-software-gallery {
    grid-template-columns: 1fr;
  }

  .home-software-step {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .home-symptom-card,
  .home-diagnostic-value-card,
  .home-software-step {
    padding-inline: 1rem;
  }

  .home-diagnostic-value__body {
    gap: 0.9rem;
  }

  .home-diagnostic-value__visual {
    border-radius: var(--telstar-radius-sm);
  }
}

/* Phase 7E — Home targeted polish
   Scope: homepage only. Preserves the existing hero image and changes only the
   diagnostic-clarity and software-enabled diagnostics layout concerns. */

/* Diagnostic value: remove the framed image box and balance image/cards. */
.home-diagnostic-value__body {
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.72fr);
  align-items: stretch;
  gap: clamp(1rem, 2.3vw, 1.8rem);
}

.home-diagnostic-value__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-diagnostic-value__visual img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.home-diagnostic-value__body .home-diagnostic-value__grid {
  align-self: stretch;
  align-content: stretch;
  gap: clamp(0.72rem, 1.15vw, 0.95rem);
}

.home-diagnostic-value-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-items: center;
  column-gap: 0.72rem;
  row-gap: 0.48rem;
  min-height: 0;
  padding: clamp(0.9rem, 1.35vw, 1.06rem);
}

.home-diagnostic-value-card__icon {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
}

.home-diagnostic-value-card h3 {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  font-size: clamp(0.98rem, 1.04vw, 1.08rem);
  line-height: 1.14;
}

.home-diagnostic-value-card p {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 0.93rem;
  line-height: 1.45;
}

/* Software-enabled diagnostics: keep method cards compact and make screenshots supporting evidence, not the main event. */
.home-software-diagnostics__method {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.72rem, 1.2vw, 0.95rem);
}

.home-software-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 0.7rem;
  min-height: 0;
  padding: clamp(0.9rem, 1.25vw, 1.05rem);
}

.home-software-step__icon {
  grid-column: 1;
  grid-row: 1;
  margin-top: 0.02rem;
}

.home-software-step > div:not(.home-software-step__icon) {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.home-software-step h3 {
  margin: 0 0 0.28rem;
  font-size: clamp(0.94rem, 1vw, 1.02rem);
  line-height: 1.16;
}

.home-software-step p {
  font-size: 0.9rem;
  line-height: 1.42;
}

.home-software-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.65rem, 1.15vw, 0.9rem);
}

.home-software-shot {
  border-radius: var(--telstar-radius-sm);
  box-shadow: 0 10px 24px rgba(0, 16, 38, 0.055);
}

.home-software-shot__media {
  aspect-ratio: 16 / 8.7;
}

.home-software-shot__media::after {
  content: "View";
  right: 0.55rem;
  bottom: 0.55rem;
  padding: 0.28rem 0.48rem;
  font-size: 0.64rem;
}

.home-software-shot__body {
  gap: 0.28rem;
  padding: clamp(0.66rem, 1vw, 0.82rem);
}

.home-software-shot__label {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}

.home-software-shot strong {
  font-size: clamp(0.88rem, 0.95vw, 0.98rem);
  line-height: 1.14;
}

.home-software-shot__body span:last-child {
  display: none;
}

@media (max-width: 1180px) {
  .home-software-diagnostics__method,
  .home-software-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .home-diagnostic-value__body {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .home-diagnostic-value__visual {
    max-width: 54rem;
    justify-self: start;
  }

  .home-diagnostic-value__visual img {
    height: auto;
  }
}

@media (max-width: 760px) {
  .home-software-diagnostics__method,
  .home-software-gallery {
    grid-template-columns: 1fr;
  }

  .home-software-step,
  .home-diagnostic-value-card {
    grid-template-columns: auto minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .home-diagnostic-value-card p {
    grid-column: 1 / -1;
  }
}

/* Phase 8b — Homepage Pass 1 polish
   Three fixes:
   1. Proof strip metric numbers — increase size and visual weight
   2. Symptom card body text — suppress teal link colour leak
   3. Disposition paths grid — force 3-column layout to prevent orphaned chip
*/

/* ── 1. Proof strip metric numbers ── */
.home-proof-strip__metrics strong {
  font-size: clamp(2rem, 3.8vw, 3rem);
  letter-spacing: -0.02em;
}

/* ── 2. Symptom card body text — suppress inherited link colour ── */
.home-symptom-card p,
.home-symptom-card p a {
  color: var(--telstar-color-slate, #5C6B73);
}

/* Phase 8c — Homepage Pass 2: spacing rhythm, hero tightening,
   proof strip metric wrap fix, diagnostic value section rebalance.
   No source file edits. Overlay only. */

/* ── 1. Hero — reduce vertical padding to tighten the fold ── */
.hero--home.hero--image {
  padding-top: clamp(2.4rem, 4vw, 3.6rem);
  padding-bottom: clamp(2rem, 3.6vw, 3.2rem);
}

/* ── 2. Proof strip — prevent metric numbers wrapping to two lines ── */
.home-proof-strip__metrics strong {
  white-space: nowrap;
}

/* ── 3. Section spacing rhythm — consistent vertical breathing room ── */
.home-symptoms {
  padding-top: clamp(2.4rem, 4vw, 3.6rem);
  padding-bottom: clamp(2.4rem, 4vw, 3.6rem);
}

.home-diagnostic-value {
  padding-top: clamp(2.4rem, 4vw, 3.6rem);
  padding-bottom: clamp(2.4rem, 4vw, 3.6rem);
}

#software-enabled-diagnostics {
  padding-top: clamp(2.4rem, 4vw, 3.6rem);
  padding-bottom: clamp(2.4rem, 4vw, 3.6rem);
}

/* ── 4. Diagnostic value section — rebalance now the image is removed ──
   The __body was a two-column grid (image | cards).
   Now image is gone, collapse to single column and let the
   three cards sit as a 3-column row, matching the symptoms grid above. */
.home-diagnostic-value__body {
  display: block;
}

.home-diagnostic-value__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: clamp(1.2rem, 2.5vw, 1.8rem);
}

/* Restore card min-height now they sit in a full-width row */
.home-diagnostic-value-card {
  min-height: 10rem;
}

/* Decision panel — now full width, keep two-column split */
.home-diagnostic-value__decision-panel {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
}

@media (max-width: 860px) {
  .home-diagnostic-value__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-diagnostic-value__grid {
    grid-template-columns: 1fr;
  }

  .home-diagnostic-value__decision-panel {
    grid-template-columns: 1fr;
  }
}

/* Phase 8d — Homepage hero: text-only layout
   Removes the image visual column. Hero becomes a clean full-width
   text-on-dark layout. Overrides phase-7f image positioning.
   No source file edits. */

/* Hide the image visual entirely */
.hero--home.hero--image .hero__visual {
  display: none !important;
}

/* Reset the inner grid to single column, full width */
.hero--home.hero--image .hero__inner {
  display: block !important;
  min-height: 0 !important;
  width: min(calc(100% - 2rem), var(--telstar-shell)) !important;
  margin-inline: auto !important;
  padding-top: clamp(3rem, 5vw, 4.5rem) !important;
  padding-bottom: clamp(3rem, 5vw, 4.5rem) !important;
}

/* Reset hero section height — no longer needs to accommodate an image */
.hero--home.hero--image {
  min-height: 0 !important;
}

/* Copy block — full width, constrained for readability */
.hero--home.hero--image .hero__copy {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  max-width: 820px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Title — allow slightly wider at larger screens now it has full width */
.hero--home.hero--image .title-block__title {
  max-width: 16ch !important;
}

/* Subtitle — slightly wider constraint now copy has full width */
.hero--home.hero--image .title-block__subtitle {
  max-width: 52rem !important;
}

/* Remove the overlay gradients that were protecting text from the image */
.hero--home.hero--image::before {
  display: none !important;
}

/* Suppress icons on symptom cards — titles and body do the work */
.home-symptom-card .home-symptom-card__icon {
  display: none !important;
}

/* Suppress icons on diagnostic value cards */
.home-diagnostic-value-card .home-diagnostic-value-card__icon {
  display: none !important;
}

/* Phase 8e — Symptom cards: restyle to match disposition chip style
   Replaces top-border-only treatment with white card + left border,
   consistent with home-disposition-paths section.
   Links and arrow treatment preserved via existing h3::after rule.
   Icons already hidden by phase-8d. */

.home-symptom-card {
  background: #fff !important;
  border-top: none !important;
  border: 1px solid rgba(11, 37, 69, 0.10) !important;
  border-left: 4px solid var(--telstar-teal, #2CA6A4) !important;
  border-radius: 0.5rem !important;
  padding: 1.25rem 1.4rem !important;
  box-shadow: 0 1px 3px rgba(11, 37, 69, 0.07) !important;
  min-height: 0 !important;
  gap: 0.5rem !important;
}

.home-symptom-card h3 {
  font-size: clamp(1.02rem, 1.2vw, 1.14rem) !important;
}

.home-symptom-card p {
  font-size: clamp(0.88rem, 0.95vw, 0.95rem) !important;
  line-height: 1.5 !important;
  color: var(--telstar-color-slate, #5C6B73) !important;
}

/* Hover: deepen the left border to royal blue, lift the card slightly */
.home-symptom-card.home-context-link-card:hover,
.home-symptom-card.home-context-link-card:focus-visible {
  border-left-color: var(--telstar-secondary, #1E5AA8) !important;
  border-top-color: rgba(11, 37, 69, 0.10) !important;
  box-shadow: 0 4px 12px rgba(11, 37, 69, 0.10) !important;
}

/* Phase 8f — Decision panel: full-width dark navy band
   Unifies the two-box approach into a single authoritative panel.
   Both approach and avoid content sit side by side on dark navy.
   No source file edits. */

/* Outer panel — full-width navy band */
.home-diagnostic-value__decision-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 0;
  align-items: stretch;
  background: var(--telstar-primary, #0B2545);
  border-radius: var(--telstar-radius-sm);
  overflow: hidden;
  border: none;
}

/* Left column — decision rule */
.home-diagnostic-value__approach {
  background: transparent;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.10);
  padding: clamp(1.5rem, 2.8vw, 2.2rem);
  color: rgba(255, 255, 255, 0.88);
}

/* Right column — avoid list */
.home-diagnostic-value__avoid {
  background: transparent;
  border: none;
  padding: clamp(1.5rem, 2.8vw, 2.2rem);
  color: rgba(255, 255, 255, 0.78);
}

/* Both headings — white */
.home-diagnostic-value__approach h3,
.home-diagnostic-value__avoid h3 {
  color: #ffffff;
}

/* Avoid list items — light text */
.home-diagnostic-value__avoid li {
  color: rgba(255, 255, 255, 0.78);
}

/* Avoid bullet dots — teal on dark background */
.home-diagnostic-value__avoid li::before {
  background: var(--telstar-teal, #2CA6A4);
}

/* Approach paragraph */
.home-diagnostic-value__approach p {
  color: rgba(255, 255, 255, 0.78);
}

/* Responsive — stack vertically on narrow screens */
@media (max-width: 860px) {
  .home-diagnostic-value__decision-panel {
    grid-template-columns: 1fr;
  }

  .home-diagnostic-value__approach {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  }
}

.home-diagnostic-value {
  padding-top: clamp(1.5rem, 2.5vw, 2rem);
}

/* Phase 8g — ITZAMNA section: diagnostic spine replaces screenshot gallery.
   Method cards restyled to match symptom/disposition card pattern.
   Icons suppressed. */

/* ── Method cards container — stack vertically ── */
.home-software-diagnostics__method {
  grid-template-columns: 1fr !important;
  gap: 0.85rem !important;
}

/* ── Method cards — match symptom card style ── */
.home-software-step {
  display: block !important;
  background: #fff !important;
  border: 1px solid rgba(11, 37, 69, 0.10) !important;
  border-left: 4px solid var(--telstar-teal, #2CA6A4) !important;
  border-radius: 0.5rem !important;
  padding: 1.1rem 1.25rem !important;
  box-shadow: 0 1px 3px rgba(11, 37, 69, 0.07) !important;
  gap: 0 !important;
}

.home-software-step__icon,
.home-software-step > div:first-child:has(.telstar-icon-badge) {
  display: none !important;
}

/* Target the icon badge wrapper directly */
.home-software-step .telstar-icon-badge {
  display: none !important;
}

.home-software-step h3 {
  font-size: clamp(0.98rem, 1.1vw, 1.08rem) !important;
  margin-bottom: 0.35rem !important;
}

.home-software-step p {
  font-size: 0.9rem !important;
  color: var(--telstar-color-slate, #5C6B73) !important;
}

.home-software-step.home-context-link-card:hover,
.home-software-step.home-context-link-card:focus-visible {
  border-left-color: var(--telstar-secondary, #1E5AA8) !important;
  box-shadow: 0 4px 12px rgba(11, 37, 69, 0.10) !important;
}

/* ── Diagnostic spine container ── */
.home-diagnostic-spine {
  background: var(--telstar-primary, #0B2545);
  border-radius: var(--telstar-radius-sm, 0.5rem);
  padding: clamp(1.5rem, 2.8vw, 2.2rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-self: stretch;
}

.home-diagnostic-spine__label {
  font-family: var(--telstar-font-heading, 'Inter', sans-serif);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--telstar-teal, #2CA6A4);
}

/* ── Spine steps — vertical stack ── */
.home-diagnostic-spine__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.home-diagnostic-spine__step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 0.375rem;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.home-diagnostic-spine__step--final {
  border-left: 3px solid var(--telstar-teal, #2CA6A4);
  background: rgba(44, 166, 164, 0.08);
}

.home-diagnostic-spine__step-name {
  font-family: var(--telstar-font-heading, 'Inter', sans-serif);
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  min-width: 7.5rem;
}

.home-diagnostic-spine__step-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.4;
}

.home-diagnostic-spine__arrow {
  color: var(--telstar-teal, #2CA6A4);
  font-size: 0.9rem;
  padding: 0.2rem 0 0.2rem 1rem;
  opacity: 0.5;
}

.home-diagnostic-spine__note {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.55;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
}

/* ── Layout: method cards left, spine right ── */
.home-software-diagnostics__layout {
  grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.28fr) !important;
  align-items: stretch !important;
}

@media (max-width: 980px) {
  .home-software-diagnostics__layout {
    grid-template-columns: 1fr !important;
  }

  .home-diagnostic-spine__steps {
    gap: 0;
  }
}

/* Phase 8g refinement — tighten spine layout and fix method card icon spacing */

/* Remove the arrow rows — they add too much height */
.home-diagnostic-spine__arrow {
  display: none;
}

/* Tighten the step rows */
.home-diagnostic-spine__steps {
  gap: 0.35rem !important;
}

.home-diagnostic-spine__step {
  padding: 0.6rem 0.9rem !important;
}

/* Method cards — force single column layout, remove icon grid gap */
.home-software-step {
  grid-template-columns: 1fr !important;
}

.home-software-step > *:first-child:not(h3):not(p) {
  display: none !important;
}

/* Spine step refinement — consistent teal border on all steps, larger text */

/* All steps get teal left border — consistent with card language */
.home-diagnostic-spine__step {
  border-left: 3px solid var(--telstar-teal, #2CA6A4) !important;
}

/* Remove special treatment from final step — now all are equal */
.home-diagnostic-spine__step--final {
  border-left: 3px solid var(--telstar-teal, #2CA6A4) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

/* Larger text, remove fixed min-width so columns share space naturally */
.home-diagnostic-spine__step-name {
  font-size: 1rem !important;
  min-width: 6.5rem !important;
}

.home-diagnostic-spine__step-desc {
  font-size: 0.92rem !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

/* Spine step alignment — two-column grid so descriptions always line up */
.home-diagnostic-spine__step {
  display: grid !important;
  grid-template-columns: 9rem 1fr !important;
  align-items: center !important;
  gap: 0.75rem !important;
}

.home-diagnostic-spine__step-name {
  min-width: 0 !important;
  white-space: nowrap !important;
}

.home-diagnostic-spine__step-desc {
  min-width: 0 !important;
}

/* ── Diagnostic value cards — match symptom/disposition card style ── */
.home-diagnostic-value-card {
  background: #fff !important;
  border: 1px solid rgba(11, 37, 69, 0.10) !important;
  border-left: 4px solid var(--telstar-teal, #2CA6A4) !important;
  border-radius: 0.5rem !important;
  box-shadow: 0 1px 3px rgba(11, 37, 69, 0.07) !important;
  min-height: 0 !important;
}

.home-diagnostic-value-card:hover,
.home-diagnostic-value-card.home-context-link-card:hover,
.home-diagnostic-value-card.home-context-link-card:focus-visible {
  border-left-color: var(--telstar-secondary, #1E5AA8) !important;
  box-shadow: 0 4px 12px rgba(11, 37, 69, 0.10) !important;
}

/* ── Proof card — remove icon, force title to single line ── */
.home-software-diagnostics__proof-icon {
  display: none !important;
}

.home-software-diagnostics__proof-card h3 {
  font-size: clamp(1rem, 1.2vw, 1.15rem) !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Proof card title — remove truncation, tighten for two-line display */
.home-software-diagnostics__proof-card h3 {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.03em !important;
}

/* Phase 8h — Homepage polish: background alternation, link colour
   suppression in body text, conversion panel copy improvements. */

/* ── 1. Section background alternation ──
   Hero:              deep navy (existing)
   Symptoms:          white
   Proof strip:       deep navy (existing)
   Disposition paths: cool grey surface
   Create clarity:    white
   ITZAMNA:           cool grey surface
*/

.home-symptoms {
  background: var(--telstar-surface-high, #ffffff);
}

.home-diagnostic-value {
  background: var(--telstar-surface-high, #ffffff);
}

#software-enabled-diagnostics {
  background: #F7F8FA;
}

/* ── 2. Suppress teal link colour leaking into symptom card body text ── */
.home-symptom-card p,
.home-symptom-card p a,
.home-symptom-card p strong {
  color: var(--telstar-text-muted, #5C6B73) !important;
  text-decoration: none !important;
}

/* ── 3. Conversion panel — increase heading size and weight for impact ── */
.home-software-diagnostics__cta-copy h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.9rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.03em !important;
  max-width: 26ch !important;
}

.home-software-diagnostics__cta-copy p {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem) !important;
  line-height: 1.65 !important;
  max-width: 52ch !important;
  margin-top: 0.75rem !important;
  color: rgba(255, 255, 255, 0.78) !important;
}

/* ── 4. Proof strip — left copy weight and sizing ── */
.home-proof-strip__copy span {
  font-size: 0.72rem !important;
  letter-spacing: 0.14em !important;
  color: rgba(255, 255, 255, 0.55) !important;
  margin-bottom: 0.5rem !important;
}

.home-proof-strip__copy strong {
  font-size: clamp(1rem, 1.6vw, 1.3rem) !important;
  line-height: 1.25 !important;
  color: rgba(255, 255, 255, 0.92) !important;
}

/* ── 5. Decision panel — heading lift ── */
.home-diagnostic-value__approach h3 {
  font-size: clamp(1.15rem, 1.5vw, 1.32rem) !important;
  letter-spacing: -0.025em !important;
  margin-bottom: 0.85rem !important;
}

.home-diagnostic-value__approach p {
  font-size: clamp(0.95rem, 1.05vw, 1.02rem) !important;
  line-height: 1.65 !important;
  color: rgba(255, 255, 255, 0.82) !important;
}

/* Loosen CTA panel heading width constraint */
.home-software-diagnostics__cta-copy h3 {
  max-width: 38ch !important;
}
