/* ============ Tokens ============ */
:root {
  --bg: #0b1324;
  --bg-2: #0f1a30;
  --sky: #1a2134;
  --surface: rgba(17, 27, 49, 0.66);
  --line: rgba(150, 200, 255, 0.13);
  --line-strong: rgba(160, 225, 255, 0.28);
  --ink: #eaf2ff;
  --ink-2: #b9c7e2;
  --muted: #8394b6;
  --cyan: #7ae6ff;
  --cyan-2: #3fc4ec;
  --mint: #93f2d8;
  --warm: #ffb79c;
  --up: #7fe9b2;
  --down: #ff94a6;
  --amber: #ffd58f;
  --header-h: 68px;
  --gutter: clamp(16px, 4vw, 44px);
  --font-display: "Fredoka", "Nunito", ui-rounded, system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;
  color-scheme: dark;
}

/* ============ Base ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  margin: 0;
  background:
    radial-gradient(1100px 700px at 85% 70%, rgba(63, 196, 236, 0.07), transparent 65%),
    radial-gradient(900px 600px at 5% 120%, rgba(147, 242, 216, 0.05), transparent 60%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}
p {
  margin: 0;
}
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 8px;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
}
.skip:focus {
  top: 12px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 16px/1 var(--font-display);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.btn--primary {
  color: #062231;
  background: linear-gradient(180deg, #b4f4ff 0%, #5fd6f6 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 0 0 1px rgba(170, 240, 255, 0.5),
    0 10px 30px -6px rgba(80, 210, 245, 0.55);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 0 0 1px rgba(200, 248, 255, 0.7),
    0 14px 38px -6px rgba(90, 220, 255, 0.75);
}
.btn--ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-strong);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(190, 240, 255, 0.45);
}
.btn--small {
  height: 40px;
  padding: 0 18px;
  font-size: 15px;
}
.btn--tiny {
  height: 30px;
  padding: 0 12px;
  font-size: 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line-strong);
}
.btn--tiny:hover {
  background: rgba(255, 255, 255, 0.13);
}
.btn.is-done {
  color: var(--up);
  border-color: rgba(127, 233, 178, 0.45);
}
.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s;
}
.icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}
.icon-link {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--ink-2);
  transition:
    color 0.2s,
    background 0.2s;
}
.icon-link:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
}

/* ============ Header ============ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  transition:
    background 0.3s,
    border-color 0.3s;
}
.site-header.is-scrolled {
  background: rgba(10, 17, 33, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 600 20px/1 var(--font-display);
  letter-spacing: 0.01em;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow:
    0 0 0 1.5px rgba(190, 245, 255, 0.6),
    0 0 16px rgba(110, 220, 255, 0.45);
}
.site-nav {
  display: flex;
  gap: 6px;
}
.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition:
    color 0.2s,
    background 0.2s;
}
.site-nav a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}
.site-header__end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
}
.site-header__end .btn {
  margin-left: 8px;
}

/* ============ Hero / scene ============ */
.hero {
  position: relative;
}
.scene {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background: var(--sky);
  isolation: isolate;
}
.stage {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 0;
  will-change: transform;
}
.stage__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
}
/* blends the top edge of the artwork into the plain sky when the phone layout shows sky above it */
.stage::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 22%;
  z-index: 2;
  background: linear-gradient(to bottom, var(--sky) 0%, rgba(26, 33, 52, 0) 100%);
  display: none;
}
.scene[data-mode="tall"] .stage::after {
  display: block;
}
.fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
/* darkens the sky behind the text on wide screens */
.scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(55% 75% at 12% 42%, rgba(7, 12, 26, 0.5), rgba(7, 12, 26, 0) 70%);
}
.scene[data-mode="tall"]::before {
  background: linear-gradient(to bottom, rgba(7, 12, 26, 0.35), rgba(7, 12, 26, 0) 35%);
}
/* fades the bottom of the scene into the page */
.scene::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 26%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(11, 19, 36, 0), var(--bg) 96%);
}
.orbs {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.hero__title {
  position: absolute;
  z-index: 5;
  top: calc(var(--header-h) + 8vh);
  left: var(--gutter);
  width: min(560px, 40vw);
  line-height: 0;
  pointer-events: none;
}
.hero__title img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 14px rgba(140, 225, 255, 0.35)) drop-shadow(0 10px 30px rgba(0, 6, 20, 0.55));
  animation: float 7s ease-in-out infinite;
}

