/* Light theme finishing layer.
   Loaded last so page-specific inline SVG/CSS can keep the dark theme intact. */

html[data-theme="light"]{
  color-scheme:light;
  --bg:#f5f1e6;
  --bg-warm:#ebe4d3;
  --bg-elevated:#fffaf0;
  --paper:#12140e;
  --paper-2:rgba(18,20,14,.68);
  --paper-3:rgba(18,20,14,.46);
  --paper-4:rgba(18,20,14,.18);
  --line:rgba(18,20,14,.07);
  --line-2:rgba(18,20,14,.13);
  --line-3:rgba(18,20,14,.2);
  --lime:#9fcd00;
  --lime-deep:#739700;
  --lime-soft:rgba(159,205,0,.13);
  --light-card:rgba(255,255,255,.46);
  --light-card-strong:rgba(255,252,244,.72);
  --light-ink:#171911;
  --light-ink-2:rgba(23,25,17,.68);
  --light-ink-3:rgba(23,25,17,.46);
  --light-graphite:#646a59;
  --light-graphite-2:#777d69;
  --light-vault-face:#5c6253;
  --light-vault-face-2:#7b826d;
  --light-vault-edge:rgba(23,25,17,.32);
}

html[data-theme="light"] .hero-scene,
html[data-theme="light"] .hero-illu,
html[data-theme="light"] .why-illu,
html[data-theme="light"] .member-illu,
html[data-theme="light"] .protocol-machine,
html[data-theme="light"] .protocol-svg,
html[data-theme="light"] .finale-illu,
html[data-theme="light"] .empty-illu,
html[data-theme="light"] .safe-illu,
html[data-theme="light"] .fs-illu,
html[data-theme="light"] .pass-visual{
  filter:saturate(.94) contrast(.92);
}

html[data-theme="light"] .hero-scene::before,
html[data-theme="light"] .hero-illu::before,
html[data-theme="light"] .why-illu::before,
html[data-theme="light"] .member-illu::before,
html[data-theme="light"] .empty-illu::before{
  opacity:.24!important;
  mix-blend-mode:multiply!important;
}

html[data-theme="light"] svg [fill="#020302"],
html[data-theme="light"] svg [fill="#030403"],
html[data-theme="light"] svg [fill="#040604"],
html[data-theme="light"] svg [fill="#050604"],
html[data-theme="light"] svg [fill="#060804"],
html[data-theme="light"] svg [fill="#080a06"],
html[data-theme="light"] svg [fill="#090c06"],
html[data-theme="light"] svg [fill="#10120b"],
html[data-theme="light"] svg [fill="#171a13"],
html[data-theme="light"] svg [fill="#171b10"],
html[data-theme="light"] svg [fill="#0b0f07"]{
  fill:var(--light-vault-face)!important;
}

html[data-theme="light"] svg [stroke="rgba(244,237,224,0.7)"],
html[data-theme="light"] svg [stroke="rgba(244,237,224,0.6)"],
html[data-theme="light"] svg [stroke="rgba(244,237,224,.7)"],
html[data-theme="light"] svg [stroke="rgba(244,237,224,.6)"]{
  stroke:rgba(23,25,17,.42)!important;
}

html[data-theme="light"] .sc-aura,
html[data-theme="light"] .proof-aura,
html[data-theme="light"] .pm-core-aura,
html[data-theme="light"] .arc-core-glow{
  opacity:.72!important;
}

html[data-theme="light"] .sc-vault-depth.top,
html[data-theme="light"] .pm-vault-top{
  fill:var(--light-vault-face-2)!important;
  stroke:rgba(255,255,255,.22)!important;
}
html[data-theme="light"] .sc-vault-depth.left,
html[data-theme="light"] .sc-vault-depth.side,
html[data-theme="light"] .sc-vault-depth.base,
html[data-theme="light"] .pm-vault-left,
html[data-theme="light"] .pm-vault-side{
  fill:#4f5649!important;
  stroke:rgba(23,25,17,.22)!important;
}
html[data-theme="light"] .sc-vault-edge,
html[data-theme="light"] .pm-vault-ridge{
  stroke:rgba(255,255,255,.28)!important;
}
html[data-theme="light"] .sc-vault-unit,
html[data-theme="light"] .pm-vault,
html[data-theme="light"] .proof-card,
html[data-theme="light"] .safe-illu svg,
html[data-theme="light"] .fs-illu svg{
  filter:drop-shadow(0 22px 34px rgba(67,54,30,.18))!important;
}

html[data-theme="light"] .pm-door,
html[data-theme="light"] .proof-card-inner,
html[data-theme="light"] .arc-core > circle:first-child{
  fill:rgba(255,255,255,.62)!important;
  stroke:rgba(23,25,17,.14)!important;
}
html[data-theme="light"] .proof-seal circle:first-child,
html[data-theme="light"] .sc-logo-frame,
html[data-theme="light"] .sc-seal-rim{
  fill:rgba(255,255,255,.66)!important;
  stroke:rgba(23,25,17,.16)!important;
}

html[data-theme="light"] .sc-wallet-shell,
html[data-theme="light"] .sc-arb-module rect,
html[data-theme="light"] .sc-statpill,
html[data-theme="light"] .pm-status rect,
html[data-theme="light"] .arc-node rect,
html[data-theme="light"] .arc-market-tag rect,
html[data-theme="light"] .proof-side-label rect{
  fill:rgba(255,255,255,.7)!important;
  stroke:rgba(23,25,17,.14)!important;
}
html[data-theme="light"] .sc-wallet-address,
html[data-theme="light"] .sc-wallet-sub,
html[data-theme="light"] .sc-vault-id,
html[data-theme="light"] .sc-stat-txt,
html[data-theme="light"] .sc-hand,
html[data-theme="light"] .pm-vault-label,
html[data-theme="light"] .pm-status text,
html[data-theme="light"] .arc-node text,
html[data-theme="light"] .proof-kicker,
html[data-theme="light"] .proof-id,
html[data-theme="light"] .proof-caption text{
  fill:var(--light-ink-2)!important;
}

