:root {
  --color-void: #03070d;
  --color-navy: #071421;
  --color-panel: rgba(10, 24, 36, 0.84);
  --color-panel-strong: rgba(9, 19, 29, 0.96);
  --color-neon: #7cff6b;
  --color-turquoise: #31f5d6;
  --color-text: #f2fbff;
  --color-muted: #9fb2bd;
  --color-border: rgba(124, 255, 107, 0.22);
  --color-border-cool: rgba(49, 245, 214, 0.25);
  --shadow-glow: 0 0 32px rgba(49, 245, 214, 0.18), 0 0 56px rgba(124, 255, 107, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 999px;
  --max-width: 1180px;
  --section-space: clamp(4rem, 8vw, 7rem);
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 8%, rgba(124, 255, 107, 0.15), transparent 28rem),
    radial-gradient(circle at 82% 22%, rgba(49, 245, 214, 0.14), transparent 30rem),
    linear-gradient(135deg, var(--color-void) 0%, #06101c 46%, #03070d 100%);
  color: var(--color-text);
  font-family: Inter, "Manrope", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(49, 245, 214, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(49, 245, 214, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 78%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: linear-gradient(120deg, transparent, rgba(124, 255, 107, 0.045), transparent);
  transform: translateX(-40%);
  animation: scanline 12s ease-in-out infinite alternate;
}

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

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

a:hover {
  color: var(--color-turquoise);
}

:focus-visible {
  outline: 3px solid var(--color-neon);
  outline-offset: 4px;
}

::selection {
  background: rgba(124, 255, 107, 0.32);
  color: var(--color-text);
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 1rem clamp(1rem, 4vw, 3rem) clamp(3rem, 7vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}

.hero-gradient::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 7, 13, 0.98) 0%, rgba(3, 7, 13, 0.74) 48%, rgba(3, 7, 13, 0.32) 100%),
    url("https://images.unsplash.com/photo-1549060279-7e168fcee0c2?auto=format&fit=crop&w=1800&q=80") center / cover;
  filter: saturate(1.1);
}

.hero-gradient::after {
  position: absolute;
  inset: auto -12% -28% 32%;
  z-index: -1;
  height: 48rem;
  content: "";
  background: radial-gradient(circle, rgba(49, 245, 214, 0.22), transparent 62%);
  filter: blur(6px);
}

.site-nav {
  position: sticky;
  top: 1rem;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  background: rgba(3, 7, 13, 0.78);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.site-nav a,
.site-nav span {
  white-space: nowrap;
}

.site-nav a:not(.brand),
.site-nav .domain,
.site-nav .cities {
  padding: 0.45rem 0.72rem;
  border-radius: var(--radius-sm);
  color: var(--color-muted);
  font-size: 0.88rem;
}

.site-nav a:not(.brand):hover,
.site-nav a:not(.brand):focus-visible {
  color: var(--color-text);
  background: rgba(49, 245, 214, 0.12);
}

.brand {
  margin-right: auto;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(124, 255, 107, 0.42);
  border-radius: var(--radius-sm);
  color: var(--color-neon);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: inset 0 0 22px rgba(124, 255, 107, 0.08);
}

.domain {
  color: var(--color-turquoise);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(19rem, 0.78fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  width: min(100%, var(--max-width));
  min-height: calc(100svh - 7rem);
  margin: 0 auto;
  padding-top: clamp(3rem, 8vw, 7rem);
}

.hero-content {
  max-width: 48rem;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--color-neon);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  content: "";
  background: var(--color-turquoise);
  box-shadow: 0 0 18px var(--color-turquoise);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1.35rem;
  font-size: clamp(2.35rem, 5.8vw, 5.45rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

h2 {
  max-width: 47rem;
  margin-bottom: 2rem;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.16;
}

.hero-text,
.section > p:not(.section-kicker),
.card p,
.city-card p,
.schedule-card p,
.site-footer,
.form-note {
  color: var(--color-muted);
}

.hero-text {
  max-width: 42rem;
  margin-bottom: 2rem;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button,
.lead-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0.95rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button-primary,
.lead-form button {
  color: #041007;
  background: linear-gradient(135deg, var(--color-neon), var(--color-turquoise));
  box-shadow: 0 0 30px rgba(124, 255, 107, 0.28), 0 18px 50px rgba(0, 0, 0, 0.32);
}

.button-secondary {
  border-color: var(--color-border-cool);
  color: var(--color-text);
  background: rgba(49, 245, 214, 0.08);
}

.button:hover,
.lead-form button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: var(--shadow-glow);
}

.button-secondary:hover {
  color: var(--color-text);
}

.button-primary:hover,
.lead-form button:hover {
  color: #041007;
}

.hero-media {
  position: relative;
  margin: 0;
  border: 1px solid var(--color-border-cool);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-panel);
  box-shadow: var(--shadow-glow);
}

.hero-media::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, transparent 42%, rgba(3, 7, 13, 0.84));
}

.hero-media img {
  width: 100%;
  min-height: 28rem;
  object-fit: cover;
}

.hero-media figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 2;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: rgba(3, 7, 13, 0.7);
  color: var(--color-text);
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.section {
  position: relative;
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: var(--section-space) 0;
}

.section::after {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: var(--section-space);
  content: "";
  background: linear-gradient(90deg, transparent, rgba(49, 245, 214, 0.26), transparent);
}

.card-grid,
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
}

