*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}

:root {
  --bg: #0b0b0d;
  --s1: #111116;
  --s2: #16161c;
  --b0: rgba(255,255,255,0.05);
  --b1: rgba(255,255,255,0.09);
  --b2: rgba(255,255,255,0.16);
  --tp: #F0F0F2;
  --ts: #7C7C8A;
  --tm: #3A3A45;
  --ac: #5EAACC;
  --ac2: rgba(94,170,204,0.12);
  --acr: 94,170,204;
}

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--tp);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  cursor: none;
}

/* ── CURSOR ── */
#cr { position:fixed; width:6px; height:6px; background:rgba(var(--acr),.9); border-radius:50%; pointer-events:none; z-index:9999; transform:translate(-50%,-50%); transition:transform .08s; }
#cr-r { position:fixed; width:28px; height:28px; border:1px solid rgba(var(--acr),.2); border-radius:50%; pointer-events:none; z-index:9998; transform:translate(-50%,-50%); transition:transform .32s cubic-bezier(.16,1,.3,1), width .25s, height .25s, border-color .25s; }
@media (min-width: 901px) {
  body:has(a:hover,button:hover) #cr-r { width:44px; height:44px; border-color:rgba(var(--acr),.45); }
}

/* ── GRAIN ── */
body::before { content:''; position:fixed; inset:0; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)'/%3E%3C/svg%3E"); opacity:.016; pointer-events:none; z-index:9990; }

/* ── WEBGL SHADER CANVAS ── */
#shader-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}
/* Gradient overlay so sections read over the globe */
#shader-fade {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: 
    radial-gradient(ellipse 80% 60% at 50% 0%, transparent 0%, var(--bg) 75%),
    linear-gradient(to bottom, transparent 0%, transparent 35%, var(--bg) 72%);
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 18px 40px;
  transition: background .4s, backdrop-filter .4s;
}
nav.scrolled {
  background: rgba(27,27,27,.92);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--b0);
}
.nav-pill {
  width: 100%; max-width: 900px;
  display: flex; align-items: center; justify-content: space-between; gap: 0;
  background: rgba(27,27,27,.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--b0);
  border-radius: 100px;
  padding: 10px 16px 10px 20px;
  transition: border-color .3s;
}
nav.scrolled .nav-pill { background: transparent; border-color: transparent; backdrop-filter: none; }
.nav-logo { display:flex; align-items:center; gap:9px; text-decoration:none; flex: 1; }
.nav-logo img { width:32px; height:32px; flex-shrink:0; border-radius:50%; }
.nav-logo-word { font-family:'Inter Tight',sans-serif; font-weight:600; font-size:15px; letter-spacing:.14em; color:var(--tp); }
.nav-links { display:flex; gap:2px; margin:0 auto; justify-content: center; }
.nav-links a { color:var(--ts); font-size:13px; text-decoration:none; padding:7px 14px; border-radius:100px; transition:color .2s, background .2s; }
.nav-links a:hover { color:var(--tp); background:rgba(255,255,255,.04); }
.nav-right { display:flex; align-items:center; gap:8px; flex: 1; justify-content: flex-end; }
.lang-sw { display:flex; background:rgba(255,255,255,.04); border-radius:100px; padding:3px; }
.lang-btn { background:none; border:none; color:var(--tm); font:500 10px/1 'JetBrains Mono',monospace; letter-spacing:.1em; padding:5px 10px; border-radius:100px; cursor:none; transition:all .2s; touch-action: manipulation; }
.lang-btn:active { transform: scale(0.92); }
.lang-btn.on { background:rgba(255,255,255,.09); color:var(--tp); }
.btn-nav { background:var(--tp); color:var(--bg); font:600 12px/1 'Inter Tight',sans-serif; letter-spacing:.06em; padding:9px 20px; border-radius:100px; text-decoration:none; border:none; cursor:none; transition:opacity .2s; white-space:nowrap; touch-action: manipulation; }
.btn-nav:active { transform: scale(0.96); }
.btn-nav:hover { opacity:.82; }

/* ── HERO ── */
#hero { position:relative; height:100vh; min-height:680px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; overflow:hidden; }
.hero-inner { position:relative; z-index:10; padding:0 24px; max-width:860px; }

.hero-tag { font:500 10px/1 'JetBrains Mono',monospace; letter-spacing:.22em; text-transform:uppercase; color:var(--ac); margin-bottom:40px; opacity:0; animation:fu .9s .4s forwards; }
h1.hh { font-family:'Inter Tight',sans-serif; font-size:clamp(48px,7.5vw,92px); font-weight:700; line-height:1.02; letter-spacing:-.038em; color:var(--tp); margin-bottom:28px; opacity:0; animation:fu 1s .6s forwards; }
h1.hh em.scramble-text { font-style:italic; font-weight:300; color:var(--ac) !important; min-width: 200px; display: inline-block; text-align: left; }
.dud { color: var(--tm); opacity: 0.5; }
.hero-sub { font-size:clamp(15px,1.5vw,18px); color:var(--ts); line-height:1.72; max-width:540px; margin:0 auto 52px; font-weight:400; opacity:0; animation:fu 1s .8s forwards; }
.hero-ctas { display:flex; align-items:center; gap:16px; justify-content:center; opacity:0; animation:fu 1s 1s forwards; }
.btn-primary { background:var(--tp); color:var(--bg); font:600 13px/1 'Inter Tight',sans-serif; letter-spacing:.05em; padding:15px 34px; border-radius:100px; text-decoration:none; display:inline-block; transition:opacity .2s, transform .2s; }
.btn-primary:hover { opacity:.84; transform:translateY(-2px); }
.btn-ghost { color:var(--ts); font:400 13px/1 'Inter',sans-serif; text-decoration:none; display:flex; align-items:center; gap:6px; transition:color .2s; border:none; background:none; cursor:none; }
.btn-ghost:hover { color:var(--tp); }
.btn-ghost svg { width:13px; height:13px; }

.scroll-hint { position:absolute; bottom:44px; left:50%; transform:translateX(-50%); display:flex; flex-direction:column; align-items:center; gap:10px; opacity:0; animation:fi 1s 1.8s forwards; }
.scroll-hint span { font:500 9px/1 'JetBrains Mono',monospace; letter-spacing:.22em; text-transform:uppercase; color:var(--tm); }
.scroll-line { width:1px; height:44px; background:linear-gradient(to bottom, transparent, var(--tm)); animation:sb 2.2s ease-in-out infinite; }
@keyframes sb { 0%,100%{opacity:.25;transform:scaleY(.7) translateY(-5px)} 50%{opacity:.9;transform:scaleY(1) translateY(5px)} }

