:root {
  --ink: #08070a;
  --ink-2: #100e14;
  --bone: #f2ece4;
  --mute: #8b8578;
  --ember: #ff4d1c;
  --ember-2: #ff7a4d;
  --gold: #c9a227;
  --line: rgba(242, 236, 228, 0.12);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Outfit", "Avenir Next", system-ui, sans-serif;
  --pad: max(1.1rem, env(safe-area-inset-left));
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--bone);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.55;
  background: radial-gradient(1200px 700px at 80% -10%, #1a1010 0%, transparent 50%), var(--ink);
  overflow-x: hidden;
}

@media (pointer: fine) {
  body.is-ready { cursor: none; }
}

img { max-width: 100%; }
a { color: inherit; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.6rem 1rem;
  background: var(--ember);
  color: #fff;
}

.skip:focus { top: 1rem; }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 8;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.field {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cursor {
  display: none;
  position: fixed;
  z-index: 30;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border: 1px solid var(--bone);
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: difference;
  transition: width 0.25s, height 0.25s, margin 0.25s, background 0.25s;
}

.cursor.is-on { display: block; }
.cursor.is-hot {
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  background: var(--ember);
  border-color: transparent;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-content: center;
  background: var(--ink);
  transition: opacity 0.7s ease, visibility 0.7s;
}

.preloader.is-gone {
  opacity: 0;
  visibility: hidden;
}

.preloader__kicker {
  margin: 0;
  text-align: center;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--mute);
}

.preloader__num {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(7rem, 22vw, 16rem);
  line-height: 0.8;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 12;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  padding: 0.7rem var(--pad);
  padding-top: max(0.7rem, env(safe-area-inset-top));
  background: color-mix(in srgb, var(--ink) 72%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav__brand {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
}

.nav__brand em {
  font-style: normal;
  color: var(--ember);
}

.nav__links {
  display: flex;
  flex: 1 1 100%;
  order: 3;
  gap: 0.85rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  font-size: 0.8rem;
  scrollbar-width: none;
}

.nav__links a {
  flex: 0 0 auto;
  white-space: nowrap;
}

.nav__links::-webkit-scrollbar { display: none; }

.nav__links a {
  text-decoration: none;
  color: var(--mute);
}

.nav__links a:hover { color: var(--bone); }

.nav .btn { margin-left: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}

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

.btn--ghost {
  border: 1px solid var(--line);
  background: transparent;
}

.btn--ember {
  background: var(--ember);
  color: #fff;
}

.btn--ember:hover { background: var(--ember-2); }

.btn--line {
  border: 1px solid var(--bone);
  background: transparent;
}

.btn--xl {
  min-height: 3.4rem;
  padding: 0 1.8rem;
  font-size: 1.05rem;
}

.hero,
.manifest,
.hall,
.bonuses,
.steps,
.faq,
.contacts,
.finale,
.foot {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin-inline: auto;
  padding: 3.2rem var(--pad);
}

.hero {
  display: grid;
  gap: 1.6rem;
  padding-top: 2rem;
  padding-bottom: 2.4rem;
}

.hero__kicker,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.4rem;
  color: var(--mute);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ember);
}

.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.7rem, 12vw, 8.4rem);
  line-height: 0.88;
  letter-spacing: -0.045em;
}

.hero__line { display: block; }

.hero__line--italic {
  font-style: italic;
  font-weight: 400;
  color: var(--ember);
}

.hero__lead {
  max-width: 38rem;
  margin: 1.1rem 0 0;
  color: #d8d0c4;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.hero__aside {
  display: grid;
  gap: 0.2rem;
}

.promo {
  max-width: 28rem;
}

.promo__tag,
.promo__hint {
  margin: 0;
  color: var(--mute);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.promo__code {
  display: block;
  width: 100%;
  margin: 0.55rem 0 0.45rem;
  padding: 0.8rem 0.7rem;
  border: 1px dashed color-mix(in srgb, var(--ember) 70%, var(--bone));
  background: color-mix(in srgb, var(--ember) 10%, transparent);
  color: var(--bone);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 4.6vw, 1.7rem);
  letter-spacing: 0.04em;
  word-break: break-all;
  cursor: pointer;
}

.promo__code--sm {
  width: 100%;
  margin: 0;
  padding: 0.7rem 0.75rem;
  font-size: clamp(0.95rem, 4vw, 1.15rem);
}

.promo__code.is-copied {
  border-style: solid;
  background: color-mix(in srgb, var(--ember) 22%, transparent);
}

