/* ============================================================
   direct — landing styles
   Inherits base from /aiperfomance/neuroseo-v3/styles.css
   ============================================================ */

/* ---------- section base ---------- */
.dx-section { padding-block: clamp(80px, 10vw, 140px); }
.dx-section__head { max-width: 760px; margin: 0 auto clamp(36px, 4vw, 52px); text-align: center; }
.dx-section__h2 {
  font-size: clamp(32px, 5vw, 42px);
  line-height: 1.04;
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
}
.dx-section__sub {
  margin: 18px 0 0;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.4;
  color: var(--ink-2);
  text-wrap: pretty;
}
.dx-section__sub strong { color: var(--ink); font-weight: 500; }

/* ============================================================
   1. HERO — parallax scene (text left, illustration right)
   ============================================================ */
.dx-hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding-block: clamp(42px, 9vw, 60px);
}
.dx-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.dx-hero__text { position: relative; z-index: 2; }
.dx-hero__illu {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 640px;
  margin: 0 auto 40px 0;
}
.dx-scene {
  position: absolute;
  inset: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}
.dx-layer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.dx-pos {
  position: absolute;
  display: block;
}
.dx-pos img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* white pixels of the WebP blend into white page background → looks transparent */
  mix-blend-mode: multiply;
}
/* layered around the laptop on the same "desk" plane */
.dx-pos--laptop {
  top: 18%;
  left: 12%;
  width: 78%;
  height: 70%;
}
.dx-pos--yandex {
  top: 17%;
  left: 42%;
  width: 41%;
  height: 41%;
}
.dx-pos--trail {
  top: 12%;
  left: 14%;
  width: 60%;
  height: 70%;
  pointer-events: none;
}
.dx-pos--chart {
  bottom: 42%;
  left: 15%;
  width: 29%;
  height: 29%;
}
.dx-pos--money {
  bottom: 12%;
  right: 7%;
  width: 28%;
  height: 28%;
}
.dx-pos--phone {
  bottom: 8%;
  left: 26%;
  width: 22%;
  height: 22%;
}
.dx-hero__h1 {
  font-size: clamp(30px, 4.4vw, 42px);
  line-height: 1.06;
  font-weight: 600;
  text-wrap: balance;
}
.dx-hero__h1 em {
  font-style: normal;
  color: var(--accent);
  font-weight: 700;
  position: relative;
  white-space: nowrap;
}
.dx-hero__h1 em::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px;
  bottom: 6px;
  height: 14px;
  background: rgba(255,90,31,.18);
  border-radius: 6px;
  z-index: -1;
}
.dx-hero__lead {
  margin: 26px 0 0;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 580px;
}
.dx-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.dx-hero__meta {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(20px, 4vw, 48px);
  margin-top: 44px;
  max-width: 580px;
}
.dx-hero__meta b {
  display: block;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
}
.dx-hero__meta span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.3;
}
@media (max-width: 960px) {
  .dx-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .dx-hero__illu { max-width: 480px; }
  .dx-hero__meta { grid-template-columns: 1fr 1fr; gap: 18px; }
}
@media (max-width: 520px) {
  .dx-hero__meta { grid-template-columns: 1fr; }
  .dx-formula__row {
    gap: 0;
  }
}

/* ============================================================
   2. GUARANTEE
   ============================================================ */
.dx-guarantee { background: #fff; }
.dx-guarantee__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.dx-guarantee__copy h2 { text-align: left; }
.dx-guarantee__copy .dx-section__sub { margin-top: 18px; text-align: left; }

.dx-mechanic { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 22px; }
.dx-mechanic li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
}
.dx-mechanic__num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid; place-items: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.01em;
  box-shadow: 0 14px 24px -12px rgba(255,90,31,.5);
}
.dx-mechanic h3 {
  margin: 4px 0 6px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
}
.dx-mechanic p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.5;
}

