/* /how — Ultra-Minimal Obsidian Visual Mechanism (strict CSP: zero inline styles) */

.how-page{
  margin:0;
  background:#05070c;
  color:#f8fafc;
  font-family:var(--font);
  -webkit-font-smoothing:antialiased;
  overflow-x:clip;
}

/* Pure conversion header: solid translucent tint (zero backdrop-filter blur thrash over live canvas) */
.hw-nav{
  position:sticky;
  top:0;
  z-index:40;
  background:rgba(5,7,12,.94);
  border-bottom:1px solid rgba(148,163,184,.12);
}
.hw-nav-in{
  max-width:1180px;
  margin:0 auto;
  padding:0 24px;
  height:52px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.hw-nav-cta{
  height:34px;
  padding:0 15px;
  font-size:13px;
  white-space:nowrap;
}

/* Visual 1: 3D Obsidian Manifold + 3 Equations */
.how-page .hw-hero{
  border-top:0;
  border-bottom:0;
  padding:clamp(16px,2.5vw,28px) 0 clamp(12px,2vw,20px);
}
.how-page .hw-hero .obs-head{
  max-width:680px;
  margin:0 auto;
}
.how-page .hw-hero .obs-h{
  font-size:clamp(30px,3.8vw,46px);
  line-height:1.05;
}
.how-page .hw-hero .obs-view{
  margin:4px -16px 10px;
  height:clamp(220px,29vw,340px);
}

.hw-eq-strip{
  max-width:780px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border:1px solid rgba(148,163,184,.15);
  border-radius:12px;
  background:rgba(9,13,24,.92);
  overflow:hidden;
}
.hw-eq-cell{
  padding:10px 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-right:1px solid rgba(148,163,184,.12);
  text-align:center;
}
.hw-eq-cell:last-child{border-right:0}
.hw-eq-cell math{
  font-size:15.5px;
  color:#f8fafc;
  font-family:"STIX Two Math","Cambria Math","Latin Modern Math",math,serif;
}
.hw-eq-lbl{
  margin:0;
  font:500 10px/1 var(--mono);
  letter-spacing:.1em;
  text-transform:uppercase;
  color:rgba(148,163,184,.72);
  white-space:nowrap;
}
.hw-eq-lbl span{color:#5eead4;margin-right:4px}

/* Visual 2: Pure Auto-Animated Mechanism & ^GSPC Proof */
.hw-wrap{
  max-width:1180px;
  margin:0 auto;
  padding:0 24px;
}
.hw-studio-sec{
  padding:6px 0 clamp(22px,3vw,32px);
}
.hw-studio{
  border-radius:18px;
  border:1px solid rgba(148,163,184,.18);
  background:linear-gradient(180deg,rgba(10,15,28,.95) 0%,rgba(6,9,17,.99) 100%);
  box-shadow:0 28px 72px -24px rgba(0,0,0,.8),inset 0 1px 0 rgba(255,255,255,.06);
  overflow:hidden;
  contain:layout paint;
}
.hw-studio.is-paused .bp-wire-flow-pulse,
.hw-studio.is-paused .bp-wire-beam,
.hw-studio.is-paused .bp-core-ring,
.hw-studio.is-paused .bp-dot-on{
  animation-play-state:paused;
}
.hw-grid{
  display:grid;
  grid-template-columns:minmax(0,1.16fr) minmax(0,1fr);
}
.hw-pane{
  padding:14px 18px 16px;
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:10px;
}
.hw-pane-bp{
  border-right:1px solid rgba(148,163,184,.14);
  background:radial-gradient(circle at 42% 45%,rgba(94,234,212,.055),transparent 62%);
}
.hw-pane-demo{
  background:radial-gradient(circle at 72% 42%,rgba(165,180,252,.05),transparent 64%);
}
.hw-pane-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.hw-pane-k{
  margin:0;
  font:500 10.5px/1 var(--mono);
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(148,163,184,.76);
}
.hw-pips{
  display:inline-flex;
  align-items:center;
  gap:5px;
}
.hw-pip{
  appearance:none;
  width:7px;
  height:7px;
  padding:0;
  border-radius:999px;
  border:0;
  background:rgba(148,163,184,.28);
  cursor:pointer;
  transition:width .24s ease,background .24s ease,box-shadow .24s ease;
}
.hw-pip[aria-pressed="true"]{
  width:20px;
  background:#5eead4;
  box-shadow:0 0 10px rgba(94,234,212,.55);
}
.hw-pane-tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 9px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.18);
  background:rgba(15,23,42,.72);
  font:500 10.5px/1 var(--mono);
  color:rgba(203,213,225,.86);
  white-space:nowrap;
  flex:none;
}

