:root {
  --navy: #031435;
  --navy2: #002b68;
  --cream: #eeede4;
  --paper: #f7f6ef;
  --ink: #151513;
  --gray: #68675e;
  --gray2: #8c8b82;
  --rule: #dad9cf;
  --mark: #302f26;
  --glass: rgba(70, 110, 170, .42);
  --glassline: rgba(200, 220, 255, .38);
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--cream); scroll-behavior: smooth; }
body { font: 400 15px/1.55 Inter, system-ui, sans-serif; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
.mono { font-family: var(--mono); }
.wrap { width: min(1320px, 100% - 2 * clamp(20px, 7vw, 120px)); margin: 0 auto; }

/* ---------- buttons, tags ---------- */
.b { display: inline-flex; align-items: center; justify-content: center; height: 32px; padding: 0 15px; border-radius: 2px; font-size: 14px; font-weight: 500; white-space: nowrap; transition: background .25s var(--ease), border-color .25s var(--ease), color .25s; cursor: pointer; font-family: inherit; }
.b.lg { height: 42px; padding: 0 21px; font-size: 14.5px; font-weight: 400; }
.b.ghost { color: #fff; background: rgba(90, 110, 150, .42); border: 1px solid rgba(210, 222, 255, .38); }
.b.ghost:hover { background: rgba(110, 132, 175, .55); }
.b.solid { color: #0d0e12; background: #fff; border: 1px solid #fff; }
.b.cream { color: #0d0e12; background: var(--paper); border: 1px solid var(--paper); }
.b.cream:hover, .b.solid:hover { background: #fff; }
.b.blue { color: #fff; background: rgba(46, 77, 123, .82); border: 1px solid rgba(190, 210, 255, .42); }
.b.blue:hover { background: rgba(60, 96, 150, .9); }
.b.dark { color: #fff; background: var(--ink); border: 1px solid var(--ink); }
.b.dark:hover { background: #2a2a26; }
.tag { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--ink); }
.tag i { width: 7px; height: 7px; background: currentColor; }
.tag.light { color: #fff; font-weight: 400; }

/* ---------- hero ---------- */
.hero { position: relative; height: clamp(780px, 61.7vw, 1020px); color: #fff; overflow: hidden; isolation: isolate; }
.sky { position: absolute; inset: 0; z-index: -1;
  background: url("/assets/sky-hero.jpg") center bottom / cover no-repeat, linear-gradient(180deg, #031435 0%, #001d53 40%, #002b68 70%, #2c4e86 100%); }
.stars { position: absolute; inset: 0 0 35% 0; opacity: .75;
  background-image:
    radial-gradient(1px 1px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 27% 8%, #fff, transparent), radial-gradient(1px 1px at 41% 31%, #fff, transparent),
    radial-gradient(1px 1px at 58% 12%, #fff, transparent), radial-gradient(1px 1px at 73% 26%, #fff, transparent), radial-gradient(1px 1px at 88% 9%, #fff, transparent),
    radial-gradient(1px 1px at 6% 44%, #fff, transparent), radial-gradient(1px 1px at 19% 57%, #fff, transparent), radial-gradient(1px 1px at 34% 49%, #fff, transparent),
    radial-gradient(1px 1px at 66% 47%, #fff, transparent), radial-gradient(1px 1px at 81% 55%, #fff, transparent), radial-gradient(1px 1px at 94% 38%, #fff, transparent),
    radial-gradient(1.4px 1.4px at 50% 4%, #fff, transparent), radial-gradient(1.2px 1.2px at 9% 30%, #fff, transparent), radial-gradient(1.2px 1.2px at 97% 61%, #fff, transparent);
  animation: twinkle 6s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .55; } to { opacity: .9; } }

.nav { position: relative; z-index: 2; height: 80px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.logo { width: 32px; height: 32px; display: grid; place-items: center; background: #fff; color: #0d0e12; }
.logo svg { width: 20px; height: 20px; }
.logo.xl { width: 64px; height: 64px; } .logo.xl svg { width: 36px; height: 36px; }
.tabs { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: 2px; padding: 3px; border: 1px solid rgba(210, 222, 255, .38); background: rgba(48, 64, 91, .55); backdrop-filter: blur(8px); }
.tabs a { height: 30px; display: grid; place-items: center; padding: 0 14px; font-size: 13.5px; color: rgba(255, 255, 255, .85); transition: color .2s, background .2s; }
.tabs a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.tabs a.on { background: #fff; color: #0d0e12; }
.navr { display: flex; gap: 6px; }

.herotext { position: relative; z-index: 2; text-align: center; margin-top: 24px; }
.herotext .tag { margin-bottom: 14px; }
.herotext h1 { font-size: clamp(38px, 4.1vw, 60px); line-height: 1.1; font-weight: 500; letter-spacing: -.028em; }
.lede { margin-top: 17px; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .88); }
.ctas { display: flex; gap: 8px; justify-content: center; margin-top: 26px; }

/* hero diagram */
.flow { position: relative; z-index: 2; width: 670px; height: 215px; margin: 56px auto 0; }
.lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.lines path { fill: none; stroke: rgba(225, 235, 255, .55); stroke-width: 1; }
.lines .run path { stroke: #fff; stroke-width: 1.6; stroke-dasharray: 22 420; stroke-linecap: round; filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 8px rgba(180, 210, 255, .9)); animation: run 3.6s linear infinite; }
.lines .run path + path { animation-delay: -1.8s; }
@keyframes run { from { stroke-dashoffset: 442; } to { stroke-dashoffset: 0; } }
.lines .dot rect { fill: #fff; filter: drop-shadow(0 0 4px rgba(255, 255, 255, .95)); }
.nd { position: absolute; height: 24px; width: 97px; display: flex; align-items: center; gap: 6px; padding: 0 8px; font-size: 12px; color: #fff; background: var(--glass); border: 1px solid var(--glassline); backdrop-filter: blur(6px); white-space: nowrap; }
.flow .nd:nth-of-type(2), .flow .nd:nth-of-type(5) { width: 88px; }
.flow .nd:nth-of-type(6) { width: 82px; }
.nd svg { width: 11px; height: 11px; flex: none; opacity: .9; }
.hub { position: absolute; left: 261px; top: 43px; width: 138px; height: 135px; border: 1px solid rgba(200, 220, 255, .55); background: rgba(70, 110, 170, .35); box-shadow: 0 0 40px rgba(150, 190, 255, .35); }
.hub i { position: absolute; width: 6px; height: 6px; background: #fff; }
.hub .h1 { left: -3px; top: -3px; } .hub .h2 { right: -3px; top: -3px; } .hub .h3 { left: -3px; bottom: -3px; } .hub .h4 { right: -3px; bottom: -3px; }
.paper { position: absolute; inset: 12px; background: #fff; display: grid; place-items: center; color: #0d0e12; box-shadow: 0 0 0 1px rgba(255, 255, 255, .5); }
.paper svg { width: 44px; height: 44px; }

/* ---------- cream sections ---------- */
.cream { background: var(--cream); }
.sec { padding: 64px 0 0; }
.sec:first-child { padding-top: 64px; }
.center { text-align: center; }
.sec h2 { font-size: clamp(30px, 3.15vw, 46px); line-height: 1.12; font-weight: 400; letter-spacing: -.025em; margin-top: 14px; color: var(--ink); }
.sec h2.l { text-align: left; }
.sub { margin: 16px auto 0; max-width: 620px; font-size: 13.5px; line-height: 1.55; color: var(--gray); }
.sub.r { margin: 0; max-width: 356px; text-align: left; align-self: end; padding-bottom: 6px; }
.sub.l { margin: 18px 0 0; text-align: left; max-width: 470px; }
.split { display: flex; justify-content: space-between; align-items: end; gap: 40px; }

.grid { position: relative; display: grid; margin-top: 50px; border: 1px solid var(--rule); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); margin-top: 50px; }
.grid > .cell, .grid > .step { border-left: 1px solid var(--rule); text-align: left; }
.grid > .cell:nth-of-type(1), .grid > .step:nth-of-type(1) { border-left: 0; }
.mk { position: absolute; width: 5px; height: 5px; background: var(--mark); transform: translate(-50%, -50%); z-index: 1; margin-left: -.5px; }
.cell { min-height: 258px; padding: 26px 23px 24px; display: flex; flex-direction: column; }
.cell .ic { width: 18px; height: 18px; color: #3c3b33; }
.cell h3 { margin-top: auto; font-size: 16.5px; font-weight: 500; letter-spacing: -.01em; }
.cell p { margin-top: 10px; font-size: 12.5px; line-height: 1.45; color: var(--gray); max-width: 240px; }
.stats .cell { min-height: 220px; }
.big { font-size: clamp(30px, 2.8vw, 40px); font-weight: 400; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.stats .cell p.big { margin: 0; max-width: none; color: var(--ink); font-size: clamp(30px, 2.8vw, 40px); line-height: 1; }

/* how-it-works cards */
.step { padding: 22px 22px 32px; }
.step .num { margin-top: 26px; font-size: 12px; color: var(--gray2); }
.step h3 { margin-top: 12px; font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.step > p:last-child { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--gray); max-width: 300px; }
.shot { position: relative; aspect-ratio: 324 / 195; overflow: hidden; color: #fff; background: linear-gradient(180deg, #031435, #0b3070 70%, #6a5a6e); background-size: cover; background-position: center; }
.s1 { background-image: url("/assets/sky-card1.jpg"), linear-gradient(180deg, #031435, #0b3070 70%, #6a5a6e); }
.s2 { background-image: url("/assets/sky-card2.jpg"), linear-gradient(180deg, #031435, #0b3070 70%, #6a5a6e); }
.s3 { background-image: url("/assets/sky-card3.jpg"), linear-gradient(180deg, #031435, #0b3070 70%, #6a5a6e); }
.shot .lines { width: 100%; height: 100%; }
.shot .nd.sm { height: 22px; width: 92px; font-size: 11.5px; }
.shot .nd.sm { left: 9% !important; }
.hub.sm { left: 63.5%; top: 26%; width: 27.5%; height: 47%; }
.hub.sm .paper { inset: 8px; }
.hub.sm .paper svg { width: 30px; height: 30px; }
.pane { position: absolute; left: 15.7%; right: 15.4%; top: 16%; bottom: 16%; padding: 13px 12px; background: rgba(70, 105, 160, .32); border: 1px solid rgba(210, 225, 255, .4); backdrop-filter: blur(5px); font-size: 11.5px; }
.ph { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.ph span { font-weight: 500; }
.ph em { font-style: normal; font-size: 10.5px; display: flex; align-items: center; gap: 5px; opacity: .9; }
.ph em i { width: 5px; height: 5px; background: #fff; }
.ph em.dim { opacity: .6; }
.pl { display: flex; align-items: center; gap: 8px; }
.mini { width: 18px; height: 18px; background: #fff; color: #0d0e12; display: grid; place-items: center; }
.mini svg { width: 12px; height: 12px; }
.row { display: flex; align-items: center; gap: 12px; height: 30px; padding: 0 7px; font-size: 11.5px; }
.row b { font-weight: 400; opacity: .75; width: 8px; }
.row span { flex: 1; }
.row s { width: 32px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #fff calc(var(--w) * 100%), rgba(255, 255, 255, .28) 0); }
.row.on { background: rgba(160, 190, 240, .28); }
.ln { display: block; height: 5px; margin: 0 0 6px; background: rgba(255, 255, 255, .32); }
.acts { display: flex; gap: 6px; margin-top: 12px; }
.acts span { height: 28px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11.5px; }
.acts .ok { flex: 1; background: var(--paper); color: #0d0e12; }
.acts .ok svg { width: 11px; height: 11px; }
.acts .ed { width: 44px; border: 1px solid rgba(255, 255, 255, .45); color: rgba(255, 255, 255, .8); }

/* scan */
.scanbox { display: grid; grid-template-columns: 1fr 1.1fr; gap: 14px 60px; align-items: center; padding: 30px 23px; border: 1px solid var(--rule); border-top: 0; }
.scanbox h3 { font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.scanbox p { margin-top: 6px; font-size: 13px; color: var(--gray); max-width: 440px; }
.scan { display: flex; gap: 6px; }
.scan input { flex: 1; min-width: 0; height: 42px; padding: 0 14px; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); font-size: 13px; outline: none; border-radius: 2px; }
.scan input:focus { border-color: #9b9a90; }
.scan .b { height: 42px; padding: 0 22px; }
.scanout { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.scanout:empty { display: none; }
.res { border: 1px solid var(--rule); background: var(--paper); padding: 14px 16px; font-size: 13px; }
.res .h { display: flex; justify-content: space-between; align-items: center; font-weight: 500; }
.res .st { font-size: 11px; padding: 2px 8px; border: 1px solid; font-weight: 500; }
.st.exposed { color: #9a5a12; border-color: #e2c39b; background: #f8ecdc; }
.st.hidden { color: #23704c; border-color: #b6dcc8; background: #e6f4ec; }
.st.contract { color: #2e4d7b; border-color: #bfcde3; background: #e8eef7; }
.res p { margin-top: 6px; color: var(--gray); line-height: 1.5; }
.res a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.err { color: #9a5a12; }
.fine { font-size: 12.5px; color: var(--gray); }

/* token */
.tok { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 60px; align-items: start; padding-top: 30px; }
.kicker { font: 500 10.5px var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--gray2); }
.cabox { margin-top: 30px; padding: 18px 20px; border: 1px solid var(--rule); background: var(--paper); position: relative; }
.carow { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.ca { flex: 1; min-width: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink); word-break: break-all; }
.ca.pending { color: var(--gray); word-break: normal; }
.copy { flex: none; height: 38px; padding: 0 16px; border: 1px solid var(--rule); background: #fff; color: var(--ink); font: 500 11px var(--mono); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; border-radius: 2px; }
.copy:hover:not(:disabled) { border-color: #9b9a90; }
.copy:disabled { opacity: .4; cursor: default; }
.tlinks { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.tlinks a { font-size: 16px; border-bottom: 1px solid var(--rule); padding-bottom: 3px; transition: border-color .25s; }
.tlinks a:hover { border-color: var(--ink); }
.tlinks span { margin-left: 8px; color: var(--gray2); }
.chart { position: relative; height: 600px; overflow: hidden; border: 1px solid var(--rule); background: #0b1430; }
.chart iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.chart-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; padding: 30px; color: rgba(255, 255, 255, .8); font-size: 14px;
  background: url("/assets/sky-card2.jpg") center / cover, linear-gradient(180deg, #031435, #0b3070 70%, #6a5a6e); }
.chart-empty p { max-width: 280px; text-shadow: 0 1px 10px rgba(0, 0, 0, .4); }
.chartnote { margin-top: 12px; font-size: 11.5px; line-height: 1.7; color: var(--gray); }

/* footer */
.foot { position: relative; margin-top: 110px; color: #fff; overflow: hidden; isolation: isolate; }
.foot .sky { background: url("/assets/sky-card2.jpg") center 70% / cover no-repeat, linear-gradient(180deg, #031435, #002b68 70%, #2c4e86); }
.footin { display: flex; justify-content: space-between; align-items: end; gap: 30px; padding: 110px 0 90px; }
.foot h2 { margin-top: 14px; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.1; font-weight: 500; letter-spacing: -.028em; }
.foot .ctas { margin: 0; }
.legal { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0 30px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 12px; color: rgba(255, 255, 255, .8); }
.legal .brand { font-size: 14px; } .legal .logo { width: 24px; height: 24px; } .legal .logo svg { width: 15px; height: 15px; }

/* ---------- small screens ---------- */
@media (max-width: 980px) {
  .tabs { display: none; }
  .flow { transform: scale(.82); transform-origin: top center; }
  .g4 { grid-template-columns: 1fr 1fr; }
  .grid > .cell:nth-of-type(3) { border-left: 0; }
  .grid > .cell:nth-of-type(n+3) { border-top: 1px solid var(--rule); }
  .g4 .mk:not([style*="left:0"]):not([style*="left:100%"]):not([style*="left:50%"]) { display: none; }
  .g3 { grid-template-columns: 1fr; }
  .grid > .step { border-left: 0; } .grid > .step + .step { border-top: 1px solid var(--rule); }
  .g3 .mk:not([style*="left:0"]):not([style*="left:100%"]) { display: none; }
  .split { flex-direction: column; align-items: start; }
  .tok, .scanbox { grid-template-columns: 1fr; }
  .scanout { grid-template-columns: 1fr; }
  .footin { flex-direction: column; align-items: start; }
}
@media (max-width: 640px) {
  .navr .ghost { display: none; }
  .hero { height: 860px; }
  .herotext h1 br, .lede br, .sub br { display: none; }
  .flow { transform: scale(.52); margin-top: 40px; }
  .ctas { flex-wrap: wrap; }
  .g4 { grid-template-columns: 1fr; }
  .grid > .cell { border-left: 0 !important; } .grid > .cell + .cell { border-top: 1px solid var(--rule); }
  .g4 .mk:not([style*="left:0"]):not([style*="left:100%"]) { display: none; }
  .cell { min-height: 200px; }
  .legal { flex-direction: column; align-items: start; }
}
@media (prefers-reduced-motion: reduce) { .lines .run path, .stars { animation: none; } html { scroll-behavior: auto; } }

/* hero sky, composed: navy gradient + three rendered cloud layers with feathered edges */
.hsky { background: linear-gradient(180deg, #031435 0%, #051c46 30%, #0a2655 58%, #0d2c60 100%); }
.cl { position: absolute; bottom: 0; background-repeat: no-repeat; background-size: cover; }
.cl.l { left: 0; width: 60%; aspect-ratio: 1024 / 640; background-image: url("/assets/hero-l.jpg"); background-position: left bottom;
  -webkit-mask-image: linear-gradient(90deg, #000 40%, transparent 80%), linear-gradient(0deg, #000 60%, transparent 100%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, #000 40%, transparent 80%), linear-gradient(0deg, #000 60%, transparent 100%); mask-composite: intersect; }
.cl.r { right: 0; width: 60%; aspect-ratio: 1024 / 640; background-image: url("/assets/hero-r.jpg"); background-position: right bottom;
  -webkit-mask-image: linear-gradient(270deg, #000 40%, transparent 80%), linear-gradient(0deg, #000 60%, transparent 100%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(270deg, #000 40%, transparent 80%), linear-gradient(0deg, #000 60%, transparent 100%); mask-composite: intersect; }
.cl.b { left: 50%; width: 104%; aspect-ratio: 1024 / 640; transform: translateX(-50%); bottom: -14%; background-image: url("/assets/hero-b.jpg"); background-position: center bottom;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(0deg, #000 50%, transparent 78%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(0deg, #000 50%, transparent 78%); mask-composite: intersect; }

/* nodes: width follows the label; icon in a small framed tile */
.flow .nd, .flow .nd:nth-of-type(2), .flow .nd:nth-of-type(5), .flow .nd:nth-of-type(6) { width: auto; height: 26px; padding: 0 10px 0 4px; gap: 7px; font-size: 12.5px; letter-spacing: -.005em;
  background: linear-gradient(180deg, rgba(90, 130, 195, .5), rgba(55, 90, 150, .42)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 6px 18px -6px rgba(0, 10, 40, .6); }
.nd svg { width: 18px; height: 18px; padding: 3px; box-sizing: border-box; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); opacity: 1; }
.shot .nd.sm { padding: 0 8px 0 3px; gap: 6px; } .shot .nd.sm svg { width: 16px; height: 16px; padding: 2.5px; }
.flow .nd[style*="top:3px"] { top: 2px !important; } .flow .nd[style*="top:98px"] { top: 97px !important; } .flow .nd[style*="top:194px"] { top: 193px !important; }
.paper svg { width: 54px; height: 54px; }
.hub.sm .paper svg { width: 34px; height: 34px; }
.logo svg { width: 22px; height: 22px; }

/* moving clouds: looping videos behind everything, the still image stays as poster/fallback */
.bgv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cl { background-image: none !important; overflow: hidden; }
.cl.l .bgv { object-position: left bottom; } .cl.r .bgv { object-position: right bottom; } .cl.b .bgv { object-position: center bottom; }
.shot > .bgv { z-index: 0; }
.shot > *:not(.bgv) { z-index: 1; }
.shot .lines { position: absolute; }
@media (prefers-reduced-motion: reduce) { .bgv { display: none; } .cl.l { background-image: url("/assets/hero-l.jpg") !important; } .cl.r { background-image: url("/assets/hero-r.jpg") !important; } .cl.b { background-image: url("/assets/hero-b.jpg") !important; } }

/* compact hero */
.hero { height: clamp(650px, 51vw, 820px); }
.nav { height: 72px; }
.herotext { margin-top: 6px; }
.herotext .tag { margin-bottom: 12px; }
.herotext h1 { font-size: clamp(36px, 3.7vw, 54px); line-height: 1.08; }
.lede { margin-top: 14px; font-size: 14.5px; }
.ctas { margin-top: 22px; }
.flow { margin-top: 40px; }
@media (max-width: 640px) { .hero { height: 760px; } }
.cl.b { height: 65vw; aspect-ratio: auto; }
.cl.l, .cl.r { height: 37.5vw; aspect-ratio: auto; }
.cl.b { bottom: -27vw; }

/* chrome emblem */
.logoimg { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(170, 200, 255, .35)); }
.logoimg.xl { width: 120px; height: 120px; }
.legal .logoimg { width: 26px; height: 26px; }
.paper { background: radial-gradient(120% 90% at 30% 15%, #16264a, #050a1a 70%); box-shadow: 0 0 0 1px rgba(200, 220, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .12); }
.paper img { width: 74%; height: 74%; object-fit: contain; filter: drop-shadow(0 0 14px rgba(170, 200, 255, .45)); }
.hub.sm .paper img { width: 76%; height: 76%; }
.mini { background: #050a1a; } .mini img { width: 15px; height: 15px; object-fit: contain; }
/* emblem box: broken white */
.paper { background: radial-gradient(120% 100% at 30% 15%, #fbfaf5, #efede4 75%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .6), inset 0 1px 0 #fff, inset 0 -8px 18px rgba(120, 110, 90, .08); }
.paper img { filter: drop-shadow(0 6px 10px rgba(10, 20, 50, .22)); }
.paper img { filter: drop-shadow(0 1px 1.5px rgba(10, 20, 50, .45)) drop-shadow(0 6px 12px rgba(10, 20, 50, .25)); }
.paper img { filter: none; }
.paper img { width: 66%; height: 66%; }

/* black mark on a broken-white tile (nav, footer, chart placeholder) */
.logotile { width: 32px; height: 32px; display: grid; place-items: center; background: #f7f6ef; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); flex: none; }
.logotile img { width: 22px; height: 22px; object-fit: contain; }
.logotile.xl { width: 96px; height: 96px; } .logotile.xl img { width: 64px; height: 64px; }
.legal .logotile { width: 24px; height: 24px; } .legal .logotile img { width: 16px; height: 16px; }
.mini { background: #f7f6ef; } .mini img { width: 14px; height: 14px; }

/* logo without its tile */
.logotile, .mini { background: none !important; box-shadow: none !important; }
.logotile img { width: 30px; height: 30px; }
.logotile.xl img { width: 80px; height: 80px; }
.legal .logotile img { width: 22px; height: 22px; }
.mini img { width: 16px; height: 16px; }

@media (max-width: 1240px) { .navr .b.ghost { display: none; } }
@media (max-width: 1080px) { .tabs a { padding: 0 10px; font-size: 13px; } }

/* supported chains row under the hero buttons */
.chains { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 14px; margin-top: 22px; font-size: 12.5px; color: rgba(255, 255, 255, .92); }
.chains li { display: inline-flex; align-items: center; gap: 7px; }
.chains li a { display: inline-flex; align-items: center; gap: 7px; }
.chains img { width: 12px; height: 15px; object-fit: contain; }
.chains svg { width: 15px; height: 15px; }
.chains .lbl { color: rgba(255, 255, 255, .6); font-size: 11.5px; letter-spacing: .02em; text-transform: uppercase; }
.chains .lbl.dim { text-transform: none; letter-spacing: 0; font-size: 12px; }
.chains .sep { width: 1px; height: 14px; background: rgba(255, 255, 255, .25); }
.flow { margin-top: 30px; }
@media (max-width: 640px) { .chains .sep { display: none; } .chains { gap: 8px 12px; } }
.chains { display: inline-flex; margin-top: 20px; padding: 7px 16px; background: rgba(8, 22, 58, .55); border: 1px solid rgba(210, 222, 255, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.chains .lbl { color: rgba(255, 255, 255, .72); }
@media (max-width: 640px) { .chains { padding: 8px 12px; } }
.chains { max-width: min(1180px, 100%); padding: 8px 16px; gap: 8px 12px; }
.chains img { width: 18px; height: 18px; border-radius: 5px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.chains li, .chains li a { gap: 6px; }
.chains .soon { position: relative; }
.chains .soon button { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.chains .soon button:hover, .chains .soon button[aria-expanded="true"] { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .4); }
.chains .tip { position: absolute; left: 50%; top: calc(100% + 12px); transform: translateX(-50%); z-index: 5; width: 250px; padding: 10px 12px; text-align: left; font-size: 12px; line-height: 1.45; color: #e8ecf8;
  background: rgba(6, 16, 44, .94); border: 1px solid rgba(210, 222, 255, .3); backdrop-filter: blur(10px); box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .6); text-transform: none; letter-spacing: 0; }
.chains .tip::before { content: ""; position: absolute; left: 50%; top: -5px; width: 8px; height: 8px; transform: translateX(-50%) rotate(45deg); background: inherit; border-left: 1px solid rgba(210, 222, 255, .3); border-top: 1px solid rgba(210, 222, 255, .3); }
.chains .tip b { color: #fff; font-weight: 600; }
.herotext { z-index: 4; } .chains .tip { z-index: 20; }

/* feature cards: a scene from the hero's sky for each feature */
#vault .cell { min-height: 0; padding: 22px 22px 26px; }
#vault .cell .ic { display: none; }
.fimg { aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 26px; background: #031435; }
.fimg img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
#vault .cell:hover .fimg img { transform: scale(1.04); }
#vault .cell h3 { margin-top: 0; }
.burnbox { margin-top: 14px; padding: 18px 20px; border: 1px solid var(--rule); background: var(--paper); }
.burnbig { margin-top: 8px; font-size: 30px; letter-spacing: -.02em; }
.burnbox ul { list-style: none; margin-top: 12px; display: grid; gap: 6px; font-size: 12.5px; }
.burnbox li { display: flex; gap: 12px; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--rule); padding-top: 6px; }
.burnbox li span { color: var(--gray); } .burnbox li a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.chains { gap: 8px 10px; padding: 8px 14px; }
#token.soon .ca.pending { font-family: Inter, sans-serif; font-size: 22px; letter-spacing: -.01em; color: var(--ink); opacity: .85; }
#token.soon .ca.pending::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 12px; vertical-align: middle; background: #d39b3a; animation: soonpulse 1.6s ease-in-out infinite; }
@keyframes soonpulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { #token.soon .ca.pending::before { animation: none; } }
/* chain row pinned to the bottom of the hero */
.hero > .chains { position: absolute; z-index: 3; left: 50%; bottom: 26px; transform: translateX(-50%); margin: 0; width: max-content; max-width: calc(100% - 32px); }
.hero > .chains .tip { top: auto; bottom: calc(100% + 12px); }
.hero > .chains .tip::before { top: auto; bottom: -5px; transform: translateX(-50%) rotate(225deg); }

/* engine v2: version strip, permissions matrix, x402 steps */
.engine { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding: 12px 16px; border: 1px solid var(--rule); background: var(--paper); font-size: 12.5px; color: var(--gray); }
.engine .ev { font: 600 11px var(--mono); color: #fff; background: #2e4d7b; padding: 3px 7px; }
.engine a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--rule); }
.engine a:hover { text-decoration-color: var(--ink); }
.engine .mono { font-family: var(--mono); font-size: 12px; }
#engLive:empty { display: none; } #engLive { color: #1d5a3d; }
#engLive::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; background: #2f9e67; vertical-align: middle; }
#agents .grid { margin-top: 18px; }
#agents .cell:hover .fimg img { transform: scale(1.04); }
.perm, .x4 { margin-top: 56px; display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.permh h3 { font-size: 22px; font-weight: 400; letter-spacing: -.015em; }
.permh p { margin-top: 10px; font-size: 13px; line-height: 1.55; color: var(--gray); }
.permt { overflow-x: auto; border: 1px solid var(--rule); background: var(--paper); }
.perm table { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 760px; }
.perm th, .perm td { padding: 14px 12px; border-bottom: 1px solid var(--rule); text-align: center; vertical-align: middle; }
.perm tbody tr:last-child th, .perm tbody tr:last-child td { border-bottom: 0; }
.perm thead th { font-weight: 500; font-size: 11.5px; color: var(--gray); text-align: center; line-height: 1.35; }
.perm tbody th { text-align: left; font-weight: 400; white-space: nowrap; }
.perm tbody th b { display: block; font-weight: 500; font-size: 13.5px; color: var(--ink); }
.perm tbody th span { display: block; margin-top: 2px; font-size: 11.5px; color: var(--gray2); }
.perm tbody tr:first-child { background: #e8edf6; }
.perm td.y svg { width: 16px; height: 16px; color: #23704c; }
.perm td.n { color: #c9c6ba; }
.perm td.lim { font-size: 11.5px; line-height: 1.4; color: #6e5a1f; max-width: 160px; }
.x4s { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--rule); background: var(--paper); counter-reset: none; }
.x4s li { position: relative; padding: 18px 16px 20px; border-left: 1px solid var(--rule); }
.x4s li:first-child { border-left: 0; }
.x4s li:not(:last-child)::after { content: ""; position: absolute; right: -5px; top: 24px; width: 8px; height: 8px; background: var(--paper); border-top: 1px solid var(--rule); border-right: 1px solid var(--rule); transform: rotate(45deg); z-index: 1; }
.x4s b { font: 500 11px var(--mono); color: #2e4d7b; }
.x4s h4 { margin-top: 10px; font-size: 15px; font-weight: 500; }
.x4s p { margin-top: 6px; font-size: 12px; line-height: 1.5; color: var(--gray); }
.x4s code { font: 11.5px var(--mono); color: var(--ink); }
@media (max-width: 980px) {
  .perm, .x4 { grid-template-columns: 1fr; gap: 18px; }
  .x4s { grid-template-columns: 1fr; }
  .x4s li { border-left: 0; border-top: 1px solid var(--rule); } .x4s li:first-child { border-top: 0; }
  .x4s li::after { display: none; }
}
.perm td.y svg { display: block; margin: 0 auto; }
/* CA pill under the hero buttons: "coming soon" until the studio saves a CA */
.capill { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding: 6px 6px 6px 14px; font-size: 12.5px; color: #fff; background: rgba(8, 22, 58, .55); border: 1px solid rgba(210, 222, 255, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); max-width: calc(100% - 32px); }
.capill .k { color: rgba(255, 255, 255, .72); font-size: 11.5px; letter-spacing: .02em; }
.capill .v { display: inline-flex; align-items: center; gap: 8px; padding-right: 8px; }
.capill .v i { width: 7px; height: 7px; background: #f0b46a; animation: soonpulse 1.6s ease-in-out infinite; }
.capill.live .v { font-family: var(--mono); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.capill.live .v i { background: #7be0a6; animation: none; }
.capill button { height: 26px; padding: 0 12px; font: 500 12px Inter, sans-serif; color: #0b1a3a; background: #f3efe4; border: 0; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .capill .v i { animation: none; } }
@media (max-width: 640px) { .capill.live .v { max-width: 180px; } }
/* topbar: CA pill and X button */
.navr { align-items: center; }
.navr .capill { margin: 0; height: 36px; padding: 0 12px; gap: 9px; font: 13px Inter, sans-serif; cursor: default; }
.navr .capill .v { padding-right: 0; }
.navr .capill.live { cursor: pointer; } .navr .capill.live:hover { border-color: rgba(230, 236, 255, .6); }
.navr .capill.live .v { font-family: var(--mono); font-size: 12px; }
.xbtn { display: grid; place-items: center; width: 36px; height: 36px; color: #fff; background: rgba(8, 22, 58, .55); border: 1px solid rgba(210, 222, 255, .28); }
.xbtn svg { width: 15px; height: 15px; fill: currentColor; }
.xbtn.off { opacity: .45; cursor: not-allowed; }
.xbtn:not(.off):hover { border-color: rgba(230, 236, 255, .6); }
@media (max-width: 1100px) { .navr .capill .k { display: none; } }
@media (max-width: 640px) { .navr .capill { display: none; } }
.nav .tabs a { white-space: nowrap; }
@media (max-width: 1340px) { .nav .tabs a[href="#measured"] { display: none; } }
@media (max-width: 1220px) { .nav .tabs a[href="#how"] { display: none; } }
/* larger marks */
.nav .logotile { width: 42px; height: 42px; } .nav .logotile img { width: 40px; height: 40px; }
.hub .paper img { width: 88% !important; height: 88% !important; }
.legal .logotile { width: 30px; height: 30px; } .legal .logotile img { width: 28px; height: 28px; }
/* topbar: every box the same 38px height, aligned */
.nav { align-items: center; }
.navr { gap: 8px; }
.navr > .capill, .navr > .xbtn, .navr > .b { box-sizing: border-box; height: 38px; }
.navr > .xbtn { width: 38px; }
.navr > .b { display: inline-flex; align-items: center; padding: 0 18px; border: 1px solid transparent; }
/* v3 band */
#v3 .v3img { margin-top: 34px; aspect-ratio: 1920 / 832; overflow: hidden; background: #031435; }
#v3 .v3img img { width: 100%; height: 100%; object-fit: cover; display: block; }
#v3 .v3facts { margin-top: 0; }
#v3 .v3facts .cell { min-height: 0; gap: 8px; }
#v3 .v3facts .k { font: 500 11px var(--mono); color: #2e4d7b; letter-spacing: .02em; text-transform: uppercase; }
#v3 .v3facts h3 { margin-top: 4px; font-size: 22px; font-weight: 400; letter-spacing: -.015em; }
#v3 .v3facts p { max-width: 340px; }
#v3 .v3facts a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
#v3 .v3cta { margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; }
#v3live:empty { display: none; } #v3live { display: block; margin-top: 8px; color: #1d5a3d; }
@media (max-width: 1340px) { .nav .tabs a[href="#v3"] { display: none; } }
.legal a.xl { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.navr .xbtn { margin-right: 2px; }
#v3 .v3cta .b:not(.dark) { border: 1px solid var(--ink); color: var(--ink); background: transparent; }
.utility { margin-top: 18px; padding: 16px 18px; border: 1px solid var(--rule); background: var(--paper); }
.utility ul { list-style: none; margin-top: 8px; display: grid; gap: 8px; font-size: 13px; line-height: 1.55; color: var(--gray); }
.utility b { color: var(--ink); font-weight: 500; }
.utility .fine { margin-top: 10px; font-size: 12px; }
.utility a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
/* pricing */
#pricing .pricing { margin-top: 30px; }
#pricing .cell { min-height: 0; gap: 10px; }
#pricing .cell h3 { margin-top: 0; font-size: 20px; font-weight: 500; }
#pricing .pr { font-size: 32px; letter-spacing: -.02em; } #pricing .pr small { font-size: 13px; color: var(--gray); }
#pricing .or { font-size: 12.5px; color: #1d5a3d; }
#pricing ul { list-style: none; display: grid; gap: 7px; font-size: 13px; color: var(--gray); line-height: 1.45; }
#pricing ul li::before { content: "✓  "; color: #23704c; }
#pricing .cell .pick { margin-top: auto; align-self: stretch; justify-content: center; text-align: center; }
#pricing .cell ul { margin-bottom: 18px; }
#pricing .cell.hl { background: var(--paper); box-shadow: inset 0 3px 0 #2e4d7b; }
@media (max-width: 1340px) { .nav .tabs a[href="#pricing"] { display: none; } }
#pricing .b.line { color: var(--ink); background: transparent; border: 1px solid var(--ink); height: 40px; }
#pricing .b.line:hover { background: var(--ink); color: #fff; }
#pricing .cell .b.dark { height: 40px; }

.migcta { grid-column: 1 / -1; margin-top: 14px; display: flex; gap: 18px; align-items: center; justify-content: space-between; padding: 16px 18px; border: 1px solid #c9a08e; background: #fbf1ec; }
.migcta b { font-weight: 600; font-size: 14px; } .migcta p { margin-top: 4px; font-size: 12.8px; color: var(--gray); line-height: 1.5; max-width: 560px; }
.migcta .b { height: 42px; flex: none; }
@media (max-width: 640px) { .migcta { flex-direction: column; align-items: stretch; } }
