:root {
  --red: #da291c;
  --red-dark: #b52014;
  --ink: #181818;
  --muted: #4f4f4f;
  --line: #ececec;
  --paper: #ffffff;
  --shell: #f4f5f6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Lato", helvetica, sans-serif;
  color: var(--ink);
  background: var(--shell);
}

h1,
h2,
h3,
.brand,
.eyebrow,
nav a,
.btn {
  font-family: "Oswald", helvetica, sans-serif;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.4rem;
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

nav {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: #242424;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

nav a:hover {
  color: var(--red);
  border-color: var(--red);
}

.hero {
  position: relative;
  min-height: calc(92vh - 76px);
  overflow: hidden;
  display: grid;
  align-items: center;
}

.hero-bg,
.join-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.28));
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 760px;
  padding: 6.2rem 0;
}

.eyebrow {
  margin: 0;
  color: #ffd0cb;
  letter-spacing: 0.09em;
  font-size: 0.85rem;
}

h1 {
  margin: 0.7rem 0 1rem;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0.01em;
}

h1 span {
  color: #ffbbb4;
}

.hero p {
  margin: 0;
  color: #f1f1f1;
  font-size: 1.1rem;
  line-height: 1.7;
}

.cta-row {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid transparent;
  min-height: 48px;
  padding: 0.65rem 1.2rem;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 24px rgba(218, 41, 28, 0.28);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: #8b1d14;
  border-color: #f5c5c2;
}

.btn-secondary:hover {
  background: #fff;
  transform: translateY(-1px);
}

.section {
  padding: 5.5rem 0;
}

.section .container {
  padding: 0 0.4rem;
}

.section-alt {
  background: linear-gradient(180deg, #fff, #fff9f9);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1;
}

p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.03rem;
}

.narrow {
  width: min(1120px, 92%);
}

.about-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.about-logo-wrap {
  padding: 1rem;
  border: 1px solid #f2e4e3;
  border-radius: 18px;
  background: #fff9f9;
  display: grid;
  gap: 0.9rem;
}

.about-logo {
  width: 150px;
  max-width: 100%;
  margin: 0 auto;
}

.about-media-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.about-media-grid img {
  width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid #f0d7d5;
  min-height: 170px;
}

.token-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 0.9rem;
}

.token-card {
  background: #ffffff;
  border: 1px solid #f0d4d2;
  border-radius: 14px;
  padding: 1rem;
}

.token-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  color: var(--red-dark);
}

.token-card p {
  margin: 0;
  color: #2b2b2b;
  font-weight: 700;
}

.ca {
  font-family: "Lato", helvetica, sans-serif;
  font-weight: 900;
  font-size: 0.92rem;
  word-break: break-all;
}

.steps {
  margin: 0.4rem 0 1.4rem;
  padding-left: 1.3rem;
  color: #2d2d2d;
  line-height: 1.85;
  font-weight: 700;
}

.steps li {
  margin-bottom: 0.3rem;
}

.join-us {
  position: relative;
  overflow: hidden;
}

.join-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.58));
}

.join-content {
  position: relative;
  z-index: 1;
}

.join-us .container {
  background: transparent;
  border: 0;
  backdrop-filter: none;
}

.join-us h2,
.join-us p {
  color: #fff;
}

.centered {
  text-align: center;
}

.center {
  justify-content: center;
}

@media (max-width: 980px) {
  .token-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

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

  .about-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-logo-wrap {
    width: min(320px, 100%);
  }
}

@media (max-width: 760px) {
  .nav {
    min-height: auto;
    padding: 0.9rem 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-content {
    padding: 4.8rem 0;
  }

  .section {
    padding: 3.7rem 0;
  }

  .section .container {
    padding: 0 0.35rem;
  }

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

  .about-media-grid {
    grid-template-columns: 1fr;
  }
}
