:root {
  --bg: #0d1117;
  --bg-deep: #05070a;
  --panel: #080c12;
  --panel-soft: rgba(15, 23, 42, 0.7);
  --line: #1e293b;
  --line-soft: rgba(51, 65, 85, 0.8);
  --text: #ffffff;
  --muted: #94a3b8;
  --faint: #64748b;
  --blue: #2563eb;
  --blue-soft: rgba(37, 99, 235, 0.16);
  --emerald: #6ee7b7;
  --emerald-soft: rgba(16, 185, 129, 0.1);
  --rose: #fda4af;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: Roboto, Arial, sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 7, 10, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  width: 100%;
  min-height: 64px;
  align-items: center;
  gap: 1rem;
  padding: 0 2rem;
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.75rem;
}

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

.brand span {
  display: grid;
  gap: 0.1rem;
}

.brand strong {
  font-size: 0.875rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand small {
  color: var(--faint);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.market-ticker {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  background: rgba(2, 6, 23, 0.8);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.ticker-track {
  display: inline-flex;
  width: max-content;
  gap: 2.5rem;
  padding: 0.5rem 0 0.5rem 1rem;
  white-space: nowrap;
  animation: ticker 36s linear infinite;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--faint);
  font-size: 0.75rem;
}

.ticker-track strong {
  color: #e2e8f0;
  font-weight: 800;
}

.ticker-track em {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-style: normal;
}

.ticker-track b {
  color: var(--emerald);
  font-weight: 800;
}

.ticker-track b.down {
  color: var(--rose);
}

.ticker-track i {
  color: #334155;
  font-style: normal;
}

.release-badge {
  flex-shrink: 0;
  padding: 0.55rem 0.85rem;
  color: var(--emerald);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  background: var(--emerald-soft);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 999px;
}

.page-container {
  max-width: 1480px;
  padding-right: 2rem;
  padding-left: 2rem;
}

.mobile-status-card {
  display: none;
}

.hero {
  display: grid;
  min-height: calc(100vh - 64px);
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 16% 18%, rgba(37, 99, 235, 0.16), transparent 30%),
    radial-gradient(circle at 84% 24%, rgba(16, 185, 129, 0.1), transparent 28%),
    linear-gradient(180deg, #0d1117 0%, #0a0e15 100%);
}

.hero .row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: start;
  gap: 3rem;
}

.alpha-pill {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.25rem;
  padding: 0.55rem 1rem;
  color: var(--emerald);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--emerald-soft);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 999px;
}