/* ── SHARED SECTION STYLES ── */
.wrap { max-width:1140px; margin:0 auto; padding:0 40px; }
.sec { padding:90px 0; }
#problem { padding-top: 440px; }
.sec-label { font:600 13px/1 'JetBrains Mono',monospace; letter-spacing:.22em; text-transform:uppercase; color:var(--ac); margin-bottom:18px; display:block; }
.sec-h { font-family:'Inter Tight',sans-serif; font-size:clamp(32px,4.5vw,56px); font-weight:700; letter-spacing:-.032em; line-height:1.06; color:var(--tp); margin-bottom:18px; }
.sec-p { font-size:16px; color:var(--ts); line-height:1.78; max-width:500px; }
.sep { width:100%; height:1px; background:var(--b0); }

/* ── PROBLEM ZIGZAG ── */
.zz-container { margin-top: 120px; }
.zz-row {
  display: flex;
  align-items: center;
  gap: 100px;
  min-height: 45vh;
  padding: 60px 0;
}
.zz-row:nth-child(even) { flex-direction: row-reverse; }
.zz-content { flex: 1; }
.zz-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.big-stat { font-family:'Inter Tight',sans-serif; font-size:clamp(64px,9vw,108px); font-weight:700; letter-spacing:-.045em; line-height:.9; color:var(--tp); margin-bottom:14px; }
.big-stat sup { font-size:.38em; font-weight:300; color:#ffffff; vertical-align:middle; }
.stat-label { font-size:16px; color:var(--ts); line-height:1.65; max-width:400px; }

.zz-row .pi-t { font:600 24px/1.2 'Inter Tight',sans-serif; color:var(--tp); margin-bottom:16px; }
.zz-row .pi-p { font:400 16px/1.8 'Inter',sans-serif; color:var(--ts); max-width: 480px; }

.zz-anim-bubble {
  width: 340px;
  height: 340px;
  background: var(--s1);
  border: 1px solid var(--b0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
#decisions-stage { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; position: relative; }
.d-phase { 
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.8s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1);
  transform: scale(0.96);
}
.d-phase.active { opacity: 1; pointer-events: auto; transform: scale(1); }

#d-origins, #d-chaos { width: 100%; height: 100%; max-width: 280px; max-height: 280px; }
.c-phase { 
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.8s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1);
  transform: scale(0.96);
}
.c-phase.active { opacity: 1; pointer-events: auto; transform: scale(1); }

.file-card {
  width: 60px; height: 74px;
  background: var(--s2);
  border: 1px solid var(--b1);
  border-radius: 4px;
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform 1s cubic-bezier(.68,-.55,.27,1.55), opacity 0.6s ease;
  transform-style: preserve-3d;
}

.file-trail {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 2px; height: 0;
  background: linear-gradient(to top, var(--ac), transparent);
  opacity: 0; transition: height 0.4s, opacity 0.4s;
}

.file-card.sending {
  transform: translateY(-180px) rotateX(60deg) scale(0.2);
  opacity: 0;
  filter: blur(2px) brightness(2);
}
.file-card.sending .file-trail {
  height: 200px; opacity: 1;
}

/* Cinematic dip before launch */
.file-card.ready {
  transform: translateY(10px) scale(1.05);
  box-shadow: 0 0 40px rgba(var(--acr), 0.3);
}

.file-card::after {
  content: ''; position: absolute; top: 0; right: 0; width: 14px; height: 14px;
  background: var(--b2); border-bottom-left-radius: 3px;
}
.file-line { width: 30px; height: 1.5px; background: var(--tm); border-radius: 1px; }
.file-line.short { width: 18px; }

.deploy-status {
  margin-top: 20px;
  font: 500 10px 'JetBrains Mono', monospace;
  color: var(--ac);
  letter-spacing: 0.15em;
  animation: blinkStatus 0.8s step-end infinite;
}
@keyframes blinkStatus { 50% { opacity: 0.2; } }

.btn-reset { display: none; }

#c-net, #c-chaos { width: 100%; height: 100%; max-width: 280px; max-height: 280px; }

/* ── UNCERTAINTY ANIMATION ── */
#uncertainty-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  --system-green: #00ffaa;
}

.mimic-core {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  z-index: 50;
  animation: coreEvolution 16s infinite ease-in-out;
}

@keyframes coreEvolution {
  0%, 45% {
    background: #ffffff;
    box-shadow: 0 0 15px #ff4455, 0 0 40px rgba(255, 68, 85, 0.2);
    transform: scale(0.8);
  }
  48% { transform: scale(1.1); background: #ffffff; }
  52%, 95% {
    background: var(--system-green);
    box-shadow: 0 0 20px var(--system-green), 0 0 40px rgba(0, 255, 170, 0.3);
    transform: scale(1);
  }
}

.guess-wave {
  position: absolute;
  border: 1px solid rgba(255, 68, 85, 0.25);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  animation: chaoticWave 4s infinite linear, waveColorCycle 16s infinite;
  z-index: 10;
  opacity: 0;
}
.gw1 { width: 44px; height: 44px; animation-delay: 0s; }
.gw2 { width: 88px; height: 88px; animation-delay: 1.5s; }
.gw3 { width: 150px; height: 150px; animation-delay: 3s; }

@keyframes chaoticWave {
  0% { transform: rotate(0deg) scale(0.6); opacity: 0; }
  10% { opacity: 0.8; }
  45% { opacity: 0; transform: rotate(180deg) scale(1.5); }
  50%, 100% { opacity: 0; }
}

@keyframes waveColorCycle {
  0%, 47% { border-color: rgba(255, 68, 85, 0.4); }
  49%, 95% { border-color: rgba(0, 255, 170, 0.4); }
}

.foresight-vector {
  position: absolute;
  border: 1px solid rgba(0, 255, 170, 0.25);
  border-radius: 50%;
  opacity: 0;
  z-index: 15;
}
.fv1 { animation: stableWave 16s infinite cubic-bezier(0.16, 1, 0.3, 1); animation-delay: 8s; }
.fv2 { animation: stableWave 16s infinite cubic-bezier(0.16, 1, 0.3, 1); animation-delay: 10s; }

@keyframes stableWave {
  0%, 49% { width: 18px; height: 18px; opacity: 0; }
  50% { width: 18px; height: 18px; opacity: 0.6; }
  85% { opacity: 0; width: 320px; height: 320px; border-color: rgba(0, 255, 170, 0); }
  100% { opacity: 0; }
}

.scan-line {
  position: absolute;
  left: -10%;
  width: 1px;
  height: 85%;
  background: linear-gradient(to bottom, transparent, var(--system-green), transparent);
  box-shadow: 0 0 15px var(--system-green);
  opacity: 0;
  z-index: 60;
  animation: laserScan 16s infinite cubic-bezier(0.25, 1, 0.5, 1);
}
@keyframes laserScan {
  0%, 46% { left: -10%; opacity: 0; }
  48% { opacity: 0.9; }
  53% { left: 110%; opacity: 0.9; }
  55%, 100% { left: 110%; opacity: 0; }
}

.target-path {
  position: absolute;
  width: 65px;
  height: 1px;
  background: linear-gradient(90deg, var(--system-green), transparent);
  left: 50%;
  top: 50%;
  transform-origin: left center;
  transform: rotate(-15deg) translate(32px, -50%);
  opacity: 0;
  z-index: 5;
  animation: targetReveal 16s infinite ease-in-out;
}
.target-dot {
  position: absolute;
  right: 0;
  top: -3.5px;
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 
    0 0 15px var(--system-green),
    0 0 35px var(--system-green),
    0 0 70px rgba(0, 255, 170, 0.7);
  animation: finalBrilliance 16s infinite ease-in-out;
}

@keyframes finalBrilliance {
  0%, 53% { opacity: 0; transform: scale(0.4); }
  56%, 95% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; }
}

