/* ============================================================
   KIMANS REDESIGN — HOME
   ============================================================ */

/* (The global-presence globe is the real D3 canvas #kxContactGlobe — shared with
   Contact/Company; its wrapper .kx-stage__globe lives in redesign-base.css.) */

/* ---- Fluid hero (copy-agnostic) ----
   The hero H1 was hard-coded at 64px with a fixed 66.56px line-height and no
   responsive scaling, so it overflowed on phones. These rules replace that with
   a fluid clamp: 32px at 320px up to the 64px ceiling (~1245px). Selectors are
   deliberately more specific than the global `body.kx-redesign h1` mobile cap so
   the clamp wins at every width, and they override the inline font-size. */
body.kx-redesign .kx-home-hero { height: auto !important; min-height: clamp(440px, 60vh, 520px); }
body.kx-redesign .kx-home-hero > .kx-hero-inner {
  padding-left: clamp(20px, 5vw, 64px) !important;
  padding-right: clamp(20px, 5vw, 64px) !important;
  padding-top: clamp(48px, 8vw, 80px) !important;
  padding-bottom: clamp(48px, 8vw, 80px) !important;
  height: auto;
}
body.kx-redesign .kx-hero-copy h1 {
  font-size: clamp(2rem, 1.2rem + 3.6vw, 3rem) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.02em !important;
  max-width: 18ch;
}
body.kx-redesign .kx-hero-copy .kx-eye {
  font-size: clamp(10px, 9px + 0.45vw, 12px) !important;
}
body.kx-redesign .kx-hero-copy > p {
  font-size: clamp(1rem, 0.92rem + 0.55vw, 1.1875rem) !important;
  max-width: 36ch;
}

/* ---- Responsive grids ---- */
@media (max-width: 1000px) {
  .kx-stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 28px 24px !important; }
  .kx-cred-grid { grid-template-columns: 1fr !important; gap: 36px !important; }
  .kx-presence-grid { grid-template-columns: 1fr !important; }
  .kx-finder-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 720px) {
  .kx-hero-cta { flex-direction: column !important; max-width: 100% !important; }
  .kx-finder-grid { grid-template-columns: 1fr !important; }
  .kx-cred-cards { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
  .kx-stats-grid { grid-template-columns: 1fr 1fr !important; }
}

/* ---- OPTION A: quiet approvals strip (under the hero) ----
   Thin, desaturated band of grey standard-marks; hover reveals the full name
   (title attr). Restrained on purpose — competitors keep certs off the homepage,
   so a subtle approvals cue is whitespace Kimans can own. */
.kx-approvals-strip { background: #0B0B0B; border-top: 1px solid #161A1E; border-bottom: 1px solid #161A1E; }
.kx-approvals-strip__inner {
  max-width: 1240px; margin: 0 auto; padding: 11px 40px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.kx-approvals-strip__label {
  font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase;
  color: #9AA4AE; font-weight: 700; flex: none;
}
.kx-approvals-strip__marks {
  /* Mena review #4: the approval marks must be legible BY DEFAULT on the dark hero,
     not only on hover. Brightened from a dim grey (#6E7A85) to a light grey and the
     desaturate/dim-opacity dropped, so the marks read clearly without interaction;
     hover still lifts them to amber and the title attr reveals the full standard. */
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  color: #C4CCD4; font-size: 12px; font-weight: 700; letter-spacing: .06em;
}
.kx-approvals-strip__mark {
  color: #C4CCD4; opacity: 1; cursor: help;
  transition: color .18s ease;
}
.kx-approvals-strip__mark:hover { color: var(--accent, #FEBB19); }
.kx-approvals-strip__sep { color: #2A2F35; }
@media (max-width: 600px) {
  .kx-approvals-strip__inner { padding: 10px 22px; gap: 10px; }
  .kx-approvals-strip__marks { gap: 9px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .kx-approvals-strip__mark { transition: none; }
}


/* Item 8.5 (Mena, desktop comfort): nudge body copy down a touch on desktop only.
   Mobile untouched (>=1025px scope). Note: many paragraphs carry inline font-size
   and are unaffected by these non-!important rules — this sets the baseline for the
   rest. */
@media (min-width: 1025px) {
  body.kx-redesign .kx-hero-copy > p { font-size: 17px; }
  body.kx-redesign p { font-size: 16px; }
}