.dx-conds {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  gap: 12px;
}
.dx-conds li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--ink);
}
.dx-conds__check {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
  margin-top: 1px;
}
.dx-conds__check::after {
  content: "";
  position: absolute;
  left: 6px; top: 5px;
  width: 5px; height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.dx-conds b { font-weight: 700; }

.dx-guarantee__visual {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 22px;
}
.dx-formula {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 32px);
  background: #fff;
}
.dx-formula__tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}
.dx-formula__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1.2fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.dx-formula__var {
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 18px 12px;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.25;
  color: var(--ink);
  background: #fff;
}
.dx-formula__var sub {
  font-size: 10px;
  color: var(--accent);
  vertical-align: baseline;
  margin-left: 1px;
}
.dx-formula__var--out {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.dx-formula__op {
  font-weight: 700;
  font-size: 22px;
  color: var(--ink-3);
  text-align: center;
}
.dx-formula__example {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.dx-formula__example > div {
  padding: 10px 12px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
}
.dx-formula__example small {
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: block;
}
.dx-formula__example b {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  white-space: nowrap;
}
.dx-formula__example-out { background: rgba(255,90,31,.08); border-color: rgba(255,90,31,.25) !important; }
.dx-formula__example-out b { color: var(--accent); }
.dx-formula__note {
  margin: 0;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
}
.dx-guarantee__illu {
  display: block;
  width: 100%;
  border-radius: var(--r-lg);
  background: #fff;
}

@media (max-width: 960px) {
  .dx-guarantee__grid { grid-template-columns: 1fr; }
  .dx-guarantee__visual { position: static; }
}
@media (max-width: 520px) {
  .dx-formula__row { grid-template-columns: 1fr; }
  .dx-formula__op { font-size: 16px; padding: 4px 0; }
  .dx-formula__example { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   3. PROCESS — sticky scrollytelling
   ============================================================ */
.dx-scrolly { background: #fff; }
.dx-scrolly__grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.dx-scrolly__sticky {
  position: sticky;
  top: 96px;
  align-self: start;
}
.dx-scrolly__visual {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
}
.dx-scrolly__layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .4s cubic-bezier(.22, .85, .3, 1);
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 56px);
}
.dx-scrolly__layer.is-on { opacity: 1; }
.dx-scrolly__layer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.dx-scrolly__cur {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.dx-scrolly__n {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -.01em;
}
.dx-scrolly__t {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -.01em;
  color: var(--ink);
}
.dx-scrolly__steps {
  display: grid;
  gap: 14px;
}
.dx-scrolly__step {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  padding: clamp(24px, 3vw, 38px);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: .5;
  transition: opacity .35s, border-color .35s, box-shadow .35s;
}
.dx-scrolly__step.is-active {
  opacity: 1;
  border-color: rgba(255, 90, 31, .35);
  box-shadow: 0 24px 40px -28px rgba(255, 90, 31, .35);
}
.dx-scrolly__kick {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 12px;
}
.dx-scrolly__step h3 {
  margin: 0 0 10px;
  font-size: clamp(21px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
  line-height: 1.18;
}
.dx-scrolly__step p {
  margin: 0;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .dx-scrolly__grid { grid-template-columns: 1fr; }
  .dx-scrolly__sticky { position: static; order: -1; }
}

.dx-process { background: linear-gradient(180deg, #fff, #fffaf6); }
.dx-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: step;
}
.dx-steps__item {
  padding: 26px 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
}
.dx-steps__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 40px -22px rgba(20,18,12,.24);
  border-color: var(--accent);
}
.dx-steps__num {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: 14px;
}
.dx-steps__item h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
  line-height: 1.2;
}
.dx-steps__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}
@media (max-width: 1100px) {
  .dx-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .dx-steps { grid-template-columns: 1fr; }
  .brand__tag {
    display: none;
  }
}

@media (max-width: 660px) {
  .header__contacts {
    display: none;
  }
}

/* ============================================================
   4. FAQ
   ============================================================ */
.dx-faq { background: #fff; }
.dx-faq__list {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.dx-faq__item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.dx-faq__item[open] {
  border-color: var(--accent);
  box-shadow: 0 18px 32px -22px rgba(255,90,31,.32);
}
.dx-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  letter-spacing: -.005em;
}
.dx-faq__item summary::-webkit-details-marker { display: none; }
.dx-faq__item summary::after {
  content: "+";
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--line-2);
  color: var(--ink);
  display: grid; place-items: center;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  transition: background .2s, color .2s;
}
.dx-faq__item[open] summary::after {
  content: "−";
  background: var(--accent);
  color: #fff;
}
.dx-faq__item p {
  margin: 0;
  padding: 0 22px 22px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-2);
}

/* ============================================================
   5. FINAL CTA
   ============================================================ */
.dx-cta { background: linear-gradient(180deg, #fffaf6, #fff); }
.dx-cta__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}
.dx-cta__copy h2 { text-align: left; }
.dx-cta__copy .dx-section__sub { margin-top: 18px; text-align: left; max-width: 540px; }
.dx-cta__copy .btn { margin-top: 30px; }
.dx-cta__chips {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.dx-cta__chips li {
  font-size: 13px;
  color: var(--ink);
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.dx-cta__visual img {
  display: block;
  width: 100%;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-2);
  background: #fff;
}
@media (max-width: 960px) {
  .dx-cta__grid { grid-template-columns: 1fr; }
  .dx-hero__illu {
    margin: 0 0 -60px -20px;
  }
}
