:root {
  color-scheme: dark;
  --background: #071717;
  --surface: #0b2221;
  --surface-alt: #0f2b29;
  --primary: #08403d;
  --accent: #0e6b66;
  --text: #f5f5f7;
  --muted: #b4bcd0;
  --outline: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Rubik", system-ui, sans-serif;
  background: radial-gradient(circle at top, rgba(8, 64, 61, 0.3), transparent 50%),
    var(--background);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 3.5rem 0 5rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(11, 14, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--outline);
  z-index: 10;
}

.nav {
  width: min(1200px, 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--surface-alt);
  padding: 0.35rem;
}

.brand-title {
  font-weight: 700;
  font-size: 1.2rem;
}

.brand-subtitle {
  font-size: 0.85rem;
  color: var(--muted);
}

.nav-actions {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-link:hover {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-copy {
  color: var(--muted);
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.btn {
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 25px rgba(8, 64, 61, 0.45);
}

.btn.ghost {
  border-color: var(--outline);
  color: var(--text);
  background: transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
}

.stat-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--outline);
}

.slideshow {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 4 / 3;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(15, 21, 32, 0.7);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.slide-control.prev {
  left: 12px;
}

.slide-control.next {
  right: 12px;
}

.dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
}

.dot.active {
  background: var(--accent);
}

.hero-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  align-items: start;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about p {
  color: var(--muted);
}

.about-card {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--outline);
}

.about-card h3 {
  margin-bottom: 0.8rem;
}

.about-card ul {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  color: var(--muted);
}

.about-card li::before {
  content: "•";
  color: var(--accent);
  display: inline-block;
  margin-right: 0.4rem;
}

.join {
  display: flex;
  justify-content: center;
}

.join-card {
  width: min(720px, 100%);
  background: linear-gradient(145deg, rgba(8, 64, 61, 0.22), rgba(14, 107, 102, 0.18));
  border-radius: 26px;
  padding: 2rem;
  border: 1px solid var(--outline);
  box-shadow: var(--shadow);
}

.join-card h2 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.join-card p {
  color: var(--muted);
  margin-bottom: 1.6rem;
}

.join-form {
  display: grid;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 500;
}

input,
textarea {
  background: var(--surface-alt);
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0.8rem 1rem;
  color: var(--text);
  font-family: inherit;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.fineprint {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1rem;
}

.site-footer {
  text-align: center;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--outline);
  color: var(--muted);
}

@media (max-width: 720px) {
  .nav-actions {
    display: none;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .hero-card {
    order: -1;
  }
}
