:root {
  --navy: #060719;
  --navy-2: #090b22;
  --panel: #101229;
  --panel-soft: #161936;
  --line: rgba(244, 247, 255, 0.14);
  --text: #f4f6ff;
  --muted: #aeb5d8;
  --ice: #eef3ff;
  --blue: #7d8dff;
  --glow: rgba(169, 181, 255, 0.24);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background:
    radial-gradient(circle at 50% -10%, rgba(125, 141, 255, 0.26), transparent 28rem),
    radial-gradient(circle at 10% 42%, rgba(238, 243, 255, 0.08), transparent 18rem),
    linear-gradient(180deg, #0a0b22 0%, #03040d 78%);
  overflow-x: hidden;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.32;
  background:
    linear-gradient(90deg, rgba(244, 247, 255, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(244, 247, 255, 0.032) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

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

img {
  display: block;
  max-width: 100%;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 32px), var(--max-width));
  min-height: 72px;
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(6, 7, 25, 0.78);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(244, 247, 255, 0.36);
  border-radius: 10px;
  color: var(--navy);
  background: linear-gradient(135deg, #ffffff, #cfd7ff);
  box-shadow: 0 0 28px var(--glow);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav a {
  padding: 10px 12px;
  border-radius: 7px;
  color: var(--muted);
  font-weight: 850;
}

.nav a:hover {
  color: var(--text);
  background: rgba(244, 247, 255, 0.09);
}

main {
  padding: 24px 16px 56px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, var(--max-width));
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #03040d;
  box-shadow: 0 36px 86px rgba(0, 0, 0, 0.56);
}

.hero-visual {
  min-height: clamp(330px, 48vw, 560px);
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(6, 7, 25, 0.92), rgba(6, 7, 25, 0.22) 48%, rgba(6, 7, 25, 0.84)),
    linear-gradient(0deg, rgba(6, 7, 25, 0.96), transparent 58%);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.hero-copy {
  position: absolute;
  left: clamp(24px, 5vw, 70px);
  bottom: clamp(28px, 6vw, 70px);
  z-index: 2;
  width: min(600px, calc(100% - 48px));
}

.eyebrow {
  margin: 0 0 12px;
  color: #cfd7ff;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--ice);
  font-size: clamp(3rem, 9vw, 8.3rem);
  line-height: 0.84;
  font-weight: 950;
  text-transform: uppercase;
  text-shadow: 0 18px 52px #000;
}

.hero-description {
  max-width: 54ch;
  margin: 18px 0 0;
  color: rgba(244, 247, 255, 0.82);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  font-weight: 650;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.button,
.copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 7px;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.copy-button:hover {
  transform: translateY(-2px);
}

.button.primary,
.copy-button {
  color: #07091d;
  background: linear-gradient(135deg, #ffffff, #cfd7ff);
  box-shadow: 0 16px 34px rgba(169, 181, 255, 0.17);
}

.button.ghost {
  color: var(--text);
  border-color: rgba(244, 247, 255, 0.24);
  background: rgba(244, 247, 255, 0.07);
}

.pulse-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100%, var(--max-width));
  margin: 18px auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 12, 36, 0.9);
}

.pulse-row span {
  min-height: 74px;
  padding: 20px;
  color: var(--muted);
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
  border-right: 1px solid var(--line);
}

.pulse-row span:last-child {
  border-right: 0;
}

.signal,
.cards,
.token {
  width: min(100%, var(--max-width));
  margin: 18px auto 0;
}

.signal {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.symbol-card,
.signal-copy,
.cards article,
.token {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(169, 181, 255, 0.12), transparent),
    var(--panel);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.28);
}

.symbol-card {
  display: grid;
  gap: 16px;
  padding: 14px;
}

.symbol-card img {
  aspect-ratio: 1;
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  background: #03040d;
}

.symbol-card span,
.token-row span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.symbol-card strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(1.22rem, 3vw, 1.9rem);
}

.signal-copy {
  padding: clamp(26px, 5vw, 46px);
}

.signal-copy h2,
.token h2 {
  margin: 0;
  color: var(--ice);
  font-size: clamp(2.1rem, 5vw, 5rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.signal-copy p:not(.eyebrow),
.cards p {
  color: var(--muted);
  font-weight: 650;
}

.signal-copy p:not(.eyebrow) {
  max-width: 62ch;
  margin: 18px 0 0;
}

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

.cards article {
  min-height: 228px;
  padding: 20px;
}

.cards span {
  color: #cfd7ff;
  font-size: 2rem;
  font-weight: 950;
}

.cards h3 {
  margin: 22px 0 10px;
  color: var(--ice);
  font-size: 1.16rem;
}

.cards p {
  margin: 0;
}

.token {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: center;
  padding: clamp(26px, 5vw, 42px);
}

.token-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #080a1e;
}

.token-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.token-row strong {
  text-align: right;
}

.copy-button {
  width: 100%;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(100%, var(--max-width));
  margin: 22px auto 0;
  padding: 24px 16px 38px;
  color: var(--muted);
  font-weight: 850;
}

@media (max-width: 940px) {
  .topbar,
  .hero,
  .pulse-row,
  .signal,
  .cards,
  .token {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .signal,
  .token {
    grid-template-columns: 1fr;
  }

  .symbol-card {
    grid-template-columns: 150px minmax(0, 1fr);
    align-items: center;
  }

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

  .cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  main {
    padding-inline: 0;
  }

  .hero-visual {
    min-height: 500px;
  }

  .hero-visual::after {
    background:
      linear-gradient(0deg, rgba(6, 7, 25, 0.96), rgba(6, 7, 25, 0.22) 78%),
      linear-gradient(90deg, rgba(6, 7, 25, 0.38), transparent);
  }

  .hero-copy {
    left: 22px;
    bottom: 24px;
    width: calc(100% - 44px);
  }

  h1 {
    font-size: clamp(2.9rem, 14vw, 4.8rem);
  }

  .button {
    flex: 1 1 132px;
  }

  .pulse-row {
    grid-template-columns: 1fr;
  }

  .pulse-row span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .symbol-card {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    width: min(calc(100% - 24px), var(--max-width));
  }
}
