:root {
  --forest-ink: #001f19;
  --forest-deep: #002d24;
  --forest: #003c2f;
  --bone: #f5e5bd;
  --bone-soft: #e8d8b0;
  --bone-dim: #cbbd98;
  --ember: #ff4b16;
  --cobalt: #0649d8;
  --line: rgba(245, 229, 189, 0.24);
  --line-soft: rgba(245, 229, 189, 0.12);
  --ink-line: rgba(0, 31, 25, 0.24);
  --display: Georgia, "Times New Roman", serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: dark;
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: geometricPrecision;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--forest-ink);
}

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(245, 229, 189, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 229, 189, 0.018) 1px, transparent 1px),
    var(--forest-ink);
  background-size: 56px 56px;
  color: var(--bone);
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 16% 4%, rgba(6, 73, 216, 0.11), transparent 32%),
    radial-gradient(circle at 88% 22%, rgba(255, 75, 22, 0.06), transparent 27%);
  content: "";
  pointer-events: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--bone);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 11px 15px;
  transform: translateY(-150%);
  border: 1px solid var(--bone);
  background: var(--forest-ink);
  font-family: var(--mono);
  font-size: 12px;
  text-decoration: none;
}

.skip-link:focus {
  transform: none;
}

.screen-texture {
  position: fixed;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.045;
  pointer-events: none;
}

.screen-texture rect {
  fill: var(--bone);
}

.vault-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  min-height: 82px;
  padding: 0 clamp(18px, 3vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(0, 31, 25, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 44px;
  width: fit-content;
  min-width: 0;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border: 1px solid rgba(245, 229, 189, 0.24);
  object-fit: cover;
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-copy strong {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
}

.brand-copy small,
.eyebrow,
.micro-label,
.panel-label,
.dark-label,
.sync-state,
.epoch-state,
.position-address,
.data-strip dt,
.data-strip span,
.epoch-meta dt,
.mechanism-list > li > span,
thead,
.vault-footer,
.read-only-note,
.share-ramp-heading,
.share-comparison span,
.share-comparison small,
.position-metrics dt,
.proof-scale,
.header-context {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.45;
  text-transform: uppercase;
}

.brand-copy small {
  color: rgba(245, 229, 189, 0.7);
  font-size: 7px;
}

.header-context {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: rgba(245, 229, 189, 0.7);
  white-space: nowrap;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 4px rgba(255, 75, 22, 0.1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 9px;
}

.wallet-link,
.connect-button,
.primary-action,
.network-banner button,
.account-menu button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.wallet-link {
  padding: 0 16px;
  color: rgba(245, 229, 189, 0.72);
}

.wallet-link span,
.connect-button span:last-child,
.primary-action span {
  margin-left: 9px;
}

.wallet-link:hover {
  border-color: rgba(245, 229, 189, 0.5);
  color: var(--bone);
}

.connect-button {
  min-width: 146px;
  padding: 0 16px;
  border-color: var(--ember);
  background: var(--ember);
  color: var(--forest-ink);
}

.connect-button:hover,
.primary-action:hover {
  border-color: var(--bone);
  background: var(--bone);
  transform: translateY(-1px);
}

.connection-control {
  position: relative;
}

.account-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(310px, calc(100vw - 32px));
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--forest-deep);
  box-shadow: 14px 14px 0 rgba(0, 0, 0, 0.16);
}

.account-menu::before {
  position: absolute;
  top: -5px;
  right: 24px;
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--forest-deep);
  content: "";
}

.micro-label,
.panel-label {
  margin: 0;
  color: rgba(245, 229, 189, 0.6);
}

.account-menu-address {
  overflow: hidden;
  margin: 10px 0 8px;
  font-family: var(--mono);
  font-size: 12px;
  text-overflow: ellipsis;
}

.account-menu-note {
  margin: 0 0 18px;
  color: var(--bone-dim);
  font-size: 12px;
  line-height: 1.5;
}

.account-menu button {
  width: 100%;
  background: transparent;
  color: var(--bone);
}

.account-menu button:hover {
  border-color: var(--ember);
  color: var(--ember);
}

.network-banner {
  display: flex;
  position: relative;
  z-index: 18;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px clamp(18px, 3vw, 48px);
  border-bottom: 1px solid rgba(0, 31, 25, 0.36);
  background: var(--bone);
  color: var(--forest-ink);
}