.card,
.city-card,
.schedule-card,
.story,
.signup {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(12, 26, 38, 0.9), rgba(5, 13, 21, 0.9));
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.card,
.city-card,
.schedule-card {
  min-height: 13rem;
  padding: 1.35rem;
}

.card::before,
.city-card::before,
.schedule-card::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background:
    radial-gradient(circle at 85% 12%, rgba(124, 255, 107, 0.14), transparent 9rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 44%);
  opacity: 0.9;
}

.card > *,
.city-card > *,
.schedule-card > * {
  position: relative;
  z-index: 1;
}

.formats .card:nth-child(1)::before {
  background:
    linear-gradient(180deg, rgba(3, 7, 13, 0.2), rgba(3, 7, 13, 0.88)),
    url("https://images.unsplash.com/photo-1534258936925-c58bed479fcb?auto=format&fit=crop&w=900&q=80") center / cover;
}

.formats .card:nth-child(2)::before {
  background:
    linear-gradient(180deg, rgba(3, 7, 13, 0.18), rgba(3, 7, 13, 0.9)),
    url("https://images.unsplash.com/photo-1599058917212-d750089bc07e?auto=format&fit=crop&w=900&q=80") center / cover;
}

.formats .card:nth-child(3)::before {
  background:
    linear-gradient(180deg, rgba(3, 7, 13, 0.16), rgba(3, 7, 13, 0.9)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=900&q=80") center / cover;
}

.formats .card:nth-child(4)::before {
  background:
    linear-gradient(180deg, rgba(3, 7, 13, 0.14), rgba(3, 7, 13, 0.9)),
    url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=900&q=80") center / cover;
}

.levels .card:nth-child(1)::before {
  background:
    linear-gradient(180deg, rgba(3, 7, 13, 0.12), rgba(3, 7, 13, 0.88)),
    url("https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?auto=format&fit=crop&w=900&q=80") center / cover;
}

.levels .card:nth-child(2)::before {
  background:
    linear-gradient(180deg, rgba(3, 7, 13, 0.1), rgba(3, 7, 13, 0.88)),
    url("https://images.unsplash.com/photo-1517838277536-f5f99be501cd?auto=format&fit=crop&w=900&q=80") center / cover;
}

.levels .card:nth-child(3)::before {
  background:
    linear-gradient(180deg, rgba(3, 7, 13, 0.12), rgba(3, 7, 13, 0.9)),
    url("https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=900&q=80") center / cover;
}

.ages .card:nth-child(1)::before {
  background:
    linear-gradient(180deg, rgba(3, 7, 13, 0.08), rgba(3, 7, 13, 0.88)),
    url("https://images.unsplash.com/photo-1599058917765-a780eda07a3e?auto=format&fit=crop&w=900&q=80") center / cover;
}

.ages .card:nth-child(2)::before {
  background:
    linear-gradient(180deg, rgba(3, 7, 13, 0.08), rgba(3, 7, 13, 0.88)),
    url("https://images.unsplash.com/photo-1546483875-ad9014c88eba?auto=format&fit=crop&w=900&q=80") center / cover;
}

.ages .card:nth-child(3)::before {
  background:
    linear-gradient(180deg, rgba(3, 7, 13, 0.08), rgba(3, 7, 13, 0.88)),
    url("https://images.unsplash.com/photo-1574680178050-55c6a6a96e0a?auto=format&fit=crop&w=900&q=80") center / cover;
}

.classes {
  border: 1px solid var(--color-border-cool);
  border-radius: var(--radius-lg);
  padding-inline: clamp(1rem, 4vw, 3rem);
  background:
    linear-gradient(100deg, rgba(3, 7, 13, 0.96), rgba(7, 20, 33, 0.78)),
    url("https://images.unsplash.com/photo-1594737625785-a6cbdabd333c?auto=format&fit=crop&w=1500&q=80") center / cover;
  box-shadow: var(--shadow-glow);
}

.classes::after,
.story::after,
.signup::after {
  display: none;
}

.tag-list,
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list li,
.feature-list li {
  border: 1px solid var(--color-border-cool);
  background: rgba(49, 245, 214, 0.08);
}

.tag-list li {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-weight: 800;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}

.feature-list li {
  position: relative;
  min-height: 8rem;
  padding: 1.2rem 1.2rem 1.2rem 3rem;
  border-radius: var(--radius-md);
  color: var(--color-text);
  background:
    linear-gradient(135deg, rgba(3, 7, 13, 0.88), rgba(7, 20, 33, 0.78)),
    var(--feature-image, linear-gradient(135deg, rgba(49, 245, 214, 0.1), rgba(124, 255, 107, 0.08))) center / cover;
  overflow: hidden;
}

.feature-list li:nth-child(1) {
  --feature-image: url("https://images.unsplash.com/photo-1571019613914-85f342c6a11e?auto=format&fit=crop&w=900&q=80");
}

.feature-list li:nth-child(2) {
  --feature-image: url("https://images.unsplash.com/photo-1518611012118-696072aa579a?auto=format&fit=crop&w=900&q=80");
}

.feature-list li:nth-child(3) {
  --feature-image: url("https://images.unsplash.com/photo-1506784983877-45594efa4cbe?auto=format&fit=crop&w=900&q=80");
}

.feature-list li:nth-child(4) {
  --feature-image: url("https://images.unsplash.com/photo-1517245386807-bb43f82c33c4?auto=format&fit=crop&w=900&q=80");
}

.feature-list li:nth-child(5) {
  --feature-image: url("https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=900&q=80");
}

.feature-list li:nth-child(6) {
  --feature-image: url("https://images.unsplash.com/photo-1559757148-5c350d0d3c56?auto=format&fit=crop&w=900&q=80");
}

.feature-list li::before {
  position: absolute;
  top: 1.25rem;
  left: 1.2rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  content: "";
  background: var(--color-neon);
  box-shadow: 0 0 18px var(--color-neon);
}

.story {
  width: min(100% - 2rem, var(--max-width));
  padding: clamp(2rem, 5vw, 4rem);
  background:
    linear-gradient(110deg, rgba(3, 7, 13, 0.98), rgba(5, 15, 25, 0.72)),
    url("https://images.unsplash.com/photo-1517836357463-d25dfeac3438?auto=format&fit=crop&w=1500&q=80") center / cover;
}

.story p:not(.section-kicker) {
  max-width: 48rem;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
}

.city-card {
  min-height: 18rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.city-card:nth-child(1)::before {
  background:
    linear-gradient(180deg, rgba(3, 7, 13, 0.1), rgba(3, 7, 13, 0.9)),
    url("https://images.unsplash.com/photo-1556610961-2fecc5927173?auto=format&fit=crop&w=1000&q=80") center / cover;
}

.city-card:nth-child(2)::before {
  background:
    linear-gradient(180deg, rgba(3, 7, 13, 0.08), rgba(3, 7, 13, 0.9)),
    url("https://images.unsplash.com/photo-1513326738677-b964603b136d?auto=format&fit=crop&w=1000&q=80") center / cover;
}

.schedule-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}

.schedule-card {
  min-height: 13rem;
  border-color: var(--color-border-cool);
}

.schedule-card::before {
  background:
    linear-gradient(180deg, rgba(3, 7, 13, 0.2), rgba(3, 7, 13, 0.9)),
    var(--schedule-image, url("https://images.unsplash.com/photo-1517836357463-d25dfeac3438?auto=format&fit=crop&w=900&q=80")) center / cover;
}

.schedule-card:nth-child(3n + 1) {
  --schedule-image: url("https://images.unsplash.com/photo-1534258936925-c58bed479fcb?auto=format&fit=crop&w=900&q=80");
}

.schedule-card:nth-child(3n + 2) {
  --schedule-image: url("https://images.unsplash.com/photo-1594737625785-a6cbdabd333c?auto=format&fit=crop&w=900&q=80");
}

.schedule-card:nth-child(3n) {
  --schedule-image: url("https://images.unsplash.com/photo-1540206276207-3af25c08abc4?auto=format&fit=crop&w=900&q=80");
}

.schedule-card time {
  display: block;
  margin: 1.1rem 0 0.45rem;
  color: var(--color-neon);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
}

.schedule-card span {
  color: var(--color-muted);
}

.signup {
  padding: clamp(1.25rem, 5vw, 4rem);
  background:
    radial-gradient(circle at 90% 8%, rgba(124, 255, 107, 0.18), transparent 18rem),
    linear-gradient(145deg, rgba(7, 20, 33, 0.98), rgba(3, 7, 13, 0.98));
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.lead-form[hidden] {
  display: none;
}

.lead-form label,
.lead-form input,
.lead-form button,
.form-note,
.form-status {
  min-width: 0;
}

.lead-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--color-text);
  font-weight: 800;
}

