:root{
  --bg-main:#F4F6F9;
  --bg-soft:#E9EEF5;
  --bg-warm:#F7F3EC;
  --text-main:#30353C;
  --text-muted:#69717D;
  --text-soft:#4C545E;
  --accent-main:#AEB7C6;
  --accent-secondary:#8D99AC;
  --accent-violet:#A39AB8;
  --accent-cta:#7F8AA0;
  --dark-bg:#1E2328;
  --dark-surface:#252B32;
  --text-on-dark:#F8FAFC;
  --line:#D2DAE5;
  --r-sm:4px;
  --r-lg:6px;
  --orbit:1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text-main);
  background-color:var(--bg-main);
  background-image:linear-gradient(rgba(244,246,249,.90),rgba(244,246,249,.96)),url('/src/route-mist-sheet.webp');
  background-size:auto,cover;
  background-position:center;
  background-attachment:fixed;
}
body,button,input,textarea,select{font:inherit}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
button{color:inherit}
code,.tickerMono{
  font-family:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
}

a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible{
  outline:2px solid var(--accent-violet);
  outline-offset:3px;
  border-radius:var(--r-lg);
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
}

.hatchPass{
  position:absolute;
  left:-999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
  border:0;
  background:transparent;
  cursor:pointer;
}
.hatchPass:focus{
  left:12px;
  top:12px;
  width:auto;
  height:auto;
  padding:10px 12px;
  background:#fff;
  border:1px solid var(--line);
  z-index:9999;
}
.orbit{width:min(var(--orbit),calc(100% - 40px));margin:0 auto}
#main,#overview,#release,#answers{scroll-margin-top:86px}

.mastline{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(244,246,249,.96);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
.mastDeck{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:14px 0;
}
.sigilHome{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:180px;
}
.sigilMark{
  width:42px;
  height:42px;
  object-fit:contain;
}
.pathTabs{
  display:flex;
  gap:4px;
  align-items:center;
}
.pathTabs a{
  font-size:14px;
  color:var(--text-muted);
  padding:8px 10px;
  border-radius:var(--r-lg);
  transition:color .14s ease,background-color .14s ease;
}
.pathTabs a:hover{
  color:var(--text-main);
  background:rgba(255,255,255,.42);
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
.mastActions{
  display:flex;
  align-items:center;
  gap:8px;
}
.foldSwitch{
  display:none;
  width:42px;
  height:40px;
  border-radius:var(--r-lg);
  border:1px solid rgba(210,218,229,.85);
  background:rgba(255,255,255,.65);
  cursor:pointer;
}
.foldSwitch span{
  display:block;
  height:2px;
  background:var(--text-main);
  margin:7px 10px;
  border-radius:2px;
  opacity:.85;
}
.pocketNav{
  border-top:1px solid rgba(210,218,229,.75);
  background:rgba(244,246,249,.98);
}
.pocketList{
  display:grid;
  gap:10px;
  padding:16px 0 18px;
}
.pocketList a{
  padding:12px;
  border-radius:var(--r-lg);
  border:1px solid rgba(210,218,229,.75);
  background:rgba(255,255,255,.65);
}

.clicker{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:40px;
  padding:11px 14px;
  border-radius:var(--r-lg);
  border:1px solid transparent;
  font-weight:600;
  font-size:14px;
  cursor:pointer;
  transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.clicker--signal{
  background:var(--accent-cta);
  color:var(--text-on-dark);
  border-color:rgba(48,53,60,.08);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.16);
}
.clicker--signal:hover{
  background:#6F7A90;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22);
}
.clicker--quiet{
  background:rgba(255,255,255,.65);
  border-color:rgba(210,218,229,.85);
  color:var(--text-main);
}
.clicker--quiet:hover{
  background:rgba(255,255,255,.88);
  border-color:rgba(210,218,229,1);
  box-shadow:inset 0 -2px 0 rgba(127,138,160,.18);
}
.clicker:active{transform:translateY(1px)}
.clicker--small{
  min-height:34px;
  padding:8px 12px;
  border-radius:var(--r-sm);
  font-size:13px;
}

.microSignal{
  margin:0 0 10px;
  font-size:11px;
  letter-spacing:0;
  text-transform:uppercase;
  color:var(--text-soft);
  font-weight:600;
}
h1,h2{
  margin:0;
  font-family:"Space Grotesk",Inter,sans-serif;
  font-weight:600;
  letter-spacing:0;
}
h1{font-size:56px;line-height:1.02}
h2{font-size:38px;line-height:1.06}
p{margin:0}
.pulseDot{
  width:5px;
  height:5px;
  border-radius:50%;
  background:rgba(95,100,109,.4);
  display:inline-block;
}

.chainRail{
  position:relative;
  border-top:1px solid rgba(210,218,229,.65);
  border-bottom:1px solid rgba(210,218,229,.65);
  background-color:var(--bg-soft);
  overflow:hidden;
}
.chainRail::after{
  content:'';
  position:absolute;
  right:-12px;
  top:-16px;
  width:240px;
  height:160px;
  background:url('/src/signal-stars.webp') no-repeat right top / contain;
  opacity:.28;
  pointer-events:none;
}
.chainDeck{
  position:relative;
  display:grid;
  grid-template-columns:1.15fr auto;
  align-items:center;
  gap:24px;
  padding:24px 0;
}
.chainNote{max-width:64ch}
.chainTitle{
  font-family:"Space Grotesk",Inter,sans-serif;
  font-weight:600;
  letter-spacing:0;
  font-size:22px;
  line-height:1.15;
  display:flex;
  align-items:center;
  gap:10px;
}
.chainCopy{
  margin-top:10px;
  color:var(--text-muted);
  font-size:14px;
  max-width:62ch;
  line-height:1.45;
}
.solGlyph{width:25px;height:25px}
.railDock{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
}
.railBadge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:600;
  font-size:13px;
  padding:8px 10px;
  border-radius:var(--r-lg);
  border:1px solid rgba(210,218,229,.95);
  background:rgba(255,255,255,.52);
  transition:background-color .14s ease,box-shadow .14s ease,border-color .14s ease;
  color:var(--text-main);
}
.railBadge:hover{
  background:rgba(255,255,255,.95);
  border-color:rgba(210,218,229,1);
  box-shadow:0 2px 8px rgba(0,0,0,.06);
}
.railBadgeIcon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:27px;
  height:27px;
  border-radius:var(--r-sm);
  background:rgba(30,35,40,.06);
  overflow:hidden;
}
.railBadgeImg{
  width:18px;
  height:18px;
  object-fit:contain;
}

