:root {
  color-scheme: dark;
  --bg: #262626;
  --bg-deep: #1d1d1d;
  --surface: #3b3b3b;
  --card: #333333;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.6);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  --accent: #aaf111;
  --accent-hover: #b7fa14;
  --accent-deep: #81b600;
  --accent-soft: rgba(170, 241, 17, 0.12);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --radius-sm: 12px;
  --header-h: 80px;
  --wrap: 1180px;
  --gutter: 24px;
  --font-slab: 'Roboto Slab', Georgia, serif;
  --font-sans: 'Fira Sans', Inter, 'Segoe UI', system-ui, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

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

html {
  scroll-behavior: smooth;
}

html.is-locked,
html.is-locked body {
  overflow: hidden;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.star {
  display: block;
  flex: none;
}

.star--xs {
  width: 16px;
  height: 16px;
}

.star--sm {
  width: 24px;
  height: 24px;
}

.star--md {
  width: 40px;
  height: 40px;
}

.star--lg {
  width: 72px;
  height: 72px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-slab);
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

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

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

.btn--primary:hover {
  background: var(--accent-hover);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--line {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.btn--line:hover {
  background: var(--accent);
  color: var(--bg);
}

.section {
  padding: 96px 0;
  position: relative;
  scroll-margin-top: calc(var(--header-h) + var(--safe-top) + 12px);
}

.hero + .section {
  padding-top: 64px;
}

.hero + .features-section {
  padding-top: 72px;
}

body > main.wrap {
  padding-bottom: 80px;
}

.section--tight {
  padding: 64px 0;
}

.section--deep {
  background: var(--bg-deep);
}

.section__head {
  max-width: 760px;
  margin-bottom: 40px;
}

.section__title {
  margin: 0 0 16px;
  font-family: var(--font-slab);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.15;
}

.section__lead,
.prose p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}

.prose p:last-child {
  margin-bottom: 0;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: calc(var(--header-h) + var(--safe-top));
  padding-top: var(--safe-top);
  background: rgba(38, 38, 38, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.header.is-scrolled {
  border-bottom-color: var(--line);
}

.header__inner {
  width: min(100% - 32px, var(--wrap));
  height: var(--header-h);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__logo {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex: none;
  text-decoration: none;
}

.header__logo > img {
  width: 168px;
  height: 21px;
}

.header__slogan {
  display: block;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.header__nav a:not(.btn) {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
}

.header__nav a:not(.btn):hover {
  color: var(--text);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__actions .btn {
  min-height: 40px;
  padding: 8px 16px;
}

.header__menu {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.header__menu span,
.header__menu span::before,
.header__menu span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 0 auto;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header__menu span::before,
.header__menu span::after {
  content: '';
  position: absolute;
  left: 0;
}

.header__menu span::before {
  top: -6px;
}

.header__menu span::after {
  top: 6px;
}

.header.is-open .header__menu span {
  background: transparent;
}

.header.is-open .header__menu span::before {
  top: 0;
  transform: rotate(45deg);
}

.header.is-open .header__menu span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 56px;
  text-align: center;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  z-index: 2;
  height: 88px;
  pointer-events: none;
}

.hero::before {
  top: 0;
  background: linear-gradient(to bottom, var(--bg) 0%, transparent 100%);
}

.hero::after {
  bottom: 0;
  background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
}

.hero__glow {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(920px, 110%);
  height: min(560px, 85%);
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse at center,
    rgba(170, 241, 17, 0.16) 0%,
    rgba(170, 241, 17, 0.07) 34%,
    rgba(170, 241, 17, 0.02) 58%,
    transparent 76%
  );
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 35%, transparent 78%);
  mask-image: radial-gradient(ellipse at center, #000 35%, transparent 78%);
}

.hero__glow--soft {
  left: 50%;
  top: 55%;
  width: min(700px, 95%);
  height: min(420px, 70%);
  background: radial-gradient(
    ellipse at center,
    rgba(170, 241, 17, 0.08) 0%,
    transparent 70%
  );
  -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 80%);
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 80%);
}

.hero__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 18%,
    #000 82%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    #000 18%,
    #000 82%,
    transparent 100%
  );
}

.hero__ring {
  position: absolute;
  left: 50%;
  top: 48%;
  border: 1px solid rgba(170, 241, 17, 0.14);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.7;
}

.hero__ring--a {
  width: min(640px, 78vw);
  height: min(420px, 52vw);
  transform: translate(-50%, -50%) rotate(-16deg);
}

.hero__ring--b {
  width: min(480px, 58vw);
  height: min(520px, 64vw);
  border-color: rgba(170, 241, 17, 0.1);
  transform: translate(-50%, -50%) rotate(22deg);
}

.hero__spark {
  position: absolute;
  opacity: 0.85;
  animation: hero-twinkle 3.4s ease-in-out infinite;
}

.hero__spark--a {
  left: 12%;
  top: 28%;
  width: 48px;
  height: 48px;
}

.hero__spark--b {
  right: 14%;
  top: 22%;
  width: 28px;
  height: 28px;
  animation-delay: 0.7s;
}

.hero__spark--c {
  left: 22%;
  bottom: 18%;
  width: 20px;
  height: 20px;
  animation-delay: 1.4s;
}

.hero__spark--d {
  right: 18%;
  bottom: 24%;
  width: 16px;
  height: 16px;
  animation-delay: 2s;
}

@keyframes hero-twinkle {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__title {
  margin: 0 0 20px;
  width: 100%;
  max-width: 900px;
  font-family: var(--font-slab);
  font-size: 58px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero__title em {
  font-style: normal;
  color: var(--accent);
}

.hero__text {
  margin: 0 0 36px;
  max-width: 640px;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}

.btn--hero {
  min-height: 56px;
  padding: 14px 28px;
  border-radius: 16px;
  background: linear-gradient(135deg, #b7fa14 0%, #aaf111 45%, #81b600 100%);
  color: var(--bg);
  box-shadow:
    0 0 0 1px rgba(183, 250, 20, 0.35),
    0 12px 32px rgba(170, 241, 17, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  font-size: 16px;
  font-weight: 600;
}

.btn--hero:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #c8ff3a 0%, #b7fa14 50%, #aaf111 100%);
  box-shadow:
    0 0 0 1px rgba(183, 250, 20, 0.5),
    0 16px 40px rgba(170, 241, 17, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

/* Features */
.features-section {
  padding: 72px 0 160px;
  height: auto;
}

.features-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: 24px 40px;
  align-items: center;
}

.features-head {
  margin: 0;
  text-align: left;
}

.features-head .section__title {
  margin: 0;
  max-width: 11ch;
}

.features-slider {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: min(100%, 640px);
  justify-self: start;
}

.features-deck {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 240px;
  perspective: 1200px;
  touch-action: pan-x;
  user-select: none;
}

.feature {
  grid-area: 1 / 1;
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: 28px;
  border-radius: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transform-origin: center center;
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease;
}

.feature:nth-child(1) {
  background:
    radial-gradient(circle at 90% 8%, rgba(170, 241, 17, 0.16), transparent 42%),
    var(--card);
}

.feature--accent {
  background:
    radial-gradient(circle at 20% 100%, rgba(170, 241, 17, 0.12), transparent 50%),
    #2a2a2a;
  border-color: rgba(170, 241, 17, 0.28);
}

.feature.is-active {
  position: relative;
  inset: auto;
  z-index: 4;
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  border-color: rgba(170, 241, 17, 0.35);
}

.feature.is-passed {
  z-index: 2;
  opacity: 0;
  transform: translateY(-40px) scale(0.98);
}

.feature.is-next {
  z-index: 3;
  opacity: 0;
  transform: translateY(40px) scale(0.98);
}

.feature__spark {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 28px;
  height: 28px;
}

.feature h3 {
  margin: 0 0 16px;
  padding-right: 36px;
  font-family: var(--font-slab);
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
}

.feature p {
  margin: 0;
  max-width: none;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.features-nav {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.features-nav:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.features-nav:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.features-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding-inline: 28px 4px;
}

.features-counter {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-slab);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.features-navs {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Events */
.events-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 48px 56px;
  align-items: start;
}

.events-slider {
  display: grid;
  gap: 16px;
  width: min(100%, 400px);
  justify-self: start;
}

.events-deck {
  position: relative;
  display: grid;
  width: 100%;
  height: 392px;
  touch-action: pan-y;
  user-select: none;
}

.app-event {
  grid-area: 1 / 1;
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-sizing: border-box;
  height: 100%;
  padding: 16px;
  border-radius: 16px;
  background: var(--card);
  opacity: 0;
  transform: translateX(40px) scale(0.98);
  pointer-events: none;
  transition:
    opacity 0.4s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.app-event.is-active {
  z-index: 4;
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.app-event.is-passed {
  z-index: 2;
  opacity: 0;
  transform: translateX(-40px) scale(0.98);
}

.app-event.is-next {
  z-index: 3;
  opacity: 0;
  transform: translateX(40px) scale(0.98);
}

.app-event__media {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 311 / 180;
  background: rgba(255, 255, 255, 0.06);
}

.app-event__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-event__date {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 64px;
  padding: 8px;
  border-radius: 12px 0 12px 0;
  background: rgba(38, 38, 38, 0.6);
  color: var(--text);
  text-align: center;
}

.app-event__day {
  font-family: var(--font-slab);
  font-size: 34px;
  font-weight: 700;
  line-height: 34px;
}

.app-event__month {
  font-family: var(--font-slab);
  font-size: 18px;
  font-weight: 300;
  line-height: 20px;
  opacity: 0.8;
}

.app-event__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-event__title {
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  min-height: 66px;
  font-family: var(--font-slab);
  font-size: 18px;
  font-weight: 600;
  line-height: 22px;
}

.app-event__title a {
  color: inherit;
  text-decoration: none;
}

.app-event__title a:hover {
  color: var(--accent);
}

.app-event__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.app-event__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 18px;
}

.app-event__meta-label {
  color: var(--muted);
}

.events-slider__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding-inline: 16px 4px;
}

.events-counter {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-slab);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.events-navs {
  display: flex;
  align-items: center;
  gap: 10px;
}

.events-cta {
  width: 100%;
  justify-content: center;
}

.events-copy .section__title {
  margin: 0 0 20px;
  /* Align first-line caps with the card top edge */
  margin-top: -0.22em;
  line-height: 1.12;
}

.events-copy .prose p:last-child {
  margin-bottom: 0;
}

/* Community */
#community {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

#community::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 48%;
  z-index: 0;
  width: min(980px, 120%);
  height: min(520px, 90%);
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse at center,
    rgba(170, 241, 17, 0.22) 0%,
    rgba(170, 241, 17, 0.1) 32%,
    rgba(170, 241, 17, 0.03) 56%,
    transparent 76%
  );
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 32%, transparent 78%);
  mask-image: radial-gradient(ellipse at center, #000 32%, transparent 78%);
}

#community .wrap {
  position: relative;
  z-index: 1;
}

.community {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  gap: 32px 64px;
  align-items: start;
}

.community .section__title {
  margin: 0;
  max-width: 14ch;
  text-align: left;
}

.community .prose {
  max-width: none;
  text-align: left;
}

.community .prose p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.55;
}

.community .prose p:last-child {
  margin-bottom: 0;
}

.device {
  width: min(100%, 360px);
  margin-inline: auto;
  padding: 12px;
  border-radius: 36px;
  background: #111;
  box-shadow: var(--shadow);
}

.device__screen {
  overflow: hidden;
  border-radius: 28px;
  background: var(--bg);
  padding: 16px 16px 20px;
}

.mock-head {
  display: grid;
  grid-template-columns: 25px 1fr 25px;
  align-items: center;
  margin-bottom: 16px;
}

.mock-head__menu,
.mock-head__plus {
  width: 25px;
  height: 25px;
  border: 0;
  background:
    linear-gradient(var(--text), var(--text)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--text), var(--text)) center / 1.5px 14px no-repeat;
  opacity: 0.85;
}

.mock-head__menu {
  background:
    linear-gradient(var(--text), var(--text)) 5px 8px / 15px 1.5px no-repeat,
    linear-gradient(var(--text), var(--text)) 5px 12px / 15px 1.5px no-repeat,
    linear-gradient(var(--text), var(--text)) 5px 16px / 15px 1.5px no-repeat;
}

.mock-head img {
  width: 41px;
  height: 25px;
  margin-inline: auto;
}

.mock-card {
  padding: 16px;
  border-radius: 16px;
  background: var(--card);
}

.mock-card + .mock-card {
  margin-top: 8px;
}

.mock-card__meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
}

.mock-card__avatar {
  width: 34px;
  height: 34px;
  border-radius: 30px;
  background: linear-gradient(135deg, #81b600, #aaf111);
}

.mock-card h3 {
  margin: 0 0 8px;
  font-family: var(--font-slab);
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
}

.mock-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 18px;
}

/* Audience */
#who .section__head {
  max-width: none;
  text-align: center;
}

.audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.audience article {
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}

.audience__icon {
  display: block;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
}

.audience h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  font-family: var(--font-slab);
  font-size: 22px;
  font-weight: 600;
  line-height: 28px;
}

