:root {
  --paper: #f3eee4;
  --ink: #1c1b19;
  --acc: #7c5cbf;
  --lil: #d4c4f7;
  --mute: #565247;
  --footer: #2a1f45;
}

* { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; }

body.home-mock {
  background: var(--paper);
  color: var(--ink);
  font: 18px/1.5 'Golos Text', sans-serif;
  color-scheme: light;
}

body.home-mock .reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.w {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

h1, h2, .logo {
  font-family: Unbounded, sans-serif;
  letter-spacing: -0.03em;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 28px 0;
  border-bottom: 2px solid var(--ink);
  flex-wrap: wrap;
}

.logo {
  font-weight: 800;
  font-size: 22px;
  text-decoration: none;
  color: var(--ink);
}

.logo i { color: var(--acc); font-style: normal; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 17px;
}

.btn {
  background: var(--ink);
  color: var(--paper);
  padding: 14px 22px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
}

.btn.r {
  background: var(--acc);
  color: #fff;
}

.hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  padding: 70px 0 60px;
}

h1 {
  font-size: 76px;
  line-height: 0.95;
  font-weight: 800;
}

h1 span { color: var(--acc); }

.hero p {
  font-size: 22px;
  margin: 28px 0;
}

.stamp {
  border: 2px solid var(--ink);
  padding: 24px;
  align-self: end;
  transform: rotate(-2deg);
  background: var(--lil);
  box-shadow: 8px 8px 0 var(--ink);
  color: var(--ink);
}

.stamp .tag {
  color: #4a445c;
}

.stamp b {
  white-space: nowrap;
  font-family: Unbounded, sans-serif;
  font-size: 44px;
  display: block;
  font-weight: 800;
}

.tag {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mute);
  margin-bottom: 12px;
}

section {
  padding: 60px 0;
  border-top: 2px solid var(--ink);
}

h2 {
  font-size: 44px;
  margin-bottom: 30px;
  font-weight: 800;
}

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

.big {
  background: #5e4894;
  color: #fff;
  padding: 40px;
  min-height: 300px;
  font-size: 18px;
  line-height: 1.5;
}

.big .tag {
  color: #efe8ff;
}

.big-title {
  font-family: Unbounded, sans-serif;
  font-size: 40px;
  margin-bottom: 14px;
  font-weight: 800;
}

.sm {
  background: #fff;
  border: 2px solid var(--ink);
  padding: 24px;
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.45;
}

.sm:last-child { margin-bottom: 0; }

.sm-title {
  font-family: Unbounded, sans-serif;
  font-size: 22px;
  margin-bottom: 6px;
  font-weight: 800;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 20px;
}

.price-table td {
  padding: 20px 0;
  border-bottom: 1px solid var(--ink);
  vertical-align: top;
}

.price-table td.p {
  font-family: Unbounded, sans-serif;
  font-size: 28px;
  text-align: right;
  white-space: nowrap;
  font-weight: 800;
}

.lead-muted {
  margin: -16px 0 24px;
  color: var(--mute);
}

.cases {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 16px;
}

.c {
  position: relative;
  overflow: hidden;
  padding: 0;
  display: flex;
  align-items: flex-end;
  min-height: 200px;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.3;
  text-decoration: none;
  color: #fff;
  background: var(--lil);
}

.c:first-child {
  grid-row: span 2;
}

.c-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.c-cap {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  padding: 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(17, 14, 28, 0.78) 72%);
}

.concepts-more {
  margin: 20px 0 0;
}

.concepts-more a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: inherit;
}

.who {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: center;
}

.who-stamp {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1;
  background: #7c5cbf;
  display: flex;
  align-items: center;
  justify-content: center;
}

.who-stamp-inits {
  font-family: Unbounded, sans-serif;
  font-weight: 800;
  font-size: clamp(56px, 12vw, 80px);
  letter-spacing: 0.06em;
  color: #fff;
  line-height: 1;
}

.who-lead {
  font-size: 22px;
  margin-bottom: 10px;
}

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

.pc {
  border: 2px solid var(--ink);
  background: #fff;
}

.scr {
  height: 220px;
  background: var(--lil);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
}

.scr--kosmos { background: #e6dfd2; }

.scr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  display: block;
}

.pc .t { padding: 24px; }

