/* ARROW expert design layer · 2026-11-08
 * Link LAST on shared-layout pages. Existing brand tokens only.
 * Scope: #main and .site-header; no footer, image, content or behavior changes.
 */

/* 1. Reading hierarchy: retain display character; give multi-line text room. */
#main :is(.section-head h2, .two-col h2, .faq-layout h2, .contact-layout h2) {
  line-height: 1.16;
  letter-spacing: -.035em;
  text-wrap: pretty;
}
#main :is(.hero-copy h1, .detail-copy h1) {
  line-height: 1.08;
  text-wrap: pretty;
}
#main :is(.section-head > p, .two-col p, .feature-copy p, .partner-inner p,
  .guide a, .product-card p, .product-note, .filter-status, .contact-route) {
  font-size: 14px;
  line-height: 1.65;
}
#main :is(.cg-section p, .cg-card p) {
  line-height: 1.75;
  max-width: 70ch;
}
#main :is(.section-head, .hero-grid, .detail-grid, .two-col, .contact-layout) > * {
  min-width: 0;
}

/* 2. Discovery: readable range names, quieter metadata, consistent card CTAs. */
#main .legacy-content .family-rail {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
#main .legacy-content .family-rail-card h3 {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -.025em;
}
#main .legacy-content .family-rail-card :is(p, span) {
  line-height: 1.6;
}
#main .legacy-content .family-rail-card p {
  font-size: 14px;
  margin-top: 10px;
}
#main .legacy-content .family-rail-card span {
  font-size: 12px;
  letter-spacing: .04em;
}
#main .legacy-content .source-product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
#main .legacy-content .source-product-copy h3 {
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -.025em;
}
#main .legacy-content .source-product-copy p {
  font-size: 15px;
  line-height: 1.65;
}
#main .legacy-content .source-product-copy > span {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: .04em;
}
#main .legacy-content .source-product-copy strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.5;
}
#main .range-card-wrap {
  border-radius: 9px;
}
#main .range-quick {
  font-size: 14px;
  line-height: 1.5;
  border-radius: 0 0 9px 9px;
}
#main .product-line h3 {
  line-height: 1.25;
}

/* 3. Product evaluation: useful facts and section links remain easy to scan. */
#main .fact-row {
  font-size: 14px;
  line-height: 1.6;
  padding-block: 14px;
  grid-template-columns: minmax(100px, 34%) minmax(0, 1fr);
}
#main .detail-copy > p {
  font-size: 16px;
  line-height: 1.65;
  max-width: 54ch;
}
#main .tag {
  font-size: 12px;
  line-height: 1.6;
}
#main .subnav {
  flex-wrap: wrap;
  gap: 4px 24px;
  white-space: normal;
  overflow: visible;
  padding-block: 12px;
}
#main .subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  line-height: 1.5;
}
#main .legacy-content .product-fact-list span {
  font-size: 14px;
  line-height: 1.6;
}
#main .legacy-content .product-fact-list strong {
  font-size: 16px;
  line-height: 1.6;
}

/* 4. Shared navigation: larger direct-link targets, visible menu grouping. */
.site-header .desktop-nav > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  line-height: 1.5;
}
.site-header .mobile-menu[open] > summary {
  background: var(--forest);
  color: #fff;
  border-color: var(--forest);
}
.site-header .mobile-nav :is(a, .nav-group > summary) {
  min-height: 44px;
  font-size: 14px;
  line-height: 1.5;
}
.site-header .mobile-nav .nav-group[open] > summary {
  background: var(--paper);
  color: var(--forest);
}
.site-header .mobile-nav .nav-sub {
  border-inline-start: 2px solid var(--line);
  padding-inline-start: 10px;
  margin: 8px 0 12px 10px;
}
.site-header .mobile-nav a[aria-current="page"] {
  background: var(--paper);
}

/* 5. Inquiry clarity: distinguish the current step and readable field help. */
#main .legacy-content .inquiry-progress li {
  font-size: 13px;
  line-height: 1.5;
}
#main .legacy-content .inquiry-progress li.is-active {
  background: #fff;
  box-shadow: inset 0 -3px var(--forest);
}
#main .legacy-content .form-step-head h2 {
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.2;
  letter-spacing: -.025em;
}
#main .legacy-content .field-grid label {
  font-size: 14px;
  line-height: 1.5;
}
#main .legacy-content .field-grid :is(small, .field-error) {
  font-size: 13px;
  line-height: 1.6;
}
#main .legacy-content .field-grid :is(input, select, textarea):focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 3px;
}

/* 6. Kenya support: retain local/trade separation, improve route-card reading. */
#main .support-card h3 {
  line-height: 1.2;
  letter-spacing: -.025em;
}
#main .support-card p:not(.eyebrow) {
  font-size: 15px;
  line-height: 1.65;
}
#main .support-card .eyebrow {
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .08em;
  opacity: 1;
}
#main .support-card :is(.btn, .text-link) {
  min-height: 44px;
  line-height: 1.5;
}

/* 7. Clear keyboard focus and mobile actions, without JS or motion. */
#main :is(.range-card-wrap, .support-card):focus-within {
  outline: 2px solid var(--green);
  outline-offset: 5px;
}
#main :is(.source-product-card, .family-rail-card):focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 5px;
}
#main :is(.text-link, .cg-link, .guide a, .pc-jump a) {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  line-height: 1.5;
}
#main :is(.home-hero, .partner-band) :focus-visible,
#main .support-card.primary :focus-visible {
  outline-color: var(--yellow);
}
/* Keep the complete range map and 16-item catalogue compact on wide screens. */
@media (min-width: 1280px) {
  #main .legacy-content .family-rail {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  #main .legacy-content .source-product-grid:not(.source-product-grid-category):not(.source-product-grid-related) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1099px) {
  #main .legacy-content :is(.family-rail, .source-product-grid) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}
@media (max-width: 600px) {
  #main .legacy-content :is(.family-rail, .source-product-grid) {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  #main :is(.hero-copy, .detail-copy) > .actions {
    align-items: stretch;
    gap: 10px;
  }
  #main :is(.hero-copy, .detail-copy) > .actions > .btn {
    width: 100%;
    min-height: 48px;
    padding-inline: 16px;
    font-size: 14px;
  }
  #main :is(.hero-copy, .detail-copy) > .actions > .text-link {
    min-height: 44px;
    font-size: 14px;
  }
  #main .detail-copy > p {
    font-size: 15px;
  }
  #main .support-card {
    padding: 24px;
  }
  #main .fact-row {
    grid-template-columns: minmax(85px, 34%) minmax(0, 1fr);
  }
}
@media (forced-colors: active) {
  #main .legacy-content .inquiry-progress li.is-active {
    outline: 2px solid Highlight;
    outline-offset: -3px;
  }
}