.hero__cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
  margin-top: 1rem;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0.4rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.hero__meta dt {
  color: var(--mute);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero__meta dd {
  margin: 0.25rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 4vw, 2.1rem);
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 0.9rem 0;
}

.ticker__track {
  display: flex;
  gap: 2.4rem;
  width: max-content;
  animation: marquee 38s linear infinite;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--mute);
}

.ticker__track span::after {
  content: " · ";
  color: var(--ember);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.manifest {
  display: grid;
  gap: 2rem;
}

.manifest h2,
.hall h2,
.bonuses h2,
.steps h2,
.faq h2,
.contacts h2,
.finale h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 6vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.manifest p { color: #cfc6b8; }

.hall__head { max-width: 40rem; margin-bottom: 2.5rem; }
.hall__head p:last-child { color: var(--mute); }

.cards,
.offers {
  display: grid;
  gap: 1rem;
}

.card,
.offer {
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--ink-2) 80%, transparent);
}

.card__no,
.offer__tag {
  color: var(--ember);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.card h3,
.offer h3 {
  margin: 0.7rem 0 0.6rem;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 4vw, 1.7rem);
}

.card p,
.offer p { margin: 0; color: #c8bfb1; }

.offer a {
  display: inline-block;
  margin-top: 1rem;
  color: var(--ember);
}

.offer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.2rem;
  margin-top: 1.1rem;
}

.offer__row a { margin-top: 0; }

.offer--promo {
  border-color: color-mix(in srgb, var(--ember) 45%, var(--line));
}

.steps__list {
  display: grid;
  gap: 1.2rem;
  margin: 2rem 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps__list li {
  display: grid;
  gap: 0.35rem;
  padding: 1.2rem 0 1.2rem 4.2rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.steps__list li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.15rem;
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--ember);
}

.steps__list strong {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
}

.steps__list span { color: var(--mute); }

.faq__list { margin-top: 2rem; }

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

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 0;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 3.6vw, 1.25rem);
}

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

.faq details p {
  margin: 0 0 1.2rem;
  max-width: 42rem;
  color: #c8bfb1;
}

.contacts__lead {
  max-width: 40rem;
  color: var(--mute);
  margin: 1rem 0 2rem;
}

.contacts a { color: var(--ember); }

.finale {
  text-align: center;
  padding-block: clamp(6rem, 14vw, 10rem);
}

.finale__num {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(6rem, 18vw, 14rem);
  line-height: 0.75;
  color: color-mix(in srgb, var(--ember) 70%, transparent);
}

.finale h2 { margin: 0.4rem 0 1rem; }
.finale p { color: var(--mute); margin: 0 0 2rem; }

.foot {
  display: grid;
  gap: 1.2rem;
  padding-block: 2.2rem;
  padding-bottom: max(2.2rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 0.92rem;
}

.foot__brand {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  color: var(--bone);
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
}

.foot a { text-decoration: none; }
.foot a:hover { color: var(--bone); }

@media (min-width: 640px) {
  :root { --pad: clamp(1.5rem, 4vw, 3.5rem); }
  .hero__cta { grid-template-columns: max-content max-content; }
  .promo__code--sm { width: auto; }
  .cards { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 860px) {
  .nav {
    flex-wrap: nowrap;
    padding: 1rem var(--pad);
  }
  .nav__links {
    flex: 1 1 auto;
    order: 0;
    overflow: visible;
    font-size: 0.92rem;
    gap: 1.4rem;
    justify-content: flex-end;
  }
  .nav .btn { margin-left: 0; }
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
    gap: 2.5rem 3rem;
    min-height: calc(100svh - 5rem);
    padding-top: 4rem;
    padding-bottom: 3.5rem;
  }
  .hero__meta { grid-column: 1 / -1; }
  .hero__title { font-size: clamp(4.2rem, 8vw, 8.4rem); }
  .hero__aside {
    padding: 1.4rem;
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--ink-2) 70%, transparent);
  }
  .manifest { grid-template-columns: 1.1fr 0.9fr; align-items: end; }
  .offers { grid-template-columns: 1fr 1fr; }
  .offer--wide { grid-column: 1 / -1; }
  .contacts .cards { grid-template-columns: 1fr 1fr 1fr; }
  .foot { grid-template-columns: 1fr auto; align-items: start; }
  .foot__legal { grid-column: 1 / -1; }
  .hero,
  .manifest,
  .hall,
  .bonuses,
  .steps,
  .faq,
  .contacts,
  .finale,
  .foot {
    padding-block: clamp(4.5rem, 8vw, 8rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; }
  .btn:hover { transform: none; }
  body.is-ready { cursor: auto; }
  .cursor { display: none !important; }
}