.audience p {
  margin: 0;
  color: var(--muted);
}

.note {
  margin-top: 20px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  border: 1px solid rgba(170, 241, 17, 0.28);
  color: var(--text);
  font-size: 15px;
  line-height: 22px;
}

.note a {
  color: var(--accent);
}

/* About */
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 40px 56px;
  align-items: start;
}

.about-copy .section__title {
  margin: -0.18em 0 24px;
  line-height: 1.12;
}

.about-copy .prose p:last-child {
  margin-bottom: 0;
}

.about-copy__cta {
  margin-top: 28px;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 20px;
  align-items: stretch;
  padding: 16px 16px 16px 16px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}

.step__n {
  display: grid;
  place-items: center;
  align-self: stretch;
  width: 72px;
  min-height: 100%;
  margin: 0;
  padding: 12px 0;
  border: 0;
  border-radius: 12px;
  background: rgba(170, 241, 17, 0.12);
  color: var(--accent);
  font-family: var(--font-slab);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.step__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 4px;
  padding-right: 8px;
}

.step h3 {
  margin: 2px 0 8px;
  font-family: var(--font-slab);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

/* Mission */
.mission-section {
  position: relative;
  overflow: hidden;
  background: var(--bg-deep);
}

.mission-section::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 48%;
  z-index: 0;
  width: min(980px, 120%);
  height: min(520px, 90%);
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse at center,
    rgba(170, 241, 17, 0.22) 0%,
    rgba(170, 241, 17, 0.1) 32%,
    rgba(170, 241, 17, 0.03) 56%,
    transparent 76%
  );
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 32%, transparent 78%);
  mask-image: radial-gradient(ellipse at center, #000 32%, transparent 78%);
}

