: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);
  --accent-glow: 0 0 18px rgba(34, 244, 220, 0.34), 0 0 42px rgba(34, 244, 220, 0.16);
  --accent-glow-strong: 0 0 0 1px rgba(34, 244, 220, 0.42), 0 0 24px rgba(34, 244, 220, 0.42), 0 0 58px rgba(34, 244, 220, 0.2);
  --warning: #b8ff70;
  --brand-font: "Chesna Black Italic", "Chesna", "Arial Black", Impact, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  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: flex-start;
  gap: 16px;
  min-height: 78px;
  margin-inline: calc(50% - 50vw);
  padding: 18px max(16px, calc((100vw - 1180px) / 2));
  background: rgba(5, 7, 11, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.social-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;
}
.brand__text,
#hero-title,
.brand-wordmark,
.footer__brand {
  font-family: var(--brand-font);
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-wordmark {
  color: inherit;
}

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

.nav-links a,
.social-link,
.nav-utility,
.nav-gateway,
.network-card__actions a,
.link-grid a {
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    text-shadow 180ms ease,
    transform 180ms ease;
}

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

.social-links {
  gap: 12px;
  margin-left: 10px;
}


.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
}

.nav-utility-group {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  width: 36px;
  height: 36px;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 900;
  border: 1px solid rgba(34, 244, 220, 0.28);
  border-radius: 8px;
  background: rgba(34, 244, 220, 0.06);
}

.social-link:hover {
  border-color: rgba(34, 244, 220, 0.56);
  background: rgba(34, 244, 220, 0.12);
  box-shadow: var(--accent-glow);
  text-shadow: 0 0 12px rgba(34, 244, 220, 0.72);
  transform: translateY(-1px);
}

.nav-stake,
.nav-utility,
.nav-gateway,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
}

.nav-stake {
  margin-left: 0;
  min-width: 86px;
  min-height: 36px;
  padding: 0 16px;
  color: #001412;
  font-size: 0.84rem;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(34, 244, 220, 0.32);
  white-space: nowrap;
}

.nav-utility,
.nav-gateway {
  position: relative;
  gap: 7px;
  min-width: 72px;
  min-height: 36px;
  padding: 0 13px;
  color: var(--accent);
  font-size: 0.82rem;
  border: 1px solid rgba(34, 244, 220, 0.36);
  background: rgba(34, 244, 220, 0.05);
  box-shadow: inset 0 0 18px rgba(34, 244, 220, 0.04);
  white-space: nowrap;
}

.nav-utility::before,
.nav-gateway::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.nav-utility--gts {
  color: #72eaff;
  border-color: rgba(114, 234, 255, 0.48);
  background: rgba(10, 45, 52, 0.82);
  box-shadow: inset 0 0 18px rgba(114, 234, 255, 0.07), 0 0 0 1px rgba(114, 234, 255, 0.07);
}

.nav-utility--bond {
  min-width: 118px;
  color: #bca7ff;
  border-color: rgba(188, 167, 255, 0.46);
  background: rgba(29, 21, 47, 0.88);
  box-shadow: inset 0 0 18px rgba(188, 167, 255, 0.07), 0 0 0 1px rgba(188, 167, 255, 0.07);
}

.nav-gateway {
  min-width: 98px;
  color: #ffd867;
  border-color: rgba(255, 216, 103, 0.42);
  background: rgba(39, 30, 7, 0.86);
  box-shadow: inset 0 0 18px rgba(255, 216, 103, 0.07), 0 0 0 1px rgba(255, 216, 103, 0.07);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 64px;
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: 64px 0 72px;
}

.hero__content,
.hero__signal {
  min-width: 0;
}
.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,
.nav-utility:hover,
.nav-gateway:hover,
.link-grid a:hover {
  transform: translateY(-2px);
}


.button:hover,
.nav-stake:hover,
.nav-utility:hover,
.nav-gateway:hover {
  box-shadow: var(--accent-glow-strong);
}

.button--primary:hover,
.nav-stake:hover {
  background: #41fff0;
}

.nav-utility:hover,
.nav-gateway:hover {
  color: #f8ffff;
  border-color: currentColor;
  background: rgba(34, 244, 220, 0.09);
  text-shadow: 0 0 12px currentColor;
}

.nav-utility--gts:hover {
  color: #96f3ff;
  background: rgba(10, 55, 64, 0.96);
}

.nav-utility--bond:hover {
  color: #d2c5ff;
  background: rgba(37, 27, 61, 0.98);
}

.nav-gateway:hover {
  color: #ffe28b;
  background: rgba(52, 39, 8, 0.98);
}

.button--secondary:hover {
  background: rgba(34, 244, 220, 0.11);
  border-color: rgba(34, 244, 220, 0.64);
  box-shadow: var(--accent-glow);
  text-shadow: 0 0 14px rgba(34, 244, 220, 0.6);
}
.hero__signal {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 18px;
}