.network-banner div {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.network-banner strong {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 400;
}

.network-banner span {
  font-size: 12px;
}

.network-banner button {
  min-height: 38px;
  padding: 0 14px;
  border-color: var(--forest-ink);
  background: var(--forest-ink);
  color: var(--bone);
}

main,
.vault-footer {
  width: min(100%, 1510px);
  margin: 0 auto;
}

main > section {
  padding-inline: clamp(20px, 4.2vw, 72px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(42px, 8vw, 130px);
  align-items: end;
  min-height: 475px;
  padding-top: clamp(70px, 9vw, 140px);
  padding-bottom: clamp(64px, 8vw, 110px);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--ember);
}

.intro h1,
.section-heading h2,
.connect-invitation h3,
.epoch-topline h3,
.mechanism-list h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
}

.intro h1 {
  max-width: 760px;
  font-size: clamp(66px, 8.2vw, 132px);
  letter-spacing: -0.075em;
  line-height: 0.8;
}

.intro h1 em {
  color: var(--bone-dim);
  font-weight: 400;
}

.intro-statement {
  align-self: center;
  padding-top: 45px;
}

.intro-statement > p {
  max-width: 610px;
  margin: 0 0 34px;
  font-family: var(--display);
  font-size: clamp(25px, 2.2vw, 38px);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.privacy-note {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.privacy-note > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  color: var(--ember);
  font-size: 19px;
}

.privacy-note p {
  max-width: 510px;
  margin: 0;
  color: var(--bone-dim);
  font-size: 13px;
  line-height: 1.65;
}

.pool-section,
.stats-section,
.position-section,
.mechanism-section,
.leaderboard-section {
  padding-top: clamp(70px, 8vw, 118px);
  padding-bottom: clamp(70px, 8vw, 118px);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 38px;
}

.section-heading.compact {
  margin-bottom: 30px;
}

.section-heading .eyebrow {
  margin-bottom: 12px;
}

.section-heading h2 {
  font-size: clamp(38px, 4vw, 66px);
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.section-heading > p {
  max-width: 390px;
  margin: 0;
  color: var(--bone-dim);
  font-size: 13px;
  line-height: 1.6;
  text-align: right;
}

.sync-state,
.position-address {
  color: rgba(245, 229, 189, 0.55) !important;
}

.pool-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(360px, 0.72fr);
  min-height: 590px;
  border: 1px solid var(--line);
}

.pool-figure {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--bone);
  color: var(--forest-ink);
}

.pool-figure::before {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: 42%;
  height: 38%;
  opacity: 0.18;
  background-image: radial-gradient(var(--forest-ink) 1.25px, transparent 1.25px);
  background-size: 8px 8px;
  content: "";
  mask-image: linear-gradient(135deg, black, transparent 74%);
}

.pool-figure-content {
  position: relative;
  z-index: 2;
  padding: clamp(34px, 5vw, 74px);
}

.dark-label {
  margin: 0;
  color: rgba(0, 31, 25, 0.62);
}

.pool-amount {
  max-width: 100%;
  margin: 26px 0 15px;
  font-family: var(--display);
  font-size: clamp(70px, 10vw, 156px);
  letter-spacing: -0.08em;
  line-height: 0.82;
  overflow-wrap: anywhere;
}

.pool-amount small {
  display: block;
  margin-top: 20px;
  font-family: var(--mono);
  font-size: clamp(12px, 1.3vw, 18px);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
}

.pool-empty {
  margin: 0;
  color: rgba(0, 31, 25, 0.68);
  font-size: 13px;
}

.pool-landscape {
  position: absolute;
  z-index: 1;
  right: -2%;
  bottom: -1px;
  left: -2%;
  width: 104%;
  color: var(--forest-ink);
}

.landscape-back {
  fill: var(--bone-soft);
  stroke: rgba(0, 31, 25, 0.18);
  stroke-width: 2;
}

.landscape-dots {
  fill: url(#pool-dots);
  opacity: 0.48;
}

.landscape-front {
  fill: var(--forest-deep);
}

.value-river {
  fill: none;
  stroke: var(--cobalt);
  stroke-width: 20;
  stroke-linecap: round;
}

.value-node {
  fill: var(--ember);
}

.epoch-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(30px, 3.4vw, 52px);
  border-left: 1px solid var(--line);
  background:
    radial-gradient(circle at 70% 32%, rgba(6, 73, 216, 0.12), transparent 32%),
    var(--forest-deep);
}

