/**
 * Файл: main.css
 * Path: /wp-content/themes/magsite/assets/css/main.css
 * Date: 15.08.2026
 */

:root {
  --graphite: #181e24;
  --blue: #045af4;
  --gray: #999ca4;
  --dark: #1e1e1e;
  --text: #565656;
  --line: #e2e3e4;
  --soft: #f2f2f4;
  --white: #ffffff;
  --elegora-bg: #f6f2ec;
  --elegora-text: #242220;
  --elegora-accent: #a85d45;
  --elegora-line: #ded8d1;

  /* Системная типографическая шкала MAGSITE */
  --type-micro: 12px;
  --type-caption: 12px;
  --type-small: 14px;
  --type-body: 16px;
  --type-lead: 18px;
  --type-card: 22px;
  --type-subheading: 28px;
  --type-section: clamp(40px, 3vw, 56px);
  --type-display: clamp(50px, 3.55vw, 68px);
  --type-price: clamp(36px, 2.5vw, 44px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--graphite);
  font-family: var(--font-geist-sans, "Segoe UI"), Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

img,
svg {
  display: block;
}

.shell {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
}

.section {
  padding: 136px 0;
}

.brand-logo {
  width: 212px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  border-bottom: 1px solid rgba(226, 227, 228, 0.86);
  background: rgba(255, 255, 255, 0.91);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo-link {
  flex: 0 0 auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.15vw, 38px);
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  padding: 29px 0 28px;
  color: #3e4248;
  font-size: 13px;
  font-weight: 560;
  transition: color 0.2s ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--blue);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta-short,
.menu-button,
.mobile-menu {
  display: none;
}

.button {
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid var(--blue);
  border-radius: 3px;
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.button:hover {
  border-color: #034bc8;
  background: #034bc8;
  transform: translateY(-2px);
}

.button:focus-visible,
.menu-button:focus-visible,
.faq-item button:focus-visible,
.modal-close:focus-visible {
  outline: 3px solid rgba(4, 90, 244, 0.26);
  outline-offset: 3px;
}

.button svg,
.text-link svg,
.audience-list article > svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.button--small {
  min-height: 42px;
  padding: 0 19px;
  font-size: 12px;
}

.button--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.66);
  color: var(--graphite);
}

.button--ghost:hover,
.button--outline:hover {
  border-color: var(--graphite);
  background: var(--graphite);
  color: var(--white);
}

.button--outline {
  border-color: #cfd1d4;
  background: transparent;
  color: var(--graphite);
}

.button--white {
  border-color: var(--white);
  background: var(--white);
  color: var(--blue);
}

.button--white:hover {
  border-color: var(--graphite);
  background: var(--graphite);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  overflow: hidden;
  background: linear-gradient(118deg, #fff 0%, #fff 51%, #f6f7f9 100%);
}

.hero-grid-bg,
.final-grid {
  position: absolute;
  inset: 0;
  opacity: 0.54;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(24, 30, 36, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 30, 36, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000, transparent 56%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 700px;
  padding: 70px 0 74px;
  display: grid;
  grid-template-columns: minmax(470px, 0.82fr) minmax(620px, 1.18fr);
  align-items: center;
  gap: 50px;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #6d7279;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-kicker span {
  padding: 6px 9px;
  border: 1px solid rgba(4, 90, 244, 0.22);
  background: rgba(4, 90, 244, 0.06);
  color: var(--blue);
}

.hero-kicker > i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
}

.hero h1 {
  margin: 26px 0 24px;
  color: var(--graphite);
  font-size: clamp(56px, 4.45vw, 78px);
  font-weight: 610;
  letter-spacing: -0.068em;
  line-height: 0.94;
}

.hero h1 em {
  color: var(--blue);
  font-style: normal;
  font-weight: 610;
}

.hero-copy > p {
  max-width: 545px;
  margin: 0;
  color: #5d6269;
  font-size: 17px;
  line-height: 1.62;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-proof {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hero-proof span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #767b82;
  font-size: 12px;
}

.hero-proof svg,
.price-card li svg,
.relief-item > svg,
.boundary-title svg,
.consent svg,
.success-state > span svg,
.care-services svg {
  width: 16px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
}

.hero-visual {
  position: relative;
  min-width: 0;
  padding: 55px 0 20px;
  transform: perspective(1700px) rotateY(-2.5deg) rotateX(0.5deg);
  transform-origin: center left;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  inset: 6% -8% 2% 9%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 50%, rgba(4, 90, 244, 0.13), rgba(4, 90, 244, 0.02) 55%, transparent 70%);
  content: "";
  filter: blur(6px);
}

.visual-label {
  position: absolute;
  z-index: 4;
  top: 1px;
  left: 7%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #787d84;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.visual-label span {
  color: var(--blue);
}

.visual-label i {
  width: 26px;
  height: 1px;
  background: #bfc2c7;
}

.browser-mockup {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(169, 174, 182, 0.68);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 32px 65px rgba(20, 29, 40, 0.15), 0 4px 16px rgba(20, 29, 40, 0.06);
}

.browser-bar {
  height: 31px;
  padding: 0 10px;
  display: grid;
  grid-template-columns: 1fr 2.1fr 1fr;
  align-items: center;
  border-bottom: 1px solid #e5e6e8;
  background: #f5f6f7;
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c5c8cc;
}

.browser-dots i:first-child {
  background: #045af4;
}

.browser-address {
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid #e3e4e6;
  border-radius: 4px;
  background: #fff;
  color: #90949a;
  font-size: 12px;
}

.browser-address span {
  color: #51a064;
}

.browser-actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
}

.browser-actions i {
  width: 11px;
  height: 2px;
  background: #c6c8cc;
}

.store-screen {
  overflow: hidden;
  background: var(--elegora-bg);
  color: var(--elegora-text);
}

.store-head {
  height: 47px;
  padding: 0 3.3%;
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--elegora-bg);
}

.elegora-logo {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--elegora-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.elegora-mark {
  width: 17px;
  height: 17px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--elegora-accent);
  color: var(--elegora-accent);
  font-family: Georgia, serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.store-nav,
.store-tools {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 12px;
  font-weight: 600;
}

.store-nav {
  margin-left: auto;
}

.store-tools {
  gap: 12px;
  color: #746f69;
}

.store-hero {
  position: relative;
  height: clamp(245px, 25.5vw, 346px);
  overflow: hidden;
}

.store-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 18, 14, 0.54), rgba(22, 18, 14, 0.04) 58%);
  content: "";
}

.store-hero-copy {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 7%;
  color: #fff;
  transform: translateY(-50%);
}

