/* ============================================================================
   KlearCtrl — industrial suite website
   Design tokens & components derived verbatim from the Quality Core landing,
   extended with suite / pillar / portfolio / industries / stats components.
   ========================================================================== */

/* ───────── FONTS (Geist variable, self-hosted) ───────── */
@font-face {
  font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/Geist-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/Geist-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist Mono'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/GeistMono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist Mono'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url('../fonts/GeistMono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ───────── TOKENS ───────── */
:root {
  --ink:        #1B2E22;
  --ink-2:      #142019;
  --ink-soft:   #2A4032;

  --sage:       #E8F0EA;
  --sage-2:     #DBE8DD;
  --sage-line:  #CADBCD;

  --signal:     #3E9B5B;
  --signal-2:   #2F7A47;
  --signal-glow:#5BC07C;

  --paper:      #FFFFFF;
  --bg:         #FAFAF8;
  --bg-2:       #F4F5F1;
  --field:      #F2F3EF;

  --line:       #E6E7E2;
  --line-2:     #EDEEE9;

  --label:      #5C655D;
  --muted:      #828B83;
  --muted-2:    #9AA29B;

  --red:        #C8492C;
  --amber:      #C98A2E;

  --sans: 'Geist', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
html, body { background: var(--paper); }
body { font-family: var(--sans); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.ic { display: block; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
section { position: relative; }

/* utility type */
.kc-mono { font-family: var(--mono); font-feature-settings: "tnum" 1; }
.kc-eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); font-weight: 500;
}

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in { animation: revealIn .7s cubic-bezier(.2,.7,.2,1) both; }
.reveal.in.d1 { animation-delay: .07s; } .reveal.in.d2 { animation-delay: .14s; }
.reveal.in.d3 { animation-delay: .21s; } .reveal.in.d4 { animation-delay: .28s; }
.reveal.in.d5 { animation-delay: .35s; } .reveal.in.d6 { animation-delay: .42s; }
@keyframes revealIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal, .reveal.in { opacity: 1; transform: none; animation: none; } }

/* section header */
.sec-head { max-width: 720px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.h2 { font-size: 42px; font-weight: 600; letter-spacing: -0.028em; line-height: 1.06; margin: 16px 0 0; text-wrap: balance; }
.sec-lede { font-size: 18px; line-height: 1.6; color: var(--label); margin: 18px 0 0; text-wrap: pretty; }

/* ───────── BUTTONS ───────── */
.btn { font-family: var(--sans); font-size: 15px; font-weight: 500; border-radius: 9px; padding: 12px 20px;
  cursor: pointer; border: 1px solid transparent; display: inline-flex; align-items: center; gap: 8px;
  transition: transform .15s, background .15s, box-shadow .15s, border-color .15s; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 1px 2px rgba(20,32,25,.18); }
.btn-primary:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-2); }
.btn .arr { transition: transform .2s; }
.btn-primary:hover .arr { transform: translateX(3px); }

/* a generic text link with arrow */
.tlink { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 500; color: var(--signal-2); }
.tlink .arr { transition: transform .2s; }
.tlink:hover .arr { transform: translateX(3px); }

/* ───────── NAV ───────── */
.nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s, backdrop-filter .25s; }
.nav.stuck { background: rgba(255,255,255,.82); backdrop-filter: saturate(1.4) blur(14px); border-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo { width: 38px; height: 38px; border-radius: 10px; background: var(--ink); color: #fff;
  display: grid; place-items: center; box-shadow: 0 1px 2px rgba(20,32,25,.2); }
.brand-name { font-weight: 600; font-size: 17px; letter-spacing: -0.02em; line-height: 1.1; white-space: nowrap; color: var(--ink); }
.brand-name .brand-ctrl { color: var(--signal-2); }
.brand-sub { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: .17em; text-transform: uppercase; color: var(--muted); line-height: 1.1; white-space: nowrap; margin-top: 4px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 14.5px; color: var(--label); transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-signin { font-size: 14.5px; color: var(--label); }
.nav-signin:hover { color: var(--ink); }
.nav-toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); cursor: pointer; color: var(--ink); place-items: center; }

