/* ========================================================================== 
   LexDigital responsive hardening
   --------------------------------------------------------------------------
   Loaded last on every production page. These rules are deliberately
   structural: they prevent intrinsic content widths from escaping grid/flex
   tracks without changing each page's art direction.
   ========================================================================== */

html,
body {
  max-width: 100%;
}

body {
  overflow-x: clip;
}
main,
header,
footer,
section,
.shell,
.site-main,
.hero-inner,
.section-heading,
.ranking-layout,
.ranking-copy,
.include-grid,
.include-card,
.process-system,
.process-step,
.process-step-head,
.process-step-body,
.faq-layout,
.faq-intro,
.faq-list {
  min-width: 0;
}

img,
video,
canvas,
svg,
iframe,
table {
  max-width: 100%;
}

input,
select,
textarea,
button {
  min-width: 0;
  max-width: 100%;
}

.section-title,
.ranking-copy .section-title,
.process-heading .section-title,
.consultation-title,
.legal-title,
.error-title {
  max-width: 100%;
  text-wrap: balance;
}
.hero-copy,
.section-copy,
.include-card p,
.process-step-body p,
.faq-answer-inner p,
.legal-copy {
  overflow-wrap: break-word;
}

/* Homepage case studies stay three-up on laptops, then become a readable
   single column at the narrow-tablet boundary. Container-relative type keeps
   every metric inside its own third of the ribbon while three-up is active. */
.cs-card,
.cs-ribbon,
.cs-metric,
.cs-value,
.cs-label {
  min-width: 0;
}

.cs-value {
  max-width: 100%;
  font-size: var(--type-metric-box);
}

@media (max-width: 980px) and (min-width: 821px) {
  .cs-card {
    padding: clamp(18px, 2.2vw, 24px);
  }

  .cs-ribbon {
    column-gap: 0;
  }

  .cs-metric {
    padding-inline: clamp(5px, 1vw, 9px);
  }

  .cs-value { font-size: var(--type-metric-box); }

  .cs-label { font-size: var(--type-metric-label); }
}