.mission-section .wrap {
  position: relative;
  z-index: 1;
}

.mission {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  gap: 32px 64px;
  align-items: start;
  max-width: none;
}

.mission .section__title {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(32px, 5vw, 56px);
  text-align: left;
}

.mission .prose {
  max-width: none;
  text-align: left;
}

.mission .prose p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.55;
}

.mission .prose p:last-child {
  margin-bottom: 0;
}

/* FAQ */
#faq .section__head {
  max-width: none;
  text-align: center;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq details {
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-slab);
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '';
  width: 12px;
  height: 12px;
  flex: none;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(225deg);
  margin-top: 6px;
}

.faq__body {
  padding: 0 22px 20px;
  color: var(--muted);
}

.faq__body p {
  margin: 0 0 12px;
}

.faq__body p:last-child {
  margin-bottom: 0;
}

/* CTA */
.cta {
  overflow: hidden;
}

.cta__box {
  position: relative;
  padding: 72px 32px;
  border-radius: 28px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(170, 241, 17, 0.2), transparent 46%),
    var(--card);
  border: 1px solid var(--line);
}

.cta__box .star {
  margin-inline: auto;
}

.cta__box h2 {
  margin: 16px 0 28px;
  font-family: var(--font-slab);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.1;
}

/* Footer */
.footer {
  padding: 48px 0 calc(32px + var(--safe-bottom));
  border-top: 1px solid var(--line);
}