.hero__copy {
  position: absolute;
  z-index: 5;
  left: var(--gutter);
  top: calc(var(--header-h) + 8vh + min(169px, 12.05vw) + 22px);
  width: min(470px, 38vw);
}
.hero__lead {
  font-size: clamp(17px, 1.3vw, 19.5px);
  line-height: 1.55;
  color: var(--ink);
  text-shadow: 0 2px 18px rgba(4, 9, 22, 0.85);
}
.hero__hint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: var(--cyan);
  font-weight: 700;
  font-size: 15px;
  text-shadow: 0 2px 14px rgba(4, 9, 22, 0.9);
}
.hint-dot {
  position: relative;
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}
.hint-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid var(--cyan);
  animation: ring 2.4s ease-out infinite;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.ca {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(10, 18, 34, 0.55);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 14px;
}
.ca:has(.ca__copy:not([hidden])) {
  padding-right: 6px;
}
.ca__label {
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.1em;
}
.ca__value {
  font-family: var(--font-mono);
  color: var(--ink-2);
  font-size: 13.5px;
}

.hero__stats {
  position: absolute;
  z-index: 5;
  right: var(--gutter);
  bottom: clamp(18px, 4.5vh, 44px);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  margin: 0;
  padding: 14px 6px;
  border-radius: 20px;
  background: rgba(10, 17, 33, 0.6);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
}
.stats > div {
  padding: 2px 20px;
  border-left: 1px solid var(--line);
}
.stats > div:first-child {
  border-left: 0;
}
.stats dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.stats dd {
  margin: 2px 0 0;
  font: 600 23px/1.2 var(--font-display);
  font-variant-numeric: tabular-nums;
}
.demo-badge {
  position: absolute;
  top: -11px;
  right: 18px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--amber);
  background: #2a2618;
  border: 1px solid rgba(255, 213, 143, 0.4);
}

/* hero entrance */
.hero__title,
.hero__copy,
.hero__stats {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.is-ready .hero__title,
.is-ready .hero__copy,
.is-ready .hero__stats {
  opacity: 1;
  transform: none;
}
.is-ready .hero__copy {
  transition-delay: 0.15s;
}
.is-ready .hero__stats {
  transition-delay: 0.45s;
}

/* ============ Orbs ============ */
.orb {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(var(--r, 20px) * 2);
  height: calc(var(--r, 20px) * 2);
  margin: calc(var(--r, 20px) * -1) 0 0 calc(var(--r, 20px) * -1);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  pointer-events: auto;
  visibility: hidden;
  will-change: transform, opacity;
  -webkit-tap-highlight-color: transparent;
}
/* bigger hit area than the visible orb */
.orb::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
}
.orb:focus-visible {
  outline-offset: 8px;
  border-radius: 50%;
}
.orb__body {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.orb:hover .orb__body,
.orb.is-hover .orb__body,
.orb:focus-visible .orb__body {
  transform: scale(1.14);
}
.orb.is-active .orb__body {
  transform: scale(1.2);
}
.orb__glow {
  position: absolute;
  inset: -60%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(120, 228, 255, 0.4) 0%,
    rgba(80, 205, 255, 0.15) 36%,
    rgba(80, 205, 255, 0) 68%
  );
  animation: breathe 3.6s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -0.7s);
}
.orb__logo {
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  overflow: hidden;
  opacity: 0.88;
}
.orb__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.orb__glass {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle at 33% 27%,
    rgba(255, 255, 255, 0.95) 0 4.5%,
    rgba(235, 252, 255, 0.45) 7.5%,
    rgba(170, 240, 255, 0.1) 22%,
    rgba(40, 160, 220, 0.08) 56%,
    rgba(110, 225, 255, 0.5) 88%,
    rgba(195, 248, 255, 0.85) 100%
  );
  box-shadow:
    0 0 0 1.5px rgba(185, 245, 255, 0.85),
    0 0 10px 2px rgba(95, 215, 255, 0.7),
    0 0 26px 6px rgba(60, 190, 255, 0.26),
    inset 0 0 9px 2px rgba(150, 235, 255, 0.55);
  transition: box-shadow 0.3s ease;
}
.orb:hover .orb__glass,
.orb.is-hover .orb__glass,
.orb.is-active .orb__glass,
.orb:focus-visible .orb__glass {
  box-shadow:
    0 0 0 2px rgba(225, 252, 255, 0.95),
    0 0 14px 4px rgba(110, 225, 255, 0.85),
    0 0 42px 10px rgba(70, 200, 255, 0.36),
    inset 0 0 12px 3px rgba(170, 240, 255, 0.7);
}
.orb::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid rgba(180, 242, 255, 0.7);
  opacity: 0;
  pointer-events: none;
}
.scene.is-fresh .orb::after {
  animation: ring 3.2s ease-out infinite;
  animation-delay: calc(var(--i, 0) * 0.3s + 2.2s);
}
.orb.is-active::after {
  animation: ring 1.8s ease-out infinite;
  animation-delay: 0s;
}
.orb__tag {
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  transform: translateX(-50%);
  display: flex;
  align-items: baseline;
  gap: 6px;
  font: 600 11.5px/1 var(--font-display);
  letter-spacing: 0.07em;
  color: rgba(225, 246, 255, 0.9);
  text-shadow: 0 1px 8px rgba(0, 8, 24, 0.95);
  white-space: nowrap;
  pointer-events: none;
}
.orb__more {
  display: none;
  color: var(--cyan);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.orb:hover .orb__more,
.orb.is-hover .orb__more,
.orb.is-active .orb__more,
.orb:focus-visible .orb__more {
  display: inline;
}
.scene[data-mode="tall"] .orb__tag {
  display: none;
}
.scene[data-mode="tall"] .orb.is-active .orb__tag {
  display: flex;
}

/* ============ Sections ============ */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) var(--gutter) 0;
}
.section__head {
  display: grid;
  gap: 14px;
  margin-bottom: 40px;
}
.section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.eyebrow {
  font: 600 13px/1 var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}
