:root {
  --bg: #071018;
  --bg-2: #0d1a24;
  --ink: #f4f7fa;
  --muted: #9db0bf;
  --line: rgba(244, 247, 250, 0.12);
  --accent: #1ec8a5;
  --accent-2: #f0b429;
  --tg: #229ed9;
  --display: "Bricolage Grotesque", sans-serif;
  --body: "Figtree", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--body);
  color: var(--ink);
  background:
    radial-gradient(90% 60% at 80% 0%, rgba(30, 200, 165, 0.14), transparent 55%),
    radial-gradient(70% 50% at 10% 20%, rgba(240, 180, 41, 0.08), transparent 50%),
    linear-gradient(180deg, #071018 0%, #0a1520 48%, #071018 100%);
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

.top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 2rem);
}
.mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.top-join {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: var(--tg);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(34, 158, 217, 0.28);
}

.hero {
  position: relative;
  z-index: 1;
  min-height: min(92vh, 920px);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transform: scale(1.04);
  animation: heroDrift 14s ease-in-out infinite alternate;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 16, 24, 0.28) 0%, rgba(7, 16, 24, 0.55) 42%, rgba(7, 16, 24, 0.94) 100%),
    linear-gradient(90deg, rgba(7, 16, 24, 0.55) 0%, transparent 55%);
}
@keyframes heroDrift {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.08) translateY(-1.5%); }
}

.hero-copy {
  width: min(640px, 100%);
  padding: clamp(1.5rem, 5vw, 3.5rem);
  padding-bottom: clamp(2rem, 6vw, 3.75rem);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(7, 16, 24, 0.45);
  backdrop-filter: blur(8px);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c7d7e3;
  animation: rise 0.7s ease both;
}
.live {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(30, 200, 165, 0.18);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(30, 200, 165, 0.16); }
  50% { box-shadow: 0 0 0 7px rgba(30, 200, 165, 0.08); }
}
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 800;
  animation: rise 0.75s ease 0.08s both;
}
.lead {
  margin: 1rem 0 1.35rem;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  line-height: 1.55;
  color: #d5e2ec;
  animation: rise 0.75s ease 0.16s both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.cta {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
  min-height: 3.5rem;
  padding: 0.55rem 0.7rem 0.55rem 0.55rem;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(105deg, #34b4ea 0%, #229ed9 55%, #1386be 100%);
  box-shadow: 0 16px 34px rgba(34, 158, 217, 0.34);
  animation: rise 0.75s ease 0.24s both;
  transition: transform 0.18s ease, filter 0.18s ease;
}
.cta:hover { transform: translateY(-2px); filter: brightness(1.05); }
.cta-ico,
.cta-go {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  flex: 0 0 auto;
}
.cta-ico svg { width: 1.1rem; height: 1.1rem; }
.cta-copy {
  display: grid;
  gap: 0.1rem;
  text-align: left;
  min-width: 0;
}
.cta-copy strong {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
}
.cta-copy small {
  font-size: 0.75rem;
  opacity: 0.85;
}
.cta-go { font-weight: 700; }
.cta-inline { margin-top: 1.5rem; }

.signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
  animation: rise 0.75s ease 0.32s both;
}
.signals li {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(7, 16, 24, 0.4);
  font-size: 0.84rem;
  font-weight: 650;
  color: #c9d8e4;
}

.section {
  position: relative;
  z-index: 1;
  padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1rem, 4vw, 2rem);
  max-width: 980px;
  margin: 0 auto;
}
.section-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.section h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.section-lead {
  margin: 0.75rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  line-height: 1.55;
}
.learn-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (min-width: 760px) {
  .learn-grid { grid-template-columns: repeat(3, 1fr); }
}
.learn-grid article {
  padding: 1.15rem 1.1rem;
  border-radius: 1.1rem;
  border: 1px solid var(--line);
  background: rgba(13, 26, 36, 0.72);
}
.learn-grid h3 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 1.15rem;
}
.learn-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.95rem;
}

