/* KONAI v22 - component audit: stable geometry, aligned visual/content pairs, no hover reflow */

*,
*::before,
*::after{
  box-sizing:border-box!important;
}

html,
body{
  width:100%;
  max-width:100%;
  overflow-x:hidden!important;
}

body{
  margin:0!important;
}

:root{
  --v22-page-pad:clamp(18px,2.2vw,32px);
  --v22-dock-safe:92px;
  --v22-card-radius:24px;
  --v22-border:rgba(115,205,255,.22);
  --v22-text:#f4f7fb;
  --v22-muted:#c9d3df;
  --v22-cyan:#5fdcff;
  --v22-gold:#ffd44f;
}

main,
.page-shell,
.site-main,
.home-main,
.audience-main,
.faq-main{
  width:100%;
  max-width:100%;
}

section,
[data-section],
.section,
.chapter-section,
.home-section,
.audience-section{
  position:relative!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow:hidden!important;
}

section > *,
[data-section] > *,
.section > *,
.chapter-section > *{
  min-width:0!important;
}

@media (min-width:1081px){
  section,
  [data-section],
  .section,
  .chapter-section{
    padding-left:var(--v22-page-pad)!important;
    padding-right:calc(var(--v22-page-pad) + var(--v22-dock-safe))!important;
  }
}

@media (max-width:1080px){
  section,
  [data-section],
  .section,
  .chapter-section{
    padding-left:var(--v22-page-pad)!important;
    padding-right:var(--v22-page-pad)!important;
  }
}

p,
li,
small,
.card-copy,
.description,
.section-copy,
.section-description,
.audience-card p,
.problem-card p,
.trust-card p,
.workflow-card p,
.infrastructure-card p{
  color:var(--v22-muted)!important;
}

h1,h2,h3,h4,h5,h6,
.card-title,
.section-title{
  color:var(--v22-text)!important;
  overflow-wrap:anywhere;
}

p,
li{
  overflow-wrap:anywhere;
}

[data-decorative="true"],
.decorative-copy,
.visual-debug,
.debug-label,
.placeholder-copy,
.instruction-copy,
.builder-note{
  display:none!important;
}

.card,
.problem-card,
.trust-card,
.workflow-card,
.infrastructure-card,
.benefit-card,
.path-card,
.audience-card,
.permission-card,
.identity-card,
.owner-card,
.user-card,
.founder-card,
.faq-card{
  border-radius:var(--v22-card-radius)!important;
  overflow:hidden!important;
  min-width:0!important;
}

.card,
.problem-card,
.trust-card,
.workflow-card,
.infrastructure-card,
.benefit-card,
.path-card,
.audience-card,
.permission-card,
.identity-card,
.owner-card,
.user-card,
.founder-card,
.faq-card,
[data-risk-state],
[data-workflow-state],
[data-path-card],
[data-card]{
  transform:none!important;
  translate:none!important;
  scale:1!important;
  margin-top:0!important;
  margin-bottom:0!important;
  top:auto!important;
  bottom:auto!important;
  transition:
    background-color .22s ease,
    border-color .22s ease,
    box-shadow .22s ease,
    color .22s ease,
    opacity .22s ease!important;
}

.card:hover,
.problem-card:hover,
.trust-card:hover,
.workflow-card:hover,
.infrastructure-card:hover,
.benefit-card:hover,
.path-card:hover,
.audience-card:hover,
.permission-card:hover,
.identity-card:hover,
.owner-card:hover,
.user-card:hover,
.founder-card:hover,
.faq-card:hover,
[data-risk-state]:hover:hover,
[data-workflow-state]:hover,
[data-path-card]:hover,
[data-card]:hover{
  transform:none!important;
  translate:none!important;
  scale:1!important;
  margin-top:0!important;
  margin-bottom:0!important;
  box-shadow:0 0 0 1px rgba(95,220,255,.18), 0 18px 42px rgba(0,0,0,.22)!important;
}

.path-grid,
.audience-path-grid,
.home-path-grid,
.choose-path-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:stretch!important;
}