.pc-title {
  font-family: Unbounded, sans-serif;
  font-size: 26px;
  margin-bottom: 6px;
  font-weight: 800;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pc .t > p {
  margin-top: 8px;
  line-height: 1.45;
}

.chips span {
  display: inline-block;
  border: 1.5px solid var(--ink);
  padding: 3px 10px;
  margin: 10px 6px 0 0;
  font-size: 14px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-left: 2px solid var(--ink);
}

.st {
  border-right: 2px solid var(--ink);
  padding: 0 18px;
  font-size: 16px;
  line-height: 1.45;
}

.st b {
  font-family: Unbounded, sans-serif;
  font-size: 44px;
  color: var(--acc);
  display: block;
  font-weight: 800;
}

.st-title {
  font-size: 20px;
  margin: 6px 0;
  font-weight: 600;
}

.quiz {
  background: var(--lil);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 30px;
  align-items: center;
}

.quiz h2 { margin: 0; }

.quiz-intro p { margin-top: 12px; }

.quiz-step {
  font-weight: 600;
  margin-bottom: 10px;
}

.quiz-progress {
  display: none;
}

.quiz-q { display: none; }

.quiz-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.quiz-opts .quiz-opt {
  display: inline-block;
  background: #fff;
  border: 2px solid var(--ink);
  padding: 10px 16px;
  margin: 0 8px 10px 0;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink);
}

.quiz-opts .quiz-opt:hover {
  background: color-mix(in srgb, var(--ink) 8%, #fff);
}

details {
  border-bottom: 1px solid var(--ink);
  padding: 20px 0;
}

summary {
  font-family: Unbounded, sans-serif;
  font-size: 20px;
  list-style: none;
  cursor: pointer;
  font-weight: 500;
}

summary::-webkit-details-marker { display: none; }

details p {
  margin-top: 10px;
  max-width: 760px;
  line-height: 1.5;
}

.form-band {
  background: var(--acc);
  color: #fff;
  margin: 0 calc(50% - 50vw);
  padding: 60px calc(50vw - 50% + 40px);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.form-grid h2 { color: #fff; }

.form-grid a { color: #fff; }

.form-fields {
  display: grid;
  gap: 12px;
}

.form-fields label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}

.form-fields input,
.form-fields select,
.form-fields textarea {
  width: 100%;
  background: #fff;
  border: 2px solid var(--ink);
  padding: 14px;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

.form-fields textarea {
  min-height: 90px;
  resize: vertical;
}

.form-fields select {
  color-scheme: light;
}

.form-fields option {
  background: #fff;
  color: var(--ink);
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  font-weight: 400;
}

.consent input { width: auto; margin-top: 4px; }

.consent a { color: #fff; text-decoration: underline; }

.form-ok,
.form-err {
  display: none;
  font-size: 15px;
  margin-top: 8px;
}

.form-ok.show,
.form-err.show { display: block; }

.form-err a { color: #fff; }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  background: var(--footer);
  color: var(--paper);
  padding: 50px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer .logo {
  color: var(--paper);
  font-size: 40px;
}

.footer-right {
  text-align: right;
}

.footer-right p {
  margin-top: 12px;
  font-size: 16px;
}

.footer-right a {
  color: var(--paper);
  text-decoration: none;
}

.footer-right a:hover { text-decoration: underline; }

.metrika-noscript {
  position: absolute;
  left: -9999px;
}

@media (max-width: 1100px) {
  h1 { font-size: 56px; }
  .site-nav a:not(.nav-phone) { display: none; }
  .site-header .header-cta { display: none; }
}

@media (max-width: 900px) {
  .w { padding: 0 20px; }

  .hero {
    grid-template-columns: 1fr;
    padding: 48px 0 40px;
  }

  h1 { font-size: 42px; }

  .stamp {
    transform: none;
    max-width: 320px;
  }

  .stamp b { font-size: 36px; }

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

  .cases {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .c:first-child { grid-row: span 1; grid-column: 1 / -1; min-height: 200px; }

  .c { min-height: 120px; }

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

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

  .st {
    border-right: none;
    border-bottom: 2px solid var(--ink);
    padding: 18px 0;
  }

  .quiz {
    grid-template-columns: 1fr;
    padding: 28px 20px;
  }

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

  .who-stamp { max-width: none; }

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

  .form-band {
    padding: 48px 20px;
    margin: 0 calc(50% - 50vw);
    padding-left: max(20px, calc(50vw - 50% + 20px));
    padding-right: max(20px, calc(50vw - 50% + 20px));
  }

  .site-footer .logo { font-size: 28px; }

  .footer-right { text-align: left; }
}

@media (max-width: 480px) {
  h1 { font-size: 34px; }

  h2 { font-size: 32px; }

  .price-table {
    font-size: 17px;
    display: block;
  }

  .price-table tbody,
  .price-table tr {
    display: block;
    width: 100%;
  }

  .price-table tr {
    padding: 18px 0;
    border-bottom: 1px solid var(--ink);
  }

  .price-table td {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
  }

  .price-table td:first-child {
    line-height: 1.45;
  }

  .price-table td.p {
    text-align: left;
    font-size: 26px;
    margin-top: 10px;
    white-space: normal;
  }

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