/* Лендинг «Собственная тема WordPress с нуля» */

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

:root {
  --bg-dark: #07091a;
  --bg-dark-2: #0b1026;
  --bg-navy: #101636;
  --bg-card-dark: #141b3d;
  --bg-light: #f7f8fc;
  --bg-white: #ffffff;
  --purple: #7c5cff;
  --purple-2: #9b7dff;
  --purple-deep: #5b3fe0;
  --cyan: #67e8f9;
  --blue: #60a5fa;
  --text: #ffffff;
  --text-muted: #b4bcd4;
  --text-soft: #8b93ad;
  --text-dark: #16192a;
  --text-body: #4a5168;
  --border: rgba(255, 255, 255, 0.1);
  --radius-card: 20px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --header-h: 76px;
  --container: 1160px;
  --shadow-card: 0 12px 40px rgba(24, 32, 80, 0.08);
  --shadow-btn: 0 10px 28px rgba(109, 74, 255, 0.42);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font);
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

ul {
  list-style: none;
}

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 1000;
  padding: 8px 14px;
  border-radius: 8px;
  background: #fff;
  color: #111;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 40px, 820px);
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #8f74ff 0%, #6d4aff 100%);
  box-shadow: var(--shadow-btn);
}

.btn--sm {
  min-height: 42px;
  padding: 0 22px;
  font-size: 14px;
}

.btn--lg {
  min-height: 54px;
  padding: 0 32px;
  font-size: 16px;
}

.btn--ghost {
  color: #e8eaf8;
  background: transparent;
  border: 1px solid rgba(196, 181, 253, 0.42);
  box-shadow: none;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  filter: none;
}

.section--cta .btn--ghost,
.section--light .btn--ghost {
  color: var(--purple-deep);
  border-color: rgba(124, 92, 255, 0.38);
}

.section--cta .btn--ghost:hover,
.section--light .btn--ghost:hover {
  background: rgba(124, 92, 255, 0.08);
}

.accent {
  background: linear-gradient(90deg, #c4b5fd 0%, #7dd3fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  margin-bottom: 10px;
  color: #5b7cff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
}

.eyebrow--light {
  color: #93c5fd;
}

.section {
  padding: 96px 0;
}

.section--light {
  background: var(--bg-white);
  color: var(--text-dark);
}

.section--dark {
  background:
    radial-gradient(circle at 12% 20%, rgba(109, 74, 255, 0.22), transparent 34%),
    radial-gradient(circle at 88% 80%, rgba(56, 189, 248, 0.12), transparent 32%),
    var(--bg-dark-2);
  color: var(--text);
}

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

.section__title {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-align: center;
}

.section__title--left {
  text-align: left;
}

.section__lead {
  max-width: 680px;
  margin: 0 auto 48px;
  color: var(--text-body);
  text-align: center;
}

.section__lead--light {
  color: var(--text-muted);
}

/* Шапка */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(7, 9, 26, 0.55);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
}

.header.is-scrolled {
  background: rgba(7, 9, 26, 0.92);
  border-bottom-color: var(--border);
}

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #fff;
}

.logo__icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  color: #c4b5fd;
}

.logo__icon svg {
  width: 34px;
  height: 34px;
}

.logo__text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  color: #d7dcef;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav__link:hover {
  color: #fff;
}

.nav__cta {
  display: none;
}

.burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  gap: 5px;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-open span:nth-child(2) {
  opacity: 0;
}

.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Первый экран */
.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 88px;
  color: #fff;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(124, 92, 255, 0.35), transparent 42%),
    radial-gradient(ellipse at 20% 80%, rgba(56, 189, 248, 0.12), transparent 36%),
    var(--bg-dark);
}

.hero__glow {
  pointer-events: none;
  position: absolute;
  inset: auto -10% -30% auto;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.28), transparent 62%);
  filter: blur(20px);
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.badge {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 14px;
  border-radius: 10px;
  background: rgba(147, 197, 253, 0.16);
  color: #bfdbfe;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__date {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #c7d2fe;
  font-size: 15px;
  font-weight: 600;
}