html[data-theme="light"] .sc-rail,
html[data-theme="light"] .sc-payment-rail,
html[data-theme="light"] .pm-rail,
html[data-theme="light"] .arc-rail,
html[data-theme="light"] .proof-rail{
  opacity:.55!important;
}
html[data-theme="light"] .sc-rail-glow,
html[data-theme="light"] .pm-rail-glow,
html[data-theme="light"] .arc-packet,
html[data-theme="light"] .proof-packet{
  opacity:.82!important;
}

html[data-theme="light"] .protocol-svg rect,
html[data-theme="light"] .protocol-svg path,
html[data-theme="light"] .hero-illu rect,
html[data-theme="light"] .why-illu rect,
html[data-theme="light"] .member-illu rect,
html[data-theme="light"] .empty-illu rect,
html[data-theme="light"] .pass-illu rect{
  stroke-opacity:.78;
}

html[data-theme="light"] .protocol-svg [fill="#020302"],
html[data-theme="light"] .protocol-svg [fill="#050604"],
html[data-theme="light"] .hero-illu [fill="#020302"],
html[data-theme="light"] .hero-illu [fill="#050604"],
html[data-theme="light"] .why-illu [fill="#020302"],
html[data-theme="light"] .why-illu [fill="#050604"],
html[data-theme="light"] .safe-illu [fill="#020302"],
html[data-theme="light"] .safe-illu [fill="#050604"],
html[data-theme="light"] .fs-illu [fill="#020302"],
html[data-theme="light"] .fs-illu [fill="#050604"],
html[data-theme="light"] .pass-illu [fill="#020302"],
html[data-theme="light"] .pass-illu [fill="#050604"]{
  fill:var(--light-graphite)!important;
}

html[data-theme="light"] .protocol-machine,
html[data-theme="light"] .protocol-copy,
html[data-theme="light"] .strip-panel,
html[data-theme="light"] .refuse-card,
html[data-theme="light"] .arc-map,
html[data-theme="light"] .finale-illu,
html[data-theme="light"] .hero-illu,
html[data-theme="light"] .why-card,
html[data-theme="light"] .member-card,
html[data-theme="light"] .faq-item,
html[data-theme="light"] .search-box,
html[data-theme="light"] .join-card,
html[data-theme="light"] .pass-card,
html[data-theme="light"] .audit-card,
html[data-theme="light"] .disclosure-card,
html[data-theme="light"] .cl-card,
html[data-theme="light"] .arch-card,
html[data-theme="light"] .flow-card,
html[data-theme="light"] .safe-card{
  background:linear-gradient(180deg,var(--light-card-strong),rgba(246,240,226,.38))!important;
  border-color:rgba(23,25,17,.11)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.68),0 24px 54px -40px rgba(67,54,30,.28)!important;
}

html[data-theme="light"] .sig-badge,
html[data-theme="light"] .protocol-chipline span,
html[data-theme="light"] .hero-meta span,
html[data-theme="light"] .cat-tab,
html[data-theme="light"] .role-pill,
html[data-theme="light"] .security-point{
  background:rgba(255,255,255,.52)!important;
  border-color:rgba(23,25,17,.1)!important;
  color:var(--paper-2)!important;
}

html[data-theme="light"] .hero-scene{
  opacity:.94;
}

@media(max-width:760px){
  html[data-theme="light"] .hero-scene,
  html[data-theme="light"] .hero-illu,
  html[data-theme="light"] .protocol-svg{
    filter:saturate(.9) contrast(.9);
  }
}

/* ============= LIGHT THEME SURFACE SWEEP ============= */
html[data-theme="light"]{
  --light-panel:rgba(255,255,255,.58);
  --light-panel-soft:rgba(255,252,244,.48);
  --light-panel-strong:rgba(255,252,244,.76);
  --light-border:rgba(23,25,17,.12);
  --light-border-strong:rgba(23,25,17,.18);
}

html[data-theme="light"] .btn-code,
html[data-theme="light"] .signature-badges,
html[data-theme="light"] .strip-panel,
html[data-theme="light"] .strip-illu,
html[data-theme="light"] .protocol-mini,
html[data-theme="light"] .protocol-pill,
html[data-theme="light"] .protocol-visual,
html[data-theme="light"] .invariant,
html[data-theme="light"] .integration,
html[data-theme="light"] .code-block,
html[data-theme="light"] .gasless-card,
html[data-theme="light"] .gasless-text .key,
html[data-theme="light"] .fm-card,
html[data-theme="light"] .fn-card,
html[data-theme="light"] .arc-stage,
html[data-theme="light"] .arc-stage.now,
html[data-theme="light"] .arc-stage.future,
html[data-theme="light"] .finale-card,
html[data-theme="light"] .beta-badge,
html[data-theme="light"] .join-card,
html[data-theme="light"] .pass-panel,
html[data-theme="light"] .scarcity,
html[data-theme="light"] .perks,
html[data-theme="light"] .faq-item,
html[data-theme="light"] .audit-table,
html[data-theme="light"] .cl-row,
html[data-theme="light"] .bounty-tier,
html[data-theme="light"] .disclosure-card,
html[data-theme="light"] .dc-meta,
html[data-theme="light"] .mf-card,
html[data-theme="light"] .search-box{
  background:
    radial-gradient(ellipse 82% 60% at 50% 0%,rgba(159,205,0,.075),transparent 72%),
    linear-gradient(180deg,var(--light-panel-strong),var(--light-panel-soft))!important;
  border-color:var(--light-border)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.68),0 24px 54px -42px rgba(67,54,30,.28)!important;
}

