/* KONAI v31 — Cross-site consistency authority
   Trust Layer is the visual benchmark: open, restrained, technical, readable. */
:root{
  --k-font-display:"Sora",system-ui,-apple-system,"Segoe UI",sans-serif;
  --k-font-body:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
  --k-font-mono:"JetBrains Mono","SFMono-Regular",Consolas,monospace;

  --k-page-x:clamp(26px,2.6vw,40px);
  --k-header-gap:22px;
  --k-section-gap:26px;
  --k-section-y:clamp(34px,4.4vh,52px);
  --k-section-head-gap:clamp(22px,2.7vh,32px);
  --k-grid-gap:clamp(18px,1.7vw,26px);
  --k-card-gap:16px;
  --k-card-pad:clamp(20px,1.65vw,26px);
  --k-panel-pad:clamp(22px,1.95vw,30px);

  --k-fs-display:clamp(2.85rem,4.15vw,4.2rem);
  --k-fs-h2:clamp(1.95rem,2.75vw,2.95rem);
  --k-fs-h3:clamp(1.08rem,.42vw + 1rem,1.28rem);
  --k-fs-body:clamp(.88rem,.11vw + .86rem,.96rem);
  --k-fs-small:clamp(.79rem,.09vw + .77rem,.86rem);
  --k-fs-micro:clamp(.68rem,.07vw + .66rem,.75rem);
  --k-fs-nav:clamp(.79rem,.08vw + .78rem,.86rem);
}

/* Global visual language */
body.lustro-inspired{font-family:var(--k-font-body)!important;font-size:var(--k-fs-body)!important}
.lustro-inspired :where(h1,h2,h3,h4,h5,h6,.brand,.desktop-nav,.mobile-nav,.button,.btn,.faq-q){font-family:var(--k-font-display)!important}
.lustro-inspired :where(.section-index,.section-note,.eyebrow,.micro-label,.gold,.gap-label,.gap-key,.trust-step small,.trust-status span,.bridge-lattice__side>small,.bridge-lattice__hub>small,.history-mode span,.history-stops,.visual-toolbar,.hero-readout small){font-family:var(--k-font-mono)!important}

/* Header: same scale on every route */
.lustro-inspired .site-header{min-height:72px!important}
.lustro-inspired .header-inner{min-height:72px!important;gap:22px!important}
.lustro-inspired .brand{font-size:1rem!important;letter-spacing:.13em!important;font-weight:700!important}
.lustro-inspired .brand img{width:38px!important;height:38px!important}
.lustro-inspired .desktop-nav{gap:8px!important}
.lustro-inspired .desktop-nav>a,
.lustro-inspired .desktop-nav summary{font-size:var(--k-fs-nav)!important;font-weight:500!important;line-height:1.2!important;padding:12px 14px!important}
.lustro-inspired .header-actions .button{font-size:var(--k-fs-nav)!important;min-height:42px!important;padding:0 18px!important}