.launchField{
  position:relative;
  overflow:hidden;
}
.launchWash{
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(to bottom,rgba(233,238,245,.92) 0%,rgba(233,238,245,0) 56%),url('/src/soft-ledger-field.webp') center bottom / cover no-repeat;
  opacity:.32;
  z-index:0;
}
.launchField > :not(.launchWash){
  position:relative;
  z-index:1;
}
.beaconStage{
  padding:54px 0;
  position:relative;
}
.beaconOrbit{position:relative;z-index:1}
.beaconOrbit--center{
  display:flex;
  justify-content:center;
}
.beaconCopy--center{
  text-align:center;
  max-width:760px;
}
.beaconLead{
  margin:16px auto 20px;
  max-width:62ch;
  color:var(--text-muted);
  line-height:1.65;
}
.beaconActions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:center;
}
.beaconStage .clicker{
  padding:12px 24px;
  font-size:15px;
}
.beaconNotes{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:16px;
  color:var(--text-soft);
  font-size:15px;
  justify-content:center;
  font-style:italic;
}

.panelFlow{padding:56px 0}
.panelFlow--mist{
  background:var(--bg-soft);
  border-top:1px solid rgba(210,218,229,.65);
  border-bottom:1px solid rgba(210,218,229,.65);
}
.panelHead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:28px;
}
.craftBoard{
  background:transparent;
  padding-top:44px;
}
.craftGrid{
  display:grid;
  grid-template-columns:1fr 1fr;
  column-gap:44px;
  row-gap:54px;
  margin-top:22px;
}
.moveCard{
  max-width:520px;
  --move-accent:var(--accent-cta);
}
.moveCard--swap{--move-accent:var(--accent-violet)}
.moveCard--activity{--move-accent:var(--accent-secondary)}
.moveCard--rails{--move-accent:var(--accent-main)}
.moveCard--drift{
  margin-top:60px;
  justify-self:end;
}
.moveKicker{
  font-size:14px;
  letter-spacing:0;
  text-transform:uppercase;
  color:var(--text-muted);
  font-weight:700;
}
.moveTitle{
  font-family:"Space Grotesk",Inter,sans-serif;
  font-weight:600;
  letter-spacing:0;
  font-size:32px;
  line-height:1.08;
  margin-top:10px;
}
.moveText{
  margin-top:10px;
  color:var(--text-soft);
  line-height:1.7;
  max-width:40ch;
}
.moveSteps{
  list-style:none;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin:25px 0 0;
  padding:0;
}
.moveSteps li{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--text-muted);
  font-size:12px;
  letter-spacing:0;
  text-transform:uppercase;
}
.moveSteps img{
  width:25px;
  height:25px;
}
.moveSteps span{
  color:var(--text-soft);
  font-weight:700;
  line-height:1;
  font-size:15px;
}