.section h2 {
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.08;
  max-width: 20ch;
  margin-top: 4px;
}
.section__lead {
  max-width: 58ch;
  color: var(--ink-2);
  font-size: 18px;
}

/* steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step {
  position: relative;
  padding: 26px 24px 24px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.step__num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 50%;
  font: 600 18px/1 var(--font-display);
  color: #e9fbff;
  background: radial-gradient(circle at 50% 40%, rgba(120, 225, 255, 0.28) 0%, rgba(30, 120, 180, 0.35) 70%);
  box-shadow:
    0 0 0 1.5px rgba(185, 245, 255, 0.75),
    0 0 18px rgba(90, 210, 255, 0.45);
}
.step h3 {
  font-size: 21px;
  margin-bottom: 8px;
}
.step p {
  color: var(--ink-2);
}

/* split */
.split {
  margin-top: 56px;
}
.split__bar {
  display: flex;
  gap: 5px;
  height: 58px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
.split__seg {
  display: flex;
  align-items: center;
  padding: 0 20px;
  border-radius: 999px;
  font: 700 17px/1 var(--font-display);
  color: #071a26;
  min-width: 0;
}
.split__seg--vault {
  background: linear-gradient(90deg, #66d8f8, #a9f0ff);
  box-shadow: 0 0 24px rgba(102, 216, 248, 0.35);
}
.split__seg--burn {
  background: linear-gradient(90deg, #ff9f8f, #ffcaa3);
  box-shadow: 0 0 24px rgba(255, 170, 150, 0.25);
}
.split__seg--reserve {
  background: linear-gradient(90deg, #6fe0c0, #b6f8e4);
  box-shadow: 0 0 24px rgba(111, 224, 192, 0.25);
}
.split__cards {
  display: grid;
  grid-template-columns: 5fr 3fr 2.4fr;
  gap: 16px;
  margin-top: 16px;
}
.split-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
}
.split-card--vault {
  --accent: #7ae6ff;
}
.split-card--burn {
  --accent: #ffb79c;
}
.split-card--reserve {
  --accent: #93f2d8;
}
.split-card__top {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.split-card__pct {
  font: 700 34px/1 var(--font-display);
  color: var(--accent);
}
.split-card h3 {
  font-size: 20px;
}
.split-card p {
  color: var(--ink-2);
}
.split-card__live {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  font: 600 22px/1.25 var(--font-display);
  font-variant-numeric: tabular-nums;
}
.split-card__live small {
  display: block;
  font: 600 13.5px/1.4 var(--font-body);
  color: var(--muted);
}

/* index table */
.index__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 15px;
}
.index__meta b {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
}
.pill {
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
}
.table-wrap {
  overflow-x: auto;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.tokens {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
}
.tokens th {
  padding: 16px 18px;
  text-align: left;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.tokens td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.tokens tbody tr {
  cursor: pointer;
  transition: background 0.2s;
}
.tokens tbody tr:last-child td {
  border-bottom: 0;
}
.tokens tbody tr:hover,
.tokens tbody tr:focus-visible {
  background: rgba(122, 230, 255, 0.06);
  outline: none;
}
.tokens tbody tr.is-active {
  background: rgba(122, 230, 255, 0.1);
  box-shadow: inset 3px 0 0 var(--cyan);
}
.tokens .num,
.tokens th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.t-token {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 150px;
}
.t-token img {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow:
    0 0 0 1.5px rgba(185, 245, 255, 0.55),
    0 0 12px rgba(90, 210, 255, 0.35);
}
.t-token b {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16.5px;
  line-height: 1.2;
}
.t-token small {
  color: var(--muted);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.04em;
}
.t-weight,
.tokens th.t-weight-h {
  text-align: right;
}
.t-weight {
  white-space: nowrap;
}
.t-weight .bar {
  display: inline-block;
  vertical-align: middle;
  width: 64px;
  margin: 0 10px 0 0;
}
.t-weight .num {
  display: inline-block;
  min-width: 48px;
}
.up {
  color: var(--up);
}
.down {
  color: var(--down);
}
.note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.bar--thin {
  height: 6px;
}
.bar > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan-2), var(--cyan));
  box-shadow: 0 0 12px rgba(122, 230, 255, 0.6);
}

/* ============ Footer ============ */
.site-footer {
  max-width: 1180px;
  margin: clamp(80px, 10vw, 140px) auto 0;
  padding: 32px var(--gutter) 40px;
  border-top: 1px solid var(--line);
}
.site-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}
.site-footer nav a {
  color: var(--ink-2);
  font-weight: 700;
  text-decoration: none;
}
.site-footer nav a:hover {
  color: var(--ink);
}
.disclaimer {
  margin-top: 22px;
  max-width: 70ch;
  color: var(--muted);
  font-size: 14px;
}
.copyright {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

/* ============ Panel ============ */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(3, 7, 18, 0.55);
  opacity: 0;
  transition: opacity 0.3s;
  display: none;
}
.scrim.is-open {
  opacity: 1;
}
.panel {
  position: fixed;
  z-index: 50;
  top: calc(var(--header-h) + 14px);
  left: 20px;
  width: min(410px, calc(100vw - 40px));
  max-height: calc(100vh - var(--header-h) - 34px);
  max-height: calc(100svh - var(--header-h) - 34px);
  display: flex;
  opacity: 0;
  transform: translateX(-30px);
  transition:
    opacity 0.3s ease,
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.panel.is-open {
  opacity: 1;
  transform: none;
}
.panel__inner {
  flex: 1;
  overflow: auto;
  padding: 22px;
  border-radius: 26px;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(80, 200, 255, 0.12), transparent 60%),
    rgba(13, 21, 40, 0.94);
  border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(80, 200, 255, 0.08);
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(160, 225, 255, 0.25) transparent;
}
.panel__head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.panel__logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow:
    0 0 0 2px rgba(190, 245, 255, 0.7),
    0 0 22px rgba(90, 210, 255, 0.5);
}
.panel__name {
  min-width: 0;
}
.panel__name h2 {
  font-size: 25px;
  line-height: 1.1;
}
.panel__sym {
  color: var(--muted);
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: 0.05em;
}
.panel__close {
  margin-left: auto;
}
.panel__weight {
  margin-top: 18px;
}
.panel__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  color: var(--ink-2);
  font-size: 14.5px;
}
.panel__row b {
  color: var(--ink);
  font: 600 17px/1 var(--font-display);
}
.panel__weight .bar {
  margin-top: 9px;
}
.panel__value {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(122, 230, 255, 0.15), transparent 60%),
    rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}