.hero__date svg {
  flex-shrink: 0;
  color: #93c5fd;
}

.hero__title {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.hero__lead {
  max-width: 560px;
  margin-bottom: 28px;
  color: var(--text-muted);
  font-size: 17px;
}

.hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 22px;
  margin-bottom: 32px;
}

.hero__features li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e5e7f5;
  font-size: 14px;
  font-weight: 500;
}

.hero__feature-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #c4b5fd;
}

.hero__feature-icon svg {
  width: 18px;
  height: 18px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero__note {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.35;
}

.hero__note-icon {
  flex: 0 0 36px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #93c5fd;
}

.hero__note-icon svg {
  width: 18px;
  height: 18px;
}

.hero__visual {
  position: relative;
  min-height: 500px;
}

.code-card {
  position: absolute;
  z-index: 3;
  width: 230px;
  padding: 10px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(18, 22, 48, 0.78);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  will-change: transform;
}

.code-card--php {
  top: 28px;
  left: 0;
  animation: float-php 5.5s cubic-bezier(0.37, 0, 0.63, 1) infinite;
}

.code-card--css {
  right: 18px;
  bottom: 72px;
  animation: float-css 6.8s cubic-bezier(0.37, 0, 0.63, 1) infinite;
}

.code-card__bar {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}

.code-card__bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f87171;
}

.code-card__bar span:nth-child(2) {
  background: #fbbf24;
}

.code-card__bar span:nth-child(3) {
  background: #34d399;
}

.code-card__bar b {
  margin-left: 6px;
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 600;
}

.code-card pre {
  overflow: hidden;
  color: #e2e8f0;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 10px;
  line-height: 1.5;
}