html[data-theme="light"] .strip-illu,
html[data-theme="light"] .protocol-mini,
html[data-theme="light"] .code-block,
html[data-theme="light"] .invariant .code,
html[data-theme="light"] .dc-meta,
html[data-theme="light"] .position-card .pc-cell,
html[data-theme="light"] .referral-row input{
  background:rgba(255,255,255,.56)!important;
  border-color:var(--light-border)!important;
}

html[data-theme="light"] .field-row input,
html[data-theme="light"] .field-row select,
html[data-theme="light"] .role-pill,
html[data-theme="light"] input,
html[data-theme="light"] select,
html[data-theme="light"] textarea{
  background:rgba(255,255,255,.58)!important;
  border-color:var(--light-border)!important;
  color:var(--paper)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.58)!important;
}

html[data-theme="light"] .field-row input::placeholder,
html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder{
  color:rgba(18,20,14,.36)!important;
}

html[data-theme="light"] .field-row select{
  background-image:url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2312140e' stroke-opacity='0.55' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:right 16px center!important;
}

html[data-theme="light"] .role-pill.on{
  background:rgba(159,205,0,.12)!important;
  border-color:rgba(159,205,0,.38)!important;
  color:var(--lime)!important;
}

html[data-theme="light"] .scarcity .sc-bar{
  background:rgba(18,20,14,.055)!important;
  border-color:rgba(18,20,14,.1)!important;
}

html[data-theme="light"] .at-row:hover,
html[data-theme="light"] .cl-row:hover,
html[data-theme="light"] .integration:hover,
html[data-theme="light"] .fn-card:hover{
  background:rgba(255,255,255,.66)!important;
  border-color:var(--light-border-strong)!important;
}

html[data-theme="light"] .cb-head,
html[data-theme="light"] .perk,
html[data-theme="light"] .at-head,
html[data-theme="light"] .at-row,
html[data-theme="light"] .dc-meta-row + .dc-meta-row{
  border-color:rgba(18,20,14,.085)!important;
}

/* Inline SVGs carry dark theme fills directly in attributes and gradients. */
html[data-theme="light"] svg stop[stop-color="#000"]{
  stop-color:#8a7c59!important;
  stop-opacity:.18!important;
}
html[data-theme="light"] svg stop[stop-color="#010201"],
html[data-theme="light"] svg stop[stop-color="#020302"],
html[data-theme="light"] svg stop[stop-color="#030403"],
html[data-theme="light"] svg stop[stop-color="#040604"],
html[data-theme="light"] svg stop[stop-color="#050604"],
html[data-theme="light"] svg stop[stop-color="#060804"],
html[data-theme="light"] svg stop[stop-color="#080a06"],
html[data-theme="light"] svg stop[stop-color="#090c06"],
html[data-theme="light"] svg stop[stop-color="#0b0f07"],
html[data-theme="light"] svg stop[stop-color="#0d1009"],
html[data-theme="light"] svg stop[stop-color="#10120b"],
html[data-theme="light"] svg stop[stop-color="#14170f"],
html[data-theme="light"] svg stop[stop-color="#171a13"],
html[data-theme="light"] svg stop[stop-color="#171b10"],
html[data-theme="light"] svg stop[stop-color="#252b1c"]{
  stop-color:#6e7564!important;
}

html[data-theme="light"] svg [fill*="rgba(13,14,11"],
html[data-theme="light"] svg [fill*="rgba(3,4,3"],
html[data-theme="light"] svg [fill*="rgba(2,3,2"],
html[data-theme="light"] svg [fill*="rgba(0,0,0"],
html[data-theme="light"] svg [fill="#010201"],
html[data-theme="light"] svg [fill="#020302"],
html[data-theme="light"] svg [fill="#030403"],
html[data-theme="light"] svg [fill="#040604"],
html[data-theme="light"] svg [fill="#050604"],
html[data-theme="light"] svg [fill="#060804"],
html[data-theme="light"] svg [fill="#080a06"],
html[data-theme="light"] svg [fill="#090c06"],
html[data-theme="light"] svg [fill="#0b0f07"],
html[data-theme="light"] svg [fill="#10120b"],
html[data-theme="light"] svg [fill="#171a13"],
html[data-theme="light"] svg [fill="#171b10"],
html[data-theme="light"] svg [fill="#181c12"]{
  fill:rgba(255,255,255,.62)!important;
  stroke:rgba(23,25,17,.14);
}

html[data-theme="light"] svg [stroke*="rgba(13,14,11"],
html[data-theme="light"] svg [stroke*="rgba(3,4,3"],
html[data-theme="light"] svg [stroke*="rgba(2,3,2"],
html[data-theme="light"] svg [stroke*="rgba(0,0,0"]{
  stroke:rgba(23,25,17,.22)!important;
}

html[data-theme="light"] .sc-deal-tags rect,
html[data-theme="light"] .proto-panel,
html[data-theme="light"] .proto-state rect,
html[data-theme="light"] .protocol-svg rect,
html[data-theme="light"] .hero-illu rect,
html[data-theme="light"] .why-illu rect,
html[data-theme="light"] .member-illu rect,
html[data-theme="light"] .empty-illu rect,
html[data-theme="light"] .pass-illu rect{
  fill:rgba(255,255,255,.62)!important;
  stroke:rgba(23,25,17,.14)!important;
}

