/* Kryonark · built 1:1 from the 736px design, measured at 1440 (x1.957). Desktop values are exact; smaller screens reflow. */
:root {
  --bg: #060910;
  --panel: #0f1821;
  --panel-b: #0d141d;
  --mini: #121a24;
  --field: #09101a;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.13);
  --fg: #f4f7fa;
  --pale: #c3d6e3;
  --body: #9aa6b3;
  --dim: #7f8b98;
  --faint: #56616d;
  --fire: #fb6a2a;
  --ok: #6fcf9b;
  --held: #8daec1;
  --owed: #2b353f;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --sans: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: 49px;
}
* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
.mono { font-family: var(--mono); }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font: 500 10.5px/1 var(--mono); letter-spacing: 0.24em; text-transform: uppercase; color: #a8b2bd; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 47px; padding: 0 22px; border-radius: 999px; font: 500 14px/1 var(--sans); letter-spacing: -0.005em; white-space: nowrap; cursor: pointer; border: 1px solid transparent; transition: background 0.2s, border-color 0.2s; }
.btn.ghost { border-color: var(--line-2); background: #091018; color: var(--fg); }
.btn.ghost:hover { border-color: rgba(255, 255, 255, 0.26); }
.btn.soft { background: #1b222a; color: var(--fg); }
.btn.soft:hover { background: #232b34; }
.btn.fire { background: var(--fire); color: #1a0a03; font-weight: 500; }
.btn.fire:hover { background: #ff7a3f; }
.btn.sm { height: 40px; padding: 0 20px; font-size: 13px; }

/* ---------- hero: the background is the design's own sky (assets/scene-bg, cube and text removed); the cube is 3D (cube3d.js) ---------- */
.hero { position: relative; overflow: hidden; overflow: clip; height: 940px; background: var(--bg) url("scene-bg.jpg") center top / 1440px auto no-repeat; background-image: image-set(url("scene-bg.webp") type("image/webp") 1x, url("scene-bg@2x.webp") type("image/webp") 2x, url("scene-bg.jpg") 1x, url("scene-bg@2x.jpg") 2x); }
.hero::before, .hero::after { content: ""; position: absolute; top: 0; height: 798px; width: calc((100% - 1440px) / 2 + 2px); pointer-events: none; }
.hero::before { left: 0; background: linear-gradient(90deg, var(--bg), #050c14); }
.hero::after { right: 0; background: linear-gradient(270deg, var(--bg), #060d15); }

/* the cube: a 1440x798 frame laid exactly over the plate; the canvas draws the 3D cube, the image is the static fallback */
.scene { position: absolute; top: 0; left: calc(50% - 720px); width: 1440px; height: 798px; pointer-events: none; z-index: 0; transform-origin: 0 0; }
.cube-still { position: absolute; left: 528.3px; top: 144.8px; width: 622.2px; height: 622.2px; transition: opacity 0.6s; }
.cube-still.off { opacity: 0; }
.cube3d { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.6s; }
.cube3d.on { opacity: 1; }
.nav { position: relative; z-index: 2; display: flex; align-items: center; height: 80px; padding-top: 0; }
.brand { display: flex; align-items: center; gap: 15px; font: 600 17px/1 var(--display); letter-spacing: -0.015em; margin-right: 49px; }
.brand img { width: 34px; height: 34px; margin: -4px -3px -4px -4px; object-fit: contain; display: block; }
.links { display: flex; gap: 29px; list-style: none; margin: 0; padding: 0; }
.links a { position: relative; font-size: 14.6px; font-weight: 500; letter-spacing: -0.012em; color: #a9b3be; transition: color 0.2s; }
.links a:hover, .links a.on { color: var(--fg); }
.links a.on::after { content: ""; position: absolute; left: 50%; top: 24px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--fire); }
.nav-r { margin-left: auto; display: flex; gap: 13px; }
.nav-r .btn { height: 41px; font-size: 13.5px; font-weight: 500; }
.nav-r .ghost { width: 132px; padding: 0; }
.nav-r .fire { width: 145px; padding: 0; }

.attest { position: absolute; z-index: 2; left: calc(50% + 169px); top: 125px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 15px; border-radius: 999px; background: #0f1b22; font: 400 13.1px/1 var(--mono); color: #c3ccd5; white-space: nowrap; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #3fd17f; box-shadow: 0 0 6px rgba(63, 209, 127, 0.7); }

.hero-body { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; padding-top: 477px; height: 724px; }
.hero h1 { margin: 0; font: 600 111.5px/109px var(--display); letter-spacing: -0.034em; color: #f4f7fa; white-space: nowrap; }
.hero h1 span { color: var(--pale); }
.hero-side { width: 398px; margin-top: 41px; }
.hero-side p { margin: 0 0 28px; font-size: 16.4px; line-height: 28px; letter-spacing: -0.012em; color: #a1adb9; }
.hero-cta { display: flex; gap: 11px; }
.hero-cta .soft { width: 192px; padding: 0; }
.hero-cta .ghost { width: 147px; padding: 0; }

.stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); height: 96px; }
.stats::before { content: ""; position: absolute; inset: 0 var(--gutter); border: 1px solid var(--line); border-radius: 13px; background: #0a111b; z-index: -1; }
.stats > div { padding: 24px 28px 0; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; }
.stats b { display: block; font: 500 27px/1 var(--mono); letter-spacing: -0.01em; color: #eef2f6; }
.stats span { display: block; margin-top: 9px; font-size: 12px; color: var(--dim); }

/* ---------- trusted ---------- */
.trusted-band { border-bottom: 1px solid var(--line); }
.trusted { display: flex; align-items: center; height: 130px; }
.trusted .eyebrow { flex: none; width: 178px; padding-left: 16px; font-size: 10px; color: #7a8591; }
.trusted ul { flex: 1; display: flex; justify-content: space-between; align-items: center; list-style: none; margin: 0; padding: 0 15px 0 0; }
.trusted li { display: flex; align-items: center; gap: 10px; font: 500 21.5px/1 var(--display); letter-spacing: -0.028em; color: #dde3e9; white-space: nowrap; }
.trusted li img { width: 24px; height: 24px; flex: none; display: block; object-fit: contain; }

/* ---------- proof ---------- */
.proof { display: grid; grid-template-columns: 470px 1fr; gap: 64px; padding-top: 123px; padding-bottom: 67px; }
.proof h2 { margin: 13px 0 0; font: 600 78.3px/77px var(--display); letter-spacing: -0.012em; color: #f4f7fa; }
.proof h2 span { color: var(--pale); }
.proof-l > p { margin: 33px 0 0; font-size: 16.7px; line-height: 29.5px; letter-spacing: -0.012em; color: #a1adb9; max-width: 462px; }
.mini { background: var(--mini); border: 1px solid var(--line); border-radius: 13px; padding: 17px 22px 0; height: 86px; margin-top: 29px; }
.mini-row { display: flex; justify-content: space-between; align-items: baseline; }
.mini small { font-size: 11.5px; color: var(--dim); }
.mini .big { margin-top: 8px; font-size: 23px; color: #eef2f6; letter-spacing: 0.005em; }
.mini.auditor { display: flex; align-items: center; justify-content: space-between; height: 79px; margin-top: 21px; padding: 0 22px; background: var(--panel-b); }
.mini.auditor small { display: block; margin-bottom: 5px; }
.mini.auditor b { font: 600 16.5px/1.2 var(--sans); letter-spacing: -0.01em; }
.mini.auditor .btn { width: 118px; padding: 0; background: transparent; }

.proof-r { display: grid; gap: 20px 0; align-content: start; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; }
.panel h3 { margin: 0; font: 600 18.8px/1.25 var(--sans); letter-spacing: -0.012em; }
.panel header small { color: var(--dim); font-size: 12.5px; }

.reserves { height: 515px; padding: 26px 31px 0; }
.reserves header { display: flex; justify-content: space-between; align-items: flex-start; }
.reserves header small { display: block; margin-top: 8px; }
.ratio { text-align: right; margin-top: -2px; }
.ratio b { display: block; font: 500 64px/1 var(--mono); letter-spacing: -0.045em; margin-right: -2px; }
.ok { display: inline-flex; align-items: center; gap: 7px; margin-top: 11px; height: 26px; padding: 0 12px; border-radius: 999px; background: rgba(84, 201, 135, 0.1); color: var(--ok); font-size: 11.5px; font-weight: 500; }
.ok i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.legend { display: flex; gap: 22px; margin: 17px 0 13px; font-size: 11.5px; color: var(--dim); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 9px; height: 9px; border-radius: 2px; }
.legend .held { background: #d9e4ec; }
.legend .owed { background: var(--owed); }
.assets { list-style: none; margin: 0; padding: 0; }
.assets li { display: grid; grid-template-columns: 171px 434px 1fr; align-items: center; height: 78px; border-top: 1px solid var(--line); }
.asset { display: flex; align-items: center; gap: 14px; }
.coin { width: 33px; height: 33px; border-radius: 50%; display: grid; place-items: center; font: 600 11.5px/1 var(--sans); color: #20150a; }
.asset b { display: block; font: 600 15.8px/1.2 var(--sans); letter-spacing: -0.01em; }
.asset small { display: block; font-size: 12px; color: var(--dim); margin-top: 2px; }
.track .h, .track .o { height: 5px; border-radius: 99px; }
.track .h { background: var(--held); }
.track .o { margin-top: 6px; background: var(--owed); }
.track .lbl { display: flex; justify-content: space-between; margin-top: 11px; font: 400 11.5px/1 var(--mono); color: var(--dim); }
.pct { text-align: right; font: 400 19px/1 var(--mono); color: var(--ok); }

.pair { display: grid; grid-template-columns: 425px 1fr; gap: 15px; }
.att, .cold { height: 145px; padding: 19px 26px 0; }
.att header small { margin-right: 31px; }
.att header, .cold header { display: flex; justify-content: space-between; align-items: baseline; }
.att header small, .cold header small { font-size: 12px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 57px; margin-top: 20px; }
.bars i { flex: 1; border-radius: 2px; background: #7d9cad; }
.bars i.now { background: var(--fire); }
.split { display: flex; height: 12px; margin-top: 14px; border-radius: 99px; overflow: hidden; background: var(--owed); }
.split i:first-child { background: linear-gradient(90deg, #7d9cad, #d9e4ec); }
.split i:last-child { flex: 1; background: var(--fire); }
.split-l { display: flex; justify-content: space-between; margin-top: 14px; font-size: 14px; }
.split-l em { font-style: normal; color: var(--dim); }

.verify { height: 203px; padding: 22px 25px 0; background: var(--panel-b); }
.verify form { display: flex; gap: 13px; }
.field { flex: 1; display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 18px; border-radius: 11px; background: var(--field); border: 1px solid var(--line); }
.field:focus-within { border-color: rgba(251, 106, 42, 0.55); }
.field span { font: 500 10px/1 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint); }
.field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 500 17px/1 var(--mono); letter-spacing: 0.02em; }
.verify .btn.fire { width: 171px; height: 54px; padding: 0; border-radius: 11px; font-size: 14.5px; }
.result { display: flex; align-items: center; gap: 15px; margin-top: 21px; height: 62px; padding: 0 18px; border-radius: 11px; background: #102426; border: 1px solid rgba(111, 207, 155, 0.14); transition: opacity 0.3s; }
.result.busy { opacity: 0.4; }
.result.bad { background: rgba(255, 107, 114, 0.07); border-color: rgba(255, 107, 114, 0.2); }
.result.bad .tick { background: #ff6b72; }
.tick { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #51aa77; color: #062012; }
.result p { margin: 0; font-size: 13.9px; color: #c4cdd5; }
.result b { color: #fff; font-weight: 600; }
.result code { font: 500 13px var(--mono); color: #fff; }

/* ---------- below 1440: same layout, scaled plate; then reflow ---------- */
@media (max-width: 1439px) {
  .hero { background-size: 1440px auto; }
}
@media (max-width: 1200px) {
  .hero h1 { font-size: 96px; line-height: 88px; }
  .hero-body { padding-top: 500px; }
  .proof { grid-template-columns: 1fr; gap: 48px; }
  .trusted li { font-size: 16px; }
  .reserves, .att, .cold, .verify, .mini, .mini.auditor { height: auto; padding-bottom: 24px; }
  .mini.auditor { padding: 18px 22px; }
  .assets li { grid-template-columns: 171px 1fr 120px; gap: 0 16px; }
  .pair { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --gutter: 24px; }
  .links { display: none; }
  .hero { height: auto; background-size: 1100px auto; background-position: 62% top; padding-bottom: 32px; }
  .scene { left: calc((100% - 1100px) * 0.62); transform: scale(0.76389); }
  .attest { left: 50%; top: 96px; }
  .hero-body { flex-direction: column; height: auto; padding-top: 440px; gap: 26px; }
  .hero h1 { font-size: 72px; line-height: 66px; white-space: normal; }
  .hero-side { margin-top: 0; width: 100%; max-width: 460px; }
  .stats { height: auto; grid-template-columns: 1fr 1fr; margin-top: 32px; }
  .stats > div { padding: 20px 22px; }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .trusted { flex-direction: column; align-items: flex-start; height: auto; padding-top: 36px; padding-bottom: 36px; gap: 22px; }
  .trusted .eyebrow { padding-left: 0; }
  .trusted ul { flex-wrap: wrap; justify-content: flex-start; gap: 16px 28px; padding: 0; }
  .proof { padding-top: 72px; }
  .proof h2 { font-size: 68px; line-height: 60px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .nav-r .ghost { display: none; }
  .hero { background-size: 860px auto; }
  .scene { left: calc((100% - 860px) * 0.62); transform: scale(0.59722); }
  .attest { top: 84px; font-size: 11px; }
  .hero-body { padding-top: 360px; }
  .hero h1 { font-size: 50px; line-height: 50px; letter-spacing: -0.034em; }
  .hero-cta .soft, .hero-cta .ghost { width: auto; padding: 0 18px; }
  .stats b { font-size: 18px; white-space: nowrap; }
  .field { flex-direction: column; align-items: stretch; justify-content: center; gap: 7px; height: auto; padding: 11px 14px 12px; }
  .field span { font-size: 9px; letter-spacing: 0.18em; }
  .field input { font-size: 14px; }
  .proof h2 { font-size: 54px; line-height: 50px; }
  .reserves { padding: 22px 18px 14px; }
  .reserves header { flex-direction: column; gap: 14px; }
  .ratio { text-align: left; }
  .ratio b { font-size: 54px; }
  .assets li { grid-template-columns: 1fr auto; height: auto; padding: 16px 0; row-gap: 12px; }
  .assets .track { grid-column: 1 / -1; grid-row: 2; }
  .pair { grid-template-columns: 1fr; }
  .att header small { margin-right: 0; white-space: nowrap; }
  .att header h3 { font-size: 16.5px; }
  .verify form { flex-direction: column; }
  .verify .btn.fire { width: 100%; }
  .result { height: auto; padding: 14px; }
  .mini .big { font-size: 16px; }
}

/* ---------- network logos ---------- */
.has-chains { position: relative; }
.chains { position: absolute; right: 24px; bottom: 19px; display: flex; font-style: normal; }
.chains img { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: #0d1520; border: 1px solid rgba(255, 255, 255, 0.09); margin-left: -5px; object-fit: contain; display: block; }
.chains img:first-child { margin-left: 0; }
.coin.logo { position: relative; background: #0b121b; border: 1px solid rgba(255, 255, 255, 0.08); padding: 6px; overflow: visible; }
.coin.logo > img:not(.net) { width: 100%; height: 100%; object-fit: contain; display: block; }
.coin.logo > img.net { position: absolute; right: -5px; bottom: -4px; width: 17px; height: 17px; padding: 2px; border-radius: 50%; background: #0b121b; border: 1px solid rgba(255, 255, 255, 0.14); object-fit: contain; display: block; box-sizing: border-box; }
.lbl .stk { display: inline-flex; align-items: center; gap: 5px; }
.lbl .stk img { width: 12px; height: 12px; object-fit: contain; display: block; }
@media (max-width: 1200px) { .chains { position: static; margin-top: 10px; } .stats { height: auto; } .stats > div { padding-bottom: 18px; } }
@media (max-width: 960px) {
  .chains { position: static; transform: none; margin-top: 12px; }
  .trusted li img { width: 20px; height: 20px; }
}
@media (max-width: 640px) {
  .trusted ul { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; width: 100%; }
  .trusted li { font-size: 16px; min-width: 0; }
}

/* ---------- token contract chip (shown once the CA is saved in /studio) ---------- */
.ca-chip { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; max-width: 100%; padding: 5px 5px 5px 14px; border-radius: 999px; background: rgba(9, 15, 23, 0.8); border: 1px solid var(--line-2); font-size: 13px; }
.ca-chip[hidden] { display: none; }
.ca-chip .ca-tick { font-weight: 600; color: #fff; white-space: nowrap; }
.ca-chip code { font: 400 12.5px var(--mono); color: #c4cdd5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ca-chip button, .ca-chip a { border: 0; border-radius: 999px; height: 30px; padding: 0 12px; display: inline-flex; align-items: center; font: 600 12.5px/1 var(--sans); cursor: pointer; white-space: nowrap; }
.ca-chip button { background: rgba(255, 255, 255, 0.1); color: #fff; }
.ca-chip a { background: var(--fire); color: #1a0a03; }
