:root {
  --bg: #10070c;
  --ink: #fff7f4;
  --muted: #cbb6be;
  --soft: #e7d4db;
  --pink: #ff4d8d;
  --pink-deep: #e23a86;
  --pink-hi: #ff5ea6;
  --pink-soft: #ffb3d6;
  --red: #ff2f5b;
  --red-hi: #ff5c7c;
  --violet: #8b5cff;
  --violet-hi: #a78bfa;
  --line: rgba(255, 186, 210, 0.16);
  --card: rgba(255, 244, 248, 0.035);
  --max: 72rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(ellipse 70% 42% at 0% -8%, rgba(255, 77, 141, 0.2), transparent 55%),
    radial-gradient(ellipse 46% 36% at 100% 0%, rgba(0, 188, 206, 0.12), transparent 50%),
    var(--bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

::selection {
  background: rgba(255, 77, 141, 0.35);
  color: #fff;
}

.agebar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.35rem 1rem;
  background: linear-gradient(90deg, #3a061c 0%, #ff2d78 48%, #7a2bff 100%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  width: 100%;
  padding: 0.8rem max(1.25rem, calc((100% - var(--max)) / 2 + 1.25rem));
  background: rgba(16, 7, 12, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.top__brand {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}

.top__brand img {
  display: block;
  width: 11.5rem;
  height: auto;
}

.top__nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.15rem;
  margin-left: auto;
}

.top__nav a {
  color: var(--soft);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.top__nav a:hover,
.top__nav a:focus-visible,
.top__nav a[aria-current="page"] {
  color: #fff;
}

.top__nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--pink);
}

.top__enter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  color: #1a0a10;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.top__enter:hover,
.top__enter:focus-visible {
  background: var(--pink-soft);
  outline: none;
}

.wrap {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 1.25rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
  padding: clamp(2.2rem, 6vw, 4.5rem) 0 2.5rem;
}

.hero__logo {
  display: block;
  width: min(100%, 24rem);
  margin: 0 0 1.1rem;
}

.kicker {
  margin: 0 0 0.7rem;
  color: var(--pink-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section-head h2,
.band h2,
.notes h2,
.page__title,
.content h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.03em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  line-height: 0.96;
}

.hero__lede {
  max-width: 38rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero__lede strong,
.notes strong,
.content strong {
  color: var(--ink);
  font-weight: 650;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: min(100%, 28rem);
  margin-top: 1.5rem;
}

.btn {
  --accent: var(--pink-deep);
  --accent-hi: var(--pink-hi);
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-height: 3.4rem;
  padding: 0.85rem 1.1rem 0.85rem 0.95rem;
  border-radius: 0.7rem;
  background: linear-gradient(180deg, var(--accent-hi) 0%, var(--accent) 100%);
  color: #fff;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 10px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), filter 0.28s var(--ease);
}

.btn--private {
  --accent: var(--red);
  --accent-hi: var(--red-hi);
}

.btn--telegram {
  --accent: var(--violet);
  --accent-hi: var(--violet-hi);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 16px 36px rgba(0, 0, 0, 0.45);
  filter: brightness(1.05);
  outline: none;
}

.btn:focus-visible,
.top__enter:focus-visible,
.card:focus-visible,
.top__nav a:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
}

.btn:active {
  transform: translateY(0);
}

.btn__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
}

.btn__icon svg {
  width: 100%;
  height: 100%;
}

.btn__label {
  flex: 1;
  text-align: center;
  font-size: clamp(0.78rem, 2vw, 0.92rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
  padding-right: 1.65rem;
}

.hero__aside {
  padding: 1.25rem 1.3rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background:
    linear-gradient(180deg, rgba(255, 77, 141, 0.12), transparent 42%),
    rgba(16, 7, 12, 0.55);
}

.hero__aside p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.hero__aside ol {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.hero__aside li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.65rem;
  align-items: start;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.92rem;
  line-height: 1.4;
}

.hero__aside li strong {
  display: block;
  color: var(--ink);
  font-weight: 650;
}

.hero__aside .kicker {
  margin-bottom: 0.7rem;
}

.num {
  color: var(--pink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.05rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin: 1rem 0 1.15rem;
}

.section-head h2,
.notes h2,
.band h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.section-head p,
.band p,
.notes .dek {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.2rem 1.2rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: var(--card);
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s var(--ease), border-color 0.25s ease, background 0.25s ease;
}

.card--feature {
  grid-column: span 4;
  grid-row: span 2;
  padding: 1.6rem 1.5rem 1.4rem;
  background:
    linear-gradient(160deg, rgba(255, 77, 141, 0.16), transparent 48%),
    var(--card);
}

.card:nth-child(2),
.card:nth-child(3),
.card:nth-child(n + 4) {
  grid-column: span 2;
}

.card:hover,
.card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(255, 77, 141, 0.45);
  background: rgba(255, 77, 141, 0.07);
}

.card__cat {
  color: var(--pink-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card h3 {
  margin: 0.55rem 0 0.45rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.card--feature h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  max-width: 16ch;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.card__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.15rem;
  color: var(--soft);
  font-size: 0.78rem;
}

.card__more {
  color: #fff;
  font-weight: 700;
}

.notes {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.7fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.prose,
.side,
.band {
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: rgba(16, 7, 12, 0.45);
}

.prose {
  padding: clamp(1.3rem, 3vw, 2rem);
}

.prose h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.prose p,
.prose li,
.content p,
.content li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.prose p,
.content p {
  margin: 0.8rem 0 0;
}

.prose h3,
.faq-block h3,
.content h3 {
  margin: 1.35rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.prose a:not(.btn),
.side a,
.content a:not(.btn),
.page__intro a {
  color: var(--pink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.prose a:not(.btn):hover,
.side a:hover,
.content a:not(.btn):hover {
  border-bottom-color: currentColor;
}

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  margin: 0;
  padding: 0.9rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
}

.steps span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--pink);
  font-family: "Fraunces", Georgia, serif;
}

.side {
  padding: 1.3rem 1.25rem;
}

.side h2 {
  margin: 0 0 0.8rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 560;
}

.side ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.side li + li {
  border-top: 1px solid var(--line);
}

.side a {
  display: block;
  padding: 0.75rem 0;
}

.faq-block {
  padding-top: 0.35rem;
}

.band {
  display: grid;
  grid-template-columns: 1fr min(28rem, 100%);
  gap: 1.5rem;
  align-items: center;
  margin: 1.25rem 0 3rem;
  padding: clamp(1.3rem, 3vw, 2rem);
}

.band .actions {
  margin-top: 0;
}

.band a {
  color: var(--pink-soft);
  text-decoration: none;
}

.band a:hover,
.band a:focus-visible {
  text-decoration: underline;
}

.foot {
  padding: 1.4rem 1.25rem 1.8rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.foot__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1.2rem;
}

.foot__nav a {
  color: var(--muted);
  font-size: 0.82rem;
  text-decoration: none;
}

.foot__nav a:hover,
.foot__nav a:focus-visible {
  color: #fff;
}

.foot__copyright {
  margin: 0.8rem 0 0;
  color: rgba(203, 182, 190, 0.7);
  font-size: 0.75rem;
}

.page {
  width: min(46rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

.page__header {
  margin-bottom: 2rem;
}

.page__eyebrow {
  margin: 0 0 0.6rem;
  color: var(--pink-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page__title {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  line-height: 0.95;
}

.page__intro {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.content section {
  margin: 0 0 2.2rem;
}

.content h2 {
  margin: 0 0 0.4rem;
  font-size: 2rem;
}

.content__card {
  margin-top: 0.85rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--card);
}

.content__card h3 {
  margin-top: 0;
}

.content__card p:last-child {
  margin-bottom: 0;
}

.page .content__card > .btn {
  width: min(100%, 28rem);
  margin-top: 1.1rem;
}

.back-home {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--soft);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.back-home:hover,
.back-home:focus-visible {
  color: #fff;
}

@media (max-width: 980px) {
  .hero,
  .notes,
  .band,
  .cards,
  .steps {
    grid-template-columns: 1fr;
  }

  .card,
  .card--feature,
  .card:nth-child(2),
  .card:nth-child(3),
  .card:nth-child(n + 4) {
    grid-column: auto;
    grid-row: auto;
  }

  .top__nav {
    order: 3;
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .agebar {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  .top {
    width: 100%;
    padding-inline: 1.25rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .card {
    transition: none;
  }

  .btn:hover,
  .card:hover {
    transform: none;
  }
}
