:root {
  --bg: #071018;
  --bg-2: #0c1a28;
  --card: rgba(14, 32, 50, 0.72);
  --card-solid: #102536;
  --line: rgba(126, 196, 255, 0.16);
  --text: #eef7ff;
  --muted: #93adc4;
  --blue: #3ba9ff;
  --blue-2: #7ad0ff;
  --blue-deep: #1d7ff5;
  --ok: #3dd68c;
  --warn: #f5c14a;
  --shadow: 0 24px 60px rgba(0, 8, 18, 0.45);
  --radius: 22px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  background:
    radial-gradient(900px 500px at 12% -10%, rgba(59, 169, 255, 0.22), transparent 55%),
    radial-gradient(700px 420px at 90% 8%, rgba(29, 127, 245, 0.16), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, #08141f 48%, var(--bg-2) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(122, 208, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 208, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 20%, transparent 75%);
}

a {
  color: var(--blue-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(7, 16, 24, 0.72);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: Sora, sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
}

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

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.95rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

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

.hero {
  padding: 72px 0 28px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue-2);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Sora, sans-serif;
  margin: 0;
}

h1 {
  margin: 18px 0 12px;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.lede {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.65;
}

.contract-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.chip,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font: inherit;
  cursor: pointer;
}

.chip {
  background: rgba(16, 37, 54, 0.9);
  color: var(--text);
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.86rem;
}

.btn {
  background: linear-gradient(180deg, #3ba9ff, #1d7ff5);
  color: #041018;
  font-weight: 700;
  text-decoration: none;
  border: 0;
}

.btn:hover {
  text-decoration: none;
  filter: brightness(1.05);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
  padding: 28px;
  text-align: center;
}

.hero-card img {
  width: 168px;
  height: 168px;
  margin: 0 auto 18px;
}

.hero-card h2 {
  font-size: 1.4rem;
}

.hero-card p {
  color: var(--muted);
  margin: 8px 0 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 12px 0 48px;
}

.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat strong {
  display: block;
  margin-top: 8px;
  font-family: Sora, sans-serif;
  font-size: 1.2rem;
}

section {
  padding: 28px 0 12px;
  scroll-margin-top: 88px;
}

.section-head {
  margin-bottom: 18px;
}

.section-head p {
  color: var(--muted);
  max-width: 40rem;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 16px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.card p,
.card li {
  color: var(--muted);
  line-height: 1.6;
}

.facts {
  width: 100%;
  border-collapse: collapse;
}

.facts th,
.facts td {
  text-align: left;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.facts th {
  width: 34%;
  color: var(--muted);
  font-weight: 500;
}

.facts td {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  word-break: break-all;
}

.asset {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.asset-preview {
  height: 120px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(59, 169, 255, 0.18), transparent 60%),
    #0a1824;
  border-radius: 16px;
}

.asset-preview img {
  width: 72px;
  height: 72px;
}

.notice {
  margin-top: 40px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(245, 193, 74, 0.28);
  background: rgba(245, 193, 74, 0.08);
  color: #f6e7b8;
  font-size: 0.95rem;
  line-height: 1.6;
}

.site-footer {
  margin-top: 48px;
  padding: 28px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(16px);
  opacity: 0;
  pointer-events: none;
  background: #12324a;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 999px;
  transition: 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.paper {
  margin: 36px auto 24px;
  max-width: 820px;
  padding: 40px 44px 56px;
  background: #f4f8fc;
  color: #14202b;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.paper h1 {
  color: #071018;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.paper h2 {
  margin: 32px 0 12px;
  color: #0b1a26;
  font-size: 1.25rem;
}

.paper p,
.paper li {
  color: #314352;
  line-height: 1.7;
}

.paper .lede {
  color: #3d5364;
}

.paper a {
  color: #1567c7;
}

.paper .kicker {
  color: #1d7ff5;
  border-color: rgba(29, 127, 245, 0.25);
  background: #fff;
}

.paper .facts th {
  color: #5b7386;
}

.paper .facts td,
.paper code {
  color: #12202c;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.92em;
  word-break: break-all;
}

.paper-hero {
  text-align: left;
  padding-bottom: 8px;
  border-bottom: 1px solid #d7e4ef;
}

.paper-hero img {
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
}

.paper-meta {
  margin-top: 18px;
  font-size: 0.92rem;
}

.toc {
  margin: 28px 0;
  padding: 18px 22px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #d7e4ef;
}

.toc h2 {
  margin-top: 0;
}

.toc ol {
  margin: 0;
  padding-left: 1.2rem;
}

.toc a {
  color: #1d4f86;
}

.paper-end {
  margin-top: 36px;
  font-size: 0.9rem;
  color: #5b7386;
}

@media (max-width: 860px) {
  .hero,
  .stats,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .hero {
    padding-top: 36px;
  }

  .paper {
    padding: 24px 18px 36px;
  }
}

@media print {
  body {
    background: #fff;
  }

  body::before,
  .no-print,
  .site-header,
  .site-footer {
    display: none !important;
  }

  .paper {
    margin: 0;
    max-width: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #fff;
  }
}
