:root {
  --brand: #f4d887;
  --bg: #070708;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --line: rgba(244, 216, 135, 0.22);
  --line-muted: rgba(255, 255, 255, 0.1);
  --text: #f7f7f4;
  --text-muted: #b7b7b2;
  --text-soft: #7f7f78;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 280px),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.055), transparent 360px),
    var(--bg);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
}

.site-header {
  /*position: sticky;*/
  /*top: 0;*/
  /*z-index: 10;*/
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 7, 8, 0.82);
  backdrop-filter: blur(18px);
}

.header-inner,
.section-shell,
.site-footer {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: clamp(76px, 5.2vw, 88px);
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: 0;
}

.site-nav a {
  transition:
    color 180ms ease,
    opacity 180ms ease;
}

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

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 76px);
  place-items: center;
  padding: clamp(72px, 9vw, 126px) 0 clamp(60px, 8vw, 110px);
  overflow: hidden;
}

.hero::before,
.hero::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero::before {
  inset: 12% 8% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.hero::after {
  right: 7%;
  bottom: 16%;
  width: min(360px, 42vw);
  height: min(360px, 42vw);
  border: 1px solid rgba(244, 216, 135, 0.1);
  transform: rotate(45deg);
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 58%, transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(880px, 100%);
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(40px, 7vw, 86px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-subtitle {
  width: min(680px, 100%);
  margin: 0 auto 42px;
  color: var(--text-muted);
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 400;
}

.contract-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
}

.contract-label {
  color: var(--text-soft);
  font-size: 13px;
  white-space: nowrap;
}

.contract-address {
  color: var(--brand);
  font-size: clamp(14px, 2vw, 19px);
  font-weight: 600;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-align: left;
}

.copy-button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--brand);
  border-radius: 6px;
  color: #080808;
  background: var(--brand);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background-color 180ms ease;
}

.copy-button:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.copy-button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.copy-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 13px;
}

.metrics-section,
.capability-section {
  padding: clamp(58px, 8vw, 104px) 0;
}

.section-heading {
  max-width: 620px;
  margin: 0 auto 34px;
  text-align: center;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 760px;
  margin: 0 auto;
}

.metric-card,
.capability-card {
  border: 1px solid var(--line-muted);
  border-radius: 8px;
  background: var(--panel);
}

.metric-card {
  display: grid;
  min-height: 168px;
  place-items: center;
  padding: 36px 22px;
  text-align: center;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.metric-card:hover {
  border-color: var(--line);
  background: var(--panel-strong);
  transform: translateY(-2px);
}

.metric-card strong {
  display: block;
  color: var(--brand);
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}

.metric-card span {
  color: var(--text-muted);
  font-size: clamp(16px, 2vw, 20px);
}

.capability-card {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 52px);
  box-shadow: var(--shadow);
}

.capability-card p {
  position: relative;
  margin: 0;
  padding: 18px 0 18px 28px;
  color: var(--text-muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.75;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.capability-card p::before {
  position: absolute;
  top: 30px;
  left: 0;
  width: 8px;
  height: 8px;
  border: 1px solid var(--brand);
  content: "";
}

.capability-card p:last-child {
  border-bottom: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 34px 0 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-soft);
  font-size: 13px;
}

.site-footer span:first-child {
  color: var(--brand);
  font-weight: 700;
}

@media (max-width: 760px) {
  .header-inner,
  .section-shell,
  .site-footer {
    width: min(100% - 32px, 1120px);
  }

  .header-inner {
    min-height: 66px;
  }

  .site-nav {
    gap: 14px;
    font-size: 13px;
  }

  .site-nav a:nth-child(3) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 66px;
  }

  .hero::after {
    width: 220px;
    height: 220px;
    right: -86px;
    bottom: 12%;
  }

  .contract-panel {
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 12px;
    padding: 16px;
  }

  .contract-address {
    text-align: center;
  }

  .copy-button {
    width: 100%;
  }

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

  .metric-card {
    min-height: 142px;
  }

  .capability-card p {
    padding-left: 22px;
  }

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

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .site-nav {
    display: none;
  }

  .brand-logo {
    width: 78px;
  }

  .hero-subtitle {
    margin-bottom: 32px;
  }

  .capability-card {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
