/*
 * ДАТА СТАРТА landing (site mode «Лендинг»). Loaded only in landing mode.
 * Same family as the theme — Manrope, radius, button shape, palette tokens —
 * but a bolder layout: dark hero with a data-flow diagram, bento services,
 * before/after with a Telegram example, timeline, final gradient panel.
 * Every colour comes from the theme palette (no literals), so the landing
 * follows whichever style variation the site uses.
 */

.ec-mode-landing {
  --dl-ink: var(--ec-ink);
  --dl-accent: var(--ec-sage);
  --dl-accent-soft: var(--ec-sage-3);
  --dl-surface: var(--ec-soft);
  --dl-line: color-mix(in srgb, var(--ec-ink) 10%, transparent);
  --dl-dark-line: color-mix(in srgb, var(--wp--preset--color--white) 14%, transparent);
  --dl-on-dark: var(--wp--preset--color--white);
  --dl-on-dark-2: color-mix(in srgb, var(--wp--preset--color--white) 78%, var(--ec-ink));
  --dl-radius: 20px;
  --dl-shell: 1180px;
  background: var(--wp--preset--color--white);
}

.dl-landing {
  overflow-x: clip;
  color: var(--ec-text);
}

.dl-landing :where(h1, h2, h3, p, ul, figure) {
  margin: 0;
}

.dl-landing .wp-block-group,
.dl-landing .wp-block-buttons {
  margin-block: 0;
}

/* WordPress adds a 24px block gap above the post content: the hero must sit
   right under the header. */
.ec-mode-landing .wp-site-blocks > .wp-block-post-content {
  margin-block-start: 0;
}

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

.dl-section {
  padding-block: clamp(72px, 9vw, 128px);
}

.ec-mode-landing section[id],
.dl-landing [id] {
  scroll-margin-top: 88px;
}

/* ---------- header on the landing: dark, sticky, translucent ---------- */
.ec-mode-landing .ec-header--landing {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--ec-ink) 90%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--dl-dark-line);
  color: var(--dl-on-dark);
}

.ec-mode-landing .ec-header--landing .ec-header__inner {
  height: 72px;
}

/* The landing's ДАТА СТАРТА fallback logo is a wide mark+wordmark lockup
   (assets/images/logo-horizontal-datastarta.svg, 320x90), unlike the square
   СФО mark the rest of the theme falls back to — style.css's base .ec-logo
   is sized for that square mark, so the landing header and footer restore
   the wide box here. */
.ec-mode-landing .ec-header--landing .ec-logo,
.ec-mode-landing .ec-footer--landing .ec-logo {
  width: clamp(128px, 13vw, 156px);
  aspect-ratio: 320 / 90;
  min-height: 44px; /* the 320:90 ratio alone gives 36-43.9px — under the 44px tap-target floor */
  padding: 6px 10px;
  border-radius: 10px;
  background: var(--ec-paper);
}

.ec-mode-landing .ec-header--landing .ec-nav {
  gap: clamp(20px, 2.6vw, 38px);
  font-size: 14px;
}

.ec-mode-landing .ec-header--landing .ec-nav a {
  color: var(--dl-on-dark-2);
}

.ec-mode-landing .ec-header--landing .ec-nav a:hover,
.ec-mode-landing .ec-header--landing .ec-nav a:focus-visible {
  color: var(--dl-on-dark);
}

.ec-mode-landing .ec-header--landing .ec-nav a:hover::after {
  background: var(--dl-accent-soft);
}

.ec-mode-landing .ec-header--landing .ec-mobile-nav summary {
  border-color: var(--dl-dark-line);
  color: var(--dl-on-dark);
}

/* ---------- buttons ---------- */
.dl-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
}

.dl-landing .dl-btn .wp-block-button__link {
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.dl-landing .dl-btn--primary .wp-block-button__link {
  background: var(--dl-on-dark);
  color: var(--dl-ink);
  box-shadow: 0 14px 34px color-mix(in srgb, var(--dl-accent) 38%, transparent);
}

.dl-landing .dl-btn--primary .wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px color-mix(in srgb, var(--dl-accent) 48%, transparent);
}

