:root {
  color-scheme: dark;
  --bg: #07111f;
  --bg-deep: #030712;
  --panel: #111a2a;
  --panel-soft: #172234;
  --line: rgba(205, 226, 255, 0.16);
  --text: #f7fbff;
  --muted: #a7b4c6;
  --cyan: #78e6ee;
  --mint: #72f0c7;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.36);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg-deep);
  color: var(--text);
}

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(3, 7, 18, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  text-decoration: none;
  font-weight: 760;
}

.nav-links {
  gap: clamp(14px, 3vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 84vh;
  padding: 116px clamp(20px, 6vw, 92px) 64px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3, 7, 18, 1), rgba(3, 7, 18, 0.99) 56%, rgba(3, 7, 18, 0.68) 82%),
    linear-gradient(0deg, rgba(3, 7, 18, 0.85), rgba(3, 7, 18, 0) 34%),
    url("/assets/stakepath-feature.png") center / cover no-repeat;
}

.hero-copy {
  width: min(620px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3.2rem, 9vw, 7rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-subhead {
  max-width: 590px;
  margin: 26px 0 0;
  color: #d8e8f6;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.6;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 46px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 780;
  text-decoration: none;
}

.button.primary {
  background: var(--cyan);
  color: #04111c;
}

.button.secondary {
  border-color: rgba(219, 239, 255, 0.32);
  background: rgba(11, 22, 36, 0.62);
}

.metrics-section,
.intro-section,
.feature-section,
.screens-section,
.availability-section {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 6vw, 92px);
}

.metrics-section {
  background: #06101d;
  border-block: 1px solid var(--line);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  padding: 0;
  margin: 0 auto;
  list-style: none;
}

.metric {
  min-height: 128px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.metric strong {
  display: block;
  color: var(--mint);
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  background: var(--bg);
}

.section-copy,
.section-heading,
.availability-copy {
  max-width: 760px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.section-copy p:not(.eyebrow),
.availability-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.asset-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.asset-row {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 84px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.asset-token {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--asset-accent), white 12%);
  border-radius: 8px;
  background: color-mix(in srgb, var(--asset-accent), transparent 84%);
  color: var(--asset-accent);
  font-size: 0.88rem;
  font-weight: 860;
}

.asset-row strong,
.asset-row small {
  display: block;
}

.asset-row small {
  margin-top: 5px;
  color: var(--muted);
}

.feature-section {
  background: #081626;
}

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

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

.feature-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
  box-shadow: var(--shadow);
}

.feature-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.feature-card p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.screens-section {
  background: var(--bg-deep);
}

.screenshots {
  display: grid;
  grid-template-columns: repeat(5, minmax(190px, 1fr));
  gap: 18px;
  align-items: start;
  overflow-x: auto;
  padding-bottom: 12px;
}

.screenshot {
  min-width: 190px;
  margin: 0;
}

.screenshot img {
  width: 100%;
  aspect-ratio: 9 / 19;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.screenshot figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-weight: 720;
  text-align: center;
}

.availability-section {
  background:
    linear-gradient(120deg, rgba(120, 230, 238, 0.14), transparent 42%),
    linear-gradient(90deg, #0a1728, #08101d);
  border-block: 1px solid var(--line);
}

.availability-copy a {
  color: var(--cyan);
  font-weight: 760;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(20px, 6vw, 92px);
  color: var(--muted);
  background: var(--bg-deep);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .intro-section,
  .feature-grid,
  .metrics {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }
}

@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 14px;
  }

  .hero {
    min-height: 88vh;
    padding-top: 142px;
    background:
      linear-gradient(180deg, rgba(3, 7, 18, 0.98), rgba(3, 7, 18, 0.86) 42%, rgba(3, 7, 18, 0.98)),
      url("/assets/stakepath-feature.png") 72% center / cover no-repeat;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 5.2rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    text-align: center;
  }

  .asset-row {
    grid-template-columns: 58px 1fr;
  }
}