.epoch-topline {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.epoch-topline h3 {
  margin-top: 9px;
  font-size: clamp(34px, 3vw, 48px);
  letter-spacing: -0.05em;
}

.epoch-state {
  padding: 7px 9px;
  border: 1px solid var(--line);
  color: var(--bone-dim);
}

.epoch-visual {
  position: relative;
  display: grid;
  place-items: center;
  flex: 1;
  min-height: 284px;
  margin: 12px 0;
}

.epoch-orbit {
  width: min(100%, 258px);
  overflow: visible;
  transform: rotate(-90deg);
}

.orbit-dots {
  fill: none;
  stroke: rgba(245, 229, 189, 0.16);
  stroke-width: 20;
  stroke-dasharray: 1 8;
  stroke-linecap: round;
}

.orbit-track,
.orbit-progress {
  fill: none;
  stroke-width: 3;
}

.orbit-track {
  stroke: rgba(245, 229, 189, 0.16);
}

.orbit-progress {
  stroke: var(--ember);
  stroke-dasharray: 527.8;
  stroke-dashoffset: 527.8;
  stroke-linecap: square;
  transition: stroke-dashoffset 500ms ease;
}

.orbit-core {
  fill: rgba(0, 31, 25, 0.82);
  stroke: var(--line);
  stroke-width: 1;
}

.epoch-countdown {
  position: absolute;
  display: grid;
  place-items: center;
  width: 150px;
  text-align: center;
}

.epoch-countdown strong {
  margin: 9px 0 5px;
  font-family: var(--mono);
  font-size: clamp(21px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.epoch-countdown small {
  color: var(--bone-dim);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
}

.duration-track {
  display: grid;
  grid-template-columns: repeat(28, 1fr);
  gap: 4px;
  height: 34px;
  align-items: end;
  margin-bottom: 25px;
}

.duration-track span {
  display: block;
  height: calc(7px + var(--step, 0) * 0.75px);
  background: rgba(245, 229, 189, 0.13);
}

.duration-track span.is-complete {
  background: var(--ember);
}

.epoch-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  border-top: 1px solid var(--line);
}

.epoch-meta div {
  min-width: 0;
  padding-top: 21px;
}

.epoch-meta div + div {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.epoch-meta dt {
  margin-bottom: 8px;
  color: rgba(245, 229, 189, 0.52);
}

.epoch-meta dd {
  margin: 0;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.data-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border: 1px solid var(--line);
}

.data-strip > div {
  min-width: 0;
  padding: clamp(24px, 3.2vw, 48px) clamp(20px, 2.5vw, 38px);
}

.data-strip > div + div {
  border-left: 1px solid var(--line);
}

.data-strip dt {
  min-height: 28px;
  color: rgba(245, 229, 189, 0.5);
}

.data-strip dd {
  margin: 23px 0 16px;
  font-family: var(--mono);
  font-size: clamp(25px, 2.8vw, 43px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1;
}

.data-strip dd small {
  font-size: 0.34em;
  letter-spacing: 0;
}

.data-strip span {
  color: rgba(245, 229, 189, 0.42);
}

.position-disconnected,
.position-connected {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  min-height: 490px;
  border: 1px solid var(--line);
}

.connect-invitation {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(32px, 4.2vw, 64px);
  background: var(--forest-deep);
}

.invitation-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: auto;
  border: 1px solid var(--line);
  color: var(--ember);
  font-family: var(--mono);
  font-size: 22px;
}

.connect-invitation h3 {
  margin-top: 40px;
  font-size: clamp(38px, 4vw, 58px);
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.connect-invitation p {
  max-width: 430px;
  margin: 20px 0 30px;
  color: var(--bone-dim);
  font-size: 14px;
  line-height: 1.65;
}

.primary-action {
  min-height: 50px;
  padding: 0 21px;
  border-color: var(--ember);
  background: var(--ember);
  color: var(--forest-ink);
}

.connect-invitation .read-only-note {
  margin: 16px 0 0;
  color: rgba(245, 229, 189, 0.43);
  font-size: 8px;
}

.ramp-preview,
.share-ramp-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--bone);
  color: var(--forest-ink);
}

.ramp-grid {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: radial-gradient(var(--forest-ink) 1px, transparent 1px);
  background-size: 9px 9px;
  mask-image: linear-gradient(145deg, transparent 8%, black 66%, transparent 100%);
}

.ramp-preview {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(34px, 4.2vw, 64px);
}

.ramp-copy {
  position: relative;
  z-index: 2;
}

.ramp-copy .panel-label,
.share-ramp-card .panel-label {
  color: rgba(0, 31, 25, 0.55);
}

.preview-values {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: end;
  margin-top: 60px;
}

.preview-values span {
  display: grid;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-values strong {
  font-family: var(--display);
  font-size: clamp(60px, 7vw, 105px);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.8;
}

.preview-values i {
  color: var(--ember);
  font-family: var(--mono);
  font-size: 24px;
  font-style: normal;
}

.ramp-copy > p:last-child {
  margin: 34px 0 0;
  color: rgba(0, 31, 25, 0.64);
  font-size: 13px;
}

.ramp-line {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
  height: 93px;
  margin-top: 34px;
  border-bottom: 1px solid var(--ink-line);
}

.ramp-line i {
  width: 100%;
  height: calc(12px + var(--index, 0) * 11px);
  border-top: 3px solid var(--forest-deep);
  background: rgba(0, 45, 36, 0.08);
}

.ramp-line i:nth-child(1) { --index: 0; }
.ramp-line i:nth-child(2) { --index: 1; }
.ramp-line i:nth-child(3) { --index: 2; }
.ramp-line i:nth-child(4) { --index: 3; }
.ramp-line i:nth-child(5) { --index: 4; }
.ramp-line i:nth-child(6) { --index: 5; }
.ramp-line i:nth-child(7) { --index: 6; border-color: var(--ember); }

.position-connected {
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
}

.share-ramp-card {
  padding: clamp(34px, 4.2vw, 64px);
}

.share-ramp-heading {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--forest-ink);
}

.share-ramp-heading > span {
  padding: 7px 9px;
  border: 1px solid var(--ink-line);
  color: var(--ember);
}

.share-comparison {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr minmax(90px, 0.32fr) 1fr;
  gap: 18px;
  align-items: end;
  margin-top: 78px;
}

.share-now,
.share-future {
  display: grid;
  gap: 12px;
}

.share-comparison strong {
  font-family: var(--mono);
  font-size: clamp(38px, 4.3vw, 68px);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.share-comparison small {
  color: rgba(0, 31, 25, 0.52);
  font-size: 8px;
}

.share-gap {
  display: grid;
  gap: 9px;
  align-self: center;
  text-align: center;
}

.share-gap span {
  color: var(--ember);
  font-size: 8px;
}

.share-gap i {
  position: relative;
  height: 1px;
  background: var(--ember);
}

.share-gap i::after {
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  border-top: 1px solid var(--ember);
  border-right: 1px solid var(--ember);
  content: "";
}

.ramp-axis {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 62px;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ramp-axis div {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  align-items: end;
  height: 25px;
  border-bottom: 1px solid var(--ink-line);
}

.ramp-axis i {
  height: calc(4px + var(--axis, 0) * 2px);
  border-left: 1px solid rgba(0, 31, 25, 0.35);
}

.ramp-axis i:nth-child(1) { --axis: 1; }
.ramp-axis i:nth-child(2) { --axis: 2; }
.ramp-axis i:nth-child(3) { --axis: 3; }
.ramp-axis i:nth-child(4) { --axis: 4; }
.ramp-axis i:nth-child(5) { --axis: 5; }
.ramp-axis i:nth-child(6) { --axis: 6; }
.ramp-axis i:nth-child(7) { --axis: 7; }
.ramp-axis i:nth-child(8) { --axis: 8; }
.ramp-axis i:nth-child(9) { --axis: 9; border-color: var(--ember); }

.ramping-explanation {
  position: relative;
  z-index: 2;
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--ink-line);
  color: rgba(0, 31, 25, 0.68);
  font-size: 13px;
  line-height: 1.55;
}

.position-metrics {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  margin: 0;
  border-left: 1px solid var(--line);
  background: var(--forest-deep);
}

.position-metrics > div {
  display: grid;
  align-content: center;
  gap: 15px;
  min-width: 0;
  padding: 26px 34px;
}

.position-metrics > div + div {
  border-top: 1px solid var(--line);
}

.position-metrics dt {
  color: rgba(245, 229, 189, 0.5);
}

.position-metrics dd {
  margin: 0;
  overflow: hidden;
  font-family: var(--mono);
  font-size: clamp(17px, 1.6vw, 24px);
  font-weight: 500;
  letter-spacing: -0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.position-error {
  margin: 14px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--ember);
  background: rgba(255, 75, 22, 0.08);
  color: var(--bone-soft);
  font-size: 13px;
  line-height: 1.5;
}

.mechanism-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 0 32px;
  padding: 0;
  border: 1px solid var(--line);
  list-style: none;
}

.mechanism-list li {
  min-width: 0;
  min-height: 280px;
  padding: clamp(24px, 3vw, 42px);
}

.mechanism-list li + li {
  border-left: 1px solid var(--line);
}

.mechanism-list > li > span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  color: var(--ember);
}

.mechanism-list h3 {
  margin: 62px 0 13px;
  font-size: clamp(24px, 2.2vw, 34px);
  letter-spacing: -0.04em;
  line-height: 1;
}

.mechanism-list p {
  margin: 0;
  color: var(--bone-dim);
  font-size: 13px;
  line-height: 1.6;
}

.duration-proof {
  display: grid;
  grid-template-columns: minmax(210px, 0.65fr) minmax(340px, 1.35fr) minmax(180px, 0.5fr);
  gap: 38px;
  align-items: center;
  padding: clamp(28px, 3.4vw, 48px);
  background: var(--bone);
  color: var(--forest-ink);
}

.duration-proof strong {
  display: block;
  margin-top: 13px;
  font-family: var(--display);
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 400;
  letter-spacing: -0.055em;
}

.proof-scale {
  display: grid;
  gap: 20px;
  color: rgba(0, 31, 25, 0.66);
}

.proof-scale > div {
  display: grid;
  grid-template-columns: 105px 1fr 50px;
  gap: 13px;
  align-items: center;
}

.proof-scale i {
  display: block;
  height: 12px;
  background-image: radial-gradient(var(--forest-deep) 1.5px, transparent 1.5px);
  background-size: 7px 7px;
}

.proof-scale .proof-long {
  width: 100%;
}

.proof-scale .proof-short {
  width: 4%;
  min-width: 5px;
  background: var(--ember);
}

.proof-scale b {
  color: var(--forest-ink);
  font-weight: 700;
}

.duration-proof > p {
  margin: 0;
  color: rgba(0, 31, 25, 0.62);
  font-size: 12px;
  line-height: 1.6;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

th,
td {
  padding: 20px clamp(16px, 2.2vw, 32px);
  border-bottom: 1px solid var(--line);
  text-align: left;
}

thead {
  color: rgba(245, 229, 189, 0.48);
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody td {
  font-size: 12px;
}

tbody td:first-child {
  color: var(--ember);
}

tbody tr:hover {
  background: rgba(245, 229, 189, 0.025);
}

.empty-row td {
  height: 128px;
  color: rgba(245, 229, 189, 0.46) !important;
  text-align: center;
}

.vault-footer {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.8fr) 1fr;
  gap: 36px;
  align-items: center;
  padding: 48px clamp(20px, 4.2vw, 72px);
  color: rgba(245, 229, 189, 0.5);
}

.footer-brand img {
  width: 40px;
  height: 40px;
}

.footer-brand strong {
  color: var(--bone);
  font-size: 17px;
}

.vault-footer > p {
  margin: 0;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.55;
  text-align: center;
  text-transform: none;
}

.vault-footer > div {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  flex-wrap: wrap;
}

.toast {
  position: fixed;
  z-index: 80;
  right: 22px;
  bottom: 22px;
  width: min(390px, calc(100vw - 44px));
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--ember);
  background: var(--forest-deep);
  box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.17);
  color: var(--bone-soft);
  font-size: 13px;
  line-height: 1.45;
}

