:root {
  --bg: #f4f1ea;
  --ink: #172036;
  --brand: #0ea5df;
  --brand-dark: #0b6ea1;
  --accent: #ff8f3e;
  --card: #ffffff;
  --line: #d9d3c5;
  --shadow: 0 24px 45px rgba(15, 44, 68, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.5;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 143, 62, 0.2), transparent 35%),
    radial-gradient(circle at 80% 25%, rgba(14, 165, 223, 0.18), transparent 38%),
    linear-gradient(135deg, #f9f6f0 0%, #f0ecdf 100%);
  z-index: -2;
}

.container {
  width: min(1100px, calc(100% - 2.2rem));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0 0.8rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-family: "Chakra Petch", sans-serif;
  letter-spacing: 0.03em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  transition: background-color 160ms ease;
}

.nav-links a:hover {
  background: rgba(14, 165, 223, 0.15);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 2.2rem 0 1rem;
}

.eyebrow {
  margin: 0;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--brand-dark);
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: "Chakra Petch", sans-serif;
  line-height: 1.1;
}

h1 {
  margin: 0.45rem 0 0.9rem;
  font-size: clamp(2.1rem, 4.5vw, 4rem);
}

.hero-copy p {
  margin: 0;
  max-width: 56ch;
}

.hero-actions {
  margin-top: 1.35rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 12px;
  padding: 0.75rem 1.2rem;
  font-weight: 700;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--brand), #22b6f0);
  box-shadow: 0 10px 24px rgba(14, 165, 223, 0.3);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem;
  box-shadow: var(--shadow);
}

.value {
  font-size: 1.45rem;
  font-family: "Chakra Petch", sans-serif;
  font-weight: 700;
  color: var(--brand-dark);
}

.label {
  display: block;
  font-size: 0.85rem;
  opacity: 0.85;
}

.hero-visual {
  position: relative;
  min-height: 340px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background:
    linear-gradient(165deg, #1ca6df 0%, #0f7db2 75%),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.08) 12px,
      rgba(255, 255, 255, 0.02) 12px,
      rgba(255, 255, 255, 0.02) 22px
    );
  box-shadow: var(--shadow);
  overflow: hidden;
}

.wolf {
  width: min(82%, 330px);
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.24));
  transform: translateY(4px);
}

.coin {
  position: absolute;
  width: 66px;
  aspect-ratio: 1;
  animation: bob 4.4s ease-in-out infinite;
}

.coin img {
  width: 100%;
  height: 100%;
}

.coin-a {
  top: 20px;
  right: 26px;
}

.coin-b {
  left: 24px;
  bottom: 22px;
  animation-delay: 1.2s;
}

.features,
.economy,
.steps,
.cta,
.footer {
  padding: 2.8rem 0 0;
}

h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.feature-grid {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.feature-card p {
  margin: 0;
}

.economy-intro {
  margin: 0.75rem 0 0;
  max-width: 70ch;
}

.economy-table-wrap {
  margin-top: 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.economy-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.economy-table th,
.economy-table td {
  text-align: left;
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid var(--line);
}

.economy-table thead th {
  font-family: "Chakra Petch", sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: rgba(14, 165, 223, 0.12);
}

.economy-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.5);
}

.economy-table tbody tr:hover {
  background: rgba(255, 143, 62, 0.12);
}

.economy-table tbody th {
  font-weight: 700;
}

.economy-table tbody tr:last-child th,
.economy-table tbody tr:last-child td {
  border-bottom: none;
}

.steps-list {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.steps-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
}

.steps-list span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  font-weight: 700;
  font-family: "Chakra Petch", sans-serif;
  border-radius: 9px;
  background: var(--accent);
  color: #121212;
}

.cta {
  text-align: center;
  padding-bottom: 1rem;
}

.cta p {
  margin: 0.65rem auto 0;
  max-width: 55ch;
}

.store-buttons {
  margin-top: 1.1rem;
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.store {
  min-width: 178px;
  padding: 0.75rem 0.95rem;
  border-radius: 12px;
  text-decoration: none;
  color: white;
  text-align: left;
  box-shadow: var(--shadow);
}

.store small {
  display: block;
  letter-spacing: 0.09em;
  font-size: 0.67rem;
  opacity: 0.92;
}

.store strong {
  font-size: 1.08rem;
}

.store.android {
  background: linear-gradient(135deg, #13af68, #0f914b);
}

.store.ios {
  background: linear-gradient(135deg, #1e3159, #10192e);
}

.footer {
  padding-bottom: 1.8rem;
}

.footer p {
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer a {
  margin-left: 0.55rem;
  color: var(--brand-dark);
  font-weight: 600;
  text-decoration-color: rgba(11, 110, 161, 0.45);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 550ms ease, transform 550ms ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(5deg);
  }
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 1.2rem;
  }

  .hero-visual {
    min-height: 290px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .economy-table {
    min-width: 620px;
  }
}

@media (max-width: 640px) {
  .topbar {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }
}