h1 {
  max-width: none;
  margin: 0;
  color: var(--text);
  font-size: clamp(4.3rem, 6vw, 6.25rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-copy {
  max-width: 720px;
  margin: 1.5rem 0 0;
  color: #cbd5e1;
  font-size: 1.125rem;
  line-height: 1.78;
}

.stats-grid {
  display: grid;
  max-width: 680px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.stats-grid div {
  min-width: 0;
  padding-left: 1rem;
  border-left: 1px solid #334155;
}

.stats-grid strong {
  display: block;
  color: var(--text);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 0.45rem;
  color: var(--faint);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.terminal-card {
  max-width: 640px;
  margin: 2rem 0 0 auto;
  padding: 1.25rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 2rem;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
}

.terminal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.terminal-head div {
  display: grid;
  gap: 0.35rem;
}

.terminal-head span {
  color: var(--faint);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.terminal-head strong {
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 800;
}

.terminal-head p {
  margin: 0;
  padding: 0.35rem 0.7rem;
  color: var(--emerald);
  font-size: 0.75rem;
  font-weight: 900;
  background: var(--emerald-soft);
  border: 1px solid rgba(16, 185, 129, 0.22);
  border-radius: 999px;
}

.market-list {
  display: grid;
  gap: 0.75rem;
}

.market-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(2, 6, 23, 0.7);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
}

.market-row span {
  min-width: 0;
}

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

.market-row strong {
  color: var(--text);
  font-weight: 900;
}

.market-row small {
  margin-top: 0.25rem;
  overflow: hidden;
  color: var(--faint);
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-row em {
  color: #e2e8f0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.875rem;
  font-style: normal;
}

.market-row b {
  min-width: 4.4rem;
  padding: 0.3rem 0.55rem;
  color: var(--emerald);
  font-size: 0.75rem;
  font-weight: 900;
  text-align: center;
  background: var(--emerald-soft);
  border-radius: 0.35rem;
}

.market-row b.down {
  color: var(--rose);
  background: rgba(244, 63, 94, 0.1);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.feature-strip div {
  display: grid;
  min-height: 70px;
  place-items: center;
  padding: 0.75rem;
  background: #020617;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
}

.feature-strip span {
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 900;
}

.feature-section {
  padding: 4rem 0;
}

.feature-section .row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  height: 100%;
  padding: 1.5rem;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}

.feature-card h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 900;
}

.feature-card p {
  margin: 0.9rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.feature-card span {
  display: inline-flex;
  margin-top: 1.2rem;
  color: var(--emerald);
  font-size: 0.875rem;
  font-weight: 900;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 991.98px) {
  .header-inner {
    min-height: 72px;
    padding: 0 1rem;
  }

  .market-ticker {
    display: none;
  }

  .release-badge {
    margin-left: auto;
  }

  .page-container {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0 3rem;
  }

  .hero .row,
  .feature-section .row {
    grid-template-columns: 1fr;
  }

  .terminal-card {
    margin-right: auto;
    margin-left: auto;
  }

  h1 {
    max-width: 760px;
    white-space: normal;
  }
}

@media (max-width: 575.98px) {
  body {
    background:
      linear-gradient(180deg, #05070a 0%, #0d1117 42%, #070b11 100%);
  }

  .site-header {
    border-bottom-color: rgba(30, 41, 59, 0.72);
  }

  .header-inner {
    min-height: 68px;
    gap: 0.75rem;
    padding: 0 0.9rem;
  }

  .brand {
    gap: 0.65rem;
  }

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

  .brand strong {
    font-size: 0.76rem;
    letter-spacing: 0.14em;
  }

  .brand small {
    display: none;
  }

  .release-badge {
    max-width: 104px;
    padding: 0.45rem 0.55rem;
    font-size: 0.62rem;
    line-height: 1.1;
    text-align: center;
    border-radius: 0.85rem;
  }

  .page-container {
    padding-right: 0.9rem;
    padding-left: 0.9rem;
  }

  .hero {
    display: block;
    padding: 0.9rem 0 1.6rem;
    border-bottom: 0;
    background:
      radial-gradient(circle at 50% -8%, rgba(37, 99, 235, 0.28), transparent 42%),
      linear-gradient(180deg, #08101b 0%, #0d1117 58%, #070b11 100%);
  }

  .mobile-status-card {
    display: grid;
    gap: 0.45rem;
    margin: 0.1rem 0 1rem;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.72);
    border: 1px solid rgba(51, 65, 85, 0.86);
    border-radius: 1.25rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(16px);
  }

  .mobile-status-card span {
    color: var(--emerald);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .mobile-status-card strong {
    color: var(--text);
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1.15;
  }

  .alpha-pill {
    margin-bottom: 1rem;
    padding: 0.5rem 0.72rem;
    font-size: 0.62rem;
    letter-spacing: 0.13em;
    border-radius: 0.8rem;
  }

  h1 {
    font-size: clamp(3.35rem, 16vw, 4.55rem);
    line-height: 0.93;
    white-space: normal;
  }

  .hero-copy {
    margin-top: 1.15rem;
    color: #cbd5e1;
    font-size: 1rem;
    line-height: 1.65;
  }

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 1.35rem;
  }

  .stats-grid div {
    min-height: 82px;
    padding: 0.85rem 0.7rem;
    background: rgba(2, 6, 23, 0.72);
    border: 1px solid rgba(51, 65, 85, 0.82);
    border-radius: 1rem;
  }

  .stats-grid strong {
    font-size: 1.15rem;
  }

  .stats-grid span {
    margin-top: 0.45rem;
    font-size: 0.58rem;
    letter-spacing: 0.08em;
  }

  .terminal-card {
    width: 100%;
    margin-top: 1.35rem;
    padding: 0.8rem;
    border-radius: 1.4rem;
  }

  .terminal-head {
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.15rem 0;
  }

  .terminal-head span {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
  }

  .terminal-head strong {
    font-size: 1.05rem;
  }

  .terminal-head p {
    padding: 0.32rem 0.58rem;
    font-size: 0.62rem;
  }

  .market-list {
    gap: 0.6rem;
  }

  .market-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.65rem;
    padding: 0.85rem;
    border-radius: 1rem;
  }

  .market-row span {
    grid-row: span 2;
  }

  .market-row small {
    max-width: min(190px, 48vw);
    white-space: normal;
  }

  .market-row em {
    justify-self: end;
    font-size: 0.78rem;
  }

  .market-row b {
    justify-self: end;
    min-width: 3.8rem;
    font-size: 0.68rem;
  }

  .feature-strip {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    margin-top: 0.8rem;
  }

  .feature-strip div {
    min-height: 48px;
    border-radius: 0.9rem;
  }

  .feature-section {
    padding: 0 0.9rem 2rem;
  }

  .feature-section .page-container {
    padding-right: 0;
    padding-left: 0;
  }

  .feature-section .row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .feature-card {
    padding: 1rem;
    border-radius: 1.1rem;
  }

  .feature-card h2 {
    font-size: 1rem;
  }

  .feature-card p {
    margin-top: 0.65rem;
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .feature-card span {
    margin-top: 0.85rem;
    font-size: 0.78rem;
  }
}

@media (max-width: 380px) {
  .brand strong {
    font-size: 0.7rem;
  }

  .release-badge {
    max-width: 92px;
    font-size: 0.56rem;
  }

  h1 {
    font-size: 3.15rem;
  }

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

  .stats-grid div {
    min-height: auto;
  }
}