@media (max-width: 1120px) {
  .vault-header {
    grid-template-columns: 1fr auto;
  }

  .header-context {
    display: none;
  }

  .pool-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  }

  .data-strip,
  .mechanism-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .data-strip > div:nth-child(3),
  .data-strip > div:nth-child(4),
  .mechanism-list li:nth-child(3),
  .mechanism-list li:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .data-strip > div:nth-child(3),
  .mechanism-list li:nth-child(3) {
    border-left: 0;
  }

  .duration-proof {
    grid-template-columns: 0.7fr 1.3fr;
  }

  .duration-proof > p {
    grid-column: 1 / -1;
    padding-top: 18px;
    border-top: 1px solid var(--ink-line);
  }

  .vault-footer {
    grid-template-columns: 1fr 1fr;
  }

  .vault-footer > p {
    order: 3;
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 860px) {
  .vault-header {
    min-height: 72px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .connect-button {
    min-width: 132px;
  }

  .intro {
    grid-template-columns: 1fr;
    gap: 42px;
    min-height: 0;
  }

  .intro-statement {
    max-width: 650px;
    padding-top: 0;
  }

  .pool-grid,
  .position-disconnected,
  .position-connected {
    grid-template-columns: 1fr;
  }

  .pool-figure {
    min-height: 550px;
  }

  .epoch-panel,
  .position-metrics {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .position-metrics {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
  }

  .position-metrics > div + div {
    border-top: 0;
  }

  .position-metrics > div:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .position-metrics > div:nth-child(3),
  .position-metrics > div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .mechanism-list h3 {
    margin-top: 42px;
  }
}

@media (max-width: 620px) {
  .vault-header {
    padding-inline: 15px;
  }

  .brand-copy small {
    display: none;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .connect-button {
    min-width: 0;
    min-height: 42px;
    padding: 0 12px;
  }

  .wallet-link {
    min-height: 42px;
    padding: 0 10px;
    font-size: 8px;
  }

  .wallet-link-long {
    display: none;
  }

  .connect-button span:last-child {
    display: none;
  }

  .network-banner,
  .network-banner div {
    align-items: flex-start;
  }

  .network-banner,
  .network-banner div {
    flex-direction: column;
  }

  .intro h1 {
    font-size: clamp(58px, 20vw, 92px);
  }

  .section-heading {
    display: grid;
    gap: 16px;
  }

  .section-heading > p {
    text-align: left;
  }

  .pool-figure {
    min-height: 450px;
  }

  .pool-amount {
    font-size: clamp(60px, 22vw, 100px);
  }

  .pool-landscape {
    width: 140%;
    max-width: none;
    left: -20%;
  }

  .epoch-panel {
    padding: 28px 22px;
  }

  .data-strip,
  .mechanism-list {
    grid-template-columns: 1fr;
  }

  .data-strip > div + div,
  .data-strip > div:nth-child(3),
  .data-strip > div:nth-child(4),
  .mechanism-list li + li,
  .mechanism-list li:nth-child(3),
  .mechanism-list li:nth-child(4) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .data-strip dt {
    min-height: 0;
  }

  .data-strip dd {
    margin-block: 16px 10px;
  }

  .preview-values,
  .share-comparison {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .preview-values {
    gap: 18px;
    margin-top: 44px;
  }

  .preview-values i {
    transform: rotate(90deg);
    transform-origin: left center;
  }

  .share-comparison {
    gap: 24px;
    margin-top: 50px;
  }

  .share-gap {
    width: 48%;
    text-align: left;
  }

  .ramp-axis {
    grid-template-columns: 1fr;
    margin-top: 42px;
  }

  .ramp-axis > span:last-child {
    text-align: right;
  }

  .position-metrics {
    grid-template-columns: 1fr;
  }

  .position-metrics > div:nth-child(even) {
    border-left: 0;
  }

  .position-metrics > div + div,
  .position-metrics > div:nth-child(3),
  .position-metrics > div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .mechanism-list li {
    min-height: 240px;
  }

  .duration-proof {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .proof-scale > div {
    grid-template-columns: 92px 1fr 44px;
  }

  .duration-proof > p {
    grid-column: auto;
  }

  .vault-footer {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .vault-footer > p {
    grid-column: auto;
    order: initial;
  }

  .vault-footer > div {
    justify-content: flex-start;
  }
}

@media (max-width: 380px) {
  main > section,
  .vault-footer {
    padding-inline: 15px;
  }

  .connect-button {
    font-size: 8px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .intro h1 {
    font-size: 56px;
  }

  .epoch-meta {
    grid-template-columns: 1fr;
  }

  .epoch-meta div + div {
    margin-top: 16px;
    padding-top: 16px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (forced-colors: active) {
  .status-dot,
  .value-node,
  .duration-track span.is-complete {
    forced-color-adjust: none;
    background: Highlight;
  }

  .screen-texture,
  .ramp-grid,
  body::before {
    display: none;
  }
}