.label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.panel__value strong {
  display: block;
  margin-top: 4px;
  font: 600 33px/1.1 var(--font-display);
  font-variant-numeric: tabular-nums;
}
.panel__value .sub {
  color: var(--ink-2);
  font-weight: 700;
}
.panel__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 10px 0 0;
}
.panel__grid > div {
  padding: 10px 13px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}
.panel__grid dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.panel__grid dd {
  margin: 4px 0 0;
  font: 600 17.5px/1.25 var(--font-display);
  font-variant-numeric: tabular-nums;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}
.panel__grid .hint {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}
.chip {
  padding: 2px 7px;
  border-radius: 999px;
  font: 700 12px/1.3 var(--font-body);
  background: rgba(255, 255, 255, 0.07);
}
.chip.up {
  background: rgba(127, 233, 178, 0.13);
}
.chip.down {
  background: rgba(255, 148, 166, 0.13);
}
.panel__contract {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 10px 10px 10px 14px;
  border-radius: 15px;
  border: 1px dashed var(--line-strong);
}
.panel__contract .label {
  flex: none;
}
.panel__contract code {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--ink);
}
.panel__links {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.panel__links a {
  flex: 1;
  padding: 10px;
  border-radius: 14px;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}
.panel__links a:hover {
  background: rgba(255, 255, 255, 0.1);
}
.panel__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}
.panel__nav .btn {
  width: 52px;
  padding: 0;
  font-size: 18px;
}
.panel__demo {
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255, 213, 143, 0.07);
  border: 1px solid rgba(255, 213, 143, 0.2);
  color: var(--amber);
  font-size: 13px;
  text-align: center;
}

