:root {
  --bg: #070707;
  --card: #101010;
  --line: #2a2a2a;
  --text: #f3f3f1;
  --muted: #b3b3af;
  --dim: #8d8d89;
  --green: #34d97b;
  --green-2: #3ddc84;
  --ink: #04150a;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Instrument Sans", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
  padding: 0 22px;
  background: rgba(7, 7, 7, 0.94);
  border-bottom: 1px solid #141414;
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark { width: 26px; height: 26px; flex: none; }
.brand-word { height: 18px; width: auto; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.icon-btn svg,
.text-btn svg,
.connect-pill svg,
.crumb svg { display: block; }

.icon-btn svg { width: 16px; height: 16px; }

.text-btn,
.connect-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.text-btn {
  padding: 6px 8px;
  color: rgba(255, 255, 255, 0.88);
}

.text-btn svg { width: 15px; height: 15px; }

.connect-pill {
  margin-left: 4px;
  padding: 8px 14px;
  background: #fff;
  color: #0f5c30;
  font-weight: 700;
}

.connect-pill svg { width: 15px; height: 15px; }

main {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0 28px;
}

.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: #d7d7d3;
  font-size: 0.82rem;
}

.crumb svg { width: 15px; height: 15px; color: #cfcfcb; }
.crumb-sep { color: #6e6e6a; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 24px;
  align-items: center;
  overflow: hidden;
  padding: 32px 36px 28px;
  border: 1px solid #232323;
  border-radius: 16px;
  background: linear-gradient(135deg, #1c2a21 0%, #0f0f0f 46%, #0b0b0b 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(61, 220, 132, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 220, 132, 0.07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 90% at 70% 40%, #000 20%, transparent 78%);
  pointer-events: none;
}

.hero-copy { position: relative; max-width: 740px; }

.eyebrow {
  display: inline-flex;
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: #0d1f14;
  color: var(--green-2);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 14px 0 0;
  font-size: clamp(2rem, 4vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.lede {
  margin: 14px 0 0;
  max-width: 68ch;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.pill {
  min-width: 108px;
  padding: 10px 14px 9px;
  border: 1px solid #2c2c2c;
  border-radius: 10px;
  background: #0f0f0f;
}

.pill strong {
  display: block;
  color: var(--green);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pill span {
  display: block;
  margin-top: 2px;
  color: #9a9a96;
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.layers {
  position: relative;
  width: 190px;
  height: 168px;
  justify-self: center;
  perspective: 700px;
}

.layers span {
  position: absolute;
  left: 28px;
  width: 132px;
  height: 86px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.55), transparent 42%),
    linear-gradient(160deg, #d9ffe8 0%, #5ee89a 38%, #1c9a55 100%);
  box-shadow:
    0 16px 24px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transform: rotateX(58deg) rotateZ(-38deg);
}

.layers span:nth-child(1) { top: 4px; opacity: 0.95; }
.layers span:nth-child(2) { top: 34px; opacity: 0.88; }
.layers span:nth-child(3) { top: 64px; }

.stats {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 12px;
  margin-top: 14px;
}

.stat {
  padding: 20px 22px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0e0e0e;
}

.stat-label {
  margin: 0;
  color: #9b9b97;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-value {
  margin: 10px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stake {
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid #3a3a3a;
  border-radius: 16px;
  background: #0b0b0b;
}

.notes h2,
.settle h2,
.official h3,
.footer-grid h3 {
  margin: 0;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.stake-body {
  display: grid;
  place-items: center;
  padding: 28px 20px;
  background: linear-gradient(180deg, #173024 0%, #101614 70%, #0c0c0c 100%);
}

.wallet-btn {
  min-width: 148px;
  height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  background: #00c853;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
}

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

.notes article {
  padding: 22px 22px 26px;
  border: 1px solid #303030;
  border-radius: 16px;
  background: #0c0c0c;
}

.notes h2 { font-size: 1.2rem; }

.notes p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.to-top {
  display: block;
  width: 100%;
  padding: 14px 16px;
  background: #2a3742;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 550;
}

.settle {
  padding: 72px 24px 64px;
  text-align: center;
}

.live {
  display: inline-flex;
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: #10281a;
  color: var(--green-2);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.settle h2 {
  margin: 18px auto 0;
  max-width: 16ch;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.12;
}

.settle > p:last-of-type,
.settle > p {
  margin-left: auto;
  margin-right: auto;
}

.settle > p:not(.live) {
  max-width: 62ch;
  margin-top: 14px;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 760px;
  margin: 22px auto 0;
}

.chips span {
  padding: 7px 12px;
  border: 1px solid #2e2e2e;
  border-radius: 999px;
  color: #deded9;
  font-size: 0.82rem;
}

.site-footer {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 12px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 36px 8px 42px;
}

.footer-grid h3 {
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.footer-grid span {
  display: block;
  margin: 0 0 14px;
  color: #c7c7c3;
  font-size: 0.95rem;
}

.official {
  padding: 26px 26px 22px;
  border: 1px solid #2a2a2a;
  border-radius: 18px;
  background: #121212;
}

.official h3 { font-size: 1.35rem; }

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

.handle {
  color: #ecece9;
  font-weight: 650;
}

.contract {
  margin-top: 18px;
  padding: 18px 18px 16px;
  border: 1px solid #2c2c2c;
  border-radius: 14px;
  background: #0d0d0d;
}

.contract-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.contract-head span {
  color: #bdbdb8;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contract-head em {
  padding: 3px 8px;
  border-radius: 999px;
  background: #123322;
  color: var(--green-2);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.address {
  margin: 14px 0 0;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.98rem;
  letter-spacing: -0.02em;
  word-break: break-all;
}

.contract-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.contract-actions button {
  padding: 6px 10px;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  color: #eee;
  font-size: 0.75rem;
  font-weight: 700;
}

.warn {
  margin: 14px 0 0;
  color: #a3a39f;
  font-size: 0.92rem;
}

.fine,
.copy {
  color: #8a8a86;
  font-size: 0.78rem;
}

.fine { margin: 22px 4px 0; line-height: 1.55; }
.copy { margin: 18px 4px 0; }

.corgi {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 999px;
  background: #0f1418;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.corgi img {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  object-fit: cover;
}

.corgi span {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 12px;
  height: 12px;
  border: 2px solid #0f1418;
  border-radius: 999px;
  background: #00c853;
}

@media (max-width: 900px) {
  .hero,
  .stats,
  .notes,
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .hero { grid-template-columns: 1fr; }
  .layers { display: none; }
  .notes { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header { height: auto; padding: 12px 14px; }
  .brand-word { display: none; }
  .text-btn { display: none; }
  main, .site-footer { width: min(100% - 28px, 1120px); }
  .hero { padding: 22px 18px; }
  .stats, .footer-grid { grid-template-columns: 1fr; }
  .corgi { right: 14px; bottom: 14px; }
}