html[data-theme="light"] .proto-panel.hl,
html[data-theme="light"] .proto-state.ready rect{
  fill:rgba(159,205,0,.11)!important;
  stroke:rgba(112,145,0,.32)!important;
}

html[data-theme="light"] svg [fill="#000"]{
  fill:rgba(105,93,66,.18)!important;
}

html[data-theme="light"] .protocol-svg .proto-core [fill="#181c12"]{
  fill:#858d77!important;
  stroke:rgba(112,145,0,.28)!important;
}

html[data-theme="light"] .protocol-svg .proto-core [fill="#060806"],
html[data-theme="light"] .protocol-svg .proto-core [fill="#070907"]{
  fill:#666e5e!important;
  stroke:rgba(112,145,0,.22)!important;
}

html[data-theme="light"] .pass-illu [fill="#080907"]{
  fill:#6d7463!important;
  stroke:rgba(23,25,17,.2)!important;
}

html[data-theme="light"] .sc-core-breathe > rect:nth-of-type(1){
  fill:#68705f!important;
  stroke:rgba(23,25,17,.2)!important;
}
html[data-theme="light"] .sc-core-breathe > rect:nth-of-type(2){
  fill:rgba(255,255,255,.14)!important;
  stroke:rgba(159,205,0,.14)!important;
}
html[data-theme="light"] .sc-core-breathe > rect:nth-of-type(3){
  fill:rgba(255,255,255,.64)!important;
  stroke:rgba(23,25,17,.13)!important;
}

html[data-theme="light"] .sc-vault-depth.top,
html[data-theme="light"] .pm-vault-top{
  fill:#858d77!important;
  stroke:rgba(255,255,255,.36)!important;
}
html[data-theme="light"] .sc-vault-depth.left,
html[data-theme="light"] .sc-vault-depth.side,
html[data-theme="light"] .sc-vault-depth.base,
html[data-theme="light"] .pm-vault-left,
html[data-theme="light"] .pm-vault-side{
  fill:#666e5e!important;
  stroke:rgba(23,25,17,.22)!important;
}

html[data-theme="light"] .sc-logo-pill,
html[data-theme="light"] .sc-token circle,
html[data-theme="light"] .proto-token circle,
html[data-theme="light"] .spark{
  fill:var(--lime)!important;
  stroke:none!important;
}

html[data-theme="light"] .sc-token-symbol,
html[data-theme="light"] .proto-title,
html[data-theme="light"] .proto-copy{
  fill:rgba(18,20,14,.62)!important;
}

@media(max-width:760px){
  html[data-theme="light"] .hero-scene,
  html[data-theme="light"] .hero-illu,
  html[data-theme="light"] .why-illu,
  html[data-theme="light"] .protocol-visual,
  html[data-theme="light"] .pass-panel{
    background:
      radial-gradient(ellipse 84% 54% at 50% 0%,rgba(159,205,0,.08),transparent 72%),
      linear-gradient(180deg,rgba(255,252,244,.74),rgba(255,255,255,.48))!important;
  }
}

/* ============= HOME LIGHT POLISH ============= */
html[data-theme="light"] body.route-home::before{
  background:
    radial-gradient(ellipse 62% 42% at 71% 23%,rgba(159,205,0,.13) 0%,transparent 60%),
    radial-gradient(ellipse 48% 36% at 24% 72%,rgba(139,215,255,.105) 0%,transparent 64%),
    linear-gradient(180deg,#faf7ed 0%,#efe7d6 100%)!important;
}

html[data-theme="light"] .route-home .hero{
  background:
    radial-gradient(ellipse 52% 46% at 68% 32%,rgba(159,205,0,.08),transparent 70%),
    radial-gradient(ellipse 42% 36% at 34% 74%,rgba(139,215,255,.055),transparent 72%);
}

html[data-theme="light"] .route-home .hero-scene{
  opacity:1;
  filter:saturate(1.03) contrast(1.04);
}

html[data-theme="light"] .route-home .hero-scene::before{
  opacity:.34!important;
}

html[data-theme="light"] .route-home #scBody stop:nth-child(1){
  stop-color:#7f8977!important;
}
html[data-theme="light"] .route-home #scBody stop:nth-child(2){
  stop-color:#566050!important;
}
html[data-theme="light"] .route-home #scBody stop:nth-child(3){
  stop-color:#323a30!important;
}
html[data-theme="light"] .route-home #scSeal stop:nth-child(1){
  stop-color:#d4ff3a!important;
  stop-opacity:.24!important;
}
html[data-theme="light"] .route-home #scSeal stop:nth-child(2){
  stop-color:#2d3528!important;
  stop-opacity:.92!important;
}
html[data-theme="light"] .route-home #scSeal stop:nth-child(3){
  stop-color:#151a12!important;
  stop-opacity:1!important;
}
html[data-theme="light"] .route-home #scFloor stop:first-child{
  stop-color:#4d563e!important;
  stop-opacity:.22!important;
}