/* ───────── HERO ───────── */
.hero-sec { padding: 64px 0 96px; }
.a-grid { display: grid; grid-template-columns: 1.04fr 1fr; gap: 60px; align-items: center; }
.hero-eyebrow { margin-bottom: 22px; }
.hero-h1 { font-size: 56px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.0; margin: 0; text-wrap: balance; }
.hero-h1 .accent { color: var(--signal-2); }
.hero-lede { font-size: 19px; line-height: 1.55; color: var(--label); margin: 24px 0 0; max-width: 32em; text-wrap: pretty; }
.cta-row { display: flex; gap: 12px; align-items: center; margin-top: 34px; flex-wrap: wrap; }
.trust { display: flex; align-items: center; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); }
.trust-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--signal); }
.trust-sep { width: 1px; height: 13px; background: var(--line); }

/* rail panel (hero visual) */
.railpanel { background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 30px 70px -38px rgba(20,32,25,.34), 0 2px 6px rgba(20,32,25,.04); overflow: hidden; }
.railhead { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line-2); background: var(--bg); }
.railhead-id { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.railhead-sub { font-size: 12px; color: var(--muted); margin-top: 2px; white-space: nowrap; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; padding: 5px 10px; border-radius: 20px; white-space: nowrap; }
.pill-live { background: var(--sage); color: var(--signal-2); }
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); }
.pill-dot.blink { animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.railrows { position: relative; padding: 12px 20px 16px; }
.railline { position: absolute; left: 37px; top: 36px; bottom: 36px; width: 2px; background: var(--line); border-radius: 2px; }
.railline-fill { position: absolute; left: 37px; top: 36px; width: 2px; background: var(--signal); border-radius: 2px; transition: height .55s cubic-bezier(.4,0,.2,1); }
.railrow { position: relative; display: flex; align-items: center; gap: 15px; padding: 9px 0; min-height: 52px; }
.railchip { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--paper); border: 1.5px solid var(--line); color: var(--muted-2);
  transition: background .4s, border-color .4s, color .4s, box-shadow .4s; }