@keyframes targetReveal {
  0%, 49% { opacity: 0; width: 0px; }
  54%, 95% { opacity: 0.7; width: 85px; }
  100% { opacity: 0; }
}

/* ── INTERNAL TEXT FOR UNCERTAINTY ── */
.u-node {
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--ts);
  border-radius: 50%;
  opacity: 0;
  animation: nodeChaos 16s infinite ease-in-out;
  animation-delay: var(--d);
  box-shadow: 0 0 8px rgba(124, 124, 138, 0.4);
}

@keyframes nodeChaos {
  0%, 45% { 
    opacity: 0.6; 
    transform: translate(var(--tx), var(--ty)) scale(1);
  }
  48% { 
    opacity: 0.9; 
    transform: translate(calc(var(--tx) * 1.2), calc(var(--ty) * 1.2)) scale(1.5);
  }
  50%, 100% { 
    opacity: 0; 
    transform: translate(0,0) scale(0);
  }
}

.un-text-box {
  position: absolute;
  top: 66%;
  width: 100%;
  text-align: center;
  pointer-events: none;
}
.un-segment {
  position: absolute;
  top: 0; left: 0; width: 100%;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.un-segment.ts-1 { animation: unText1 16s infinite; }
.un-segment.ts-2 { animation: unText2 16s infinite; }

.un-t { font: 600 11px 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: 0.35em; margin-bottom: 2px; }
.ts-1 .un-t { color: #ff4455; }
.un-p { font: 400 10px 'Inter', sans-serif; color: #ffffff; opacity: 0.9; white-space: nowrap; }

@keyframes unText1 {
  0% { opacity: 0; transform: translateY(5px); filter: blur(4px); }
  5%, 44% { opacity: 1; transform: translateY(0); filter: blur(0px); }
  47%, 100% { opacity: 0; transform: translateY(-5px); filter: blur(4px); }
}
@keyframes unText2 {
  0%, 52% { opacity: 0; transform: translateY(5px); filter: blur(4px); }
  56%, 94% { opacity: 1; transform: translateY(0); filter: blur(0px); }
  98%, 100% { opacity: 0; transform: translateY(-5px); filter: blur(4px); }
}

@media(max-width:900px){
  .zz-anim-bubble { width: 280px; height: 280px; }
  #c-net, #c-chaos { max-width: 240px; max-height: 240px; }
}
.blob-3 { background: #ff66aa; animation-delay: -4s; }
.blob-4 { background: #66ffcc; animation-delay: -6s; }

@keyframes blob-float {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(20px, 40px) scale(1.1); }
}

/* ── HOW — STICKY ── */
#how { padding:90px 0 50px; }
.how-sticky-wrap { position:relative; }
.how-sticky {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  align-items: start;
  min-height: 100vh;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}
.how-left {
  width: 100%;
  padding: 12vh 40px 12vh 0;
  display: flex;
  flex-direction: column;
  gap: 16vh;
  justify-content: flex-start;
  position: relative;
  z-index: 5;
}
.how-right {
  width: 100%;
  height: calc(100vh - 120px); /* Subtract nav height + bottom margin */
  position: -webkit-sticky;
  position: sticky;
  top: 90px; /* Offset fixed nav bar */
  align-self: start; /* Prevent grid stretch */
  padding: 0 0 0 40px;
}
.how-step {
  position: relative;
  opacity: 0.35 !important;
  pointer-events: auto;
  transition: opacity 0.5s ease, color 0.5s ease, transform 0.5s ease;
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.how-step.in.active {
  opacity: 1 !important;
  transform: translateX(6px);
}
.how-step .hs-h {
  transition: color 0.4s ease;
}
.how-step.in.active .hs-h {
  color: #ffffff;
}

.hs-n { font:600 13px/1 'JetBrains Mono',monospace; letter-spacing:.2em; color:var(--ac); margin-bottom:22px; opacity:.95; }
.hs-h { font-family:'Inter Tight',sans-serif; font-size:clamp(28px,3.5vw,46px); font-weight:700; letter-spacing:-.03em; line-height:1.08; color:var(--tp); margin-bottom:16px; }
.hs-p { font:400 15px/1.78 'Inter',sans-serif; color:var(--ts); max-width:460px; }
.step-dots { display:none; }

/* Mobile tab controls (hidden on desktop) */
.how-mobile-header {
  display: none;
  text-align: center;
  margin-bottom: 24px;
  padding: 0 24px;
}
.how-mobile-nav {
  display: none;
  flex-direction: row;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 0 24px;
  flex-wrap: wrap;
}
.how-mob-tab {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--ts);
  font: 600 12px/1 'JetBrains Mono', monospace;
  letter-spacing: 0.06em;
  padding: 12px 18px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.2s ease;
  touch-action: manipulation;
  margin: 4px;
}
.how-mob-tab:active {
  background: rgba(255, 255, 255, 0.12) !important;
  transform: scale(0.95);
}
.how-mob-tab.active {
  background: var(--tp);
  color: var(--bg);
  border-color: var(--tp);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}
.how-mobile-desc {
  display: none;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 32px;
  padding: 0 24px;
}
.how-mobile-desc .hm-h {
  font-family: 'Inter Tight', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}
.how-mobile-desc .hm-p {
  font: 400 14.5px/1.7 'Inter', sans-serif;
  color: var(--ts);
  margin: 0 auto;
}

/* ── MOCK WINDOW STYLING ── */
.mock-window-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.mock-window {
  width: 100%;
  max-width: 680px;
  background: #0d0d10;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 560px;
}

.mw-header {
  height: 38px;
  background: #121216;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 16px;
}

.mw-dots {
  display: flex;
  gap: 6px;
}

.mw-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.mw-dot.red { background: #ff5f56; }
.mw-dot.yellow { background: #ffbd2e; }
.mw-dot.green { background: #27c93f; }

.mw-title {
  font: 500 11px/1 'JetBrains Mono', monospace;
  color: var(--ts);
  letter-spacing: 0.18em;
}

.mw-body {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: none;
}
.mw-body::-webkit-scrollbar { display: none; }

.mw-top-meta h2 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.mw-top-meta p {
  font-size: 13px;
  color: var(--ts);
  line-height: 1.4;
}

.mw-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mw-card {
  background: #111115;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mw-section {
  background: #111115;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-label {
  font: 700 11px/1 'JetBrains Mono', monospace;
  color: var(--ts);
  letter-spacing: 0.12em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-small {
  width: 14px;
  height: 14px;
  color: var(--ac);
}

.upload-area {
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.01);
  min-height: 96px;
  position: relative;
}

.icon-upload {
  width: 22px;
  height: 22px;
  color: var(--tm);
}

.upload-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--tp);
}

.upload-sub {
  font-size: 10px;
  color: var(--tm);
}

.upload-progress-container {
  display: none;
  width: 90%;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.upload-progress-bar {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.up-fill {
  width: 0%;
  height: 100%;
  background: var(--ac);
  border-radius: 2px;
}

.upload-pct {
  font: 500 10.5px 'JetBrains Mono', monospace;
  color: var(--ac);
}

.file-badge {
  display: none;
  align-items: center;
  gap: 6px;
  background: rgba(94, 170, 204, 0.08);
  border: 1px solid rgba(94, 170, 204, 0.2);
  border-radius: 6px;
  padding: 6px 10px;
  width: 100%;
  justify-content: center;
  animation: fadeIn 0.4s ease forwards;
}

.icon-file {
  width: 14px;
  height: 14px;
  color: var(--ac);
}

.file-badge span {
  font: 500 11px 'JetBrains Mono', monospace;
  color: var(--tp);
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Personality Grid */
.personality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.p-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  padding: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.p-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ts);
  transition: all 0.3s ease;
}
.p-icon svg { width: 16px; height: 16px; }

.p-icon.pink { --c-theme: 236, 72, 153; }
.p-icon.blue { --c-theme: 56, 189, 248; }
.p-icon.orange { --c-theme: 251, 191, 36; }

.p-details h4 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--tp);
  margin-bottom: 2px;
}

.p-desc-en, .p-desc-es {
  font-size: 10.5px;
  color: var(--tm);
  line-height: 1.25;
}

.p-card.active {
  background: rgba(var(--c-theme), 0.04);
  border-color: rgba(var(--c-theme), 0.35);
  box-shadow: 0 0 12px rgba(var(--c-theme), 0.12);
}
.p-card.active .p-icon {
  background: rgba(var(--c-theme), 0.12);
  color: rgb(var(--c-theme));
}
.p-card.active .p-details h4 { color: rgb(var(--c-theme)); }
.p-card.active .p-desc-en, .p-card.active .p-desc-es { color: var(--ts); }

/* Prompt Area */
.prompt-area {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prompt-textarea {
  width: 100%;
  height: 80px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--tp);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.45;
  resize: none;
  outline: none;
  transition: border-color 0.3s ease;
}

.prompt-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.char-count {
  font: 500 10.5px 'JetBrains Mono', monospace;
  color: var(--tm);
}

.btn-simulation-run {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--ts);
  padding: 8px 14px;
  border-radius: 6px;
  font: 600 12px 'Inter Tight', sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: none;
  transition: all 0.3s ease;
}

.run-arrow {
  width: 10px;
  height: 10px;
  transition: transform 0.3s ease;
}

.btn-simulation-run.pulse {
  background: var(--tp);
  color: var(--bg);
  border-color: var(--tp);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
  animation: buttonPulse 1.8s infinite ease-in-out;
}
.btn-simulation-run.pulse .run-arrow {
  transform: translateX(2px);
}

@keyframes buttonPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(255, 255, 255, 0.2); }
  50% { box-shadow: 0 0 18px rgba(255, 255, 255, 0.45); }
}

/* ── STEP HIGHLIGHTS & DIMMING ── */
.step-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dim state */
.step-card.dimmed {
  opacity: 0.2;
  filter: grayscale(0.8) blur(0.5px);
  pointer-events: none;
}

/* Active states */
.step-card.active {
  opacity: 1;
  filter: none;
  transform: scale(1.02);
  border-color: rgba(94, 170, 204, 0.25);
  box-shadow: 0 0 20px rgba(94, 170, 204, 0.06);
  background: #14141a;
}

/* Specific glows for active steps */
#mcard-seed.active {
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.08);
}
#mcard-timeline.active {
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.08);
}
#mcard-personality.active {
  border-color: rgba(56, 189, 248, 0.25);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.06);
}
#mcard-prompt.active {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.08);
}
#mcard-prompt.active .prompt-textarea {
  border-color: rgba(255, 255, 255, 0.18);
}