@media (max-width: 760px) {
  .cs-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* The Growth Stack monolith is a genuine three-panel component on desktop.
   It becomes a tab bar plus stacked content before its intrinsic labels begin
   clipping, rather than squeezing three unusably narrow columns. */
@media (max-width: 1180px) and (min-width: 901px) {
  .gs .monolith {
    grid-template-columns: minmax(190px, .78fr) minmax(0, 1.55fr) minmax(180px, .78fr);
  }

  .gs .v-rail .tab-btn {
    padding: 16px 14px;
  }

  .gs .v-rail .tb-lbl {
    min-width: 0;
    font-size: var(--type-nav);
    overflow-wrap: anywhere;
  }

  .gs .v-mid {
    padding-inline: clamp(24px, 2.6vw, 36px);
  }

  .gs .v-right {
    padding-inline: clamp(20px, 2.2vw, 30px);
  }
}

@media (max-width: 900px) {
  .gs .monolith {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .gs .v-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .gs .v-rail .tab-btn {
    min-width: 0;
    min-height: 72px;
    padding: 14px 16px;
    border-right: 1px solid var(--border);
  }

  .gs .v-rail .tab-btn:nth-child(2n) {
    border-right: 0;
  }

  .gs .v-rail .tab-btn:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .gs .v-rail .tb-lbl {
    min-width: 0;
    font-size: var(--type-nav);
    overflow-wrap: anywhere;
  }

  .gs .v-mid {
    min-width: 0;
    padding: clamp(26px, 6vw, 42px);
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .gs .v-right {
    min-width: 0;
    padding: clamp(26px, 6vw, 42px);
  }

  .gs .p-actions,
  .gs .monolith .p-actions {
    min-width: 0;
    flex-wrap: wrap;
  }
}

/* At the narrow-laptop edge the About section is still a two-column
   composition, so keep its metric rail at two columns until the body itself
   becomes full width. */
@media (min-width: 861px) and (max-width: 900px) {
  body[data-page="home"] .about-section-b .about-b-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(3, minmax(106px, 1fr)) !important;
  }

  body[data-page="home"] .about-section-b .about-b-stats .stat-item {
    border-left: 0 !important;
    border-top: 0 !important;
  }

  body[data-page="home"] .about-section-b .about-b-stats .stat-item:nth-child(even) {
    border-left: 1px solid rgba(143,179,204,.14) !important;
  }

  body[data-page="home"] .about-section-b .about-b-stats .stat-item:nth-child(n + 3) {
    border-top: 1px solid rgba(143,179,204,.14) !important;
  }
}

@media (max-width: 720px) {
  .big-num {
    max-width: 100%;
    font-size: var(--type-metric-hero);
    white-space: nowrap;
  }
}

@media (max-width: 700px) {
  .eyebrow {
    gap: 14px;
  }

  .eyebrow::before {
    flex-basis: 24px;
    width: 24px;
  }

  .hero-stats {
    width: 100%;
  }

  .hero-stat {
    min-width: 0;
  }

  .hero-stat strong,
  .hero-stat span {
    overflow-wrap: anywhere;
  }

  .process-step h3,
  .process-step-body,
  .faq-question span:first-child {
    min-width: 0;
    overflow-wrap: break-word;
  }
}

@media (max-width: 420px) {
  .ranking-copy .section-title {
    font-size: clamp(2.05rem, 10.3vw, 2.65rem);
  }

  .ranking-copy .section-title .serif,
  .section-title .serif {
    white-space: normal;
    overflow-wrap: normal;
  }

  .paid-panel {
    --paid-panel-pad: 20px;
    width: 100%;
  }

  .paid-panel-head {
    min-width: 0;
    align-items: flex-start;
    gap: 10px;
  }

  .paid-panel-title {
    min-width: 0;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .paid-replay {
    margin-top: 1px;
  }

  .hero-stats {
    gap: 0;
  }

  .hero-stat strong {
    font-size: clamp(1.55rem, 8.2vw, 1.8rem);
  }

  .hero-stat span {
    font-size: .52rem;
  }
}

/* A readable small-screen table without a clipped 520px minimum. */
@media (max-width: 600px) {
  .legal-table-wrap {
    overflow: visible;
  }

  .legal-table,
  .legal-table tbody,
  .legal-table tr,
  .legal-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .legal-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .legal-table tbody {
    display: grid;
    gap: 14px;
  }

  .legal-table tr {
    padding: 6px 12px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,.018);
  }

  .legal-table td {
    display: grid;
    grid-template-columns: minmax(84px, .38fr) minmax(0, 1fr);
    gap: 12px;
    padding: 11px 0;
    overflow-wrap: anywhere;
  }

  .legal-table td::before {
    color: var(--muted);
    font-family: var(--display);
    font-size: var(--type-caption);
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.4;
    text-transform: uppercase;
  }

  .legal-table td:nth-child(1)::before { content: 'Category'; }
  .legal-table td:nth-child(2)::before { content: 'Current use'; }
  .legal-table td:nth-child(3)::before { content: 'Purpose'; }
}

/* ========================================================================== 
   Homepage mobile layout system
   --------------------------------------------------------------------------
   The homepage contains several desktop-only compositions. On touch-sized
   viewports they become normal-flow, content-led components with one shared
   section rhythm. These selectors intentionally outrank the page's embedded
   legacy media queries because this stylesheet is the final cascade layer.
   ========================================================================== */

@media (max-width: 900px) {
  /* The desktop scroll affordances add noise and cover content on phones. */
  body[data-page="home"] .hero-arrow,
  body[data-page="home"] .sec-compass {
    display: none !important;
  }

  /* Growth Stack: a compact 2x2 service selector followed by two full-width
     information panels. Nothing is allowed to retain a desktop column width. */
  body[data-page="home"] .gs .monolith {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  body[data-page="home"] .gs .glow-layer {
    display: none !important;
  }

  body[data-page="home"] .gs .v-rail {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100% !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--border) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  body[data-page="home"] .gs .v-rail .tab-btn {
    display: grid !important;
    grid-template-columns: 20px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
    min-height: 76px !important;
    padding: 14px !important;
    border-right: 1px solid var(--border) !important;
    border-bottom: 1px solid var(--border) !important;
    text-align: left !important;
  }

  body[data-page="home"] .gs .v-rail .tab-btn:nth-child(2n) {
    border-right: 0 !important;
  }

  body[data-page="home"] .gs .v-rail .tab-btn:nth-last-child(-n + 2) {
    border-bottom: 0 !important;
  }

  body[data-page="home"] .gs .v-rail .tb-icon {
    width: 20px !important;
    font-size: 20px !important;
  }

  body[data-page="home"] .gs .v-rail .tb-lbl {
    display: block !important;
    min-width: 0 !important;
    width: auto !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    font-size: var(--type-nav) !important;
    line-height: 1.25 !important;
  }

  body[data-page="home"] .gs .v-mid,
  body[data-page="home"] .gs .v-right {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: clamp(24px, 6vw, 38px) !important;
    border-right: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  body[data-page="home"] .gs .v-mid {
    border-bottom: 1px solid var(--border) !important;
  }

  body[data-page="home"] .gs .v-mid-content,
  body[data-page="home"] .gs .monolith .p-copy,
  body[data-page="home"] .gs .monolith .p-actions,
  body[data-page="home"] .gs .monolith .p-subs-grid {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body[data-page="home"] .gs .monolith .p-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 18px 24px !important;
  }

  body[data-page="home"] .gs .monolith .p-desc,
  body[data-page="home"] .gs .monolith .p-appro-txt,
  body[data-page="home"] .gs .monolith .p-sub {
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  /* Protocol: remove the pinned two-column choreography on tablets/phones.
     The introduction and all three phases now participate in normal scroll. */
  body[data-page="home"] .proto-section .scroll-wrap {
    height: auto !important;
    min-height: 0 !important;
  }

  body[data-page="home"] .proto-section .scroll-pin {
    position: relative !important;
    inset: auto !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  body[data-page="home"] .proto-section .pin-inner {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    padding-top: var(--mobile-section-space, 76px) !important;
    padding-bottom: var(--mobile-section-space, 76px) !important;
  }

  body[data-page="home"] .proto-section .pin-left,
  body[data-page="home"] .proto-section .pin-right {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    transform: none !important;
  }

  body[data-page="home"] .proto-section .pin-left {
    margin-bottom: clamp(30px, 7vw, 44px) !important;
  }

  body[data-page="home"] .proto-section .pin-right {
    padding: 0 !important;
    will-change: auto !important;
  }

  body[data-page="home"] .proto-section .pin-right::before,
  body[data-page="home"] .proto-section .pstep::before,
  body[data-page="home"] .proto-section .pstep::after,
  body[data-page="home"] .proto-section .prog {
    display: none !important;
  }

  body[data-page="home"] .proto-section .pstep {
    opacity: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: clamp(24px, 6vw, 36px) !important;
    margin: 0 0 12px !important;
    border: 1px solid rgba(143,179,204,.16) !important;
    background: rgba(255,255,255,.014) !important;
  }

  body[data-page="home"] .proto-section .pstep:last-child {
    margin-bottom: 0 !important;
  }

  body[data-page="home"] .proto-section .ps-text {
    max-width: 100% !important;
    color: rgba(255,255,255,.72) !important;
    animation: none !important;
  }

  body[data-page="home"] .proto-section .proto-cta {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  /* Preserve useful side-by-side comparisons throughout the mobile/tablet
     range instead of turning compact metric sets into long single columns. */
  body[data-page="home"] .rs.rs-quote-led .metrics-panel {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: 100% !important;
    height: auto !important;
  }

  body[data-page="home"] .rs.rs-quote-led .metrics-panel .metric {
    min-width: 0 !important;
    height: 100% !important;
    border-bottom: 0 !important;
  }

  body[data-page="home"] .rs.rs-quote-led .metrics-panel .metric + .metric {
    border-left: 1px solid rgba(143,179,204,.14) !important;
  }

  body[data-page="home"] .about-section-b .about-b-stats {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, minmax(106px, 1fr)) !important;
    grid-auto-rows: minmax(106px, 1fr) !important;
    width: 100% !important;
    height: auto !important;
  }

  body[data-page="home"] .about-section-b .about-b-stats .stat-item {
    min-width: 0 !important;
    min-height: 106px !important;
    height: 100% !important;
    border: 0 !important;
  }

  body[data-page="home"] .about-section-b .about-b-stats .stat-item:nth-child(2),
  body[data-page="home"] .about-section-b .about-b-stats .stat-item:nth-child(3),
  body[data-page="home"] .about-section-b .about-b-stats .stat-item:nth-child(5),
  body[data-page="home"] .about-section-b .about-b-stats .stat-item:nth-child(6) {
    border-left: 1px solid rgba(143,179,204,.14) !important;
  }

  body[data-page="home"] .about-section-b .about-b-stats .stat-item:nth-child(n + 4) {
    border-top: 1px solid rgba(143,179,204,.14) !important;
  }
}

@media (max-width: 720px) {
  :root {
    --mobile-section-space: var(--section-space);
    --mobile-intro-gap: var(--space-component);
  }

  /* One spacing token controls every non-hero section. */
  body[data-page="home"] .why-section {
    padding-top: var(--mobile-section-space) !important;
    padding-bottom: var(--mobile-section-space) !important;
  }

  body[data-page="home"] .rs-in,
  body[data-page="home"] .gs-in,
  body[data-page="home"] .about-in,
  body[data-page="home"] .cs-in,
  body[data-page="home"] .whyus-live-in,
  body[data-page="home"] .talk-in,
  body[data-page="home"] .faqx-in {
    padding-top: var(--mobile-section-space) !important;
    padding-bottom: var(--mobile-section-space) !important;
    padding-left: var(--shell-pad) !important;
    padding-right: var(--shell-pad) !important;
  }

  /* Results: quote, attribution and all three metrics remain compact and
     horizontally comparable. */
  body[data-page="home"] .rs.rs-quote-led .divide {
    gap: clamp(42px, 11vw, 56px) !important;
  }

  body[data-page="home"] .rs.rs-quote-led .rs-left,
  body[data-page="home"] .rs.rs-quote-led .rs-right,
  body[data-page="home"] .rs.rs-quote-led .rs-left-main,
  body[data-page="home"] .rs.rs-quote-led .num-block,
  body[data-page="home"] .rs.rs-quote-led .attrib-txt {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  body[data-page="home"] .rs.rs-quote-led .big-num {
    width: auto !important;
    max-width: 100% !important;
    font-size: var(--type-metric-hero) !important;
    line-height: .9 !important;
    white-space: nowrap !important;
  }

  body[data-page="home"] .rs.rs-quote-led .rs-right {
    gap: 0 !important;
    margin-top: 0 !important;
  }

  body[data-page="home"] .rs.rs-quote-led .rs-right .rs-feature-quote {
    width: 100% !important;
    margin: 0 !important;
  }

  body[data-page="home"] .rs.rs-quote-led .rs-right .rs-feature-quote .qattr {
    margin-top: 18px !important;
    overflow-wrap: break-word !important;
  }

  body[data-page="home"] .rs.rs-quote-led .rs-right .rs-feature-quote .qbody {
    font-size: var(--type-quote) !important;
  }

  body[data-page="home"] .rs.rs-quote-led .metrics-panel {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
    width: 100% !important;
    height: auto !important;
    margin-top: clamp(24px, 6vw, 34px) !important;
  }

  body[data-page="home"] .rs.rs-quote-led .metrics-panel .metric {
    min-width: 0 !important;
    min-height: 104px !important;
    padding: clamp(14px, 3.4vw, 20px) clamp(8px, 2vw, 12px) !important;
    border: 0 !important;
    border-bottom: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  body[data-page="home"] .rs.rs-quote-led .metrics-panel .metric + .metric {
    border-left: 1px solid rgba(143,179,204,.14) !important;
  }

  body[data-page="home"] .rs.rs-quote-led .metrics-panel .mval {
    max-width: 100% !important;
    font-size: var(--type-metric-box) !important;
    white-space: nowrap !important;
  }

  body[data-page="home"] .rs.rs-quote-led .metrics-panel .mlbl {
    margin-top: 8px !important;
    font-size: var(--type-metric-label) !important;
    line-height: 1.35 !important;
    letter-spacing: .09em !important;
    overflow-wrap: normal !important;
  }

  /* WHO WE ARE: six equal cards, three across and two rows. */
  body[data-page="home"] .about-section-b .about-v3-body-grid {
    gap: clamp(30px, 8vw, 42px) !important;
  }

  body[data-page="home"] .about-section-b .about-col-right {
    width: 100% !important;
    min-width: 0 !important;
    padding-top: 0 !important;
  }

  body[data-page="home"] .about-section-b .about-b-stats {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(2, minmax(106px, 1fr)) !important;
    grid-auto-rows: minmax(106px, 1fr) !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
  }

  body[data-page="home"] .about-section-b .about-b-stats .stat-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    min-width: 0 !important;
    min-height: 106px !important;
    height: 100% !important;
    padding: clamp(12px, 3.4vw, 18px) !important;
    border: 0 !important;
  }

  body[data-page="home"] .about-section-b .about-b-stats .stat-item:nth-child(2),
  body[data-page="home"] .about-section-b .about-b-stats .stat-item:nth-child(3),
  body[data-page="home"] .about-section-b .about-b-stats .stat-item:nth-child(5),
  body[data-page="home"] .about-section-b .about-b-stats .stat-item:nth-child(6) {
    border-left: 1px solid rgba(143,179,204,.14) !important;
  }

  body[data-page="home"] .about-section-b .about-b-stats .stat-item:nth-child(n + 4) {
    border-top: 1px solid rgba(143,179,204,.14) !important;
  }

  body[data-page="home"] .about-section-b .about-b-stats .stat-n {
    max-width: 100% !important;
    font-size: var(--type-metric-box) !important;
    white-space: nowrap !important;
  }

  body[data-page="home"] .about-section-b .about-b-stats .stat-l {
    margin-top: 8px !important;
    font-size: var(--type-metric-label) !important;
    line-height: 1.35 !important;
    letter-spacing: .045em !important;
    overflow-wrap: break-word !important;
  }

  body[data-page="home"] .proto-section .proto-h {
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  /* The marquee edge dissolves into the next section instead of ending on a
     hard rule that reads as a separate, unfrosted strip. */
  body[data-page="home"] .marquee-bar {
    position: relative !important;
    border-bottom: 0 !important;
    box-shadow: inset 0 -12px 18px rgba(8,10,12,.56), 0 10px 24px rgba(8,10,12,.44) !important;
  }

  body[data-page="home"] .marquee-bar::after {
    content: '';
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    height: 10px;
    background: linear-gradient(to bottom, rgba(8,10,12,0), rgba(8,10,12,.84));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: none;
  }

  /* One shared gap separates every section introduction from its component. */
  body[data-page="home"] .why-sub {
    margin-bottom: var(--mobile-intro-gap) !important;
  }

  body[data-page="home"] .gs-head,
  body[data-page="home"] .cs-head,
  body[data-page="home"] .faqx-head {
    margin-bottom: var(--mobile-intro-gap) !important;
  }

  body[data-page="home"] .proto-section .pin-left {
    margin-bottom: var(--mobile-intro-gap) !important;
  }

  body[data-page="home"] .whyus-live-layout {
    gap: var(--mobile-intro-gap) !important;
  }

  body[data-page="home"] .whyus-live-layout > .wyu-list {
    padding-top: 0 !important;
  }

  body[data-page="home"] .talk-panel {
    min-height: 0 !important;
    padding: 0 !important;
    gap: var(--mobile-intro-gap) !important;
  }

  body[data-page="home"] .talk-copy {
    margin-bottom: var(--mobile-intro-gap) !important;
  }

  /* Case-study metrics are concise comparisons and remain one row. */
  body[data-page="home"] .cs-ribbon {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0 !important;
  }

  body[data-page="home"] .cs-ribbon .cs-metric {
    min-width: 0 !important;
    min-height: 0 !important;
    height: 100% !important;
    margin: 0 !important;
    padding: clamp(12px, 3vw, 16px) clamp(5px, 1.7vw, 9px) !important;
    border-bottom: 0 !important;
    align-self: stretch !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  body[data-page="home"] .cs-ribbon .cs-metric + .cs-metric {
    border-left: 1px solid rgba(143,179,204,.14) !important;
  }

  body[data-page="home"] .cs-ribbon .cs-value {
    font-size: var(--type-metric-box) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  body[data-page="home"] .cs-ribbon .cs-label {
    margin-top: 7px !important;
    font-size: var(--type-metric-label) !important;
    line-height: 1.3 !important;
    letter-spacing: .045em !important;
    overflow-wrap: break-word !important;
  }

  /* Purpose-built CTA follows the decision list in mobile reading order. */
  body[data-page="home"] .whyus-live-actions {
    width: 100% !important;
    margin-top: 0 !important;
  }

  /* Mobile cards and CTA reveal independently as their own scroll positions
     enter the viewport; all time-based sequence delay is removed. */
  body[data-page="home"] .why-card.mobile-scroll-reveal,
  body[data-page="home"] .why-cta.mobile-scroll-reveal {
    opacity: 0 !important;
    transform: translateY(22px) !important;
    transition: opacity .62s var(--ease), transform .62s var(--ease), background var(--motion-base) ease, border-color var(--motion-base) ease !important;
  }

  body[data-page="home"] .why-card.mobile-scroll-reveal.mobile-in,
  body[data-page="home"] .why-cta.mobile-scroll-reveal.mobile-in {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 430px) {
  body[data-page="home"] .gs .v-rail .tab-btn {
    min-height: 72px !important;
    padding: 12px 10px !important;
    gap: 8px !important;
  }

  body[data-page="home"] .gs .v-rail .tb-lbl {
    font-size: var(--type-nav) !important;
  }

  body[data-page="home"] .gs .v-mid,
  body[data-page="home"] .gs .v-right {
    padding: 24px 20px !important;
  }
}
