:root {
  --bg: #050505;
  --bg-elevated: #0c0c0c;
  --text: #f4f1ec;
  --text-muted: rgba(244, 241, 236, 0.62);
  --text-faint: rgba(244, 241, 236, 0.38);
  --line: rgba(244, 241, 236, 0.12);
  --accent: #d6ff4b;
  --accent-ink: #0a0a0a;
  --max: 720px;
  --pad: clamp(1.25rem, 4vw, 2rem);
  --font-display: "Unbounded", sans-serif;
  --font-body: "Onest", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(214, 255, 75, 0.07), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 40%, rgba(255, 255, 255, 0.03), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--pad);
  background: linear-gradient(to bottom, rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0));
  backdrop-filter: blur(0px);
}

.logo {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.header-cta {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.header-cta:hover {
  color: var(--accent);
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100svh;
  max-width: var(--max);
  margin: 0 auto;
  padding: 7rem var(--pad) 4.5rem;
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 1.75rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.6vw, 1.85rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.03em;
  max-width: 18em;
  margin-bottom: 1.5rem;
}

.hero-lead {
  max-width: 34em;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  padding: 0.95rem 1.35rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-ink);
  background: var(--accent);
  border: none;
  border-radius: 2px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.btn span {
  transition: transform 0.25s ease;
}

.btn:hover {
  background: #e4ff7a;
}

.btn:hover span {
  transform: translateX(3px);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5rem var(--pad);
  border-top: 1px solid var(--line);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.section-text {
  max-width: 36em;
  color: var(--text-muted);
}

.outcome-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2rem;
}

.outcome-list li {
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  padding-left: 1.5rem;
  position: relative;
}

.outcome-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.55rem;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 1px;
}

.outcome-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.program-list {
  list-style: none;
  margin-top: 2rem;
}

.program-list li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
}

.program-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.program-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

.program-title {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.4;
}

.section-close {
  padding-bottom: 6rem;
}

.section-close .btn {
  margin-top: 2rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem var(--pad) 2.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--text-faint);
}

.site-footer a {
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.site-footer a:hover {
  color: var(--accent);
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal-delay-1 { animation-delay: 0.12s; }
.reveal-delay-2 { animation-delay: 0.24s; }
.reveal-delay-3 { animation-delay: 0.38s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section,
.program-list li,
.outcome-list li {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.section.is-visible,
.program-list li.is-visible,
.outcome-list li.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .section,
  .program-list li,
  .outcome-list li {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 6rem;
    padding-bottom: 3.5rem;
  }

  .section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .program-list li {
    grid-template-columns: 2.4rem 1fr;
    gap: 0.75rem;
  }
}
