.kp-hero{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center}
.kp-hero__media img{width:100%;height:auto;border-radius:14px;border:1px solid rgba(255,255,255,.14);box-shadow:0 24px 60px rgba(0,0,0,.35);display:block;background:#12283F}
.kp-hero .btn+.btn{margin-left:12px}
.kp-rows{border-bottom:1px solid var(--line)}
.kp-row{display:grid;grid-template-columns:1fr 2fr;gap:40px;padding:34px 0;border-top:1px solid var(--line)}
.kp-row h3{margin:0;font-size:1.25rem;line-height:1.3}
.kp-row p{margin:0;color:var(--steel);line-height:1.75;max-width:70ch}
.kp-row a{color:var(--kaizen-red);font-weight:600}
.kp-faq{max-width:820px}
.kp-faq details{border-bottom:1px solid var(--line);padding:20px 0}
.kp-faq summary{cursor:pointer;font-weight:600;font-size:1.05rem;list-style:none;display:flex;justify-content:space-between;gap:16px}
.kp-faq summary::after{content:"+";font-size:1.4rem;line-height:1;color:var(--kaizen-red)}
.kp-faq details[open] summary::after{content:"\2212"}
.kp-faq summary::-webkit-details-marker{display:none}
.kp-faq p{margin:12px 0 0;color:var(--steel);line-height:1.7}
.kp-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.kp-cards--3{grid-template-columns:repeat(3,1fr)}
.kp-card{display:flex;flex-direction:column;gap:10px;padding:26px;background:#fff;border:1px solid var(--line);border-radius:12px;text-decoration:none;color:inherit;transition:border-color .2s,transform .2s}
.kp-card:hover,.kp-card:focus-visible{border-color:var(--kaizen-red);transform:translateY(-2px)}
.kp-card h3{margin:0;font-size:1.1rem;line-height:1.3}
.kp-card p{margin:0;color:var(--steel);line-height:1.6;font-size:.95rem;flex:1}
.kp-card span{color:var(--kaizen-red);font-weight:600;font-size:.92rem}
@media(max-width:1000px){.kp-cards{grid-template-columns:repeat(2,1fr)}.kp-cards--3{grid-template-columns:1fr}.kp-hero{grid-template-columns:1fr;gap:36px}.kp-row{grid-template-columns:1fr;gap:12px}}
@media(max-width:560px){.kp-cards{grid-template-columns:1fr}.kp-hero .btn+.btn{margin:12px 0 0}}

/* ================= SUBPAGE HERO & UI COMPONENTS ================= */
.hero--subpage{position:relative;padding:150px 0 84px;overflow:hidden;background:linear-gradient(135deg,#071322 0,#0b1e33 45%,#16283d 80%,#1a1220 100%);color:var(--white)}
.hero--subpage::before{content:"";position:absolute;bottom:-20%;left:-10%;width:600px;height:600px;border-radius:50%;background:radial-gradient(circle,rgba(31,169,122,.14) 0,rgba(2,132,199,.05) 50%,transparent 70%);pointer-events:none;filter:blur(50px)}
.hero--subpage::after{content:"";position:absolute;top:-15%;right:-5%;width:700px;height:700px;border-radius:50%;background:radial-gradient(circle,rgba(225,59,59,.22) 0,rgba(225,59,59,.04) 50%,transparent 70%);pointer-events:none;filter:blur(40px)}
.hero--subpage .hero__inner{position:relative;z-index:2;display:grid;grid-template-columns:1.05fr 1fr;gap:48px;align-items:center}
@media(max-width:1080px){
  .hero--subpage .hero__inner{grid-template-columns:1fr;text-align:center;gap:40px}
  .hero--subpage .hero__copy{text-align:center;margin:0 auto;max-width:780px;display:flex;flex-direction:column;align-items:center}
  .hero--subpage .hero__copy .eyebrow{margin-left:auto;margin-right:auto;justify-content:center}
  .hero--subpage .hero__lead{margin-left:auto!important;margin-right:auto!important;text-align:center!important;max-width:640px}
  .hero--subpage .hero__actions{justify-content:center;margin-left:auto;margin-right:auto}
  .hero--subpage .hero__platforms{justify-content:center;margin-left:auto;margin-right:auto;flex-wrap:wrap;text-align:center}
  .hero--subpage .hero__platforms .platform-pills{justify-content:center;flex-wrap:wrap}
  .hero--subpage .hero__visual{max-width:560px;margin:0 auto;width:100%}
}
@media(max-width:640px){.hero--subpage{padding-top:130px;padding-bottom:60px}.dash-window{transform:none!important}}
@media(max-width:480px){.ui-module-grid{grid-template-columns:1fr}.dash-window__body{padding:16px}}

/* UI Badges & Status */
.ui-status-tag{display:inline-flex;align-items:center;gap:6px;font-size:.72rem;font-weight:600;font-family:var(--font-mono);padding:4px 10px;border-radius:999px;background:rgba(31,169,122,.12);color:var(--improve-green)}
.ui-status-tag--amber{background:rgba(240,169,58,.12);color:var(--pending-amber)}
.ui-status-tag--red{background:rgba(225,59,59,.12);color:var(--kaizen-red)}
.ui-status-dot{width:6px;height:6px;border-radius:50%;background:currentColor}

/* UI Mini Feature Grid */
.ui-module-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ui-module-card{background:var(--paper-2);border:1px solid var(--line);border-radius:10px;padding:12px 14px;display:flex;flex-direction:column;gap:5px;transition:all .2s ease}
.ui-module-card:hover{background:var(--white);border-color:var(--kaizen-red);transform:translateY(-2px);box-shadow:var(--shadow-sm)}
.ui-module-card__top{display:flex;align-items:center;justify-content:space-between}
.ui-module-card__icon{width:28px;height:28px;border-radius:6px;background:rgba(225,59,59,.1);color:var(--kaizen-red);display:flex;align-items:center;justify-content:center}
.ui-module-card__icon svg{width:16px;height:16px}
.ui-module-card h4{font-size:.84rem;color:var(--ink);margin:0;font-weight:600}
.ui-module-card p{font-size:.72rem;color:var(--steel);line-height:1.4;margin:0}

/* UI Workflow Stepper */
.ui-stepper{display:flex;flex-direction:column;gap:8px;background:var(--paper-2);border-radius:10px;padding:14px;border:1px solid var(--line)}
.ui-step{display:flex;align-items:flex-start;gap:12px;position:relative}
.ui-step:not(:last-child)::after{content:"";position:absolute;left:13px;top:28px;width:2px;height:calc(100% - 10px);background:#d6dbe3}
.ui-step__marker{width:28px;height:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:700;flex-shrink:0;z-index:1}
.ui-step--done .ui-step__marker{background:var(--improve-green);color:#fff}
.ui-step--active .ui-step__marker{background:var(--kaizen-red);color:#fff;box-shadow:0 0 0 4px rgba(225,59,59,.2)}
.ui-step--pending .ui-step__marker{background:#d6dbe3;color:var(--steel)}
.ui-step__info{display:flex;flex-direction:column;gap:2px}
.ui-step__info strong{font-size:.82rem;color:var(--ink);font-weight:600}
.ui-step__info span{font-size:.72rem;color:var(--steel)}

/* UI Highlight / Metric Box */
.ui-highlight-box{background:linear-gradient(135deg,rgba(31,169,122,.08),rgba(2,132,199,.06));border:1px solid rgba(31,169,122,.25);border-radius:10px;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.ui-highlight-box strong{font-size:1.15rem;color:var(--improve-green-dark);font-family:var(--font-mono);font-weight:700}
.ui-highlight-box span{font-size:.74rem;color:var(--steel);font-weight:600}

/* UI Interactive Media Frame */
.ui-player-frame{background:#040d18;border-radius:12px;padding:16px;color:#fff;display:flex;flex-direction:column;gap:12px;border:1px solid rgba(255,255,255,.1)}
.ui-player-screen{background:#000;border-radius:8px;padding:24px 16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.08)}
.ui-play-circle{width:52px;height:52px;border-radius:50%;background:var(--kaizen-red);color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 24px rgba(225,59,59,.4);transition:transform .2s ease}
.ui-play-circle:hover{transform:scale(1.1)}
.ui-play-circle svg{width:22px;height:22px;margin-left:3px}
.ui-player-timeline{display:flex;flex-direction:column;gap:6px}
.ui-timeline-bar{width:100%;height:4px;border-radius:2px;background:rgba(255,255,255,.2);position:relative;overflow:hidden}
.ui-timeline-progress{height:100%;width:58%;background:var(--kaizen-red);border-radius:2px}
.ui-player-meta{display:flex;justify-content:space-between;align-items:center;font-size:.72rem;color:#94a3b8;font-family:var(--font-mono)}

/* UI QA Items */
.ui-qa-list{display:flex;flex-direction:column;gap:8px}
.ui-qa-item{background:var(--paper-2);border-radius:8px;padding:10px 14px;border:1px solid var(--line);display:flex;flex-direction:column;gap:4px}
.ui-qa-q{font-size:.8rem;font-weight:700;color:var(--ink);display:flex;align-items:center;gap:6px}
.ui-qa-q::before{content:"Q:";color:var(--kaizen-red);font-weight:800}
.ui-qa-a{font-size:.74rem;color:var(--steel);line-height:1.45;padding-left:18px}

/* UI Mini Pill Switcher */
.ui-pill-row{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.ui-mini-pill{font-size:.7rem;font-family:var(--font-mono);font-weight:600;padding:4px 10px;border-radius:6px;background:var(--paper-2);color:var(--steel);border:1px solid var(--line)}
.ui-mini-pill--active{background:rgba(225,59,59,.1);color:var(--kaizen-red);border-color:rgba(225,59,59,.25)}

/* UI Mock Search Bar */
.ui-search-bar{display:flex;align-items:center;gap:10px;background:var(--paper-2);border:1.5px solid var(--line);border-radius:8px;padding:8px 14px;color:var(--steel-light);font-size:.8rem}
.ui-search-bar svg{width:16px;height:16px;color:var(--steel)}
.ui-search-bar span{color:var(--steel);font-weight:500}

/* UI Checklist & Agenda */
.ui-agenda-list{display:flex;flex-direction:column;gap:8px}
.ui-agenda-item{display:flex;align-items:flex-start;gap:10px;background:var(--paper-2);border:1px solid var(--line);border-radius:8px;padding:9px 12px;font-size:.78rem;color:var(--ink)}
.ui-agenda-check{width:18px;height:18px;border-radius:50%;background:rgba(31,169,122,.15);color:var(--improve-green);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.65rem;flex-shrink:0;margin-top:1px}

/* UI Insights Feed */
.ui-feed-list{display:flex;flex-direction:column;gap:8px}
.ui-feed-item{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--paper-2);border:1px solid var(--line);border-radius:8px;padding:10px 14px;text-decoration:none;transition:border-color .2s,background .2s}
.ui-feed-item:hover{border-color:var(--kaizen-red);background:var(--white)}
.ui-feed-content{display:flex;flex-direction:column;gap:2px}
.ui-feed-title{font-size:.8rem;font-weight:600;color:var(--ink)}
.ui-feed-meta{font-size:.7rem;color:var(--steel-light);display:flex;align-items:center;gap:8px}
.ui-feed-badge{font-size:.68rem;font-family:var(--font-mono);font-weight:600;padding:2px 6px;border-radius:4px;background:rgba(2,132,199,.1);color:#0284c7}

/* ================= SIMPLE PAGE HEADER ================= */
.page-header{position:relative;padding:140px 0 52px;background:var(--paper-2);border-bottom:1px solid var(--line)}
.page-header .section-head{margin-bottom:0;max-width:760px}
.page-header h1{font-size:clamp(2rem, 3.8vw, 2.8rem);margin-bottom:14px;color:var(--ink)}

/* Fixed Navbar overrides for pages with a simple light header */
body.has-simple-header .nav{background:rgba(246,247,249,.95);backdrop-filter:blur(14px) saturate(1.4);-webkit-backdrop-filter:blur(14px) saturate(1.4);border-bottom:1px solid var(--line);box-shadow:var(--shadow-sm)}
body.has-simple-header .nav:not(.is-scrolled) .nav__links a{color:var(--steel)}
body.has-simple-header .nav:not(.is-scrolled) .nav__links a.is-active,
body.has-simple-header .nav:not(.is-scrolled) .nav__links a:hover{color:var(--kaizen-red)}
body.has-simple-header .nav:not(.is-scrolled) .nav__links a::after{background:var(--kaizen-red)}
body.has-simple-header .nav:not(.is-scrolled) .brand__text{color:var(--ink)}
body.has-simple-header .nav:not(.is-scrolled) .brand__text em{color:var(--steel-light)}
body.has-simple-header .nav:not(.is-scrolled) .nav__burger span{background:var(--ink)}

/* ================= COMPARISON MATRIX TABLE ================= */
.compare-table-wrap{width:100%;overflow-x:auto;background:var(--white);border-radius:var(--radius-lg);border:1px solid var(--line);box-shadow:var(--shadow-sm);margin:32px 0}
.compare-table{width:100%;border-collapse:collapse;text-align:left;font-size:.92rem}
.compare-table th,.compare-table td{padding:16px 20px;border-bottom:1px solid var(--line)}
.compare-table th{background:var(--paper-2);font-family:var(--font-display);font-weight:700;color:var(--ink);font-size:.95rem}
.compare-table th:first-child{width:30%}
.compare-table th:nth-child(2){width:35%;color:var(--steel)}
.compare-table th:nth-child(3){width:35%;color:var(--improve-green-dark);background:rgba(31,169,122,.08)}
.compare-table td:nth-child(3){background:rgba(31,169,122,.03);font-weight:600;color:var(--ink)}
.compare-table tr:last-child td{border-bottom:none}
.compare-badge--bad{display:inline-flex;align-items:center;gap:6px;color:var(--kaizen-red);font-weight:600;font-size:.82rem}
.compare-badge--good{display:inline-flex;align-items:center;gap:6px;color:var(--improve-green);font-weight:700;font-size:.82rem}

/* ================= 4 PILLARS GRID ================= */
.pillar-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin-top:32px}
.pillar-card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-lg);padding:32px;display:flex;flex-direction:column;gap:14px;box-shadow:var(--shadow-sm);transition:transform .3s var(--ease),box-shadow .3s var(--ease),border-color .3s}
.pillar-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);border-color:rgba(225,59,59,.3)}
.pillar-card__icon{width:46px;height:46px;border-radius:12px;background:rgba(225,59,59,.08);color:var(--kaizen-red);display:flex;align-items:center;justify-content:center}
.pillar-card__icon svg{width:24px;height:24px}
.pillar-card h3{font-size:1.25rem;color:var(--ink);margin:0}
.pillar-card p{color:var(--steel);font-size:.92rem;line-height:1.6;margin:0}
.pillar-card ul{display:flex;flex-direction:column;gap:8px;margin-top:6px}
.pillar-card li{font-size:.86rem;color:var(--steel);display:flex;align-items:flex-start;gap:8px}
.pillar-card li::before{content:"✓";color:var(--improve-green);font-weight:700}

/* ================= IMPLEMENTATION ROADMAP ================= */
.roadmap-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:36px}
.roadmap-step{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-md);padding:24px 20px;display:flex;flex-direction:column;gap:10px;box-shadow:var(--shadow-sm);position:relative}
.roadmap-step__num{font-family:var(--font-mono);font-size:.74rem;font-weight:700;padding:4px 10px;border-radius:6px;background:rgba(225,59,59,.1);color:var(--kaizen-red);align-self:flex-start}
.roadmap-step h4{font-size:1.02rem;color:var(--ink);margin:0}
.roadmap-step p{font-size:.84rem;color:var(--steel);line-height:1.55;margin:0}

@media(max-width:960px){
  .pillar-grid{grid-template-columns:1fr}
  .roadmap-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:560px){
  .roadmap-grid{grid-template-columns:1fr}
  .compare-table{font-size:.84rem;min-width:560px}
  .compare-table th,.compare-table td{padding:12px 14px}
  .compare-table-wrap{-webkit-overflow-scrolling:touch}
}

/* ================= FAQ ITEM ACCORDION HEIGHT ================= */
.faq-item.is-open .faq-item__a {
  max-height: 480px;
}

@media(max-width:480px){
  .pillar-card{padding:22px 18px}
  .faq-item__q{padding:16px 18px;font-size:0.95rem}
  .faq-item__a p{padding:0 18px 18px;font-size:0.88rem}
}