.supplyStrip{
  background:var(--bg-soft);
  border-top:1px solid rgba(210,218,229,.55);
  border-bottom:1px solid rgba(210,218,229,.55);
  position:relative;
  overflow:hidden;
}
.supplyStrip::before{
  content:'';
  position:absolute;
  inset:0;
  background:url('/src/signal-stars.webp') no-repeat 86% 40% / 300px;
  opacity:.22;
  pointer-events:none;
}
.supplyDeck{
  padding:30px 0;
  position:relative;
}
.supplyGrid{
  display:grid;
  grid-template-columns:repeat(4,minmax(140px,1fr));
  gap:18px;
  align-items:stretch;
}
.ledgerFact{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:2px 0;
}
.ledgerFact:not(:first-child){
  padding-left:18px;
  border-left:1px solid rgba(210,218,229,.7);
}
.ledgerKey{
  font-size:11px;
  letter-spacing:0;
  text-transform:uppercase;
  color:var(--text-soft);
}
.ledgerValue{
  font-family:"Space Grotesk",Inter,sans-serif;
  font-weight:600;
  letter-spacing:0;
  font-size:24px;
  line-height:1.05;
  color:var(--text-main);
}

.releaseLedger{
  border:0;
  border-radius:0;
  overflow:visible;
  background:transparent;
}
.releaseHeader,.releaseRow{
  display:grid;
  grid-template-columns:1.2fr 1.2fr .9fr 1.2fr .7fr;
  align-items:center;
}
.releaseHeader{border-bottom:1px solid rgba(210,218,229,.55)}
.releaseCellHead{
  padding:10px 0;
  font-size:11px;
  color:var(--text-soft);
  letter-spacing:0;
  text-transform:uppercase;
}
.releaseCell{padding:14px 0}
.releaseRow{border-bottom:1px solid rgba(210,218,229,.55)}
.releaseRow:last-child{border-bottom:0}
.releaseOs{
  display:flex;
  align-items:center;
  gap:10px;
}
.platformMark{
  width:35px;
  height:35px;
}
.tickerMono{font-size:.88em}
.hashNest{
  display:flex;
  align-items:center;
  gap:10px;
}
.hashShort{color:var(--text-muted)}
.hashCopy{
  border:0;
  background:transparent;
  padding:0;
  cursor:pointer;
  color:var(--text-muted);
  font-weight:600;
  font-size:13px;
}
.hashCopy:hover{
  color:var(--text-main);
  text-decoration:underline;
  text-underline-offset:3px;
}
.releaseLinks{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:18px;
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid rgba(210,218,229,.4);
}
.releaseLink{
  color:var(--text-muted);
  font-weight:600;
  font-size:14px;
}
.releaseLink:hover{
  color:var(--text-main);
  text-decoration:underline;
  text-underline-offset:3px;
}
.releaseLink + .releaseLink::before{
  content:'·';
  display:inline-block;
  margin-right:18px;
  color:rgba(105,113,125,.65);
}

.answerMist{
  position:relative;
  overflow:hidden;
}
.answerMist::before{
  content:'';
  position:absolute;
  inset:0;
  pointer-events:none;
  background:url('/src/soft-ledger-field.webp') center / cover no-repeat;
  opacity:.18;
  z-index:0;
}
.answerMist::after{
  content:'';
  position:absolute;
  inset:0;
  pointer-events:none;
  background:rgba(233,238,245,.78);
  z-index:0;
}
.answerMist .orbit{
  position:relative;
  z-index:1;
}
.answerSplit{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:34px;
  align-items:center;
}
.answerIntro{position:static;align-self:center}
.answerTitle{margin-top:6px}
.answerStack{
  display:grid;
  gap:8px;
}
.answerDrop{
  border-bottom:1px solid rgba(210,218,229,.55);
  padding:14px 0;
}
.answerDrop:last-child{border-bottom:0}
.answerDrop summary{
  cursor:pointer;
  font-weight:600;
  letter-spacing:0;
  list-style:none;
  position:relative;
  padding-right:24px;
  font-size:18px;
}
.answerDrop summary::-webkit-details-marker{display:none}
.answerDrop summary::after{
  content:'+';
  position:absolute;
  right:0;
  top:0;
  color:var(--text-muted);
}
.answerDrop[open] summary::after{content:'-'}
.answerBody{
  margin-top:8px;
  color:var(--text-muted);
  line-height:1.9;
  max-width:72ch;
}