/* Mechanism SVG */
.hw-bp-svg{display:block;width:100%;height:auto}
.bp-node{cursor:pointer;transition:opacity .45s ease}
.bp-box{
  fill:rgba(9,14,26,.88);
  stroke:rgba(148,163,184,.22);
  stroke-width:1.1;
  transition:stroke .45s ease,fill .45s ease;
}
.bp-box-core{fill:rgba(11,19,34,.96);stroke:rgba(94,234,212,.38);stroke-width:1.3}
.bp-box-out{fill:rgba(13,18,30,.94);stroke:rgba(252,211,77,.35);stroke-width:1.2}
.bp-k{font:600 9px var(--mono);letter-spacing:.12em;fill:rgba(148,163,184,.74)}
.bp-t{font:600 12px var(--font);fill:#f8fafc}
.bp-m{font:500 9.8px var(--mono);fill:rgba(203,213,225,.84)}
.bp-math-sm{font:400 10.5px "STIX Two Math","Cambria Math",Georgia,serif;fill:rgba(163,176,196,.85)}
.bp-math{font:600 17px "STIX Two Math","Cambria Math",Georgia,serif;fill:#f8fafc}
.bp-wire{fill:none;stroke:rgba(148,163,184,.2);stroke-width:1.4;transition:stroke .45s ease,opacity .45s ease,stroke-width .45s ease}
.bp-wire-flow-pulse{
  fill:none;stroke-width:2.1;stroke-linecap:round;stroke-dasharray:10 46;
  animation:hw-flow 2.8s linear infinite;opacity:.72;transition:opacity .45s ease;
}
.bp-pulse-c{stroke:#5eead4}
.bp-pulse-a{stroke:#fcd34d;animation-delay:-.9s}
.bp-pulse-v{stroke:#a5b4fc;animation-delay:-1.7s}
.bp-wire-beam{
  fill:none;stroke:rgba(252,211,77,.55);stroke-width:1.9;stroke-dasharray:5 5;
  animation:hw-beam 1.6s linear infinite;transition:stroke .45s ease,opacity .45s ease;
}
@keyframes hw-flow{from{stroke-dashoffset:56}to{stroke-dashoffset:0}}
@keyframes hw-beam{from{stroke-dashoffset:20}to{stroke-dashoffset:0}}
@keyframes hw-breathe{0%,100%{opacity:.22}50%{opacity:.62}}
@keyframes hw-dot-blink{0%,100%{opacity:.5}50%{opacity:1}}

.bp-grid-s{fill:none;stroke:rgba(148,163,184,.24);stroke-width:.85}
.bp-cell-hi{fill:rgba(94,234,212,.16)}
.bp-cell-lo{fill:rgba(248,113,113,.16)}
.bp-cell-am{fill:rgba(252,211,77,.14)}
.bp-vec-c{fill:none;stroke:#5eead4;stroke-width:1.4;stroke-linecap:round}
.bp-vec-r{fill:none;stroke:#f87171;stroke-width:1.4;stroke-linecap:round}
.bp-wave{fill:none;stroke:#fcd34d;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.bp-gate{stroke:rgba(252,211,77,.48);stroke-width:1;stroke-dasharray:2.5 2.5}
.bp-orb-1{fill:none;stroke:rgba(165,180,252,.55);stroke-width:1.1}
.bp-orb-2{fill:none;stroke:rgba(94,234,212,.55);stroke-width:1.1}
.bp-orb-3{fill:none;stroke:rgba(252,211,77,.65);stroke-width:1.1}
.bp-glyph-c{fill:#5eead4}
.bp-glyph-a{fill:#fcd34d}
.bp-glyph-v{fill:#a5b4fc}
.bp-glyph-r{fill:#f87171}
.bp-dot-dim{fill:rgba(148,163,184,.26)}
.bp-dot-on{fill:#5eead4;animation:hw-dot-blink 2.4s ease-in-out infinite}
.bp-dot-on.d2{animation-delay:-.8s}
.bp-dot-on.d3{animation-delay:-1.6s}
.bp-core-ring{fill:none;stroke:rgba(94,234,212,.32);stroke-width:1.1;animation:hw-breathe 3.4s ease-in-out infinite}
.bp-mask-hi{fill:rgba(94,234,212,.6)}
.bp-mask-lo{fill:rgba(248,113,113,.56)}
.bp-frost-box{fill:rgba(252,211,77,.05);stroke:rgba(252,211,77,.22);stroke-width:.9}
.bp-out-curve{fill:none;stroke:rgba(252,211,77,.85);stroke-width:1.6;stroke-dasharray:3 3;stroke-linecap:round;stroke-linejoin:round}
.bp-shadow-line{fill:none;stroke:#f8fafc;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Auto-cycle layer highlights */
.hw-studio[data-step="1"] .bp-layer-game,
.hw-studio[data-step="1"] .bp-layer-flow,
.hw-studio[data-step="1"] .bp-layer-clock,
.hw-studio[data-step="1"] .bp-layer-core,
.hw-studio[data-step="1"] .bp-layer-out,
.hw-studio[data-step="1"] .bp-wire-game,
.hw-studio[data-step="1"] .bp-wire-flow,
.hw-studio[data-step="1"] .bp-wire-clock,
.hw-studio[data-step="1"] .bp-wire-flow-pulse,
.hw-studio[data-step="1"] .bp-wire-beam{opacity:.18}
.hw-studio[data-step="1"] .bp-layer-shadow{opacity:1}
.hw-studio[data-step="1"] .bp-layer-shadow .bp-box{stroke:rgba(248,250,252,.72);fill:rgba(20,27,44,.95)}

.hw-studio[data-step="2"] .bp-layer-flow,
.hw-studio[data-step="2"] .bp-layer-clock,
.hw-studio[data-step="2"] .bp-layer-out,
.hw-studio[data-step="2"] .bp-wire-flow,
.hw-studio[data-step="2"] .bp-wire-clock,
.hw-studio[data-step="2"] .bp-pulse-a,
.hw-studio[data-step="2"] .bp-pulse-v{opacity:.22}
.hw-studio[data-step="2"] .bp-layer-game .bp-box{stroke:#5eead4;fill:rgba(11,32,44,.94)}
.hw-studio[data-step="2"] .bp-wire-game{stroke:#5eead4;stroke-width:2.1;opacity:1}
.hw-studio[data-step="2"] .bp-pulse-c{opacity:1}
.hw-studio[data-step="2"] .bp-layer-core .bp-box-core{stroke:rgba(94,234,212,.68)}

.hw-studio[data-step="3"] .bp-layer-clock,
.hw-studio[data-step="3"] .bp-wire-clock,
.hw-studio[data-step="3"] .bp-pulse-v{opacity:.24}
.hw-studio[data-step="3"] .bp-layer-game .bp-box{stroke:rgba(94,234,212,.48)}
.hw-studio[data-step="3"] .bp-wire-game{stroke:rgba(94,234,212,.52);stroke-width:1.7}
.hw-studio[data-step="3"] .bp-layer-flow .bp-box{stroke:#fcd34d;fill:rgba(36,27,13,.88)}
.hw-studio[data-step="3"] .bp-wire-flow{stroke:#fcd34d;stroke-width:2.1;opacity:1}
.hw-studio[data-step="3"] .bp-pulse-a{opacity:1}
.hw-studio[data-step="3"] .bp-layer-core .bp-box-core{stroke:rgba(252,211,77,.65)}
.hw-studio[data-step="3"] .bp-layer-out{opacity:.52}

.hw-studio[data-step="4"] .bp-layer-game .bp-box{stroke:rgba(94,234,212,.6)}
.hw-studio[data-step="4"] .bp-layer-flow .bp-box{stroke:rgba(252,211,77,.6)}
.hw-studio[data-step="4"] .bp-layer-clock .bp-box{stroke:#a5b4fc;fill:rgba(22,24,50,.92)}
.hw-studio[data-step="4"] .bp-wire-game{stroke:#5eead4;stroke-width:1.8}
.hw-studio[data-step="4"] .bp-wire-flow{stroke:#fcd34d;stroke-width:1.8}
.hw-studio[data-step="4"] .bp-wire-clock{stroke:#a5b4fc;stroke-width:2.0}
.hw-studio[data-step="4"] .bp-wire-beam{stroke:#fcd34d;stroke-width:2.2;opacity:1}
.hw-studio[data-step="4"] .bp-layer-core .bp-box-core{stroke:#5eead4}
.hw-studio[data-step="4"] .bp-layer-out .bp-box-out{stroke:#fcd34d;fill:rgba(22,20,17,.94)}

/* Right Pane: ^GSPC Twin Proof SVG */
.hw-demo-chart{
  border-radius:12px;
  border:1px solid rgba(148,163,184,.16);
  background:rgba(5,8,15,.88);
  padding:12px 10px 8px;
  flex:1;
  display:flex;
  align-items:center;
}
.hw-twin-svg{display:block;width:100%;height:auto}
.tw-grid{stroke:rgba(148,163,184,.11);stroke-width:.8}
.tw-zero{stroke:rgba(148,163,184,.24);stroke-width:1;stroke-dasharray:3 3}
.tw-t0{stroke:rgba(248,250,252,.45);stroke-width:1.1;stroke-dasharray:3 3}
.tw-tick{font:500 9.5px var(--mono);fill:rgba(148,163,184,.72)}
.tw-pre-a{fill:none;stroke:rgba(248,250,252,.84);stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.tw-pre-b{fill:none;stroke:rgba(148,163,184,.58);stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:4 3}
.tw-dot-t0{fill:#ffffff;stroke:#05070c;stroke-width:2}
.tw-veil{fill:rgba(9,13,24,.78);transition:opacity .45s ease}
.tw-veil-txt{font:500 11px var(--mono);fill:rgba(203,213,225,.82);transition:opacity .35s ease}
.tw-game-layer{opacity:0;transition:opacity .45s ease}
.tw-press-up{fill:rgba(94,234,212,.085);stroke:rgba(94,234,212,.28);stroke-width:1;stroke-dasharray:3 3}
.tw-press-dn{fill:rgba(248,113,113,.085);stroke:rgba(248,113,113,.28);stroke-width:1;stroke-dasharray:3 3}
.tw-press-lbl-u{font:600 9.5px var(--mono);fill:#5eead4}
.tw-press-lbl-d{font:600 9.5px var(--mono);fill:#fca5a5}
.tw-flow-layer{opacity:0;transition:opacity .45s ease}
.tw-win-band{fill:rgba(252,211,77,.07)}
.tw-win-line{stroke:rgba(252,211,77,.52);stroke-width:1;stroke-dasharray:3 3}
.tw-win-lbl{font:600 9px var(--mono);fill:#fcd34d}
.tw-post-layer{opacity:0;transition:opacity .4s ease}
.tw-post-up{
  fill:none;stroke:#5eead4;stroke-width:2.35;stroke-linecap:round;stroke-linejoin:round;
  stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1.05s cubic-bezier(.22,1,.36,1);
}
.tw-post-dn{
  fill:none;stroke:#f87171;stroke-width:2.35;stroke-linecap:round;stroke-linejoin:round;
  stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1.05s cubic-bezier(.22,1,.36,1);
}
.tw-end-up{font:600 10.5px var(--mono);fill:#5eead4}
.tw-end-dn{font:600 10.5px var(--mono);fill:#f87171}

.hw-studio[data-step="2"] .tw-game-layer,
.hw-studio[data-step="3"] .tw-game-layer,
.hw-studio[data-step="4"] .tw-game-layer{opacity:1}
.hw-studio[data-step="3"] .tw-flow-layer,
.hw-studio[data-step="4"] .tw-flow-layer{opacity:1}
.hw-studio[data-step="4"] .tw-veil,
.hw-studio[data-step="4"] .tw-veil-txt{opacity:0}
.hw-studio[data-step="4"] .tw-post-layer{opacity:1}
.hw-studio[data-step="4"] .tw-post-up,
.hw-studio[data-step="4"] .tw-post-dn{stroke-dashoffset:0}

/* Immediate Conversion Close */
.hw-close-sec{
  padding:8px 0 clamp(28px,4vw,42px);
  text-align:center;
}
.hw-close{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}
.hw-close .obs-cta{
  height:52px;
  padding:0 34px;
  font-size:15.5px;
  font-weight:600;
}
.how-foot{
  border-top:1px solid rgba(148,163,184,.1);
  padding:16px 24px 26px;
}

@media (prefers-reduced-motion:reduce){
  .bp-wire-flow-pulse,.bp-wire-beam,.bp-core-ring,.bp-dot-on{animation:none}
  .tw-post-up,.tw-post-dn{transition:none}
}

@media (max-width:960px){
  .hw-grid{grid-template-columns:1fr}
  .hw-pane-bp{border-right:0;border-bottom:1px solid rgba(148,163,184,.14)}
}
@media (max-width:720px){
  .hw-eq-strip{grid-template-columns:1fr}
  .hw-eq-cell{border-right:0;border-bottom:1px solid rgba(148,163,184,.12);padding:8px 12px}
  .hw-eq-cell:last-child{border-bottom:0}
}
@media (max-width:640px){
  .hw-nav-in{height:50px;padding:0 14px}
  .hw-nav-cta{height:31px;padding:0 12px;font-size:12px}
  .hw-wrap{padding:0 14px}
  .how-page .hw-hero .obs-view{height:205px;margin:2px -8px 8px}
  .hw-pane{padding:12px}
}
