:root {
  color-scheme: dark;
  --bg: #03040a;
  --panel: rgba(9, 12, 20, 0.78);
  --panel-strong: rgba(12, 16, 26, 0.94);
  --line: rgba(255, 255, 255, 0.12);
  --line-blue: rgba(54, 188, 255, 0.5);
  --text: #f7f8fb;
  --muted: #a4adbd;
  --soft: #d8dde8;
  --blue: #1987ff;
  --cyan: #20ddff;
  --violet: #895cff;
}

* {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(115deg, rgba(25, 135, 255, 0.16), transparent 34%),
    linear-gradient(245deg, rgba(137, 92, 255, 0.18), transparent 38%),
    #03040a;
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

body,
main,
.site-header,
footer {
  max-width: 100%;
}

#networkCanvas,
.grid-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

#networkCanvas {
  z-index: -2;
  width: 100%;
  height: 100%;
}

.grid-layer {
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.036) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(180deg, rgba(3, 4, 10, 0.08), rgba(3, 4, 10, 0.92));
  background-size: 72px 72px, 72px 72px, 100% 100%;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.45));
}

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

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 64px;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 4, 10, 0.82);
  backdrop-filter: blur(18px);
}

.brand,
nav,
.hero-actions,
.identity-strip,
.ca-line,
footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: 0 0 26px rgba(32, 221, 255, 0.28);
}

nav {
  gap: 30px;
  color: var(--muted);
  font-size: 14px;
}

nav a,
.header-action,
.primary-action,
.secondary-action,
.access-card,
.copy-button {
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

nav a:hover {
  color: var(--text);
}

.header-action,
.primary-action,
.secondary-action,
.copy-button {
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--soft);
  font-weight: 700;
}

.primary-action {
  border-color: rgba(32, 221, 255, 0.5);
  background: linear-gradient(135deg, rgba(25, 135, 255, 0.95), rgba(137, 92, 255, 0.9));
  color: #ffffff;
  box-shadow: 0 18px 48px rgba(25, 135, 255, 0.24);
}

.header-action:hover,
.secondary-action:hover,
.copy-button:hover,
.access-card:hover {
  border-color: var(--line-blue);
  background: rgba(25, 135, 255, 0.08);
  box-shadow:
    0 0 0 1px rgba(32, 221, 255, 0.12),
    0 0 36px rgba(32, 221, 255, 0.18),
    0 0 72px rgba(137, 92, 255, 0.12);
  transform: translateY(-2px);
}

.primary-action:hover {
  box-shadow:
    0 22px 60px rgba(25, 135, 255, 0.32),
    0 0 82px rgba(137, 92, 255, 0.2);
  transform: translateY(-2px);
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 76px;
  align-items: center;
  padding: 54px 0 54px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(32, 221, 255, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: #a6efff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: 92px;
  line-height: 0.92;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 18px;
  font-size: 54px;
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

.hero-text,
.section-copy p,
.stack-grid p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

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

.terminal-panel,
.stack-grid article,
.access-card,
.contract-panel,
.token-card,
.token-table,
.token-notes article,
.readiness-grid article,
.transparency-panel,
.faq-grid article {
  min-width: 0;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(7, 9, 16, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 28px 80px rgba(0, 0, 0, 0.28);
}

.terminal-panel {
  position: relative;
  min-width: 0;
  width: 100%;
  overflow: hidden;
  padding: 22px;
}

.terminal-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(32, 221, 255, 0.18), transparent),
    linear-gradient(180deg, transparent, rgba(137, 92, 255, 0.12));
  transform: translateX(-65%);
  animation: dataSweep 5.6s linear infinite;
}

.panel-bar,
.status-row,
.terminal-code {
  position: relative;
  z-index: 1;
}

.panel-bar {
  display: flex;
  gap: 8px;
  padding-bottom: 28px;
}

.panel-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
}

.panel-bar span:nth-child(1) {
  background: var(--cyan);
}

.panel-bar span:nth-child(2) {
  background: var(--blue);
}

.panel-bar span:nth-child(3) {
  background: var(--violet);
}

.status-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.status-row span,
.terminal-code span,
.identity-strip span,
.access-card span,
.access-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.status-row strong {
  color: var(--text);
  font-size: 15px;
}

.terminal-code {
  display: grid;
  min-width: 0;
  gap: 10px;
  margin-top: 30px;
  padding: 18px;
  border: 1px solid rgba(32, 221, 255, 0.16);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
  font-family: Menlo, Consolas, monospace;
}

.terminal-code span {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.identity-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.identity-strip div {
  padding: 22px;
  border-right: 1px solid var(--line);
}

.identity-strip div:last-child {
  border-right: 0;
}

.identity-strip strong {
  display: block;
  margin-top: 10px;
  font-size: 18px;
}

.section {
  padding: 110px 0;
}

.platform-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 80px;
  align-items: center;
}

.section-copy {
  max-width: 700px;
}

.section-copy.compact {
  max-width: 820px;
}

.logo-core {
  position: relative;
  width: 380px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.logo-core img {
  width: 72%;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(32, 221, 255, 0.6),
    0 0 70px rgba(32, 221, 255, 0.22);
  z-index: 2;
}

.pulse-ring {
  position: absolute;
  border: 1px solid rgba(32, 221, 255, 0.42);
  border-radius: 50%;
}

.ring-one {
  inset: 0;
}

.ring-two {
  inset: 13%;
  border-color: rgba(137, 92, 255, 0.38);
}

.stack-grid,
.access-grid {
  display: grid;
  gap: 16px;
}

.stack-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 32px;
}