.railrow[data-state="active"] .railchip { border-color: var(--signal); color: var(--signal-2); box-shadow: 0 0 0 4px rgba(62,155,91,.12); animation: chippulse 1.3s ease-in-out infinite; }
@keyframes chippulse { 0%,100%{box-shadow:0 0 0 4px rgba(62,155,91,.12)} 50%{box-shadow:0 0 0 7px rgba(62,155,91,.05)} }
.railrow[data-state="done"] .railchip { background: var(--signal); border-color: var(--signal); color: #fff; }
.railrow[data-state="done"] .ic-main { opacity: 0; transform: scale(.6); transition: .25s; }
.railrow[data-state="done"] .railcheck { opacity: 1; transition: opacity .3s .12s, transform .3s .12s; transform: scale(1); }
.railcheck { position: absolute; color: #fff; transform: scale(.6); opacity: 0; }
.railmeta { flex: 1 1 auto; min-width: 0; }
.raillabel { font-size: 15px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.railrow[data-state="pending"] .raillabel { color: var(--muted); }
.railsub { font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.railstatus { flex: 0 0 auto; font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.vpill { display: inline-flex; align-items: center; gap: 5px; font-family: var(--sans); font-size: 11.5px; font-weight: 500; padding: 4px 9px; border-radius: 16px; background: var(--sage); color: var(--signal-2); }
.vpill.issued { background: var(--ink); color: #fff; }

/* ───────── LOGO / TRUST STRIP ───────── */
.strip { padding: 0 0 8px; }
.strip-in { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.strip-label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.strip-items { display: flex; gap: 26px; flex-wrap: wrap; }
.strip-item { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.strip-item .ic { color: var(--signal-2); }

/* ───────── PORTFOLIO (customer-facing 5) ───────── */
.port-sec { padding: 96px 0 40px; }
.port-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 50px; }
.port { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 24px 20px; transition: box-shadow .2s, transform .2s, border-color .2s; }
.port:hover { box-shadow: 0 18px 40px -28px rgba(20,32,25,.3); transform: translateY(-3px); border-color: var(--sage-line); }
.port-ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--sage); color: var(--signal-2); margin-bottom: 16px; }
.port-h { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.port-b { font-size: 13.5px; line-height: 1.5; color: var(--muted); margin-top: 7px; }

/* ───────── SUITE (six pillars) ───────── */
.suite-sec { padding: 96px 0; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.suite-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 54px; }
.pillar { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 28px 26px 24px;
  display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s, border-color .2s; }
.pillar:hover { box-shadow: 0 22px 50px -30px rgba(20,32,25,.32); transform: translateY(-3px); border-color: var(--sage-line); }
.pillar.flagship { border-color: var(--sage-line); background: linear-gradient(180deg, var(--sage) 0%, var(--paper) 38%); }
.pillar-top { display: flex; align-items: center; justify-content: space-between; }
.pillar-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; box-shadow: 0 1px 2px rgba(20,32,25,.2); }
.pillar.flagship .pillar-ico { background: var(--signal-2); }
.pillar-num { font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.pillar-flag { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--signal-2); background: var(--paper); border: 1px solid var(--sage-line); padding: 4px 8px; border-radius: 20px; }
.pillar-name { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin-top: 20px; }
.pillar-name .ctrl { color: var(--signal-2); }
.pillar-lede { font-size: 14.5px; line-height: 1.55; color: var(--label); margin-top: 8px; }
.pillar-cov { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 20px 0 12px; }
.pillar-list { display: flex; flex-direction: column; gap: 9px; margin-bottom: 22px; }
.pillar-li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink); line-height: 1.4; }
.pillar-li .tick { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 5px; background: var(--sage); color: var(--signal-2); display: grid; place-items: center; margin-top: 1px; }
.pillar-foot { margin-top: auto; }

/* ───────── FEATURES (reused mock styles) ───────── */
.feat-sec { padding: 40px 0 40px; }
.feat-row { display: grid; grid-template-columns: 1fr 1.08fr; gap: 72px; align-items: center; padding: 64px 0; }
.feat-row.flip { grid-template-columns: 1.08fr 1fr; }
.feat-row.flip .feat-text { order: 2; }
.feat-num { font-family: var(--mono); font-size: 13px; color: var(--signal-2); letter-spacing: .04em; }
.feat-h3 { font-size: 32px; font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; margin: 14px 0 0; text-wrap: balance; }
.feat-body { font-size: 17px; line-height: 1.6; color: var(--label); margin: 16px 0 0; max-width: 32em; }
.feat-list { margin: 24px 0 0; display: flex; flex-direction: column; gap: 13px; }
.feat-li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.feat-li .tick { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 6px; background: var(--sage); color: var(--signal-2); display: grid; place-items: center; margin-top: 1px; }

.mock { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 26px 60px -40px rgba(20,32,25,.3), 0 2px 6px rgba(20,32,25,.04); overflow: hidden; }
.mock-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid var(--line-2); background: var(--bg); }
.mock-title { font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--ink); white-space: nowrap; }
.mock-body { padding: 20px; }

/* trace map */
.trace { position: relative; }
.trace-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center; padding: 12px 12px; border-radius: 10px; transition: background .18s; position: relative; z-index: 1; }
.trace-row:hover { background: var(--sage); }
.trace-line { position: absolute; left: 28px; top: 34px; bottom: 34px; width: 2px; background: var(--sage-line); }
.trace-chip { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--paper); border: 1.5px solid var(--sage-line); color: var(--signal-2); }
.trace-row.src .trace-chip { background: var(--ink); border-color: var(--ink); color: #fff; }
.trace-name { font-size: 14.5px; font-weight: 500; }
.trace-rel { font-size: 12px; color: var(--muted); margin-top: 1px; }
.trace-id { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }

/* lab table */
.lab-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.lab-table th { text-align: left; font-family: var(--mono); font-weight: 500; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0 10px 12px; border-bottom: 1px solid var(--line-2); }
.lab-table th.r, .lab-table td.r { text-align: right; }
.lab-table td { padding: 13px 10px; border-bottom: 1px solid var(--line-2); }
.lab-table tr:last-child td { border-bottom: none; }
.lab-prop { font-weight: 500; color: var(--ink); }
.lab-method { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.lab-val { font-family: var(--mono); font-weight: 500; color: var(--ink); }
.lab-spec { font-family: var(--mono); color: var(--muted); }
.res-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 500; padding: 3px 9px; border-radius: 14px; }
.res-pass { background: var(--sage); color: var(--signal-2); }

/* ───────── COMPLIANCE (dark) + release gate ───────── */
.comp-sec { background: var(--ink-2); color: #fff; padding: 110px 0; position: relative; overflow: hidden; }
.comp-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: radial-gradient(110% 80% at 70% 0%, #000 30%, transparent 70%); mask-image: radial-gradient(110% 80% at 70% 0%, #000 30%, transparent 70%); }
.comp-in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.comp-sec .kc-eyebrow { color: var(--signal-glow); }
.comp-h2 { font-size: 42px; font-weight: 600; letter-spacing: -0.028em; line-height: 1.08; margin: 16px 0 0; color: #fff; text-wrap: balance; }
.comp-lede { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.66); margin: 20px 0 0; text-wrap: pretty; }
.std-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.std-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.85); padding: 9px 14px; border-radius: 9px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.03); white-space: nowrap; }
.std-badge .ic { color: var(--signal-glow); }

