.hero {
  padding-top: 110px;
  padding-bottom: clamp(24px, 3vw, 48px);
  overflow: hidden;
}


.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  align-items: center;
}

.hero h1 {
  max-width: 740px;
  margin: 0 0 26px;
}

.hero h1 span {
  color: var(--lime);
}

.hero__lead {
  max-width: 370px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1rem;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero__facts li {
  color: var(--muted);
  font-size: 0.66rem;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero__facts li::before {
  margin-right: 7px;
  color: var(--lime);
  content: "•";
}

.hero-art {
  position: relative;
  min-height: 540px;
  margin: -80px -60px -20px 0;
  overflow: hidden;
}

.hero-art__glow {
  position: absolute;
  top: 19%;
  left: 21%;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(198, 255, 46, 0.38),
    transparent 68%
  );
  filter: blur(12px);
}

.hero-art__shape {
  position: absolute;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08),
    rgba(198, 255, 46, 0.75),
    rgba(10, 12, 12, 0.2)
  );
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.hero-art__shape--one {
  top: 0;
  left: 12%;
  width: 440px;
  height: 510px;
  transform: rotate(19deg);
}

.hero-art__shape--two {
  top: 35%;
  left: 25%;
  width: 290px;
  height: 340px;
  background: linear-gradient(
    45deg,
    #080909,
    rgba(198, 255, 46, 0.85)
  );
  transform: rotate(-33deg);
}

.hero-art__shape--three {
  top: 6%;
  right: 4%;
  width: 250px;
  height: 410px;
  background: linear-gradient(
    160deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35)
  );
  transform: rotate(42deg);
}

.hero-art p {
  position: absolute;
  top: 23%;
  right: 7%;
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.9;
  transform: rotate(-8deg);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.62fr);
  align-items: end;
  gap: 48px;
}

.section-heading p {
  max-width: 420px;
  margin-bottom: 8px;
  color: var(--muted);
}

.problem-grid,
.service-grid {
  padding: 0;
  list-style: none;
}

.problem {
  padding-top: clamp(74px, 6vw, 104px);
  padding-bottom: clamp(62px, 5vw, 86px);
}

.problem__heading {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1.1fr);
  align-items: end;
  gap: clamp(56px, 10vw, 170px);
}

.problem__heading h2 {
  margin-bottom: 0;
  font-size: clamp(3.5rem, 5vw, 5.2rem);
  line-height: 0.82;
}

.problem__lead {
  max-width: 510px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 54px);
  margin: clamp(42px, 4vw, 62px) 0 0;
}

.problem-card {
  min-width: 0;
}

.problem-card__icon {
  display: block;
  width: 30px;
  height: 30px;
  margin-bottom: 17px;
  color: var(--lime);
}

.problem-card__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.problem-card h3 {
  max-width: 260px;
  margin-bottom: 8px;
  color: var(--paper);
  font-size: 0.92rem;
  line-height: 1.22;
}

.problem-card p {
  max-width: 290px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.48;
}

.solution {
  padding: clamp(64px, 5.5vw, 88px) 0;
  background: #eef1ed;
  color: var(--ink);
}

.solution__layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(600px, 1.4fr);
  align-items: center;
  gap: clamp(44px, 6vw, 84px);
}

.solution__intro {
  position: relative;
  z-index: 2;
}

.solution__intro .eyebrow {
  color: #333935;
}

.solution__intro h2 {
  margin-bottom: 34px;
  color: #090c0b;
  font-family: "Alumni Sans", var(--display);
  font-size: clamp(4.2rem, 6.2vw, 6.7rem);
  font-weight: 800;
  letter-spacing: 0.005em;
  line-height: 0.76;
}

.solution__text {
  max-width: 390px;
  margin-bottom: 30px;
  color: #616862;
  font-size: 0.94rem;
  line-height: 1.62;
}

.solution__button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  padding: 15px 24px;
  background: #090c0b;
  border-radius: 5px;
  color: #eef3ed;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease;
}

.solution__button span {
  color: var(--lime);
  font-size: 1.2rem;
}

.solution__button:hover {
  background: #18201b;
  transform: translateY(-2px);
}

.solution__button:focus-visible {
  outline: 3px solid #75d932;
  outline-offset: 3px;
}

.automation-map {
  position: relative;
  display: block;
  min-height: 440px;
  margin: 0;
  padding: 10px 0;
  overflow: visible;
  isolation: isolate;
}