.store-hero-copy > span {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.store-hero-copy h3 {
  max-width: 370px;
  margin: 9px 0 13px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.4vw, 35px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.store-hero-copy button {
  height: 25px;
  padding: 0 12px;
  border: 0;
  background: var(--elegora-accent);
  color: #fff;
  font-size: 12px;
}

.store-product-row {
  min-height: 96px;
  padding: 10px 3.5%;
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr;
  align-items: center;
  gap: 10px;
  background: var(--elegora-bg);
}

.store-product-row > span {
  align-self: start;
  padding-top: 4px;
  font-family: Georgia, serif;
  font-size: 14px;
}

.store-product-row > div {
  display: grid;
  grid-template-columns: 70px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 9px;
}

.store-product-row img {
  width: 70px;
  height: 65px;
  grid-row: 1 / 3;
  object-fit: cover;
}

.store-product-row b {
  align-self: end;
  font-size: 12px;
}

.store-product-row small {
  align-self: start;
  color: #726b64;
  font-size: 12px;
}

.phone-mockup {
  position: relative;
  overflow: hidden;
  width: 174px;
  padding: 7px;
  border: 1px solid #9fa4aa;
  border-radius: 27px;
  background: #17191c;
  box-shadow: 0 24px 45px rgba(16, 24, 34, 0.25);
}

.phone-speaker {
  position: absolute;
  z-index: 4;
  top: 12px;
  left: 50%;
  width: 42px;
  height: 8px;
  border-radius: 0 0 7px 7px;
  background: #17191c;
  transform: translateX(-50%);
}

.store-mobile-screen {
  min-height: 320px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--elegora-bg);
}

.store-mobile-head {
  height: 33px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.store-mobile-head .elegora-mark {
  width: 11px;
  height: 11px;
  font-size: 12px;
}

.store-mobile-word {
  font-family: Georgia, serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.17em;
}

.store-mobile-menu {
  width: 12px;
  height: 6px;
  margin-left: auto;
  border-top: 1px solid #34302c;
  border-bottom: 1px solid #34302c;
}

.store-mobile-screen > img {
  width: 100%;
  height: 127px;
  object-fit: cover;
}

.store-mobile-copy {
  padding: 13px 11px 10px;
}

.store-mobile-copy small {
  display: block;
  color: var(--elegora-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.store-mobile-copy strong {
  margin: 4px 0 7px;
  display: block;
  font-family: Georgia, serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

.store-mobile-copy span {
  color: var(--elegora-accent);
  font-size: 12px;
}

.store-mobile-products {
  padding: 0 10px 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.store-mobile-products img {
  width: 100%;
  height: 62px;
  object-fit: cover;
}

.hero-phone {
  position: absolute;
  z-index: 5;
  right: -4%;
  bottom: -5%;
  transform: rotate(1.8deg);
}

.visual-note {
  position: absolute;
  left: -2.5%;
  bottom: -2%;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #8b9097;
  font-size: 12px;
  line-height: 1.3;
  text-transform: uppercase;
}

.visual-note i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #cfd2d6;
  border-radius: 50%;
  color: var(--blue);
  font-size: 12px;
  font-style: normal;
}

.hero-bottom {
  position: relative;
  z-index: 3;
  min-height: 65px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--line);
  color: #777c82;
  font-size: 12px;
  letter-spacing: 0.035em;
}

.hero-bottom i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--blue);
}

.section-head {
  max-width: 850px;
}

.eyebrow {
  color: var(--blue);
}

.eyebrow i {
  width: 22px;
  height: 1px;
  background: currentColor;
}

.section-head h2,
.final-inner h2,
.modal-head h2,
.success-state h2 {
  margin: 20px 0 21px;
  color: var(--graphite);
  font-size: clamp(43px, 4.2vw, 67px);
  font-weight: 580;
  letter-spacing: -0.058em;
  line-height: 1.01;
}

.section-head p {
  max-width: 710px;
  margin: 0;
  color: #686d73;
  font-size: 16px;
  line-height: 1.65;
}

.section-head--light h2,
.section-head--light p {
  color: #fff;
}

.section-head--light p {
  color: #aeb2b7;
}

.solution {
  background: #fff;
}

.benefit-grid {
  margin-top: 67px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.benefit-card {
  position: relative;
  min-height: 370px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit-card:hover {
  border-color: #bac4d2;
  box-shadow: 0 18px 45px rgba(18, 28, 40, 0.07);
  transform: translateY(-5px);
}

.card-index {
  color: #a3a7ac;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.11em;
}

.benefit-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
  font-weight: 610;
  letter-spacing: -0.035em;
}

.benefit-card p {
  margin: 0;
  color: #72767c;
  font-size: 13px;
  line-height: 1.63;
}

.benefit-card--lead {
  background: var(--soft);
}

.benefit-card--dark {
  border-color: var(--graphite);
  background: var(--graphite);
  color: #fff;
}

.benefit-card--dark .card-index,
.benefit-card--dark p {
  color: #aeb2b7;
}

.benefit-orbit,
.benefit-line,
.benefit-pulse,
.benefit-one {
  position: absolute;
  top: 72px;
  right: 23px;
  left: 23px;
  height: 150px;
}

.benefit-orbit {
  border: 1px solid #d1d3d7;
  border-radius: 50%;
  transform: rotate(-12deg) scaleY(0.5);
}

.benefit-orbit::before,
.benefit-orbit::after {
  position: absolute;
  inset: 18px;
  border: 1px solid #d8dadd;
  border-radius: 50%;
  content: "";
}

.benefit-orbit::after {
  inset: 39px;
  background: var(--blue);
  box-shadow: 0 0 0 12px rgba(4, 90, 244, 0.1);
}

.benefit-line {
  top: 105px;
  right: 27px;
  left: 27px;
  height: 60px;
  border-top: 1px solid #bfc3c8;
  border-bottom: 1px solid #bfc3c8;
}

.benefit-line::before {
  position: absolute;
  top: -14px;
  right: 23%;
  bottom: -14px;
  width: 1px;
  background: #ced1d5;
  content: "";
}

.benefit-line i:first-child,
.benefit-line i:last-child {
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--blue);
  transform: translateY(-50%);
}

.benefit-line i:first-child { left: 10%; }
.benefit-line i:last-child { right: 20%; box-shadow: 0 0 0 8px rgba(4, 90, 244, 0.12); }

.benefit-pulse {
  top: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-pulse i {
  position: absolute;
  width: 64px;
  height: 64px;
  border: 1px solid #cfd2d6;
  border-radius: 50%;
}

.benefit-pulse i:nth-child(2) { width: 104px; height: 104px; border-color: #d9dbde; }
.benefit-pulse i:nth-child(3) { width: 12px; height: 12px; border: 0; background: var(--blue); box-shadow: 0 0 0 10px rgba(4, 90, 244, 0.12); }

.benefit-one {
  top: 65px;
  height: 155px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 145px;
  font-weight: 250;
  letter-spacing: -0.1em;
  line-height: 1;
  opacity: 0.95;
}

.benefit-one::after {
  position: absolute;
  right: 21%;
  bottom: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.not-builder {
  position: relative;
  overflow: hidden;
  background: var(--dark);
}

.not-builder::before,
.care::before {
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 0.65px, transparent 0.65px);
  background-size: 14px 14px;
  content: "";
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}

.not-builder-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 105px;
}

.not-builder-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.statement {
  margin-top: 70px;
  padding-top: 24px;
  border-top: 1px solid #3f4246;
  color: #898e93;
  font-size: 17px;
  line-height: 1.6;
}

.statement strong {
  color: #fff;
  font-weight: 550;
}

.relief-list {
  border-top: 1px solid #414347;
}

.relief-item {
  min-height: 89px;
  display: grid;
  grid-template-columns: 48px 1fr 24px;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #414347;
}

.relief-item > span {
  color: #6f747a;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.relief-item div {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: center;
  gap: 25px;
}

.relief-item s,
.relief-item b {
  font-size: 13px;
}

.relief-item s {
  color: #6f7378;
}

.relief-item b {
  color: #f4f5f6;
  font-weight: 530;
}

.relief-item > svg {
  width: 19px;
}

.process {
  background: var(--soft);
}

.steps {
  margin-top: 74px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.step {
  min-height: 245px;
  padding-right: 26px;
}

.step-top {
  display: flex;
  align-items: center;
  gap: 17px;
}

.step-top span {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid #cfd2d7;
  border-radius: 50%;
  background: var(--soft);
  color: var(--blue);
  font-size: 12px;
  font-weight: 650;
}

.step-top i {
  width: 100%;
  height: 1px;
  background: #cfd2d7;
}

.step h3 {
  margin: 39px 0 12px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.step p {
  max-width: 245px;
  margin: 0;
  color: #70757b;
  font-size: 13px;
  line-height: 1.65;
}

.demo {
  overflow: hidden;
  background: #fff;
}

.demo-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.text-link {
  padding: 10px 0;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid var(--graphite);
  font-size: 13px;
  font-weight: 600;
}

.text-link:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.demo-stage {
  position: relative;
  min-height: 760px;
  margin-top: 65px;
  padding: 88px 85px 0;
  overflow: hidden;
  background: #ebe4dc;
}

.demo-stage::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 33%;
  height: 100%;
  background: #ddd1c5;
  content: "";
}

.demo-stage-head {
  position: absolute;
  z-index: 4;
  top: 25px;
  right: 34px;
  left: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.demo-stage-head > span {
  color: #756c63;
  font-family: Georgia, serif;
  font-size: 12px;
  font-style: italic;
}

.browser-mockup--large {
  z-index: 2;
  width: 93%;
  box-shadow: 0 34px 80px rgba(65, 49, 36, 0.22);
}

.browser-mockup--large .store-hero {
  height: 420px;
}

.demo-phone {
  position: absolute;
  z-index: 5;
  right: 4%;
  bottom: 36px;
  width: 207px;
}

.demo-phone .store-mobile-screen {
  min-height: 386px;
}

.demo-phone .store-mobile-screen > img {
  height: 161px;
}

.demo-tags {
  position: absolute;
  z-index: 5;
  right: 32%;
  bottom: 28px;
  display: flex;
  gap: 7px;
}

.demo-tags span {
  padding: 7px 11px;
  border: 1px solid rgba(36, 34, 32, 0.16);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.58);
  color: #615a54;
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
}

.demo-footnote {
  padding: 24px 0 0;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  border-top: 0;
  color: #72777c;
  font-size: 12px;
}

.demo-footnote span {
  color: var(--graphite);
  font-weight: 650;
}

.demo-footnote p {
  max-width: 570px;
  margin: 0;
  line-height: 1.6;
}

.included {
  background: var(--soft);
}

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

.included-groups {
  border-top: 1px solid #cfd2d6;
}

.included-groups article {
  min-height: 190px;
  padding: 28px 0;
  display: grid;
  grid-template-columns: 50px 165px 1fr;
  gap: 20px;
  border-bottom: 1px solid #cfd2d6;
}

.included-groups article > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 650;
}

.included-groups h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 590;
  letter-spacing: -0.04em;
}

.included-groups ul,
.price-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.included-groups li {
  position: relative;
  margin-bottom: 13px;
  padding-left: 17px;
  color: #63686e;
  font-size: 13px;
}

.included-groups li::before {
  position: absolute;
  top: 7px;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.pricing {
  background: #fff;
}

.pricing-head {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: end;
}

.monthly-note {
  padding: 18px 0 17px 22px;
  border-left: 2px solid var(--blue);
  display: flex;
  flex-direction: column;
}

.monthly-note > span {
  margin-bottom: 8px;
  color: #8d9197;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.monthly-note b {
  font-size: 29px;
  font-weight: 610;
  letter-spacing: -0.045em;
}

.monthly-note b small {
  color: #85898f;
  font-size: 12px;
  font-weight: 450;
}

.monthly-note p {
  margin: 5px 0 0;
  color: #6e7379;
  font-size: 12px;
}

.pricing-grid {
  margin-top: 65px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.price-card {
  min-height: 525px;
  padding: 29px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.price-card:hover {
  box-shadow: 0 20px 50px rgba(22, 30, 40, 0.09);
  transform: translateY(-5px);
}

.price-card--active {
  position: relative;
  border: 2px solid var(--blue);
  padding: 28px;
}

.price-card--active::before {
  position: absolute;
  top: -2px;
  right: 28px;
  padding: 7px 10px;
  background: var(--blue);
  color: #fff;
  content: "БАЗОВЫЙ";
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.price-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-card-top span {
  color: #999da3;
  font-size: 12px;
}

.price-card-top b {
  font-size: 12px;
  letter-spacing: 0.12em;
}

.price {
  margin: 55px 0 25px;
}

.price strong {
  display: block;
  font-size: clamp(34px, 3vw, 44px);
  font-weight: 590;
  letter-spacing: -0.055em;
}

.price-card--individual .price strong {
  max-width: 280px;
  font-size: clamp(26px, 2.25vw, 34px);
  line-height: 1.05;
}

.price > span {
  margin-top: 6px;
  display: block;
  color: #92969c;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price-card > p {
  min-height: 68px;
  margin: 0;
  color: #6c7177;
  font-size: 13px;
  line-height: 1.65;
}

.price-card ul {
  margin: 26px 0 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.price-card li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #555a60;
  font-size: 12px;
}

.price-card .button {
  width: 100%;
  margin-top: auto;
}

.pricing-disclaimer {
  margin: 20px 0 0;
  color: #8a8e94;
  font-size: 12px;
  line-height: 1.5;
}

.care {
  position: relative;
  overflow: hidden;
  background: var(--dark);
}

.care::after {
  position: absolute;
  top: -35%;
  left: -10%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: rgba(4, 90, 244, 0.13);
  content: "";
  filter: blur(120px);
}

.care-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
  align-items: center;
}

.care-price {
  margin-top: 70px;
  display: flex;
  flex-direction: column;
}

.care-price span {
  color: #777c82;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.care-price strong {
  margin: 7px 0 4px;
  color: #fff;
  font-size: 54px;
  font-weight: 550;
  letter-spacing: -0.06em;
}

.care-price small {
  color: #8f949a;
  font-size: 12px;
}

.care-board {
  padding: 26px;
  border: 1px solid #3b3e43;
  background: rgba(26, 27, 29, 0.82);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
}

.care-board-head {
  padding-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #3c3f43;
}

.care-board-head span {
  color: #8f9499;
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.care-board-head b {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f3f4f5;
  font-size: 12px;
  font-weight: 550;
}

.care-board-head b i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #39c869;
  box-shadow: 0 0 0 5px rgba(57, 200, 105, 0.1);
}

.care-monitor {
  padding: 25px 0;
  border-bottom: 1px solid #3c3f43;
}

.monitor-line {
  margin-bottom: 17px;
  display: grid;
  grid-template-columns: 120px 1fr 55px;
  align-items: center;
  gap: 14px;
}

.monitor-line:last-child {
  margin-bottom: 0;
}

.monitor-line span,
.monitor-line strong {
  color: #a4a8ad;
  font-size: 12px;
  font-weight: 500;
}

.monitor-line strong {
  color: #e3e5e7;
  text-align: right;
}

.monitor-line > i {
  height: 3px;
  display: block;
  overflow: hidden;
  background: #35383b;
}

.monitor-line > i b {
  height: 100%;
  display: block;
  background: var(--blue);
}

.care-services {
  padding-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 25px;
}

.care-services > span {
  min-height: 38px;
  display: grid;
  grid-template-columns: 24px 1fr 18px;
  align-items: center;
  border-bottom: 1px solid #313438;
  color: #c7c9cc;
  font-size: 12px;
}

.care-services span > i {
  color: #646a71;
  font-size: 12px;
  font-style: normal;
}

.care-services svg {
  width: 13px;
}

.content-work {
  background: #fff;
}

.boundary-grid {
  margin-top: 65px;
  display: grid;
  grid-template-columns: 1fr 54px 1fr;
  align-items: stretch;
}

.boundary-card {
  min-height: 330px;
  padding: 34px;
  border: 1px solid var(--line);
  background: #fff;
}

.boundary-card--included {
  border-color: rgba(4, 90, 244, 0.22);
  background: rgba(4, 90, 244, 0.035);
}

.boundary-title {
  display: flex;
  align-items: flex-start;
  gap: 19px;
}

.boundary-title > span {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid #ccd0d5;
  border-radius: 50%;
  color: var(--blue);
  font-size: 22px;
}

.boundary-title small {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.boundary-title h3 {
  margin: 8px 0 0;
  font-size: 24px;
  font-weight: 590;
  letter-spacing: -0.04em;
}

.boundary-card > p {
  max-width: 500px;
  margin: 60px 0 0 63px;
  color: #6e7379;
  font-size: 13px;
  line-height: 1.7;
}

.boundary-divider {
  display: grid;
  place-items: center;
}

.boundary-divider span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: #8a8e94;
}

.content-tags {
  margin: 52px 0 0 63px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.content-tags span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: var(--soft);
  color: #676c72;
  font-size: 12px;
}

.audience {
  background: var(--soft);
}

.audience-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 100px;
}

.audience-list {
  border-top: 1px solid #cdd0d4;
}

.audience-list article {
  min-height: 126px;
  display: grid;
  grid-template-columns: 55px 1fr 32px;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid #cdd0d4;
  transition: padding 0.2s ease, background 0.2s ease;
}

.audience-list article:hover {
  padding: 0 18px;
  background: #fff;
}

.audience-list article > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 650;
}

.audience-list h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.audience-list p {
  margin: 0;
  color: #73787e;
  font-size: 12px;
}

.audience-list article > svg {
  color: #8c9197;
}

.faq {
  background: #fff;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 110px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 120px;
}

.faq-intro .button {
  margin-top: 42px;
}

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

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item > button {
  width: 100%;
  min-height: 84px;
  padding: 0;
  display: grid;
  grid-template-columns: 48px 1fr 28px;
  align-items: center;
  gap: 15px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.faq-item button > span {
  color: #9ca0a5;
  font-size: 12px;
}

.faq-item button > b {
  font-size: 15px;
  font-weight: 570;
}

.faq-item button > i {
  position: relative;
  width: 22px;
  height: 22px;
  border: 1px solid #cfd2d6;
  border-radius: 50%;
}

.faq-item button > i::before,
.faq-item button > i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 1px;
  background: var(--graphite);
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.faq-item button > i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open button > i {
  border-color: var(--blue);
  background: var(--blue);
}

.faq-item.is-open button > i::before,
.faq-item.is-open button > i::after {
  background: #fff;
}

.faq-item.is-open button > i::after {
  transform: translate(-50%, -50%) rotate(0);
}

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

.faq-answer p {
  max-width: 620px;
  margin: 0;
  overflow: hidden;
  color: #6e7379;
  font-size: 13px;
  line-height: 1.7;
}

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

.faq-item.is-open .faq-answer p {
  padding: 0 40px 26px 63px;
}

.final-cta {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: #fff;
  text-align: center;
}

.final-cta::before,
.final-cta::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  content: "";
}

.final-cta::before {
  top: -360px;
  left: 50%;
  width: 780px;
  height: 780px;
  transform: translateX(-50%);
}

.final-cta::after {
  top: -250px;
  left: 50%;
  width: 560px;
  height: 560px;
  transform: translateX(-50%);
}

.final-grid {
  opacity: 0.2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.26) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.26) 1px, transparent 1px);
  mask-image: none;
}

