* {
  box-sizing: border-box;
}

:root {
  --brand: #e30613;
  --cream: #fbfaf7;
  --black: #050505;
  --muted: #666;
  --line: rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--black);
  font-family: Inter, Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  padding: 48px 0 96px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 140px;
  height: auto;
}

.brand strong {
  display: block;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.brand span {
  color: var(--muted);
  font-size: 14px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nav a,
.button {
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  padding: 12px 20px;
  transition: 0.2s ease;
}

.nav a {
  background: white;
  font-size: 14px;
}

.nav a:hover,
.button.secondary:hover {
  background: var(--black);
  color: white;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 56px;
  grid-template-columns: 1.05fr 0.95fr;
}

.eyebrow {
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.28em;
  margin: 0 0 24px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(48px, 8vw, 92px);
  letter-spacing: -0.075em;
  line-height: 0.95;
  margin-bottom: 28px;
  max-width: 920px;
}

.lead {
  color: var(--muted);
  font-size: 21px;
  line-height: 1.75;
  max-width: 720px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

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

.button.primary:hover {
  background: #b20000;
}

.button.secondary {
  background: transparent;
  border-color: var(--black);
}

.snapshot {
  background: var(--black);
  border-radius: 36px;
  color: white;
  padding: 24px;
}

.snapshot-inner {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 24px;
}

.snapshot-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat {
  background: white;
  border-radius: 24px;
  color: var(--black);
  padding: 22px;
}

.stat strong {
  display: block;
  font-size: 44px;
  line-height: 1;
}

.stat span {
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-top: 10px;
}

.section {
  padding: 64px 0;
  scroll-margin-top: 32px;
}

.section-head {
  align-items: end;
  display: grid;
  gap: 32px;
  grid-template-columns: 0.75fr 1.25fr;
  margin-bottom: 32px;
}

h2 {
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: -0.055em;
  line-height: 1;
  margin-bottom: 0;
}

.section-head p:last-child {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
}

.card-label {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.card h3 {
  font-size: 28px;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.details {
  background: #f5f5f2;
  border-radius: 18px;
  margin: 10px 0 22px;
  padding: 16px;
}

.details strong {
  display: block;
  margin-bottom: 8px;
}

.join {
  align-self: flex-start;
  background: var(--brand);
  border-radius: 999px;
  color: white;
  font-size: 14px;
  font-weight: 900;
  margin-top: auto;
  padding: 11px 18px;
}

.join.disabled {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.14);
  color: #999;
}

.footer {
  background: var(--black);
  color: white;
  margin-top: 64px;
  padding: 72px 0 36px;
}

.footer-grid {
  display: grid;
  gap: 56px;
  grid-template-columns: 1.1fr 0.9fr;
}

.footer .brand span,
.footer .source {
  color: #bdbdbd;
}

.footer h2 {
  margin-top: 36px;
  max-width: 780px;
}

.footer-links {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-links a {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 22px;
}

.footer-links strong {
  display: block;
  font-size: 36px;
}

.source {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-top: 56px;
  padding-top: 28px;
}

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

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

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding-top: 28px;
  }

  .cards,
  .snapshot-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .brand img {
    width: 108px;
  }

  .source {
    flex-direction: column;
  }
}
