:root {
  color-scheme: dark;
  --bg: #050713;
  --bg-soft: #0b1020;
  --surface: rgba(11, 15, 25, 0.94);
  --surface-strong: #101726;
  --surface-soft: rgba(20, 31, 51, 0.72);
  --border: rgba(255, 215, 106, 0.3);
  --border-strong: rgba(255, 215, 106, 0.58);
  --text: #fff5dc;
  --muted: #d9cda9;
  --gold: #ffd76a;
  --gold-strong: #ffbd38;
  --cyan: #55e7ff;
  --success: #76e6a5;
  --warning: #ffd07b;
  --danger: #ff9b9b;
  --max-width: 1120px;
  --radius: 20px;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(37, 99, 150, 0.32), transparent 34rem),
    radial-gradient(circle at 88% 8%, rgba(211, 154, 36, 0.16), transparent 28rem),
    linear-gradient(180deg, var(--bg-soft), var(--bg) 40rem);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

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

a {
  color: var(--cyan);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #b5f4ff;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 10px 14px;
  color: #08101c;
  background: var(--cyan);
  border-radius: 8px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 215, 106, 0.18);
  background: rgba(5, 7, 19, 0.94);
  backdrop-filter: blur(14px);
}

.nav-shell,
.page-shell,
.footer-shell {
  width: min(100% - 36px, var(--max-width));
  margin-inline: auto;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding-block: 10px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
  font-weight: 850;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-link img {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
}

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

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  color: var(--muted);
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 215, 106, 0.1);
}

.page-shell {
  padding-block: 46px 72px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  align-items: center;
  gap: clamp(30px, 6vw, 76px);
  min-height: 570px;
  padding-block: 30px 60px;
}

.hero-compact {
  min-height: 0;
  padding-block: 20px 44px;
}

.eyebrow,
.status-label {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--gold);
  line-height: 1.16;
  text-wrap: balance;
}

h1 {
  max-width: 860px;
  margin-bottom: 20px;
  font-size: clamp(2.55rem, 7vw, 5.4rem);
  letter-spacing: -0.045em;
}

.hero-compact h1 {
  font-size: clamp(2.35rem, 6vw, 4.7rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  letter-spacing: -0.025em;
}

h3 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: 1.2rem;
}

p {
  margin-block: 0 14px;
}

.lead {
  max-width: 760px;
  color: var(--text);
  font-size: clamp(1.08rem, 2.2vw, 1.3rem);
}

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

.hero-logo {
  width: min(100%, 310px);
  height: auto;
  justify-self: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  box-shadow: 0 0 0 10px rgba(255, 215, 106, 0.05), var(--shadow);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 17px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: #111724;
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  box-shadow: 0 8px 24px rgba(255, 189, 56, 0.12);
  font: inherit;
  font-weight: 850;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  color: #050713;
  filter: brightness(1.06);
}

.button-secondary {
  color: var(--text);
  background: rgba(85, 231, 255, 0.07);
  border-color: rgba(85, 231, 255, 0.48);
  box-shadow: none;
}

.button-secondary:hover {
  color: var(--text);
  background: rgba(85, 231, 255, 0.14);
}

.button[disabled] {
  cursor: not-allowed;
  opacity: 0.55;
}

.section {
  padding-block: 34px;
  scroll-margin-top: 96px;
}

.section-intro {
  max-width: 760px;
  color: var(--muted);
  margin-bottom: 24px;
}

.card,
.notice,
.wallet-panel {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card {
  padding: clamp(20px, 3vw, 28px);
}

.card p:last-child,
.notice p:last-child {
  margin-bottom: 0;
}

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

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

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 14px;
  padding: 4px 10px;
  border: 1px solid rgba(118, 230, 165, 0.42);
  border-radius: 999px;
  color: var(--success);
  background: rgba(118, 230, 165, 0.08);
  font-size: 0.78rem;
  font-weight: 850;
}

.tag-planned {
  color: var(--warning);
  border-color: rgba(255, 208, 123, 0.42);
  background: rgba(255, 208, 123, 0.08);
}

.tag-development {
  color: var(--cyan);
  border-color: rgba(85, 231, 255, 0.42);
  background: rgba(85, 231, 255, 0.08);
}

.status-grid,
.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
}

.status-item,
.fact {
  min-width: 0;
  padding: 19px 20px;
  background: var(--surface-strong);
}

.status-item dt,
.fact dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 750;
}

.status-item dd,
.fact dd {
  margin: 0;
  color: var(--text);
  font-weight: 800;
}

.status-good {
  color: var(--success);
}

.status-none {
  color: var(--warning);
}

.address {
  overflow-wrap: anywhere;
  word-break: break-word;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.91em;
}

.check-list,
.plain-list,
.link-list,
.timeline {
  margin: 0;
  padding-left: 1.25rem;
}

.check-list li,
.plain-list li,
.timeline li {
  margin-block: 8px;
}

.link-list {
  list-style: none;
  padding-left: 0;
}

.link-list li + li {
  margin-top: 10px;
}

.link-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.notice {
  padding: 22px 24px;
  border-left: 4px solid var(--gold);
  color: var(--muted);
}

.notice-security {
  border-left-color: var(--cyan);
}

.notice-warning {
  border-left-color: var(--warning);
}

.wallet-panel {
  max-width: 760px;
  padding: clamp(22px, 4vw, 34px);
}

.wallet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block: 24px;
}

.wallet-results {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--border);
}

.wallet-results > div {
  min-width: 0;
  padding: 16px;
  background: var(--surface-strong);
}

.wallet-results dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.wallet-results dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.live-status {
  min-height: 28px;
  margin-top: 18px;
  color: var(--cyan);
  font-weight: 750;
}

.live-status[data-kind="error"] {
  color: var(--danger);
}

.live-status[data-kind="success"] {
  color: var(--success);
}

.toc {
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.toc ol {
  columns: 2;
  margin: 0;
  padding-left: 1.35rem;
}

.toc li {
  break-inside: avoid;
  margin: 6px 0;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 215, 106, 0.18);
  background: rgba(3, 5, 13, 0.78);
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-shell p {
  margin: 0;
}

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

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

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-logo {
    grid-row: 1;
    width: min(62vw, 260px);
  }

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

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .nav-shell,
  .page-shell,
  .footer-shell {
    width: min(100% - 28px, var(--max-width));
  }

  .site-header {
    position: static;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .site-nav a {
    justify-content: center;
    border: 1px solid rgba(255, 215, 106, 0.16);
    text-align: center;
  }

  .page-shell {
    padding-block: 30px 54px;
  }

  .hero {
    padding-block: 12px 36px;
  }

  .hero-logo {
    width: min(70vw, 220px);
  }

  .button-row,
  .wallet-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .card-grid,
  .card-grid.two,
  .status-grid,
  .facts-grid {
    grid-template-columns: 1fr;
  }

  .toc ol {
    columns: 1;
  }

  .footer-shell {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