.footer__logo {
  width: 239px;
  height: 30px;
  margin: 0 auto 28px;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-bottom: 20px;
}

.footer__nav a {
  color: var(--text);
  font-size: 12px;
  font-weight: 300;
  line-height: 16px;
}

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

.footer__legal,
.footer__copy {
  margin: 0 auto;
  max-width: 420px;
  color: var(--muted);
  font-size: 12px;
  line-height: 16px;
  text-align: center;
}

.footer__legal {
  margin-bottom: 16px;
}

.footer__legal a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Cookie */
.cookie {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 80;
  padding: 16px;
  padding-bottom: calc(16px + var(--safe-bottom));
  pointer-events: none;
}

.cookie__panel {
  width: min(100%, 480px);
  margin: 0 auto;
  padding: 20px 16px;
  border: 1px solid rgba(170, 241, 17, 0.35);
  border-radius: 16px;
  background: var(--bg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  pointer-events: auto;
}

.cookie__title {
  margin: 0 0 8px;
  font-family: var(--font-slab);
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
}

.cookie__text {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.cookie .btn {
  width: 100%;
}

/* Legal / document pages */
.page-hero {
  padding: 40px 0 28px;
}

.page-hero h1 {
  margin: 0 0 14px;
  font-family: var(--font-slab);
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.page-hero .section__lead {
  margin: 0;
  max-width: 42em;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.doc {
  max-width: 720px;
  padding-bottom: 96px;
}

.doc__nav {
  padding-top: 28px;
}

.doc__nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s ease;
}

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

.doc__meta {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.doc__body {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.doc__body > *:first-child {
  margin-top: 28px;
}

.doc h2 {
  margin: 40px 0 14px;
  font-family: var(--font-slab);
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

.doc h3 {
  margin: 28px 0 10px;
  font-family: var(--font-slab);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}

.doc p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}

.doc ul,
.doc ol {
  margin: 0 0 18px;
  padding-left: 1.35em;
  color: rgba(255, 255, 255, 0.72);
}

.doc li {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
}

.doc li::marker {
  color: var(--accent);
}

.doc a {
  color: var(--accent);
  text-underline-offset: 3px;
}

.doc a:hover {
  text-decoration: underline;
}

.doc strong {
  color: var(--text);
  font-weight: 500;
}

.doc__note {
  margin-top: 40px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* Legal hub */
.legal {
  max-width: 720px;
  padding-bottom: 80px;
}

.legal-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 8px 0 0;
  list-style: none;
}

.legal-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-slab);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.legal-list a::after {
  content: '→';
  color: var(--accent);
  font-family: var(--font-sans);
  font-weight: 400;
  opacity: 0.85;
}

.legal-list a:hover {
  border-color: rgba(170, 241, 17, 0.35);
  background: #383838;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 560px;
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.form input,
.form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: var(--text);
  font: inherit;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form__check {
  display: grid !important;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  margin: 8px 0 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
}

.form__check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  padding: 0;
  accent-color: var(--accent);
}

.form__check a {
  color: var(--accent);
}

.form .btn {
  align-self: start;
  margin-top: 8px;
}

.form input.is-invalid,
.form textarea.is-invalid {
  border-color: #ff6b6b;
}

.form__check.is-invalid {
  color: #ff8a8a;
}

.form__check input.is-invalid {
  outline: 2px solid #ff6b6b;
  outline-offset: 2px;
}

.form__error {
  margin: 0;
  color: #ff8a8a;
  font-size: 12px;
  line-height: 1.4;
}

.form__check .form__error {
  grid-column: 1 / -1;
}

.form .btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  padding: 28px 24px;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.modal__title {
  margin: 0 0 10px;
  font-family: var(--font-slab);
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
}

.modal__text {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.55;
}

.modal__panel .btn {
  width: 100%;
}

.contacts-page {
  padding-bottom: 64px;
}

.requisites {
  margin-top: 56px;
  max-width: 720px;
}

.requisites .section__title {
  margin-bottom: 20px;
  font-size: clamp(24px, 3vw, 32px);
}

.requisites__org {
  margin: 0 0 20px;
  color: var(--text);
  font-family: var(--font-slab);
  font-size: 18px;
  font-weight: 500;
}

.requisites__list {
  display: grid;
  gap: 14px 32px;
  margin: 0;
}

.requisites__list > div {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  gap: 8px 20px;
}

.requisites__list dt {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.requisites__list dd {
  margin: 0;
  color: var(--text);
  font-size: 15px;
  word-break: break-word;
}

@media (max-width: 1080px) {
  .events-layout {
    grid-template-columns: 1fr;
  }

  .events-slider {
    width: 100%;
    max-width: 400px;
  }

  .events-deck {
    height: 380px;
  }

  .community {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .community .section__title {
    max-width: 14ch;
  }

  .community .prose p {
    font-size: 16px;
  }

  .mission {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mission .section__title {
    max-width: 12ch;
  }

  .mission .prose p {
    font-size: 16px;
  }

  .audience {
    grid-template-columns: 1fr 1fr;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-copy {
    order: -1;
  }

  .features-section {
    padding: 56px 0 112px;
  }

  .features-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    align-content: start;
  }

  .features-head .section__title {
    max-width: 16ch;
  }

  .features-slider {
    width: 100%;
  }

  .feature {
    padding: 22px 20px;
  }

  .feature h3 {
    font-size: 26px;
  }

  .feature p {
    font-size: 16px;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 16px;
    --header-h: 72px;
  }

  .section {
    padding: 64px 0;
  }

  .requisites__list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .header.is-open {
    position: fixed;
    inset: 0;
    height: 100dvh;
    overflow: auto;
    background: var(--bg);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .header.is-open .header__inner {
    height: auto;
    min-height: 100%;
    flex-wrap: wrap;
    align-content: start;
  }

  .header__menu {
    display: grid;
    place-items: center;
  }

  .header__nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 8px 0 0;
    padding: 8px 0 32px;
  }

  .header.is-open .header__nav {
    display: flex;
  }

  .header__nav a:not(.btn) {
    padding: 16px 8px;
    border-bottom: 1px solid var(--line);
    color: var(--text);
    font-size: 16px;
  }

  .header__actions {
    flex-direction: column;
    margin-top: 20px;
  }

  .header__actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .header__logo > img {
    width: 148px;
    height: 18.5px;
  }

  .header__slogan {
    font-size: 10px;
  }

  .audience {
    grid-template-columns: 1fr;
  }

  .features-head .section__title {
    max-width: none;
  }

  .hero {
    padding: 56px 0 36px;
  }

  .hero + .section {
    padding-top: 48px;
  }

  .hero + .features-section {
    padding-top: 56px;
  }

  .hero__title {
    font-size: 34px;
  }

  .hero__spark--a {
    width: 32px;
    height: 32px;
  }

  .hero__ring--a,
  .hero__ring--b {
    opacity: 0.7;
  }

  .cta__box {
    padding: 48px 20px;
  }

  .footer__nav {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
}