.path-card,
.audience-card{
  display:grid!important;
  grid-template-rows:auto auto 1fr auto!important;
  align-content:start!important;
  gap:10px!important;
  min-height:250px!important;
}

.path-card .icon,
.path-card .card-icon,
.audience-card .icon,
.audience-card .card-icon{
  width:52px!important;
  height:52px!important;
  flex:0 0 52px!important;
}

.path-card .meta,
.path-card .tags,
.audience-card .meta,
.audience-card .tags{
  align-self:end!important;
  margin-top:auto!important;
}

.icon-fallback-text,
.card-icon-label,
.glyph-fallback{
  display:none!important;
}


.why-now-layout,
.why-layout,
.permission-gap-layout{
  display:grid!important;
  grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)!important;
  gap:14px!important;
  align-items:stretch!important;
}

.permission-gap-visual,
.permission-visual,
.why-visual{
  width:100%!important;
  min-width:0!important;
  height:100%!important;
  max-height:none!important;
}

.permission-gap-story,
.permission-story,
.why-story{
  width:100%!important;
  min-width:0!important;
  height:100%!important;
}

.problem-strip,
.why-problems,
.problem-summary{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:stretch!important;
}

.problem-strip > *,
.why-problems > *,
.problem-summary > *{
  min-width:0!important;
  height:100%!important;
}

.bridge-layout,
.bridge-grid,
.bridge-stage{
  display:grid!important;
  grid-template-columns:minmax(0,.8fr) minmax(0,1.45fr) minmax(0,.8fr)!important;
  gap:16px!important;
  align-items:stretch!important;
}

.bridge-layout > *,
.bridge-grid > *,
.bridge-stage > *{
  min-width:0!important;
  height:100%!important;
}

.bridge-visual,
.bridge-core,
.permission-layer-visual{
  width:100%!important;
  max-width:100%!important;
  margin:0 auto!important;
  align-self:center!important;
}

.risk-layout,
.problem-layout,
.audience-problem-layout,
.workflow-layout,
.infrastructure-layout{
  display:grid!important;
  grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)!important;
  gap:18px!important;
  align-items:stretch!important;
}

.risk-layout > *,
.problem-layout > *,
.audience-problem-layout > *,
.workflow-layout > *,
.infrastructure-layout > *{
  min-width:0!important;
  height:100%!important;
}

.problem-card-grid,
.workflow-card-grid,
.infrastructure-card-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  align-items:stretch!important;
}

.problem-card,
.workflow-card,
.infrastructure-card{
  height:auto!important;
  min-height:0!important;
}

svg,
img,
video,
canvas{
  max-width:100%!important;
}

svg{
  height:auto;
}

.visual-frame,
.media-frame,
.hero-visual,
.graphic-panel,
.svg-panel,
.illustration-panel{
  min-width:0!important;
  overflow:hidden!important;
}

.visual-frame svg,
.media-frame svg,
.graphic-panel svg,
.svg-panel svg{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
}

@media (max-width:1100px){
  .trust-layout,
  .trust-grid,
  .trust-stage,
  .trust-content,
  .why-now-layout,
  .why-layout,
  .permission-gap-layout,
  .risk-layout,
  .problem-layout,
  .audience-problem-layout,
  .workflow-layout,
  .infrastructure-layout{
    grid-template-columns:1fr!important;
  }

  .bridge-layout,
  .bridge-grid,
  .bridge-stage{
    grid-template-columns:1fr!important;
  }

  .bridge-visual,
  .bridge-core,
  .permission-layer-visual{
    order:2;
  }
}

@media (max-width:760px){
  .path-grid,
  .audience-path-grid,
  .home-path-grid,
  .choose-path-grid,
  .trust-cards,
  .trust-card-grid,
  .problem-card-grid,
  .workflow-card-grid,
  .infrastructure-card-grid,
  .problem-strip,
  .why-problems,
  .problem-summary{
    grid-template-columns:1fr!important;
  }

  .path-card,
  .audience-card,
  .trust-card{
    min-height:0!important;
  }
}