.gate { background: linear-gradient(165deg, #1f3326, #16241a); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 24px; box-shadow: 0 30px 70px -30px rgba(0,0,0,.6); }
.gate-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.gate-id { font-family: var(--mono); font-size: 13px; color: #fff; }
.gate-sub { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 2px; white-space: nowrap; }
.gate-list { margin: 16px 0 0; display: flex; flex-direction: column; gap: 4px; }
.gate-item { display: flex; align-items: center; gap: 12px; padding: 11px 6px; }
.gate-box { width: 22px; height: 22px; border-radius: 7px; flex: 0 0 auto; display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.22); color: transparent; transition: background .4s, border-color .4s, color .4s; }
.gate-item.ok .gate-box { background: var(--signal); border-color: var(--signal); color: #0d1711; }
.gate-label { font-size: 14.5px; color: rgba(255,255,255,.55); transition: color .4s; flex: 1; }
.gate-item.ok .gate-label { color: #fff; }
.gate-ev { font-family: var(--mono); font-size: 11.5px; color: rgba(255,255,255,.4); white-space: nowrap; }
.gate-item.ok .gate-ev { color: var(--signal-glow); }
.gate-foot { margin-top: 16px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.gate-status { font-size: 13px; color: rgba(255,255,255,.55); }
.gate-status b { color: #fff; font-weight: 500; }
.gate-btn { font-family: var(--sans); font-size: 14px; font-weight: 600; border: none; border-radius: 9px; padding: 11px 20px; transition: background .3s, color .3s, transform .15s; }
.gate-btn.locked { background: rgba(255,255,255,.08); color: rgba(255,255,255,.4); cursor: not-allowed; }
.gate-btn.ready { background: var(--signal); color: #0d1711; cursor: pointer; }
.gate-btn.ready:hover { background: var(--signal-glow); transform: translateY(-1px); }
.gate-btn.released { background: #fff; color: var(--ink); }

/* ───────── INDUSTRIES ───────── */
.ind-sec { padding: 100px 0; }
.ind-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 50px; }
.ind { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 22px 18px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.ind:hover { border-color: var(--sage-line); box-shadow: 0 16px 36px -28px rgba(20,32,25,.3); transform: translateY(-2px); }
.ind-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--ink-soft); margin-bottom: 14px; }
.ind-h { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.ind-b { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.45; }

/* ───────── STATS ───────── */
.stat-sec { padding: 0 0 100px; }
.stat-panel { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 48px 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat { text-align: center; }
.stat-n { font-size: 44px; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.stat-n .u { color: var(--signal-2); }
.stat-l { font-size: 13.5px; color: var(--muted); margin-top: 10px; line-height: 1.4; }

/* ───────── CTA ───────── */
.cta-sec { padding: 116px 0; }
.cta-panel { position: relative; background: var(--sage); border: 1px solid var(--sage-line); border-radius: 24px; padding: 72px 56px; text-align: center; overflow: hidden; }
.cta-panel .h2 { color: var(--ink); }
.cta-panel .sec-lede { margin-left: auto; margin-right: auto; color: var(--ink-soft); }
.cta-actions { display: flex; gap: 12px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.cta-fine { margin-top: 20px; font-size: 13px; color: var(--signal-2); }

/* ───────── FOOTER ───────── */
.footer { border-top: 1px solid var(--line); padding: 54px 0 40px; }
.footer-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-col h5 { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; font-weight: 500; }
.footer-col a { display: block; font-size: 14px; color: var(--label); padding: 6px 0; }
.footer-col a:hover { color: var(--ink); }
.footer-blurb { font-size: 13.5px; color: var(--muted); margin-top: 14px; max-width: 26em; line-height: 1.55; }
.footer-bot { display: flex; align-items: center; justify-content: space-between; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--muted); gap: 16px; flex-wrap: wrap; }

/* ───────── PAGE HERO (interior pages) ───────── */
.page-hero { padding: 56px 0 64px; border-bottom: 1px solid var(--line); background: var(--bg); }
.page-hero .kc-eyebrow { color: var(--signal-2); }
.page-h1 { font-size: 48px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.04; margin: 16px 0 0; text-wrap: balance; max-width: 16em; }
.page-lede { font-size: 19px; line-height: 1.6; color: var(--label); margin: 20px 0 0; max-width: 40em; text-wrap: pretty; }
.crumb { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.crumb a:hover { color: var(--ink); }

/* ───────── RESPONSIVE ───────── */
@media (max-width: 1080px) {
  .suite-grid { grid-template-columns: repeat(2, 1fr); }
  .port-grid, .ind-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-panel { grid-template-columns: repeat(2, 1fr); }
  .footer-in { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
@media (max-width: 980px) {
  .wrap { padding: 0 24px; }
  .a-grid, .comp-in, .feat-row, .feat-row.flip { grid-template-columns: 1fr; gap: 40px; }
  .feat-row.flip .feat-text { order: 0; }
  .nav-links { display: none; }
  .nav-right { display: none; }
  .nav-toggle { display: grid; }
  .hero-h1 { font-size: 42px; } .h2, .comp-h2, .page-h1 { font-size: 32px; }
  .strip-in { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 680px) {
  .suite-grid, .port-grid, .ind-grid { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .cta-panel { padding: 48px 28px; }
  .stat-panel { padding: 36px 24px; }
}

/* ───────── MOBILE NAV PANEL ───────── */
.mnav { display: none; position: fixed; inset: 68px 0 0; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); z-index: 49; padding: 24px 24px 40px; flex-direction: column; gap: 4px; }
.mnav.open { display: flex; }
.mnav a { font-size: 18px; font-weight: 500; color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.mnav a.btn { margin-top: 18px; justify-content: center; border-bottom: none; padding: 14px 20px; }
.mnav a.btn-primary { color: #fff; }

/* ═════════ INTERIOR-PAGE COMPONENTS ═════════ */

/* capability grid */
.cap-sec { padding: 88px 0; }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.cap { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 24px 22px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.cap:hover { border-color: var(--sage-line); box-shadow: 0 18px 40px -28px rgba(20,32,25,.3); transform: translateY(-3px); }
.cap-ico { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--sage); color: var(--signal-2); margin-bottom: 16px; }
.cap-h { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.cap-b { font-size: 14px; line-height: 1.55; color: var(--muted); margin-top: 8px; }

/* outcomes (numbered) */
.out-sec { padding: 0 0 88px; }
.out-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.out { padding: 28px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.out-n { font-family: var(--mono); font-size: 13px; color: var(--signal-2); letter-spacing: .04em; }
.out-h { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; margin-top: 12px; }
.out-b { font-size: 14.5px; line-height: 1.55; color: var(--label); margin-top: 8px; }

/* simple static panel mock (KPIs / lists) */
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 26px 60px -40px rgba(20,32,25,.3), 0 2px 6px rgba(20,32,25,.04); overflow: hidden; }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid var(--line-2); background: var(--bg); }
.panel-title { font-family: var(--mono); font-size: 12.5px; font-weight: 500; color: var(--ink); }
.panel-body { padding: 20px; }
.kpi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.kpi { border: 1px solid var(--line-2); border-radius: 12px; padding: 16px; background: var(--bg); }
.kpi-n { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.kpi-n .u { color: var(--signal-2); font-size: 16px; }
.kpi-l { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.prow { display: flex; align-items: center; gap: 13px; padding: 12px 4px; border-bottom: 1px solid var(--line-2); }
.prow:last-child { border-bottom: none; }
.prow-ico { width: 34px; height: 34px; border-radius: 9px; flex: 0 0 auto; display: grid; place-items: center; background: var(--sage); color: var(--signal-2); }
.prow-main { flex: 1 1 auto; min-width: 0; }
.prow-h { font-size: 14px; font-weight: 500; color: var(--ink); }
.prow-s { font-size: 12px; color: var(--muted); margin-top: 1px; }
.prow-tag { font-family: var(--mono); font-size: 11px; color: var(--muted); white-space: nowrap; }
.prow-tag.ok { color: var(--signal-2); }

/* feature row helper: align a panel beside copy */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.split.flip .split-text { order: 2; }

/* roles */
.role-sec { padding: 88px 0; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.role-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.role { display: inline-flex; align-items: center; gap: 9px; background: var(--paper); border: 1px solid var(--line); border-radius: 11px; padding: 12px 16px; font-size: 14px; font-weight: 500; color: var(--ink); }
.role .ic { color: var(--signal-2); }

/* cross-sell suite band */
.xsell-sec { padding: 88px 0; }
.xsell-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.xmod { display: flex; align-items: center; gap: 15px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.xmod:hover { border-color: var(--sage-line); box-shadow: 0 16px 36px -28px rgba(20,32,25,.3); transform: translateY(-2px); }
.xmod-ico { width: 42px; height: 42px; border-radius: 11px; flex: 0 0 auto; display: grid; place-items: center; background: var(--ink); color: #fff; }
.xmod-text { min-width: 0; }
.xmod-h { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.xmod-h .ctrl { color: var(--signal-2); }
.xmod-b { display: block; font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.xmod .arr { margin-left: auto; color: var(--muted-2); }
.xmod:hover .arr { color: var(--signal-2); }

/* certificate (static) */
.cert { padding: 26px 26px 24px; position: relative; }
.cert-top { display: flex; align-items: flex-start; justify-content: space-between; border-bottom: 1.5px solid var(--ink); padding-bottom: 16px; }
.cert-kicker { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--signal-2); }
.cert-h { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; margin-top: 6px; }
.cert-std { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.cert-seal { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--sage-line); display: grid; place-items: center; color: var(--signal-2); }
.cert-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin-top: 20px; }
.cert-field .l { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cert-field .v { font-size: 14px; font-weight: 500; margin-top: 4px; color: var(--ink); min-height: 19px; }
.cert-field .v.mono { font-family: var(--mono); font-weight: 500; }
.cert-stamp { position: absolute; right: 30px; bottom: 26px; display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--signal-2); border: 1.5px solid var(--signal); border-radius: 8px;
  padding: 7px 12px; transform: rotate(-7deg); }

@media (max-width: 1080px) {
  .cap-grid, .out-grid, .xsell-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .split, .split.flip { grid-template-columns: 1fr; gap: 40px; }
  .split.flip .split-text { order: 0; }
}
/* contact / form */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 26px 60px -40px rgba(20,32,25,.3), 0 2px 6px rgba(20,32,25,.04); padding: 32px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--label); margin-bottom: 7px; }
.field label .kc-req { color: var(--red); }
.field input, .field textarea, .field select { width: 100%; font-family: var(--sans); font-size: 15px; color: var(--ink); background: var(--field); border: 1px solid var(--line); border-radius: 9px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px rgba(62,155,91,.12); background: var(--paper); }
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.expect { display: flex; flex-direction: column; gap: 18px; margin-top: 28px; }
.expect-item { display: flex; gap: 14px; align-items: flex-start; }
.expect-ico { width: 38px; height: 38px; border-radius: 10px; flex: 0 0 auto; display: grid; place-items: center; background: var(--sage); color: var(--signal-2); }
.expect-h { font-size: 15px; font-weight: 600; }
.expect-b { font-size: 14px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.contact-side { font-size: 14.5px; color: var(--label); line-height: 1.6; }

@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 680px) {
  .cap-grid, .out-grid, .xsell-grid, .kpi-grid, .field-row { grid-template-columns: 1fr; }
}