.dl-landing .dl-btn--ghost .wp-block-button__link {
  background: transparent;
  color: var(--dl-on-dark);
  padding-inline: 4px;
  box-shadow: inset 0 -2px 0 var(--dl-accent-soft);
  border-radius: 0;
  min-height: 0;
  padding-block: 6px;
}

.dl-landing .wp-block-button__link:focus-visible,
.ec-mode-landing .ec-header--landing a:focus-visible,
.dl-faq__item summary:focus-visible {
  outline: 3px solid var(--dl-accent-soft);
  outline-offset: 3px;
}

/* ---------- hero ---------- */
.dl-hero {
  position: relative;
  isolation: isolate;
  color: var(--dl-on-dark);
  background:
    radial-gradient(60% 70% at 78% 30%, color-mix(in srgb, var(--dl-accent) 55%, transparent) 0%, transparent 70%),
    radial-gradient(40% 50% at 10% 100%, color-mix(in srgb, var(--dl-accent) 30%, transparent) 0%, transparent 70%),
    linear-gradient(160deg, var(--dl-ink) 0%, color-mix(in srgb, var(--dl-ink) 82%, var(--dl-accent)) 100%);
  padding-block: clamp(56px, 8vw, 112px) clamp(64px, 9vw, 120px);
}

.dl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--dl-dark-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--dl-dark-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 80% at 60% 40%, var(--dl-ink) 0%, transparent 75%);
  mask-image: radial-gradient(70% 80% at 60% 40%, var(--dl-ink) 0%, transparent 75%);
  opacity: 0.5;
}

.dl-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.dl-hero__copy {
  display: grid;
  gap: 24px;
}

.dl-eyebrow {
  justify-self: start;
  padding: 7px 14px;
  border: 1px solid var(--dl-dark-line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--wp--preset--color--white) 6%, transparent);
  color: var(--dl-accent-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.dl-landing .dl-hero__title {
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--dl-on-dark);
  text-wrap: balance;
}

.dl-lead {
  max-width: 34em;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.55;
  color: var(--dl-on-dark-2);
}

.dl-note {
  font-size: 14px;
  color: var(--dl-on-dark-2);
}

/* data-flow diagram */
.dl-flow {
  position: relative;
  padding: clamp(14px, 2vw, 24px);
  border: 1px solid var(--dl-dark-line);
  border-radius: 28px;
  background: color-mix(in srgb, var(--wp--preset--color--white) 5%, transparent);
  box-shadow: 0 30px 80px color-mix(in srgb, var(--dl-ink) 55%, transparent);
}

.dl-flow svg {
  display: block;
  width: 100%;
  height: auto;
  font-family: var(--ec-font);
  font-weight: 700;
  font-size: 14px;
  text-anchor: middle;
}

.dl-flow text {
  fill: var(--dl-on-dark);
}

.dl-flow__src rect,
.dl-flow__out rect {
  fill: color-mix(in srgb, var(--wp--preset--color--white) 8%, transparent);
  stroke: var(--dl-dark-line);
}

.dl-flow__hub rect {
  fill: var(--dl-accent);
  stroke: var(--dl-accent-soft);
  stroke-width: 1.5;
}

.dl-flow__tick {
  fill: none;
  stroke: var(--dl-on-dark);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dl-flow__tg rect {
  fill: var(--dl-on-dark);
}

.dl-flow__tg text {
  fill: var(--dl-ink);
}

.dl-flow__links path,
.dl-flow__down {
  fill: none;
  stroke: var(--dl-accent-soft);
  stroke-width: 2;
  stroke-dasharray: 6 8;
  opacity: 0.85;
}

@media (prefers-reduced-motion: no-preference) {
  .dl-flow__links path,
  .dl-flow__down {
    animation: dl-flow 1.6s linear infinite;
  }

  .dl-flow__hub rect {
    animation: dl-pulse 3.2s ease-in-out infinite;
  }
}

@keyframes dl-flow {
  to {
    stroke-dashoffset: -28;
  }
}

@keyframes dl-pulse {
  50% {
    stroke-width: 6;
    stroke-opacity: 0.5;
  }
}

/* ---------- facts strip ---------- */
.dl-facts {
  position: relative;
  z-index: 1;
  margin-top: -44px;
}

.dl-facts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: var(--dl-radius);
  background: var(--wp--preset--color--white);
  box-shadow: 0 24px 60px color-mix(in srgb, var(--dl-ink) 14%, transparent);
  border: 1px solid var(--dl-line);
  overflow: hidden;
}