.notice {
  max-width: 820px;
  border-top: 1px solid var(--line);
}
.notice h2 {
  font-size: 1.2rem;
  color: var(--accent-2);
}
.notice p {
  margin: 0.65rem 0 0;
  color: #b7c7d4;
  line-height: 1.6;
}

.footer {
  position: relative;
  z-index: 1;
  padding: 2rem clamp(1rem, 4vw, 2rem) 2.5rem;
  border-top: 1px solid var(--line);
  background: rgba(5, 12, 18, 0.85);
}
.footer-name {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
}
.footer-tag {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin: 1.15rem 0 1.25rem;
}
.footer-legal a {
  color: #c8d7e3;
  font-weight: 650;
  font-size: 0.9rem;
  text-decoration: none;
}
.footer-legal a:hover { text-decoration: underline; color: #fff; }
.copy, .ads {
  margin: 0.35rem 0 0;
  color: #7f93a5;
  font-size: 0.82rem;
}

/* Legal pages */
.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 4vw, 2rem) 3rem;
}
.legal-page h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}
.legal-page h2 {
  font-family: var(--display);
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
}
.legal-page p, .legal-page li {
  color: #c3d2de;
  line-height: 1.65;
}
.legal-page a { color: var(--accent); }
.legal-back {
  display: inline-flex;
  margin: 1rem 0 1.5rem;
  color: #c8d7e3;
  font-weight: 700;
  text-decoration: none;
}
.legal-back:hover { color: #fff; }

@media (max-width: 640px) {
  .top {
    padding: 0.85rem 1rem;
    gap: 0.65rem;
  }
  .mark {
    font-size: 0.95rem;
    max-width: 58%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .top-join {
    min-height: 2.25rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.82rem;
  }

  .hero {
    /* Fit under sticky-feeling top bar so first screen shows brand + CTA */
    min-height: calc(100svh - 3.6rem);
    align-items: end;
  }
  .hero-media img {
    object-position: 62% 10%;
    transform: scale(1.08);
  }
  .hero-shade {
    background:
      linear-gradient(180deg, rgba(7, 16, 24, 0.12) 0%, rgba(7, 16, 24, 0.35) 34%, rgba(7, 16, 24, 0.97) 74%),
      linear-gradient(90deg, rgba(7, 16, 24, 0.28) 0%, transparent 72%);
  }
  .hero-copy {
    width: 100%;
    padding: 0.85rem 1rem 1rem;
  }
  .eyebrow {
    font-size: 0.68rem;
    padding: 0.28rem 0.6rem;
    margin-bottom: 0.5rem;
  }
  .hero h1 {
    font-size: clamp(2rem, 10.5vw, 2.55rem);
    line-height: 0.98;
  }
  .lead {
    margin: 0.55rem 0 0.9rem;
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .cta {
    width: 100%;
    justify-content: flex-start;
    min-height: 3.35rem;
    padding: 0.5rem 0.55rem 0.5rem 0.5rem;
  }
  .cta-copy strong { font-size: 0.95rem; }
  .cta-copy small { font-size: 0.7rem; }
  .cta-inline { width: 100%; }

  .signals {
    gap: 0.35rem;
    margin-top: 0.75rem;
  }
  .signals li {
    font-size: 0.74rem;
    padding: 0.3rem 0.55rem;
  }

  .section {
    padding: 2rem 1rem 2.25rem;
  }
  .learn-grid article {
    padding: 1rem 0.95rem;
  }

  .footer {
    padding: 1.5rem 1rem calc(1.75rem + env(safe-area-inset-bottom, 0px));
  }
  .footer-legal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
    margin: 1rem 0 1.15rem;
  }
  .footer-legal a {
    font-size: 0.88rem;
  }

  .legal-page {
    padding: 1.15rem 1rem 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media img, .live, .eyebrow, .hero h1, .lead, .cta, .signals { animation: none; }
}