html[data-theme="light"] .route-home .sc-vault-depth.top{
  fill:#7f8975!important;
}
html[data-theme="light"] .route-home .sc-vault-depth.left,
html[data-theme="light"] .route-home .sc-vault-depth.side,
html[data-theme="light"] .route-home .sc-vault-depth.base{
  fill:#535f50!important;
}
html[data-theme="light"] .route-home .sc-core-breathe > rect:nth-of-type(1){
  fill:url(#scBody)!important;
  stroke:rgba(255,255,255,.44)!important;
}
html[data-theme="light"] .route-home .sc-core-breathe > rect:nth-of-type(2){
  fill:rgba(255,255,255,.08)!important;
  stroke:rgba(159,205,0,.16)!important;
}
html[data-theme="light"] .route-home .sc-core-breathe > rect:nth-of-type(3){
  fill:rgba(31,38,29,.78)!important;
  stroke:rgba(255,255,255,.24)!important;
}
html[data-theme="light"] .route-home .sc-logo-frame{
  fill:rgba(18,23,15,.78)!important;
  stroke:rgba(212,255,58,.2)!important;
}
html[data-theme="light"] .route-home .sc-seal-rim{
  fill:none!important;
  stroke:rgba(212,255,58,.38)!important;
}
html[data-theme="light"] .route-home .sc-wallet-shell,
html[data-theme="light"] .route-home .sc-statpill,
html[data-theme="light"] .route-home .sc-deal-tags rect{
  fill:rgba(255,255,255,.76)!important;
  stroke:rgba(23,25,17,.13)!important;
  filter:drop-shadow(0 14px 22px rgba(67,54,30,.13));
}

html[data-theme="light"] .route-home .signature-badges{
  background:linear-gradient(180deg,rgba(255,255,255,.72),rgba(246,240,226,.54))!important;
}

html[data-theme="light"] .route-home .strip-section,
html[data-theme="light"] .route-home .protocol-section,
html[data-theme="light"] .route-home .arc-section,
html[data-theme="light"] .route-home .finale-section{
  background:
    radial-gradient(ellipse 44% 30% at 50% 0%,rgba(159,205,0,.055),transparent 72%),
    linear-gradient(180deg,rgba(255,255,255,.18),rgba(238,232,216,.1))!important;
  border-top-color:rgba(18,20,14,.075)!important;
}

html[data-theme="light"] .route-home .strip-panel,
html[data-theme="light"] .route-home .refuse-card,
html[data-theme="light"] .route-home .arc-stage{
  background:
    radial-gradient(ellipse 86% 44% at 50% 0%,rgba(159,205,0,.07),transparent 70%),
    linear-gradient(180deg,rgba(255,255,255,.68),rgba(244,238,224,.46))!important;
  border-color:rgba(23,25,17,.12)!important;
}

html[data-theme="light"] .route-home .strip-illu,
html[data-theme="light"] .route-home .protocol-mini,
html[data-theme="light"] .route-home .arc-proof{
  background:rgba(255,255,255,.52)!important;
  border-color:rgba(23,25,17,.105)!important;
}

html[data-theme="light"] .route-home .protocol-copy,
html[data-theme="light"] .route-home .arc-map,
html[data-theme="light"] .route-home .arc-map-copy,
html[data-theme="light"] .route-home .finale-text{
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}

html[data-theme="light"] .route-home .strip-illu{
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}

html[data-theme="light"] .route-home .protocol-machine,
html[data-theme="light"] .route-home .arc-layer,
html[data-theme="light"] .route-home .finale-illu{
  background:transparent!important;
  border-color:transparent!important;
  border-radius:0!important;
  overflow:visible!important;
  box-shadow:none!important;
}

html[data-theme="light"] .route-home .pm-bg,
html[data-theme="light"] .route-home .arc-layer-bg{
  fill:transparent!important;
  stroke:transparent!important;
}

html[data-theme="light"] .route-home .refuse-log,
html[data-theme="light"] .route-home .receipt-line,
html[data-theme="light"] .route-home .protocol-chipline span,
html[data-theme="light"] .route-home .arc-phase,
html[data-theme="light"] .route-home .finale-meta span{
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}

html[data-theme="light"] .route-home .refuse-card h3{
  color:rgba(18,20,14,.82)!important;
}

html[data-theme="light"] .route-home .refuse-card p,
html[data-theme="light"] .route-home .refuse-head .meta{
  color:rgba(18,20,14,.58)!important;
}

html[data-theme="light"] .route-home .refuse-card .promise h4{
  color:rgba(18,20,14,.86)!important;
}

html[data-theme="light"] .route-home .refuse-card .promise{
  border-top-color:rgba(18,20,14,.09)!important;
}

html[data-theme="light"] .route-home .pm-floor,
html[data-theme="light"] .route-home .proof-floor{
  fill:rgba(87,78,54,.2)!important;
}

html[data-theme="light"] .route-home .pm-vault-top{
  fill:#77816f!important;
}
html[data-theme="light"] .route-home .pm-vault-left,
html[data-theme="light"] .route-home .pm-vault-side{
  fill:#4d584a!important;
}
html[data-theme="light"] .route-home .pm-door{
  fill:rgba(34,42,31,.72)!important;
  stroke:rgba(255,255,255,.24)!important;
}

html[data-theme="light"] .route-home .arc-core circle:first-child{
  fill:rgba(34,42,31,.72)!important;
  stroke:rgba(159,205,0,.34)!important;
}

html[data-theme="light"] .route-home .arc-market-tag rect,
html[data-theme="light"] .route-home .arc-node rect{
  fill:rgba(255,255,255,.66)!important;
  stroke:rgba(23,25,17,.12)!important;
}

html[data-theme="light"] .route-home .pm-vault,
html[data-theme="light"] .route-home .proof-card{
  filter:drop-shadow(0 24px 34px rgba(67,54,30,.24))!important;
}

@media(max-width:760px){
  html[data-theme="light"] .route-home .hero{
    padding-top:18px;
  }
  html[data-theme="light"] .route-home .hero-scene{
    filter:saturate(1.02) contrast(1.03);
  }
  html[data-theme="light"] .route-home .strip-section,
  html[data-theme="light"] .route-home .protocol-section,
  html[data-theme="light"] .route-home .arc-section,
  html[data-theme="light"] .route-home .finale-section{
    background:linear-gradient(180deg,rgba(255,255,255,.2),rgba(238,232,216,.08))!important;
  }
}

/* ============= LIGHT READABILITY + UNFRAMED SWEEP ============= */
html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] .hero-h1,
html[data-theme="light"] .page-head h1,
html[data-theme="light"] .section-title,
html[data-theme="light"] .tl-title,
html[data-theme="light"] .member-name,
html[data-theme="light"] .v-info b,
html[data-theme="light"] .at-firm,
html[data-theme="light"] .cl-name,
html[data-theme="light"] .dc-title{
  color:rgba(18,20,14,.94)!important;
}