/* ── PERSONALITY DETAILS MODAL ── */
.p-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.p-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.p-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 13, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.p-modal-content {
  position: relative;
  width: 90%;
  max-width: 580px;
  background: #0d0d10;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9001;
}

.p-modal.open .p-modal-content {
  transform: translateY(0) scale(1);
}

.p-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: var(--tm);
  cursor: none;
  padding: 4px;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
  touch-action: manipulation;
}
.p-modal-close:active {
  transform: scale(0.9);
}
.p-modal-close:hover {
  color: var(--tp);
  background: rgba(255, 255, 255, 0.05);
}
.p-modal-close svg {
  width: 18px;
  height: 18px;
  display: block;
}

.p-modal-header {
  margin-bottom: 24px;
}

.p-modal-header h3 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.p-modal-header p {
  font-size: 13px;
  color: var(--ts);
}

.p-modal-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.p-modal-card {
  display: flex;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  padding: 16px;
  transition: border-color 0.3s;
}

.p-modal-card:hover {
  border-color: rgba(255, 255, 255, 0.08);
}

.pm-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  color: var(--ts);
}
.pm-icon svg { width: 18px; height: 18px; }

.pm-icon.pink { color: #ec4899; background: rgba(236, 72, 153, 0.1); }
.pm-icon.blue { color: #38bdf8; background: rgba(56, 189, 248, 0.1); }
.pm-icon.orange { color: #fbbf24; background: rgba(251, 191, 36, 0.1); }

.pm-info h4 {
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--tp);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pm-tag {
  font: 500 8.5px/1 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 100px;
  text-transform: uppercase;
}

.p-ava .pm-tag { color: #ec4899; background: rgba(236, 72, 153, 0.08); }
.p-nexus .pm-tag { color: #38bdf8; background: rgba(56, 189, 248, 0.08); }
.p-magnus .pm-tag { color: #fbbf24; background: rgba(251, 191, 36, 0.08); }

.pm-desc-en, .pm-desc-es {
  font-size: 11.5px;
  color: var(--ts);
  line-height: 1.5;
}

.learn-more-btn {
  color: var(--ac);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.learn-more-btn:hover {
  color: var(--tp);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.hs-n { font:600 13px/1 'JetBrains Mono',monospace; letter-spacing:.2em; color:var(--ac); margin-bottom:22px; opacity:.95; }
.hs-h { font-family:'Inter Tight',sans-serif; font-size:clamp(28px,3.5vw,46px); font-weight:700; letter-spacing:-.03em; line-height:1.08; color:var(--tp); margin-bottom:16px; }
.hs-p { font:400 15px/1.78 'Inter',sans-serif; color:var(--ts); max-width:460px; }
.step-dots { display:none; }

/* ── DIFF ── */
#diff { padding-top:50px; padding-bottom:90px; }
#diff .text-stack { display:flex; flex-direction:column; gap:10px; margin-top:18px; }
#diff .text-stack .sec-p { max-width:640px; margin:0; }
#diff .diff-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  width: 100%;
  align-items: start;
}
.dp-card {
  position: relative;
  background: var(--s1);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
  transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: none;
}
.dp-card:hover, .dp-card.active {
  border-color: rgba(var(--acr), 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(var(--acr), 0.06);
  transform: translateY(-4px);
  align-self: stretch;
}
.dp-visual {
  height: 150px;
  width: 100%;
  position: relative;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.dp-visual canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.dp-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dp-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dp-n {
  font: 700 11px/1 'JetBrains Mono', monospace;
  letter-spacing: 0.14em;
  color: rgba(var(--acr), 0.45);
}
.dp-t {
  font: 600 18px/1.3 'Inter Tight', sans-serif;
  color: var(--tp);
  letter-spacing: -0.01em;
}
.dp-s {
  font: 400 13px/1.6 'Inter', sans-serif;
  color: var(--ts);
  min-height: 84px;
}
.dp-detail-wrap {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, margin-top 0.4s ease;
}
.dp-card:hover .dp-detail-wrap, .dp-card.active .dp-detail-wrap {
  max-height: 160px;
  opacity: 1;
  margin-top: 4px;
}
.dp-d {
  font: 400 12.5px/1.65 'Inter', sans-serif;
  color: var(--ts);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
}

/* ── USE CASES (WHO) ── */
#whom { padding-top:50px; padding-bottom:90px; }
#whom .text-stack { display:flex; flex-direction:column; gap:12px; margin-top:18px; }
#whom .text-stack .sec-p { max-width:680px; margin:0; line-height:1.7; color:var(--ts); }
.use-cases-split {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  margin-top: 56px;
  width: 100%;
  align-items: start;
}
.uc-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.uc-nav-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  background: rgba(255, 255, 255, 0.01);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: none;
}
.uc-nav-item:hover, .uc-nav-item.active {
  border-color: rgba(var(--acr), 0.2);
  background: rgba(var(--acr), 0.03);
  transform: translateX(4px);
}
.uc-nav-num {
  font: 700 13px/1 'JetBrains Mono', monospace;
  color: rgba(var(--acr), 0.45);
  letter-spacing: 0.1em;
}
.uc-nav-item.active .uc-nav-num {
  color: rgb(var(--c-theme));
}
.uc-nav-title {
  font: 600 16px/1 'Inter Tight', sans-serif;
  color: var(--ts);
  transition: color 0.3s;
}
.uc-nav-item:hover .uc-nav-title, .uc-nav-item.active .uc-nav-title {
  color: var(--tp);
}
.uc-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 36px;
  background: rgba(12, 12, 14, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
  min-height: 480px;
}
.uc-panel-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.uc-panel-tag {
  font: 500 11px/1 'JetBrains Mono', monospace;
  color: rgba(var(--acr), 0.55);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.uc-panel-title {
  font: 600 24px/1.2 'Inter Tight', sans-serif;
  color: var(--tp);
  letter-spacing: -0.02em;
}
.uc-panel-summary {
  font: 400 13.5px/1.6 'Inter', sans-serif;
  color: var(--ts);
  margin-top: 4px;
}
.uc-panel-visual {
  position: relative;
  height: 220px;
  width: 100%;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.03);
  overflow: hidden;
}
.uc-panel-visual canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.uc-panel-visual-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.uc-visual-status {
  font: 500 9px/1 'JetBrains Mono', monospace;
  color: rgba(var(--acr), 0.8);
  letter-spacing: 0.08em;
}
.uc-panel-details {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.uc-panel-row {
  display: flex;
  align-items: start;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.uc-panel-row:last-child {
  border-bottom: none;
}
.uc-panel-row strong {
  font: 500 11px/1.4 'JetBrains Mono', monospace;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  min-width: 90px;
  display: inline-block;
}
.uc-panel-row span {
  font: 400 13px/1.5 'Inter', sans-serif;
  color: var(--ts);
  width: calc(100% - 110px);
  display: inline-block;
}
.uc-panel-cta-wrap {
  margin-top: auto;
  display: flex;
  justify-content: flex-start;
}

/* ── PARTNER TESTIMONIALS ── */
#network { padding: 100px 0; overflow: hidden; }
.net-label { text-align: center; margin-bottom: 48px; }
.testimonials-outer {
  position: relative;
  width: 100%;
  padding: 0 40px;
  overflow: hidden;
  mask: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.testimonials-track {
  display: flex;
  gap: 24px;
  width: max-content;
  padding: 20px 0 40px;
  animation: scroll-testimonials 45s linear infinite;
}
.testimonials-track:hover {
  animation-play-state: paused;
}
@keyframes scroll-testimonials {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 12px)); }
}
.testimonial-card {
  position: relative;
  flex-shrink: 0;
  width: 380px;
  min-height: 280px;
  background: rgba(18, 18, 20, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scroll-snap-align: start;
  transition: border-color 0.3s ease, background 0.3s ease;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}
.testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.01) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}
.testimonial-card:hover {
  border-color: rgba(var(--acr), 0.2);
  background: rgba(18, 18, 20, 0.7);
}
.testimonial-inst {
  font: 700 11px/1 'JetBrains Mono', monospace;
  letter-spacing: 0.15em;
  color: rgba(var(--acr), 0.85);
  text-transform: uppercase;
}
.testimonial-quote {
  font: 400 14px/1.6 'Inter', sans-serif;
  color: var(--ts);
  margin: 24px 0;
  font-style: italic;
  line-height: 1.65;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.testimonial-name {
  font: 600 13px/1 'Inter Tight', sans-serif;
  color: var(--tp);
}
.testimonial-title {
  font: 500 10px/1 'JetBrains Mono', monospace;
  color: var(--tm);
  letter-spacing: 0.03em;
}

/* ── FINAL CTA ── */
#cta-s { padding:140px 40px; text-align:center; position:relative; overflow:hidden; }
.cta-glow { position:absolute; inset:0; background:radial-gradient(ellipse 50% 60% at 50% 50%, rgba(var(--acr),.045) 0%, transparent 70%); pointer-events:none; }
.cta-inner { position:relative; z-index:1; max-width:660px; margin:0 auto; padding:72px 64px; background:var(--s1); border:1px solid var(--b0); border-radius:24px; }
.cta-h { font-family:'Inter Tight',sans-serif; font-size:clamp(36px,5vw,60px); font-weight:700; letter-spacing:-.035em; line-height:1.06; color:var(--tp); margin-bottom:20px; }
.cta-p { font:400 16px/1.72 'Inter',sans-serif; color:var(--ts); margin-bottom:48px; }
.btn-outline { display:inline-block; border:1px solid rgba(255,255,255,.18); color:var(--tp); font:600 12px/1 'Inter Tight',sans-serif; letter-spacing:.08em; text-transform:uppercase; padding:14px 36px; border-radius:100px; text-decoration:none; transition:border-color .2s, background .2s; touch-action: manipulation; }
.btn-outline:active { transform: scale(0.96); background: rgba(255,255,255,.08) !important; }
.btn-outline:hover { border-color:rgba(255,255,255,.38); background:rgba(255,255,255,.04); }
.cta-note { font:400 12px/1 'JetBrains Mono',monospace; color:var(--tm); margin-top:22px; letter-spacing:.04em; }

/* ── FOOTER ── */
footer { border-top:1px solid var(--b0); padding:36px 40px; max-width:1140px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.f-logo { font:600 11px/1 'JetBrains Mono',monospace; letter-spacing:.18em; color:var(--tm); text-transform:uppercase; }
.f-links { display:flex; gap:28px; }
.f-links a { font:400 12px/1 'Inter',sans-serif; color:var(--tm); text-decoration:none; transition:color .2s; }
.f-links a:hover { color:var(--ts); }
.f-email { font:400 12px/1 'Inter',sans-serif; color:var(--tm); }

/* ── REVEAL ── */
.rv { opacity:0; transform:translateY(26px); transition:opacity .95s cubic-bezier(.16,1,.3,1), transform .95s cubic-bezier(.16,1,.3,1); }
.rv.in { opacity:1; transform:translateY(0); }
.rv[data-d="1"]{transition-delay:.1s} .rv[data-d="2"]{transition-delay:.2s} .rv[data-d="3"]{transition-delay:.3s} .rv[data-d="4"]{transition-delay:.42s}

/* ── KEYFRAMES ── */
@keyframes fu { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
@keyframes fi { from{opacity:0} to{opacity:1} }

.btn-menu { display:none; background:none; border:none; color:var(--tp); cursor:none; padding:10px; margin-left:10px; width:44px; height:44px; position:relative; z-index:1100; transition:transform .3s cubic-bezier(.16,1,.3,1); }
.btn-menu svg { width:24px; height:24px; display:block; }
.btn-menu .line-t, .btn-menu .line-b { transition: transform .3s cubic-bezier(.16,1,.3,1), opacity .3s; transform-origin: center; }
.btn-menu.open .line-t { transform: translateY(4px) rotate(45deg); }
.btn-menu.open .line-b { transform: translateY(-4px) rotate(-45deg); }

.m-menu { position:fixed; inset:0; background:rgba(11,11,13,.98); backdrop-filter:blur(25px); -webkit-backdrop-filter:blur(25px); z-index:1000; opacity:0; pointer-events:none; transition:opacity .4s cubic-bezier(.16,1,.3,1); display:flex; flex-direction:column; align-items:center; justify-content:center; }
.m-menu.open { opacity:1; pointer-events:auto; }
.m-menu-inner { width:100%; max-width:500px; padding:120px 40px 80px; display:flex; flex-direction:column; gap:60px; height:100%; }
.m-menu-close { display: none; }
.m-menu-links { display:flex; flex-direction:column; gap:24px; }
.m-menu-links a { font:700 42px/1.1 'Inter Tight',sans-serif; color:var(--tp); text-decoration:none; letter-spacing:-.03em; transition:color .3s, transform .3s; }
.m-menu-links a:hover { color:var(--ac); transform:translateX(8px); }
.m-menu-lang { display:flex; flex-direction:column; gap:16px; border-top:1px solid var(--b0); padding-top:40px; }
.m-menu-label { font:500 10px 'JetBrains Mono',monospace; text-transform:uppercase; color:var(--tm); letter-spacing:.2em; }

/* ── RESPONSIVE ── */
@media(max-width:900px){
  nav { padding: 12px 20px; }
  .nav-pill { padding: 8px 12px; }
  .nav-logo-word { font-size: 12px; }
  .nav-links { display: none; }
  .btn-nav, .nav-right .lang-sw { display: none; }
  .btn-menu { display: block; }
  
  .wrap { padding: 0 24px; }
  .sec { padding: 60px 0; }
  
  #problem { padding-top: 120px; }
  .zz-container { margin-top: 60px; }
  .zz-row { 
    flex-direction: column !important; 
    gap: 40px; 
    text-align: center; 
    align-items: center; 
    padding: 40px 0;
    min-height: auto;
  }
  .zz-content { width: 100%; }
  .zz-row .pi-p { margin: 0 auto; font-size: 15px; }
  .zz-blob { width: 140px; height: 140px; filter: blur(60px); }

  #how { padding: 60px 0; }
  .how-sticky-wrap { display: flex; flex-direction: column; }
  .how-mobile-header { display: block; order: 1; }
  .how-sticky { display: flex; flex-direction: column; gap: 0; min-height: auto; padding: 0; order: 2; }
  .how-mobile-nav { display: flex; order: 3; }
  .how-mobile-desc { display: block; order: 4; }
  .how-left { display: none; }
  .how-right {
    width: 100%;
    height: auto;
    position: relative;
    display: flex;
    justify-content: center;
    padding: 0 24px 20px;
  }
  .mock-window-container { padding: 0; width: 100%; height: auto; }
  .mock-window { height: auto; min-height: 480px; }

  #diff .diff-pillars { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .dp-card { padding: 18px; }

  .use-cases-split {
    grid-template-columns: 240px 1fr;
    gap: 32px;
    margin-top: 40px;
  }
  .uc-panel {
    padding: 24px;
  }

  .testimonials-outer { padding: 0 24px; }
  .testimonial-card { width: 320px; padding: 28px; min-height: 260px; }
  .testimonial-quote { font-size: 13px; margin: 20px 0; }

  #cta-s { padding: 80px 24px; }
  .cta-inner { padding: 48px 32px; }
  .cta-h { font-size: clamp(32px, 8vw, 48px); }

  footer { flex-direction: column; text-align: center; gap: 24px; padding: 40px 24px; }
  .f-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
}

@media(max-width:768px) {
  .use-cases-split {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .uc-nav {
    flex-direction: row;
    overflow-x: auto;
    width: 100vw;
    margin-left: -24px;
    padding: 4px 24px 12px;
    scrollbar-width: none;
  }
  .uc-nav::-webkit-scrollbar {
    display: none;
  }
  .uc-nav-item {
    flex-shrink: 0;
    padding: 12px 16px;
    gap: 12px;
  }
  .uc-nav-item:hover, .uc-nav-item.active {
    transform: none;
  }
}

@media(max-width:600px) {
  #diff .diff-pillars { grid-template-columns: 1fr; }
}

@media(max-width:480px) {
  h1.hh { font-size: 40px; }
  .big-stat { font-size: 72px; }
  .hero-ctas { flex-direction: column; gap: 20px; }
}

/* ── ABOUT PAGE ── */
.about-hero {
  padding-top: 180px;
  padding-bottom: 90px;
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 60px;
  align-items: center;
}

.about-hero-left {
  text-align: left;
}

.about-hero-p {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 1.72;
  color: var(--ts);
}

.about-hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-hero-canvas-wrap {
  width: 100%;
  max-width: 380px;
  height: 300px;
  background: rgba(18, 18, 20, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.about-hero-canvas-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(var(--acr), 0.02), transparent 80%);
  pointer-events: none;
}

#about-hero-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.about-hero-canvas-status {
  position: absolute;
  bottom: 12px;
  left: 16px;
  font: 500 9px/1 'JetBrains Mono', monospace;
  color: var(--ac);
  letter-spacing: 0.12em;
  opacity: 0.85;
}

.about-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  margin-top: 40px;
}

.about-problem-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.about-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.about-card {
  background: rgba(18, 18, 20, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: 28px;
  border-radius: 12px;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.about-card:hover {
  border-color: rgba(var(--acr), 0.2);
  background: rgba(18, 18, 20, 0.7);
  transform: translateY(-2px);
}

.about-card-icon {
  height: 38px;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.card-micro-svg {
  height: 100%;
  max-width: 72px;
  opacity: 0.85;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.about-card:hover .card-micro-svg {
  opacity: 1;
  transform: scale(1.06);
}

.about-card-title {
  font-family: 'Inter Tight', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--tp);
  margin-bottom: 12px;
}

.about-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ts);
}

/* ── HOW IT WORKS SECTION REDESIGN ── */
.how-it-works-sec {
  position: relative;
  overflow: hidden;
}

.how-it-works-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 25%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 25%, black, transparent);
  z-index: 0;
}

.how-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--ac);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.how-eyebrow::before {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--ac);
}

.how-subhead {
  font-size: 16px;
  color: var(--ts);
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 90px;
}

.hw-stack {
  position: relative;
  z-index: 1;
}

.hw-layer {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.hw-layer:last-child {
  border-bottom: none;
}
.hw-layer.visible {
  opacity: 1;
  transform: translateY(0);
}

.hw-text-col {
  position: relative;
  padding-left: 6px;
}

.hw-ghost-num {
  position: absolute;
  left: -8px;
  top: -34px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 130px;
  font-weight: 600;
  line-height: 1;
  color: rgba(94,170,204,0.05);
  user-select: none;
  z-index: 0;
  letter-spacing: -0.04em;
}

.hw-label-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.hw-num-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(var(--acr), 0.85);
  padding: 3px 8px;
  border: 1px solid rgba(94,170,204,0.25);
  border-radius: 3px;
}

.hw-layer h3 {
  position: relative;
  z-index: 1;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 14px;
  font-family: 'Inter Tight', sans-serif;
}

.hw-layer p {
  position: relative;
  z-index: 1;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ts);
  max-width: 460px;
  margin-bottom: 22px;
}

.hw-telemetry {
  position: relative;
  z-index: 1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--tm);
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  letter-spacing: 0.02em;
}
.hw-telemetry .hw-stat span {
  color: var(--ac);
  font-weight: 500;
}

.hw-panel-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hw-panel-caption {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--tm);
  display: flex;
  justify-content: space-between;
}
.hw-panel-caption .hw-tag {
  color: var(--ac);
}

.hw-panel-frame {
  position: relative;
  background: #0d0f12;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  height: 230px;
  overflow: hidden;
}
.hw-panel-frame canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hw-corner {
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: rgba(94,170,204,0.5);
  z-index: 2;
  pointer-events: none;
}
.hw-corner.tl { top:-1px; left:-1px; border-top:1px solid; border-left:1px solid; }
.hw-corner.tr { top:-1px; right:-1px; border-top:1px solid; border-right:1px solid; }
.hw-corner.bl { bottom:-1px; left:-1px; border-bottom:1px solid; border-left:1px solid; }
.hw-corner.br { bottom:-1px; right:-1px; border-bottom:1px solid; border-right:1px solid; }

@media (max-width: 860px) {
  .hw-layer {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hw-panel-col {
    order: 2;
  }
  .hw-ghost-num {
    font-size: 90px;
    top: -26px;
  }
}
@media (max-width: 640px) {
  .hw-panel-frame {
    height: 190px;
  }
}

/* ── BEYOND FORECASTING BIFURCATION GRAPHIC ── */
.bifurcation-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.bifurcation-graphic-wrap {
  width: 100%;
  max-width: 440px;
  background: rgba(18, 18, 20, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.bifurcation-graphic-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 120px 110px, rgba(var(--acr), 0.03), transparent 60%);
  pointer-events: none;
}

#bifurcation-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ── APPLICATIONS VERTICALS ── */
.about-vertical-card {
  background: rgba(18, 18, 20, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
  min-height: 320px;
}

.vertical-card-glow {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(var(--acr), 0.05) 0%, transparent 70%);
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 0.5;
}

.about-vertical-card:hover {
  border-color: rgba(var(--acr), 0.22);
  background: rgba(18, 18, 20, 0.7);
  transform: translateY(-4px);
}

.about-vertical-card:hover .vertical-card-glow {
  opacity: 1;
}

.vertical-card-header {
  margin-bottom: 24px;
}

.vertical-tag {
  font: 600 9px/1 'JetBrains Mono', monospace;
  color: rgba(var(--acr), 0.5);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.vertical-title {
  font-family: 'Inter Tight', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--tp);
  margin-bottom: 10px;
}

.vertical-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ts);
}

.vertical-card-body {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 20px;
}

.vertical-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vertical-list li {
  position: relative;
  font-size: 13.5px;
  color: var(--tp);
  padding-left: 20px;
  opacity: 0.9;
  text-align: left;
}

.vertical-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ac);
  box-shadow: 0 0 6px var(--ac);
}

