:root {
  --bg: #05070b;
  --panel: #0b1018;
  --panel-strong: #111821;
  --line: #22303b;
  --line-strong: #34444f;
  --text: #f6fbff;
  --muted: #95a5b2;
  --soft: #c7d3dc;
  --accent: #22f4dc;
  --accent-deep: #00a9cc;
  --accent-soft: rgba(34, 244, 220, 0.14);
  --warning: #b8ff70;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(34, 244, 220, 0.07), transparent 42rem),
    var(--bg);
  background-size: 5rem 5rem, 5rem 5rem, auto, auto;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

body::selection {
  color: #001210;
  background: var(--accent);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-frame {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 18px 0;
  background: rgba(5, 7, 11, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero__actions,
.network-card__actions,
.calculator__meta {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 210px;
  font-weight: 800;
}

.brand__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.brand__logo--tag {
  width: 42px;
  height: 46px;
}

.brand__text {
  white-space: nowrap;
}

.nav-links {
  gap: 22px;
  color: var(--soft);
  font-size: 0.94rem;
}

.nav-links a,
.network-card__actions a,
.link-grid a {
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.nav-links a:hover,
.network-card__actions a:hover {
  color: var(--accent);
}

.nav-stake,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
}

.nav-stake {
  min-width: 112px;
  padding: 0 18px;
  color: #001412;
  background: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 64px;
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: 64px 0 72px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: 4.6rem;
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: 2.35rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.hero__slogan {
  margin-bottom: 18px;
  color: var(--text);
  font-size: 1.55rem;
  font-weight: 800;
}

.hero__copy,
.section-heading p,
.network-card p,
.estimate-note {
  color: var(--muted);
  line-height: 1.7;
}

.hero__copy {
  max-width: 640px;
  margin-bottom: 32px;
  font-size: 1.08rem;
}

.hero__actions {
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-width: 178px;
  padding: 0 22px;
  border: 1px solid transparent;
}

.button--primary {
  color: #001412;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(34, 244, 220, 0.32);
}

.button--secondary {
  color: var(--accent);
  background: rgba(34, 244, 220, 0.06);
  border-color: rgba(34, 244, 220, 0.38);
}

.button:hover,
.nav-stake:hover,
.link-grid a:hover {
  transform: translateY(-2px);
}

.hero__signal {
  display: grid;
  gap: 18px;
}

.signal-mark {
  display: grid;
  place-items: center;
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(34, 244, 220, 0.08), rgba(0, 169, 204, 0.02)),
    rgba(8, 12, 18, 0.86);
}

.signal-mark img {
  width: min(62%, 240px);
  height: auto;
  filter: drop-shadow(0 0 34px rgba(34, 244, 220, 0.4));
}

.signal-card,
.metric,
.network-card,
.calculator,
.reward,
.link-grid a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 14, 21, 0.78);
}

.signal-card {
  display: grid;
  gap: 7px;
  padding: 22px;
}

.signal-card__label,
.metric span,
.reward span,
dt,
.signal-card__meta {
  color: var(--muted);
  font-size: 0.88rem;
}

.reward span {
  color: var(--soft);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

.signal-card strong {
  color: var(--accent);
  font-size: 2.4rem;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: -32px;
  padding-bottom: 88px;
}

.metric {
  display: grid;
  gap: 10px;
  min-height: 112px;
  padding: 20px;
}

.metric strong {
  font-size: 1.34rem;
}

.network-section,
.calculator-section,
.link-section {
  padding: 88px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.network-card {
  display: grid;
  grid-template-columns: 84px minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: center;
  padding: 26px;
}

.network-card__logo {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 8px;
  background: var(--accent-soft);
  border: 1px solid rgba(34, 244, 220, 0.24);
}

.network-card__logo img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.network-card__status {
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 10px;
  color: #001412;
  font-size: 0.82rem;
  font-weight: 800;
  background: var(--warning);
  border-radius: 8px;
}

.network-card__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.network-card__stats div {
  display: grid;
  gap: 8px;
}

.network-card__stats dd {
  margin: 0;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 800;
}

.network-card__actions {
  grid-column: 2 / -1;
  flex-wrap: wrap;
  gap: 18px;
}

.network-card__actions a {
  color: var(--accent);
  font-weight: 800;
}

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 18px;
}

.calculator {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.calculator label {
  color: var(--soft);
  font-weight: 800;
}

.amount-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 62px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #060a0f;
}

.amount-control input {
  width: 100%;
  min-width: 0;
  padding: 0 16px;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 1.5rem;
  font-weight: 800;
}

.amount-control span {
  padding: 0 16px;
  color: var(--accent);
  font-weight: 800;
}

.stake-range {
  width: 100%;
  accent-color: var(--accent);
}

.calculator__meta {
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.94rem;
}

.calculator__meta strong {
  color: var(--text);
}

.estimate-note {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.rewards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.reward {
  display: grid;
  gap: 12px;
  align-content: center;
  min-height: 212px;
  padding: 22px;
}

.reward strong {
  color: var(--accent);
  font-size: 1.7rem;
  line-height: 1.15;
  word-break: break-word;
}

.reward small {
  color: var(--soft);
  font-size: 1rem;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.link-grid a {
  display: grid;
  gap: 12px;
  min-height: 142px;
  padding: 22px;
  font-size: 1.12rem;
  font-weight: 800;
}

.link-grid a:hover {
  color: var(--accent);
  border-color: rgba(34, 244, 220, 0.46);
  background: rgba(34, 244, 220, 0.08);
}

.link-grid span {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.55;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 34px 0 44px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 980px) {
  .topbar {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
    padding-top: 4px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 54px;
  }

  h1 {
    font-size: 3.45rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero__signal {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .signal-mark {
    min-height: 220px;
  }

  .metrics,
  .link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .network-card,
  .calculator-layout,
  .rewards-grid {
    grid-template-columns: 1fr;
  }

  .network-card__actions {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .site-frame {
    width: min(100% - 24px, 1180px);
  }

  .brand {
    min-width: 0;
  }

  .brand__text {
    display: none;
  }

  .nav-stake {
    min-width: 104px;
  }

  .nav-links {
    gap: 16px;
    justify-content: flex-start;
  }

  .hero {
    gap: 34px;
    padding: 42px 0 62px;
  }

  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .hero__slogan {
    font-size: 1.25rem;
  }

  .button {
    width: 100%;
  }

  .hero__signal,
  .metrics,
  .link-grid,
  .network-card__stats {
    grid-template-columns: 1fr;
  }

  .metrics {
    margin-top: 0;
    padding-bottom: 58px;
  }

  .network-section,
  .calculator-section,
  .link-section {
    padding: 64px 0;
  }

  .calculator__meta,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}