.tok-tag { color: #c4b5fd; }
.tok-attr { color: #7dd3fc; }
.tok-comm { color: #64748b; }
.tok-sel { color: #86efac; }
.tok-prop { color: #fda4af; }

.laptop {
  position: absolute;
  top: 78px;
  left: 50%;
  z-index: 2;
  width: 78%;
  transform: translateX(-50%);
}

.laptop__screen {
  padding: 12px 12px 18px;
  border: 1px solid #2a3160;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, #1b2148, #0f132c);
  box-shadow: 0 30px 60px rgba(76, 29, 149, 0.28);
}

.site-mock {
  display: grid;
  gap: 10px;
  min-height: 210px;
  padding: 14px;
  border-radius: 8px;
  background: linear-gradient(180deg, #312e81, #1e1b4b 40%, #0f172a);
}

.site-mock__nav,
.site-mock__hero,
.site-mock__cards span {
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
}

.site-mock__nav {
  height: 14px;
  width: 70%;
}

.site-mock__hero {
  height: 72px;
}

.site-mock__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.site-mock__cards span {
  height: 54px;
}

.laptop__base {
  height: 16px;
  margin: 0 auto;
  border-radius: 0 0 18px 18px;
  background: linear-gradient(180deg, #334155, #1e293b);
  width: 92%;
}

.wp-orb {
  position: absolute;
  right: 0;
  bottom: 24px;
  z-index: 4;
  width: 128px;
  will-change: transform, filter;
  animation: float-orb 7.4s cubic-bezier(0.37, 0, 0.63, 1) infinite;
}

@keyframes float-php {
  0%, 100% { transform: translate3d(0, 10px, 0); }
  50% { transform: translate3d(8px, -26px, 0); }
}

@keyframes float-css {
  0%, 100% { transform: translate3d(0, -8px, 0); }
  50% { transform: translate3d(-10px, 22px, 0); }
}

@keyframes float-orb {
  0%, 100% {
    transform: translate3d(0, 6px, 0) scale(1);
    filter: drop-shadow(0 0 18px rgba(124, 92, 255, 0.55));
  }
  50% {
    transform: translate3d(0, -16px, 0) scale(1.03);
    filter: drop-shadow(0 0 28px rgba(124, 92, 255, 0.9));
  }
}

/* Карточки шагов */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 28px 24px 22px;
  border: 1px solid #eef0f6;
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(24, 32, 80, 0.12);
}

.step-card h3 {
  margin: 16px 0 8px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.step-card p {
  color: var(--text-body);
  font-size: 15px;
}

.step-card__icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 16px;
  color: #fff;
}

.step-card__icon svg {
  width: 40px;
  height: 40px;
  max-width: none;
}

.step-card__icon--orange { background: linear-gradient(135deg, #fb923c, #f43f5e); }
.step-card__icon--violet { background: linear-gradient(135deg, #a78bfa, #6366f1); }
.step-card__icon--blue { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.step-card__icon--cyan { background: linear-gradient(135deg, #22d3ee, #0ea5e9); }
.step-card__icon--pink { background: linear-gradient(135deg, #f472b6, #a855f7); }
.step-card__icon--purple { background: linear-gradient(135deg, #8b5cf6, #4f46e5); }

.step-card__num {
  margin-top: auto;
  padding-top: 18px;
  color: #c7d2fe;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

/* Почему это важно */
.why__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 56px;
}

.why__visual {
  display: grid;
  min-height: 360px;
  place-items: center;
}

.gauge {
  position: relative;
  width: min(100%, 360px);
}

.gauge__svg {
  width: 100%;
  height: auto;
}

.gauge__chip {
  position: absolute;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(20, 27, 61, 0.9);
  color: #c4b5fd;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.gauge__chip svg {
  width: 22px;
  height: 22px;
}

.gauge__chip--code {
  top: 18px;
  left: 18px;
  color: #67e8f9;
  font-family: ui-monospace, monospace;
  font-size: 13px;
  font-weight: 700;
}

.gauge__chip--lock {
  top: 8px;
  right: 28px;
}

.gauge__chip--shield {
  right: 0;
  bottom: 54px;
  color: #86efac;
}

.why__copy p {
  margin-bottom: 22px;
  color: var(--text-muted);
}

.check-list {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: #e5e7f5;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 12.5l4 4 8-9' stroke='%2367e8f9' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 14px no-repeat,
    rgba(103, 232, 249, 0.14);
}

.why__summary {
  padding: 16px 18px;
  border-left: 3px solid var(--purple);
  background: rgba(124, 92, 255, 0.12);
  color: #fff !important;
  font-weight: 600;
}

/* Что вы получите */
.benefits {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.benefit-card {
  padding: 24px 16px 22px;
  border: 1px solid #eef0f6;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform 0.2s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
}

.benefit-card h3 {
  margin: 14px 0 8px;
  font-size: 16px;
}

.benefit-card p {
  color: var(--text-body);
  font-size: 13px;
  line-height: 1.5;
}

.benefit-card__icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 0 auto;
  place-items: center;
  border-radius: 16px;
  color: #fff;
}

.benefit-card__icon svg {
  width: 36px;
  height: 36px;
  max-width: none;
}

.benefit-card__icon--violet { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.benefit-card__icon--cyan { background: linear-gradient(135deg, #22d3ee, #06b6d4); }
.benefit-card__icon--blue { background: linear-gradient(135deg, #60a5fa, #3b82f6); }
.benefit-card__icon--orange { background: linear-gradient(135deg, #fb923c, #f59e0b); }
.benefit-card__icon--pink { background: linear-gradient(135deg, #f472b6, #ec4899); }
.benefit-card__icon--green { background: linear-gradient(135deg, #34d399, #10b981); }

/* Аудитория */
.audience__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.person-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: var(--bg-card-dark);
}

.person-card__art {
  display: grid;
  height: 168px;
  place-items: center;
}

.person-card__art svg {
  width: 100%;
  height: 100%;
}

.person-card__art--blue { background: linear-gradient(180deg, #1d4ed8, #172554); }
.person-card__art--orange { background: linear-gradient(180deg, #ea580c, #431407); }
.person-card__art--teal { background: linear-gradient(180deg, #0f766e, #042f2e); }
.person-card__art--purple { background: linear-gradient(180deg, #7c3aed, #2e1065); }

.person-card__body {
  padding: 22px 24px 26px;
  background: #0f1533;
}

.person-card h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.person-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Баннер призыва */
.cta-banner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 24px;
  padding: 28px 40px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 80%, rgba(124, 92, 255, 0.12), transparent 36%),
    #fff;
  box-shadow: var(--shadow-card);
}

.cta-banner__art {
  max-width: 320px;
}

.cta-banner__kicker {
  margin-bottom: 8px;
  color: var(--purple);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cta-banner h2 {
  margin-bottom: 12px;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.03em;
}

.cta-banner p {
  margin-bottom: 22px;
  color: var(--text-body);
}

.cta-banner__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-banner__note {
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 14px;
}

/* FAQ */
.faq__list {
  margin-top: 36px;
  border-top: 1px solid #e8ebf3;
}

.faq-item {
  border-bottom: 1px solid #e8ebf3;
}

.faq-item__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 4px;
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 650;
  text-align: left;
}

.faq-item__btn::after {
  content: "+";
  flex: 0 0 28px;
  color: var(--purple);
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  transition: transform 0.3s ease;
}

.faq-item.is-open .faq-item__btn::after {
  transform: rotate(45deg);
}

.faq-item__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq-item.is-open .faq-item__panel {
  grid-template-rows: 1fr;
}

.faq-item__body {
  overflow: hidden;
  padding: 0 4px;
  color: var(--text-body);
}

.faq-item.is-open .faq-item__body {
  padding-bottom: 22px;
}

.faq-item__body p + p {
  margin-top: 12px;
}

.faq-item__body .btn {
  margin-top: 14px;
}

@media (prefers-reduced-motion: reduce) {
  .faq-item__panel,
  .faq-item__btn::after {
    transition: none;
  }
}

/* Подвал */
.footer {
  padding: 56px 0 28px;
  color: var(--text-muted);
  background: var(--bg-dark);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.footer__brand p {
  max-width: 320px;
  margin-top: 14px;
}

.footer__label {
  margin-bottom: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.footer__nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer__nav a:hover,
.footer__legal a:hover {
  color: #fff;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  line-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: #fff;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.socials a:hover {
  background: rgba(124, 92, 255, 0.2);
  border-color: var(--purple);
}

.socials svg {
  display: block;
  width: 18px;
  height: 18px;
  max-width: none;
  flex-shrink: 0;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  font-size: 13px;
}

.footer__meta {
  display: grid;
  gap: 4px;
}

.footer__ogrn {
  color: var(--text-soft);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

/* Появление при прокрутке */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .code-card,
  .wp-orb,
  .btn {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}

/* Планшеты */
@media (max-width: 1100px) {
  .benefits {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero__title {
    font-size: 40px;
  }

  .nav__list {
    gap: 18px;
  }
}

@media (max-width: 960px) {
  .header__inner {
    grid-template-columns: 1fr auto;
  }

  .header__cta {
    display: none;
  }

  .burger {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    z-index: 40;
    display: none;
    flex-direction: column;
    padding: 20px 20px 28px;
    background: rgba(7, 9, 26, 0.97);
    border-bottom: 1px solid var(--border);
  }

  .nav.is-open {
    display: flex;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
  }

  .nav__link {
    display: block;
    padding: 12px 4px;
    font-size: 16px;
  }

  .nav__cta {
    display: inline-flex;
    margin-top: 12px;
    width: fit-content;
  }

  body.is-menu-open {
    overflow: hidden;
  }

  .hero__grid,
  .why__grid,
  .cta-banner {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 380px;
    order: -1;
  }

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

  .section__title--left {
    text-align: center;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 32px, var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 28px 0 64px;
  }

  .hero__visual {
    min-height: 300px;
  }

  .code-card {
    width: 170px;
  }

  .wp-orb {
    width: 88px;
  }

  .steps,
  .benefits,
  .audience__grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    padding: 24px 20px;
    text-align: center;
  }

  .cta-banner__art {
    margin: 0 auto;
  }

  .logo__text {
    font-size: 11px;
  }

  .footer__bottom {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 30px;
  }

  .hero__features {
    flex-direction: column;
  }

  .code-card--css {
    display: none;
  }
}