/* One spacing contract everywhere */
.lustro-inspired main{gap:var(--k-section-gap)!important;background:#030914!important}
.lustro-inspired header+main{padding-top:var(--k-header-gap)!important}
.lustro-inspired main>section{padding-top:var(--k-section-y)!important;padding-bottom:var(--k-section-y)!important}
.lustro-inspired main>section + section{position:relative!important}
.lustro-inspired main>section + section::before{content:"";position:absolute;left:var(--k-page-x);right:calc(var(--k-page-x) + var(--v27-dock-safe,0px));top:calc(-1 * var(--k-section-gap) / 2);height:1px;background:linear-gradient(90deg,transparent,rgba(112,216,255,.17),rgba(255,210,31,.12),transparent);pointer-events:none}

/* Text scale: slightly larger small/details, restrained headings */
.lustro-inspired main :where(p,li){font-size:var(--k-fs-body)!important;line-height:1.52!important}
.lustro-inspired main :where(small,.caption,.result-line,.law-note,.capability-count,.gateway-card footer span){font-size:var(--k-fs-small)!important;line-height:1.42!important}
.lustro-inspired main :where(.section-note,.micro-label,.eyebrow,.section-index,.gold,.solution-column header>span,.contract-card-head span,.faq-category){font-size:var(--k-fs-micro)!important;line-height:1.38!important}
.lustro-inspired main :where(.section-heading h2,.solution-head h2,.contract-copy h2,.faq-teaser h2){font-size:var(--k-fs-h2)!important;line-height:1.05!important}
.lustro-inspired main :where(.gateway-card h3,.perspective-card h3,.trust-step h3,.risk-card h4,.solution-column h3,.workflow-step h3,.founding-card h3,.faq-group h2){font-size:var(--k-fs-h3)!important}

/* Marquee: explicit lanes prevent symbol/text overlap */
.lustro-inspired .hero-marquee{height:42px!important;min-height:42px!important;overflow:hidden!important;display:flex!important;align-items:center!important}
.lustro-inspired .hero-marquee>div{display:flex!important;align-items:center!important;gap:18px!important;white-space:nowrap!important;min-width:max-content!important;line-height:1!important}
.lustro-inspired .hero-marquee span{display:inline-flex!important;align-items:center!important;font-family:var(--k-font-mono)!important;font-size:.70rem!important;line-height:1!important;letter-spacing:.075em!important}
.lustro-inspired .hero-marquee i{display:inline-grid!important;place-items:center!important;flex:0 0 auto!important;width:10px!important;height:10px!important;margin:0!important;font-size:.65rem!important;line-height:1!important;color:#63dcff!important}

/* Permission gap: readable graphic + right-side copy */
.lustro-inspired #why .problem-copy>h3{font-size:clamp(1.28rem,.7vw + 1.12rem,1.62rem)!important;line-height:1.14!important}
.lustro-inspired #why .perspective-card{padding:clamp(18px,1.5vw,22px)!important}
.lustro-inspired #why .perspective-card>span{font-size:var(--k-fs-micro)!important;letter-spacing:.08em!important}
.lustro-inspired #why .perspective-card h4{font-family:var(--k-font-display)!important;font-size:clamp(.98rem,.22vw + .94rem,1.08rem)!important;line-height:1.2!important;color:#f5f8fc!important}
.lustro-inspired #why .perspective-card p{font-size:var(--k-fs-small)!important;line-height:1.45!important;color:#c5d2df!important}
.lustro-inspired #why .perspective-link b{font-size:var(--k-fs-micro)!important}
.lustro-inspired #why .problem-grid p{font-size:var(--k-fs-small)!important;color:#c6d2df!important}

/* Trust layer: only a small text lift */
.lustro-inspired #protocol .trust-step-detail{font-size:clamp(.82rem,.08vw + .80rem,.88rem)!important;line-height:1.46!important;color:#cbd7e3!important}
.lustro-inspired #protocol .trust-step small,
.lustro-inspired #protocol .trust-status span,
.lustro-inspired #protocol .trust-endpoint{font-size:clamp(.70rem,.06vw + .69rem,.76rem)!important}
.lustro-inspired #protocol .trust-status b[data-trust-state]{font-size:clamp(.82rem,.08vw + .80rem,.88rem)!important}

/* Audience gateway: readable yellow-dot descriptors */
.lustro-inspired #audiences .gateway-card p{font-size:var(--k-fs-small)!important;line-height:1.46!important;color:#c5d2df!important}
.lustro-inspired #audiences .gateway-card footer span{font-size:clamp(.72rem,.06vw + .71rem,.78rem)!important;line-height:1.28!important;color:#c7d2df!important}
.lustro-inspired #audiences .gateway-card footer span::before{width:5px!important;height:5px!important;margin-right:7px!important}

/* Bridge: full-width graphic first, two calm explanatory panes below */
.lustro-inspired #bridge>.v27-section-inner{display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;height:100%!important}
.lustro-inspired #bridge .bridge-shell{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:minmax(0,1.3fr) auto!important;gap:var(--k-grid-gap)!important;height:100%!important}
.lustro-inspired #bridge .bridge-core{padding:var(--k-panel-pad)!important;border:1px solid rgba(103,188,234,.22)!important;border-radius:var(--k-radius-panel)!important;background:linear-gradient(180deg,rgba(12,32,54,.72),rgba(6,18,33,.78))!important;min-height:0!important}
.lustro-inspired #bridge .bridge-lattice{max-width:1060px!important;width:100%!important;height:100%!important;min-height:240px!important;margin:auto!important;grid-template-columns:minmax(190px,1fr) minmax(220px,.78fr) minmax(190px,1fr)!important;gap:clamp(24px,4vw,64px)!important}
.lustro-inspired #bridge .bridge-lattice__paths{opacity:.78!important}
.lustro-inspired #bridge .bridge-lattice__side{gap:10px!important}
.lustro-inspired #bridge .bridge-lattice__side>span{min-height:40px!important;padding:8px 12px!important;font-size:clamp(.78rem,.08vw + .77rem,.84rem)!important}
.lustro-inspired #bridge .bridge-lattice__hub{min-height:190px!important;padding:18px!important}
.lustro-inspired #bridge .bridge-lattice__hub strong{font-size:clamp(.92rem,.15vw + .89rem,1rem)!important}
.lustro-inspired #bridge .bridge-lattice__hub p,
.lustro-inspired #bridge .bridge-lattice__hub li,
.lustro-inspired #bridge .bridge-lattice__tokens span{font-size:clamp(.72rem,.06vw + .71rem,.78rem)!important}
.lustro-inspired #bridge .bridge-parties{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:var(--k-grid-gap)!important}
.lustro-inspired #bridge .bridge-pane{padding:clamp(18px,1.45vw,22px)!important;display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(220px,.75fr)!important;column-gap:18px!important;align-items:center!important}
.lustro-inspired #bridge .bridge-pane>.micro-label,
.lustro-inspired #bridge .bridge-pane>h3,
.lustro-inspired #bridge .bridge-pane>p{grid-column:1!important}
.lustro-inspired #bridge .bridge-pane h3{font-size:clamp(1rem,.25vw + .96rem,1.12rem)!important;margin:8px 0 6px!important}
.lustro-inspired #bridge .bridge-pane>p:not(.micro-label){font-size:var(--k-fs-small)!important;color:#c6d2df!important;margin:0!important}
.lustro-inspired #bridge .bridge-pane .persona-chips{grid-column:2!important;grid-row:1 / span 3!important;margin:0!important;padding:0!important;align-self:stretch!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
.lustro-inspired #bridge .persona-chip-static{min-height:40px!important;font-size:clamp(.72rem,.06vw + .71rem,.78rem)!important;padding:8px!important}

/* Fingerprint/history machine: graphic text brought into same small-text scale */
.lustro-inspired #story .history-mode span{font-size:clamp(.70rem,.06vw + .69rem,.76rem)!important;line-height:1.3!important}
.lustro-inspired #story .history-mode b{font-size:clamp(.80rem,.07vw + .79rem,.86rem)!important;line-height:1.35!important;color:#eef4fa!important}
.lustro-inspired #story .history-stops{font-size:clamp(.70rem,.06vw + .69rem,.76rem)!important;letter-spacing:.08em!important}
.lustro-inspired #story .history-notes{font-size:clamp(.76rem,.06vw + .75rem,.82rem)!important;line-height:1.4!important}

/* Audience pages: same rhythm and scale as homepage */
.lustro-inspired .audience-hero-layout{gap:var(--k-grid-gap)!important}
.lustro-inspired .audience-hero h1{font-size:clamp(2.55rem,3.75vw,3.8rem)!important;line-height:1!important;letter-spacing:-.045em!important}
.lustro-inspired .audience-hero-sub{font-size:clamp(1rem,.25vw + .95rem,1.14rem)!important;line-height:1.35!important}
.lustro-inspired .audience-hero-line{font-size:clamp(.84rem,.08vw + .82rem,.90rem)!important;line-height:1.45!important}
.lustro-inspired .audience-proof span{font-size:clamp(.72rem,.06vw + .71rem,.78rem)!important}
.lustro-inspired .audience-hero-note{font-size:var(--k-fs-small)!important;line-height:1.45!important}
.lustro-inspired .visual-toolbar>span,
.lustro-inspired .signal-switch button,
.lustro-inspired .hero-readout small{font-size:clamp(.68rem,.06vw + .67rem,.74rem)!important}
.lustro-inspired .hero-readout b{font-size:clamp(.78rem,.07vw + .77rem,.84rem)!important}
.lustro-inspired :where(.risk-card p,.risk-card strong,.solution-column li,.workflow-step p,.founding-card em,.founding-card p,.founding-cta p){font-size:var(--k-fs-small)!important;line-height:1.46!important}

/* Footer: remove visual mismatch and keep CTA as text emphasis, not a different scale */
.lustro-inspired .site-footer{padding-top:clamp(34px,4vw,52px)!important}
.lustro-inspired .footer-links a,
.lustro-inspired .footer-links .text-button{font-family:var(--k-font-body)!important;font-size:var(--k-fs-body)!important;line-height:1.35!important}
.lustro-inspired .footer-links .text-button{font-weight:700!important;color:#f5f8fc!important;text-align:left!important;padding:0!important}
.lustro-inspired .footer-bottom{font-size:var(--k-fs-small)!important}

@media (min-width:861px){
  .lustro-inspired main>section{height:calc(100svh - var(--v27-header-h,72px) - var(--k-header-gap))!important;min-height:calc(100svh - var(--v27-header-h,72px) - var(--k-header-gap))!important;max-height:calc(100svh - var(--v27-header-h,72px) - var(--k-header-gap))!important}
}

@media (max-width:1120px) and (min-width:861px){
  :root{--k-page-x:22px;--k-section-gap:20px;--k-section-y:28px;--k-card-pad:18px;--k-panel-pad:20px}
  .lustro-inspired #bridge .bridge-pane{grid-template-columns:1fr!important}
  .lustro-inspired #bridge .bridge-pane .persona-chips{grid-column:1!important;grid-row:auto!important;margin-top:12px!important}
}

@media (max-width:860px){
  :root{--k-page-x:18px;--k-header-gap:14px;--k-section-gap:18px;--k-section-y:30px}
  .lustro-inspired .site-header,.lustro-inspired .header-inner{min-height:64px!important}
  .lustro-inspired #bridge .bridge-parties{grid-template-columns:1fr!important}
  .lustro-inspired #bridge .bridge-pane{grid-template-columns:1fr!important}
  .lustro-inspired #bridge .bridge-pane .persona-chips{grid-column:1!important;grid-row:auto!important;margin-top:12px!important}
  .lustro-inspired #bridge .bridge-lattice{grid-template-columns:1fr!important;height:auto!important;gap:14px!important}
  .lustro-inspired #bridge .bridge-lattice__paths{display:none!important}
}
