:root {
  color-scheme: light;
  --ink: #10220b;
  --muted: #526047;
  --green: #64d900;
  --green-deep: #188000;
  --lime: #c8ff19;
  --yellow: #ffed00;
  --gold: #ffc800;
  --glass: rgba(255, 255, 255, 0.56);
  --line: rgba(31, 84, 0, 0.16);
  --shadow: 0 24px 70px rgba(61, 108, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 8%, rgba(255, 255, 255, 0.92), transparent 24rem),
    radial-gradient(circle at 83% 20%, rgba(158, 255, 36, 0.58), transparent 20rem),
    linear-gradient(135deg, #fff353 0%, #ffe000 42%, #a8f407 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(115deg, transparent 0 28%, rgba(255,255,255,.28) 28.2%, transparent 29% 100%),
    linear-gradient(145deg, transparent 0 64%, rgba(255,255,255,.18) 64.2%, transparent 65% 100%);
  opacity: 0.9;
}

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

.site-shell {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 56px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 16px 40px rgba(68, 104, 0, 0.14);
  backdrop-filter: blur(22px);
}

.brand,
.nav-links,
.hero-actions,
.contract-card {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: #123300;
  font-size: 22px;
  font-weight: 950;
  background: linear-gradient(145deg, #f7ff7a, #a6ff00 52%, #23a800);
  box-shadow: inset -5px -7px 10px rgba(0, 72, 0, .25), 0 10px 22px rgba(24, 128, 0, .25);
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 10px 22px rgba(24, 128, 0, .25);
}

.nav-links {
  gap: 22px;
  color: #2c421b;
  font-size: 14px;
  font-weight: 700;
}

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

.nav-cta,
.button,
.copy-button {
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.nav-cta,
.button.primary {
  color: white;
  background: linear-gradient(135deg, #1b8900, #6be200);
  box-shadow: 0 14px 28px rgba(37, 134, 0, .28);
}

.nav-cta {
  padding: 14px 20px;
}

.hero {
  display: grid;
  grid-template-columns: 0.93fr 1.07fr;
  align-items: center;
  gap: 36px;
  padding: 72px 0 40px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #1e7600;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 650px;
  margin-bottom: 20px;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.hero-subtitle,
.panel p,
.faq p,
.reward-icons p,
.stat-card small,
.timeline p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-subtitle {
  max-width: 620px;
  margin-bottom: 26px;
  font-size: 18px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(26, 110, 0, 0.18);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(18px);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover,
.copy-button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.contract-card {
  width: min(100%, 650px);
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.contract-label {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: white;
  font-weight: 900;
  background: #1e8900;
}

.contract-card code {
  min-width: 0;
  flex: 1;
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 800;
  color: #183105;
}

.copy-button {
  flex: 0 0 auto;
  padding: 12px 18px;
  color: #173400;
  background: var(--lime);
  box-shadow: inset 0 -2px 0 rgba(25, 99, 0, .2);
}

.hero-visual {
  position: relative;
  min-height: 430px;
  animation: riseIn .75s ease both;
}

.terminal-card {
  position: relative;
  min-height: 430px;
  padding: clamp(22px, 4vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.54);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.62), rgba(255,255,255,.28)),
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, .78), transparent 13rem),
    radial-gradient(circle at 24% 78%, rgba(97, 218, 0, .44), transparent 15rem);
  box-shadow: 0 32px 90px rgba(73, 116, 0, 0.26);
  backdrop-filter: blur(26px);
}

.terminal-card::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  right: -94px;
  top: -76px;
  border: 32px solid rgba(69, 186, 0, .78);
  border-radius: 50%;
  box-shadow: inset 0 0 0 18px rgba(255, 237, 0, .5), 0 24px 48px rgba(26, 107, 0, .16);
}

.terminal-card::after {
  content: "R";
  position: absolute;
  right: 32px;
  top: 34px;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  border-radius: 32px;
  color: #143500;
  font-size: 76px;
  font-weight: 950;
  background: linear-gradient(145deg, #faff75, #9dff00 58%, #2cb500);
  box-shadow: inset -12px -14px 20px rgba(0, 73, 0, .28), 0 26px 46px rgba(25, 92, 0, .24);
  transform: rotate(-8deg);
}

.terminal-header,
.terminal-price,
.terminal-grid {
  position: relative;
  z-index: 1;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 52px;
}

.terminal-header span,
.terminal-price span,
.terminal-grid span {
  color: #3d5e27;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.terminal-header strong {
  padding: 8px 14px;
  border-radius: 999px;
  color: white;
  background: #238d00;
  box-shadow: 0 12px 22px rgba(35, 141, 0, .24);
}

.terminal-price {
  margin-bottom: 24px;
}

.terminal-price strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(76px, 12vw, 132px);
  line-height: .82;
  letter-spacing: 0;
}

.chart-lines {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.chart-lines span {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #1d8900, #b9ff16, rgba(255,255,255,.24));
  box-shadow: 0 8px 18px rgba(33, 128, 0, .15);
  animation: pulseLine 2.4s ease-in-out infinite;
}

.chart-lines span:nth-child(1) {
  width: 68%;
}

.chart-lines span:nth-child(2) {
  width: 88%;
  animation-delay: .15s;
}

.chart-lines span:nth-child(3) {
  width: 56%;
  animation-delay: .3s;
}

.chart-lines span:nth-child(4) {
  width: 74%;
  animation-delay: .45s;
}

.terminal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.terminal-grid div {
  min-height: 96px;
  padding: 16px;
  border: 1px solid rgba(31, 84, 0, .12);
  border-radius: 18px;
  background: rgba(255,255,255,.48);
}

.terminal-grid strong {
  display: block;
  margin-top: 12px;
  font-size: 22px;
}

.stats-grid,
.reward-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 22px 0 24px;
}

.stat-card,
.panel,
.reward-icons article,
.faq details {
  border: 1px solid var(--line);
  background: var(--glass);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.stat-card {
  min-height: 180px;
  padding: 22px;
  border-radius: 22px;
  animation: riseIn .75s ease both;
}

.stat-card span,
.timeline span {
  color: #2b7400;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.stat-card strong {
  display: block;
  margin: 18px 0 10px;
  font-size: 34px;
  line-height: 1;
}

.panel {
  margin: 24px 0;
  padding: clamp(24px, 4vw, 44px);
  border-radius: 28px;
}

.split {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 34px;
  align-items: start;
}

.utility-list {
  display: grid;
  gap: 14px;
}

.utility-list article {
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 16px;
  padding: 18px;
  border: 1px solid rgba(26, 110, 0, 0.12);
  border-radius: 20px;
  background: rgba(255,255,255,.42);
}

.utility-list h3,
.utility-list p {
  grid-column: 2;
}

.icon-token {
  grid-row: 1 / span 2;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 17px;
  color: white;
  font-weight: 900;
  background: linear-gradient(145deg, #0b7e00, #9bff00);
  box-shadow: inset -5px -7px 10px rgba(0, 62, 0, .28), 0 14px 26px rgba(44, 121, 0, .24);
}

.reward-icons {
  grid-template-columns: repeat(3, 1fr);
}

.reward-icons article {
  min-height: 260px;
  padding: 28px;
  border-radius: 26px;
}

.reward-cube {
  display: grid;
  width: 86px;
  height: 86px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 24px;
  color: white;
  font-size: 34px;
  font-weight: 950;
  background: linear-gradient(145deg, #1f9a00, #baff13 62%, #f6ff70);
  box-shadow: inset -10px -12px 18px rgba(0, 64, 0, .28), 0 24px 32px rgba(38, 95, 0, .24);
  transform: rotateX(8deg) rotateY(-12deg);
}

.vault {
  background: linear-gradient(145deg, #fffbd5, #c8ff19 45%, #37b800);
  color: #1e4b00;
}

.leaf {
  background: linear-gradient(145deg, #167400, #70e000 48%, #fff04c);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.timeline article {
  padding: 20px;
  border-left: 3px solid var(--green);
  border-radius: 0 18px 18px 0;
  background: rgba(255,255,255,.38);
}

.faq {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.faq details {
  padding: 20px 22px;
  border-radius: 18px;
}

.faq summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 850;
}

.faq p {
  margin: 14px 0 0;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseLine {
  0%,
  100% {
    transform: scaleX(.96);
    opacity: .82;
  }
  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

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

  .stats-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding-top: 48px;
  }

  .hero-visual,
  .terminal-card {
    min-height: 340px;
  }

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

@media (max-width: 700px) {
  .site-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 10px;
  }

  .topbar {
    align-items: stretch;
    border-radius: 24px;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    overflow-x: auto;
  }

  .nav-cta {
    padding: 12px 16px;
  }

  h1 {
    font-size: 46px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .button {
    flex: 1 1 calc(50% - 8px);
    padding-inline: 12px;
  }

  .contract-card {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .contract-card code {
    flex-basis: calc(100% - 54px);
    font-size: 12px;
  }

  .copy-button {
    width: 100%;
  }

  .terminal-card::before {
    width: 250px;
    height: 250px;
    right: -110px;
  }

  .terminal-card::after {
    width: 94px;
    height: 94px;
    right: 20px;
    top: 76px;
    border-radius: 24px;
    font-size: 52px;
  }

  .terminal-price strong {
    font-size: 76px;
  }

  .stats-grid,
  .reward-icons,
  .timeline {
    grid-template-columns: 1fr;
  }

  .utility-list article {
    grid-template-columns: 44px 1fr;
    padding: 16px;
  }

  .icon-token {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
}
