:root {
  color-scheme: dark;
  --bg: #070707;
  --panel: #11110f;
  --panel-soft: #17150e;
  --text: #f7f3e8;
  --muted: #aaa69b;
  --gold: #f8c94d;
  --gold-bright: #ffe89b;
  --line: rgba(255, 224, 132, 0.18);
  --max: 1160px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 82% 8%, rgba(220, 164, 26, 0.14), transparent 28rem),
    radial-gradient(circle at 5% 35%, rgba(155, 103, 5, 0.09), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
}

a { color: inherit; }

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

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

.site-header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 760;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.brand img { width: 40px; height: 40px; }
.brand strong { color: var(--gold); }

nav { display: flex; gap: 26px; }
nav a { color: var(--muted); font-size: 0.94rem; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--gold-bright); }

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
  padding: 72px 0 92px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 740;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2 { margin: 0; line-height: 1.06; letter-spacing: -0.035em; }
h1 { max-width: 680px; font-size: clamp(3.2rem, 7.2vw, 6.3rem); }
h1 span { display: block; color: var(--gold); }
h2 { font-size: clamp(2.1rem, 4.1vw, 3.5rem); }

.hero-summary {
  max-width: 670px;
  margin: 28px 0 0;
  color: #c3bfb4;
  font-size: clamp(1.04rem, 1.7vw, 1.22rem);
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-weight: 720;
  text-decoration: none;
  cursor: pointer;
}

.button-primary { background: var(--gold); color: #171005; }
.button-primary:hover, .button-primary:focus-visible { background: var(--gold-bright); }
.button:disabled { cursor: not-allowed; opacity: 0.48; }

.token-mark { position: relative; margin: 0; text-align: center; }
.token-mark img { position: relative; z-index: 1; width: min(100%, 490px); height: auto; display: block; margin: 0 auto; filter: drop-shadow(0 28px 55px rgba(0, 0, 0, 0.65)); }
.token-mark figcaption { margin-top: 16px; color: #8d897e; font-size: 0.85rem; }
.logo-halo { position: absolute; inset: 13% 5%; border-radius: 50%; background: rgba(246, 187, 37, 0.24); filter: blur(70px); }

.section {
  padding: 86px 0;
  border-top: 1px solid var(--line);
}

.section-heading { margin-bottom: 42px; }

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}

.fact-grid > div { min-height: 122px; padding: 24px; background: var(--panel); }
.fact-grid dt, .field-label { color: var(--muted); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }
.fact-grid dd { margin: 14px 0 0; font-size: 1.12rem; font-weight: 700; }
.muted { color: var(--muted); font-weight: 500; }

.address-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.address-panel > div { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: rgba(17, 17, 15, 0.72); }
.address-panel code { display: block; overflow-wrap: anywhere; margin-top: 10px; color: var(--gold-bright); font-size: 0.91rem; }

.property-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.property-row span { padding: 7px 11px; border: 1px solid rgba(135, 205, 135, 0.2); border-radius: 999px; background: rgba(93, 148, 93, 0.08); color: #c6dfc0; font-size: 0.82rem; }

.split-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.split-heading > p { margin: 0; color: var(--muted); }

.allocation-bar { display: flex; height: 22px; overflow: hidden; border-radius: 999px; background: #1a1812; }
.allocation-bar span { width: var(--share); }
.rewards { background: #f8c94d; }
.treasury { background: #db9930; }
.liquidity { background: #a96920; }
.owner { background: #74501c; }

.allocation-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.allocation-grid article { position: relative; padding: 21px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.allocation-dot { width: 10px; height: 10px; display: block; border-radius: 50%; }
.allocation-grid p { margin: 13px 0 6px; color: var(--muted); }
.allocation-grid strong { display: block; font-size: 1.05rem; }
.allocation-grid small { color: var(--gold); font-size: 0.84rem; }

.risk-section { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 8vw, 96px); }
.risk-copy p:last-child { margin-top: 24px; color: var(--muted); }
.risk-list { margin: 0; padding: 0; list-style: none; }
.risk-list li { position: relative; padding: 18px 20px 18px 48px; border-bottom: 1px solid var(--line); color: #cbc6b9; }
.risk-list li::before { content: "!"; position: absolute; left: 12px; top: 18px; width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid rgba(248, 201, 77, 0.35); border-radius: 50%; color: var(--gold); font-size: 0.75rem; font-weight: 800; }

.source-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin: 18px 0 76px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(248, 201, 77, 0.10), rgba(17, 17, 15, 0.86));
}

.source-card h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.source-links { display: grid; align-content: center; gap: 10px; }
.source-links a { padding: 13px 15px; border-bottom: 1px solid var(--line); color: #ded8c8; text-decoration: none; }
.source-links a:hover, .source-links a:focus-visible { color: var(--gold-bright); }

footer { display: flex; justify-content: space-between; gap: 24px; padding: 28px 0 38px; border-top: 1px solid var(--line); color: #807c72; font-size: 0.82rem; }
footer p { margin: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (max-width: 840px) {
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 64px 0 78px; }
  .token-mark { grid-row: 1; }
  .token-mark img { width: min(80vw, 420px); }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
  .address-panel, .split-heading, .risk-section, .source-card { grid-template-columns: 1fr; }
  .allocation-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .page-shell { width: min(100% - 24px, var(--max)); }
  .site-header { min-height: 72px; }
  nav { display: none; }
  .hero { padding-top: 46px; }
  .hero-actions, .button { width: 100%; }
  .fact-grid, .allocation-grid { grid-template-columns: 1fr; }
  .fact-grid > div { min-height: 104px; }
  .address-panel code { font-size: 0.78rem; }
  .section { padding: 66px 0; }
  footer { flex-direction: column; }
}

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