/* Лендинг: герой, искры, секции (только публичная главная) */

.kz-landing {
  container-type: inline-size;
  container-name: landing;
}

.kz-sparks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.kz-spark {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ffb547;
  box-shadow: 0 0 8px rgba(255, 181, 71, 0.8);
  opacity: 0.85;
  animation: kz-spark-rise var(--dur, 3s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes kz-spark-rise {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  15% {
    opacity: 0.9;
  }
  100% {
    transform: translateY(-120px) scale(0.4);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .kz-spark {
    animation: none;
    opacity: 0.35;
  }
}

.kz-hero {
  position: relative;
  isolation: isolate;
  background: radial-gradient(
      60% 50% at 70% 78%,
      rgba(255, 107, 31, 0.38),
      rgba(217, 40, 28, 0.14) 45%,
      transparent 75%
    ),
    radial-gradient(40% 30% at 20% 0%, rgba(255, 138, 69, 0.08), transparent 70%);
}
.kz-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(48px, 9cqi, 112px) 20px clamp(40px, 6cqi, 72px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 48px;
  align-items: center;
}
.kz-hero__eyebrow {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 138, 69, 0.35);
  background: rgba(255, 107, 31, 0.08);
  color: #ffb27f;
  font-size: 14px;
  font-weight: 500;
}
.kz-hero h1 {
  margin: 0;
  font-family: var(--kz-font-display);
  font-weight: 600;
  font-size: clamp(34px, 5.6cqi, 64px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.kz-hero__metal {
  background: var(--kz-grad-metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.kz-hero__lead {
  margin: 0;
  font-size: clamp(17px, 1.6cqi, 20px);
  line-height: 1.55;
  color: #c9c0b6;
  max-width: 52ch;
}
.kz-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.kz-hero__cta .kz-btn--primary {
  min-height: 56px;
  padding: 0 28px;
  font-size: 17px;
}
.kz-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--kz-secondary);
  font-size: 15px;
}
.kz-hero__meta span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.kz-concept-mock {
  position: relative;
  max-width: 520px;
  width: 100%;
  justify-self: center;
}
.kz-concept-mock__glow {
  position: absolute;
  inset: 8% -6% -10% 6%;
  background: radial-gradient(closest-side, rgba(255, 107, 31, 0.45), transparent);
  filter: blur(20px);
  z-index: -1;
}
.kz-concept-mock__card {
  background: linear-gradient(180deg, #1e1a18, #151210);
  border: 1px solid rgba(255, 138, 69, 0.35);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 200, 160, 0.12);
}
.kz-concept-mock__sample {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--kz-muted);
  text-transform: uppercase;
}

.kz-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(64px, 8cqi, 112px) 20px 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.kz-section__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--kz-fire-accent);
}
.kz-section h2 {
  margin: 0;
  font-family: var(--kz-font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.6cqi, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.kz-section__intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
}
.kz-prose {
  font-size: 16px;
  line-height: 1.55;
  color: var(--kz-secondary);
  max-width: 72ch;
}

.kz-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
}
.kz-step {
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(180deg, #1a1715, #141110);
  border: 1px solid #2a2522;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.kz-step--hot {
  border-color: rgba(255, 138, 69, 0.4);
  box-shadow: 0 0 48px -16px rgba(255, 107, 31, 0.5);
  background: linear-gradient(180deg, #221a14, #16110e);
}
.kz-step__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 107, 31, 0.1);
  border: 1px solid rgba(255, 138, 69, 0.3);
  color: var(--kz-fire-hover);
  display: flex;
  align-items: center;
  justify-content: center;
}
.kz-step__num {
  font-family: var(--kz-font-display);
  font-size: 28px;
  font-weight: 600;
  color: #36302b;
}
.kz-step h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.kz-apply-band {
  position: relative;
  isolation: isolate;
  margin-top: clamp(64px, 8cqi, 112px);
  border-top: 1px solid #221e1b;
  padding-bottom: clamp(56px, 7cqi, 96px);
}
.kz-apply-band__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(50% 60% at 15% 100%, rgba(255, 107, 31, 0.22), transparent 70%);
}
.kz-apply-band__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(56px, 7cqi, 96px) 20px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 48px;
  align-items: start;
}

body.kz-page-home .wrap.kz-site-main {
  max-width: none;
  padding: 0;
}
body.kz-page-home .kz-site-footer .wrap {
  max-width: 1200px;
}