.automation-map__connections {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.automation-stack,
.crm-node {
  z-index: 1;
}

.automation-stack--sources {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  left: 0;
  width: 205px;
}

.automation-stack--sources .flow-node {
  position: absolute;
  left: 0;
  width: 205px;
}

.automation-stack--sources .flow-node:nth-child(1) {
  top: 18px;
  left: 12px;
}

.automation-stack--sources .flow-node:nth-child(2) {
  top: 166px;
  left: -10px;
}

.automation-stack--sources .flow-node:nth-child(3) {
  bottom: 18px;
  left: 18px;
}

.automation-stack--results {
  position: absolute;
  inset: 0;
  display: block;
}

.automation-stack--results .flow-node {
  position: absolute;
  width: 184px;
}

.automation-stack--results .flow-node:nth-child(1) {
  top: 12px;
  left: 35%;
}

.automation-stack--results .flow-node:nth-child(2) {
  top: 18px;
  right: 8px;
}

.automation-stack--results .flow-node:nth-child(3) {
  right: -8px;
  bottom: 18px;
}

.automation-stack--results .flow-node:nth-child(4) {
  top: 166px;
  right: 20px;
}

.automation-stack--results .flow-node:nth-child(5) {
  bottom: 0;
  left: 37%;
}

.connection {
  fill: none;
  stroke: rgba(170, 233, 68, 0.76);
  stroke-width: 2;
  marker-end: url(#arrow);
}

.connection--bright {
  stroke: rgba(170, 233, 68, 0.9);
}

.flow-drops {
  pointer-events: none;
}

.flow-reservoirs {
  pointer-events: none;
}

.flow-blob {
  fill: rgba(183, 255, 37, 0.9);
  stroke: rgba(124, 176, 22, 0.34);
  stroke-width: 0.7;
}

.flow-drop {
  filter: url(#flow-drop-glow);
}

.flow-drop__glow {
  fill: rgba(198, 255, 46, 0.28);
}

.flow-drop__core {
  fill: #b7ff25;
  stroke: rgba(255, 255, 255, 0.78);
  stroke-width: 1;
}

.flow-drop--large .flow-drop__core {
  fill: #c6ff2e;
}

.automation-stack--sources .flow-node:nth-child(1) {
  --liquid-duration: 5.2s;
  --liquid-delay: -0.8s;
}

.automation-stack--sources .flow-node:nth-child(2) {
  --liquid-duration: 4.7s;
  --liquid-delay: -3.1s;
}

.automation-stack--sources .flow-node:nth-child(3) {
  --liquid-duration: 5.6s;
  --liquid-delay: -2.2s;
}

.automation-stack--results .flow-node:nth-child(1) {
  --liquid-duration: 4.9s;
  --liquid-delay: -1.4s;
}

.automation-stack--results .flow-node:nth-child(2) {
  --liquid-duration: 5.8s;
  --liquid-delay: -4.2s;
}

.automation-stack--results .flow-node:nth-child(3) {
  --liquid-duration: 5.5s;
  --liquid-delay: -0.4s;
}

.automation-stack--results .flow-node:nth-child(4) {
  --liquid-duration: 5.1s;
  --liquid-delay: -2.8s;
}

.automation-stack--results .flow-node:nth-child(5) {
  --liquid-duration: 5.3s;
  --liquid-delay: -3.6s;
}

.automation-stack {
  display: grid;
  gap: 18px;
}

.flow-node,
.crm-node {
  position: relative;
  border: 1px solid rgba(9, 12, 11, 0.08);
  background: rgba(255, 255, 255, 0.82);
  border-radius: 9px;
  box-shadow: 0 14px 30px rgba(20, 30, 24, 0.08);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.flow-node {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 12px;
  min-height: 78px;
  align-items: center;
  padding: 12px 14px;
  isolation: isolate;
  background: transparent;
}

.flow-node::before,
.flow-node::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.flow-node::before {
  inset: -7px;
  z-index: 0;
  background: #b7ff25;
  border-radius: 15px 11px 17px 12px / 11px 16px 12px 17px;
  clip-path: polygon(
    2% 7%, 12% 2%, 29% 4%, 47% 1%, 66% 3%, 84% 1%, 97% 7%,
    99% 24%, 97% 43%, 100% 61%, 97% 82%, 91% 98%, 72% 96%,
    55% 99%, 37% 97%, 20% 100%, 4% 94%, 1% 76%, 3% 57%, 0 38%
  );
  opacity: 0.18;
  animation: liquid-card-edge var(--liquid-duration) var(--liquid-delay) cubic-bezier(0.42, 0, 0.2, 1) infinite;
}

.flow-node::after {
  inset: 0;
  z-index: 1;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 9px;
}

.flow-node > * {
  position: relative;
  z-index: 2;
}

@keyframes liquid-card-edge {
  0%, 24%, 100% {
    clip-path: polygon(
      2% 7%, 12% 2%, 29% 4%, 47% 1%, 66% 3%, 84% 1%, 97% 7%,
      99% 24%, 97% 43%, 100% 61%, 97% 82%, 91% 98%, 72% 96%,
      55% 99%, 37% 97%, 20% 100%, 4% 94%, 1% 76%, 3% 57%, 0 38%
    );
    opacity: 0.16;
    transform: scale(0.99, 0.97);
  }
  6% {
    clip-path: polygon(
      1% 12%, 9% 0, 26% 3%, 43% 0, 61% 4%, 82% 0, 99% 10%,
      96% 27%, 100% 45%, 98% 63%, 100% 83%, 88% 100%, 70% 97%,
      52% 100%, 34% 96%, 17% 99%, 0 90%, 3% 72%, 0 53%, 4% 31%
    );
    opacity: 0.95;
    transform: scale(1.018, 1.07);
  }
  12% {
    clip-path: polygon(
      3% 5%, 16% 1%, 33% 5%, 51% 0, 70% 4%, 88% 2%, 100% 16%,
      97% 34%, 100% 52%, 96% 70%, 99% 90%, 83% 98%, 64% 100%,
      46% 96%, 28% 100%, 9% 96%, 0 82%, 4% 64%, 0 45%, 2% 24%
    );
    opacity: 1;
    transform: scale(1.035, 1.1);
  }
  19% {
    clip-path: polygon(
      2% 9%, 13% 3%, 31% 2%, 49% 4%, 68% 1%, 86% 4%, 98% 11%,
      100% 29%, 97% 48%, 99% 66%, 96% 85%, 89% 97%, 71% 99%,
      53% 96%, 35% 99%, 18% 97%, 3% 91%, 1% 73%, 3% 54%, 0 35%
    );
    opacity: 0.32;
    transform: scale(1.01, 1.025);
  }
}

.flow-node__icon,
.crm-node__icon {
  display: grid;
  grid-column: 1;
  grid-row: 1 / span 3;
  width: 36px;
  height: 36px;
  background: var(--lime);
  border-radius: 7px;
  color: #203018;
  place-items: center;
}

.crm-node {
  animation: crm-liquid-intake 1.45s ease-in-out infinite;
}

@keyframes crm-liquid-intake {
  0%, 100% {
    box-shadow: 0 14px 30px rgba(20, 30, 24, 0.08), 0 0 0 0 rgba(198, 255, 46, 0);
  }
  48% {
    box-shadow: 0 18px 36px rgba(20, 30, 24, 0.18), 0 0 0 5px rgba(198, 255, 46, 0.09), 0 0 28px rgba(198, 255, 46, 0.18);
  }
}

.flow-node__icon svg,
.crm-node__icon svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.flow-node__type,
.crm-node__eyebrow {
  display: block;
  grid-column: 2;
  margin-bottom: 5px;
  color: #75a72b;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.flow-node strong {
  display: block;
  grid-column: 2;
  color: #171b18;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
}

.flow-node small {
  display: block;
  grid-column: 2;
  margin-top: 3px;
  color: #7a817b;
  font-size: 0.58rem;
  line-height: 1.35;
}

.flow-node:hover,
.crm-node:hover {
  z-index: 1;
  border-color: rgba(117, 217, 50, 0.75);
  box-shadow: 0 18px 34px rgba(48, 78, 39, 0.16);
  transform: translateY(-4px);
}

.crm-node {
  display: grid;
  position: absolute;
  top: 50%;
  left: 50%;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  width: 218px;
  min-height: 108px;
  padding: 16px;
  border-color: #090c0b;
  background: #090c0b;
  border-radius: 11px;
  column-gap: 13px;
  align-items: center;
  text-align: left;
  transform: translate(-50%, -50%);
}

.crm-node:hover {
  transform: translate(-50%, calc(-50% - 4px));
}

.crm-node__icon {
  width: 44px;
  height: 44px;
  background: rgba(198, 255, 46, 0.12);
  color: var(--lime);
}

.crm-node__eyebrow,
.crm-node strong,
.crm-node p {
  grid-column: 2;
}

.crm-node strong {
  color: var(--lime);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.9;
}

.crm-node p {
  max-width: 140px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.62rem;
  line-height: 1.45;
}

@keyframes signal-flow {
  to {
    stroke-dashoffset: -80;
  }
}

.services {
  padding-top: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 55px 0 0;
}

.service-grid li {
  min-height: 205px;
  padding: 24px;
  border: 1px solid var(--line-dark);
  background: var(--ink-soft);
}

.service-card__number {
  display: block;
  color: var(--lime);
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

.service-grid h3 {
  margin: 30px 0 10px;
  color: var(--paper);
  font-size: 1rem;
}

.service-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: start;
}

.contact {
  position: relative;
  overflow: hidden;
}

.contact::after {
  position: absolute;
  right: -13vw;
  bottom: -27vw;
  width: 54vw;
  height: 54vw;
  border: 1px solid var(--lime);
  border-radius: 50%;
  content: "";
  opacity: 0.55;
}

.contact__grid {
  position: relative;
  z-index: 1;
}

.contact__text {
  max-width: 390px;
  color: var(--paper);
  font-size: 1.05rem;
  line-height: 1.55;
}

/* Форма заявки */

.contact-form {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.contact-form__field {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.contact-form__field > label:not(.contact-form__option),
.contact-form__field > legend {
  padding: 0;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input[type="text"],
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 0;
  background: var(--ink-soft);
  color: var(--paper);
  font-size: 0.95rem;
  line-height: 1.45;
  transition: border-color 0.2s ease;
}

.contact-form textarea {
  min-height: 112px;
  resize: vertical;
}

.contact-form input[type="text"]::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.contact-form input[type="text"]:focus,
.contact-form textarea:focus {
  border-color: var(--lime);
  outline: none;
}

.contact-form__services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-form__services legend {
  margin-bottom: 8px;
}

.contact-form__option {
  position: relative;
  cursor: pointer;
}

.contact-form__option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.contact-form__option span {
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid var(--line-dark);
  color: var(--paper);
  font-size: 0.84rem;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.contact-form__option:hover span {
  border-color: var(--lime);
}

.contact-form__option input:checked + span {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}

.contact-form__option input:focus-visible + span {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
}

.contact-form__error {
  margin: 0;
  color: #ff8a7a;
  font-size: 0.85rem;
}

.contact-form__submit {
  justify-self: start;
  cursor: pointer;
}

.contact-form__icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-form__hint {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

/* FAQ */

.faq {
  border-top: 1px solid var(--line-dark);
}

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  align-items: start;
  gap: 64px;
}

.faq__intro {
  position: sticky;
  top: 110px;
}

.faq__intro > p:not(.eyebrow) {
  max-width: 320px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.faq__list {
  border-top: 1px solid var(--line-dark);
}

.faq__item {
  border-bottom: 1px solid var(--line-dark);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  color: var(--paper);
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
  transition: color 0.2s ease;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question:hover {
  color: var(--lime);
}

.faq__question:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.faq__icon::before,
.faq__icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  content: "";
  transform: translate(-50%, -50%);
}

.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item[open] .faq__icon {
  border-color: var(--lime);
  transform: rotate(45deg);
}

.faq__answer p {
  max-width: 680px;
  margin: 0;
  padding: 0 54px 24px 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq__item[open] .faq__answer {
  animation: faq-open 0.3s ease;
}

@keyframes faq-open {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Тарифы */

.pricing {
  padding-bottom: clamp(40px, 4.5vw, 72px);
  border-top: 1px solid var(--line-dark);
}

.pricing__heading h2,
.process__heading h2 {
  margin-bottom: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
  margin-top: 56px;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 490px;
  padding: 30px;
  border: 1px solid var(--line-dark);
  background: var(--ink-soft);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease;
}

.pricing-card:hover {
  z-index: 1;
  border-color: rgba(198, 255, 46, 0.55);
  background: var(--surface-elevated);
  box-shadow: 0 0 32px rgba(198, 255, 46, 0.1);
  transform: translateY(-5px);
}

.pricing-card--featured {
  border-color: rgba(198, 255, 46, 0.45);
  background:
    radial-gradient(circle at 82% 12%, rgba(198, 255, 46, 0.14), transparent 28%),
    var(--surface-elevated);
}

.pricing-card__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 9px;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-card__type {
  margin-bottom: 28px;
  color: var(--lime);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-card h3 {
  max-width: 280px;
  margin-bottom: 18px;
  color: var(--paper);
  font-size: 1.32rem;
  line-height: 1.15;
}

.pricing-card__description {
  min-height: 96px;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.55;
}

.pricing-card__features {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 20px 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.pricing-card__features li {
  position: relative;
  padding-left: 17px;
  color: var(--paper);
  font-size: 0.78rem;
  line-height: 1.45;
}

.pricing-card__features li::before {
  position: absolute;
  top: 0.35rem;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  content: "";
}

.pricing-card__footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
}

.pricing-card__footer span {
  color: var(--muted);
  font-size: 0.65rem;
}

.pricing-card__footer a {
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 700;
}

/* Процесс */

.process {
  padding-block: clamp(48px, 5vw, 76px);
}

.process__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: clamp(28px, 3vw, 44px);
}

.process__heading h2 {
  font-size: clamp(3rem, 5.4vw, 5.8rem);
  line-height: 0.82;
}

.process__meta {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(46px, 5vw, 88px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps__item {
  position: relative;
}

.steps__number {
  display: inline-block;
  margin-bottom: 10px;
  color: rgba(242, 243, 239, 0.46);
  font-family: var(--display);
  font-size: clamp(2.6rem, 3.5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.8;
}

.steps__arrow {
  position: absolute;
  top: 9px;
  left: calc(clamp(46px, 5vw, 88px) * -0.82);
  width: clamp(34px, 3vw, 54px);
  height: 24px;
  fill: none;
  stroke: rgba(242, 243, 239, 0.52);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.steps__item h3 {
  min-height: 2.4em;
  margin-bottom: 8px;
  color: var(--paper);
  font-size: 0.92rem;
  line-height: 1.2;
}

.steps__item p {
  max-width: 230px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .process__heading {
    display: block;
    margin-bottom: 34px;
  }

  .process__meta {
    margin-top: 18px;
  }

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

  .steps__arrow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow-drops,
  .flow-reservoirs {
    display: none;
  }

  .flow-node::before,
  .crm-node {
    animation: none;
  }
}

@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .pricing-card {
    min-height: 470px;
    padding: 24px;
  }

  .pricing-card__description {
    min-height: 0;
  }

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

  .steps__number {
    font-size: 4.2rem;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-top: 80px;
  }

  .hero__grid,
  .solution__grid,
  .section-heading,
  .contact__grid,
  .faq__grid {
    grid-template-columns: 1fr;
  }

  .faq__grid {
    gap: 32px;
  }

  .faq__intro {
    position: static;
  }

  .hero-art {
    min-height: 340px;
    margin: -10px 0 -65px;
  }

  .problem-grid,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .problem__heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .problem__lead {
    max-width: 600px;
  }

  .section-heading,
  .solution__grid {
    gap: 32px;
  }

  .contact__grid {
    gap: 18px;
  }
}

@media (max-width: 1100px) {
  .solution__layout {
    grid-template-columns: 1fr;
  }

  .solution__intro {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(280px, 1fr);
    align-items: end;
    column-gap: 44px;
  }

  .solution__intro .eyebrow,
  .solution__intro h2 {
    grid-column: 1;
  }

  .solution__text,
  .solution__button {
    grid-column: 2;
  }

  .solution__text {
    grid-row: 1 / span 2;
    align-self: end;
  }

  .solution__button {
    grid-row: 3;
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .solution__intro {
    display: block;
  }

  .solution__intro h2 {
    font-size: clamp(4rem, 21vw, 6rem);
  }
}

@media (max-width: 560px) {
  .hero__lead {
    font-size: 0.95rem;
  }

  .hero-art {
    min-height: 260px;
  }

  .hero-art__shape--one {
    width: 290px;
    height: 350px;
  }

  .hero-art__shape--two {
    width: 190px;
    height: 250px;
  }

  .hero-art p {
    font-size: 1rem;
  }

  .problem-grid,
  .service-grid,
  .crm-flow {
    grid-template-columns: 1fr;
  }

  .problem-grid {
    gap: 28px;
  }

  .service-grid li {
    min-height: 0;
  }

  .faq__question {
    font-size: 0.95rem;
  }

  .faq__answer p {
    padding-right: 0;
  }

  .crm-flow__sources,
  .crm-flow__results {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .automation-map {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
    padding: 22px;
  }

  .automation-map__connections {
    display: none;
  }

  .automation-stack--sources,
  .automation-stack--results,
  .automation-stack--results .flow-node,
  .crm-node {
    position: static;
    width: auto;
    transform: none;
  }

  .automation-stack--results {
    display: grid;
    gap: 14px;
  }

  .crm-node {
    min-height: 108px;
  }

  .crm-node:hover {
    transform: translateY(-4px);
  }
}

/* Approved hero from the first design pass */
.hero{position:relative;z-index:1;min-height:720px;margin-bottom:-30px;padding:0;background:#111313;overflow:visible}
.hero>.container{width:min(1380px,calc(100% - 96px))}
.hero__grid{display:grid;grid-template-columns:53% 47%;min-height:720px;align-items:center}
.hero__content{position:relative;z-index:3;padding-top:80px}
.hero h1{max-width:860px;margin:0 0 16px;color:#f8f8f4;white-space:nowrap;text-transform:uppercase}
.hero h1 span{color:var(--lime)}
.hero__content>p{max-width:370px;margin-bottom:22px;color:#bbbeba;font-size:19px}
.hero__content .button{display:flex;width:max-content;min-height:60px;padding:16px 32px;gap:36px;font-size:13px}
.hero__content .button span{font-size:23px}
.hero__facts{display:flex;gap:18px;margin-top:38px;color:#f8f8f4;font-size:10px;font-weight:800;text-transform:uppercase}
.hero__facts span+span::before{content:'|';color:rgba(198,255,46,.72);margin-right:18px;font-weight:400}
.hero__art{position:absolute;inset:0 0 0 45%;z-index:1;overflow:hidden}
.hero__art::before{content:'';position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#111313 0%,rgba(17,19,19,.18) 40%,transparent 70%)}
.hero__art img{width:100%;height:100%;object-fit:cover;object-position:center 35%}
.hero__motto{position:absolute;z-index:2;top:18%;right:9%;color:#d2d2ce;font:700 25px/.97 Caveat,cursive;transform:rotate(-8deg)}
.hero__side{position:absolute;z-index:2;top:53%;right:4%;color:#b1b4ae;font-size:9px;line-height:1.3}
.torn-edge{position:absolute;z-index:4;bottom:-30px;left:0;width:100%;height:60px;background:url('../img/torn-paper-edge.png') repeat-x center;background-size:auto 72px;pointer-events:none}
@media(min-width:901px){.hero{height:100svh}}
@media(min-width:601px){.hero h1{font-family:'Alumni Sans',Impact,sans-serif;font-weight:800;font-size:clamp(89px,8.66vw,136px);line-height:.74;letter-spacing:.006em;word-spacing:.08em}}
@media(max-width:1100px){.hero h1{font-size:clamp(58px,8vw,92px)}.hero__art{left:44%}}
@media(max-width:900px){.hero,.hero__grid{min-height:670px}.hero__content{padding-top:0}.hero__art{left:30%;opacity:.78}.hero__side,.hero__motto{display:none}.hero__grid{grid-template-columns:1fr}.hero__content>p{max-width:340px}}
@media(max-width:600px){.hero{margin-bottom:-24px}.hero>.container{width:calc(100% - 36px)}.hero,.hero__grid{min-height:720px}.hero__art{inset:160px 0 0 11%;opacity:.7}.hero__art::before{background:linear-gradient(180deg,#111313 0%,rgba(17,19,19,.28) 40%,#111313 100%)}.hero__art img{object-position:center 30%}.hero__content{align-self:start;padding-top:80px}.hero h1{font-family:'Alumni Sans',Impact,sans-serif;font-weight:800;font-size:clamp(48px,12.8vw,70px);line-height:.81;letter-spacing:.006em;word-spacing:.06em;white-space:normal}.hero__content>p{font-size:15px}.hero__content .button{min-height:54px;padding:14px 27px;gap:28px;font-size:12px}.hero__content .button span{font-size:21px}.hero__facts{position:relative;display:grid;gap:5px;margin-top:24px}.hero__facts span+span::before{margin-right:8px}.torn-edge{bottom:-24px;height:48px;background-size:auto 60px}.desktop-only{display:none}}

/* Isolated concept: light torn-paper problem section.
   Open with ?design=problem-paper-1#about; the default page is untouched. */
html[data-problem-variant="paper-1"] .problem {
  position: relative;
  z-index: 4;
  margin: 0;
  padding-top: clamp(56px, 4.3vw, 76px);
  padding-bottom: clamp(52px, 4vw, 70px);
  background-color: #ecede9;
  background-image: url('../img/paper-texture.jpg');
  background-repeat: repeat;
  background-size: 920px auto;
  background-blend-mode: normal;
  color: #0a0c0b;
  isolation: isolate;
}

html[data-problem-variant="paper-1"] .problem::before,
html[data-problem-variant="paper-1"] .problem::after {
  position: absolute;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 64px;
  background: url('../img/torn-paper-edge.png') repeat-x center;
  background-size: auto 78px;
  content: "";
  pointer-events: none;
}

html[data-problem-variant="paper-1"] .problem::before {
  top: -30px;
}

html[data-problem-variant="paper-1"] .problem::after {
  right: 0;
  bottom: -28px;
  z-index: 5;
  display: block;
  width: 100%;
  height: 44px;
  background-position: center bottom;
  background-size: auto 56px;
}

html[data-problem-variant="paper-1"] .problem > .container {
  width: min(1360px, calc(100% - 112px));
}

html[data-problem-variant="paper-1"] .problem__heading {
  grid-template-columns: minmax(390px, 0.92fr) minmax(430px, 1.08fr);
  align-items: start;
  gap: clamp(80px, 13vw, 220px);
}

html[data-problem-variant="paper-1"] .problem .eyebrow {
  margin-bottom: 18px;
  color: #30342f;
  font-size: 0.74rem;
}

html[data-problem-variant="paper-1"] .problem__heading h2 {
  color: #080a09;
  font-family: "Alumni Sans", Impact, sans-serif;
  font-size: clamp(4.7rem, 5.9vw, 6.7rem);
  font-weight: 800;
  letter-spacing: 0.005em;
  line-height: 0.72;
}

html[data-problem-variant="paper-1"] .problem__lead {
  max-width: 650px;
  margin-top: 30px;
  color: #333731;
  font-size: clamp(1rem, 1.15vw, 1.2rem);
  line-height: 1.48;
}

html[data-problem-variant="paper-1"] .problem-grid {
  gap: clamp(36px, 5vw, 76px);
  margin-top: clamp(34px, 3.2vw, 48px);
}

html[data-problem-variant="paper-1"] .problem-card__icon {
  width: 39px;
  height: 39px;
  margin-bottom: 14px;
  padding: 4px;
  border-radius: 10px;
  background: rgba(198, 255, 46, 0.78);
  color: #232b18;
  filter: drop-shadow(7px 5px 0 rgba(198, 255, 46, 0.24));
}

html[data-problem-variant="paper-1"] .problem-card h3 {
  max-width: 270px;
  margin-bottom: 10px;
  color: #111311;
  font-size: 0.94rem;
  line-height: 1.22;
}

html[data-problem-variant="paper-1"] .problem-card p {
  max-width: 285px;
  color: #555a53;
  font-size: 0.74rem;
  line-height: 1.46;
}

html[data-problem-variant="paper-1"] .solution {
  position: relative;
  z-index: 3;
  margin: 0;
  padding: clamp(56px, 4.2vw, 72px) 0 clamp(60px, 4.8vw, 78px);
  overflow: visible;
  background-color: #080a08;
  background-image:
    linear-gradient(100deg,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(2, 4, 3, 0.62) 48%,
      rgba(0, 0, 0, 0.68) 100%),
    url('../img/black-crumpled-paper.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: #f4f5ef;
  isolation: isolate;
}

html[data-problem-variant="paper-1"] .solution::before,
html[data-problem-variant="paper-1"] .solution::after {
  position: absolute;
  left: 0;
  z-index: 4;
  width: 100%;
  height: 64px;
  background: url('../img/torn-paper-edge.png') repeat-x center;
  background-size: auto 78px;
  content: "";
  pointer-events: none;
}

html[data-problem-variant="paper-1"] .solution::before {
  display: none;
}

html[data-problem-variant="paper-1"] .solution::after {
  bottom: -31px;
  transform: rotate(180deg);
}

html[data-problem-variant="paper-1"] .solution > .container {
  width: min(1440px, calc(100% - 112px));
}

html[data-problem-variant="paper-1"] .solution__layout {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(470px, 0.9fr) minmax(680px, 1.36fr);
  gap: clamp(28px, 3vw, 48px);
}

html[data-problem-variant="paper-1"] .solution__layout::before {
  display: none;
}

html[data-problem-variant="paper-1"] .solution__intro .eyebrow {
  margin-bottom: 17px;
  color: var(--lime);
  font-size: 0.7rem;
}

html[data-problem-variant="paper-1"] .solution__intro h2 {
  margin-bottom: 27px;
  color: #f5f6f1;
  font-size: clamp(4.2rem, 4.8vw, 5.45rem);
  line-height: 0.8;
}

.solution__headline-extra,
.solution-copy-paper {
  display: none;
}

html[data-problem-variant="paper-1"] .solution__headline-extra,
html[data-problem-variant="paper-1"] .solution-copy-paper {
  display: inline;
}

html[data-problem-variant="paper-1"] .solution-copy-default {
  display: none;
}

html[data-problem-variant="paper-1"] .solution__text {
  max-width: 520px;
  margin-bottom: 28px;
  color: #c3c6bf;
  font-size: 0.94rem;
  line-height: 1.55;
}

html[data-problem-variant="paper-1"] .solution__button {
  min-width: 300px;
  min-height: 62px;
  padding: 16px 27px;
  background: var(--lime);
  border-radius: 2px;
  color: #0a0d0b;
  font-size: 0.76rem;
}

html[data-problem-variant="paper-1"] .solution__button span {
  color: #0a0d0b;
}

html[data-problem-variant="paper-1"] .solution__button:hover {
  background: #d2ff58;
}

html[data-problem-variant="paper-1"] .automation-map {
  min-height: 440px;
  padding: 0;
}

html[data-problem-variant="paper-1"] .flow-node {
  min-height: 82px;
  border-color: rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  box-shadow: none;
  filter: drop-shadow(0 15px 18px rgba(0, 0, 0, 0.3));
  transform: none;
  transition: none;
}

html[data-problem-variant="paper-1"] .flow-node::before {
  display: none;
}

html[data-problem-variant="paper-1"] .flow-node::after {
  inset: 0;
  background-color: #efefe7;
  background-image: url('../img/paper-texture.jpg');
  background-size: 560px auto;
  background-blend-mode: screen;
  border-radius: 8px;
  clip-path: none;
}

html[data-problem-variant="paper-1"] .flow-node:hover {
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow: none;
  transform: none;
}

html[data-problem-variant="paper-1"] .flow-reservoirs {
  display: none;
}

html[data-problem-variant="paper-1"] .flow-drops {
  display: none;
}

@keyframes paper-liquid-card-edge {
  0%, 24%, 100% {
    opacity: 0.12;
    transform: scale(0.997);
  }
  7% {
    opacity: 0.7;
    transform: scale(1.018, 1.055);
  }
  14% {
    opacity: 0.42;
    transform: scale(1.012, 1.032);
  }
}

html[data-problem-variant="paper-1"] .automation-stack--sources,
html[data-problem-variant="paper-1"] .automation-stack--sources .flow-node {
  width: 220px;
}

html[data-problem-variant="paper-1"] .automation-stack--results .flow-node {
  width: 208px;
}

html[data-problem-variant="paper-1"] .automation-stack--sources .flow-node:nth-child(1) {
  top: 4px;
  left: 76px;
}

html[data-problem-variant="paper-1"] .automation-stack--sources .flow-node:nth-child(2) {
  top: 146px;
  left: -10px;
}

html[data-problem-variant="paper-1"] .automation-stack--sources .flow-node:nth-child(3) {
  bottom: 0;
  left: 12px;
}

html[data-problem-variant="paper-1"] .automation-stack--results .flow-node:nth-child(1) {
  top: 4px;
  left: 44%;
}

html[data-problem-variant="paper-1"] .automation-stack--results .flow-node:nth-child(2) {
  top: 126px;
  right: 0;
}

html[data-problem-variant="paper-1"] .automation-stack--results .flow-node:nth-child(4) {
  top: auto;
  right: 0;
  bottom: 0;
}

html[data-problem-variant="paper-1"] .automation-stack--results .flow-node:nth-child(3),
html[data-problem-variant="paper-1"] .automation-stack--results .flow-node:nth-child(5),
html[data-problem-variant="paper-1"] .automation-map__connections > .connection:nth-of-type(7),
html[data-problem-variant="paper-1"] .automation-map__connections > .connection:nth-of-type(8),
html[data-problem-variant="paper-1"] .flow-reservoirs > g:nth-child(7),
html[data-problem-variant="paper-1"] .flow-reservoirs > g:nth-child(8),
html[data-problem-variant="paper-1"] .flow-drops > g:nth-child(7),
html[data-problem-variant="paper-1"] .flow-drops > g:nth-child(8) {
  display: none;
}

html[data-problem-variant="paper-1"] .crm-node {
  z-index: 5;
  left: 50%;
  width: 250px;
  min-height: 122px;
  overflow: hidden;
  border: 2px solid rgba(198, 255, 46, 0.48);
  border-radius: 12px;
  background: #050806;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.36);
  animation: none;
  isolation: isolate;
  transition: none;
}

html[data-problem-variant="paper-1"] .crm-node::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #050806;
  content: "";
}

html[data-problem-variant="paper-1"] .crm-node > * {
  position: relative;
  z-index: 1;
}

html[data-problem-variant="paper-1"] .crm-node:hover {
  border-color: rgba(198, 255, 46, 0.48);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.36);
  transform: translate(-50%, -50%);
}

.solution-doodle {
  display: none;
}

html[data-problem-variant="paper-1"] .solution-doodle {
  position: absolute;
  z-index: 3;
  display: block;
  height: auto;
  pointer-events: none;
  user-select: none;
}

html[data-problem-variant="paper-1"] .solution-doodle--lightning {
  top: 58px;
  left: 40.8%;
  width: 54px;
  transform: rotate(-4deg);
}

html[data-problem-variant="paper-1"] .solution-doodle--arrow {
  top: 4px;
  right: 0.5%;
  width: 46px;
  transform: rotate(-4deg);
}

html[data-problem-variant="paper-1"] .solution-doodle--slash {
  right: 32%;
  bottom: -6px;
  width: 76px;
  transform: rotate(-5deg);
}

html[data-problem-variant="paper-1"] .crm-node strong {
  font-size: 1.55rem;
}

html[data-problem-variant="paper-1"] .connection {
  marker-end: none;
  stroke: rgba(198, 255, 46, 0.82);
  stroke-width: 2.4;
}

@media (max-width: 1100px) {
  html[data-problem-variant="paper-1"] .solution > .container {
    width: min(100% - 48px, 900px);
  }

  html[data-problem-variant="paper-1"] .solution__layout {
    grid-template-columns: 1fr;
  }

  html[data-problem-variant="paper-1"] .solution__text {
    max-width: 650px;
  }
}

@media (max-width: 900px) {
  html[data-problem-variant="paper-1"] .solution {
    padding-top: 78px;
  }

  html[data-problem-variant="paper-1"] .solution__layout {
    gap: 44px;
  }

  html[data-problem-variant="paper-1"] .automation-map {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
    padding: 22px;
    background: rgba(255, 255, 255, 0.035);
    border-radius: 16px;
  }

  html[data-problem-variant="paper-1"] .automation-map__connections {
    display: none;
  }

  html[data-problem-variant="paper-1"] .solution-doodle {
    display: none;
  }

  html[data-problem-variant="paper-1"] .automation-stack--sources,
  html[data-problem-variant="paper-1"] .automation-stack--results,
  html[data-problem-variant="paper-1"] .automation-stack--sources .flow-node,
  html[data-problem-variant="paper-1"] .automation-stack--results .flow-node,
  html[data-problem-variant="paper-1"] .crm-node {
    position: static;
    display: grid;
    width: auto;
    transform: none;
  }

  html[data-problem-variant="paper-1"] .automation-stack--sources,
  html[data-problem-variant="paper-1"] .automation-stack--results {
    gap: 14px;
  }

  html[data-problem-variant="paper-1"] .flow-node {
    border-color: rgba(198, 255, 46, 0.2);
    background: #f1f2ed;
  }

  html[data-problem-variant="paper-1"] .flow-node::before,
  html[data-problem-variant="paper-1"] .flow-node::after {
    display: none;
  }

  html[data-problem-variant="paper-1"] .crm-node:hover {
    transform: translateY(-4px);
  }

  html[data-problem-variant="paper-1"] .automation-stack--results .flow-node:nth-child(3),
  html[data-problem-variant="paper-1"] .automation-stack--results .flow-node:nth-child(5) {
    display: grid;
  }
}

@media (max-width: 560px) {
  html[data-problem-variant="paper-1"] .solution > .container {
    width: calc(100% - 36px);
  }

  html[data-problem-variant="paper-1"] .solution__intro h2 {
    font-size: clamp(4rem, 20.5vw, 5.7rem);
  }

  html[data-problem-variant="paper-1"] .solution__button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 900px) {
  html[data-problem-variant="paper-1"] .problem > .container {
    width: min(100% - 48px, 720px);
  }

  html[data-problem-variant="paper-1"] .problem__heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  html[data-problem-variant="paper-1"] .problem__lead {
    margin-top: 0;
  }

  html[data-problem-variant="paper-1"] .problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  html[data-problem-variant="paper-1"] .problem {
    padding-top: 72px;
    padding-bottom: 70px;
  }

  html[data-problem-variant="paper-1"] .problem > .container {
    width: calc(100% - 36px);
  }

  html[data-problem-variant="paper-1"] .problem__heading h2 {
    font-size: clamp(4.2rem, 22vw, 6rem);
  }

  html[data-problem-variant="paper-1"] .problem-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
/* =====================================================================
   STYLE PASS: continuation after section 3 (EgorF restyle)
   Marker: /continuation-restyle/  — safe to remove this whole block.
   Reuses: torn-paper-edge.png, Alumni Sans, --lime. Does not touch
   the first three sections.
   ===================================================================== */

/* --- 1. Torn edge closing section 3 (solution) into the dark pricing --- */
.solution {
  position: relative;
  z-index: 2;
}
.solution::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -30px;
  z-index: 5;
  height: 52px;
  background: url('../img/torn-paper-edge.png') repeat-x center bottom;
  background-size: auto 66px;
  transform: rotate(180deg);
  pointer-events: none;
}

/* --- 2. Pricing: poster heading + editorial rhythm --- */
.pricing {
  position: relative;
  padding-top: clamp(78px, 7vw, 120px);
  border-top: 0;                 /* kill the flat hairline seam */
  background-color: #0b0d0c;
  background-image: url('../img/black-paper.webp');
  background-repeat: repeat;
  background-position: center top;
  background-size: 1100px auto;
}

.pricing__heading h2 {
  font-family: "Alumni Sans", Impact, sans-serif;
  font-weight: 800;
  font-size: clamp(3.8rem, 6.2vw, 6rem);
  line-height: 0.74;
  letter-spacing: 0.005em;
}
.pricing .eyebrow {
  margin-bottom: 14px;
}

.pricing-grid {
  margin-top: clamp(40px, 4vw, 64px);
  gap: 20px;
}

/* Cards = clean ticket slips on the dark table. One accent line of lime. */
.pricing-card {
  min-height: 470px;
  padding: 30px 28px 26px;
  border: 1px solid rgba(255,255,255,0.12);
  border-top: 3px solid rgba(255,255,255,0.22);   /* ticket header strip */
  background: #12140f;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.pricing-card:nth-child(1) { transform: rotate(-0.4deg); }
.pricing-card:nth-child(2) { transform: rotate(0.3deg); }
.pricing-card:nth-child(3) { transform: rotate(-0.25deg); }
.pricing-card:hover {
  transform: translateY(-6px) rotate(0);
  border-color: rgba(255,255,255,0.3);
}

/* number tag like the hero sketch, lime sticker */
.pricing-card__type {
  margin-bottom: 20px;
  color: var(--lime);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}
.pricing-card h3 {
  font-family: "Alumni Sans", Impact, sans-serif;
  font-weight: 800;
  font-size: 2.05rem;
  line-height: 0.88;
  letter-spacing: 0.004em;
  text-transform: uppercase;
  color: #f4f5ef;
  max-width: 100%;
}
/* features: tidy checklist, lime ticks */
.pricing-card__features { padding: 20px 0; }
.pricing-card__features li::before {
  width: 7px; height: 7px; border-radius: 2px;    /* square lime chip */
}
.pricing-card__footer a { letter-spacing: 0.03em; }

/* FEATURED = the single loud card: lime header, dark body, no glow */
.pricing-card--featured {
  border-color: var(--lime);
  border-top: 3px solid var(--lime);
  background: #13160f;
}
.pricing-card--featured .pricing-card__type { color: var(--lime); }
.pricing-card--featured:hover { border-color: var(--lime); }
.pricing-card__badge {
  top: 16px; right: 16px;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}

/* --- 3. Process "Четыре шага" as a LIGHT paper sheet (breaks the dark run) ---
   Applies only in the default paper-1 theme. /continuation-restyle/ */
html[data-problem-variant="paper-1"] .process {
  position: relative;
  z-index: 3;
  margin: 0;
  padding-top: clamp(58px, 4.4vw, 84px);
  padding-bottom: clamp(44px, 3.4vw, 64px);
  background-color: #ecede9;
  background-image: url('../img/paper-texture.jpg');
  background-repeat: repeat;
  background-size: 920px auto;
  color: #0a0c0b;
  isolation: isolate;
}
html[data-problem-variant="paper-1"] .process::before,
html[data-problem-variant="paper-1"] .process::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 60px;
  background: url('../img/torn-paper-edge.png') repeat-x center;
  background-size: auto 76px;
  pointer-events: none;
  z-index: 5;
}
html[data-problem-variant="paper-1"] .process::before { top: -28px; }
html[data-problem-variant="paper-1"] .process::after  { bottom: -30px; transform: rotate(180deg); }

html[data-problem-variant="paper-1"] .process__heading h2 {
  color: #080a09;
  font-family: "Alumni Sans", Impact, sans-serif;
  font-weight: 800;
  font-size: clamp(3.8rem, 5.9vw, 6.2rem);
  line-height: 0.72;
  letter-spacing: 0.005em;
}
html[data-problem-variant="paper-1"] .process__heading { margin-bottom: clamp(20px, 2vw, 32px); }
html[data-problem-variant="paper-1"] .steps { align-items: start; }
html[data-problem-variant="paper-1"] .steps__item p { max-width: 240px; }
html[data-problem-variant="paper-1"] .process .eyebrow {
  color: var(--paper);
  background: var(--lime);
  transform: rotate(-1.5deg);
}
html[data-problem-variant="paper-1"] .process__meta { color: #4a4e47; }

/* lime sticker numbers like the paper hero sketch */
html[data-problem-variant="paper-1"] .steps__number {
  color: #0a0d0b;
  background: var(--lime);
  padding: 0.04em 0.2em 0.1em;
  border-radius: 46% 54% 50% 48% / 55% 45% 55% 45%;
  font-size: clamp(2rem, 2.8vw, 3rem);
}
html[data-problem-variant="paper-1"] .steps__arrow { stroke: rgba(10,12,10,0.5); }
html[data-problem-variant="paper-1"] .steps__item h3 { color: #111311; }
html[data-problem-variant="paper-1"] .steps__item p  { color: #555a53; }


/* --- hard override: remove ALL lime glow on pricing cards /continuation-restyle/ --- */
html[data-problem-variant="paper-1"] .pricing-card,
.pricing-card {
  box-shadow: none !important;
}
html[data-problem-variant="paper-1"] .pricing-card:hover,
.pricing-card:hover {
  box-shadow: none !important;
}
html[data-problem-variant="paper-1"] .pricing-card--featured,
.pricing-card--featured {
  box-shadow: none !important;
  background: #13160f !important;   /* no radial lime wash */
}

/* =====================================================================
   PUSHPIN: cards pinned to the board, pin pops out on hover.
   /continuation-restyle/  — pure CSS, no JS.
   ===================================================================== */
.pricing-card {
  padding-top: 52px;                 /* room for the pin above the number */
  transform-origin: 50% 0;           /* swing from the pin point */
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease;
}

/* the pushpin itself */
.pricing-card::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  width: 26px;
  height: 26px;
  transform: translateX(-50%) rotate(0deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 48'%3E%3Cellipse cx='20' cy='44' rx='6' ry='2.5' fill='rgba(0,0,0,0.45)'/%3E%3Crect x='18.6' y='22' width='2.8' height='21' rx='1.4' fill='%23b9c4ad'/%3E%3Ccircle cx='20' cy='15' r='14' fill='%23c6ff2e'/%3E%3Ccircle cx='20' cy='15' r='14' fill='none' stroke='rgba(0,0,0,0.3)' stroke-width='1'/%3E%3Cellipse cx='14.5' cy='9.5' rx='4.5' ry='3' fill='rgba(255,255,255,0.65)'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.35s cubic-bezier(.3,1.4,.5,1), opacity 0.3s ease;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 3px 3px rgba(0,0,0,0.5));
}

/* hover: pin pops up & tilts out, card straightens and lifts off the board */
.pricing-card:hover {
  transform: rotate(0) translateY(-8px) !important;
  box-shadow: 0 26px 46px -18px rgba(0,0,0,0.75) !important;
}
.pricing-card:hover::after {
  transform: translateX(-50%) translateY(-16px) rotate(14deg);
}

/* featured keeps lime pin; make its pin head a touch brighter handled by same svg */
@media (prefers-reduced-motion: reduce) {
  .pricing-card, .pricing-card::after { transition: none; }
}
@media (max-width: 560px) {
  .pricing-card { padding-top: 46px; }
}

/* --- Process: link to detailed /process/ page + livelier steps /continuation-restyle/ --- */
html[data-problem-variant="paper-1"] .process__more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(32px, 3.4vw, 52px);
  padding: 14px 22px;
  border: 1.5px solid #0a0c0b;
  background: var(--lime);
  color: #0a0d0b;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 #0a0c0b;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
html[data-problem-variant="paper-1"] .process__more:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 #0a0c0b;
}
html[data-problem-variant="paper-1"] .process__more span {
  font-size: 1.1em;
  transition: transform 0.18s ease;
}
html[data-problem-variant="paper-1"] .process__more:hover span {
  transform: translateX(4px);
}

/* subtle hover lift on each step */
html[data-problem-variant="paper-1"] .steps__item {
  transition: transform 0.2s ease;
}
html[data-problem-variant="paper-1"] .steps__item:hover {
  transform: translateY(-4px);
}
html[data-problem-variant="paper-1"] .steps__item:hover .steps__number {
  box-shadow: 3px 3px 0 rgba(10,12,10,0.25);
}

/* --- Contact: brand pattern fills the empty left column /continuation-restyle/ --- */
.contact__intro {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.contact__art { display: none; }
@media (max-width: 900px) {
  .contact__art { min-height: 200px; margin-top: 28px; }
}


/* --- Contact: brand pattern as a full-section background /continuation-restyle/ --- */
html[data-problem-variant="paper-1"] .contact {
  position: relative;
  overflow: hidden;
}
html[data-problem-variant="paper-1"] .contact::before {
  content: "";
  position: absolute;
  left: -2%;
  bottom: -4%;
  width: 78%;
  height: 92%;
  background-image: url('../img/pattern-trans.webp');
  background-size: contain;
  background-position: bottom left;
  background-repeat: no-repeat;
  opacity: 0.5;               /* muted so text stays readable */
  z-index: 0;
  pointer-events: none;
}
html[data-problem-variant="paper-1"] .contact__grid { position: relative; z-index: 1; }
/* keep the form fields fully legible above the art */
html[data-problem-variant="paper-1"] .contact-form { position: relative; z-index: 2; }

/* --- FAQ as a LIGHT paper sheet /continuation-restyle/ --- */
html[data-problem-variant="paper-1"] .faq {
  position: relative;
  z-index: 3;
  margin: 0;
  border-top: 0;
  padding-top: clamp(64px, 5vw, 96px);
  padding-bottom: clamp(70px, 5.4vw, 104px);
  background-color: #ecede9;
  background-image: url('../img/paper-texture.jpg');
  background-repeat: repeat;
  background-size: 920px auto;
  color: #0a0c0b;
  isolation: isolate;
}
html[data-problem-variant="paper-1"] .faq::before,
html[data-problem-variant="paper-1"] .faq::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 60px;
  background: url('../img/torn-paper-edge.png') repeat-x center;
  background-size: auto 76px;
  pointer-events: none;
  z-index: 5;
}
html[data-problem-variant="paper-1"] .faq::before { top: -28px; }
html[data-problem-variant="paper-1"] .faq::after  { bottom: -30px; transform: rotate(180deg); }

/* heading + intro */
html[data-problem-variant="paper-1"] .faq__intro h2 {
  color: #080a09;
  font-family: "Alumni Sans", Impact, sans-serif;
  font-weight: 800;
  font-size: clamp(3.4rem, 5vw, 5.4rem);
  line-height: 0.74;
  letter-spacing: 0.005em;
}
html[data-problem-variant="paper-1"] .faq .eyebrow {
  color: var(--paper);
  background: transparent;      /* reset: scroll variant draws its own bar */
  transform: none;
}
/* scroll marker: fixed lime bar, word rides across on scroll */
.eyebrow--scroll {
  display: block;
  width: 260px;
  max-width: 70%;
  padding: 0;
  overflow: hidden;
  background: var(--lime);
  transform: rotate(-1.5deg);
  white-space: nowrap;
}
.eyebrow--scroll .eyebrow__track {
  display: inline-block;
  padding: 3px 0 3px 10px;
  color: var(--paper);
  letter-spacing: 0.18em;
  /* driven by JS: --scroll goes 0..1 while the section passes the viewport */
  transform: translateX(calc(var(--scroll, 0) * -120px));
  will-change: transform;
}
html[data-problem-variant="paper-1"] .faq__intro > p:not(.eyebrow) { color: #4a4e47; }

/* list on paper */
html[data-problem-variant="paper-1"] .faq__list { border-top-color: rgba(10,12,10,0.22); }
html[data-problem-variant="paper-1"] .faq__item { border-bottom-color: rgba(10,12,10,0.16); }
html[data-problem-variant="paper-1"] .faq__question { color: #141412; }
html[data-problem-variant="paper-1"] .faq__question:hover { color: #0a0d0b; }
/* lime marker-highlight on the hovered/opened question text */
html[data-problem-variant="paper-1"] .faq__question > span:first-child {
  margin: -2px -6px;
  padding: 2px 6px;
  border-radius: 3px 6px 4px 5px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  /* full lime marker, drawn left->right; retracts left on leave/close */
  background-image: linear-gradient(var(--lime), var(--lime));
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0% 100%;
  transition: background-size 0.4s cubic-bezier(.4,0,.2,1);
}
/* hover OR open: sweep fully across */
html[data-problem-variant="paper-1"] .faq__question:hover > span:first-child,
html[data-problem-variant="paper-1"] .faq__item[open] .faq__question > span:first-child {
  background-size: 100% 100%;
}
/* plus icon dark on paper */
html[data-problem-variant="paper-1"] .faq__icon {
  border-color: rgba(10,12,10,0.4);
  color: #0a0d0b;
}
html[data-problem-variant="paper-1"] .faq__item[open] .faq__icon {
  border-color: #0a0d0b;
  background: var(--lime);
}
html[data-problem-variant="paper-1"] .faq__answer p { color: #44483f; }