.final-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.75);
}

.final-inner h2 {
  margin: 25px 0 23px;
  color: #fff;
  font-size: clamp(55px, 5.5vw, 84px);
}

.final-inner p {
  max-width: 620px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.6;
}

.site-footer {
  padding: 79px 0 29px;
  background: var(--graphite);
  color: #fff;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 0.7fr 0.8fr 0.9fr;
  gap: 70px;
}

.footer-brand .brand-logo {
  width: 200px;
}

.footer-brand p {
  margin: 30px 0 0;
  color: #8e949a;
  font-size: 12px;
  line-height: 1.7;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.footer-col > span {
  margin-bottom: 12px;
  color: #6e747b;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col button,
.footer-col b {
  padding: 0;
  border: 0;
  background: transparent;
  color: #d0d3d6;
  cursor: pointer;
  font-size: 12px;
  font-weight: 450;
  text-align: left;
}

.footer-col b {
  color: #fff;
  font-weight: 580;
}

.footer-col a:hover,
.footer-col button:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 75px;
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid #34383d;
  color: #6d737a;
  font-size: 12px;
}

.footer-bottom div {
  display: flex;
  gap: 25px;
}

.footer-bottom a:hover {
  color: #fff;
}

.modal {
  position: fixed;
  z-index: 200;
  inset: 0;
  padding: 28px;
  display: grid;
  place-items: center;
  overflow-y: auto;
  background: rgba(13, 17, 21, 0.76);
  backdrop-filter: blur(10px);
  animation: modal-in 0.24s ease both;
}

.modal-panel {
  position: relative;
  width: min(1030px, 100%);
  max-height: calc(100vh - 56px);
  padding: 55px;
  overflow-y: auto;
  background: #fff;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.32);
  animation: panel-in 0.3s ease both;
}

.modal-close {
  position: absolute;
  z-index: 5;
  top: 24px;
  right: 24px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.modal-close i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 1px;
  background: var(--graphite);
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal-close i:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.modal-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  column-gap: 65px;
}

.modal-head .eyebrow {
  grid-column: 1 / -1;
}

.modal-head h2 {
  margin-bottom: 0;
  font-size: clamp(42px, 4.4vw, 62px);
}

.modal-head > p {
  margin: 0 0 7px;
  color: #6d7278;
  font-size: 13px;
  line-height: 1.7;
}

.connect-form {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-grid label > span {
  color: #60656b;
  font-size: 12px;
  font-weight: 600;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid #d8dade;
  border-radius: 0;
  outline: none;
  background: #fff;
  color: var(--graphite);
  font-size: 13px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-grid textarea {
  min-height: 105px;
  padding-top: 13px;
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(4, 90, 244, 0.08);
}

.form-grid input::placeholder,
.form-grid textarea::placeholder {
  color: #adb0b5;
}

.field-note {
  color: #7c8188;
  font-size: var(--type-caption);
  line-height: 1.5;
}

.solution-picker {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label,
.solution-picker-panel label > span {
  color: #60656b;
  font-size: var(--type-caption);
  font-weight: 600;
}

.solution-picker-toggle {
  width: 100%;
  min-height: 48px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid #d8dade;
  background: #fff;
  color: var(--graphite);
  font-size: var(--type-small);
  text-align: left;
  cursor: pointer;
}

.solution-picker-toggle > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.solution-picker-toggle > i {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.solution-picker.is-open .solution-picker-toggle {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(4, 90, 244, 0.08);
}

.solution-picker.is-open .solution-picker-toggle > i {
  transform: translateY(2px) rotate(225deg);
}

.solution-picker-panel {
  position: absolute;
  z-index: 30;
  top: 76px;
  right: 0;
  left: 0;
  padding: 16px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
  border: 1px solid #d8dade;
  background: #fff;
  box-shadow: 0 18px 45px rgba(24, 30, 36, 0.15);
}

.solution-picker-panel[hidden],
.solution-picker-selected[hidden],
.plan-summary [hidden] {
  display: none !important;
}

.solution-picker-panel label {
  gap: 6px;
}

.solution-picker-panel input,
.solution-picker-panel select {
  min-height: 42px;
}

.solution-picker-results {
  max-height: 280px;
  grid-column: 1 / -1;
  overflow-y: auto;
  border-top: 1px solid var(--line);
}

.solution-picker-results > p {
  margin: 0;
  padding: 20px 4px 8px;
  color: #737980;
  font-size: var(--type-caption);
  line-height: 1.55;
}

.solution-picker-results > div {
  min-height: 58px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
}

.solution-picker-results button {
  padding: 10px 8px 10px 4px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.solution-picker-results button:hover strong,
.solution-picker-results button:focus-visible strong,
.solution-picker-results > div > a:hover {
  color: var(--blue);
}

.solution-picker-results strong {
  font-size: var(--type-small);
  line-height: 1.35;
}

.solution-picker-results button span {
  color: #737980;
  font-size: var(--type-caption);
}

.solution-picker-results > div > a {
  padding: 0 4px 0 12px;
  display: flex;
  align-items: center;
  color: #5d636a;
  font-size: var(--type-caption);
  font-weight: 650;
}

.solution-picker-clear {
  width: fit-content;
  grid-column: 1 / -1;
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: var(--type-caption);
  font-weight: 650;
  cursor: pointer;
}

.solution-picker-selected {
  color: #737980;
  font-size: var(--type-caption);
  line-height: 1.45;
}

.solution-picker-selected a {
  color: var(--blue);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.plan-summary {
  min-height: 165px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  border: 1px solid #d9e4fb;
  background: #f7faff;
}

.plan-summary > span {
  color: #60656b;
  font-size: var(--type-caption);
  font-weight: 600;
}

.plan-summary > strong {
  margin-top: 9px;
  color: var(--blue);
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 1.1;
}

.plan-summary > p {
  margin: 9px 0 16px;
  color: #626970;
  font-size: var(--type-caption);
  line-height: 1.5;
}

.plan-summary > div {
  margin-top: auto;
  padding-top: 13px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #d9e4fb;
}

.plan-summary > div span,
.plan-summary > div b,
.plan-summary > small {
  font-size: var(--type-caption);
}

.plan-summary > div b {
  white-space: nowrap;
}

.plan-summary > small {
  margin-top: 12px;
  color: #626970;
  line-height: 1.5;
}

.form-wide {
  grid-column: 1 / -1;
}

.consent {
  margin-top: 23px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.consent input {
  position: absolute;
  opacity: 0;
}

.consent > i {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid #cfd2d6;
  background: #fff;
  font-style: normal;
}

.consent svg {
  width: 12px;
  opacity: 0;
}

.consent input:checked + i {
  border-color: var(--blue);
  background: var(--blue);
}

.consent input:checked + i svg {
  stroke: #fff;
  opacity: 1;
}

.consent > span {
  color: #7a7f85;
  font-size: 12px;
  line-height: 1.55;
}

.form-submit {
  min-width: 220px;
  margin-top: 28px;
}

.success-state {
  min-height: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.success-state > span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(4, 90, 244, 0.08);
}

.success-state > span svg {
  width: 28px;
}

.success-state > small {
  margin-top: 25px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.success-state h2 {
  margin: 18px 0;
}

.success-state p {
  max-width: 520px;
  margin: 0 0 30px;
  color: #6b7076;
  font-size: 13px;
  line-height: 1.7;
}

@keyframes modal-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 1180px) {
  .shell { width: min(100% - 48px, 1180px); }
  .desktop-nav { gap: 17px; }
  .desktop-nav a { font-size: 12px; }
  .header-cta { padding: 0 14px; }
  .hero-inner { grid-template-columns: 0.88fr 1.12fr; gap: 30px; }
  .hero h1 { font-size: clamp(52px, 5.4vw, 66px); }
  .hero-phone { right: -2%; width: 150px; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .benefit-card { min-height: 340px; }
  .not-builder-grid, .care-grid { gap: 60px; }
  .demo-stage { min-height: 660px; padding: 78px 55px 0; }
  .browser-mockup--large .store-hero { height: 350px; }
  .included-grid, .audience-grid { gap: 60px; }
  .faq-grid { gap: 70px; }
  .footer-top { gap: 35px; }
}

@media (max-width: 960px) {
  .section { padding: 105px 0; }
  .desktop-nav { display: none; }
  .menu-button { width: 42px; height: 42px; position: relative; display: block; border: 1px solid var(--line); background: #fff; cursor: pointer; }
  .menu-button i { position: absolute; left: 11px; width: 18px; height: 1px; background: var(--graphite); transition: transform 0.2s ease, top 0.2s ease; }
  .menu-button i:first-child { top: 16px; }
  .menu-button i:last-child { top: 24px; }
  .menu-button.is-open i:first-child { top: 20px; transform: rotate(45deg); }
  .menu-button.is-open i:last-child { top: 20px; transform: rotate(-45deg); }
  .mobile-menu { max-height: 0; display: block; overflow: hidden; border-top: 0 solid var(--line); background: #fff; transition: max-height 0.35s ease, border-width 0.2s ease; }
  .mobile-menu.is-open { max-height: 520px; border-top-width: 1px; }
  .mobile-menu nav { width: min(100% - 48px, 1180px); margin: 0 auto; padding: 12px 0 24px; display: flex; flex-direction: column; }
  .mobile-menu a { padding: 17px 0; display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); font-size: 20px; font-weight: 570; letter-spacing: -0.03em; }
  .mobile-menu a span { color: var(--blue); font-size: 12px; letter-spacing: 0.1em; }
  .hero { min-height: auto; }
  .hero-inner { min-height: 0; padding: 76px 0 90px; grid-template-columns: 1fr; gap: 72px; }
  .hero-copy { max-width: 750px; }
  .hero h1 { font-size: clamp(58px, 8.5vw, 78px); }
  .hero-visual { width: 91%; margin-left: 2%; }
  .store-hero { height: clamp(300px, 49vw, 440px); }
  .hero-phone { right: -7%; bottom: -8%; width: 170px; }
  .hero-bottom { min-height: 70px; }
  .not-builder-grid, .care-grid, .included-grid, .audience-grid, .faq-grid { grid-template-columns: 1fr; }
  .not-builder-grid { gap: 75px; }
  .statement { margin-top: 45px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 45px; }
  .step { min-height: 210px; }
  .step:nth-child(2) .step-top i { display: none; }
  .demo-title-row { align-items: flex-start; flex-direction: column; }
  .demo-stage { min-height: 590px; padding: 75px 35px 0; }
  .browser-mockup--large { width: 95%; }
  .browser-mockup--large .store-hero { height: 315px; }
  .demo-phone { width: 170px; }
  .pricing-head { grid-template-columns: 1fr; }
  .monthly-note { max-width: 310px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card { min-height: auto; }
  .price-card > p { min-height: 0; }
  .care-grid { gap: 70px; }
  .boundary-grid { grid-template-columns: 1fr; gap: 0; }
  .boundary-divider { height: 54px; }
  .faq-intro { position: static; }
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-contacts { grid-column: 2 / 3; }
  .modal-head { grid-template-columns: 1fr; }
  .modal-head > p { max-width: 500px; margin-top: 18px; }
}

@media (max-width: 680px) {
  .shell { width: calc(100% - 32px); }
  .section { padding: 82px 0; }
  .header-inner { min-height: 68px; gap: 8px; }
  .brand-logo { width: 155px; }
  .header-cta { min-height: 38px; padding: 0 12px; font-size: 12px; }
  .header-cta-full { display: none; }
  .header-cta-short { display: inline; }
  .menu-button { width: 38px; height: 38px; }
  .menu-button i { left: 10px; }
  .menu-button i:first-child { top: 14px; }
  .menu-button i:last-child { top: 22px; }
  .menu-button.is-open i:first-child, .menu-button.is-open i:last-child { top: 18px; }
  .mobile-menu nav { width: calc(100% - 32px); }
  .hero-inner { padding: 52px 0 70px; gap: 55px; }
  .hero-kicker { gap: 7px; font-size: 12px; }
  .hero-kicker span { padding: 5px 7px; }
  .hero h1 { margin-top: 22px; font-size: clamp(43px, 13vw, 61px); line-height: 0.98; }
  .hero-copy > p { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-proof { gap: 12px; flex-direction: column; }
  .hero-visual { width: 112%; margin-left: 0; padding-top: 45px; transform: none; }
  .visual-label { left: 0; }
  .browser-bar { height: 24px; }
  .store-head { height: 36px; padding: 0 2.5%; gap: 10px; }
  .elegora-logo { gap: 4px; font-size: 12px; }
  .elegora-mark { width: 12px; height: 12px; font-size: 12px; }
  .store-nav { gap: 7px; font-size: 12px; }
  .store-tools { display: none; }
  .store-hero { height: 215px; }
  .store-hero-copy h3 { font-size: 22px; }
  .store-product-row { min-height: 82px; grid-template-columns: 0.65fr 1fr 1fr; }
  .store-product-row > div { grid-template-columns: 47px 1fr; }
  .store-product-row img { width: 47px; height: 49px; }
  .store-product-row > span { font-size: 12px; }
  .hero-phone { right: 0; bottom: -15%; width: 127px; padding: 5px; border-radius: 21px; }
  .hero-phone .store-mobile-screen { min-height: 250px; border-radius: 16px; }
  .hero-phone .store-mobile-screen > img { height: 100px; }
  .hero-phone .store-mobile-copy strong { font-size: 12px; }
  .hero-phone .store-mobile-products img { height: 42px; }
  .visual-note { display: none; }
  .hero-bottom { min-height: 80px; flex-wrap: wrap; gap: 8px 12px; font-size: 12px; }
  .section-head h2, .final-inner h2, .modal-head h2, .success-state h2 { font-size: clamp(37px, 11vw, 50px); }
  .section-head p { font-size: 14px; }
  .benefit-grid { margin-top: 45px; grid-template-columns: 1fr; }
  .benefit-card { min-height: 330px; }
  .not-builder-grid { gap: 58px; }
  .relief-item { min-height: 86px; grid-template-columns: 30px 1fr 19px; }
  .relief-item div { grid-template-columns: 1fr; gap: 5px; }
  .relief-item s, .relief-item b { font-size: 12px; }
  .steps { margin-top: 52px; grid-template-columns: 1fr; gap: 0; }
  .step { min-height: 185px; }
  .step-top i, .step:nth-child(2) .step-top i { display: block; }
  .step:last-child .step-top i { display: none; }
  .demo-title-row { gap: 20px; }
  .demo-stage { min-height: 455px; margin-top: 42px; padding: 62px 12px 0; overflow: visible; }
  .demo-stage-head { right: 16px; left: 16px; }
  .demo-stage-head > span { max-width: 130px; font-size: 12px; text-align: right; }
  .browser-mockup--large { width: 100%; }
  .browser-mockup--large .store-hero { height: 210px; }
  .demo-phone { right: -8px; bottom: -22px; width: 118px; padding: 4px; border-radius: 19px; }
  .demo-phone .store-mobile-screen { min-height: 250px; border-radius: 15px; }
  .demo-phone .store-mobile-screen > img { height: 103px; }
  .demo-phone .store-mobile-copy strong { font-size: 12px; }
  .demo-phone .store-mobile-products img { height: 40px; }
  .demo-tags { right: auto; bottom: 14px; left: 19px; max-width: 210px; flex-wrap: wrap; }
  .demo-tags span { padding: 5px 7px; font-size: 12px; }
  .demo-footnote { margin-top: 35px; grid-template-columns: 1fr; gap: 8px; }
  .included-grid, .audience-grid, .faq-grid { gap: 50px; }
  .included-groups article { min-height: 0; grid-template-columns: 35px 1fr; gap: 12px; }
  .included-groups ul { grid-column: 2 / 3; }
  .pricing-head { gap: 35px; }
  .pricing-grid { margin-top: 45px; }
  .price-card { padding: 23px; }
  .price-card--active { padding: 22px; }
  .price { margin-top: 48px; }
  .care-price { margin-top: 42px; }
  .care-board { padding: 17px; }
  .monitor-line { grid-template-columns: 88px 1fr 42px; gap: 8px; }
  .care-services { grid-template-columns: 1fr; }
  .boundary-card { min-height: 0; padding: 24px; }
  .boundary-title { gap: 13px; }
  .boundary-title h3 { font-size: 20px; }
  .boundary-card > p, .content-tags { margin: 35px 0 0; }
  .audience-list article { min-height: 115px; grid-template-columns: 35px 1fr 24px; gap: 10px; }
  .audience-list h3 { font-size: 16px; }
  .faq-item > button { min-height: 78px; grid-template-columns: 30px 1fr 26px; gap: 8px; }
  .faq-item button > b { font-size: 13px; }
  .faq-item.is-open .faq-answer p { padding: 0 20px 23px 38px; }
  .final-inner h2 { font-size: clamp(42px, 13vw, 60px); }
  .final-inner p { font-size: 14px; }
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contacts { grid-column: auto; }
  .footer-bottom { margin-top: 55px; align-items: flex-start; flex-direction: column; }
  .footer-bottom div { flex-direction: column; gap: 10px; }
  .modal { padding: 0; align-items: stretch; }
  .modal-panel { max-height: 100vh; min-height: 100vh; padding: 70px 20px 35px; }
  .modal-close { top: 17px; right: 17px; }
  .modal-head h2 { font-size: 43px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-wide { grid-column: auto; }
  .solution-picker-panel { grid-template-columns: 1fr; }
  .form-submit { width: 100%; }
}

/*
 * Единая типографическая система.
 * Обычный интерфейсный текст — не меньше 12px.
 * 10px используется только для служебных индексов и уменьшенных demo-макетов.
 */

.desktop-nav a,
.button,
.text-link,
.included-groups li,
.price-card li,
.boundary-card > p,
.audience-list p,
.faq-answer p,
.footer-brand p,
.modal-head > p,
.form-grid input,
.form-grid select,
.form-grid textarea,
.success-state p {
  font-size: var(--type-small);
}

.button--small,
.hero-kicker,
.eyebrow,
.hero-proof span,
.hero-bottom,
.demo-footnote,
.monthly-note p,
.price > span,
.pricing-disclaimer,
.care-price small,
.care-board-head b,
.care-services > span,
.content-tags span,
.footer-col a,
.footer-col button,
.footer-col b,
.consent > span {
  font-size: var(--type-caption);
}

.hero h1 {
  font-size: var(--type-display);
  line-height: 0.99;
  letter-spacing: -0.058em;
}

.hero-copy > p,
.statement {
  font-size: var(--type-lead);
}

.section-head h2,
.final-inner h2,
.modal-head h2,
.success-state h2 {
  font-size: var(--type-section);
  line-height: 1.04;
  letter-spacing: -0.052em;
}

.section-head p,
.final-inner p {
  font-size: var(--type-body);
}

.benefit-card h3,
.step h3,
.included-groups h3 {
  font-size: var(--type-card);
}

.benefit-card p,
.relief-item s,
.relief-item b,
.step p,
.price-card > p {
  font-size: var(--type-small);
}

.monthly-note b {
  font-size: var(--type-subheading);
}

.monthly-note b small {
  font-size: var(--type-small);
}

.price strong {
  font-size: var(--type-price);
}

.care-price strong {
  font-size: clamp(40px, 3vw, 48px);
}

.boundary-title h3 {
  font-size: 24px;
}

.audience-list h3 {
  font-size: 20px;
}

.faq-item button > b {
  font-size: var(--type-body);
}

.form-grid label > span {
  font-size: var(--type-caption);
}

/* Обычные служебные подписи — 12px, чтобы они не терялись на больших экранах. */
.visual-label,
.demo-stage-head > span,
.demo-tags span,
.monthly-note > span,
.price-card-top span,
.price-card-top b,
.price-card--active::before,
.care-price span,
.care-board-head span,
.monitor-line span,
.monitor-line strong,
.boundary-title small,
.footer-col > span,
.footer-bottom,
.success-state > small {
  font-size: var(--type-caption);
}

.faq-item button > span {
  font-size: var(--type-body);
}

/* 10px остаётся только у нумерации и внутри уменьшенных демонстрационных экранов. */
.visual-note,
.visual-note i,
.card-index,
.relief-item > span,
.step-top span,
.included-groups article > span,
.care-services span > i,
.audience-list article > span {
  font-size: var(--type-micro);
}

/* Типографика уменьшенных экранов ELEGORA не опускается ниже 10px. */
.browser-address,
.elegora-logo,
.elegora-mark,
.store-nav,
.store-tools,
.store-hero-copy > span,
.store-hero-copy button,
.store-product-row b,
.store-product-row small,
.store-mobile-head .elegora-mark,
.store-mobile-word,
.store-mobile-copy small,
.store-mobile-copy span {
  font-size: var(--type-micro);
}

.store-product-row > span,
.store-mobile-copy strong,
.hero-phone .store-mobile-copy strong,
.demo-phone .store-mobile-copy strong {
  font-size: var(--type-small);
}

/* Вторичный текст остаётся спокойным, но не исчезает на 2K-мониторах. */
.hero-copy > p,
.hero-proof span,
.hero-bottom,
.section-head p,
.benefit-card p,
.statement,
.relief-item s,
.step p,
.demo-footnote,
.included-groups li,
.monthly-note p,
.price-card > p,
.price-card li,
.pricing-disclaimer,
.care-price small,
.boundary-card > p,
.content-tags span,
.audience-list p,
.faq-answer p,
.footer-brand p,
.modal-head > p,
.consent > span,
.success-state p {
  color: #5d636a;
}

.section-head--light p,
.care .section-head--light p,
.not-builder .section-head--light p {
  color: #c1c5ca;
}

.care-price small,
.care-price span,
.footer-brand p,
.footer-col > span,
.footer-bottom {
  color: #969ca3;
}

@media (max-width: 960px) {
  .hero h1 {
    font-size: clamp(48px, 7vw, 62px);
  }

  .section-head h2,
  .final-inner h2,
  .modal-head h2,
  .success-state h2 {
    font-size: clamp(38px, 5.8vw, 52px);
  }

  .mobile-menu a span {
    font-size: var(--type-micro);
  }
}

@media (max-width: 680px) {
  .header-cta,
  .hero-kicker,
  .hero-bottom,
  .demo-stage-head > span,
  .demo-tags span {
    font-size: var(--type-caption);
  }

  .hero h1 {
    font-size: clamp(42px, 11vw, 52px);
    line-height: 1;
  }

  .hero-copy > p,
  .section-head p,
  .final-inner p {
    font-size: var(--type-body);
  }

  .section-head h2,
  .final-inner h2,
  .modal-head h2,
  .success-state h2 {
    font-size: clamp(36px, 9.5vw, 44px);
  }

  .relief-item s,
  .relief-item b,
  .faq-item button > b {
    font-size: var(--type-small);
  }

  .elegora-logo,
  .elegora-mark,
  .store-mobile-copy strong,
  .hero-phone .store-mobile-copy strong,
  .demo-phone .store-mobile-copy strong {
    font-size: var(--type-micro);
  }

  .store-nav {
    display: none;
  }
}

/* Каталог готовых магазинов */
.hero-visual {
  min-height: 590px;
  padding: 0;
  transform: none;
}

.catalog-hero-visual {
  position: relative;
  width: 100%;
  height: 590px;
}

.hero-solution {
  position: absolute;
  display: block;
  transition: transform 0.25s ease, z-index 0.25s ease;
}

.hero-solution:hover {
  z-index: 8;
  transform: translateY(-6px) rotate(0);
}

.hero-solution--main {
  z-index: 4;
  top: 112px;
  left: 0;
  width: 78%;
  transform: rotate(-1.2deg);
}

.hero-solution--fashion {
  z-index: 2;
  top: 34px;
  right: 1%;
  width: 47%;
  transform: rotate(2.2deg);
}

.hero-solution--fashion .solution-window-copy {
  right: 5%;
  left: auto;
  max-width: 180px;
  text-align: right;
}

.hero-solution--flowers {
  z-index: 5;
  right: -2%;
  bottom: 18px;
  width: 43%;
  transform: rotate(1.4deg);
}

.solution-window {
  overflow: hidden;
  border: 1px solid rgba(169, 174, 182, 0.72);
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(20, 29, 40, 0.17), 0 4px 14px rgba(20, 29, 40, 0.07);
}

.solution-window-bar {
  min-height: 32px;
  padding: 0 11px;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  border-bottom: 1px solid #e5e6e8;
  background: #f5f6f7;
  color: #8c9198;
  font-size: var(--type-micro);
  text-align: center;
}

.solution-window-bar > i {
  width: 13px;
  height: 2px;
  justify-self: end;
  background: #c5c8cc;
}

.solution-window-dots {
  display: flex;
  gap: 5px;
}

.solution-window-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c5c8cc;
}

.solution-window-dots i:first-child {
  background: var(--blue);
}

.solution-window-media {
  position: relative;
  aspect-ratio: 16 / 8.6;
  overflow: hidden;
  background: #e9e9ea;
}

.solution-window-media::after {
  position: absolute;
  inset: 38% 0 0;
  background: linear-gradient(0deg, rgba(15, 18, 22, 0.72), transparent);
  content: "";
}

.solution-window-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-window-copy {
  position: absolute;
  z-index: 2;
  right: 5%;
  bottom: 8%;
  left: 5%;
  color: #fff;
}

.solution-window-copy span {
  display: block;
  font-size: var(--type-caption);
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.solution-window-copy strong {
  margin-top: 5px;
  display: block;
  font-size: clamp(24px, 2.2vw, 36px);
  font-weight: 600;
  letter-spacing: -0.045em;
}

.solution-window-footer {
  min-height: 62px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.solution-window-footer > span {
  color: var(--blue);
  font-size: var(--type-caption);
  font-weight: 700;
}

.solution-window-footer > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.solution-window-footer i {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 50px;
  color: #60666d;
  font-size: var(--type-micro);
  font-style: normal;
}

.solution-window--compact .solution-window-bar {
  min-height: 25px;
}

.solution-window--compact .solution-window-copy span {
  font-size: var(--type-micro);
}

.solution-window--compact .solution-window-copy strong {
  font-size: clamp(16px, 1.45vw, 23px);
}

.catalog-count {
  position: absolute;
  z-index: 7;
  bottom: 22px;
  left: 3%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6f757c;
}

.catalog-count strong {
  color: var(--blue);
  font-size: var(--type-subheading);
  line-height: 1;
}

.catalog-count span {
  font-size: var(--type-caption);
  line-height: 1.25;
}

.catalog {
  overflow: hidden;
  background: #fff;
}

.catalog-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 175px;
  align-items: end;
  gap: 70px;
}

.catalog-counter {
  padding: 20px 0 4px 27px;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
}

.catalog-counter span,
.catalog-counter small {
  color: #6a7077;
  font-size: var(--type-caption);
}

.catalog-counter strong {
  margin: 6px 0;
  color: var(--blue);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.catalog-showcase {
  margin-top: 66px;
  display: grid;
  grid-template-columns: minmax(285px, 0.72fr) minmax(0, 1.55fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.catalog-choices {
  border-right: 1px solid var(--line);
}

.catalog-choices button {
  width: 100%;
  min-height: 146px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 34px 1fr 24px;
  align-items: center;
  gap: 14px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--graphite);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.catalog-choices button:last-child {
  border-bottom: 0;
}

.catalog-choices button:hover {
  background: var(--soft);
}

.catalog-choices button.is-active {
  background: var(--graphite);
  color: #fff;
}

.catalog-choices button > span {
  align-self: start;
  padding-top: 3px;
  color: var(--blue);
  font-size: var(--type-micro);
  font-weight: 700;
}

.catalog-choices small {
  display: block;
  color: #777d84;
  font-size: var(--type-caption);
}

.catalog-choices button.is-active small {
  color: #aeb4bb;
}

.catalog-choices strong {
  margin-top: 7px;
  display: block;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.catalog-choices svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.catalog-preview {
  padding: 34px;
  background: var(--soft);
}

.catalog-preview .solution-window {
  box-shadow: 0 25px 65px rgba(20, 29, 40, 0.14);
}

.catalog-preview-info {
  padding: 31px 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 35px;
}

.catalog-preview-info span {
  color: var(--blue);
  font-size: var(--type-caption);
  font-weight: 700;
}

.catalog-preview-info h3 {
  margin: 8px 0 9px;
  font-size: var(--type-card);
  letter-spacing: -0.04em;
}

.catalog-preview-info p {
  max-width: 540px;
  margin: 0;
  color: #5d636a;
  font-size: var(--type-small);
  line-height: 1.6;
}

.catalog-note {
  padding-top: 30px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  align-items: center;
  gap: 35px;
}

.catalog-note > span {
  font-size: var(--type-body);
  font-weight: 650;
}

.catalog-note p {
  max-width: 650px;
  margin: 0;
  color: #5d636a;
  font-size: var(--type-small);
  line-height: 1.55;
}

.catalog-note .text-link {
  border-right: 0;
  border-left: 0;
  border-top: 0;
  background: transparent;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .hero-visual,
  .catalog-hero-visual {
    min-height: 530px;
    height: 530px;
  }

  .hero-solution--main {
    top: 105px;
  }

  .catalog-showcase {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .catalog-preview-info {
    grid-template-columns: 1fr;
  }

  .catalog-preview-info .button {
    width: fit-content;
  }
}

@media (max-width: 960px) {
  .hero-visual,
  .catalog-hero-visual {
    min-height: 650px;
    height: 650px;
  }

  .hero-solution--main {
    top: 125px;
    width: 76%;
  }

  .hero-solution--fashion {
    width: 45%;
  }

  .hero-solution--flowers {
    width: 42%;
  }

  .catalog-title-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .catalog-counter {
    width: 190px;
  }

  .catalog-showcase {
    grid-template-columns: 1fr;
  }

  .catalog-choices {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .catalog-choices button {
    min-height: 130px;
    grid-template-columns: 25px 1fr;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .catalog-choices button:last-child {
    border-right: 0;
  }

  .catalog-choices button > svg {
    display: none;
  }

  .catalog-note {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .catalog-note .text-link {
    width: fit-content;
  }
}

@media (max-width: 680px) {
  .hero-visual,
  .catalog-hero-visual {
    width: 100%;
    min-height: 415px;
    height: 415px;
  }

  .catalog-hero-visual .visual-label {
    left: 0;
  }

  .hero-solution--main {
    top: 78px;
    width: 88%;
  }

  .hero-solution--fashion {
    top: 40px;
    right: -7%;
    width: 49%;
  }

  .hero-solution--flowers {
    right: -7%;
    bottom: 9px;
    width: 51%;
  }

  .solution-window-bar {
    min-height: 24px;
    font-size: var(--type-micro);
  }

  .solution-window-copy span,
  .solution-window--compact .solution-window-copy span {
    font-size: var(--type-micro);
  }

  .solution-window-copy strong {
    font-size: 20px;
  }

  .solution-window--compact .solution-window-copy strong {
    font-size: 14px;
  }

  .solution-window-footer {
    min-height: 51px;
    padding: 8px 10px;
  }

  .solution-window-footer i:nth-child(n + 3) {
    display: none;
  }

  .catalog-count {
    bottom: 1px;
    left: 0;
  }

  .catalog-count strong {
    font-size: 24px;
  }

  .catalog-count span {
    font-size: var(--type-micro);
  }

  .catalog-counter {
    padding-left: 18px;
  }

  .catalog-showcase {
    margin-top: 44px;
  }

  .catalog-choices {
    grid-template-columns: 1fr;
  }

  .catalog-choices button {
    min-height: 92px;
    padding: 15px 16px;
    grid-template-columns: 28px 1fr 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .catalog-choices button > svg {
    display: block;
  }

  .catalog-choices strong {
    font-size: 18px;
  }

  .catalog-preview {
    padding: 14px;
  }

  .catalog-preview .solution-window-media {
    aspect-ratio: 16 / 10;
  }

  .catalog-preview-info {
    padding-top: 22px;
    gap: 22px;
  }

  .catalog-preview-info .button {
    width: 100%;
  }

  .catalog-note {
    padding-top: 24px;
  }
}

/* Многостраничная структура MAGSITE */
.desktop-nav a.is-active {
  color: var(--blue);
}

.desktop-nav a.is-active::after {
  transform: scaleX(1);
}

.home-hero {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.home-hero-inner {
  min-height: 770px;
  padding: 60px 0 45px;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: clamp(42px, 5vw, 85px);
}

.home-hero .hero-copy {
  position: relative;
  z-index: 4;
}

.home-hero h1 {
  margin: 28px 0 24px;
  font-size: var(--type-display);
  font-weight: 610;
  letter-spacing: -0.058em;
  line-height: 0.99;
}

.home-hero h1 em {
  color: var(--blue);
  font-style: normal;
  font-weight: inherit;
}

.home-hero .hero-visual {
  width: 100%;
}

.identity-section {
  background: var(--soft);
}

.identity-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: start;
  gap: 90px;
}

.identity-cards {
  border-top: 1px solid #cfd2d6;
}

.identity-cards article {
  min-height: 180px;
  padding: 27px 30px;
  display: grid;
  grid-template-columns: 140px 1fr;
  align-content: center;
  gap: 10px 35px;
  border-bottom: 1px solid #cfd2d6;
  background: transparent;
}

.identity-cards article > span {
  grid-row: 1 / 3;
  color: var(--blue);
  font-size: var(--type-caption);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.identity-cards h3 {
  margin: 0;
  font-size: var(--type-card);
  letter-spacing: -0.04em;
}

.identity-cards p {
  margin: 0;
  color: #5d636a;
  font-size: var(--type-small);
  line-height: 1.6;
}

.identity-cards .identity-card--accent {
  border-color: var(--graphite);
  background: var(--graphite);
  color: #fff;
}

.identity-card--accent p {
  color: #b9bec4;
}

.featured-solutions {
  background: #fff;
}

.featured-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 45px;
}

.featured-head > div:not(.section-head) h2,
.featured-head > div:not(.section-head) p {
  max-width: 820px;
}

.featured-head > div:not(.section-head) h2 {
  margin: 22px 0 0;
  font-size: var(--type-section);
  letter-spacing: -0.052em;
  line-height: 1.04;
}

.featured-head > div:not(.section-head) p {
  margin: 20px 0 0;
  color: #5d636a;
  font-size: var(--type-body);
  line-height: 1.65;
}

.solutions-grid {
  margin-top: 62px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.solution-card {
  min-width: 0;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(20, 29, 40, 0.11);
}

.solution-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  display: block;
  overflow: hidden;
  background: #e8e8e9;
}

.solution-card-media::after {
  position: absolute;
  inset: 65% 0 0;
  background: linear-gradient(0deg, rgba(18, 22, 27, 0.5), transparent);
  content: "";
}

.solution-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.solution-card:hover .solution-card-media img {
  transform: scale(1.025);
}

.solution-card-media > span {
  position: absolute;
  z-index: 2;
  bottom: 16px;
  left: 18px;
  color: #fff;
  font-size: var(--type-caption);
  font-weight: 700;
}

.solution-card-body {
  padding: 24px;
}

.solution-card-body > span {
  color: var(--blue);
  font-size: var(--type-caption);
  font-weight: 650;
}

.solution-card h3 {
  margin: 9px 0 12px;
  font-size: var(--type-card);
  letter-spacing: -0.04em;
}

.solution-card p {
  min-height: 68px;
  margin: 0;
  color: #5d636a;
  font-size: var(--type-small);
  line-height: 1.6;
}

.solution-card-tags {
  min-height: 64px;
  padding: 20px 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.solution-card-tags i {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 50px;
  color: #676d74;
  font-size: var(--type-micro);
  font-style: normal;
}

.solution-card .text-link {
  font-size: var(--type-small);
}

.after-launch {
  background: var(--soft);
}

.after-launch-grid {
  margin-top: 62px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.after-launch-grid article {
  min-height: 330px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  border: 1px solid #d7d9dc;
  background: #fff;
}

.after-launch-grid article > span {
  color: var(--blue);
  font-size: var(--type-caption);
  font-weight: 700;
}

.after-launch-grid h3 {
  margin: 55px 0 14px;
  font-size: 26px;
  letter-spacing: -0.045em;
}

.after-launch-grid article p {
  margin: 0;
  color: #5d636a;
  font-size: var(--type-small);
  line-height: 1.65;
}

.after-launch-grid article > div {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #43484f;
  font-size: var(--type-small);
  font-weight: 600;
}

.after-launch-grid svg,
.content-choice svg,
.launch-checklist svg,
.suitable-list svg,
.feature-board svg,
.adapt-copy svg,
.monthly-grid svg,
.connect-aside-list svg,
.connect-success svg {
  width: 17px;
  flex: 0 0 17px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
}

.after-launch-grid aside {
  min-height: 170px;
  padding: 30px 34px;
  grid-column: 1 / 3;
  display: grid;
  grid-template-columns: 155px 1fr auto;
  align-items: center;
  gap: 30px;
  background: var(--graphite);
  color: #fff;
}

.after-launch-grid aside > span {
  color: #939aa2;
  font-size: var(--type-caption);
  text-transform: uppercase;
}

.after-launch-grid aside strong {
  max-width: 650px;
  font-size: var(--type-body);
  line-height: 1.55;
}

.after-launch-grid aside a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: var(--type-small);
  font-weight: 650;
}

.after-launch-grid aside a svg,
.common-core a svg,
.demo-store a svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.home-process {
  background: #fff;
}

.compact-steps {
  margin-top: 60px;
}

.compact-steps .step {
  min-height: 185px;
}

.service-teaser {
  background: var(--dark);
  color: #fff;
}

.service-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  align-items: end;
  gap: 80px;
}

.service-teaser-price {
  padding: 32px;
  display: grid;
  border: 1px solid #3e4247;
}

.service-teaser-price > span,
.service-teaser-price > small {
  color: #aeb3b9;
  font-size: var(--type-caption);
}

.service-teaser-price > strong {
  margin: 8px 0 0;
  font-size: 48px;
  letter-spacing: -0.06em;
}

.service-teaser-price .button {
  margin-top: 32px;
}

.cta-actions {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.button--dark-outline {
  border-color: rgba(255,255,255,0.38);
  background: transparent;
  color: #fff;
}

.page-hero {
  padding: 105px 0 90px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.page-hero--catalog {
  background: var(--soft);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  align-items: end;
  gap: 80px;
}

.page-hero h1 {
  max-width: 930px;
  margin: 28px 0 22px;
  font-size: var(--type-display);
  letter-spacing: -0.058em;
  line-height: 1;
}

.page-hero p {
  max-width: 680px;
  margin: 0;
  color: #5d636a;
  font-size: var(--type-lead);
  line-height: 1.6;
}

.page-hero-stat,
.page-hero-index,
.page-hero-price,
.page-hero-link {
  padding: 22px 0 5px 28px;
  display: flex;
  flex-direction: column;
  border-left: 1px solid #d5d7da;
}

.page-hero-stat span,
.page-hero-stat small,
.page-hero-index span,
.page-hero-index small,
.page-hero-price span,
.page-hero-price small,
.page-hero-link > span {
  color: #6c7279;
  font-size: var(--type-caption);
}

.page-hero-stat strong,
.page-hero-index strong {
  margin: 9px 0;
  color: var(--blue);
  font-size: 54px;
  line-height: 0.9;
}

.page-hero-price strong {
  margin: 10px 0 5px;
  font-size: 38px;
  letter-spacing: -0.055em;
}

.page-hero-link .text-link {
  margin-top: 20px;
  align-self: flex-start;
}

.catalog-toolbar {
  padding-bottom: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: end;
  gap: 50px;
  border-bottom: 1px solid var(--line);
}

.catalog-toolbar > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-toolbar--filters-only {
  grid-template-columns: 1fr;
}

.catalog-toolbar button {
  min-height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: var(--type-small);
  cursor: pointer;
}

.catalog-toolbar button span {
  color: #8b9097;
  font-size: var(--type-micro);
}

.catalog-toolbar button.is-active {
  border-color: var(--graphite);
  background: var(--graphite);
  color: #fff;
}

.catalog-toolbar p {
  margin: 0;
  color: #5d636a;
  font-size: var(--type-small);
  line-height: 1.6;
}

.solutions-grid--catalog {
  min-height: 540px;
  align-content: start;
}

.catalog-category-note {
  margin-top: 28px;
  padding: 24px 0;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  border-top: 1px solid var(--line);
}

.catalog-category-note span {
  color: var(--blue);
  font-size: var(--type-caption);
  font-weight: 700;
}

.catalog-category-note p {
  max-width: 600px;
  margin: 0;
  color: #5d636a;
  font-size: var(--type-small);
}

.common-core {
  background: var(--dark);
  color: #fff;
}

.common-core-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}

.common-core h2 {
  margin: 27px 0 0;
  font-size: var(--type-section);
  letter-spacing: -0.052em;
  line-height: 1.04;
}

.common-core-list {
  border-top: 1px solid #41454a;
}

.common-core-list div {
  min-height: 68px;
  display: grid;
  grid-template-columns: 45px 1fr;
  align-items: center;
  border-bottom: 1px solid #41454a;
}

.common-core-list span {
  color: #737a82;
  font-size: var(--type-micro);
}

.common-core-list b {
  font-size: var(--type-small);
}

.breadcrumbs {
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: #737980;
  font-size: var(--type-caption);
}

.breadcrumbs a:hover {
  color: var(--blue);
}

.solution-detail-hero {
  padding-bottom: 100px;
  background: var(--soft);
}

.solution-detail-grid {
  padding-top: 55px;
  display: grid;
  grid-template-columns: 0.76fr 1.24fr;
  align-items: center;
  gap: 70px;
}

.solution-category {
  margin: 34px 0 0;
  color: var(--blue);
  font-size: var(--type-caption);
  font-weight: 700;
  text-transform: uppercase;
}

.solution-detail-copy h1 {
  margin: 8px 0 22px;
  font-size: var(--type-section);
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.solution-detail-copy > p:not(.solution-category) {
  margin: 0;
  color: #5d636a;
  font-size: var(--type-body);
  line-height: 1.65;
}

.solution-meta {
  margin-top: 30px;
  padding: 20px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid #d4d6d9;
  border-bottom: 1px solid #d4d6d9;
}

.solution-meta div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.solution-meta div + div {
  padding-left: 24px;
  border-left: 1px solid #d4d6d9;
}

.solution-meta span,
.solution-detail-copy > small {
  color: #747a81;
  font-size: var(--type-caption);
}

.solution-meta strong {
  font-size: var(--type-body);
}

.solution-detail-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.solution-detail-copy > small {
  margin-top: 14px;
  display: block;
  line-height: 1.45;
}

.solution-overview-grid,
.launch-includes-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
}

.solution-overview h2 {
  margin: 27px 0 32px;
  font-size: var(--type-section);
  letter-spacing: -0.052em;
  line-height: 1.04;
}

.suitable-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.suitable-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #50565d;
  font-size: var(--type-small);
}

.feature-board,
.launch-checklist {
  border-top: 1px solid var(--line);
}

.feature-board > span {
  min-height: 60px;
  display: flex;
  align-items: center;
  color: #6c7279;
  font-size: var(--type-caption);
  text-transform: uppercase;
}

.feature-board > div,
.launch-checklist > div {
  min-height: 72px;
  display: grid;
  grid-template-columns: 45px 1fr 22px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.feature-board i,
.launch-checklist span {
  color: var(--blue);
  font-size: var(--type-micro);
  font-style: normal;
}

.feature-board b,
.launch-checklist b {
  font-size: var(--type-small);
}

.adapt-section {
  background: var(--soft);
}

.adapt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 85px;
}

.adapt-image {
  position: relative;
  min-height: 590px;
  overflow: hidden;
}

.adapt-image img {
  width: 100%;
  height: 590px;
  object-fit: cover;
}

.adapt-image > span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 11px;
  background: #fff;
  color: var(--blue);
  font-size: var(--type-caption);
  font-weight: 700;
}

.adapt-copy h2 {
  margin: 27px 0 20px;
  font-size: var(--type-section);
  letter-spacing: -0.052em;
  line-height: 1.04;
}

.adapt-copy > p {
  margin: 0;
  color: #5d636a;
  font-size: var(--type-body);
  line-height: 1.65;
}

.adapt-copy ul {
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
  list-style: none;
}

.adapt-copy li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--type-small);
}

.solution-pricing-strip {
  padding: 34px 0;
  background: var(--graphite);
  color: #fff;
}

.solution-pricing-strip .shell {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 50px;
}

.solution-pricing-strip div > div {
  display: flex;
  flex-direction: column;
}

.solution-pricing-strip span,
.solution-pricing-strip small {
  color: #9da3aa;
  font-size: var(--type-caption);
}

.solution-pricing-strip strong {
  margin: 5px 0;
  font-size: 24px;
}

.solutions-grid--related {
  grid-template-columns: 1fr 1fr;
}

.process-timeline {
  max-width: 1080px;
  margin-left: auto;
}

.process-timeline article {
  min-height: 240px;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 35px;
}

.process-timeline article > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-timeline article > div span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid #cad0d5;
  border-radius: 50%;
  color: var(--blue);
  font-size: var(--type-caption);
  font-weight: 700;
}

.process-timeline article > div i {
  width: 1px;
  flex: 1;
  background: #d3d6da;
}

.process-timeline article section {
  padding: 0 0 55px;
  border-bottom: 1px solid var(--line);
}

.process-timeline h2 {
  margin: 6px 0 18px;
  font-size: 34px;
  letter-spacing: -0.045em;
}

.process-timeline p {
  max-width: 680px;
  margin: 0;
  color: #5d636a;
  font-size: var(--type-body);
  line-height: 1.65;
}

.launch-includes {
  background: var(--soft);
}

.materials-section,
.boundary-page,
.monthly-section {
  background: var(--dark);
  color: #fff;
}

.materials-grid,
.boundary-page-grid,
.monthly-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
}

.materials-grid h2,
.boundary-page-grid h2,
.monthly-grid h2 {
  margin: 27px 0 20px;
  font-size: var(--type-section);
  letter-spacing: -0.052em;
  line-height: 1.04;
}

.materials-grid p,
.monthly-grid p {
  margin: 0;
  color: #b5bac0;
  font-size: var(--type-body);
  line-height: 1.65;
}

.material-tags {
  display: flex;
  align-content: flex-start;
  flex-wrap: wrap;
  gap: 9px;
}

.material-tags span {
  padding: 12px 15px;
  border: 1px solid #44484e;
  color: #d7d9dc;
  font-size: var(--type-small);
}

.next-step {
  padding: 90px 0;
}

.next-step-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 50px;
}

.next-step-grid > div:first-child > span {
  color: var(--blue);
  font-size: var(--type-caption);
  font-weight: 700;
}

.next-step h2 {
  margin: 9px 0 10px;
  font-size: 36px;
  letter-spacing: -0.045em;
}

.next-step p {
  margin: 0;
  color: #5d636a;
  font-size: var(--type-small);
}

.next-step-grid > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-page-hero {
  padding: 120px 0;
  background: var(--dark);
  color: #fff;
}

.service-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: end;
  gap: 90px;
}

.service-page-hero h1 {
  margin: 30px 0 22px;
  font-size: var(--type-display);
  letter-spacing: -0.058em;
  line-height: 1;
}

.service-page-hero p {
  max-width: 700px;
  margin: 0;
  color: #b9bec4;
  font-size: var(--type-lead);
  line-height: 1.6;
}

.service-page-price {
  padding: 30px;
  display: flex;
  flex-direction: column;
  border: 1px solid #44484d;
}

.service-page-price span,
.service-page-price small {
  color: #a7adb4;
  font-size: var(--type-caption);
}

.service-page-price strong {
  margin: 12px 0 7px;
  font-size: 48px;
  letter-spacing: -0.06em;
}

.service-list-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}

.service-list-grid article {
  min-height: 84px;
  padding: 0 22px;
  display: grid;
  grid-template-columns: 45px 1fr 22px;
  align-items: center;
  gap: 10px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-list-grid article:nth-child(even) {
  border-right: 0;
}

.service-list-grid span {
  color: var(--blue);
  font-size: var(--type-micro);
}

.service-list-grid b {
  font-size: var(--type-small);
}

.service-list-grid svg {
  width: 17px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
}

.content-choice {
  background: var(--soft);
}

.content-choice-grid {
  margin-top: 62px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.content-choice-grid article {
  min-height: 410px;
  padding: 36px;
  border: 1px solid #d8dade;
  background: #fff;
}

.content-choice-grid article > span {
  color: var(--blue);
  font-size: var(--type-caption);
  font-weight: 700;
  text-transform: uppercase;
}

.content-choice-grid h2 {
  margin: 50px 0 16px;
  font-size: 30px;
  letter-spacing: -0.045em;
}

.content-choice-grid p {
  margin: 0;
  color: #5d636a;
  font-size: var(--type-body);
  line-height: 1.65;
}

.content-choice-grid ul {
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  gap: 13px;
  list-style: none;
}

.content-choice-grid li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--type-small);
}

.boundary-page-grid > div:last-child {
  display: grid;
  gap: 12px;
}

.boundary-page-grid article {
  padding: 26px;
  border: 1px solid #44484e;
}

.boundary-page-grid article span {
  color: var(--blue);
  font-size: var(--type-caption);
  font-weight: 700;
}

.boundary-page-grid article p {
  margin: 12px 0 0;
  color: #c0c4c9;
  font-size: var(--type-small);
  line-height: 1.6;
}

.pricing-page {
  background: #fff;
}

.pricing-page .pricing-grid {
  margin-top: 0;
}

.monthly-grid > div:last-child {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 20px;
}

.monthly-grid > div:last-child span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #d5d8db;
  font-size: var(--type-small);
}

.monthly-grid > div:last-child a {
  margin-top: 20px;
  grid-column: 1 / 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: var(--type-small);
  font-weight: 650;
}

.monthly-grid > div:last-child a svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.content-price-section {
  background: var(--soft);
}

.content-price-grid {
  margin-top: 55px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #cfd2d6;
}

.content-price-grid article {
  min-height: 120px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid #cfd2d6;
  border-bottom: 1px solid #cfd2d6;
}

.content-price-grid article:nth-child(3n) {
  border-right: 0;
}

.content-price-grid span {
  color: var(--blue);
  font-size: var(--type-micro);
}

.content-price-grid b {
  font-size: var(--type-small);
}

.faq-page-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 80px;
}

.faq-page-grid > div:first-child > span {
  color: var(--blue);
  font-size: var(--type-caption);
  font-weight: 700;
}

.faq-page-grid > div:first-child p {
  margin: 14px 0 0;
  color: #5d636a;
  font-size: var(--type-small);
  line-height: 1.65;
}

.connect-page {
  padding: 80px 0 120px;
  background: var(--soft);
}

.connect-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: stretch;
  gap: 0;
}

.connect-grid > aside {
  padding: 50px;
  background: var(--dark);
  color: #fff;
}

.connect-grid > aside h1 {
  margin: 34px 0 22px;
  font-size: var(--type-section);
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.connect-grid > aside > p {
  margin: 0;
  color: #b7bcc2;
  font-size: var(--type-body);
  line-height: 1.65;
}

.connect-aside-list {
  margin: 42px 0;
  display: grid;
  gap: 15px;
}

.connect-aside-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d7dade;
  font-size: var(--type-small);
}

.connect-grid > aside > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: var(--type-small);
  font-weight: 650;
}

.connect-grid > aside > a svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.connect-panel {
  min-height: 760px;
  padding: 50px;
  background: #fff;
}

.connect-panel .form-grid {
  margin-top: 0;
}

.connect-success {
  min-height: 660px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.connect-success > span {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--blue);
  border-radius: 50%;
}

.connect-success > small {
  margin-top: 30px;
  color: var(--blue);
  font-size: var(--type-caption);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.connect-success h2 {
  margin: 18px 0;
  font-size: var(--type-section);
  letter-spacing: -0.052em;
  line-height: 1.03;
}

.connect-success p {
  max-width: 570px;
  margin: 0 0 30px;
  color: #5d636a;
  font-size: var(--type-small);
  line-height: 1.65;
}

.demo-store {
  min-height: 100vh;
  background: #f7f4ef;
  color: #252321;
  font-family: var(--font-geist-sans), Arial, sans-serif;
}

.demo-store-notice {
  min-height: 36px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #181e24;
  color: #fff;
  font-size: var(--type-caption);
}

.demo-store-notice a {
  color: #bfc8d5;
}

.demo-store-header {
  min-height: 78px;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  gap: 45px;
  background: #f7f4ef;
}

.demo-store-header > a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.demo-store-header > a i {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #9a705b;
  color: #9a705b;
  font-family: Georgia, serif;
  font-style: normal;
}

.demo-store-header > a strong {
  font-size: var(--type-small);
  letter-spacing: 0.16em;
}

.demo-store-header nav {
  margin-left: auto;
  display: flex;
  gap: 28px;
}

.demo-store-header nav a,
.demo-store-header button {
  border: 0;
  background: transparent;
  font-size: var(--type-caption);
}

.demo-store-hero {
  position: relative;
  height: 690px;
  overflow: hidden;
}

.demo-store-hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(24, 20, 17, 0.68), rgba(24, 20, 17, 0.04) 62%);
  content: "";
}

.demo-store-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demo-store-hero > div {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 7vw;
  max-width: 620px;
  color: #fff;
  transform: translateY(-50%);
}

.demo-store-hero span {
  font-size: var(--type-caption);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.demo-store-hero h1 {
  margin: 14px 0 18px;
  font-family: Georgia, serif;
  font-size: clamp(52px, 6vw, 88px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.demo-store-hero p {
  max-width: 520px;
  margin: 0;
  font-size: var(--type-body);
  line-height: 1.6;
}

.demo-store-hero a,
.demo-store-footer a {
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid currentColor;
  color: inherit;
  font-size: var(--type-small);
  font-weight: 650;
}

.demo-store-catalog {
  padding: 110px 5vw;
}

.demo-store-section-head span {
  color: #9a705b;
  font-size: var(--type-caption);
  text-transform: uppercase;
}

.demo-store-section-head h2 {
  margin: 18px 0 55px;
  font-family: Georgia, serif;
  font-size: var(--type-section);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.demo-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.demo-products article > div {
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.demo-products img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demo-products article > span {
  margin-top: 16px;
  display: block;
  color: #817870;
  font-size: var(--type-caption);
}

.demo-products h3 {
  margin: 7px 0;
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 400;
}

.demo-products b {
  font-size: var(--type-small);
}

.demo-store-footer {
  padding: 65px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: #24211e;
  color: #fff;
}

.demo-store-footer strong {
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 400;
}

.demo-store-footer p {
  margin: 10px 0 0;
  color: #bbb5af;
  font-size: var(--type-small);
}

@media (max-width: 1080px) {
  .home-hero-inner,
  .identity-grid,
  .solution-detail-grid,
  .adapt-grid,
  .service-page-grid,
  .connect-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-inner {
    padding-top: 85px;
  }

  .home-hero .hero-visual {
    max-width: 900px;
  }

  .identity-grid,
  .solution-detail-grid,
  .adapt-grid,
  .service-page-grid {
    gap: 60px;
  }

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

  .solutions-grid .solution-card:last-child:nth-child(odd) {
    grid-column: 1 / 3;
  }

  .solutions-grid .solution-card:last-child:nth-child(odd) .solution-card-media {
    aspect-ratio: 16 / 7;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .solutions-grid--catalog {
    min-height: 0;
  }

  .common-core-grid,
  .solution-overview-grid,
  .launch-includes-grid,
  .materials-grid,
  .boundary-page-grid,
  .monthly-grid {
    gap: 55px;
  }

  .connect-grid > aside,
  .connect-panel {
    padding: 42px;
  }

  .connect-grid > aside {
    min-height: 520px;
  }
}

@media (max-width: 820px) {
  .home-hero-inner,
  .page-hero-grid,
  .common-core-grid,
  .solution-overview-grid,
  .launch-includes-grid,
  .materials-grid,
  .boundary-page-grid,
  .monthly-grid,
  .service-teaser-grid,
  .faq-page-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-grid,
  .common-core-grid,
  .solution-overview-grid,
  .launch-includes-grid,
  .materials-grid,
  .boundary-page-grid,
  .monthly-grid,
  .service-teaser-grid,
  .faq-page-grid {
    gap: 50px;
  }

  .identity-cards article {
    grid-template-columns: 120px 1fr;
  }

  .after-launch-grid,
  .content-choice-grid {
    grid-template-columns: 1fr;
  }

  .after-launch-grid aside {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .featured-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero-stat,
  .page-hero-index,
  .page-hero-price,
  .page-hero-link {
    max-width: 280px;
  }

  .solution-pricing-strip .shell {
    grid-template-columns: 1fr 1fr;
  }

  .solution-pricing-strip .button {
    grid-column: 1 / 3;
    width: fit-content;
  }

  .service-list-grid {
    grid-template-columns: 1fr;
  }

  .service-list-grid article {
    border-right: 0;
  }

  .demo-store-header nav {
    display: none;
  }

  .demo-store-hero {
    height: 580px;
  }
}

@media (max-width: 680px) {
  .home-hero-inner {
    min-height: 0;
    padding: 55px 0 65px;
    gap: 44px;
  }

  .home-hero h1,
  .page-hero h1,
  .service-page-hero h1 {
    font-size: clamp(42px, 11vw, 52px);
  }

  .home-hero .hero-copy > p,
  .page-hero p,
  .service-page-hero p {
    font-size: var(--type-body);
  }

  .home-hero .hero-visual {
    min-height: 415px;
    height: 415px;
  }

  .identity-grid {
    gap: 45px;
  }

  .identity-cards article {
    min-height: 0;
    padding: 25px 20px;
    grid-template-columns: 1fr;
  }

  .identity-cards article > span {
    grid-row: auto;
  }

  .solutions-grid,
  .solutions-grid--related {
    grid-template-columns: 1fr;
  }

  .solutions-grid .solution-card:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .solutions-grid .solution-card:last-child:nth-child(odd) .solution-card-media {
    aspect-ratio: 16 / 10;
  }

  .solution-card p {
    min-height: 0;
  }

  .after-launch-grid article,
  .content-choice-grid article {
    min-height: 0;
    padding: 25px;
  }

  .after-launch-grid h3,
  .content-choice-grid h2 {
    margin-top: 35px;
  }

  .after-launch-grid aside {
    padding: 25px;
  }

  .service-teaser-price {
    padding: 24px;
  }

  .page-hero,
  .service-page-hero {
    padding: 75px 0 68px;
  }

  .catalog-toolbar > div {
    flex-direction: column;
  }

  .catalog-toolbar button {
    width: 100%;
    justify-content: space-between;
  }

  .catalog-category-note {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .solution-detail-hero {
    padding-bottom: 70px;
  }

  .solution-detail-grid {
    padding-top: 40px;
    gap: 45px;
  }

  .solution-meta,
  .solution-pricing-strip .shell,
  .content-price-grid {
    grid-template-columns: 1fr;
  }

  .solution-meta div + div {
    margin-top: 17px;
    padding: 17px 0 0;
    border-top: 1px solid #d4d6d9;
    border-left: 0;
  }

  .solution-detail-actions {
    flex-direction: column;
  }

  .solution-detail-actions .button {
    width: 100%;
  }

  .adapt-image,
  .adapt-image img {
    min-height: 380px;
    height: 380px;
  }

  .solution-pricing-strip .button {
    grid-column: auto;
    width: 100%;
  }

  .process-timeline article {
    min-height: 0;
    grid-template-columns: 55px 1fr;
    gap: 14px;
  }

  .process-timeline article > div span {
    width: 42px;
    height: 42px;
  }

  .process-timeline h2 {
    font-size: 26px;
  }

  .next-step-grid {
    grid-template-columns: 1fr;
  }

  .service-page-price {
    padding: 24px;
  }

  .monthly-grid > div:last-child {
    grid-template-columns: 1fr;
  }

  .monthly-grid > div:last-child a {
    grid-column: auto;
  }

  .content-price-grid article,
  .content-price-grid article:nth-child(3n) {
    border-right: 0;
  }

  .connect-page {
    padding: 0 0 70px;
  }

  .connect-grid {
    width: 100%;
  }

  .connect-grid > aside,
  .connect-panel {
    padding: 32px 16px;
  }

  .connect-grid > aside {
    min-height: 0;
  }

  .demo-store-notice {
    padding: 8px 16px;
    align-items: flex-start;
    flex-direction: column;
  }

  .demo-store-header {
    min-height: 66px;
    padding: 0 16px;
  }

  .demo-store-header button {
    margin-left: auto;
  }

  .demo-store-hero {
    height: 530px;
  }

  .demo-store-hero > div {
    right: 16px;
    left: 16px;
  }

  .demo-store-hero h1 {
    font-size: 52px;
  }

  .demo-store-catalog {
    padding: 75px 16px;
  }

  .demo-products {
    grid-template-columns: 1fr;
  }

  .demo-store-footer {
    padding: 45px 16px;
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Раздел проектов */

.home-projects {
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.projects-grid {
  margin-top: 62px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  min-width: 0;
  border: 1px solid #d9dbde;
  background: #fff;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(20, 29, 40, 0.11);
}

.project-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  display: block;
  overflow: hidden;
  background: #e8e8e9;
}

.project-card-media::after {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(0deg, rgba(18, 22, 27, 0.58), transparent);
  content: "";
}

.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-card-media img {
  transform: scale(1.035);
}

.project-card-media > span {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 17px;
  left: 18px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-card-body {
  padding: 27px 25px 29px;
}

.project-card-body > span {
  color: var(--blue);
  font-size: var(--type-caption);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-card-body h3 {
  margin: 13px 0 14px;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.project-card-body h3 a {
  color: inherit;
}

.project-card-body p {
  min-height: 76px;
  margin: 0 0 26px;
  color: #636970;
  font-size: var(--type-small);
  line-height: 1.65;
}

.projects-page-hero {
  background: var(--soft);
}

.projects-page-hero aside {
  padding: 22px 0 5px 28px;
  display: flex;
  flex-direction: column;
  border-left: 1px solid #d5d7da;
}

.projects-page-hero aside span,
.projects-page-hero aside small {
  color: #6c7279;
  font-size: var(--type-caption);
}

.projects-page-hero aside strong {
  margin: 9px 0;
  color: var(--blue);
  font-size: 54px;
  line-height: 0.9;
}

.projects-catalog {
  background: #fff;
}

.projects-note {
  padding: 26px 0 30px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 55px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.projects-note span {
  color: var(--blue);
  font-size: var(--type-caption);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.projects-note p {
  max-width: 850px;
  margin: 0;
  color: #5d636a;
  font-size: var(--type-body);
  line-height: 1.65;
}

.projects-grid--catalog {
  margin-top: 58px;
}

.project-model {
  background: var(--graphite);
  color: #fff;
}

.project-model-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 90px;
}

.project-model .section-head p {
  color: #aeb3b9;
}

.project-model-list {
  border-top: 1px solid #3e444a;
}

.project-model-list > div {
  min-height: 74px;
  display: grid;
  grid-template-columns: 50px 1fr;
  align-items: center;
  border-bottom: 1px solid #3e444a;
}

.project-model-list span {
  color: var(--blue);
  font-size: var(--type-caption);
  font-weight: 700;
}

.project-model-list b {
  font-size: var(--type-body);
  font-weight: 560;
}

.projects-next {
  padding-top: 92px;
  padding-bottom: 92px;
}

.projects-next-inner {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 50px;
}

.projects-next-inner > span {
  color: var(--blue);
  font-size: var(--type-caption);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.projects-next-inner h2 {
  max-width: 720px;
  margin: 0;
  font-size: 34px;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.project-detail-hero {
  padding: 0 0 100px;
  background: var(--soft);
}

.project-breadcrumbs {
  padding-top: 32px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #737980;
  font-size: var(--type-caption);
}

.project-breadcrumbs a {
  color: inherit;
}

.project-breadcrumbs i {
  width: 14px;
  height: 1px;
  background: #b7bbc0;
}

.project-detail-grid {
  padding-top: 58px;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: 70px;
}

.project-detail-copy > small {
  margin-top: 38px;
  display: block;
  color: var(--blue);
  font-size: var(--type-caption);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.project-detail-copy h1 {
  margin: 12px 0 25px;
  font-size: clamp(54px, 6vw, 88px);
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.project-detail-copy > p {
  max-width: 580px;
  margin: 0;
  color: #5d636a;
  font-size: var(--type-lead);
  line-height: 1.6;
}

.project-detail-meta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.project-detail-meta > span {
  min-width: 100px;
  display: flex;
  flex-direction: column;
}

.project-detail-meta small {
  color: #858a90;
  font-size: var(--type-caption);
}

.project-detail-meta strong {
  margin-top: 4px;
  color: var(--graphite);
  font-size: var(--type-small);
}

.project-detail-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-detail-copy > em {
  margin-top: 20px;
  display: block;
  color: #858a90;
  font-size: var(--type-caption);
  font-style: normal;
}

.project-detail-media {
  position: relative;
  overflow: hidden;
  border: 1px solid #d1d4d8;
  border-radius: 10px;
  background: #e8eaed;
  box-shadow: 0 28px 60px rgba(23, 29, 36, 0.14);
}

.project-browser-bar {
  height: 38px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid #d7d9dc;
  background: #f2f3f4;
}

.project-browser-bar i {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #bfc3c8;
}

.project-browser-bar i:first-child {
  background: var(--blue);
}

.project-browser-bar span {
  margin: 0 auto;
  padding-right: 28px;
  color: #7a8087;
  font-size: 12px;
}

.project-detail-media > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
}

.project-story {
  background: #fff;
}

.project-story-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(60px, 8vw, 140px);
}

.project-story-heading .eyebrow {
  margin-bottom: 28px;
}

.project-story-heading h2 {
  margin: 0;
  font-size: var(--type-section);
  letter-spacing: -0.052em;
  line-height: 1.04;
}

.project-story-copy {
  padding-top: 2px;
  color: #5d636a;
  font-size: var(--type-body);
  line-height: 1.7;
}

.project-story-copy > :first-child {
  margin-top: 0;
}

.project-story-copy > :last-child {
  margin-bottom: 0;
}

.project-story-grid {
  margin-top: 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-story-grid article {
  min-height: 250px;
  padding: 36px 42px 40px 0;
}

.project-story-grid article + article {
  padding-right: 0;
  padding-left: 42px;
  border-left: 1px solid var(--line);
}

.project-story-grid span {
  color: var(--blue);
  font-size: var(--type-caption);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.project-story-grid p {
  max-width: 570px;
  margin: 28px 0 0;
  color: var(--graphite);
  font-size: var(--type-lead);
  line-height: 1.6;
}

.project-task-group {
  margin-top: 38px;
}

.project-task-caption {
  display: block;
  color: var(--blue);
  font-size: var(--type-caption);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.project-task-list {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 45px;
}

.project-task-list > div {
  min-height: 68px;
  display: grid;
  grid-template-columns: 32px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.project-task-list i {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-style: normal;
}

.project-task-list i svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.project-task-list strong {
  font-size: var(--type-small);
  font-weight: 600;
}

.project-case {
  background: #fff;
}

.project-case-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 100px;
}

.project-case-grid h2 {
  margin: 28px 0 22px;
  font-size: var(--type-section);
  letter-spacing: -0.052em;
  line-height: 1.04;
}

.project-case-grid > div:first-child > p {
  max-width: 650px;
  margin: 0;
  color: #5d636a;
  font-size: var(--type-body);
  line-height: 1.65;
}

.project-work-list {
  border-top: 1px solid var(--line);
}

.project-work-list article {
  min-height: 82px;
  display: grid;
  grid-template-columns: 50px 1fr 22px;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid var(--line);
}

.project-work-list article > span {
  color: var(--blue);
  font-size: var(--type-caption);
  font-weight: 700;
}

.project-work-list article > b {
  font-size: var(--type-body);
  font-weight: 560;
}

.project-work-list svg {
  width: 18px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
}

.project-results {
  background: var(--graphite);
  color: #fff;
}

.project-results-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 100px;
}

.project-results h2 {
  margin: 30px 0 24px;
  font-size: var(--type-section);
  letter-spacing: -0.052em;
  line-height: 1.04;
}

.project-results p {
  max-width: 580px;
  margin: 0;
  color: #b4b9bf;
  font-size: var(--type-body);
  line-height: 1.7;
}

.project-result-list {
  border-top: 1px solid #3e444a;
}

.project-result-list article {
  min-height: 86px;
  display: grid;
  grid-template-columns: 50px 1fr 22px;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid #3e444a;
}

.project-result-list span {
  color: var(--blue);
  font-size: var(--type-caption);
  font-weight: 700;
}

.project-result-list strong {
  font-size: var(--type-body);
  font-weight: 560;
}

.project-result-list svg {
  width: 18px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
}

.project-screenshots {
  background: var(--soft);
}

.project-screenshots .featured-head > p {
  max-width: 460px;
  margin: 0;
  color: #646a71;
  font-size: var(--type-body);
  line-height: 1.65;
}

.project-screenshot-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 20px;
}

.project-screenshot {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d3d6da;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(23, 29, 36, 0.1);
}

.project-screenshot:first-child {
  grid-row: span 2;
}

.project-screenshot > div:last-child {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.project-screenshot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.project-screenshot--2 img {
  transform: scale(1.2);
  transform-origin: center top;
}

.project-screenshot--3 > div:last-child {
  aspect-ratio: 16 / 8.25;
}

.project-screenshot--3 img {
  transform: scale(1.38);
  transform-origin: right center;
}

.project-facts {
  padding-top: 0;
  background: #fff;
}

.project-facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-facts-grid > div {
  min-height: 225px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}

.project-facts-grid > div:last-child {
  border-right: 0;
}

.project-facts-grid span {
  color: var(--blue);
  font-size: var(--type-caption);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.project-facts-grid strong {
  margin: 25px 0 10px;
  font-size: 24px;
  letter-spacing: -0.035em;
}

.project-facts-grid p {
  margin: 0;
  color: #686e75;
  font-size: var(--type-small);
  line-height: 1.6;
}

.project-facts-grid a {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--graphite);
  font-size: var(--type-small);
  font-weight: 650;
}

.project-facts-grid a svg {
  width: 17px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
}

.related-projects {
  background: var(--soft);
}

.related-project-list {
  margin-top: 55px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.related-project-list > a {
  position: relative;
  min-height: 340px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: #fff;
}

.related-project-list > a::after {
  position: absolute;
  z-index: 1;
  inset: 30% 0 0;
  background: linear-gradient(0deg, rgba(15, 19, 24, 0.8), transparent);
  content: "";
}

.related-project-list img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.related-project-list > a:hover img {
  transform: scale(1.035);
}

.related-project-list span,
.related-project-list strong,
.related-project-list svg {
  position: relative;
  z-index: 2;
}

.related-project-list span {
  font-size: var(--type-caption);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.related-project-list strong {
  margin-top: 7px;
  font-size: 31px;
  letter-spacing: -0.045em;
}

.related-project-list svg {
  position: absolute;
  right: 32px;
  bottom: 36px;
  width: 22px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.7;
}

@media (max-width: 1180px) {
  .desktop-nav {
    gap: 20px;
  }

  .desktop-nav a {
    font-size: 12px;
  }
}

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

  .projects-grid .project-card:last-child:nth-child(odd) {
    grid-column: 1 / 3;
  }

  .projects-grid .project-card:last-child:nth-child(odd) .project-card-media {
    aspect-ratio: 16 / 7;
  }

  .project-detail-grid,
  .project-case-grid,
  .project-model-grid,
  .project-results-grid {
    gap: 55px;
  }
}

@media (max-width: 820px) {
  .project-model-grid,
  .project-detail-grid,
  .project-case-grid,
  .project-story-head,
  .project-results-grid {
    grid-template-columns: 1fr;
  }

  .project-story-head {
    gap: 28px;
  }

  .project-screenshot-grid {
    grid-template-columns: 1fr;
  }

  .project-screenshot:first-child {
    grid-row: auto;
  }

  .projects-next-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .project-facts-grid {
    grid-template-columns: 1fr;
  }

  .project-facts-grid > div {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .project-facts-grid > div:last-child {
    border-bottom: 0;
  }
}

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

  .projects-grid .project-card:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .projects-grid .project-card:last-child:nth-child(odd) .project-card-media {
    aspect-ratio: 16 / 10;
  }

  .project-card-body p {
    min-height: 0;
  }

  .project-detail-hero {
    padding-bottom: 70px;
  }

  .project-detail-grid {
    padding-top: 40px;
    gap: 42px;
  }

  .project-detail-copy h1 {
    font-size: clamp(48px, 15vw, 64px);
  }

  .project-detail-actions {
    flex-direction: column;
  }

  .project-detail-actions .button {
    width: 100%;
  }

  .project-story-grid {
    grid-template-columns: 1fr;
  }

  .project-story-grid article {
    min-height: 0;
    padding: 30px 0;
  }

  .project-story-grid article + article {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .project-task-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .project-detail-meta {
    gap: 16px 24px;
  }

  .project-facts-grid > div {
    padding: 28px 22px;
  }

  .related-project-list {
    grid-template-columns: 1fr;
  }

  .related-project-list > a {
    min-height: 290px;
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body.admin-bar .site-header {
  top: 32px;
}

.desktop-nav-list,
.mobile-nav-list {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: inherit;
  list-style: none;
}

.mobile-nav-list {
  display: block;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* WordPress: рабочая форма и универсальные контентные страницы */
.mgs-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-message {
  margin-bottom: 24px;
  padding: 16px 18px;
  border: 1px solid #f0b9b9;
  background: #fff5f5;
  color: #7f2424;
  font-size: var(--type-small);
  line-height: 1.55;
}

.consent a {
  border-bottom: 1px solid currentColor;
  color: var(--graphite);
}

.magsite-entry-content {
  max-width: 860px;
  font-size: var(--type-body);
  line-height: 1.75;
}

.magsite-entry-content > *:first-child {
  margin-top: 0;
}

.magsite-entry-content h2,
.magsite-entry-content h3 {
  margin: 1.8em 0 0.55em;
  letter-spacing: -0.035em;
}

.magsite-entry-content a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* Кнопка возврата наверх */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  width: 50px;
  height: 50px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--blue);
  border-radius: 4px;
  opacity: 0;
  background: var(--blue);
  box-shadow: 0 14px 34px rgba(4, 90, 244, 0.28);
  color: #fff;
  cursor: pointer;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 1.8;
}

.back-to-top:hover {
  border-color: #034bd0;
  background: #034bd0;
  transform: translateY(-2px);
}

.back-to-top:focus-visible {
  outline: 3px solid rgba(4, 90, 244, 0.28);
  outline-offset: 3px;
}

@media (max-width: 680px) {
  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }
}