/* ============ Animations ============ */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}
@keyframes breathe {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}
@keyframes ring {
  0% {
    transform: scale(1);
    opacity: 0.85;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .stats > div {
    padding: 2px 14px;
  }
  .stats dd {
    font-size: 20px;
  }
  .split__cards {
    grid-template-columns: 1fr 1fr;
  }
  .split-card--vault {
    grid-column: 1 / -1;
  }
}
@media (max-width: 900px) {
  .hide-md {
    display: none;
  }
  .steps {
    grid-template-columns: 1fr;
  }
}

/* Phone / portrait: title over the scene, text and stats below it */
@media (orientation: portrait), (max-height: 540px) {
  .scene {
    height: min(100svh, 940px);
    min-height: 540px;
  }
  .hero__title {
    top: calc(var(--header-h) + 10px);
    left: 50%;
    width: min(84vw, 440px);
    margin-left: calc(min(84vw, 440px) / -2);
  }
  .hero__copy,
  .hero__stats {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: auto;
  }
  .hero__copy {
    margin-top: -24px;
    padding: 0 var(--gutter);
    text-align: center;
  }
  .hero__lead {
    max-width: 34em;
    margin: 0 auto;
  }
  .hero__hint {
    justify-content: center;
  }
  .hero__actions {
    justify-content: center;
  }
  .hero__actions .btn {
    flex: 1 1 160px;
    max-width: 260px;
  }
  .ca {
    margin-left: auto;
    margin-right: auto;
  }
  .hero__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero__stats {
    margin: 32px var(--gutter) 0;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    padding: 6px;
  }
  .stats > div {
    padding: 14px 16px;
    border-left: 0;
  }
  .stats > div:nth-child(even) {
    border-left: 1px solid var(--line);
  }
  .stats > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}
@media (orientation: landscape) and (max-height: 540px) {
  .hero__title {
    left: var(--gutter);
    margin-left: 0;
    width: min(40vw, 380px);
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 60px;
  }
  .site-nav,
  .icon-link {
    display: none;
  }
  .brand span {
    font-size: 18px;
  }
  .split__bar {
    height: 50px;
  }
  .split__seg {
    padding: 0 12px;
    font-size: 15px;
  }
  .split__cards {
    grid-template-columns: 1fr;
  }
  .section__head {
    margin-bottom: 28px;
  }
}
@media (max-width: 640px) {
  .hide-sm {
    display: none;
  }
  .tokens th,
  .tokens td {
    padding: 13px 12px;
  }
  .t-weight .bar {
    display: none;
  }
  .scrim {
    display: block;
  }
  .panel {
    top: auto;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    max-height: 88svh;
    transform: translateY(100%);
  }
  .panel.is-open {
    transform: none;
  }
  .panel__inner {
    background:
      radial-gradient(120% 50% at 100% 0%, rgba(80, 200, 255, 0.12), transparent 60%),
      #0e172b;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-radius: 26px 26px 0 0;
    border-bottom: 0;
    padding: 16px 18px calc(18px + env(safe-area-inset-bottom));
  }
  .panel__inner::before {
    content: "";
    display: block;
    width: 44px;
    height: 5px;
    margin: 0 auto 14px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.2);
  }
  .panel__value strong {
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