.dl-fact {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 26px 28px;
}

.dl-fact + .dl-fact {
  border-left: 1px solid var(--dl-line);
}

.dl-landing .dl-fact__num {
  font-size: clamp(44px, 5vw, 60px);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--ec-accent-text);
}

.dl-fact__text {
  font-size: 15px;
  line-height: 1.45;
  color: var(--ec-text);
}

/* ---------- section heads ---------- */
.dl-landing .dl-head {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.dl-kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ec-accent-text);
}

.dl-landing .dl-head h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--dl-ink);
  text-wrap: balance;
}

.dl-muted {
  color: var(--ec-text-subtle);
}

/* ---------- icons ---------- */
.dl-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--dl-accent) 12%, var(--wp--preset--color--white));
  color: var(--ec-accent-text);
}

.dl-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- services bento ---------- */
.dl-bento {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.dl-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--dl-line);
  border-radius: var(--dl-radius);
  background: var(--wp--preset--color--white);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dl-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px color-mix(in srgb, var(--dl-ink) 10%, transparent);
}

.dl-card--tall {
  grid-row: span 2;
}

.dl-card__tag {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ec-accent-text);
}

.dl-landing .dl-card h3 {
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.15;
  color: var(--dl-ink);
}

.dl-card p {
  line-height: 1.55;
}

.dl-card--dark {
  color: var(--dl-on-dark-2);
  border-color: transparent;
  background:
    radial-gradient(80% 60% at 100% 0%, color-mix(in srgb, var(--dl-accent) 45%, transparent) 0%, transparent 70%),
    var(--dl-ink);
}

.dl-landing .dl-card--dark h3,
.dl-card--dark .dl-card__tag {
  color: var(--dl-on-dark);
}

.dl-card--dark .dl-icon {
  background: color-mix(in srgb, var(--wp--preset--color--white) 10%, transparent);
  color: var(--dl-accent-soft);
}

.dl-card--accent {
  background: color-mix(in srgb, var(--dl-accent) 7%, var(--wp--preset--color--white));
  border-color: color-mix(in srgb, var(--dl-accent) 22%, transparent);
}

.dl-checks {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.dl-checks li {
  position: relative;
  padding-left: 30px;
  line-height: 1.45;
}

.dl-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--dl-accent);
  -webkit-mask: radial-gradient(circle, var(--dl-ink) 64%, transparent 66%);
  mask: radial-gradient(circle, var(--dl-ink) 64%, transparent 66%);
}

.dl-checks li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 7px;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--wp--preset--color--white);
  border-bottom: 2px solid var(--wp--preset--color--white);
  transform: rotate(-45deg);
}

.dl-card--dark .dl-checks li::before {
  background: var(--dl-accent-soft);
}

.dl-card--dark .dl-checks li::after {
  border-color: var(--dl-ink);
}

/* sample reconciliation inside the data card */
.dl-card--dark {
  grid-template-rows: auto auto auto auto auto 1fr;
  align-content: stretch;
}

.dl-recon {
  align-self: end;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid var(--dl-dark-line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--wp--preset--color--white) 6%, transparent);
}

.dl-recon figcaption {
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--dl-on-dark-2);
}

.dl-recon ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dl-recon li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--wp--preset--color--white) 7%, transparent);
  color: var(--dl-on-dark);
  font-size: 14px;
}

.dl-recon b {
  flex: none;
  font-weight: 800;
  color: var(--dl-accent-soft);
}

