:root {
  --ink: #101827;
  --muted: #68738a;
  --line: #d9dfeb;
  --paper: #f7f1e7;
  --surface: #ffffff;
  --gold: #c8912a;
  --gold-soft: #f3dfaa;
  --navy: #111b31;
  --navy-2: #192641;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(200, 145, 42, 0.16), transparent 32rem),
    linear-gradient(180deg, #fffaf0 0%, #f7f8fb 44%, #edf1f8 100%);
  font-family: "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(17, 27, 49, 0.08);
  background: rgba(255, 250, 240, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

nav a {
  text-decoration: none;
}

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

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.language-control {
  position: relative;
}

.language-control select {
  min-width: 8.8rem;
  border: 1px solid rgba(200, 145, 42, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--navy);
  padding: 0.58rem 2rem 0.58rem 0.9rem;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 750;
  outline: 0;
}

.language-control select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 145, 42, 0.15);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.75fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 7vw, 6rem);
  overflow: hidden;
}

.hero-copy {
  width: 100%;
  max-width: 56rem;
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 1.4rem;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.65rem, 5.6vw, 5.6rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.055em;
  max-width: 100%;
  overflow-wrap: anywhere;
  hyphens: auto;
}

:lang(zh-CN) h1,
:lang(zh-Hant) h1,
:lang(ja) h1,
:lang(ko) h1,
:lang(vi) h1 {
  max-width: 62rem;
  font-size: clamp(2.3rem, 4.9vw, 4.8rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

h2 {
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 0.55rem;
  color: var(--navy);
  font-size: 1rem;
}

.lede {
  max-width: 48rem;
  color: #404b62;
  font-size: clamp(1.06rem, 2vw, 1.35rem);
  line-height: 1.72;
  overflow-wrap: anywhere;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 2rem 0 1.2rem;
}

.status-row span {
  border: 1px solid rgba(200, 145, 42, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  padding: 0.62rem 0.9rem;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 750;
}

.notice {
  max-width: 48rem;
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

.hero-token {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-token img {
  width: min(24rem, 72vw);
  border-radius: 50%;
  box-shadow: 0 2rem 7rem rgba(17, 27, 49, 0.24);
}

.coin-halo {
  position: absolute;
  width: min(31rem, 86vw);
  height: min(31rem, 86vw);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(200, 145, 42, 0.28), transparent 62%),
    repeating-radial-gradient(circle, rgba(200, 145, 42, 0.22) 0 1px, transparent 1px 32px);
  animation: slow-spin 26s linear infinite;
}

@keyframes slow-spin {
  to {
    transform: rotate(360deg);
  }
}

.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto clamp(2rem, 6vw, 5rem);
}

.split,
.token-card {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.copy-stack {
  color: #40506a;
  font-size: 1.05rem;
  line-height: 1.85;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(17, 27, 49, 0.1);
  background: rgba(255, 255, 255, 0.62);
}

.metrics article {
  padding: clamp(1.2rem, 3vw, 2rem);
  border-right: 1px solid rgba(17, 27, 49, 0.1);
}

.metrics article:last-child {
  border-right: 0;
}

.metrics span {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.metrics strong {
  display: block;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
  line-height: 1;
}

.metrics small {
  display: block;
  margin-top: 0.7rem;
  color: var(--muted);
}

.token-card {
  border-radius: 2rem;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: #dbe3f4;
  padding: clamp(1.4rem, 4vw, 3rem);
}

.token-card h2,
.token-card .section-kicker {
  color: #fff4d2;
}

.token-card p {
  color: #cbd5e8;
  line-height: 1.75;
}

dl {
  display: grid;
  gap: 1rem;
  margin: 0;
}

dl div {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 1rem;
}

dt {
  margin-bottom: 0.45rem;
  color: #91a0bb;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

dd {
  margin: 0;
  overflow-wrap: anywhere;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.token-card a,
td a {
  color: #b77711;
  font-weight: 800;
  text-decoration: none;
}

.section-heading {
  max-width: 56rem;
  margin-bottom: 1.5rem;
}

.section-heading p {
  color: var(--muted);
  line-height: 1.75;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.72);
  scrollbar-gutter: stable;
}

.table-hint {
  display: none;
  margin: 0.9rem 0 0;
  border-left: 3px solid var(--gold);
  padding-left: 0.75rem;
  color: #5b6780;
  font-size: 0.86rem;
  line-height: 1.6;
}

table {
  width: 100%;
  min-width: 1060px;
  border-collapse: collapse;
}

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

th {
  background: var(--navy);
  color: white;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

td {
  color: #2e3b53;
  font-size: 0.92rem;
}

td strong,
td span {
  display: block;
}

td span {
  margin-top: 0.28rem;
  color: var(--muted);
  font-size: 0.82rem;
}

td code {
  color: #4d5a71;
  font-size: 0.78rem;
}

tr:last-child td {
  border-bottom: 0;
}

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

.risk-grid article {
  border: 1px solid rgba(17, 27, 49, 0.1);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.7);
  padding: 1.2rem;
}

.risk-grid p {
  color: var(--muted);
  line-height: 1.72;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem clamp(1rem, 5vw, 4rem);
  background: var(--navy);
  color: #dbe3f4;
}

footer strong,
footer span {
  display: block;
}

footer span,
footer p {
  color: #9eabc2;
}

footer p {
  max-width: 48rem;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .hero,
  .split,
  .token-card,
  .risk-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }

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

  .metrics article:nth-child(2) {
    border-right: 0;
  }

  .metrics article {
    border-bottom: 1px solid rgba(17, 27, 49, 0.1);
  }

  .metrics article:nth-child(3),
  .metrics article:nth-child(4) {
    border-bottom: 0;
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-actions {
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
  }

  .table-hint {
    display: block;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 0.9rem;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }

  .brand img {
    width: 2.25rem;
    height: 2.25rem;
  }

  .header-actions {
    flex-direction: column;
    gap: 0.8rem;
  }

  nav {
    justify-content: flex-start;
    gap: 0.75rem;
    font-size: 0.82rem;
  }

  .language-control,
  .language-control select {
    width: 100%;
  }

  .hero {
    padding-top: 2.45rem;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  h1 {
    font-size: clamp(1.9rem, 8.4vw, 2.35rem);
    line-height: 1.14;
    letter-spacing: -0.035em;
  }

  :lang(zh-CN) h1,
  :lang(zh-Hant) h1,
  :lang(ja) h1,
  :lang(ko) h1,
  :lang(vi) h1 {
    font-size: clamp(1.85rem, 8.7vw, 2.35rem);
    line-height: 1.16;
    letter-spacing: -0.025em;
  }

  .lede {
    font-size: 1rem;
    line-height: 1.68;
  }

  .status-row span {
    padding: 0.58rem 0.75rem;
    font-size: 0.78rem;
  }

  .hero-token {
    overflow: hidden;
    padding: 0.2rem 0 0.4rem;
  }

  .hero-token img {
    width: min(20rem, 76vw);
  }

  .coin-halo {
    width: min(24rem, 78vw);
    height: min(24rem, 78vw);
  }

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

  .metrics article,
  .metrics article:nth-child(2),
  .metrics article:nth-child(3) {
    border-right: 0;
    border-bottom: 1px solid rgba(17, 27, 49, 0.1);
  }

  .metrics article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 340px) {
  .site-header {
    gap: 0.75rem;
    padding: 0.75rem 1rem;
  }

  nav {
    gap: 0.68rem;
    font-size: 0.78rem;
  }

  .language-control select {
    min-width: 0;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 0.8rem;
  }

  .eyebrow,
  .section-kicker {
    font-size: 0.7rem;
    letter-spacing: 0.13em;
  }

  h1 {
    font-size: 1.9rem;
  }

  :lang(zh-CN) h1,
  :lang(zh-Hant) h1,
  :lang(ja) h1,
  :lang(ko) h1,
  :lang(vi) h1 {
    font-size: 1.75rem;
    line-height: 1.18;
  }

  .notice {
    font-size: 0.86rem;
  }

  .status-row {
    gap: 0.52rem;
  }
}