.about-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
  margin-top: 32px;
  max-width: 900px;
}

.about-list-item {
  position: relative;
  font-size: 15px;
  color: var(--ts);
  line-height: 1.5;
  padding-left: 20px;
  text-align: left;
}

.about-list-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ac);
  box-shadow: 0 0 8px var(--ac);
}

.vision-panel {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  background: #0c0e11;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 100px 96px 90px;
  overflow: hidden;
  box-sizing: border-box;
}

.vision-panel::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  width: 700px;
  height: 400px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(94, 170, 204, 0.07), transparent 70%);
  pointer-events: none;
}

.vision-eyebrow {
  position: relative;
  z-index: 1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--ac);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.vision-eyebrow::before {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--ac);
}

.vision-panel h2.vision-title {
  position: relative;
  z-index: 1;
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(34px, 4.2vw, 50px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 56px;
  margin-top: 0;
  line-height: 1.1;
}

.vision-statement {
  position: relative;
  z-index: 1;
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--tp);
  max-width: 760px;
  margin-bottom: 64px;
}
.vision-statement .vision-accent {
  color: var(--ac);
}

.vision-manifesto {
  position: relative;
  z-index: 1;
  margin-bottom: 64px;
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  max-width: 560px;
}
.vision-manifesto-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
}
.vision-manifesto-item .vision-idx {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: #6E9EC5;
  opacity: 0.7;
  flex-shrink: 0;
}
.vision-manifesto-item .vision-txt {
  font-size: 18px;
  font-weight: 500;
  color: #d7dadf;
  font-family: 'Inter Tight', sans-serif;
}