html[data-theme="light"] .hero-desc,
html[data-theme="light"] .page-head .lede,
html[data-theme="light"] .section-desc,
html[data-theme="light"] .protocol-copy p,
html[data-theme="light"] .arc-map-copy p,
html[data-theme="light"] .finale-text p,
html[data-theme="light"] .finale p,
html[data-theme="light"] .strip-head .sub,
html[data-theme="light"] .arc-head .sub,
html[data-theme="light"] .protocol-head .sub,
html[data-theme="light"] .refuse-card p,
html[data-theme="light"] .why-card p,
html[data-theme="light"] .member-bio,
html[data-theme="light"] .v-info span,
html[data-theme="light"] .tl-desc,
html[data-theme="light"] .faq-a p,
html[data-theme="light"] .at-scope,
html[data-theme="light"] .bounty-tier p,
html[data-theme="light"] .dc-body,
html[data-theme="light"] .integration p,
html[data-theme="light"] .invariant p,
html[data-theme="light"] .lc-state p,
html[data-theme="light"] .flow-step p,
html[data-theme="light"] .perk .p-text span,
html[data-theme="light"] .hp-text{
  color:rgba(18,20,14,.66)!important;
}

html[data-theme="light"] .section-tag,
html[data-theme="light"] .eyebrow,
html[data-theme="light"] .meta,
html[data-theme="light"] .hm-item,
html[data-theme="light"] .tl-date,
html[data-theme="light"] .vs-label,
html[data-theme="light"] .member-role,
html[data-theme="light"] .at-date,
html[data-theme="light"] .dc-meta-lbl,
html[data-theme="light"] .pc-label,
html[data-theme="light"] .pc-sub,
html[data-theme="light"] .field-row label,
html[data-theme="light"] .jc-head .jc-step{
  color:rgba(18,20,14,.48)!important;
}

html[data-theme="light"] strong,
html[data-theme="light"] .section-desc strong,
html[data-theme="light"] .hero-desc strong,
html[data-theme="light"] .tl-desc strong,
html[data-theme="light"] .member-bio strong{
  color:rgba(18,20,14,.9)!important;
}

html[data-theme="light"] .hero-illu,
html[data-theme="light"] .protocol-visual,
html[data-theme="light"] .protocol-machine,
html[data-theme="light"] .protocol-copy,
html[data-theme="light"] .arc-map,
html[data-theme="light"] .arc-map-copy,
html[data-theme="light"] .arc-layer,
html[data-theme="light"] .finale-illu,
html[data-theme="light"] .finale-text,
html[data-theme="light"] .vault-illu,
html[data-theme="light"] .safe-illu,
html[data-theme="light"] .fs-illu,
html[data-theme="light"] .pass-visual{
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}

html[data-theme="light"] .pm-bg,
html[data-theme="light"] .arc-layer-bg{
  fill:transparent!important;
  stroke:transparent!important;
}

html[data-theme="light"] .signature-badges{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}

html[data-theme="light"] .sig-badge{
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}

html[data-theme="light"] .sig-badge .label b{
  color:rgba(18,20,14,.78)!important;
}

html[data-theme="light"] .sig-badge .label span{
  color:rgba(18,20,14,.46)!important;
}

html[data-theme="light"] .btn-code,
html[data-theme="light"] .hero-pill,
html[data-theme="light"] .hp,
html[data-theme="light"] .protocol-pill,
html[data-theme="light"] .protocol-chipline span,
html[data-theme="light"] .arch-legend span,
html[data-theme="light"] .hero-meta span,
html[data-theme="light"] .cat-tab,
html[data-theme="light"] .security-point{
  background:rgba(255,255,255,.22)!important;
  border-color:rgba(18,20,14,.1)!important;
  box-shadow:none!important;
  color:rgba(18,20,14,.58)!important;
}

html[data-theme="light"] .route-home .btn-code,
html[data-theme="light"] .route-home .hero-pill,
html[data-theme="light"] .route-home .hp,
html[data-theme="light"] .route-home .protocol-chipline span,
html[data-theme="light"] .route-home .arc-proof,
html[data-theme="light"] .route-home .protocol-mini,
html[data-theme="light"] .route-home .arc-phase,
html[data-theme="light"] .route-home .finale-meta span{
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}

html[data-theme="light"] .route-home .btn-code{
  border-color:rgba(18,20,14,.13)!important;
  background:rgba(255,255,255,.22)!important;
}