.dl-recon li.is-warn b {
  color: var(--dl-on-dark);
  padding: 0 8px;
  border-radius: 999px;
  background: var(--ec-risk);
}

/* ---------- results ---------- */
.dl-results {
  background: var(--dl-surface);
}

.dl-results__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.dl-compare {
  display: grid;
  gap: 12px;
}

.dl-compare__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--dl-line);
  border-radius: 16px;
  background: var(--wp--preset--color--white);
  overflow: hidden;
}

.dl-compare__row > p {
  padding: 18px 20px;
  line-height: 1.45;
}

.dl-compare__before {
  color: var(--ec-text-subtle);
}

.dl-compare__after {
  position: relative;
  font-weight: 700;
  color: var(--dl-ink);
  background: color-mix(in srgb, var(--dl-accent) 8%, var(--wp--preset--color--white));
}

.dl-compare__label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ec-text-subtle);
}

.dl-compare__after .dl-compare__label {
  color: var(--ec-accent-text);
}

/* Telegram example */
.dl-chat {
  position: sticky;
  top: 104px;
  border-radius: 24px;
  padding: 18px;
  background: var(--dl-ink);
  color: var(--dl-on-dark);
  box-shadow: 0 30px 70px color-mix(in srgb, var(--dl-ink) 28%, transparent);
}

.dl-chat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 4px 14px;
  border-bottom: 1px solid var(--dl-dark-line);
}

.dl-chat__head small {
  display: block;
  font-size: 12px;
  color: var(--dl-on-dark-2);
}

.dl-chat__avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dl-accent);
  font-weight: 800;
  font-size: 14px;
}

.dl-chat__msg {
  margin-top: 16px;
  padding: 16px;
  border-radius: 16px 16px 16px 4px;
  background: color-mix(in srgb, var(--wp--preset--color--white) 9%, transparent);
}

.dl-chat__title {
  font-weight: 800;
  margin-bottom: 12px;
}

.dl-kpis {
  display: grid;
  gap: 10px;
  margin: 0 0 14px;
}

.dl-kpis div {
  display: grid;
  gap: 2px;
}

.dl-kpis dt {
  font-size: 13px;
  color: var(--dl-on-dark-2);
}

.dl-kpis dd {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.dl-up,
.dl-down {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 13px;
  vertical-align: 2px;
}

.dl-up {
  background: color-mix(in srgb, var(--dl-accent-soft) 26%, transparent);
  color: var(--dl-on-dark);
}

.dl-down {
  background: var(--ec-risk);
  color: var(--dl-on-dark);
}

.dl-chat__alert {
  padding-top: 12px;
  border-top: 1px solid var(--dl-dark-line);
  line-height: 1.45;
}

.dl-chat__link {
  font-weight: 800;
  color: var(--dl-accent-soft);
}

.dl-chat figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--dl-on-dark-2);
  text-align: center;
}

.dl-landing .dl-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(32px, 4vw, 48px);
}

.dl-principle {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 26px;
  border-radius: var(--dl-radius);
  background: var(--wp--preset--color--white);
  border: 1px solid var(--dl-line);
}

.dl-landing .dl-principle h3,
.dl-landing .dl-aud h3,
.dl-landing .dl-step h3 {
  font-size: 20px;
  line-height: 1.2;
  color: var(--dl-ink);
}

.dl-principle p,
.dl-aud p,
.dl-step p {
  line-height: 1.55;
  color: var(--ec-text);
}

/* ---------- process timeline ---------- */
.dl-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.dl-steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 28px;
  right: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--dl-accent), var(--dl-accent-soft));
}

.dl-step {
  position: relative;
  display: grid;
  gap: 12px;
  align-content: start;
}

.dl-landing .dl-step__num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--dl-accent);
  color: var(--dl-on-dark);
  font-weight: 800;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 8px var(--wp--preset--color--white);
}

/* ---------- audience ---------- */
.dl-audience {
  padding-top: 0;
}