.vision-secondary {
  position: relative;
  z-index: 1;
  font-family: 'Inter Tight', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ts);
  max-width: 560px;
  margin-bottom: 18px;
}

.vision-conclusion {
  position: relative;
  z-index: 1;
  font-family: 'Inter Tight', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 48px;
}

.vision-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f2f4f6;
  color: #08090b;
  font-weight: 700;
  font-size: 15.5px;
  padding: 16px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.vision-cta:hover {
  box-shadow: 0 0 0 4px rgba(94, 170, 204, 0.35);
  transform: translateY(-1px);
}
.vision-cta svg {
  width: 14px;
  height: 14px;
}

@media(max-width: 900px) {
  /* Disable custom cursor on mobile viewports to prevent click-blocking & lags */
  #cr, #cr-r {
    display: none !important;
  }
  body {
    cursor: auto !important;
  }
  .lang-btn {
    padding: 10px 16px !important;
    font-size: 11px !important;
    cursor: pointer !important;
  }
  .btn-nav {
    cursor: pointer !important;
  }
  .btn-menu {
    cursor: pointer !important;
  }
  .p-modal-close {
    padding: 12px !important;
    top: 16px !important;
    right: 16px !important;
    cursor: pointer !important;
  }
  .p-modal-close svg {
    width: 24px !important;
    height: 24px !important;
  }

  .about-hero {
    padding-top: 140px;
    padding-bottom: 60px;
  }
  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .about-hero-left {
    text-align: center;
  }
  .about-hero-p {
    margin: 24px auto 0;
  }
  .about-grid-2 {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-grid-3 {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .vision-panel {
    padding: 64px 28px 56px;
    border-radius: 20px;
  }
  .vision-statement {
    font-size: 26px;
  }
  .about-problem-left {
    display: block;
    height: auto;
  }
  .about-problem-paragraphs {
    margin-top: 24px;
  }
}

/* ── PLATFORM PAGE LAYOUT & ACCESS GRAPH ── */
.platform-page-container {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 24px;
  box-sizing: border-box;
  overflow: hidden;
  background: #08090b;
}

.platform-bg-canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.platform-bg-canvas-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.platform-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(8, 9, 11, 0.15) 0%, rgba(8, 9, 11, 0.55) 75%, #08090b 100%);
  z-index: 1;
  pointer-events: none;
}