html[data-theme="light"] .hero-illu text:not([fill="#d4ff3a"]),
html[data-theme="light"] .protocol-svg text:not([fill="#d4ff3a"]),
html[data-theme="light"] .why-illu text:not([fill="#d4ff3a"]),
html[data-theme="light"] .member-illu text:not([fill="#d4ff3a"]),
html[data-theme="light"] .empty-illu text:not([fill="#d4ff3a"]),
html[data-theme="light"] .safe-illu text:not([fill="#d4ff3a"]),
html[data-theme="light"] .fs-illu text:not([fill="#d4ff3a"]),
html[data-theme="light"] .pass-illu text:not([fill="#d4ff3a"]),
html[data-theme="light"] .protocol-machine text:not([fill="#d4ff3a"]),
html[data-theme="light"] .arc-layer text:not([fill="#d4ff3a"]),
html[data-theme="light"] .finale-illu text:not([fill="#d4ff3a"]){
  fill:rgba(18,20,14,.68)!important;
  stroke:rgba(255,255,255,.18)!important;
}

html[data-theme="light"] .route-home .pm-door,
html[data-theme="light"] .route-home .arc-core circle:first-child,
html[data-theme="light"] .route-home .proof-card-inner{
  fill:rgba(34,42,31,.72)!important;
  stroke:rgba(255,255,255,.24)!important;
}

html[data-theme="light"] .route-home .pm-status text,
html[data-theme="light"] .route-home .pm-vault-label,
html[data-theme="light"] .route-home .arc-node text,
html[data-theme="light"] .route-home .proof-caption text,
html[data-theme="light"] .route-home .proof-id,
html[data-theme="light"] .route-home .proof-kicker{
  fill:rgba(18,20,14,.68)!important;
  stroke:rgba(255,255,255,.16)!important;
}

/* ============= LIGHT CONSISTENCY FIXES ============= */
html[data-theme="light"],
html[data-theme="light"] body{
  background:var(--bg)!important;
  color:var(--paper)!important;
}

html[data-theme="light"] body::before{
  background:
    radial-gradient(ellipse 70% 46% at 18% 12%,rgba(159,205,0,.13) 0%,transparent 58%),
    radial-gradient(ellipse 58% 44% at 86% 86%,rgba(139,215,255,.12) 0%,transparent 58%),
    linear-gradient(180deg,#faf7ed 0%,#efe7d6 100%)!important;
}

html[data-theme="light"] body::after{
  opacity:.22!important;
  mix-blend-mode:multiply!important;
  filter:invert(1)!important;
}

html[data-theme="light"] .bg-dots{
  opacity:.65!important;
  background-image:radial-gradient(circle,rgba(18,20,14,.095) 1px,transparent 1.5px)!important;
}

html[data-theme="light"] .header-inner,
html[data-theme="light"] header.site .header-inner{
  border-color:rgba(18,20,14,.1)!important;
  background:linear-gradient(180deg,rgba(255,251,241,.82),rgba(245,239,224,.66))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.62),inset 0 -1px 0 rgba(159,205,0,.08),0 22px 70px -34px rgba(44,38,22,.38)!important;
}

html[data-theme="light"] .header.is-ambient .header-inner{
  border-color:rgba(18,20,14,.065)!important;
  background:rgba(255,251,241,.38)!important;
}

html[data-theme="light"] .header-nav a,
html[data-theme="light"] .nav a,
html[data-theme="light"] .footer-nav a,
html[data-theme="light"] .footer-links a{
  color:rgba(18,20,14,.58)!important;
}

html[data-theme="light"] .header-nav a:hover,
html[data-theme="light"] .header-nav a.active,
html[data-theme="light"] .nav a:hover,
html[data-theme="light"] .nav a.active,
html[data-theme="light"] .footer-nav a:hover,
html[data-theme="light"] .footer-links a:hover{
  color:rgba(18,20,14,.9)!important;
  background:rgba(18,20,14,.045)!important;
}

html[data-theme="light"] .header-nav a.active,
html[data-theme="light"] .nav a.active,
html[data-theme="light"] .footer-nav a.active,
html[data-theme="light"] .footer-links a.active{
  color:var(--lime-deep)!important;
}

html[data-theme="light"] .logo,
html[data-theme="light"] .footer-copy strong{
  color:var(--paper)!important;
}

html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .theme-toggle b{
  color:rgba(18,20,14,.64)!important;
}

html[data-theme="light"] .theme-toggle{
  border-color:rgba(18,20,14,.1)!important;
  background:rgba(255,255,255,.38)!important;
}

html[data-theme="light"] .theme-toggle:hover,
html[data-theme="light"] .theme-toggle:hover b{
  color:rgba(18,20,14,.9)!important;
}

html[data-theme="light"] .search-box{
  color:rgba(18,20,14,.72)!important;
  background:rgba(255,255,255,.34)!important;
  border-color:rgba(18,20,14,.12)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5)!important;
}

html[data-theme="light"] .search-box:focus-within{
  border-color:rgba(159,205,0,.36)!important;
  background:rgba(255,255,255,.5)!important;
  box-shadow:0 0 0 4px rgba(159,205,0,.09),inset 0 1px 0 rgba(255,255,255,.62)!important;
}

html[data-theme="light"] .search-box svg{
  color:rgba(18,20,14,.42)!important;
  stroke:rgba(18,20,14,.42)!important;
}

html[data-theme="light"] .search-box input{
  color:rgba(18,20,14,.88)!important;
}

html[data-theme="light"] .search-box input::placeholder{
  color:rgba(18,20,14,.42)!important;
}

html[data-theme="light"] .search-kbd,
html[data-theme="light"] .cat-tab .count,
html[data-theme="light"] .fs-title .count,
html[data-theme="light"] .ccy,
html[data-theme="light"] .sub{
  color:rgba(18,20,14,.46)!important;
}

