:root {
  --bg: #050505;
  --panel: rgba(12, 12, 12, 0.8);
  --card: #0f0f0f;
  --border: rgba(255, 255, 255, 0.08);
  --orange: #ff7a18;
  --orange-soft: rgba(255, 122, 24, 0.15);
  --text: #f5f5f5;
  --muted: rgba(245, 245, 245, 0.64);
  --gradient: linear-gradient(135deg, #ff9e2c, #ff5f1f);
  font-family: 'Space Grotesk', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

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

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

.page {
  position: relative;
  overflow: hidden;
  padding: 2.5rem clamp(1.5rem, 4vw, 4rem) 4rem;
}

.glow {
  position: absolute;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(255, 122, 24, 0.25), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}

.glow-left {
  top: -10rem;
  left: -10rem;
}

.glow-right {
  bottom: -15rem;
  right: -5rem;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(14px);
  margin-bottom: 2.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

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

.brand h1 {
  font-size: 1.1rem;
  margin: 0;
}

nav {
  display: flex;
  gap: 1rem;
  font-size: 0.95rem;
}

nav a {
  color: var(--muted);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.nav-cta {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

button,
a.primary,
a.ghost {
  font-family: inherit;
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.4rem;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.primary {
  background: var(--gradient);
  color: #050505;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(255, 122, 24, 0.35);
}

.primary:hover {
  transform: translateY(-1px);
}

.ghost,
.outline {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.outline {
  border-style: dashed;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 0.5rem;
}

.hero h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 1rem;
}

.lede {
  font-size: 1.1rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.hero-actions .ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.signal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.75);
}

.signal span {
  font-size: 1.6rem;
  font-weight: 600;
}

.hero-panel {
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(8, 8, 8, 0.9);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-head span {
  color: var(--orange);
  font-weight: 600;
}

.panel-metric {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  padding: 1rem;
}

.panel-metric strong {
  font-size: 1.4rem;
}

.meter {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  margin-top: 0.7rem;
}

.meter span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--gradient);
}

.panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.panel-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem 1rem;
}

.panel-cta {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text);
  padding: 0.85rem;
}

.marquee {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 3.5rem;
}

.track {
  display: inline-flex;
  gap: 4rem;
  padding: 0.85rem 1.5rem;
  white-space: nowrap;
  animation: scroll 18s linear infinite;
}

.track span {
  color: var(--muted);
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.utility header {
  max-width: 720px;
  margin-bottom: 2rem;
}

.utility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.utility-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.4rem;
  background: rgba(9, 9, 9, 0.85);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.utility-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 122, 24, 0.5);
  box-shadow: 0 12px 30px rgba(255, 122, 24, 0.15);
}

.utility-card span {
  color: var(--orange);
  font-size: 0.9rem;
}

.network,
.stack,
.docs {
  margin-top: 4rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.2rem;
}

.steps article {
  padding: 1.4rem;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  background: rgba(6, 6, 6, 0.8);
}

.steps span {
  color: var(--orange);
  font-weight: 600;
}

.stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.stack-card {
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(8, 8, 8, 0.9);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stack-card .row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.7rem;
}

.docs-card {
  margin-top: 2rem;
  border-radius: 22px;
  border: 1px solid var(--border);
  padding: 2rem;
  background: rgba(12, 12, 12, 0.85);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.docs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

footer {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-links a {
  color: var(--muted);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.footer-links a:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }
  nav {
    flex-wrap: wrap;
  }
}