.platform-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pl-status-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--tm);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.pl-status-eyebrow #plat-build-status {
  color: var(--ac);
  font-weight: 600;
}

@media (max-width: 560px) {
  .platform-page-container {
    padding: 80px 16px;
  }
  
  /* ── LAYOUT & SPACING ADJUSTMENTS ── */
  .how-mobile-header {
    margin-bottom: 8px !important;
  }
  .how-mobile-header .sec-label {
    margin-bottom: 6px !important;
  }
  .how-mobile-header .sec-h {
    margin-bottom: 0 !important;
  }
  .how-sticky {
    display: block !important;
    height: auto !important;
    min-height: auto !important;
    padding: 0 !important;
    margin-bottom: 48px !important;
    order: 2 !important;
    position: relative !important;
  }
  .how-right {
    display: block !important;
    height: auto !important;
    padding: 0 16px !important;
    position: relative !important;
    margin-bottom: 48px !important;
  }
  .how-mobile-nav {
    margin-top: 48px !important;
    margin-bottom: 48px !important;
    position: relative !important;
    display: flex !important;
    order: 3 !important;
  }
  .how-mobile-desc {
    position: relative !important;
    display: block !important;
    order: 4 !important;
  }
  
  /* Hide dimmed steps on mobile to keep it super compact and prevent overlaps */
  .step-card.dimmed {
    display: none !important;
  }
  
  /* ── MOCK WINDOW MOBILE REDUCTIONS ── */
  .mock-window-container {
    padding: 0;
    display: block !important;
    height: auto !important;
  }
  .mock-window {
    min-height: auto !important;
    height: auto !important;
    margin: 0 auto !important;
    margin-bottom: 48px !important;
  }
  .mw-header {
    height: 30px !important;
    padding: 0 10px !important;
    gap: 10px !important;
  }
  .mw-dots {
    gap: 4px !important;
  }
  .mw-dot {
    width: 7px !important;
    height: 7px !important;
  }
  .mw-title {
    font-size: 9px !important;
    letter-spacing: 0.12em !important;
  }
  .mw-body {
    padding: 10px !important;
    gap: 8px !important;
  }
  .mw-top-meta h2 {
    font-size: 15px !important;
    margin-bottom: 2px !important;
  }
  .mw-top-meta p {
    font-size: 11px !important;
    line-height: 1.3 !important;
  }
  
  /* Upload Grid & Cards */
  .mw-grid-2 {
    display: block !important;
  }
  .mw-card {
    padding: 6px !important;
    gap: 4px !important;
  }
  .mw-section {
    padding: 6px !important;
    gap: 4px !important;
  }
  .card-label {
    font-size: 8.5px !important;
    letter-spacing: 0.05em !important;
    gap: 4px !important;
  }
  .icon-small {
    width: 11px !important;
    height: 11px !important;
  }
  .upload-area {
    padding: 6px !important;
    gap: 4px !important;
    min-height: 50px !important;
  }
  .icon-upload {
    width: 14px !important;
    height: 14px !important;
  }
  .upload-title {
    font-size: 10px !important;
  }
  .upload-sub {
    display: none !important;
  }
  .file-badge {
    padding: 4px 6px !important;
    gap: 4px !important;
    border-radius: 4px !important;
  }
  .file-badge span {
    font-size: 9px !important;
    max-width: 100px !important;
  }
  .icon-file {
    width: 11px !important;
    height: 11px !important;
  }
  .upload-progress-container {
    margin-top: 2px !important;
    gap: 2px !important;
  }
  .upload-progress-bar {
    height: 2px !important;
  }
  .upload-pct {
    font-size: 9px !important;
  }

  /* Personality Grid */
  .personality-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 4px !important;
  }
  .p-card {
    padding: 4px !important;
    gap: 4px !important;
    border-radius: 4px !important;
  }
  .p-icon {
    width: 20px !important;
    height: 20px !important;
    border-radius: 4px !important;
  }
  .p-icon svg {
    width: 10px !important;
    height: 10px !important;
  }
  .p-details h4 {
    font-size: 10px !important;
    margin-bottom: 0 !important;
  }
  .p-desc-en, .p-desc-es {
    display: none !important;
  }

  /* Prompt Area */
  .prompt-area {
    gap: 6px !important;
  }
  .prompt-textarea {
    height: 38px !important;
    padding: 6px 8px !important;
    font-size: 11px !important;
    border-radius: 4px !important;
  }
  .prompt-footer {
    margin-top: 0 !important;
  }
  .char-count {
    font-size: 9px !important;
  }
  .btn-simulation-run {
    height: 24px !important;
    padding: 0 8px !important;
    font-size: 10px !important;
    gap: 4px !important;
    border-radius: 4px !important;
  }
  .btn-simulation-run svg.run-arrow {
    width: 10px !important;
    height: 10px !important;
  }
}
