:root {
  --red: #f52a2a;
  --red-dark: #d11818;
  --ink: #1a1a1f;
  --muted: #5c5c66;
  --bg: #ffffff;
  --alt: #fff4f4;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }

.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand img { width: 36px; height: 36px; border-radius: 8px; }
.nav nav { display: flex; align-items: center; gap: 20px; font-size: .95rem; }
.nav nav a:not(.btn):hover { color: var(--red); }

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-weight: 600;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-small { padding: 8px 18px; }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 13vw, 152px) 24px;
  color: #fff;
  background: #0f0f13;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(to left, #000, transparent 70%);
  mask-image: linear-gradient(to left, #000, transparent 70%);
}
.hero-inner { position: relative; max-width: 912px; margin: 0 auto; }
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, .7);
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.hero h1 {
  max-width: 820px; margin-bottom: 24px;
  color: rgba(255, 255, 255, .55);
  font-size: clamp(2.25rem, 5.6vw, 4rem); font-weight: 600; line-height: 1.08; letter-spacing: -.03em;
  text-wrap: balance;
}
.hero h1 span { color: #fff; }
.hero-lead { margin-bottom: 40px; color: rgba(255, 255, 255, .7); font-size: 1.15rem; }
.closing .btn { background: #fff; color: #0f0f13; }
.closing .btn:hover { background: var(--red); color: #fff; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; }

.section { padding: 72px 24px; max-width: 960px; margin: 0 auto; text-align: center; }
.section.alt { max-width: none; background: var(--alt); }
.section h2 { font-size: 2rem; margin-bottom: 16px; }
.lead { max-width: 680px; margin: 0 auto 24px; color: var(--muted); font-size: 1.1rem; }

.cards {
  max-width: 960px; margin: 32px auto 0;
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.card {
  background: #fff; padding: 24px; border-radius: 16px; text-align: left;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; }

.closing { padding: clamp(72px, 10vw, 112px) 24px; color: #fff; background: #0f0f13; }
.closing-inner {
  max-width: 912px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; flex-wrap: wrap;
}
.join { max-width: 480px; }
.join h2 { margin-bottom: 16px; font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 600; line-height: 1.1; letter-spacing: -.03em; }
.join p { margin-bottom: 32px; color: rgba(255, 255, 255, .7); font-size: 1.1rem; }
.follow .eyebrow { margin-bottom: 20px; }

.socials { display: flex; gap: 12px; flex-wrap: wrap; }
.social {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 20px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-weight: 600;
  transition: background .2s, color .2s, border-color .2s;
}
.social svg { width: 20px; height: 20px; fill: currentColor; }
.social:hover { background: #fff; border-color: #fff; color: #0f0f13; }

footer { padding: 24px; color: rgba(255, 255, 255, .6); background: #0f0f13; font-size: .85rem; }
.footer-inner {
  max-width: 912px; margin: 0 auto; padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.powered { display: flex; align-items: center; gap: 10px; flex-shrink: 0; transition: color .2s; }
.powered:hover { color: #fff; }
.powered img { display: block; width: 76px; height: auto; }

@media (max-width: 600px) {
  .nav nav a:not(.btn) { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .credits > span { display: block; }
  .credits > .credits-sep { display: none; }
}