html[data-theme="light"] .search-kbd{
  background:rgba(18,20,14,.045)!important;
  border-color:rgba(18,20,14,.1)!important;
}

html[data-theme="light"] .cat-tab{
  color:rgba(18,20,14,.64)!important;
  background:transparent!important;
  border-color:rgba(18,20,14,.12)!important;
}

html[data-theme="light"] .cat-tab:hover{
  color:rgba(18,20,14,.9)!important;
  background:rgba(18,20,14,.04)!important;
}

html[data-theme="light"] .cat-tab.active{
  color:var(--lime-deep)!important;
  background:rgba(159,205,0,.1)!important;
  border-color:rgba(159,205,0,.34)!important;
}

html[data-theme="light"] .faq-item,
html[data-theme="light"] .fee-example,
html[data-theme="light"] .fee-mode,
html[data-theme="light"] .flow-card,
html[data-theme="light"] .arch-card,
html[data-theme="light"] .sm-graph,
html[data-theme="light"] .vault-stat,
html[data-theme="light"] .summary-card,
html[data-theme="light"] .role-card,
html[data-theme="light"] .function-card,
html[data-theme="light"] .audit-item,
html[data-theme="light"] .bounty-tier,
html[data-theme="light"] .integration,
html[data-theme="light"] .invariant,
html[data-theme="light"] .security-card,
html[data-theme="light"] .protocol-card,
html[data-theme="light"] .beta-card,
html[data-theme="light"] .finale-card{
  color:var(--paper)!important;
  background:linear-gradient(180deg,rgba(255,255,255,.3),rgba(255,255,255,.12))!important;
  border-color:rgba(18,20,14,.1)!important;
  box-shadow:none!important;
}

html[data-theme="light"] .faq-q,
html[data-theme="light"] .faq-q > span:not(.faq-plus),
html[data-theme="light"] .fs-title,
html[data-theme="light"] .fee-ex-title,
html[data-theme="light"] .fr-label,
html[data-theme="light"] .fr-value,
html[data-theme="light"] .flow-tab,
html[data-theme="light"] .flow-step h3,
html[data-theme="light"] .role-card h3,
html[data-theme="light"] .summary-card h3,
html[data-theme="light"] .function-card h3{
  color:rgba(18,20,14,.9)!important;
}

html[data-theme="light"] .faq-a-inner,
html[data-theme="light"] .faq-a-inner p,
html[data-theme="light"] .faq-a-inner li,
html[data-theme="light"] .fee-row,
html[data-theme="light"] .flow-step p,
html[data-theme="light"] .role-card p,
html[data-theme="light"] .summary-card p,
html[data-theme="light"] .function-card p,
html[data-theme="light"] .audit-item p,
html[data-theme="light"] .bounty-tier p{
  color:rgba(18,20,14,.66)!important;
}

html[data-theme="light"] .faq-plus{
  color:rgba(18,20,14,.58)!important;
  border-color:rgba(18,20,14,.16)!important;
}

html[data-theme="light"] .faq-item.open .faq-plus{
  color:#101208!important;
}

html[data-theme="light"] .faq-a-inner strong,
html[data-theme="light"] .faq-a-inner b{
  color:rgba(18,20,14,.9)!important;
}

html[data-theme="light"] .route-home .signature-badges,
html[data-theme="light"] .route-home .sig-badge{
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}

html[data-theme="light"] .route-home .sig-badge .ico{
  background:rgba(255,255,255,.22)!important;
  border-color:rgba(18,20,14,.08)!important;
}

html[data-theme="light"] .route-home .protocol-copy,
html[data-theme="light"] .route-home .protocol-machine,
html[data-theme="light"] .route-home .arc-map,
html[data-theme="light"] .route-home .arc-map-copy,
html[data-theme="light"] .route-home .finale-text,
html[data-theme="light"] .route-home .finale-illu{
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}

html[data-theme="light"] .hero-pill,
html[data-theme="light"] .hp,
html[data-theme="light"] .hero-meta span,
html[data-theme="light"] .protocol-chipline span,
html[data-theme="light"] .finale-meta span{
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}

html[data-theme="light"] .hp{
  padding-left:0!important;
  padding-right:0!important;
}

html[data-theme="light"] svg text,
html[data-theme="light"] svg tspan{
  color:rgba(18,20,14,.74);
}

html[data-theme="light"] svg text[fill="#f4ede0"],
html[data-theme="light"] svg text[fill="#F4EDE0"],
html[data-theme="light"] svg text[fill*="244,237,224"],
html[data-theme="light"] svg text[fill*="244, 237, 224"],
html[data-theme="light"] svg tspan[fill="#f4ede0"],
html[data-theme="light"] svg tspan[fill="#F4EDE0"],
html[data-theme="light"] svg tspan[fill*="244,237,224"],
html[data-theme="light"] svg tspan[fill*="244, 237, 224"]{
  fill:rgba(18,20,14,.68)!important;
  stroke:rgba(255,255,255,.16)!important;
}

html[data-theme="light"] svg text[fill="#d4ff3a"],
html[data-theme="light"] svg text[fill="#D4FF3A"],
html[data-theme="light"] svg text[fill*="212,255,58"],
html[data-theme="light"] svg text[fill*="212, 255, 58"],
html[data-theme="light"] svg tspan[fill="#d4ff3a"],
html[data-theme="light"] svg tspan[fill="#D4FF3A"],
html[data-theme="light"] svg tspan[fill*="212,255,58"],
html[data-theme="light"] svg tspan[fill*="212, 255, 58"]{
  fill:var(--lime)!important;
  stroke:none!important;
}