.stack-grid article {
  min-height: 230px;
  padding: 26px;
}

.stack-grid article span {
  display: inline-flex;
  margin-bottom: 56px;
  color: #a6efff;
  font-size: 12px;
  font-weight: 700;
}

.access-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 30px;
}

.access-card {
  min-height: 158px;
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.access-card::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 54px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--violet));
  opacity: 0.66;
}

.access-card span {
  color: #9cefff;
}

.access-card strong {
  display: block;
  margin: 42px 0 12px;
  font-size: 21px;
}

.token-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.token-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 16px;
  margin-top: 34px;
}

.token-card {
  min-height: 310px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.token-card::after {
  content: "";
  position: absolute;
  inset: auto 28px 28px 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--cyan), var(--violet), transparent);
  opacity: 0.72;
}

.token-label {
  display: inline-flex;
  margin-bottom: 74px;
  color: #9cefff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.token-card strong {
  display: block;
  margin-bottom: 18px;
  font-size: 42px;
  line-height: 1;
}

.token-card p,
.token-notes p {
  color: var(--muted);
  line-height: 1.65;
}

.token-table {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
}

.token-table div {
  min-height: 104px;
  padding: 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.token-table div:nth-child(2n) {
  border-right: 0;
}

.token-table div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.token-table span,
.token-notes span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.token-table strong {
  display: block;
  margin-top: 18px;
  font-size: 20px;
}

.token-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.token-notes article {
  min-height: 190px;
  padding: 24px;
}

.token-notes h3 {
  margin-top: 42px;
}

.status-section {
  padding-top: 96px;
}

.readiness-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.readiness-grid article {
  min-height: 168px;
  padding: 22px;
}

.readiness-grid span,
.readiness-grid small,
.transparency-panel span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.readiness-grid strong {
  display: block;
  margin: 42px 0 12px;
  font-size: 22px;
}

.readiness-grid small {
  color: #9cefff;
}

.transparency-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.transparency-panel div {
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(25, 135, 255, 0.1), transparent 44%),
    rgba(7, 9, 16, 0.84);
}

.transparency-panel strong {
  display: block;
  margin: 18px 0 12px;
  font-size: 24px;
}

.transparency-panel p,
.faq-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.faq-section {
  padding-top: 70px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.faq-grid article {
  min-height: 188px;
  padding: 26px;
}

.contract-panel {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 34px;
  align-items: center;
  padding: 34px;
}

.ca-line {
  gap: 14px;
  min-width: 0;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.ca-line span {
  color: #9cefff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.ca-line strong {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button {
  cursor: pointer;
  font: inherit;
}

.copy-button.is-copied {
  border-color: rgba(32, 221, 255, 0.86);
  color: #ffffff;
  background: rgba(32, 221, 255, 0.14);
}

footer {
  width: min(1180px, calc(100% - 40px));
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@keyframes dataSweep {
  0% {
    transform: translateX(-75%);
  }
  100% {
    transform: translateX(75%);
  }
}

@media (max-width: 920px) {
  .site-header {
    padding-inline: 28px;
  }

  nav {
    display: none;
  }

  .hero,
  .platform-section,
  .contract-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 42px;
    padding-top: 44px;
  }

  h1 {
    font-size: 62px;
  }

  h2 {
    font-size: 42px;
  }

  .terminal-panel {
    width: 100%;
    max-width: 520px;
  }

  .logo-core {
    width: min(100%, 360px);
  }

  .identity-strip,
  .stack-grid,
  .access-grid,
  .token-layout,
  .token-table,
  .token-notes,
  .readiness-grid,
  .transparency-panel,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .token-table div,
  .token-table div:nth-child(2n),
  .token-table div:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .token-table div:last-child {
    border-bottom: 0;
  }

  .identity-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .identity-strip div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  main,
  footer {
    width: calc(100% - 28px);
  }

  .site-header {
    padding-inline: 14px;
  }

  .header-action {
    display: none;
  }

  h1 {
    max-width: 320px;
    font-size: 34px;
    line-height: 0.98;
  }

  h2 {
    max-width: 320px;
    font-size: 30px;
    line-height: 1.05;
  }

  .hero-copy,
  .section-copy,
  .hero-text,
  .section-copy p {
    max-width: 320px;
  }

  .hero,
  .hero-copy,
  .terminal-panel,
  .identity-strip,
  .platform-section,
  .section-copy,
  .stack-grid,
  .stack-grid article,
  .access-grid,
  .access-card,
  .token-layout,
  .token-card,
  .token-table,
  .token-notes,
  .token-notes article,
  .readiness-grid,
  .readiness-grid article,
  .transparency-panel,
  .faq-grid,
  .faq-grid article,
  .contract-panel,
  .ca-line {
    width: 100%;
    max-width: calc(100vw - 28px);
  }

  .hero-text,
  .section-copy p,
  .stack-grid p {
    font-size: 16px;
  }

  .ca-line {
    align-items: stretch;
    flex-direction: column;
  }

  .terminal-panel {
    padding: 18px;
  }

  .status-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .terminal-code {
    padding: 14px;
  }

  .terminal-code span {
    font-size: 10px;
    word-break: break-all;
  }

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