.lead-form label span {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.lead-form input {
  width: 100%;
  min-height: 3.4rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  color: var(--color-text);
  background: rgba(3, 7, 13, 0.66);
  font: inherit;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.lead-form input:focus {
  border-color: var(--color-turquoise);
  background: rgba(3, 7, 13, 0.9);
  box-shadow: 0 0 0 4px rgba(49, 245, 214, 0.12);
}

.lead-form button,
.form-note,
.form-status {
  grid-column: 1 / -1;
}

.form-note,
.form-status {
  margin: 0;
}

.form-status:not(:empty) {
  padding: 0.9rem 1rem;
  border: 1px solid rgba(124, 255, 107, 0.42);
  border-radius: 1rem;
  color: var(--color-neon);
  background: rgba(124, 255, 107, 0.1);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer p {
  margin: 0;
}

@keyframes scanline {
  to {
    transform: translateX(34%);
  }
}

@media (max-width: 920px) {
  .site-nav {
    position: relative;
    top: 0;
    flex-wrap: wrap;
    border-radius: 1.5rem;
  }

  .brand {
    width: 100%;
    margin-right: 0;
    justify-content: center;
  }

.site-nav a:not(.brand),
.site-nav .domain,
.site-nav .cities {
    flex: 1 1 auto;
    text-align: center;
  }
}

@media (max-width: 760px) {
  :root {
    --section-space: 3.5rem;
  }

  body {
    font-size: 15px;
  }

  .hero {
    min-height: auto;
    padding-inline: 1rem;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 2.5rem;
  }

  h1 {
    font-size: clamp(2.2rem, 11vw, 3.5rem);
  }

  .hero-actions,
  .button,
  .lead-form button {
    width: 100%;
  }

  .hero-media img {
    min-height: 20rem;
  }

  .section {
    width: min(100% - 1.5rem, var(--max-width));
  }

  .classes,
  .story,
  .signup {
    border-radius: 1.5rem;
  }

  .card,
  .city-card,
  .schedule-card {
    min-height: auto;
  }

  .city-card {
    min-height: 15rem;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    padding-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .site-nav {
    gap: 0.45rem;
    padding: 0.55rem;
  }

.site-nav a:not(.brand),
.site-nav .domain,
.site-nav .cities {
    padding-inline: 0.55rem;
    font-size: 0.78rem;
  }

.site-nav .domain,
.site-nav .cities {
    display: none;
  }

  .hero-media figcaption {
    position: static;
    border-radius: 0;
  }

  .tag-list li,
  .feature-list li {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
