:root {
  --bg: #07100b;
  --panel: #101913;
  --panel-2: #0d1510;
  --border: #294233;
  --text: #eef4ef;
  --muted: #9fb4a7;
  --green: #55d98d;
  --green-2: #38c87a;
  --danger: #ff9c9c;
  --warning: #e5b84d;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at top, rgba(56, 200, 122, .08), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: var(--green); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 16, 11, .9);
  border-bottom: 1px solid rgba(41, 66, 51, .85);
}

.nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 54px;
  max-width: 230px;
  object-fit: contain;
}

.nav-links {
  margin-left: auto;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

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

.hero {
  padding: 88px 0 62px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(56, 200, 122, .35);
  color: var(--green);
  background: rgba(56, 200, 122, .06);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.02;
  margin: 18px 0;
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin-top: 0;
}

h3 { margin-top: 0; }

.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 720px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
}

.button.primary {
  background: rgba(56, 200, 122, .14);
  border-color: rgba(56, 200, 122, .45);
  color: var(--green);
}

.hero-card,
.card,
.notice,
.legal {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(16,25,19,.98), rgba(13,21,16,.98));
  border-radius: 16px;
}

.hero-card {
  padding: 22px;
  box-shadow: 0 22px 70px rgba(0,0,0,.28);
}

.metric {
  padding: 12px 0;
  border-bottom: 1px solid rgba(41,66,51,.65);
}

.metric:last-child { border-bottom: 0; }

.metric strong {
  display: block;
  font-size: 17px;
}

.metric span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 58px 0;
}

.section.alt {
  background: rgba(255,255,255,.012);
  border-top: 1px solid rgba(41,66,51,.45);
  border-bottom: 1px solid rgba(41,66,51,.45);
}

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

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

.card {
  padding: 20px;
}

.card p,
.muted {
  color: var(--muted);
}

.notice {
  padding: 16px 18px;
  color: var(--muted);
  margin: 20px 0;
}

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

.code {
  display: block;
  padding: 12px 14px;
  background: #07100a;
  border: 1px solid #22372a;
  border-radius: 9px;
  color: #cfe0d5;
  font-family: Consolas, "Courier New", monospace;
  overflow-wrap: anywhere;
}

.legal {
  padding: 28px;
  margin: 36px 0;
}

.legal h1 {
  font-size: clamp(34px, 5vw, 52px);
}

.legal h2 {
  margin-top: 34px;
  font-size: 24px;
}

.footer {
  padding: 34px 0 54px;
  color: var(--muted);
  font-size: 13px;
}

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

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

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

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

  .nav {
    align-items: flex-start;
    padding: 14px 0;
    flex-direction: column;
  }

  .nav-links {
    margin-left: 0;
  }

  .hero { padding-top: 52px; }
}