.duskFooter{
  background:linear-gradient(rgba(30,35,40,.92),rgba(30,35,40,.62)),url('/src/dusk-ledger-cover.webp') center / cover no-repeat;
  color:var(--text-on-dark);
  padding:70px 0 46px;
}
.duskCenter{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:18px;
}
.duskBrand{
  display:flex;
  align-items:center;
  gap:12px;
}
.duskLogo{
  width:44px;
  height:44px;
  border-radius:var(--r-lg);
  object-fit:cover;
  filter:brightness(1.05);
}
.duskName{
  display:block;
  font-family:"Space Grotesk",Inter,sans-serif;
  letter-spacing:0;
  font-weight:600;
  font-size:18px;
}
.duskTag{
  margin-top:4px;
  color:rgba(248,250,252,.72);
  font-size:13px;
}
.duskNav{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:14px 18px;
  max-width:820px;
}
.duskLink{
  color:rgba(248,250,252,.86);
  padding:6px 0;
}
.duskLink:hover{
  color:#fff;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
.policyRow{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin-top:2px;
  color:rgba(248,250,252,.62);
  font-size:13px;
}
.policyLink{
  color:rgba(248,250,252,.70);
  padding:4px 0;
}
.policyLink:hover{
  color:#fff;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
.policyDot{opacity:.55}
.colophonLine{
  margin-top:6px;
  padding-top:16px;
  width:min(820px,100%);
  border-top:1px solid rgba(248,250,252,.10);
  color:rgba(248,250,252,.70);
  font-size:13px;
}

.signalToast{
  position:fixed;
  left:50%;
  transform:translateX(-50%);
  bottom:18px;
  background:rgba(23,26,31,.94);
  color:var(--text-on-dark);
  padding:12px 14px;
  border-radius:var(--r-lg);
  box-shadow:0 16px 50px rgba(0,0,0,.25);
  max-width:min(560px,calc(100% - 24px));
  font-size:14px;
  z-index:999;
}

.pageShell{
  min-height:52vh;
  padding:64px 0 72px;
}
.pageLedger{
  max-width:820px;
}
.pageTitle{
  font-size:42px;
  line-height:1.08;
}
.pageLead{
  margin-top:16px;
  color:var(--text-muted);
  line-height:1.75;
  max-width:68ch;
}
.pageStack{
  display:grid;
  gap:22px;
  margin-top:34px;
}
.pagePanel{
  border-top:1px solid rgba(210,218,229,.75);
  padding-top:22px;
}
.pagePanel h2{
  font-size:24px;
}
.pagePanel p,.pagePanel li{
  color:var(--text-muted);
  line-height:1.75;
}
.pagePanel ul,.pagePanel ol{
  margin:12px 0 0;
  padding-left:20px;
}
.pageActions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:24px;
}

@media (max-width:980px){
  .pathTabs{display:none}
  .foldSwitch{display:inline-flex;flex-direction:column;justify-content:center}
  .chainDeck{grid-template-columns:1fr;align-items:flex-start}
  .releaseHeader,.releaseRow{grid-template-columns:1.3fr 1fr .9fr 1.1fr .8fr}
  .supplyGrid{grid-template-columns:repeat(2,minmax(160px,1fr))}
  .ledgerFact:not(:first-child){border-left:0;padding-left:0}
  .ledgerFact{border-top:1px solid rgba(210,218,229,.65);padding-top:14px}
  .ledgerFact:nth-child(1),.ledgerFact:nth-child(2){border-top:0;padding-top:0}
  .answerSplit{grid-template-columns:1fr;align-items:start}
  .answerIntro{margin-bottom:8px}
  .craftGrid{grid-template-columns:1fr;row-gap:28px}
  .moveCard--drift{margin-top:0;justify-self:start}
}

@media (max-width:720px){
  .orbit{width:min(var(--orbit),calc(100% - 28px))}
  h1{font-size:40px}
  h2{font-size:30px}
  .mastDeck{gap:12px}
  .sigilHome{min-width:auto}
  .mastActions .clicker--quiet{display:none}
  .beaconStage{padding:46px 0}
  .beaconStage .clicker{width:100%}
  .beaconActions{width:100%}
  .releaseHeader{display:none}
  .releaseRow{
    grid-template-columns:1fr;
    gap:6px;
    padding:14px 0;
    border-bottom:1px solid rgba(210,218,229,.55);
  }
  .releaseCell{padding:0}
  .releaseOs{margin-bottom:6px}
  .moveTitle{font-size:28px}
  .duskFooter{padding:60px 0 40px}
  .duskNav{gap:12px 16px}
  .pageTitle{font-size:34px}
}

@media (max-width:560px){
  .supplyGrid{grid-template-columns:1fr;gap:14px}
  .ledgerFact{border-top:1px solid rgba(210,218,229,.65);padding-top:14px}
  .ledgerFact:first-child{border-top:0;padding-top:0}
}
