/* ===== VaakSure — design tokens (light, ivory + gold, navy ink) ===== */
:root{
  --bg:#FFFFFF; --surface:#FBF9F4; --surface-2:#F6F2E8; --ink:#1B1A17;
  --muted:#5C574D; --muted-2:#7A7466; --line:#E8E1D1;
  /* gold (kept under the --saffron names used across the markup) */
  --saffron:#B8892B; --saffron-2:#8A6516; --saffron-soft:#F8F0DC; --saffron-line:#E2CC96;
  --gold-hi:#D9B45A;
  /* deep navy secondary (kept under the --vaak names) */
  --vaak:#1F2A44; --vaak-2:#2E3F66; --vaak-soft:#EDF0F6;
  --safe:#1E7A4C; --safe-soft:#E6F3EC;
  --amber:#8A5A00; --amber-soft:#FBF1DC;
  --danger:#A23B2C; --danger-soft:#FBE9E6;
  --plum:#5B3F8C; --plum-soft:#EFEAF7;
  --shadow:0 18px 48px -24px rgba(40,32,12,.28);
  --shadow-sm:0 6px 20px -12px rgba(40,32,12,.22);
  --radius:14px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:'IBM Plex Sans', ui-sans-serif, system-ui, sans-serif;
  font-size:16px; line-height:1.65; -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{ font-weight:600; margin:0 0 .5em; line-height:1.2; letter-spacing:-.015em; color:var(--ink); }
p{ margin:0 0 1em; color:var(--muted); }
a{ color:inherit; text-decoration:none; }
.wrap{ max-width:1180px; margin:0 auto; padding:0 24px; }
.mono{ font-family:'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace; }
:focus-visible{ outline:2px solid var(--saffron); outline-offset:3px; border-radius:6px; }

/* ===== nav ===== */
.nav{ position:sticky; top:0; z-index:50; background:rgba(255,255,255,.92); backdrop-filter:blur(10px); border-bottom:1px solid var(--line); }
.nav-inner{ position:relative; display:flex; align-items:center; justify-content:space-between; height:72px; gap:20px; }
.brand{ display:flex; align-items:center; gap:10px; font-weight:700; font-size:1.2rem; letter-spacing:-.01em; color:var(--vaak); }
.brand svg{ flex-shrink:0; }
.brand-sure{ color:var(--saffron); }
.nav-links{ display:flex; gap:28px; font-size:.93rem; font-weight:500; color:var(--muted); }
.nav-links a{ position:relative; transition:color .2s ease; }
.nav-links a:hover{ color:var(--saffron-2); }
.nav-links a.is-active{ color:var(--saffron-2); }
.nav-links a.is-active::after{ content:''; position:absolute; left:0; right:0; bottom:-6px; height:2px; border-radius:1px; background:var(--saffron); }
.nav-cta{ display:flex; align-items:center; gap:12px; }
.menu-btn{ display:none; width:44px; height:44px; border-radius:10px; border:1px solid var(--line); background:#fff; color:var(--ink); cursor:pointer; align-items:center; justify-content:center; transition:border-color .2s ease, background .2s ease; }
.menu-btn:hover{ border-color:var(--saffron-line); background:var(--saffron-soft); }
.menu-icon{ position:relative; display:block; width:18px; height:14px; }
.menu-icon span{ position:absolute; left:0; width:100%; height:1.8px; border-radius:1px; background:currentColor; transition:transform .25s ease, opacity .2s ease, top .25s ease; }
.menu-icon span:nth-child(1){ top:0; }
.menu-icon span:nth-child(2){ top:6px; }
.menu-icon span:nth-child(3){ top:12px; }
.menu-btn[aria-expanded="true"]{ border-color:var(--saffron-line); background:var(--saffron-soft); }
.menu-btn[aria-expanded="true"] .menu-icon span:nth-child(1){ top:6px; transform:rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon span:nth-child(2){ opacity:0; }
.menu-btn[aria-expanded="true"] .menu-icon span:nth-child(3){ top:6px; transform:rotate(-45deg); }
body.nav-open{ overflow:hidden; }

/* ===== buttons ===== */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:11px 20px; border-radius:10px; font-weight:600; font-size:.94rem; cursor:pointer; border:1px solid var(--saffron); background:transparent; color:var(--saffron-2); box-shadow:none; transition:transform .15s ease, color .2s ease, border-color .2s ease, background .2s ease; font-family:inherit; }
.btn:hover{ transform:translateY(-1px); border-color:var(--vaak); color:var(--vaak); background:transparent; }
.btn-primary,
.btn-ghost{ background:transparent; color:var(--saffron-2); border-color:var(--saffron); box-shadow:none; }
.btn-primary:hover,
.btn-ghost:hover{ background:transparent; border-color:var(--vaak); color:var(--vaak); box-shadow:none; }
.btn-lg{ padding:14px 26px; font-size:1rem; }
.btn-pulse{ animation:none; }
.btn-hero{
  position:relative; overflow:hidden; gap:10px;
  background:linear-gradient(135deg, rgba(217,180,90,.14), rgba(184,137,43,.06));
  border-color:var(--saffron); color:var(--saffron-2);
  box-shadow:0 0 0 0 rgba(184,137,43,.35);
  animation:heroPulse 2.4s ease-in-out infinite;
}
.btn-hero svg{ transition:transform .25s ease; flex-shrink:0; }
.btn-hero:hover{
  background:var(--vaak); border-color:var(--vaak); color:#fff;
  box-shadow:0 12px 28px -14px rgba(31,42,68,.55);
  animation:none;
}
.btn-hero:hover svg{ transform:translateX(4px); }
@keyframes heroPulse{
  0%, 100%{ box-shadow:0 0 0 0 rgba(184,137,43,.35); }
  50%{ box-shadow:0 0 0 8px rgba(184,137,43,0); }
}

/* ===== reveal ===== */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity .7s cubic-bezier(.16,.8,.3,1), transform .7s cubic-bezier(.16,.8,.3,1); }
.reveal.is-visible{ opacity:1; transform:none; }

/* ===== eyebrow / section head ===== */
.eyebrow{ display:inline-flex; align-items:center; gap:10px; font-family:'IBM Plex Mono', monospace; font-size:.76rem; font-weight:500; letter-spacing:.1em; text-transform:uppercase; color:var(--saffron-2); margin-bottom:14px; }
.eyebrow .dot{ width:18px; height:1.5px; border-radius:1px; background:var(--saffron); }
.sure-text{ background:linear-gradient(100deg, #8A6516, #B8892B 55%, #8A6516); -webkit-background-clip:text; background-clip:text; color:transparent; }
.vaak-text{ color:var(--vaak); }
.section{ padding:96px 0; }
.section-alt{ background:var(--surface); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.section-head{ max-width:740px; margin:0 auto 52px; text-align:center; }
.section-head h2{ font-size:clamp(1.65rem, 3vw, 2.3rem); }
.section-sub{ font-size:1.06rem; }

/* ===== hero ===== */
.hero{ position:relative; overflow:hidden; padding:80px 0 104px; background:linear-gradient(180deg, #FFFFFF 0%, #FBF7EC 100%); border-bottom:1px solid var(--line); }
.hero::before{ content:''; position:absolute; inset:0; background-image:linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size:56px 56px; opacity:.35; mask-image:radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%); -webkit-mask-image:radial-gradient(ellipse 70% 60% at 70% 30%, #000 20%, transparent 75%); pointer-events:none; }
.hero-inner{ position:relative; z-index:2; display:grid; grid-template-columns:1.1fr .9fr; gap:56px; align-items:center; }
.orb{ position:absolute; border-radius:50%; filter:blur(80px); pointer-events:none; z-index:1; }
.orb-1{ width:460px; height:460px; background:radial-gradient(circle, #F1DCA4, transparent 70%); top:-160px; right:-80px; opacity:.55; }
.orb-2{ width:320px; height:320px; background:radial-gradient(circle, #E6EAF3, transparent 70%); bottom:-120px; left:-80px; opacity:.8; }
.hero h1{ font-size:clamp(2.2rem, 4.2vw, 3.35rem); color:var(--vaak); font-weight:600; }
.hero-sub{ font-size:1.14rem; color:var(--muted); max-width:540px; }
.hero-actions{ display:flex; gap:14px; margin:28px 0 34px; flex-wrap:wrap; }
.hero-points{ display:flex; gap:12px 26px; flex-wrap:wrap; list-style:none; padding:0; margin:0; }
.hero-points li{ display:flex; align-items:center; gap:8px; font-size:.9rem; color:var(--ink); font-weight:500; }
.hero-points svg{ color:var(--saffron); flex-shrink:0; }

/* hero turn card */
.turn-card{ background:#fff; border:1px solid var(--line); border-top:3px solid var(--saffron); border-radius:16px; padding:22px; box-shadow:var(--shadow); }
.turn-head{ display:flex; align-items:center; gap:10px; font-family:'IBM Plex Mono', monospace; font-size:.76rem; color:var(--muted); margin-bottom:16px; }
.live-dot{ width:8px; height:8px; border-radius:50%; background:var(--safe); box-shadow:0 0 0 4px rgba(30,122,76,.15); animation:blink 2s infinite; }
@keyframes blink{ 0%,100%{ opacity:1 } 50%{ opacity:.45 } }
.wave{ display:flex; align-items:center; gap:3px; height:26px; margin-left:auto; }
.wave span{ width:3px; border-radius:2px; background:var(--saffron); animation:wave 1.1s ease-in-out infinite; }
.wave span:nth-child(2){ animation-delay:.1s } .wave span:nth-child(3){ animation-delay:.2s } .wave span:nth-child(4){ animation-delay:.3s } .wave span:nth-child(5){ animation-delay:.4s } .wave span:nth-child(6){ animation-delay:.5s } .wave span:nth-child(7){ animation-delay:.6s }
@keyframes wave{ 0%,100%{ height:6px } 50%{ height:22px } }
.turn-viewport{ position:relative; min-height:212px; }
.turn-slide{ position:absolute; inset:0; opacity:0; transform:translateY(8px); transition:opacity .5s ease, transform .5s ease; pointer-events:none; }
.turn-slide.is-active{ opacity:1; transform:none; pointer-events:auto; }
.slide-label{ font-family:'IBM Plex Mono', monospace; font-size:.72rem; color:var(--saffron-2); text-transform:uppercase; letter-spacing:.08em; margin-bottom:12px; }
.bubble{ background:var(--surface-2); border:1px solid var(--line); border-radius:12px; padding:14px 16px; font-size:1rem; color:var(--ink); }
.bubble-agent{ background:var(--vaak-soft); border-color:#D5DBE8; color:var(--vaak); }
.slide-row{ display:flex; justify-content:space-between; gap:12px; padding:9px 0; border-bottom:1px solid var(--line); font-size:.9rem; }
.slide-row span{ color:var(--muted); }
.slide-row b{ color:var(--ink); font-weight:600; text-align:right; }
.slide-row b.ok{ color:var(--saffron-2); }
.slide-foot{ margin-top:12px; font-size:.78rem; color:var(--muted-2); }
.turn-dots{ display:flex; gap:8px; justify-content:center; margin-top:18px; }
.turn-dots button{ width:10px; height:10px; border-radius:50%; border:none; background:#DDD5C3; cursor:pointer; padding:0; }
.turn-dots button.is-active{ background:var(--saffron); width:24px; border-radius:5px; transition:width .3s ease; }

/* ===== problem ===== */
.risk-grid{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:22px; }
.risk-card{
  position:relative; overflow:hidden;
  background:linear-gradient(165deg, #FFFFFF 0%, var(--surface) 100%);
  border:1px solid var(--line); border-radius:18px;
  padding:28px 26px 24px;
  box-shadow:var(--shadow-sm);
  transition:transform .35s cubic-bezier(.16,.8,.3,1), border-color .3s ease, box-shadow .35s ease;
}
.risk-card::before{
  content:''; position:absolute; left:0; top:0; bottom:0; width:3px;
  background:linear-gradient(180deg, var(--gold-hi), var(--saffron), var(--vaak));
  opacity:.55; transition:opacity .3s ease, width .3s ease;
}
.risk-card:hover{
  transform:translateY(-6px);
  border-color:var(--saffron-line);
  box-shadow:0 22px 40px -24px rgba(40,32,12,.35);
}
.risk-card:hover::before{ opacity:1; width:4px; }
.risk-watermark{
  position:absolute; right:-6px; top:-18px;
  font-family:'IBM Plex Mono', monospace; font-size:6.5rem; font-weight:600; line-height:1;
  color:var(--saffron); opacity:.07; letter-spacing:-.04em; pointer-events:none;
  transition:opacity .35s ease, transform .35s ease;
}
.risk-card:hover .risk-watermark{ opacity:.12; transform:translateY(-4px); }
.risk-meta{ display:flex; justify-content:flex-start; align-items:center; margin-bottom:16px; position:relative; z-index:1; }
.risk-tag{
  font-family:'IBM Plex Mono', monospace; font-size:.68rem; letter-spacing:.1em; text-transform:uppercase;
  padding:5px 11px; border-radius:999px;
  background:transparent; color:var(--saffron-2);
  border:1px solid var(--saffron-line);
}
.risk-scene{
  position:relative; z-index:1;
  margin:0 0 18px; padding:14px 16px;
  border-radius:12px;
  background:var(--vaak-soft);
  border:1px solid #D5DBE8;
  font-size:.92rem; line-height:1.45; color:var(--vaak); font-weight:500;
}
.risk-scene em{ display:block; margin-top:4px; font-style:normal; color:var(--saffron-2); font-weight:600; }
.risk-card h3{ position:relative; z-index:1; font-size:1.2rem; margin-bottom:.45em; color:var(--ink); }
.risk-card p{ position:relative; z-index:1; font-size:.95rem; margin:0 0 14px; }
.risk-hook{
  position:relative; z-index:1;
  margin:0 !important; padding-top:14px;
  border-top:1px dashed var(--saffron-line);
  font-size:.88rem !important; font-weight:600; color:var(--saffron-2); line-height:1.45;
}
.icon-badge{ width:44px; height:44px; border-radius:11px; display:flex; align-items:center; justify-content:center; margin-bottom:16px; background:var(--saffron-soft); color:var(--saffron-2); border:1px solid var(--saffron-line); }
.icon-vaak{ background:var(--vaak-soft); color:var(--vaak); border-color:#D5DBE8; }

/* ===== compare ===== */
.compare{
  position:relative;
  display:grid; grid-template-columns:1fr auto 1fr; gap:18px; align-items:stretch;
}
.compare-col{
  position:relative; background:#fff; border:1px solid var(--line); border-radius:20px;
  padding:26px 24px 22px; box-shadow:var(--shadow-sm);
  display:flex; flex-direction:column;
  transition:transform .4s ease, box-shadow .4s ease;
}
.compare-col.is-us{
  border-color:var(--saffron-line);
  background:linear-gradient(180deg, #FFFCFA 0%, #FFFFFF 40%);
  box-shadow:var(--shadow);
}
.compare-col.is-us::before{
  content:''; position:absolute; inset:0 0 auto 0; height:3px; border-radius:20px 20px 0 0;
  background:linear-gradient(90deg, var(--gold-hi), var(--saffron), var(--vaak));
}
.compare-rag{ opacity:.92; }
.compare-title{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:18px; }
.compare-title h3{ margin:0; font-size:1.2rem; }
.compare-kicker{
  display:block; margin-bottom:4px;
  font-family:'IBM Plex Mono', monospace; font-size:.68rem; letter-spacing:.1em; text-transform:uppercase;
  color:var(--muted-2);
}
.is-us .compare-kicker{ color:var(--saffron-2); }
.compare-vs{
  display:flex; align-items:center; justify-content:center; align-self:center;
  width:48px; height:48px; border-radius:50%;
  background:var(--vaak); color:#fff;
  font-family:'IBM Plex Mono', monospace; font-size:.72rem; font-weight:700; letter-spacing:.06em;
  box-shadow:0 10px 24px -12px rgba(31,42,68,.55);
  z-index:2;
}
.compare.is-playing .compare-vs{ animation:vsPulse 1.8s ease-in-out infinite; }
@keyframes vsPulse{
  0%, 100%{ transform:scale(1); }
  50%{ transform:scale(1.06); }
}

.flow{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:0; flex:1; position:relative; }
.flow li{
  position:relative;
  display:flex; align-items:center; gap:12px;
  padding:12px 14px; margin-bottom:8px;
  border-radius:12px; background:var(--surface); border:1px solid var(--line);
  font-size:.93rem; color:var(--ink);
  opacity:0; transform:translateX(-12px);
  transition:opacity .45s ease, transform .45s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease;
  transition-delay:calc(var(--i, 0) * 90ms);
}
.compare-us .flow li{ transform:translateX(12px); }
.compare.is-playing .flow li,
.compare.is-visible .flow li,
.flow li.is-in{
  opacity:1; transform:none;
}
.flow li::after{
  content:''; position:absolute; left:27px; top:100%; width:1.5px; height:8px;
  background:var(--line);
}
.flow li:last-child{ margin-bottom:0; }
.flow li:last-child::after{ display:none; }
.flow li .n{
  flex-shrink:0; width:28px; height:28px; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  font-family:'IBM Plex Mono', monospace; font-size:.68rem; font-weight:600;
  color:var(--muted-2); background:#fff; border:1px solid var(--line);
  transition:background .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.flow-label{ flex:1; line-height:1.35; }
.flow-label small{
  display:inline-block; margin-left:4px;
  font-size:.78rem; color:var(--muted-2); font-weight:500;
}
.flow-gap, .flow-gate{
  flex-shrink:0;
  font-family:'IBM Plex Mono', monospace; font-size:.65rem; letter-spacing:.06em; text-transform:uppercase;
  padding:3px 8px; border-radius:999px; font-weight:600;
}
.flow-gap{ background:#F3ECE0; color:var(--muted-2); border:1px dashed #D6CDB8; }
.flow-gate{ background:var(--saffron); color:#1B1A17; }

.flow li.key{
  background:var(--saffron-soft); border-color:var(--saffron-line); color:var(--saffron-2); font-weight:600;
}
.flow li.key .n{ background:var(--saffron); color:#1B1A17; border-color:var(--saffron); }
.flow li.key::after{ background:var(--saffron-line); }

.flow li.is-active{
  border-color:var(--saffron); background:#fff;
  box-shadow:0 8px 22px -14px rgba(184,137,43,.55);
}
.flow li.is-active .n{
  background:var(--vaak); color:#fff; border-color:var(--vaak);
  box-shadow:0 0 0 4px rgba(31,42,68,.12);
}
.compare-rag .flow li.is-active{
  border-color:#C9BFA8; box-shadow:0 8px 22px -14px rgba(90,80,50,.25);
}
.compare-rag .flow li.is-active .n{ background:var(--muted-2); border-color:var(--muted-2); box-shadow:none; }

.compare-outcome{
  display:flex; gap:12px; align-items:flex-start;
  margin-top:16px; padding:14px 14px;
  border-radius:12px; font-size:.9rem;
}
.compare-outcome p{ margin:0; }
.compare-outcome b{ color:inherit; }
.outcome-icon{
  flex-shrink:0; width:28px; height:28px; border-radius:50%;
  display:inline-flex; align-items:center; justify-content:center;
  font-weight:700; font-size:.85rem;
}
.compare-outcome.is-weak{
  background:#F7F3EA; border:1px dashed #D6CDB8; color:var(--muted);
}
.compare-outcome.is-weak .outcome-icon{ background:#EDE6D6; color:var(--muted-2); }
.compare-outcome.is-strong{
  background:var(--saffron-soft); border:1px solid var(--saffron-line); color:var(--saffron-2);
}
.compare-outcome.is-strong .outcome-icon{ background:var(--saffron); color:#1B1A17; }

.badge{ font-family:'IBM Plex Mono', monospace; font-size:.7rem; padding:4px 10px; border-radius:20px; font-weight:600; letter-spacing:.03em; }
.badge-ok{ background:var(--saffron-soft); color:var(--saffron-2); }
.badge-warn{ background:var(--amber-soft); color:var(--amber); }
.badge-bad{ background:var(--danger-soft); color:var(--danger); }
.badge-plum{ background:var(--plum-soft); color:var(--plum); }
.badge-muted{ background:#F1EEE6; color:var(--muted); }

/* ===== trust loop ===== */
.loop-section{ position:relative; overflow:hidden; background:linear-gradient(180deg, #FBF7EC 0%, #FFFFFF 100%); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.loop-board{ position:relative; }
.loop-phases{
  display:grid; grid-template-columns:4fr 1fr 2fr; gap:10px; margin-bottom:14px;
}
.loop-phase{
  font-family:'IBM Plex Mono', monospace; font-size:.72rem; letter-spacing:.1em; text-transform:uppercase;
  color:var(--muted-2); text-align:center; padding:8px 10px; border-radius:999px;
  border:1px dashed var(--line); background:rgba(255,255,255,.55);
  transition:color .3s ease, border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.loop-phase.is-active{
  color:var(--saffron-2); border-color:var(--saffron-line); border-style:solid;
  background:var(--saffron-soft); box-shadow:0 8px 18px -14px rgba(184,137,43,.55);
}
.loop{
  list-style:none; padding:0; margin:0;
  display:grid; grid-template-columns:repeat(7, minmax(0,1fr)); gap:10px;
}
.loop-step{ margin:0; }
.loop-step button{
  width:100%; min-height:118px; text-align:left; cursor:pointer; font-family:inherit;
  display:flex; flex-direction:column; gap:4px;
  padding:16px 14px; border-radius:14px;
  background:#fff; border:1px solid var(--line); color:var(--ink);
  box-shadow:var(--shadow-sm);
  transition:transform .3s ease, border-color .3s ease, background .3s ease, box-shadow .3s ease, color .3s ease;
}
.loop-step button:hover{ transform:translateY(-3px); border-color:var(--saffron-line); }
.loop-step .step-n{
  font-family:'IBM Plex Mono', monospace; font-size:.7rem; letter-spacing:.08em; color:var(--muted-2);
  transition:color .3s ease;
}
.loop-step .step-title{ font-size:1rem; font-weight:600; color:var(--vaak); line-height:1.25; }
.loop-step .step-hint{ font-size:.78rem; color:var(--muted); line-height:1.35; }
.loop-step.is-active button,
.loop-step.is-done button{
  border-color:var(--saffron-line);
  background:linear-gradient(180deg, #FFFCFA, #fff);
  box-shadow:0 14px 28px -18px rgba(184,137,43,.45);
}
.loop-step.is-active button{
  transform:translateY(-4px);
  border-color:var(--saffron);
  background:linear-gradient(180deg, var(--saffron-soft), #fff 70%);
}
.loop-step.is-active .step-n,
.loop-step.is-done .step-n{ color:var(--saffron-2); }
.loop-step.is-active .step-title{ color:var(--saffron-2); }
.loop-step.is-done button{ opacity:.92; }

.loop-track{
  position:relative; height:4px; margin:18px 6px 0; border-radius:999px; background:#EDE6D6; overflow:hidden;
}
.loop-track i{
  display:block; height:100%; width:0; border-radius:inherit;
  background:linear-gradient(90deg, var(--gold-hi), var(--saffron), var(--vaak));
  transition:width .45s cubic-bezier(.16,.8,.3,1);
  box-shadow:0 0 12px rgba(184,137,43,.45);
}

.loop-panel{
  margin-top:18px; padding:26px 28px;
  border-radius:18px; border:1px solid var(--saffron-line);
  background:linear-gradient(135deg, #FFFFFF 0%, #FBF7EC 100%);
  box-shadow:var(--shadow);
  min-height:168px;
  animation:loopPanelIn .35s ease;
}
.loop-panel.is-swap{ animation:loopPanelIn .35s ease; }
@keyframes loopPanelIn{
  from{ opacity:.35; transform:translateY(8px); }
  to{ opacity:1; transform:none; }
}
.loop-panel-meta{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin-bottom:10px; }
.loop-panel-step{
  font-family:'IBM Plex Mono', monospace; font-size:.72rem; letter-spacing:.08em; text-transform:uppercase;
  color:var(--saffron-2);
}
.loop-panel-phase{
  font-family:'IBM Plex Mono', monospace; font-size:.68rem; letter-spacing:.08em; text-transform:uppercase;
  padding:4px 10px; border-radius:999px; border:1px solid var(--saffron-line);
  background:var(--saffron-soft); color:var(--saffron-2);
}
.loop-panel h3{ margin:0 0 .45em; font-size:1.45rem; color:var(--vaak); }
.loop-panel p{ margin:0 0 .85em; font-size:1.02rem; max-width:720px; }
.loop-panel-plain{
  margin:0 !important; padding-top:12px; border-top:1px dashed var(--saffron-line);
  font-size:.92rem !important; color:var(--ink);
}
.loop-panel-plain b{ color:var(--saffron-2); }

.loop-return{
  margin-top:22px; display:flex; gap:18px; align-items:center;
  padding:18px 20px; border-radius:16px;
  background:var(--vaak); color:#E8ECF4;
  box-shadow:0 18px 36px -22px rgba(31,42,68,.55);
}
.loop-return p{ margin:0; font-size:.95rem; color:#D5DBE8; }
.loop-return b{ color:#fff; }
.loop-return-badge{
  flex-shrink:0; display:inline-flex; align-items:center; gap:8px;
  padding:10px 14px; border-radius:999px;
  background:rgba(255,255,255,.1); border:1px solid rgba(217,180,90,.45);
  color:var(--gold-hi); font-weight:600; font-size:.86rem; white-space:nowrap;
}
.loop-return-badge svg{ animation:loopSpin 3.2s linear infinite; }
@keyframes loopSpin{
  to{ transform:rotate(-360deg); }
}

/* ===== live demo ===== */
.demo{ display:grid; grid-template-columns:1.15fr .85fr; gap:24px; }
.demo-window{ background:#fff; border:1px solid var(--line); border-radius:18px; overflow:hidden; display:flex; flex-direction:column; min-height:520px; box-shadow:var(--shadow); }
.demo-bar{ display:flex; align-items:center; gap:10px; padding:14px 18px; border-bottom:1px solid var(--line); font-size:.9rem; background:var(--surface); }
.demo-bar .who{ font-weight:600; color:var(--vaak); }
.demo-bar .meta{ color:var(--muted-2); font-size:.8rem; }
.demo-log{ flex:1; padding:18px; display:flex; flex-direction:column; gap:12px; overflow:auto; max-height:420px; }
.msg{ max-width:82%; padding:11px 14px; border-radius:14px; font-size:.95rem; line-height:1.5; }
.msg-user{ align-self:flex-end; background:var(--vaak); color:#fff; border-bottom-right-radius:4px; }
.msg-agent{ align-self:flex-start; background:var(--surface-2); border:1px solid var(--line); color:var(--ink); border-bottom-left-radius:4px; }
.msg-tags{ display:flex; gap:6px; flex-wrap:wrap; margin-top:8px; }
.chip{ font-family:'IBM Plex Mono', monospace; font-size:.7rem; padding:3px 8px; border-radius:20px; border:1px solid #D6CDB8; color:var(--muted); background:#fff; }
.demo-empty{ margin:auto; text-align:center; color:var(--muted-2); font-size:.95rem; max-width:320px; }
.demo-asks{ display:flex; flex-wrap:wrap; gap:8px; padding:14px 18px 18px; border-top:1px solid var(--line); }
.ask{ min-height:40px; padding:6px 14px; border-radius:999px; border:1px solid #D6CDB8; background:#fff; color:var(--ink); font-size:.86rem; cursor:pointer; font-family:inherit; }
.ask:hover{ border-color:var(--saffron); color:var(--saffron-2); background:var(--saffron-soft); }
.inspector{ background:#fff; border:1px solid var(--line); border-top:3px solid var(--saffron); border-radius:18px; padding:24px; box-shadow:var(--shadow-sm); }
.inspector h3{ font-size:1.1rem; margin-bottom:4px; color:var(--vaak); }
.insp-sub{ font-size:.86rem; margin-bottom:16px; }
.insp-row{ display:flex; justify-content:space-between; gap:12px; padding:10px 0; border-bottom:1px solid var(--line); font-size:.9rem; }
.insp-row span{ color:var(--muted); }
.insp-row b{ font-weight:600; text-align:right; }
.insp-why{ margin-top:14px; font-size:.9rem; color:var(--ink); background:var(--surface); border:1px solid var(--line); border-radius:10px; padding:12px 14px; }
.insp-claim{ margin-top:10px; font-size:.86rem; background:var(--saffron-soft); border:1px solid var(--saffron-line); border-radius:10px; padding:10px 12px; color:var(--ink); }
.insp-claim .mono{ font-size:.72rem; color:var(--saffron-2); display:block; margin-bottom:2px; }
.demo-note{ margin-top:14px; font-size:.8rem; color:var(--muted-2); }

/* ===== modules ===== */
/* ===== platform ===== */
.platform-board{ position:relative; }
.platform-banner{
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
  margin-bottom:22px; padding:22px 24px; border-radius:18px;
  background:linear-gradient(120deg, var(--vaak) 0%, #2E3F66 55%, #1F2A44 100%);
  color:#E8ECF4; box-shadow:0 18px 40px -24px rgba(31,42,68,.55);
  position:relative; overflow:hidden;
}
.platform-banner::after{
  content:''; position:absolute; right:-40px; top:-40px; width:180px; height:180px; border-radius:50%;
  background:radial-gradient(circle, rgba(217,180,90,.28), transparent 70%); pointer-events:none;
}
.platform-banner-kicker{
  display:block; margin-bottom:6px;
  font-family:'IBM Plex Mono', monospace; font-size:.7rem; letter-spacing:.1em; text-transform:uppercase;
  color:var(--gold-hi);
}
.platform-banner-copy{ position:relative; z-index:1; max-width:560px; }
.platform-banner-copy strong{ display:block; font-size:1.2rem; color:#fff; margin-bottom:6px; }
.platform-banner-copy p{ margin:0; color:#C9D1E0; font-size:.95rem; }
.platform-banner-pills{
  position:relative; z-index:1; display:flex; flex-wrap:wrap; gap:8px; align-items:center;
}
.platform-banner-pills span{
  font-family:'IBM Plex Mono', monospace; font-size:.72rem; letter-spacing:.04em;
  padding:8px 12px; border-radius:999px; border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06); color:#D5DBE8;
}
.platform-banner-pills .is-core{
  background:rgba(217,180,90,.18); border-color:rgba(217,180,90,.5); color:var(--gold-hi); font-weight:600;
  animation:coreGlow 2.4s ease-in-out infinite;
}
@keyframes coreGlow{
  0%, 100%{ box-shadow:0 0 0 0 rgba(217,180,90,.25); }
  50%{ box-shadow:0 0 0 6px rgba(217,180,90,0); }
}

.platform-layers{
  display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:10px; margin-bottom:14px;
}
.platform-layers span{
  text-align:center; padding:8px 10px; border-radius:999px;
  font-family:'IBM Plex Mono', monospace; font-size:.68rem; letter-spacing:.08em; text-transform:uppercase;
  color:var(--muted-2); border:1px dashed var(--line); background:rgba(255,255,255,.7);
  transition:color .3s ease, border-color .3s ease, background .3s ease, box-shadow .3s ease;
}
.platform-layers span.is-active{
  color:var(--saffron-2); border-style:solid; border-color:var(--saffron-line);
  background:var(--saffron-soft); box-shadow:0 8px 18px -14px rgba(184,137,43,.5);
}

.module-grid{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:16px; }
.module-card{
  position:relative; overflow:hidden; cursor:pointer;
  background:#fff; border:1px solid var(--line); border-radius:16px; padding:22px 20px 18px;
  box-shadow:var(--shadow-sm);
  display:flex; flex-direction:column; gap:8px; min-height:210px;
  transition:transform .35s cubic-bezier(.16,.8,.3,1), border-color .3s ease, box-shadow .35s ease, background .3s ease;
}
.module-card::before{
  content:''; position:absolute; left:0; top:0; bottom:0; width:3px;
  background:var(--line); transition:background .3s ease, width .3s ease;
}
.module-card:hover,
.module-card.is-active{
  transform:translateY(-5px);
  border-color:var(--saffron-line);
  box-shadow:0 20px 36px -22px rgba(40,32,12,.32);
}
.module-card:hover::before,
.module-card.is-active::before{ background:linear-gradient(180deg, var(--gold-hi), var(--saffron)); width:4px; }
.module-card.is-active{ background:linear-gradient(180deg, #FFFCFA, #fff 55%); }
.module-top{ display:flex; align-items:center; justify-content:space-between; gap:8px; }
.module-card .num{
  font-family:'IBM Plex Mono', monospace; font-size:.72rem; color:var(--muted-2); letter-spacing:.04em; font-weight:600;
}
.module-job, .module-sig{
  font-family:'IBM Plex Mono', monospace; font-size:.65rem; letter-spacing:.08em; text-transform:uppercase;
  padding:3px 8px; border-radius:999px; font-weight:600;
}
.module-job{ color:var(--muted); border:1px solid var(--line); background:var(--surface); }
.module-sig{ color:#1B1A17; background:var(--saffron); border:1px solid var(--saffron); }
.module-card h4{ margin:0; font-size:1.08rem; color:var(--vaak); }
.module-card p{ font-size:.9rem; margin:0; flex:1; }
.module-plain{
  display:block; margin-top:4px; padding-top:10px; border-top:1px dashed var(--line);
  font-size:.82rem; font-weight:600; color:var(--saffron-2); line-height:1.4;
}
.module-card.is-signature{
  border-color:var(--saffron-line);
  background:linear-gradient(180deg, #FDF8EA, #fff 62%);
}
.module-card.is-signature .num{ color:var(--saffron-2); }
.module-card.is-signature::before{ background:linear-gradient(180deg, var(--gold-hi), var(--saffron)); }
.module-card.is-stack{
  background:linear-gradient(165deg, var(--vaak-soft), #fff 55%);
  border-color:#D5DBE8;
}
.module-card.is-stack::before{ background:linear-gradient(180deg, var(--vaak-2), var(--vaak)); }
.module-card.is-stack .module-job{ color:var(--vaak); border-color:#D5DBE8; background:#fff; }
.module-card.is-stack h4{ color:var(--vaak); }
.module-card.is-dim{ opacity:.55; transform:none; }

.platform-spotlight{
  margin-top:18px; padding:22px 24px; border-radius:16px;
  border:1px solid var(--saffron-line);
  background:linear-gradient(135deg, #FFFFFF, #FBF7EC);
  box-shadow:var(--shadow-sm);
  min-height:120px;
  animation:spotIn .35s ease;
}
.platform-spotlight.is-swap{ animation:spotIn .35s ease; }
@keyframes spotIn{
  from{ opacity:.4; transform:translateY(6px); }
  to{ opacity:1; transform:none; }
}
.spotlight-kicker{
  display:inline-block; margin-bottom:8px;
  font-family:'IBM Plex Mono', monospace; font-size:.72rem; letter-spacing:.08em; text-transform:uppercase;
  color:var(--saffron-2);
}
.platform-spotlight h3{ margin:0 0 .4em; font-size:1.3rem; color:var(--vaak); }
.platform-spotlight p{ margin:0; max-width:760px; font-size:1rem; }

/* ===== split / voice ===== */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.split-copy h2{ font-size:clamp(1.65rem, 3vw, 2.3rem); }
.check-list{ list-style:none; padding:0; margin:20px 0 28px; display:flex; flex-direction:column; gap:12px; }
.check-list li{ display:flex; align-items:flex-start; gap:10px; font-size:.98rem; color:var(--ink); }
.check-list svg{ flex-shrink:0; margin-top:4px; color:var(--saffron); }
.latency-card{ background:#fff; border:1px solid var(--line); border-top:3px solid var(--saffron); border-radius:18px; padding:26px; box-shadow:var(--shadow); }
.latency-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:6px; font-weight:600; color:var(--vaak); }
.latency-id{ font-family:'IBM Plex Mono', monospace; font-size:.78rem; color:var(--muted-2); margin-bottom:18px; }
.lat-row{ display:grid; grid-template-columns:150px 1fr 64px; gap:12px; align-items:center; padding:8px 0; font-size:.88rem; }
.lat-row span{ color:var(--muted); }
.lat-bar{ height:8px; border-radius:6px; background:#F1EDE3; overflow:hidden; }
.lat-bar i{ display:block; height:100%; border-radius:6px; background:linear-gradient(90deg, var(--vaak-2), var(--vaak)); width:0; transition:width 1.1s cubic-bezier(.16,.8,.3,1); }
.lat-bar i.is-verify{ background:linear-gradient(90deg, var(--gold-hi), var(--saffron)); }
.lat-row b{ font-family:'IBM Plex Mono', monospace; font-size:.8rem; text-align:right; color:var(--ink); }
.lat-total{ display:flex; justify-content:space-between; margin-top:12px; padding-top:12px; border-top:1px solid var(--line); font-weight:600; }
.lat-foot{ margin-top:12px; font-size:.8rem; color:var(--muted-2); }

/* ===== industries ===== */
.industries-board{ position:relative; }
.industry-grid{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:18px; }
.industry-card{
  position:relative; overflow:hidden;
  background:#fff; border:1px solid var(--line); border-radius:18px; padding:24px 22px 20px;
  display:flex; flex-direction:column; gap:10px; box-shadow:var(--shadow-sm);
  transition:transform .35s cubic-bezier(.16,.8,.3,1), border-color .3s ease, box-shadow .35s ease;
}
.industry-card::before{
  content:''; position:absolute; inset:0 0 auto 0; height:3px;
  background:linear-gradient(90deg, var(--gold-hi), var(--saffron), var(--vaak));
  opacity:0; transition:opacity .3s ease;
}
.industry-card:hover,
.industry-card:focus-within,
.industry-card.is-active{
  transform:translateY(-5px);
  border-color:var(--saffron-line);
  box-shadow:0 22px 40px -24px rgba(40,32,12,.35);
}
.industry-card:hover::before,
.industry-card:focus-within::before,
.industry-card.is-active::before,
.industry-card.is-proven::before{ opacity:1; }
.industry-card.is-proven{
  background:linear-gradient(180deg, #FDF8EA, #fff 55%);
  border-color:var(--saffron-line);
}
.industry-top{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.industry-code{
  font-family:'IBM Plex Mono', monospace; font-size:.72rem; color:var(--muted-2); letter-spacing:.06em;
}
.industry-badge{
  font-family:'IBM Plex Mono', monospace; font-size:.65rem; letter-spacing:.08em; text-transform:uppercase;
  padding:4px 9px; border-radius:999px; border:1px solid var(--line);
  background:var(--surface); color:var(--muted); font-weight:600;
}
.industry-badge.is-live{
  background:var(--saffron); color:#1B1A17; border-color:var(--saffron);
}
.industry-card h4{ margin:0; font-size:1.14rem; color:var(--vaak); }
.industry-hook{
  margin:0 !important; font-size:.95rem !important; font-weight:600; color:var(--saffron-2); line-height:1.4;
}
.industry-card p{ margin:0; font-size:.9rem; }
.industry-flow{
  font-family:'IBM Plex Mono', monospace; font-size:.72rem; color:var(--muted); line-height:1.7;
  padding-top:10px; border-top:1px dashed var(--line); margin-top:auto;
}
.industry-actions{
  display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; margin-top:4px;
}
.industry-actions .btn{ min-height:40px; padding:8px 14px; font-size:.86rem; }
.industries-hint{
  margin:22px 0 0; text-align:center; font-size:.92rem; color:var(--muted);
}

/* Industry modal */
.industry-modal[hidden]{ display:none !important; }
.industry-modal{
  position:fixed; inset:0; z-index:100; display:flex; align-items:center; justify-content:center; padding:20px;
}
.industry-modal-backdrop{
  position:absolute; inset:0; background:rgba(27,26,23,.52); backdrop-filter:blur(4px);
}
.industry-modal-dialog{
  position:relative; z-index:1; width:min(860px, 100%); max-height:min(88vh, 820px); overflow:auto;
  background:#fff; border:1px solid var(--saffron-line); border-radius:20px;
  box-shadow:0 30px 80px -30px rgba(27,26,23,.55);
  padding:28px 28px 22px;
  animation:modalIn .32s cubic-bezier(.16,.8,.3,1);
}
@keyframes modalIn{
  from{ opacity:0; transform:translateY(16px) scale(.98); }
  to{ opacity:1; transform:none; }
}
.industry-modal-close{
  position:absolute; top:14px; right:14px; width:40px; height:40px; border-radius:10px;
  border:1px solid var(--line); background:#fff; color:var(--ink); font-size:1.4rem; line-height:1; cursor:pointer;
}
.industry-modal-close:hover{ border-color:var(--saffron); color:var(--saffron-2); }
.industry-modal-kicker{
  display:inline-block; margin-bottom:8px;
  font-family:'IBM Plex Mono', monospace; font-size:.72rem; letter-spacing:.1em; text-transform:uppercase;
  color:var(--saffron-2);
}
.industry-modal-head h3{ margin:0 0 .4em; font-size:1.55rem; color:var(--vaak); }
.industry-modal-head p{ margin:0; max-width:620px; }
.industry-modal-body{
  display:grid; grid-template-columns:1.15fr .85fr; gap:22px;
  margin:22px 0 20px; padding-top:18px; border-top:1px solid var(--line);
}
.industry-modal-body h4{
  margin:0 0 12px; font-size:.78rem; letter-spacing:.08em; text-transform:uppercase;
  font-family:'IBM Plex Mono', monospace; color:var(--muted-2);
}
.industry-usecases, .industry-asks{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; }
.industry-usecases li{
  padding:12px 14px; border-radius:12px; border:1px solid var(--line); background:var(--surface);
}
.industry-usecases li strong{ display:block; color:var(--vaak); margin-bottom:3px; font-size:.95rem; }
.industry-usecases li span{ font-size:.86rem; color:var(--muted); }
.industry-asks li{
  padding:10px 12px; border-radius:10px; border:1px dashed var(--saffron-line);
  background:var(--saffron-soft); color:var(--saffron-2); font-size:.9rem; font-weight:500;
}
.industry-trust{
  margin-top:14px; padding:14px; border-radius:12px; background:var(--vaak); color:#D5DBE8; font-size:.9rem;
}
.industry-trust b{ color:#fff; }
.industry-modal-foot{
  display:flex; gap:12px; flex-wrap:wrap; align-items:center;
  padding-top:16px; border-top:1px solid var(--line);
}
body.modal-open{ overflow:hidden; }

/* ===== pilot journey ===== */
.pilot-board{ position:relative; }
.pilot-meter{ margin-bottom:18px; }
.pilot-meter-label,
.pilot-meter-ticks{
  display:flex; justify-content:space-between; gap:12px;
  font-family:'IBM Plex Mono', monospace; font-size:.7rem; letter-spacing:.06em; text-transform:uppercase;
  color:var(--muted-2);
}
.pilot-meter-label{ margin-bottom:8px; color:var(--saffron-2); }
.pilot-meter-ticks{ margin-top:8px; }
.pilot-meter-track{
  height:6px; border-radius:999px; background:#EDE6D6; overflow:hidden; position:relative;
}
.pilot-meter-track i{
  display:block; height:100%; width:25%; border-radius:inherit;
  background:linear-gradient(90deg, var(--gold-hi), var(--saffron), var(--vaak));
  transition:width .5s cubic-bezier(.16,.8,.3,1);
  box-shadow:0 0 14px rgba(184,137,43,.4);
}

.pilot-steps{
  list-style:none; padding:0; margin:0 0 18px;
  display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:12px;
}
.pilot-step{ margin:0; }
.pilot-step button{
  width:100%; min-height:148px; text-align:left; cursor:pointer; font-family:inherit;
  display:flex; flex-direction:column; gap:6px;
  padding:18px 16px; border-radius:16px;
  background:#fff; border:1px solid var(--line); color:var(--ink);
  box-shadow:var(--shadow-sm);
  transition:transform .35s ease, border-color .3s ease, background .3s ease, box-shadow .35s ease;
  position:relative; overflow:hidden;
}
.pilot-step button::before{
  content:''; position:absolute; left:0; top:0; bottom:0; width:3px;
  background:var(--line); transition:background .3s ease, width .3s ease;
}
.pilot-step button:hover{ transform:translateY(-4px); border-color:var(--saffron-line); }
.pilot-step.is-active button{
  transform:translateY(-5px);
  border-color:var(--saffron);
  background:linear-gradient(180deg, var(--saffron-soft), #fff 68%);
  box-shadow:0 18px 34px -20px rgba(184,137,43,.5);
}
.pilot-step.is-active button::before,
.pilot-step.is-done button::before{
  width:4px; background:linear-gradient(180deg, var(--gold-hi), var(--saffron));
}
.pilot-step.is-done button{ border-color:var(--saffron-line); background:linear-gradient(180deg, #FFFCFA, #fff); }
.pilot-when{
  font-family:'IBM Plex Mono', monospace; font-size:.68rem; letter-spacing:.08em; text-transform:uppercase;
  color:var(--saffron-2); font-weight:600;
}
.pilot-num{
  font-family:'IBM Plex Mono', monospace; font-size:.72rem; color:var(--muted-2); letter-spacing:.04em;
}
.pilot-title{ font-size:1.05rem; font-weight:600; color:var(--vaak); line-height:1.25; }
.pilot-hint{ font-size:.8rem; color:var(--muted); line-height:1.35; }
.pilot-step.is-active .pilot-title{ color:var(--saffron-2); }

.pilot-panel{
  display:grid; grid-template-columns:1.4fr .8fr; gap:0;
  border:1px solid var(--saffron-line); border-radius:18px; overflow:hidden;
  background:#fff; box-shadow:var(--shadow);
  animation:pilotPanelIn .35s ease;
}
.pilot-panel.is-swap{ animation:pilotPanelIn .35s ease; }
@keyframes pilotPanelIn{
  from{ opacity:.4; transform:translateY(8px); }
  to{ opacity:1; transform:none; }
}
.pilot-panel-main{ padding:26px 28px; background:linear-gradient(135deg, #FFFFFF, #FBF7EC); }
.pilot-panel-meta{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin-bottom:10px; }
.pilot-panel-when{
  font-family:'IBM Plex Mono', monospace; font-size:.72rem; letter-spacing:.08em; text-transform:uppercase;
  color:var(--saffron-2);
}
.pilot-panel-phase{
  font-family:'IBM Plex Mono', monospace; font-size:.68rem; letter-spacing:.08em; text-transform:uppercase;
  padding:4px 10px; border-radius:999px; border:1px solid var(--saffron-line);
  background:var(--saffron-soft); color:var(--saffron-2);
}
.pilot-panel-main h3{ margin:0 0 .45em; font-size:1.4rem; color:var(--vaak); }
.pilot-panel-main p{ margin:0 0 16px; font-size:1.02rem; max-width:560px; }
.pilot-outcomes{
  list-style:none; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:8px;
}
.pilot-outcomes li{
  font-size:.84rem; font-weight:600; color:var(--vaak);
  padding:8px 12px; border-radius:999px; border:1px solid #D5DBE8; background:var(--vaak-soft);
}
.pilot-panel-aside{
  padding:26px 24px; background:var(--vaak); color:#D5DBE8;
  display:flex; flex-direction:column; gap:12px; justify-content:center;
}
.pilot-aside-label{
  font-family:'IBM Plex Mono', monospace; font-size:.68rem; letter-spacing:.1em; text-transform:uppercase;
  color:var(--gold-hi);
}
.pilot-panel-aside p{ margin:0; font-size:1.05rem; color:#fff; font-weight:500; line-height:1.45; }
.pilot-panel-aside .btn-hero{ margin-top:8px; align-self:flex-start; }

/* ===== roles ===== */
.roles-board{ position:relative; }
.role-grid{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:16px; }
.role-card{
  position:relative; overflow:hidden; cursor:pointer;
  background:#fff; border:1px solid var(--line); border-radius:18px; padding:22px 20px 18px;
  box-shadow:var(--shadow-sm);
  display:flex; flex-direction:column; gap:10px;
  transition:transform .35s cubic-bezier(.16,.8,.3,1), border-color .3s ease, box-shadow .35s ease, background .3s ease;
}
.role-card::before{
  content:''; position:absolute; inset:0 0 auto 0; height:3px;
  background:linear-gradient(90deg, var(--gold-hi), var(--saffron), var(--vaak));
  opacity:0; transition:opacity .3s ease;
}
.role-card:hover,
.role-card:focus-within,
.role-card.is-active{
  transform:translateY(-5px);
  border-color:var(--saffron-line);
  box-shadow:0 20px 36px -22px rgba(40,32,12,.32);
  background:linear-gradient(180deg, #FFFCFA, #fff 60%);
}
.role-card:hover::before,
.role-card:focus-within::before,
.role-card.is-active::before{ opacity:1; }
.role-top{ display:flex; align-items:center; justify-content:space-between; }
.role-code{
  font-family:'IBM Plex Mono', monospace; font-size:.72rem; color:var(--muted-2); letter-spacing:.06em;
}
.role-card h4{ margin:0; font-size:1.08rem; color:var(--vaak); }
.role-card p{ font-size:.9rem; margin:0; flex:1; }
.role-card .q{
  display:block; margin:0; padding:10px 12px; border-radius:10px;
  font-size:.86rem; color:var(--saffron-2); font-style:italic; font-weight:500;
  background:var(--saffron-soft); border:1px dashed var(--saffron-line);
}
.role-card .role-open{ align-self:flex-start; min-height:38px; padding:7px 12px; font-size:.84rem; margin-top:2px; }
.roles-hint{ margin:20px 0 0; text-align:center; font-size:.92rem; color:var(--muted); }

/* Role dashboard modal */
.role-modal[hidden]{ display:none !important; }
.role-modal{
  position:fixed; inset:0; z-index:110; display:flex; align-items:center; justify-content:center; padding:18px;
}
.role-modal-backdrop{
  position:absolute; inset:0; background:rgba(27,26,23,.55); backdrop-filter:blur(5px);
}
.role-modal-dialog{
  position:relative; z-index:1; width:min(920px, 100%); max-height:min(90vh, 860px); overflow:auto;
  background:#fff; border:1px solid var(--saffron-line); border-radius:20px;
  box-shadow:0 30px 80px -28px rgba(27,26,23,.55);
  padding:24px 24px 18px;
  animation:modalIn .32s cubic-bezier(.16,.8,.3,1);
}
.role-modal-close{
  position:absolute; top:12px; right:12px; width:40px; height:40px; border-radius:10px;
  border:1px solid var(--line); background:#fff; color:var(--ink); font-size:1.4rem; line-height:1; cursor:pointer;
}
.role-modal-close:hover{ border-color:var(--saffron); color:var(--saffron-2); }
.role-modal-kicker{
  display:inline-block; margin-bottom:6px;
  font-family:'IBM Plex Mono', monospace; font-size:.7rem; letter-spacing:.1em; text-transform:uppercase;
  color:var(--saffron-2);
}
.role-modal-head h3{ margin:0 0 .35em; font-size:1.45rem; color:var(--vaak); }
.role-modal-head p{ margin:0 0 16px; max-width:640px; }
.role-modal-foot{
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
  margin-top:16px; padding-top:14px; border-top:1px solid var(--line);
}
.role-modal-answer{ margin:0; font-size:.95rem; color:var(--saffron-2); font-weight:600; max-width:520px; }

/* Mini dashboards inside modal */
.dash-frame{
  border:1px solid var(--line); border-radius:14px; overflow:hidden; background:var(--surface);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
}
.dash-chrome{
  display:flex; align-items:center; gap:8px; padding:10px 14px;
  background:#fff; border-bottom:1px solid var(--line);
  font-family:'IBM Plex Mono', monospace; font-size:.72rem; color:var(--muted-2);
}
.dash-chrome .dots{ display:flex; gap:5px; }
.dash-chrome .dots i{ width:8px; height:8px; border-radius:50%; background:#D6CDB8; display:block; }
.dash-chrome .dots i:nth-child(1){ background:#E2B4A8; }
.dash-chrome .dots i:nth-child(2){ background:#E2CC96; }
.dash-chrome .dots i:nth-child(3){ background:#B7C9B1; }
.dash-body{ padding:16px; display:grid; gap:12px; }
.dash-kpis{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:10px; }
.dash-kpi{
  background:#fff; border:1px solid var(--line); border-radius:12px; padding:12px 14px;
}
.dash-kpi span{
  display:block; font-family:'IBM Plex Mono', monospace; font-size:.68rem; letter-spacing:.06em;
  text-transform:uppercase; color:var(--muted-2); margin-bottom:4px;
}
.dash-kpi b{ font-size:1.25rem; color:var(--vaak); }
.dash-kpi em{ font-style:normal; font-size:.78rem; color:var(--saffron-2); font-weight:600; margin-left:6px; }
.dash-row{
  display:grid; grid-template-columns:1.2fr .8fr; gap:10px;
}
.dash-card{
  background:#fff; border:1px solid var(--line); border-radius:12px; padding:14px;
}
.dash-card h5{
  margin:0 0 10px; font-size:.72rem; letter-spacing:.08em; text-transform:uppercase;
  font-family:'IBM Plex Mono', monospace; color:var(--muted-2);
}
.dash-list{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:8px; }
.dash-list li{
  display:flex; justify-content:space-between; gap:10px; align-items:center;
  padding:8px 10px; border-radius:8px; background:var(--surface); border:1px solid var(--line);
  font-size:.86rem; color:var(--ink);
}
.dash-list .ok{ color:var(--saffron-2); font-weight:600; font-size:.78rem; }
.dash-list .warn{ color:var(--amber); font-weight:600; font-size:.78rem; }
.dash-bars{ display:flex; flex-direction:column; gap:10px; }
.dash-bar-row{ display:grid; grid-template-columns:90px 1fr 42px; gap:8px; align-items:center; font-size:.82rem; }
.dash-bar-row span{ color:var(--muted); }
.dash-bar-row b{ font-family:'IBM Plex Mono', monospace; font-size:.75rem; text-align:right; color:var(--ink); }
.dash-bar{ height:8px; border-radius:6px; background:#F1EDE3; overflow:hidden; }
.dash-bar i{
  display:block; height:100%; width:0; border-radius:inherit;
  background:linear-gradient(90deg, var(--gold-hi), var(--saffron));
  transition:width 1s cubic-bezier(.16,.8,.3,1);
}
.dash-map{
  display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:8px;
}
.dash-pill{
  padding:12px; border-radius:10px; border:1px solid var(--line); background:#fff; text-align:center;
}
.dash-pill b{ display:block; font-size:.9rem; color:var(--vaak); margin-bottom:2px; }
.dash-pill span{ font-size:.72rem; color:var(--muted); }
.dash-pill.is-on{ border-color:var(--saffron-line); background:var(--saffron-soft); }
.dash-pill.is-on b{ color:var(--saffron-2); }

/* ===== metrics (navy band) ===== */
.metrics-section{ position:relative; overflow:hidden; background:linear-gradient(135deg, #1F2A44, #151D31); border-top:3px solid var(--saffron); }
.metrics-grid{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:24px; text-align:center; }
.metric{ display:flex; flex-direction:column; gap:6px; }
.metric-num{ font-size:clamp(2rem, 4vw, 2.8rem); font-weight:600; color:#F3D98E; }
.metric-num em{ font-style:normal; color:#fff; }
.metric-label{ font-size:.9rem; color:#C9CFDC; }

/* ===== security ===== */
.security-board{ position:relative; }
.trust-rail{
  margin-bottom:28px; padding:22px 24px 20px;
  border-radius:18px; border:1px solid var(--saffron-line);
  background:linear-gradient(135deg, #FFFFFF 0%, #FBF7EC 100%);
  box-shadow:var(--shadow-sm);
}
.trust-rail-head{
  display:flex; flex-wrap:wrap; gap:6px 14px; align-items:baseline; margin-bottom:18px;
}
.trust-rail-head b{ font-size:1.05rem; color:var(--vaak); }
.trust-rail-head span{ font-size:.88rem; color:var(--muted); }
.trust-badges{
  list-style:none; padding:0; margin:0;
  display:grid; grid-template-columns:repeat(7, minmax(0,1fr)); gap:12px;
}
.trust-badge{
  display:flex; flex-direction:column; align-items:center; gap:8px; text-align:center;
  padding:14px 8px 12px; border-radius:14px;
  background:#fff; border:1px solid var(--line);
  color:var(--vaak);
  transition:transform .3s ease, border-color .3s ease, box-shadow .3s ease, color .3s ease;
}
.trust-badge svg{ width:56px; height:56px; display:block; }
.trust-badge span{
  font-family:'IBM Plex Mono', monospace; font-size:.68rem; letter-spacing:.02em;
  color:var(--muted); line-height:1.3;
}
.trust-badge:hover,
.trust-badge.is-active{
  transform:translateY(-4px);
  border-color:var(--saffron-line);
  color:var(--saffron-2);
  box-shadow:0 14px 28px -18px rgba(184,137,43,.45);
}
.trust-badge:hover span,
.trust-badge.is-active span{ color:var(--saffron-2); }

.security-grid{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:16px; }
.security-item{
  position:relative; overflow:hidden;
  background:#fff; border:1px solid var(--line); border-radius:16px; padding:22px 20px 18px;
  box-shadow:var(--shadow-sm);
  display:flex; flex-direction:column; gap:10px;
  transition:transform .35s ease, border-color .3s ease, box-shadow .35s ease;
}
.security-item::before{
  content:''; position:absolute; left:0; top:0; bottom:0; width:3px;
  background:linear-gradient(180deg, var(--vaak-2), var(--vaak));
  opacity:.35; transition:opacity .3s ease, width .3s ease;
}
.security-item:hover{
  transform:translateY(-4px);
  border-color:#D5DBE8;
  box-shadow:0 18px 34px -22px rgba(31,42,68,.28);
}
.security-item:hover::before{ opacity:1; width:4px; background:linear-gradient(180deg, var(--gold-hi), var(--saffron)); }
.security-icon{
  width:44px; height:44px; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  background:var(--vaak-soft); color:var(--vaak); border:1px solid #D5DBE8;
}
.security-item h4{ margin:0; font-size:1.05rem; color:var(--vaak); }
.security-item p{ margin:0; font-size:.9rem; flex:1; }
.security-tag{
  align-self:flex-start;
  font-family:'IBM Plex Mono', monospace; font-size:.65rem; letter-spacing:.08em; text-transform:uppercase;
  padding:4px 9px; border-radius:999px; font-weight:600;
  color:var(--saffron-2); border:1px solid var(--saffron-line); background:var(--saffron-soft);
}

.deploy{
  margin-top:22px; display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:14px;
}
.deploy-card{
  position:relative;
  background:#fff; border:1px solid var(--line); border-radius:16px; padding:22px 20px;
  box-shadow:var(--shadow-sm);
  display:flex; flex-direction:column; gap:8px;
  transition:transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.deploy-card:hover{
  transform:translateY(-3px); border-color:var(--saffron-line);
  box-shadow:0 16px 30px -20px rgba(40,32,12,.3);
}
.deploy-card.is-featured{
  border-color:var(--saffron-line);
  background:linear-gradient(180deg, #FDF8EA, #fff 60%);
  box-shadow:var(--shadow);
}
.deploy-chip{
  position:absolute; top:12px; right:12px;
  font-family:'IBM Plex Mono', monospace; font-size:.62rem; letter-spacing:.08em; text-transform:uppercase;
  padding:4px 8px; border-radius:999px; font-weight:700;
  background:var(--saffron); color:#1B1A17;
}
.deploy-mark{ color:var(--vaak); margin-bottom:4px; }
.deploy-card.is-featured .deploy-mark{ color:var(--saffron-2); }
.deploy-card b{ display:block; color:var(--vaak); font-size:1.05rem; }
.deploy-card span:last-child{ font-size:.9rem; color:var(--muted); line-height:1.5; }

/* ===== faq ===== */
.faq-list{ max-width:820px; margin:0 auto; display:flex; flex-direction:column; gap:12px; }
.faq-item{ background:#fff; border:1px solid var(--line); border-radius:12px; padding:4px 22px; }
.faq-item[open]{ border-color:var(--saffron-line); }
.faq-item summary{ cursor:pointer; list-style:none; padding:16px 0; font-weight:600; color:var(--vaak); display:flex; justify-content:space-between; gap:16px; }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:'+'; color:var(--saffron); font-size:1.3rem; line-height:1; }
.faq-item[open] summary::after{ content:'–'; }
.faq-item p{ padding-bottom:16px; margin:0; }

/* ===== cta ===== */
.cta-section{ position:relative; overflow:hidden; background:radial-gradient(ellipse 70% 90% at 50% 0%, #F7E7BC, transparent 70%), #FBF7EC; border-top:1px solid var(--line); }
.cta-inner{ text-align:center; max-width:740px; }
.cta-inner h2{ font-size:clamp(1.8rem, 3.4vw, 2.6rem); color:var(--vaak); }
.cta-inner p{ font-size:1.08rem; margin-bottom:28px; }
.cta-actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ===== footer ===== */
.footer{ border-top:1px solid var(--line); padding:36px 0; background:#fff; }
.footer-inner{ display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap; }
.footer-note{ margin:0; font-size:.88rem; }
.footer-link{ color:var(--saffron-2); font-weight:500; }
.footer-link:hover{ text-decoration:underline; }

/* ===== responsive ===== */
@media (max-width:1080px){
  .loop{ grid-template-columns:repeat(4, minmax(0,1fr)); }
  .loop-phases{ grid-template-columns:1fr 1fr 1fr; }
  .module-grid, .role-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .pilot-steps{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .pilot-panel{ grid-template-columns:1fr; }
  .dash-kpis{ grid-template-columns:1fr; }
  .dash-row{ grid-template-columns:1fr; }
  .platform-layers{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .trust-badges{ grid-template-columns:repeat(4, minmax(0,1fr)); }
}
@media (max-width:960px){
  .nav-links{
    display:flex; position:absolute; top:72px; left:0; right:0;
    flex-direction:column; gap:0; background:#fff;
    border-bottom:1px solid var(--line); padding:8px 24px 16px;
    box-shadow:var(--shadow-sm); z-index:40;
    visibility:hidden; opacity:0; pointer-events:none;
    transform:translateY(-8px);
    transition:opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .nav-links.is-open{ visibility:visible; opacity:1; pointer-events:auto; transform:none; }
  .nav-links a{ padding:12px 0; border-bottom:1px solid var(--line); }
  .nav-links a:last-child{ border-bottom:0; }
  .nav-links a.is-active::after{ display:none; }
  .nav-links a.is-active{ color:var(--saffron-2); font-weight:600; }
  .menu-btn{ display:inline-flex; }
  .nav-cta .btn{ display:none; }
  .hero-inner, .split, .demo{ grid-template-columns:1fr; }
  .compare{ grid-template-columns:1fr; gap:14px; }
  .compare-vs{ width:42px; height:42px; margin:2px auto; }
  .risk-grid, .industry-grid, .security-grid{ grid-template-columns:1fr 1fr; }
  .industry-modal-body{ grid-template-columns:1fr; }
  .metrics-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .deploy{ grid-template-columns:1fr; }
  .trust-badges{ grid-template-columns:repeat(3, minmax(0,1fr)); }
}
@media (max-width:640px){
  .section{ padding:72px 0; }
  .wrap{ padding:0 16px; }
  .risk-grid, .industry-grid, .security-grid, .module-grid, .role-grid{ grid-template-columns:1fr; }
  .pilot-steps{ grid-template-columns:1fr; }
  .pilot-step button{ min-height:0; }
  .platform-layers{ display:none; }
  .platform-banner{ padding:18px; }
  .module-card{ min-height:0; }
  .loop{ grid-template-columns:1fr 1fr; }
  .trust-badges{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .loop-step button{ min-height:108px; }
  .loop-return{ flex-direction:column; align-items:flex-start; }
  .loop-phases{ display:none; }
  .lat-row{ grid-template-columns:110px 1fr 56px; }
  .turn-viewport{ min-height:236px; }
}
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation:none !important; transition:none !important; }
  .reveal{ opacity:1; transform:none; }
  .btn-hero{ animation:none; }
}