.signal-mark {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 280px;
  width: 100%;
  overflow: hidden;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 58%, rgba(34, 244, 220, 0.22), transparent 44%),
    linear-gradient(180deg, rgba(12, 43, 43, 0.72), rgba(7, 18, 24, 0.82));
}

.signal-mark::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 999px;
  background: rgba(34, 244, 220, 0.12);
  filter: blur(24px);
}

.signal-mark img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(72%, 256px);
  height: auto;
  filter: drop-shadow(0 0 30px rgba(34, 244, 220, 0.34));
}

.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;
  width: 100%;
  padding: 22px;
}


.signal-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.signal-card__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 3px 7px;
  color: #001412;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  background: var(--accent);
  border: 1px solid rgba(34, 244, 220, 0.88);
  border-radius: 2px;
  box-shadow: 0 0 14px rgba(34, 244, 220, 0.32);
}
.signal-card__label,
.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: 16px;
  margin-top: -28px;
  padding-bottom: 92px;
}

.metric {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 18px;
  min-height: 126px;
  overflow: hidden;
  padding: 22px 22px 20px;
  border-color: rgba(34, 244, 220, 0.18);
  background:
    linear-gradient(135deg, rgba(34, 244, 220, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(12, 17, 25, 0.96), rgba(6, 10, 15, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 18px 40px rgba(0, 0, 0, 0.18);
}

.metric::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), rgba(34, 244, 220, 0.08));
  opacity: 0.72;
}

.metric > span {
  color: var(--soft);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
}

.metric strong {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  color: var(--text);
  font-size: 1.72rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.metric strong [data-stat] {
  min-width: 0;
  color: inherit;
  font: inherit;
}

.metric__unit {
  display: inline-flex;
  align-items: center;
  transform: translateY(-1px);
  padding: 4px 7px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  border: 1px solid rgba(34, 244, 220, 0.34);
  border-radius: 4px;
  background: rgba(34, 244, 220, 0.08);
}

.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__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  line-height: 1.1;
  white-space: nowrap;
}
.network-card__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  padding: 2px 6px;
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
  background: rgba(34, 244, 220, 0.08);
  border: 1px solid rgba(34, 244, 220, 0.5);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(34, 244, 220, 0.18);
  transform: translateY(-1px);
}

.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;
}

.network-card__actions a:hover {
  text-shadow: 0 0 14px rgba(34, 244, 220, 0.72);
}

.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);
  box-shadow: var(--accent-glow);
}

.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%;
    margin-left: 0;
    justify-content: space-between;
    overflow-x: auto;
    padding-top: 4px;
  }

  .social-links,
  .nav-actions {
    order: 2;
  }

  .nav-actions {
    flex-wrap: wrap;
    gap: 10px 12px;
  }

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

  h1 {
    font-size: 3.45rem;
  }

  h2 {
    font-size: 2rem;
  }
  .hero__signal {
    width: min(100%, 420px);
  }

  .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% - 32px, 1180px);
  }

  .topbar {
    gap: 12px;
    padding: 14px 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand__text {
    display: none;
  }

  .nav-actions {
    width: 100%;
    margin-left: 0;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
  }

  .nav-utility-group {
    width: 100%;
    min-width: 0;
    flex: 0 1 auto;
    flex-wrap: wrap;
    gap: 8px;
    padding-left: 0;
    border-left: 0;
  }

  .nav-utility,
  .nav-gateway {
    min-width: auto;
  }

  .nav-utility--bond {
    min-width: 112px;
  }

  .nav-links {
    gap: 16px;
    justify-content: flex-start;
  }
  .hero {
    position: relative;
    isolation: isolate;
    gap: 34px;
    padding: 42px 0 62px;
    overflow: hidden;
  }
  .hero,
  .hero__content,
  .hero__signal,
  .signal-mark,
  .signal-card,
  .hero__copy,
  .metrics,
  .metric {
    width: 100%;
    max-width: min(100%, calc(100vw - 32px));
    min-width: 0;
  }

  h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(2.12rem, 11vw, 2.45rem);
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: 1.72rem;
  }

  .hero__slogan {
    font-size: 1.25rem;
  }

  .hero__copy {
    max-width: calc(100vw - 32px);
    font-size: 0.98rem;
    line-height: 1.62;
    overflow-wrap: break-word;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    padding-right: 32px;
  }

  .button {
    width: auto;
    min-width: 0;
    max-width: 100%;
  }

  .signal-mark {
    min-height: 190px;
    padding: 28px;
  }

  .signal-mark img {
    width: min(78%, 245px);
  }

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

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

  .metric {
    min-height: 108px;
    padding: 18px 18px 17px;
  }

  .metric > span {
    font-size: 0.98rem;
  }

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

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

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