:root {
  --bg: #081020;
  --surface: #111b2e;
  --surface-2: #17243f;
  --text: #eef2ff;
  --muted: #a4b0cc;
  --accent: #ff7a29;
  --accent-soft: rgba(255, 122, 41, 0.15);
  --border: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, rgba(255, 122, 41, 0.12), transparent 28%),
    linear-gradient(180deg, #09111f 0%, #050a14 100%);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(8, 16, 32, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  gap: 1rem;
}

.brand {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  align-items: center;
  gap: 2rem;
  padding: 3rem 0 2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.03;
  margin: 0;
}

.hero p {
  color: var(--muted);
  max-width: 42rem;
  margin-top: 1.25rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #081020;
}

.btn-secondary {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.hero-media {
  position: relative;
}

.hero-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 122, 41, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.75rem;
  padding: 2rem;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.15);
}

.hero-card span {
  color: var(--accent);
  font-weight: 700;
}

.hero-card p {
  margin: 0;
  line-height: 1.8;
}

.section {
  margin-top: 4rem;
}

.section-header {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.7rem);
}

.section-header p {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.challenge-grid,
.plan-grid {
  display: grid;
  gap: 1.5rem;
}

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

.challenge-card,
.plan-card {
  padding: 1.75rem;
  background: var(--surface-2);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1.25rem;
}

.challenge-card h3,
.plan-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--text);
}

.challenge-card p,
.plan-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.join-form {
  display: grid;
  gap: 1.25rem;
  max-width: 540px;
}

.join-form label {
  display: grid;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 600;
}

.join-form input,
.join-form select {
  width: 100%;
  padding: 1rem 1.1rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.join-form input:focus,
.join-form select:focus {
  outline: 2px solid rgba(255, 122, 41, 0.6);
  outline-offset: 2px;
}

.form-message {
  color: #c4d8ff;
  font-size: 0.95rem;
  min-height: 1.25rem;
}

.site-footer {
  padding: 2rem 1.5rem 4rem;
  text-align: center;
  color: var(--muted);
}

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

  .challenge-grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .navbar {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    width: 100%;
    flex-direction: column;
    display: none;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    color: var(--text);
    font-size: 1rem;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-card {
    min-height: auto;
  }
}

@media (max-width: 520px) {
  .navbar {
    padding: 1rem;
  }

  main {
    padding: 1.5rem;
  }

  .section {
    margin-top: 3rem;
  }
}
