:root {
  --teal: #00746f;
  --deep-teal: #004f4b;
  --gold: #f6b31a;
  --gold-dark: #c68100;
  --cream: #fff4d8;
  --paper: #fffaf0;
  --coral: #ff5a3d;
  --green: #2a8d5d;
  --ink: #19312d;
  --muted: #62716e;
  --line: rgba(0, 79, 75, 0.16);
  --shadow: 0 22px 55px rgba(0, 79, 75, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(246, 179, 26, 0.22), transparent 28rem),
    radial-gradient(circle at 92% 3%, rgba(0, 116, 111, 0.18), transparent 24rem),
    linear-gradient(180deg, var(--cream), #f8fffa 45%, #fff8e6);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 3.5rem);
  background: rgba(255, 250, 240, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: Fredoka, Inter, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(0, 79, 75, 0.18);
}

.nav-links {
  display: flex;
  gap: clamp(0.8rem, 2vw, 2rem);
  color: var(--deep-teal);
  font-weight: 800;
}

.icon-link {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: white;
  font-weight: 900;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(0, 116, 111, 0.2);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(20rem, 1.15fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  min-height: calc(100svh - 76px);
  padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 5vw, 5rem) 2rem;
}

.hero-copy {
  max-width: 42rem;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--coral);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Fredoka, Inter, sans-serif;
  letter-spacing: 0;
}

h1 {
  color: var(--deep-teal);
  font-size: clamp(3.5rem, 8vw, 7.8rem);
  line-height: 0.86;
}

h2 {
  color: var(--deep-teal);
  font-size: clamp(2.35rem, 5vw, 4.2rem);
  line-height: 0.95;
}

h3 {
  color: var(--deep-teal);
  font-size: 1.45rem;
}

.lead {
  margin: 1.25rem 0 0;
  max-width: 38rem;
  color: #34514c;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.5;
  font-weight: 700;
}

.hero-actions,
.social-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.45rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.85rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(0, 79, 75, 0.14);
}

.button.primary {
  color: white;
  background: var(--teal);
}

.button.secondary {
  color: var(--deep-teal);
  background: var(--gold);
  border-color: rgba(198, 129, 0, 0.24);
}

.social-row a {
  color: var(--deep-teal);
  font-weight: 900;
  border-bottom: 2px solid rgba(0, 116, 111, 0.25);
}

.hero-art {
  position: relative;
  overflow: hidden;
  width: min(100%, 34rem);
  justify-self: center;
  border: 6px solid white;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}

.hero-art img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.tracker-section,
.mission-section,
.proof-section {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem);
}

.section-heading {
  max-width: 58rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.section-heading p:not(.eyebrow),
.mission-section p,
.proof-section p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  font-weight: 600;
}

.tracker-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.85fr;
  gap: 1rem;
  max-width: 72rem;
  margin: 0 auto;
}

.stat-panel,
.wallet-card,
.table-shell,
.proof-section article {
  background: rgba(255, 250, 240, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(0, 79, 75, 0.1);
}

.stat-panel {
  min-height: 12rem;
  padding: clamp(1.2rem, 3vw, 1.6rem);
}

.stat-label,
.wallet-card span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stat-panel strong {
  display: block;
  color: var(--deep-teal);
  font-family: Fredoka, Inter, sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
}

.total-panel strong {
  font-size: clamp(2.7rem, 8vw, 5.6rem);
}

.muted {
  display: block;
  margin-top: 0.8rem;
  color: var(--muted);
  font-weight: 700;
}

.wallet-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 72rem;
  margin: 1rem auto 0;
  padding: 1.1rem;
}

code,
.contract-copy {
  overflow-wrap: anywhere;
  color: var(--deep-teal);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
  font-weight: 800;
}

.table-shell {
  max-width: 72rem;
  margin: 1rem auto 0;
  overflow: hidden;
}

.table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem;
  border-bottom: 1px solid var(--line);
}

button {
  min-height: 2.65rem;
  padding: 0.55rem 1rem;
  color: white;
  font: inherit;
  font-weight: 900;
  background: var(--deep-teal);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.status-line {
  padding: 0.8rem 1.2rem;
  color: var(--muted);
  font-weight: 800;
  background: rgba(0, 116, 111, 0.06);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 42rem;
}

th,
td {
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--deep-teal);
  font-size: 0.78rem;
  text-transform: uppercase;
}

td {
  color: #31524d;
  font-weight: 700;
}

td a {
  color: var(--teal);
  font-weight: 900;
}

.mission-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  background: linear-gradient(135deg, rgba(0, 116, 111, 0.1), rgba(246, 179, 26, 0.13));
}

.mission-section img {
  border: 6px solid white;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.proof-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.proof-section article {
  padding: 1.35rem;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem clamp(1rem, 5vw, 5rem);
  color: white;
  background: var(--deep-teal);
  font-weight: 900;
}

footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .mission-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-art {
    transform: none;
  }

  .tracker-grid,
  .wallet-card,
  .proof-section {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand span {
    max-width: 8rem;
    line-height: 1;
  }

  .hero-actions .button {
    width: 100%;
  }

  .stat-panel {
    min-height: auto;
  }

  .table-header {
    align-items: flex-start;
    flex-direction: column;
  }
}