.dl-audience__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.dl-aud {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 28px;
  border-radius: var(--dl-radius);
  border: 1px solid var(--dl-line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--dl-accent) 6%, var(--wp--preset--color--white)), var(--wp--preset--color--white) 60%);
}

/* ---------- FAQ ---------- */
.dl-faq {
  background: var(--dl-surface);
}

.dl-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.dl-faq__head {
  position: sticky;
  top: 104px;
}

.dl-faq__list {
  display: grid;
  gap: 12px;
}

.dl-faq__item {
  border: 1px solid var(--dl-line);
  border-radius: 16px;
  background: var(--wp--preset--color--white);
  padding: 0;
}

.dl-faq__item summary {
  position: relative;
  padding: 20px 56px 20px 22px;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.35;
  color: var(--dl-ink);
  cursor: pointer;
  list-style: none;
  border-radius: 16px;
}

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

.dl-faq__item summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -8px;
  border-right: 2px solid var(--ec-accent-text);
  border-bottom: 2px solid var(--ec-accent-text);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.dl-faq__item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: -2px;
}

.dl-faq__item p {
  padding: 0 22px 20px;
  line-height: 1.6;
  color: var(--ec-text);
}

/* ---------- final CTA ---------- */
.dl-final {
  padding-block: clamp(72px, 9vw, 120px);
}

.dl-final__panel {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 64px);
  border-radius: 32px;
  text-align: center;
  color: var(--dl-on-dark);
  background:
    radial-gradient(50% 80% at 50% 0%, color-mix(in srgb, var(--dl-accent-soft) 40%, transparent) 0%, transparent 70%),
    linear-gradient(135deg, var(--dl-accent), color-mix(in srgb, var(--dl-accent) 45%, var(--dl-ink)));
}

.dl-landing .dl-final__panel h2 {
  max-width: 18em;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.08;
  color: var(--dl-on-dark);
  text-wrap: balance;
}

.dl-final__panel p {
  max-width: 36em;
  font-size: 18px;
  line-height: 1.55;
  color: var(--dl-on-dark);
}

.dl-final__panel .dl-actions {
  justify-content: center;
}

/* footer tweaks on the landing */
.ec-footer--landing .ec-footer__inner {
  grid-template-columns: 2fr 1fr 1fr;
}

/* ---------- scroll reveal (only after landing-motion.js opts in) ---------- */
.dl-motion .dl-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.dl-motion .dl-reveal.is-in {
  opacity: 1;
  transform: none;
}

.dl-motion .dl-stagger > .dl-reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.dl-motion .dl-stagger > .dl-reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.dl-motion .dl-stagger > .dl-reveal:nth-child(4) {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  .dl-motion .dl-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .dl-card,
  .dl-landing .dl-btn .wp-block-button__link {
    transition: none;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .dl-hero__grid,
  .dl-results__grid,
  .dl-faq__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dl-hero__visual {
    max-width: 560px;
  }

  .dl-chat,
  .dl-faq__head {
    position: static;
  }

  .dl-results__mock {
    max-width: 440px;
  }

  .dl-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 36px;
  }

  .dl-steps::before {
    display: none;
  }

  .dl-fact {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 8px;
  }
}

@media (max-width: 760px) {
  .dl-shell {
    width: calc(100% - 32px);
  }

  .dl-facts {
    margin-top: -28px;
  }

  .dl-facts__grid,
  .dl-bento,
  .dl-landing .dl-principles,
  .dl-audience__grid,
  .dl-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .dl-fact + .dl-fact {
    border-left: 0;
    border-top: 1px solid var(--dl-line);
  }

  .dl-fact {
    padding: 20px 22px;
  }

  .dl-card--tall {
    grid-row: auto;
  }

  .dl-compare__row {
    grid-template-columns: minmax(0, 1fr);
  }

  .dl-landing .dl-btn .wp-block-button__link {
    width: 100%;
    justify-content: center;
  }

  .dl-hero .dl-actions .wp-block-button {
    width: 100%;
  }

  .dl-hero .dl-actions .dl-btn--ghost {
    width: auto;
  }

  .ec-footer--landing .ec-footer__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}
