/* KRIM homepage experience refresh — visual layer only; preserves existing routes and workflows. */
:root{
 --navy:#071a2d;--navy2:#0b2b49;--blue:#245fe5;--cyan:#79e7d8;
 --ink:#12263c;--muted:#60758b;--line:#dce6ef;--soft:#f4f7fb;
 --shadow:0 24px 70px rgba(4,22,42,.13);
}
body{color:var(--ink);font-family:Inter,"Segoe UI",system-ui,-apple-system,sans-serif}
.wrap{width:min(1280px,calc(100% - 64px))}
header{background:rgba(255,255,255,.94);border-bottom:1px solid rgba(215,226,237,.8);box-shadow:0 5px 24px rgba(7,26,45,.035)}
.nav{height:82px;gap:28px}
.brand{gap:13px}
.brand-mark{width:46px;height:46px;border-radius:13px 13px 5px 13px;background:linear-gradient(145deg,#0d2b49,#061626);box-shadow:0 7px 18px rgba(5,25,44,.17);font-size:25px}
.brand-name{font-size:13px;letter-spacing:.16em}
.brand-name small{font-size:8px;letter-spacing:.13em;color:#74899e}
.nav-links{gap:25px}
.nav-links a{font-size:11px;font-weight:750;color:#3e5368;transition:color .18s ease}
.nav-links a:hover{color:var(--blue)}
.signin{font-size:11px;letter-spacing:.04em;color:#30475e}
.btn{min-height:49px;padding:13px 20px;border-radius:9px;font-size:11px;letter-spacing:.055em}
.btn-primary{background:linear-gradient(115deg,#2868ef,#1c55d4);box-shadow:0 10px 24px rgba(36,95,229,.23)}
.btn-primary:hover{background:linear-gradient(115deg,#1d58d5,#1648bd);box-shadow:0 13px 28px rgba(36,95,229,.29)}
.hero{background:#06182b}
.hero:before{background:
 radial-gradient(ellipse at 78% 36%,rgba(25,105,139,.58) 0,transparent 39%),
 radial-gradient(ellipse at 8% 92%,rgba(20,66,101,.72) 0,transparent 43%),
 linear-gradient(118deg,#041321 0%,#0a2947 55%,#07182b 100%)}
.hero:after{opacity:.11;background-size:64px 64px}
.hero-grid{min-height:680px;padding:78px 0 76px;grid-template-columns:.92fr 1.08fr;gap:46px}
.eyebrow{font-size:10px;letter-spacing:.19em;color:#8aeee1}
h1{max-width:650px;margin:25px 0 19px;font-size:clamp(54px,6.3vw,88px);line-height:.98;letter-spacing:-.075em;font-weight:880}
h1 span{color:#83eadd}
.hero-tagline{font-size:clamp(19px,1.9vw,24px);letter-spacing:-.025em;margin-bottom:16px}
.hero-lead{max-width:560px;font-size:15px;line-height:1.85;color:#c6d6e4}
.hero-actions{gap:13px;margin-top:31px}
.hero-note{max-width:550px;margin-top:25px;font-size:11px;line-height:1.85;color:#b2c6d7}
.hero-visual{padding:17px;isolation:isolate;border:1px solid rgba(164,220,239,.22);border-radius:25px;background:linear-gradient(145deg,rgba(255,255,255,.11),rgba(255,255,255,.025));box-shadow:0 30px 85px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.12)}
.hero-visual:before{content:"";position:absolute;z-index:-1;inset:10% -7% -8% 12%;border-radius:50%;background:rgba(39,141,173,.18);filter:blur(45px)}
.hero-art{width:100%;margin:0;border-radius:16px;filter:drop-shadow(0 18px 26px rgba(0,0,0,.22))}
.floating-card{border:1px solid rgba(183,226,242,.25);border-radius:12px;background:rgba(7,30,51,.94);box-shadow:0 15px 36px rgba(0,0,0,.3);padding:14px 16px}
.float-a{top:-2%;left:-5%}
.float-b{right:-4%;bottom:-3%}
.floating-card b{font-size:10px;letter-spacing:.01em}
.floating-card small{font-size:9px}
.quickbar{box-shadow:0 15px 34px rgba(7,26,45,.055);border-bottom-color:#e5ecf2}
.quick-grid{grid-template-columns:1.1fr repeat(4,1fr)}
.quick-intro{padding:22px 20px 22px 0}
.quick-intro b{font-size:13px;letter-spacing:-.01em}
.quick-intro span{font-size:10px}
.quick-link{padding:22px 18px;font-size:11px;transition:background .18s ease,color .18s ease}
.quick-link:hover{background:#f2f7fd;color:#174fca}
.section{padding:94px 0}
.section-soft{background:linear-gradient(180deg,#f5f8fb 0%,#f1f5f9 100%)}
.section-head{margin-bottom:39px}
.kicker{font-size:10px;letter-spacing:.18em}
h2{font-size:clamp(35px,4.2vw,56px);letter-spacing:-.067em}
.section-intro{font-size:14px;line-height:1.9}
.section-note{font-size:11px;line-height:1.9}
.pillars,.capability-grid{gap:16px}
.pillar,.capability{border-radius:15px;border-color:#e0e8f0;box-shadow:0 10px 28px rgba(7,26,45,.045)}
.pillar{min-height:205px;padding:25px}
.pillar-mark,.cap-icon{border-radius:12px}
.pillar h3,.capability h3{font-size:16px;letter-spacing:-.02em}
.pillar p,.capability p{font-size:12px;line-height:1.85}
.capability{min-height:225px;padding:24px}
.capability:hover{transform:translateY(-5px);box-shadow:0 20px 42px rgba(7,26,45,.1)}
.operating{gap:62px}
.os-card{border:1px solid rgba(139,211,232,.18);box-shadow:0 28px 70px rgba(7,26,45,.2)}
.market-card{border:1px solid rgba(139,211,232,.15);box-shadow:0 20px 50px rgba(7,26,45,.12)}
.role{border-color:#e0e8f0;border-radius:13px;box-shadow:0 8px 22px rgba(7,26,45,.025)}
.role:hover{box-shadow:0 14px 30px rgba(7,26,45,.075)}
.journey{border-color:#e0e8f0;border-radius:15px}
.journey-step{padding:23px 18px}
.trust{border-radius:13px}
.cta-band{background:linear-gradient(110deg,#08213a,#0b3b5b 65%,#0d4963)}
.footer{background:linear-gradient(180deg,#061626,#030d18)}
:focus-visible{outline:3px solid #79b5ff;outline-offset:4px}
@media(max-width:1050px){
 .wrap{width:min(100% - 44px,960px)}
 .nav{gap:14px}.nav-links{gap:13px}.nav-links a{font-size:10px}
 .hero-grid{min-height:600px;gap:26px;padding-block:62px}
 h1{font-size:clamp(48px,5.8vw,68px)}
 .hero-visual{padding:12px}
 .float-a{left:-2%}.float-b{right:-2%}
 .section{padding:78px 0}
}
@media(max-width:900px){
 .nav{height:72px}
 .nav-links{top:72px}
 .hero-grid{grid-template-columns:1fr;gap:26px;padding:58px 0 55px}
 .hero-grid>div:first-child{max-width:760px}
 h1{max-width:760px;font-size:clamp(52px,8vw,76px)}
 .hero-visual{width:min(100%,760px);margin:0 auto;padding:14px}
 .hero-art{width:100%}
 .float-a{left:-1%;top:-2%}.float-b{right:-1%;bottom:-2%}
 .quick-grid{grid-template-columns:repeat(2,1fr)}
 .quick-intro{grid-column:1/-1;padding:17px 0}
 .quick-link{padding:17px;border-top:1px solid var(--line)}
 .quick-link:nth-child(2n){border-left:0}
}
@media(max-width:760px){
 .wrap{width:calc(100% - 36px)}
 .nav{height:68px}
 .nav-links{top:68px}
 .hero-grid{padding:48px 0 42px;gap:24px}
 h1{font-size:clamp(44px,11vw,65px);line-height:1.01}
 .hero-lead{font-size:14px;line-height:1.8}
 .hero-actions{margin-top:24px}
 .hero-actions .btn{width:auto;min-height:48px}
 .hero-note{font-size:11px}
 .hero-visual{padding:9px;border-radius:18px}
 .hero-art{border-radius:12px}
 .floating-card{padding:9px 10px;max-width:48%}
 .floating-card b{font-size:8px}.floating-card small{font-size:7px}
 .section{padding:64px 0}
 .section-head{margin-bottom:27px}
 .section-intro{font-size:13px}
 .pillar,.capability{padding:17px}
 .operating{gap:28px}
 .market-card{padding:22px}
 .journey-step{padding:18px}
}
@media(max-width:420px){
 .wrap{width:calc(100% - 28px)}
 .brand-name{font-size:11px}
 .brand-name small{font-size:7px}
 .nav-actions>.btn{font-size:9px;padding:8px 10px}
 .hero-grid{padding-top:40px}
 h1{font-size:clamp(41px,11.5vw,52px)}
 .hero-actions .btn{width:100%}
 .hero-visual{padding:6px}
 .float-a{left:0;top:-3%}.float-b{right:0;bottom:-3%}
 .quick-link{font-size:10px;padding:13px 10px}
 .section{padding:55px 0}
}


/* Readability correction: raise supporting copy and UI labels to comfortable sizes. */
html{font-size:16px}
body{font-size:16px}
.wrap{width:min(1320px,calc(100% - 72px))}
.nav{height:88px}
.brand-mark{width:50px;height:50px;font-size:27px}
.brand-name{font-size:15px}
.brand-name small{font-size:10px}
.nav-links{gap:23px}
.nav-links a,.signin{font-size:13px}
.btn{font-size:13px;min-height:52px;padding:14px 22px}
.hero-grid{min-height:720px;gap:54px;padding:84px 0}
.eyebrow,.kicker{font-size:12px;letter-spacing:.16em}
h1{font-size:clamp(58px,6.3vw,92px);line-height:1.02;max-width:720px}
.hero-tagline{font-size:clamp(21px,2vw,26px)}
.hero-lead{font-size:17px;line-height:1.85;max-width:610px}
.hero-note{font-size:13px;line-height:1.8}
.floating-card{padding:15px 18px}
.floating-card b{font-size:13px}
.floating-card small{font-size:11px}
.quick-intro b{font-size:16px}
.quick-intro span{font-size:13px}
.quick-link{font-size:14px;padding:23px 20px}
.section{padding:104px 0}
h2{font-size:clamp(40px,4.4vw,60px);line-height:1.08}
.section-intro{font-size:16px;line-height:1.85;max-width:850px}
.section-note{font-size:13px}
.pillar,.capability{padding:28px}
.pillar h3,.capability h3{font-size:19px}
.pillar p,.capability p{font-size:14px;line-height:1.8}
.capability a{font-size:13px}
.op-item b{font-size:15px}
.op-item span{font-size:14px;line-height:1.8}
.os-card h3{font-size:34px}
.os-card>p{font-size:14px;line-height:1.8}
.os-flow small,.os-top small{font-size:10px}
.os-flow b{font-size:13px}
.os-flow span{font-size:12px;line-height:1.7}
.market-card h3{font-size:30px}
.market-card p{font-size:14px;line-height:1.8}
.market-tag{font-size:12px;padding:9px 13px}
.role{padding:20px;min-height:145px}
.role h3{font-size:15px}
.role p{font-size:13px;line-height:1.7}
.role a{font-size:12px}
.industry{padding:21px}
.industry b,.trust b{font-size:14px}
.industry span,.trust p{font-size:13px;line-height:1.75}
.journey-step{padding:25px 20px;min-height:180px}
.journey-step h3{font-size:16px}
.journey-step p{font-size:13px;line-height:1.75}
.journey-no{font-size:10px}
.faq-grid summary{font-size:14px}
.faq-grid details p{font-size:13px;line-height:1.8}
.cta-inner p{font-size:13px}
.footer-brand{font-size:16px}
.footer-brand small{font-size:9px}
.footer-desc,.footer-col a,.footer-col b{font-size:12px;line-height:1.8}
.footer-bottom{font-size:10px}
@media(max-width:1050px){
 .wrap{width:calc(100% - 48px)}
 .nav-links a,.signin{font-size:12px}
 .hero-grid{min-height:660px;gap:30px}
 .hero-lead{font-size:16px}
}
@media(max-width:760px){
 .wrap{width:calc(100% - 36px)}
 .nav{height:72px}
 .nav-links{top:72px}
 .nav-links a{font-size:14px;padding:14px 0}
 .nav-actions>.btn{font-size:11px;min-height:42px}
 .hero-grid{min-height:auto;padding:58px 0 48px;gap:28px}
 h1{font-size:clamp(48px,11vw,70px)}
 .hero-lead{font-size:16px}
 .hero-note{font-size:12px}
 .section{padding:70px 0}
 h2{font-size:clamp(36px,8vw,48px)}
 .section-intro{font-size:15px}
 .pillar h3,.capability h3{font-size:17px}
 .pillar p,.capability p{font-size:13px}
 .role h3{font-size:14px}
 .role p{font-size:12px}
 .journey-step h3{font-size:15px}
 .journey-step p{font-size:12px}
 .footer-desc,.footer-col a{font-size:12px}
}
@media(max-width:420px){
 .wrap{width:calc(100% - 28px)}
 .hero-grid{padding-top:46px}
 h1{font-size:clamp(43px,11.8vw,54px)}
 .hero-lead{font-size:15px}
 .hero-actions .btn{width:100%;font-size:13px}
 .section{padding:60px 0}
 .section-intro{font-size:14px}
 .quick-link{font-size:12px}
}


/* KRIM responsive hardening — tested layout rules for narrow phones through wide displays. */
html,body{width:100%;max-width:100%;overflow-x:clip}
body{min-width:0}
main,header,footer,section,.wrap,.nav,.hero-grid,.quick-grid,.operating,.footer-grid{min-width:0}
img,svg,video,canvas{max-width:100%;height:auto}
h1,h2,h3,p,a,button,small,span{overflow-wrap:anywhere}
button,a{touch-action:manipulation}
.wrap{width:min(1320px,calc(100% - 64px))}
.hero-grid>*,.quick-grid>*,.pillars>*,.capability-grid>*,.roles>*,.industries>*,.journey>*,.trust-grid>*,.footer-grid>*{min-width:0}
.hero-visual{min-width:0}
.hero-art{display:block;max-width:100%;height:auto;object-fit:contain}
.quick-link{min-width:0}
.quick-link span{flex:none}
.market-card,.os-card{min-width:0}
.os-flow,.market-tags{min-width:0}
.footer-col a{overflow-wrap:anywhere}
@media(max-width:1050px){
 .wrap{width:calc(100% - 48px)}
 .nav{height:78px;gap:12px}
 .nav-links{display:none;position:absolute;top:78px;left:0;right:0;z-index:60;padding:12px 24px 18px;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 16px 24px rgba(7,26,45,.12);flex-direction:column;align-items:stretch;gap:0}
 .nav-links.open{display:flex}
 .nav-links a{display:block;width:100%;padding:13px 4px;border-bottom:1px solid #edf1f5;font-size:14px}
 .nav-actions{gap:9px;margin-left:auto}
 .signin{display:none}
 .menu{display:block;min-width:44px;min-height:44px;padding:7px 11px}
 .hero-grid{grid-template-columns:1fr;min-height:0;padding:58px 0 52px;gap:34px}
 .hero-grid>div:first-child{max-width:780px}
 .hero-visual{width:min(100%,820px);margin:0 auto;padding:14px}
 .hero-art{width:100%;margin:0}
 .operating{grid-template-columns:1fr;gap:32px}
 .os-card{width:100%}
 .section-head{align-items:flex-start}
 .journey{grid-template-columns:repeat(3,minmax(0,1fr))}
 .journey-step{border-bottom:1px solid var(--line)}
 .journey-step:nth-child(3n){border-right:0}
 .journey-step:last-child{border-bottom:0}
}
@media(max-width:760px){
 .wrap{width:calc(100% - 36px)}
 .nav{height:72px}
 .nav-links{top:72px}
 .brand-mark{width:42px;height:42px}
 .nav-actions>.btn{min-height:42px;padding:10px 12px;font-size:11px}
 .hero-grid{padding:48px 0 42px;gap:28px}
 h1{font-size:clamp(44px,9.5vw,68px);line-height:1.04;letter-spacing:-.055em}
 .hero-lead{font-size:16px;line-height:1.75}
 .hero-actions{display:grid;grid-template-columns:1fr;max-width:440px}
 .hero-actions .btn{width:100%;min-height:48px;white-space:normal;text-align:center}
 .hero-note{font-size:12px}
 .hero-visual{width:100%;padding:8px;border-radius:16px}
 .floating-card{max-width:48%;padding:9px 10px}
 .floating-card b{font-size:10px}
 .floating-card small{font-size:9px}
 .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .quick-intro{grid-column:1/-1}
 .quick-link{padding:16px 12px;font-size:12px}
 .section{padding:68px 0}
 .section-head{display:block}
 .section-note{max-width:none;margin-top:16px}
 .pillars,.capability-grid,.roles,.industries,.trust-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .pillar,.capability,.role,.industry,.trust{min-width:0}
 .journey{grid-template-columns:repeat(2,minmax(0,1fr))}
 .journey-step:nth-child(3n){border-right:1px solid var(--line)}
 .journey-step:nth-child(2n){border-right:0}
 .journey-step:last-child{grid-column:1/-1}
 .cta-inner{display:block}
 .cta-actions{display:grid;grid-template-columns:1fr;max-width:440px}
 .cta-actions .btn{width:100%}
 .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
 .footer-grid>div:first-child{grid-column:1/-1}
 .footer-bottom{display:grid;gap:8px}
}
@media(max-width:480px){
 .wrap{width:calc(100% - 28px)}
 .nav{gap:6px}
 .brand{gap:8px}
 .brand-mark{width:36px;height:36px;font-size:21px}
 .brand-name{font-size:10px;letter-spacing:.11em}
 .brand-name small{font-size:6px;letter-spacing:.08em}
 .nav-actions{gap:6px}
 .nav-actions>.btn{min-height:40px;padding:8px 9px;font-size:9px;letter-spacing:0}
 .menu{min-width:42px;min-height:42px;padding:6px 9px}
 h1{font-size:clamp(40px,10.8vw,52px);letter-spacing:-.05em}
 .hero-tagline{font-size:19px}
 .hero-lead{font-size:15px}
 .hero-visual{padding:5px}
 .floating-card{max-width:52%;padding:7px 8px}
 .floating-card b{font-size:9px}
 .floating-card small{font-size:8px}
 .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .quick-link{padding:13px 9px;font-size:11px}
 .pillars,.capability-grid,.roles,.trust-grid{grid-template-columns:1fr}
 .industries{grid-template-columns:repeat(2,minmax(0,1fr))}
 .journey{grid-template-columns:1fr}
 .journey-step,.journey-step:nth-child(2n),.journey-step:nth-child(3n){border-right:0;border-bottom:1px solid var(--line);min-height:0}
 .journey-step:last-child{grid-column:auto;border-bottom:0}
 .footer-grid{grid-template-columns:1fr}
 .footer-grid>div:first-child{grid-column:auto}
 .cta-actions{max-width:none}
}
@media(max-width:360px){
 .wrap{width:calc(100% - 24px)}
 .brand-name{font-size:9px}
 .brand-name small{font-size:5.5px}
 .nav-actions>.btn{font-size:8px;padding:7px}
 .menu{min-width:40px;min-height:40px}
 .hero-grid{padding-top:40px}
 h1{font-size:40px}
 .hero-actions .btn{font-size:11px;padding-inline:12px}
 .quick-link{font-size:10px}
}
@media(min-width:1440px){
 .wrap{width:min(1320px,calc(100% - 96px))}
 .hero-grid{min-height:760px}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 *,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important}
}


/* Final mobile alignment pass — compact header, clean hero and consistent card grids. */
@media(max-width:760px){
  .nav{display:flex;justify-content:space-between;gap:8px}
  .brand{min-width:0;gap:7px;flex:1 1 auto}
  .brand-mark{flex:0 0 36px}
  .brand-name{min-width:0;font-size:11px;letter-spacing:.08em;white-space:nowrap}
  .brand-name small{font-size:7px;letter-spacing:.045em;white-space:nowrap}
  .nav-actions{flex:0 0 auto;gap:6px}
  .nav-actions>.btn{min-height:42px;padding:8px 9px;font-size:9px;letter-spacing:0}
  .menu{flex:0 0 42px;width:42px;min-width:42px;height:42px;padding:0}
  .hero-grid{grid-template-columns:minmax(0,1fr);gap:22px;padding:42px 0 38px}
  .hero-grid>div:first-child{width:100%;max-width:none}
  .eyebrow{font-size:9px;line-height:1.6;letter-spacing:.1em}
  h1{max-width:100%;font-size:clamp(39px,10.2vw,62px);line-height:1.04;letter-spacing:-.055em;overflow-wrap:normal}
  .hero-tagline{font-size:19px}
  .hero-lead{max-width:100%;font-size:15px;line-height:1.7}
  .hero-actions{display:grid;grid-template-columns:minmax(0,1fr);width:100%;max-width:none}
  .hero-actions .btn{width:100%;min-height:48px;padding:12px 14px;font-size:11px;white-space:normal;line-height:1.45}
  .hero-note{font-size:11px;line-height:1.7}
  .hero-visual{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;width:100%;max-width:none;margin:0;padding:0;overflow:visible}
  .hero-art{grid-row:1;width:100%;max-width:100%;height:auto;margin:0;filter:drop-shadow(0 14px 22px #0004)}
  .floating-card,.float-a,.float-b{position:static;inset:auto;max-width:100%;width:100%;padding:10px 12px}
  .floating-card b{font-size:11px}
  .floating-card small{font-size:10px}
  .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .quick-intro{grid-column:1/-1}
  .quick-link{min-width:0;min-height:58px;padding:12px 10px;font-size:11px;line-height:1.4}
  .pillars,.capability-grid,.roles,.trust-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .pillar,.capability,.role,.trust{min-width:0;padding:15px}
  .pillar h3,.capability h3{font-size:15px}
  .pillar p,.capability p,.role p,.trust p{font-size:12px;line-height:1.65}
  .role{gap:9px}
  .role-icon{flex:0 0 32px;width:32px;height:32px}
  .industries{grid-template-columns:repeat(2,minmax(0,1fr))}
  .journey{grid-template-columns:repeat(2,minmax(0,1fr))}
  .journey-step,.journey-step:nth-child(2n),.journey-step:nth-child(3n){min-width:0;min-height:0;padding:15px 12px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
  .journey-step:nth-child(2n){border-right:0}
  .journey-step:last-child{grid-column:1/-1;border:0}
  .market-card{grid-template-columns:minmax(0,1fr);padding:20px}
  .market-tags{justify-content:flex-start}
  .os-card{padding:18px}
  .os-flow{grid-template-columns:repeat(2,minmax(0,1fr))}
  .faq-grid{grid-template-columns:minmax(0,1fr)}
  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
  .footer-grid>div:first-child{grid-column:1/-1}
  .footer-col{min-width:0}
  .footer-col a{font-size:11px;overflow-wrap:anywhere}
}
@media(max-width:420px){
  .wrap{width:calc(100% - 28px)}
  .nav{gap:5px}
  .brand-mark{flex-basis:33px;width:33px;height:33px;font-size:19px}
  .brand-name{font-size:9px;letter-spacing:.055em}
  .brand-name small{font-size:6px;letter-spacing:.025em}
  .nav-actions{gap:5px}
  .nav-actions>.btn{min-height:40px;padding:7px 7px;font-size:8px}
  .menu{flex-basis:40px;width:40px;min-width:40px;height:40px}
  h1{font-size:clamp(37px,10.5vw,46px)}
  .hero-tagline{font-size:17px}
  .hero-lead{font-size:14px}
  .hero-actions .btn{font-size:10px}
  .pillars,.capability-grid,.roles,.trust-grid{grid-template-columns:minmax(0,1fr)}
  .role{min-height:0}
  .os-flow{grid-template-columns:minmax(0,1fr)}
  .footer-grid{grid-template-columns:minmax(0,1fr)}
  .footer-grid>div:first-child{grid-column:auto}
}
@media(max-width:340px){
  .brand-name{font-size:8px}
  .brand-name small{font-size:5.5px}
  .nav-actions>.btn{font-size:7px;padding-inline:6px}
  h1{font-size:36px}
}


/* Phone header correction: keep the brand and menu in one unclipped row. */
.mobile-portal-link{display:none}
@media(max-width:1050px){
  .nav{width:calc(100% - 40px);gap:10px}
  .brand{flex:1 1 auto;min-width:0}
  .nav-actions{flex:0 0 auto;margin-left:0}
  .nav-actions>.btn{display:none}
  .nav-actions .menu{display:grid;place-items:center;flex:0 0 44px;width:44px;min-width:44px;height:44px;padding:0}
  .mobile-portal-link{display:block;width:100%;padding:14px 4px;border-bottom:1px solid #edf1f5;color:var(--blue);font-size:14px;font-weight:900;letter-spacing:.04em}
}
@media(max-width:480px){
  header{overflow:visible}
  .nav{width:calc(100% - 28px);height:66px;gap:8px}
  .brand{gap:8px;flex:1 1 auto}
  .brand-mark{flex:0 0 34px;width:34px;height:34px;font-size:20px}
  .brand-name{font-size:10px;letter-spacing:.07em;white-space:nowrap}
  .brand-name small{font-size:6px;letter-spacing:.035em;white-space:nowrap}
  .nav-actions{flex:0 0 42px;width:42px}
  .nav-actions .menu{width:42px;min-width:42px;height:42px;flex-basis:42px}
  .nav-links{top:66px;left:0;right:0;padding:10px 20px 16px}
  .hero-grid{padding-top:38px}
  .eyebrow{font-size:8px;letter-spacing:.075em;gap:7px}
  .eyebrow:before{width:18px;flex:0 0 18px}
  h1{font-size:clamp(36px,10.2vw,43px);line-height:1.06;letter-spacing:-.05em}
  .hero-tagline{font-size:17px;line-height:1.35}
  .hero-lead{font-size:14px;line-height:1.7}
  .hero-actions .btn{font-size:11px;padding:12px 10px}
}
@media(max-width:360px){
  .brand-name{font-size:9px}
  .brand-name small{font-size:5.5px}
  h1{font-size:36px}
}


/* Fixed global header: remains visible in both scroll directions on every viewport. */
html{scroll-padding-top:var(--krim-header-offset,88px)}
body{padding-top:88px}
header{
  position:fixed!important;
  top:0!important;
  left:0!important;
  right:0!important;
  width:100%!important;
  z-index:1000!important;
  isolation:isolate;
  background:rgba(255,255,255,.97)!important;
  -webkit-backdrop-filter:blur(16px);
  backdrop-filter:blur(16px);
  box-shadow:0 5px 24px rgba(7,26,45,.09);
}
@media(max-width:1050px){
  body{padding-top:78px}
  html{scroll-padding-top:78px}
}
@media(max-width:760px){
  body{padding-top:72px}
  html{scroll-padding-top:72px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
}


/* Final brand visibility pass: larger KRIM mark and wordmark across screen sizes. */
@media(min-width:1051px){
  header .brand{gap:14px!important}
  header .brand-mark{width:56px!important;height:56px!important;flex:0 0 56px!important;font-size:30px!important}
  header .brand-name{font-size:16px!important;letter-spacing:.14em!important}
  header .brand-name small{font-size:10px!important;letter-spacing:.105em!important;margin-top:7px!important}
}
@media(min-width:761px) and (max-width:1050px){
  header .brand{gap:11px!important}
  header .brand-mark{width:47px!important;height:47px!important;flex:0 0 47px!important;font-size:26px!important}
  header .brand-name{font-size:13px!important;letter-spacing:.09em!important}
  header .brand-name small{font-size:8px!important;letter-spacing:.055em!important;margin-top:6px!important}
}
@media(max-width:760px){
  header .nav{gap:9px!important}
  header .brand{gap:9px!important;flex:1 1 auto!important;min-width:0!important}
  header .brand-mark{width:43px!important;height:43px!important;flex:0 0 43px!important;font-size:24px!important}
  header .brand-name{font-size:12px!important;letter-spacing:.065em!important;line-height:1.15!important}
  header .brand-name small{font-size:7.5px!important;letter-spacing:.035em!important;margin-top:5px!important}
  header .nav-actions .menu{width:44px!important;min-width:44px!important;height:44px!important;flex-basis:44px!important}
}
@media(max-width:380px){
  header .brand-mark{width:40px!important;height:40px!important;flex-basis:40px!important;font-size:22px!important}
  header .brand-name{font-size:11px!important;letter-spacing:.045em!important}
  header .brand-name small{font-size:6.5px!important;letter-spacing:.02em!important}
}


/* KRIM layout calibration — clean breakpoint ownership and aligned desktop composition. */
:root{--krim-content:1320px}
html{scroll-padding-top:88px}
body{padding-top:88px}
.wrap{width:min(var(--krim-content),calc(100% - 80px));margin-inline:auto}
header .nav{width:min(var(--krim-content),calc(100% - 80px));height:88px;margin-inline:auto;display:flex;align-items:center;justify-content:space-between;gap:clamp(16px,2vw,30px)}
header .brand{flex:0 0 auto;min-width:max-content;gap:14px}
header .brand-mark{width:54px;height:54px;flex:0 0 54px}
header .nav-links{position:static;display:flex;flex:1 1 auto;justify-content:center;align-items:center;gap:clamp(12px,1.45vw,22px);min-width:0;padding:0;border:0;background:transparent;box-shadow:none;white-space:nowrap}
header .nav-links a{font-size:clamp(11px,.9vw,13px);line-height:1.2}
header .nav-actions{flex:0 0 auto;display:flex;align-items:center;gap:14px;margin:0}
header .nav-actions>.btn{display:inline-flex;white-space:nowrap}
header .signin{display:inline-flex;white-space:nowrap}
header .menu,.mobile-portal-link{display:none!important}
.hero-grid{width:min(var(--krim-content),calc(100% - 80px));min-height:680px;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);gap:clamp(28px,4vw,64px);padding:76px 0 72px;align-items:center}
.hero-grid>div:first-child{min-width:0;max-width:650px}
.hero-visual{width:100%;min-width:0;max-width:680px;margin-inline:auto;padding:18px 12px}
.hero-art{width:100%;max-width:100%;height:auto;margin:0;object-fit:contain}
.float-a{left:0;top:4%}
.float-b{right:0;bottom:5%}
.hero-lead,.hero-note{max-width:590px}
.quick-grid{grid-template-columns:minmax(220px,1.1fr) repeat(4,minmax(0,1fr))}
.quick-intro{padding:22px 22px 22px 0}
.quick-link{min-width:0;padding-inline:clamp(12px,1.5vw,22px)}
.section-head{align-items:flex-end}
.section-copy{min-width:0}
.section-note{flex:0 0 250px}
.pillars,.capability-grid,.roles,.trust-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.operating{grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);gap:clamp(34px,4vw,62px)}
.market-card{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}
.journey{grid-template-columns:repeat(5,minmax(0,1fr))}
.footer-grid{grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(0,1fr))}
@media(min-width:1440px){
 .hero-grid{min-height:740px}
 .hero-art{max-height:600px}
}
@media(max-width:1200px){
 html{scroll-padding-top:78px}
 body{padding-top:78px}
 .wrap{width:calc(100% - 56px)}
 header .nav{width:calc(100% - 56px);height:78px;gap:16px}
 header .brand{min-width:0}
 header .brand-mark{width:48px;height:48px;flex-basis:48px}
 header .nav-links{display:none!important;position:absolute;top:78px;left:0;right:0;z-index:60;padding:14px 28px 20px;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 16px 24px rgba(7,26,45,.12);flex-direction:column;align-items:stretch;gap:0;white-space:normal}
 header .nav-links.open{display:flex!important}
 header .nav-links a{display:block;width:100%;padding:13px 4px;border-bottom:1px solid #edf1f5;font-size:14px}
 header .nav-links .mobile-portal-link{display:block!important;color:var(--blue);font-weight:900}
 header .nav-actions>.btn,header .signin{display:none!important}
 header .menu{display:grid!important;place-items:center;flex:0 0 46px;width:46px;height:46px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--navy);font-size:23px}
 .hero-grid{width:calc(100% - 56px);min-height:620px;gap:30px;padding:62px 0}
 .hero-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .hero-art{width:100%;margin:0}
 .float-a{left:0}.float-b{right:0}
 .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .quick-intro{grid-column:1/-1;padding:16px 0}
 .quick-link{border-top:1px solid var(--line)}
 .quick-link:nth-child(2n){border-left:0}
 .pillars,.capability-grid,.roles,.trust-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .journey{grid-template-columns:repeat(3,minmax(0,1fr))}
 .journey-step:nth-child(3n){border-right:0}
 .journey-step:last-child{border-bottom:0}
}
@media(max-width:900px){
 .hero-grid{grid-template-columns:minmax(0,1fr);min-height:0;padding:52px 0 46px;gap:28px}
 .hero-grid>div:first-child{max-width:760px}
 .hero-visual{width:min(100%,760px);max-width:760px;margin:0 auto;padding:8px}
 .hero-art{width:100%;max-height:none}
 .float-a{left:1%;top:1%}
 .float-b{right:1%;bottom:2%}
 .operating{grid-template-columns:minmax(0,1fr);gap:30px}
 .section-head{display:block}
 .section-note{max-width:620px;margin-top:18px}
 .market-card{grid-template-columns:minmax(0,1fr);gap:22px}
 .market-tags{justify-content:flex-start}
}
@media(max-width:760px){
 html{scroll-padding-top:72px}
 body{padding-top:72px}
 .wrap{width:calc(100% - 36px)}
 header .nav{width:calc(100% - 36px);height:72px;gap:10px}
 header .brand{flex:1 1 auto;gap:9px}
 header .brand-mark{width:43px;height:43px;flex:0 0 43px}
 header .brand-name{font-size:12px;letter-spacing:.065em}
 header .brand-name small{font-size:7.5px}
 header .nav-links{top:72px;padding:12px 20px 18px}
 header .menu{width:44px;height:44px;flex-basis:44px}
 .hero-grid{width:calc(100% - 36px);padding:44px 0 38px;gap:22px}
 h1{font-size:clamp(40px,9vw,62px);line-height:1.04;letter-spacing:-.055em}
 .hero-lead{font-size:15px;line-height:1.75}
 .hero-actions{display:grid;grid-template-columns:minmax(0,1fr);max-width:480px}
 .hero-actions .btn{width:100%;min-height:48px;white-space:normal}
 .hero-note{font-size:11px}
 .hero-visual{display:block;width:100%;padding:0;overflow:visible}
 .hero-art{display:block;width:100%;height:auto}
 .floating-card{max-width:46%;padding:9px 10px}
 .floating-card b{font-size:9px}
 .floating-card small{font-size:8px}
 .float-a{left:0;top:0}
 .float-b{right:0;bottom:0}
 .section{padding:64px 0}
 .section-head{display:block}
 .section-note{max-width:none;flex:auto}
 .pillars,.capability-grid,.roles,.trust-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .journey{grid-template-columns:repeat(2,minmax(0,1fr))}
 .journey-step:nth-child(3n){border-right:1px solid var(--line)}
 .journey-step:nth-child(2n){border-right:0}
 .journey-step:last-child{grid-column:1/-1;border:0}
 .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:420px){
 .wrap{width:calc(100% - 28px)}
 header .nav{width:calc(100% - 28px);gap:7px}
 header .brand-mark{width:40px;height:40px;flex-basis:40px}
 header .brand-name{font-size:10px}
 header .brand-name small{font-size:6.5px}
 header .nav-actions{flex:0 0 44px}
 header .menu{width:42px;height:42px;flex-basis:42px}
 .hero-grid{width:calc(100% - 28px);padding-top:38px}
 h1{font-size:clamp(36px,10vw,44px)}
 .hero-tagline{font-size:17px}
 .hero-lead{font-size:14px}
 .floating-card{position:static;display:flex;width:100%;max-width:none;margin-top:8px}
 .quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .quick-link{padding:13px 10px;font-size:11px}
 .pillars,.capability-grid,.roles,.trust-grid,.footer-grid{grid-template-columns:minmax(0,1fr)}
 .journey{grid-template-columns:minmax(0,1fr)}
 .journey-step,.journey-step:nth-child(2n),.journey-step:nth-child(3n){border-right:0;border-bottom:1px solid var(--line)}
 .journey-step:last-child{grid-column:auto;border-bottom:0}
 .footer-grid>div:first-child{grid-column:auto}
}
