*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:#202020;background:#fff;font:16px/1.6 system-ui,sans-serif}
a{color:inherit}
a:focus-visible{outline:3px solid #444;outline-offset:4px}
h1,h2,h3,p{margin:0}
h1{font-size:clamp(2.4rem,5vw,4rem);line-height:1.08;max-width:16ch}
h2{font-size:clamp(1.7rem,3vw,2.4rem);line-height:1.2}
h3{font-size:1.3rem;line-height:1.3}
p{margin-top:1rem}
header,section,footer{max-width:1120px;margin:auto;padding-left:24px;padding-right:24px}
header{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid #ddd}
header>a{display:flex;align-items:baseline;gap:16px;text-decoration:none}
header>a span:first-child,footer>span:first-child{font-size:1.4rem;font-weight:750}
header>a span+span{font-size:.875rem}
nav{display:flex;gap:24px;flex-wrap:wrap}
nav a{text-decoration:none}
section{padding-top:80px}
section>h2{margin-bottom:28px}
#top>div{display:grid;grid-template-columns:1.25fr .75fr;gap:64px;align-items:center;min-height:420px}
#top p{max-width:58ch}
#top>div>div:first-child>div:first-child{font-size:.875rem;font-weight:600;margin-bottom:20px}
#top a,#start a,#contact a{display:inline-block;padding:12px 20px;border:1px solid #333;border-radius:4px;text-decoration:none;font-weight:650;margin-top:24px}
section.about{display:grid;grid-template-columns:1fr 1fr;gap:64px}
section.about>div:first-child>p:first-child{margin:0 0 8px;font-size:.875rem;font-weight:650}
section.about>div:nth-child(2){display:grid;grid-template-columns:1fr 1fr;gap:16px}
section.about>div:nth-child(2)>div,#for>div>div,#bots>div>div,section.launch-steps>div>div{border:1px solid #d5d5d5;padding:20px;border-radius:4px}
section.about>div:nth-child(2)>div>div:first-child,#for>div>div>div:first-child{font-weight:700;font-size:1.1rem}
section.about>div:nth-child(2)>div>div+div,#for>div>div>div+div{margin-top:8px}
#for>div{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
#for>div>div>div:last-child{font-size:.875rem;font-weight:650}
section.problem-solution>div,#bots>div{display:grid;grid-template-columns:1fr 1fr;gap:16px}
section.problem-solution>div>div{background:#f4f4f4;padding:28px}
section.problem-solution>div>div>p{margin:0 0 6px;font-size:.875rem;font-weight:600}
section.problem-solution>div>div>div{display:flex;gap:12px;margin-top:12px}
#bots>div>div>span{font-size:.875rem;font-weight:650}
#bots>div>div>div:nth-child(2){font-size:1.35rem;font-weight:700;margin:8px 0 16px}
#bots>div>div>div:nth-child(3)>div{padding:8px 0;border-top:1px solid #ddd}
#compare>p{margin-top:-16px;margin-bottom:24px}
#compare>div{overflow-x:auto;border:1px solid #ddd}
table{width:100%;border-collapse:collapse;min-width:760px;text-align:left}
th,td{padding:14px;border-bottom:1px solid #ddd;vertical-align:top}
th{background:#f4f4f4}
td:first-child{font-weight:650}
section.launch-steps>div{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
section.launch-steps>div>div>div:first-child{font-weight:700}
section.launch-steps>div>div>div:nth-child(2){font-weight:700;font-size:1.1rem;margin:10px 0}
#start>div{background:#eee;padding:36px;display:flex;align-items:center;justify-content:space-between;gap:24px}
#start a{white-space:nowrap;margin-top:0}
#contact>div{display:flex;justify-content:space-between;align-items:center;gap:24px;border-top:1px solid #ddd;padding-top:32px}
#contact>div>div>div:first-child{font-size:1.3rem;font-weight:700}
#contact a{margin-top:0;white-space:nowrap}
footer{margin-top:80px;padding-top:24px;padding-bottom:32px;border-top:1px solid #ddd;display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;font-size:.875rem}
footer>span:nth-child(2){display:flex;gap:20px;flex-wrap:wrap}
footer > span[hidden] { display: none; }
@media(max-width:800px){header{padding-top:20px;padding-bottom:20px;align-items:flex-start;flex-direction:column}
nav{gap:16px}
section{padding-top:56px}
#top>div,section.about{grid-template-columns:1fr;gap:32px}
#top>div{padding-top:40px}
#for>div{grid-template-columns:repeat(2,1fr)}
section.launch-steps>div{grid-template-columns:1fr}
#start>div,#contact>div{align-items:flex-start;flex-direction:column}
}
@media(max-width:480px){section.about>div:nth-child(2),#for>div,section.problem-solution>div,#bots>div{grid-template-columns:1fr}
#start>div{padding:24px}
header>a{flex-direction:column;gap:0}
footer{align-items:flex-start;flex-direction:column}
}



/* Общий визуальный стиль */
@font-face {
  font-family: InterLocal;
  src: url('assets/Inter-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: InterLocal;
  src: url('assets/Inter-Bold.ttf') format('truetype');
  font-weight: 700 900;
  font-display: swap;
}
:root {
  --blue: #0758f5;
  --ink: #14171e;
  --soft: #edf5ff;
  --line: #dce5f1;
}
body {
  color: var(--ink);
  font-family: InterLocal, system-ui, sans-serif;
  background: #fff;
  overflow-x: clip;
}
body > div { position: relative; overflow: clip; }
::selection { color: #fff; background: var(--blue); }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
h1, h2, h3 { letter-spacing: -.035em; }
h1 { font-size: clamp(2.8rem, 5.3vw, 4.7rem); max-width: 13ch; }
h1 span { color: var(--blue); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
header { min-height: 88px; border-bottom-color: var(--line); }
header > a span:first-child, footer > span:first-child { font-size: 1.65rem; letter-spacing: -.06em; }
header > a span + span { color: #526179; max-width: 180px; line-height: 1.35; }
nav { align-items: center; }
nav a { font-size: .94rem; font-weight: 600; }
#top { position: relative; padding-top: 40px; }
#top > div { min-height: 560px; grid-template-columns: 1.1fr .9fr; position: relative; }
#top > div > div:first-child { position: relative; z-index: 1; }
#top > div > div:first-child > div:first-child { color: #164b99; background: #eaf3ff; border-radius: 999px; padding: 8px 14px; width: fit-content; }
#top p:first-of-type { font-size: 1.2rem; line-height: 1.5; font-weight: 600; max-width: 31rem; }
#top p:nth-of-type(2) { color: #4a5870; max-width: 31rem; }
#top a, #start a, #contact a {
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  padding: 15px 25px;
  transition: background-color 160ms ease, transform 160ms ease;
}
#top a:hover, #start a:hover, #contact a:hover { background: #0344c6; }
#top a:active, #start a:active, #contact a:active { transform: scale(.98); }
section { padding-top: 104px; }
section.about>div:first-child>p:first-child { color: #1453c6; }
section.about>div:nth-child(2)>div, #for>div>div, #bots>div>div, section.launch-steps>div>div {
  border-color: var(--line);
  background: #fff;
  border-radius: 16px;
  padding: 24px;
}
section.about>div:nth-child(2)>div>div:first-child, #for>div>div>div:first-child { letter-spacing: -.02em; }
#for>div>div { border: 0; background: #f2f7ff; }
#for>div>div>div:last-child { color: #0750c7; margin-top: 16px; }
section.problem-solution>div>div { background: #f1f5fa; border-radius: 18px; padding: 32px; }
section.problem-solution>div>div:nth-child(2) { background: #141923; color: white; }
section.problem-solution>div>div:nth-child(2)>div>span:first-child { color: #71aaff; }
#bots>div>div { padding: 30px; }
#bots>div>div>span { color: #0750c7; }
#bots>div>div>div:nth-child(3)>div { border-color: #e8edf5; }
#compare>div { background: white; border-color: var(--line); border-radius: 14px; }
th, td { border-color: #e3eaf3; }
th { background: #f3f7fc; }
th:last-child, td:last-child { background: #edf4ff; color: #163f86; }
section.launch-steps>div>div { background: #f4f8ff; border: 0; }
section.launch-steps>div>div>div:first-child { color: #0750c7; font-size: 1.3rem; }
#start>div { background: var(--blue); color: white; border-radius: 20px; padding: 48px; }
#start a { color: #141923; background: white; }
#start a:hover { background: #e3edff; }
#contact>div { border-color: var(--line); }
#contact a { color: #0750c7; background: white; border: 1px solid var(--blue); }
#contact a:hover { color: #fff; background: var(--blue); }
footer { border-color: var(--line); color: #41526b; }
footer>span:first-child { color: var(--ink); }
@media (max-width: 800px) {
  section { padding-top: 72px; }
  #top { padding-top: 20px; }
  #top>div { min-height: 0; padding-top: 26px; }
}
@media (max-width: 480px) {

  #top>div { padding-top: 0; }
  #start>div { padding: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #top a, #start a, #contact a { transition: none; }
}

/* Product explanation, audience and problem-to-solution flow */
.about {
  align-items: start;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 100px);
}
.about > div:first-child {
  max-width: 520px;
}
.about > div:first-child h2 {
  max-width: 17ch;
}
.about > div:first-child p:not(:first-child) {
  color: #39485e;
}
.about > div:nth-child(2) { align-content: start; }
.about > div:nth-child(2) > div > div:first-child {
  color: #101c30;
}
.about > div:nth-child(2) > div > div + div {
  color: #39485e;
  line-height: 1.55;
}
#for > div {
  gap: 0;
  border-top: 1px solid #cadaed;
  border-bottom: 1px solid #cadaed;
  background: #fff;
}
#for > div > div {
  border-radius: 0;
  background: transparent;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
#for > div > div + div {
  border-left: 1px solid #cadaed;
}
#for > div > div > div:nth-child(2) {
  color: #39485e;
  line-height: 1.55;
}
#for > div > div > div:last-child {
  margin-top: auto;
  padding-top: 18px;
}
.problem-solution > div {
  gap: 0;
}
.problem-solution > div > div {
  border-radius: 18px 0 0 18px;
  padding: clamp(24px, 3vw, 36px);
}
.problem-solution > div > div:nth-child(2) {
  border-radius: 0 18px 18px 0;
}
.problem-solution h3 {
  max-width: 25ch;
  min-height: 2.6em;
}
.problem-solution > div > div > div {
  gap: 12px;
  align-items: baseline;
  padding-top: 13px;
  margin-top: 13px;
  border-top: 1px solid #d5deeb;
}
.problem-solution > div > div:nth-child(2) > div {
  border-color: #3a4659;
}
.problem-solution > div > div > div > span:first-child {
  flex: 0 0 1em;
  font-weight: 700;
}
@media (max-width: 800px) {
  .about { grid-template-columns: 1fr; gap: 32px; }
  #for > div > div:nth-child(3) { border-left: 0; }
  #for > div > div:nth-child(n+3) { border-top: 1px solid #cadaed; }
}
@media (max-width: 480px) {
  .about > div:nth-child(2) { grid-template-columns: 1fr 1fr; gap: 0 20px; }
  #for > div > div { padding: 22px 0; }
  #for > div > div + div { border-left: 0; border-top: 1px solid #cadaed; }
  .problem-solution > div { gap: 0; }
  .problem-solution > div > div { border-radius: 18px 18px 0 0; }
  .problem-solution > div > div:nth-child(2) { border-radius: 0 0 18px 18px; }
  .problem-solution h3 { min-height: 0; }
}

#for > div {
  border: 0;
  background: transparent;
  gap: 0;
}
#for > div > div {
  border: 0;
  border-left: 1px solid #e1e9f4;
  padding: 0 24px;
}
#for > div > div + div { border-left: 1px solid #e1e9f4; }
@media (max-width: 800px) {
  #for > div { gap: 28px 0; }
  #for > div > div:nth-child(3) { border-left: 1px solid #e1e9f4; }
  #for > div > div:nth-child(n+3) { border-top: 0; }
}
@media (max-width: 480px) {
  #for > div { gap: 20px; }
  #for > div > div,
  #for > div > div + div,
  #for > div > div:nth-child(3) {
    padding: 0 0 0 20px;
    border: 0;
    border-left: 1px solid #e1e9f4;
  }
}



/* Оформление версии 1 */
/* Typography and layout study based on Max_2.png. */
section[hidden] { display: none; }
.start-alternative__card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 80px; min-height: 290px; overflow: hidden; padding: 36px 40px; border-radius: 16px; background: linear-gradient(to bottom, #fff, #e8f3ff 50%, #fff); color: #0758f5; }
.start-alternative__card::before {
  content: "";
  position: absolute;
  inset: 0 0 0 30%;
  pointer-events: none;
  background: url('assets/cta-clouds.png') right center / min(100%, 500px) auto no-repeat;
}
.start-alternative__content { position: relative; max-width: 35rem; }
.start-alternative__content h2 { max-width: 24ch; }
.start-alternative__content p { margin-top: 12px; font-size: .95rem; line-height: 1.5; }
.start-alternative__button { position: relative; align-self: center; transform: translateY(36px); flex: 0 0 auto; display: inline-block; padding: 13px 28px; border-radius: 999px; background: #0758f5; color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.start-alternative__button:hover { background: #0344c6; }
.start-alternative__button::after { content: "\2192"; display: inline-block; margin-left: 18px; font-size: 1.15em; line-height: 1; }
@media (max-width: 800px) {
  .start-alternative__card { align-items: flex-start; flex-direction: column; justify-content: center; gap: 24px; min-height: 400px; }
  .start-alternative__button { align-self: flex-start; transform: none; margin-left: 80px; }
}
@media (max-width: 480px) {
  .start-alternative__card { padding: 28px 24px; }
  .start-alternative__button { margin-left: 54px; padding: 12px 20px; }
}
@media (max-width: 360px) {
  .start-alternative__button { margin-left: 35px; padding: 12px 14px; font-size: .85rem; }
  .start-alternative__button::after { margin-left: 10px; }
}
#price .price-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(120px, .55fr) minmax(0, 1fr); align-items: center; gap: 28px; padding: 32px 38px; border-radius: 16px; background: #161b25; color: #fff; }
.price-card__offer p { margin: 0; }
.price-card__badge { display: inline-block; margin-bottom: 8px; padding: 3px 10px; border: 1px solid #a9cbff; border-radius: 999px; color: #c8dfff; font-size: .75rem; font-weight: 700; line-height: 1.35; }
.price-card__amount { font-size: 2.6rem; font-weight: 750; line-height: 1.15; }
.price-card__offer .price-card__headline { margin-top: 6px; font-weight: 600; }
.price-card__offer .price-card__note { margin-top: 12px; font-size: .875rem; line-height: 1.5; color: #e2e8f2; }
.price-card__art { display: block; width: 100%; max-width: 190px; height: auto; justify-self: center; }
.price-card__benefits { margin: 0; padding: 0 0 0 32px; border-left: 1px solid #39485e; list-style: none; }
.price-card__benefits li { display: flex; align-items: baseline; gap: 12px; font-size: .9rem; line-height: 1.4; }
.price-card__benefits li + li { margin-top: 14px; }
.price-card__benefits li::before { content: "\2713"; flex: 0 0 auto; color: #6cb0ff; font-weight: 700; }
@media (max-width: 800px) {
  #price .price-card { grid-template-columns: minmax(0, 1fr) 120px; gap: 20px; padding: 28px; }
  .price-card__benefits { grid-column: 1 / -1; padding: 20px 0 0; border-top: 1px solid #39485e; border-left: 0; }
}
@media (max-width: 400px) {
  #price .price-card { grid-template-columns: minmax(0, 1fr) 85px; gap: 12px; padding: 24px; }
}
@media (max-width: 360px) {
  #price .price-card { grid-template-columns: 1fr; }
  .price-card__art { width: 85px; justify-self: end; }
}
#compare > .comparison-hint { display: none; }
#compare th[scope="row"] { background: transparent; color: inherit; font-weight: 650; }
@media (max-width: 800px) {
  #compare > .comparison-hint { display: block; margin: -12px 0 12px; color: #39485e; font-size: .875rem; }
}
:root {
  --blue: #0758f5;
  --ink: #101218;
  --muted: #526179;
  --line: #e4e9f1;
}
body { color: var(--ink); font-size: 15px; line-height: 1.5; }
header, section, footer { max-width: 1340px; padding-left: 32px; padding-right: 32px; }
header { min-height: 78px; border-bottom: 0; }
header > a span:first-child, footer > span:first-child { font-size: 1.4rem; }
header > a span + span { font-size: .75rem; max-width: 145px; color: #78889f; }
nav { gap: 30px; }
nav a { font-size: .875rem; font-weight: 500; }
nav .nav-contact { color: #0758f5; font: 400 1rem/1.05 NeuchaLocal, sans-serif; text-transform: uppercase; }
nav .nav-contact:hover { color: #0344c6; text-decoration: underline; text-underline-offset: 3px; }
.language-picker { position: relative; display: inline-flex; align-items: center; }
.language-picker::after { content: ""; position: absolute; right: 12px; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); pointer-events: none; }
.language-picker select { appearance: none; width: 68px; border: 1px solid #d5e0ef; border-radius: 999px; background: #fff; color: #39485e; padding: 8px 29px 8px 12px; font: 600 .8rem/1.2 InterLocal, sans-serif; cursor: pointer; }
.language-picker select:focus { outline: 0; box-shadow: none; }
.language-picker select:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
h1, h2, h3 { letter-spacing: -.035em; }
h1 { font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: 1.03; max-width: 12ch; }
h2 { font-size: clamp(1.7rem, 2.45vw, 2.25rem); line-height: 1.15; }
h3 { font-size: 1.35rem; line-height: 1.2; }
section { padding-top: 68px; }
section > h2 { margin-bottom: 22px; }
#top { padding-top: 48px; }
#top > div { min-height: 480px; grid-template-columns: minmax(0, .9fr) 1.1fr; }
#top > div > div:first-child > div:first-child {
  padding: 7px 13px; margin-bottom: 16px; background: #edf2f7;
  color: #44546a; border-radius: 999px; font-size: .8rem;
}
#top p:first-of-type { font-size: 1.15rem; line-height: 1.4; max-width: 27rem; font-weight: 500; }
#top p:nth-of-type(2) { font-size: .9rem; line-height: 1.5; color: var(--muted); max-width: 29rem; }
#top a { margin-top: 22px; padding: 13px 28px; }
section.about { grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
section.about > div:first-child { max-width: 480px; }
section.about > div:first-child > p:first-child { font-size: .78rem; color: #2265e9; }
section.about h2 { font-size: clamp(1.75rem, 2.45vw, 2.35rem); max-width: 16ch; text-transform: uppercase; }
section.about p:not(:first-child) { font-size: .95rem; line-height: 1.55; }
section.about > div:nth-child(2) { gap: 12px; }
section.about > div:nth-child(2) > div {
  padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff;
}
section.about > div:nth-child(2) > div > div:first-child { font-size: 1rem; }
section.about > div:nth-child(2) > div > div + div { font-size: .9rem; }
section.about .about-plane { grid-column: 1 / -1; justify-self: start; width: 130px; height: auto; filter: brightness(1.6) saturate(.4); }
#for > h2 { text-align: center; }
#for > div { margin-top: 32px; }
#for > div > div { padding: 0 25px; }
#for > div > div > div:first-child { font-size: 1rem; }
#for > div > div > div:nth-child(2) { color: #39485e; margin-top: 8px; padding-top: 0; font-size: .9rem; font-weight: 400; }
.problem-solution { padding-top: 60px; }
section.problem-solution > div { gap: 18px; }
.problem-solution > div > div, .problem-solution > div > div:nth-child(2) { border-radius: 18px; padding: 30px; }
.problem-solution h3 { min-height: 0; max-width: 24ch; margin-bottom: 20px; }
.problem-solution > div > div > div { border: 0; margin-top: 9px; padding-top: 0; font-size: .9rem; }
#bots > div > div { border-radius: 14px; padding: 24px; }
#bots > div > div > div:nth-child(2) { font-size: 1.25rem; }
#bots > div > div > div:nth-child(3) > div { font-size: .9rem; padding: 6px 0; border-top: 0; }
#compare > p { font-size: .95rem; }
#compare > div { border-radius: 10px; }
th, td { font-size: .875rem; padding: 12px 14px; }
section.launch-steps>div>div { border: 1px solid var(--line); background: white; border-radius: 12px; padding: 20px; }
section.launch-steps>div>div>div:first-child { font-size: 1.25rem; }
section.launch-steps>div>div>div:nth-child(2) { font-size: 1rem; }
section.launch-steps>div>div>div:last-child { font-size: .9rem; }
#start>div { padding: 36px 40px; border-radius: 16px; }
#start h2 { max-width: 24ch; }
#start p { font-size: .95rem; }
#contact > div { padding-top: 24px; }
#contact > div:has(.contact-details[open]) { align-items: flex-start; }
.contact-details { flex: 0 1 auto; text-align: right; }
.contact-details[open] { width: min(100%, 480px); }
.contact-details summary { display: inline-block; padding: 14px 25px; border: 1px solid var(--blue); border-radius: 999px; color: #0750c7; background: #fff; font-weight: 650; line-height: 1.5; list-style: none; cursor: pointer; }
.contact-details summary::-webkit-details-marker { display: none; }
.contact-details summary:hover { background: var(--blue); color: #fff; }
.contact-details summary:focus-visible, .contact-form :is(input, textarea, button):focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.contact-form { margin-top: 20px; text-align: left; }
.contact-form fieldset { display: grid; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.contact-form label { margin-top: 8px; color: #39485e; font-size: .875rem; font-weight: 600; }
.contact-form :is(input:not([type="hidden"]), textarea) { width: 100%; padding: 11px 12px; border: 1px solid #c9d6e8; border-radius: 10px; background: #fff; color: var(--ink); font: inherit; }
.contact-form textarea { resize: vertical; }
.contact-form button { justify-self: end; margin-top: 12px; padding: 12px 25px; border: 0; border-radius: 999px; background: var(--blue); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.contact-form button::after { content: "\2192"; display: inline-block; margin-left: 18px; font-size: 1.15em; line-height: 1; }
.contact-form button:hover { background: #0344c6; }
.contact-form button:disabled { opacity: .6; cursor: default; }
.contact-form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form__status { margin-top: 12px; color: #39485e; font-size: .875rem; }
.contact-form__status:empty { display: none; }
@media (max-width: 800px) {
  .contact-details { text-align: left; }
}
footer { position: relative; margin-top: 60px; border-top: 0; font-size: .8rem; }
footer::before { content: ""; position: absolute; top: 0; left: 32px; right: 32px; border-top: 1px solid var(--line); }
@media (max-width: 800px) {
  header, section, footer { padding-left: 24px; padding-right: 24px; }
  footer::before { left: 24px; right: 24px; }
  section { padding-top: 56px; }
  #top { padding-top: 24px; }
  #top > div { min-height: 0; grid-template-columns: 1fr; }
  section.about { grid-template-columns: 1fr; gap: 30px; }
  #for > h2 { text-align: left; }
  #for > div { margin-top: 24px; }
  #for > div > div { padding: 0 20px; }
}
@media (max-width: 480px) {
  h1 { font-size: clamp(2.35rem, 10vw, 3rem); }
  #top p:first-of-type { font-size: 1.05rem; }
  section.about > div:nth-child(2) { grid-template-columns: 1fr 1fr; gap: 10px; }
  section.about > div:nth-child(2) > div { padding: 16px; }
  #for > div > div { padding-left: 18px; }
  #start > div { padding: 28px 24px; }
}
@font-face {
  font-family: RobotoCondensedLocal;
  src: url('assets/RobotoCondensed.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: OswaldLocal;
  src: url('assets/Oswald.ttf') format('truetype');
  font-weight: 200 700;
  font-display: swap;
}
@font-face {
  font-family: PTSansNarrowLocal;
  src: url('assets/PTSansNarrow-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: FiraCondensedLocal;
  src: url('assets/FiraCondensed-Bold.otf') format('opentype');
  font-weight: 700;
  font-display: swap;
}
body { --heading-font: InterLocal, system-ui, sans-serif; }
body[data-heading-font="roboto"] { --heading-font: RobotoCondensedLocal, sans-serif; }
body[data-heading-font="oswald"] { --heading-font: OswaldLocal, sans-serif; }
body[data-heading-font="pt"] { --heading-font: PTSansNarrowLocal, sans-serif; }
body[data-heading-font="fira"] { --heading-font: FiraCondensedLocal, sans-serif; }
body h1, body h2, body h3,
body .about > div:nth-child(2) > div > div:first-child,
body #for > div > div > div:first-child,
body #bots > div > div > div:nth-child(2),
body section.launch-steps > div > div > div:nth-child(2),
body #contact > div > div > div:first-child {
  font-family: var(--heading-font);
  font-weight: 700;
}
.font-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 24px;
  background: #f2f5f9;
  color: #202a38;
  font-size: 14px;
}
.font-selector select {
  max-width: 100%;
  min-height: 38px;
  border: 1px solid #8794a5;
  border-radius: 5px;
  padding: 6px 12px;
  background: white;
  color: #202a38;
  font: inherit;
}
.font-selector select:focus-visible { outline: 3px solid #0758f5; outline-offset: 3px; }
@media (max-width: 480px) {
  .font-selector { align-items: flex-start; flex-direction: column; gap: 4px; }
  .font-selector select { width: 100%; }
}
#bots > div > div > span {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid #0758f5;
  border-radius: 999px;
  background: #fff;
  color: #0758f5;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.35;
}
#bots .bot-note {
  margin-top: 16px;
  color: #526179;
  font-size: .8rem;
  line-height: 1.5;
  text-align: right;
}
/* Soft clouds span the hero and fade into the page background. */
#top > div {
  position: relative;
  isolation: isolate;
}
#top > div > .max2-hero-art {
  position: absolute;
  z-index: -1;
  inset: -10px -8% 0 34%;
  width: auto;
  max-width: none;
  min-height: 0;
  pointer-events: none;
  overflow: visible;
}
.max2-hero-art::before,
.max2-hero-art::after {
  content: "";
  position: absolute;
  pointer-events: none;
  background-repeat: no-repeat;
  background-image:
    radial-gradient(ellipse 42% 34% at 50% 68%, #e1efff 98%, transparent 100%),
    radial-gradient(circle at 50% 37%, #e1efff 0 29%, transparent 30%),
    radial-gradient(circle at 27% 62%, #e1efff 0 27%, transparent 28%),
    radial-gradient(circle at 73% 62%, #e1efff 0 27%, transparent 28%);
  -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 95%);
  mask-image: linear-gradient(to bottom, #000 45%, transparent 95%);
}
.max2-hero-art::before {
  width: 43%;
  height: 190px;
  left: 18%;
  top: 3%;
  opacity: .8;
}
.max2-hero-art::after {
  width: 30%;
  height: 140px;
  right: 12%;
  top: 25%;
  opacity: .62;
}
#top > div > .max2-hero-art {
  background:
    radial-gradient(ellipse 75px 50px at 10% 66%, #e8f3ff 0 55%, transparent 57%),
    radial-gradient(ellipse 55px 40px at 6% 70%, #e8f3ff 0 55%, transparent 57%),
    radial-gradient(ellipse 65px 40px at 14% 70%, #e8f3ff 0 55%, transparent 57%),
    radial-gradient(ellipse 65px 42px at 72% 80%, #eff7ff 0 55%, transparent 57%),
    radial-gradient(ellipse 42px 32px at 68% 83%, #eff7ff 0 55%, transparent 57%),
    radial-gradient(ellipse 52px 32px at 76% 83%, #eff7ff 0 55%, transparent 57%);
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 95%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 95%);
}
@media (max-width: 800px) {
  #top > div > .max2-hero-art {
    inset: 0 -18% 0 28%;
    width: auto;
    max-width: none;
    min-height: 0;
    margin: 0;
  }
  .max2-hero-art::before { width: 70%; height: 130px; left: 16%; }
  .max2-hero-art::after { width: 46%; height: 100px; right: 20%; top: 38%; }
}
#top a::after,
#start a::after {
  content: "\2192";
  display: inline-block;
  margin-left: 18px;
  font-size: 1.15em;
  line-height: 1;
  vertical-align: -0.02em;
}
body > div { isolation: isolate; }
.page-ribbon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}
header nav {
  position: relative;
  margin-left: auto;
  background: #fff;
  border-radius: 999px;
}
/* Clouds sit behind the ribbon; both remain behind page content. */
#top > div { isolation: auto; }
#top > div > .max2-hero-art { z-index: -2; }
/* Separate layers make the airplane and Telegram mark independently adjustable. */
.hero-plane-layer {
  position: absolute;
  z-index: 1;
  width: min(43%, 540px);
  height: auto;
  left: 54%;
  top: 16%;
  pointer-events: none;
}
@media (max-width: 800px) {
  #top > div { padding-bottom: 240px; }
  .hero-plane-layer { width: min(70%, 360px); top: auto; left: auto; right: 3%; bottom: 4px; }
}
@media (max-width: 480px) {
  #top > div { padding-bottom: 190px; }
  .hero-plane-layer { width: 75%; }
}
.page-ribbon { visibility: hidden; }
@media (min-width: 801px) {
  .hero-plane-layer { top: 10%; }
}
@media (max-width: 800px) {
  .hero-plane-layer { bottom: 30px; }
}
#bots > div {
  grid-template-columns: minmax(0, 1fr) minmax(120px, 190px) minmax(0, 1fr);
  align-items: center;
}
.cabinet-art, .pillow-art {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}
section.launch-steps > div {
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(110px, 170px);
  align-items: stretch;
}
@media (max-width: 800px) {
  #bots > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  section.launch-steps > div { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  #bots > div, section.launch-steps > div { grid-template-columns: 1fr; }
}
/* Frame the visible drawing, keeping transparent margins out of the layout. */
.cabinet-frame { aspect-ratio: 1.36; }
.pillow-frame { aspect-ratio: 1.32; }
.cabinet-frame > .cabinet-art,
.pillow-frame > .pillow-art {
  position: absolute;
  max-width: none;
  height: auto;
}
.cabinet-frame > .cabinet-art { width: 166%; left: -34%; top: -30%; }
.pillow-frame > .pillow-art { width: 180%; left: -40%; top: -32%; }
@font-face {
  font-family: NeuchaLocal;
  src: url('assets/Neucha.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
.cabinet-figure, .pillow-figure {
  margin: 0;
  align-self: center;
  min-width: 0;
}
.cabinet-figure .cabinet-frame, .pillow-figure .pillow-frame {
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
  width: 100%;
}
.cabinet-figure figcaption, .pillow-figure figcaption {
  margin: 8px 0 0;
  color: #0758f5;
  font: 400 1rem/1.05 NeuchaLocal, sans-serif;
  text-transform: uppercase;
}
@media (max-width: 800px) {
  #bots > div > .cabinet-figure { grid-column: 1 / -1; grid-row: 2; justify-self: center; width: 140px; }
  section.launch-steps > div > .pillow-figure { grid-column: 1 / -1; justify-self: center; width: 120px; }
  #bots > div > .cabinet-figure .cabinet-frame,
  section.launch-steps > div > .pillow-figure .pillow-frame { width: 100%; }
}
@media (max-width: 480px) {
  #bots > div > .cabinet-figure { grid-column: auto; grid-row: auto; width: 130px; }
  section.launch-steps > div > .pillow-figure { grid-column: auto; width: 110px; }
}
section.launch-steps > div > div > div:first-child {
  color: #0758f5;
}
.feature-icon, .audience-icon {
  display: block;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  margin: 0;
  background: center / contain no-repeat;
}
.icon-card { background-image: url('assets/icon-card.png'); }
.icon-phone { background-image: url('assets/icon-phone.png'); }
.icon-house { background-image: url('assets/icon-house.png'); }
.icon-ticket { background-image: url('assets/icon-ticket.png'); }
.icon-calendar { background-image: url('assets/icon-calendar.png'); }
.audience-icon { width: 32px; height: 32px; }
section.about > div:nth-child(2) > div > div:first-child,
#for > div > div > div:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
}
section.about > div:nth-child(2) > div > div:first-child,
#for > div > div > div:first-child {
  font-size: 1.1rem;
  line-height: 1.2;
}
.icon-chat { background-image: url('assets/icon-chat.png'); }
.icon-requests { background-image: url('assets/icon-requests.png'); }
.icon-catalog {
  width: 32px;
  height: 32px;
  background: url('assets/shopping-bags.png') center / 143% auto no-repeat;
}
.icon-catalog::before { content: none; }
#start > div > a { position: relative; }
#start > div > a::before {
  content: "";
  position: absolute;
  width: 65px;
  height: 32px;
  right: calc(100% + 15px);
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  background: url('assets/cta-lines-transparent.png') center / 220% auto no-repeat;
  filter: drop-shadow(.4px 0 0 #fff) drop-shadow(-.4px 0 0 #fff);
}
@media (max-width: 800px) {
  #start > div > a { margin-left: 84px; }
}
@media (max-width: 480px) {
  #start > div > a { margin-left: 60px; }
  #start > div > a::before { width: 46px; height: 23px; right: calc(100% + 12px); }
}
@media (max-width: 360px) {
  #start > div > a { margin-left: 35px; padding: 12px 14px; font-size: .85rem; }
  #start > div > a::before { width: 28px; height: 14px; right: calc(100% + 7px); }
  #start > div > a::after { margin-left: 10px; }
}
section.problem-solution .how-it-works {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  align-items: center;
  gap: 24px;
  margin-top: 20px;
  padding: 30px;
  border-radius: 18px;
  background: #edf5ff;
}
section.problem-solution .how-it-works > .how-it-works-content {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}
.how-it-works h2 { margin: 0 0 22px; }
.how-it-works ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.how-it-works li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 13px;
  color: #39485e;
}
.how-it-works li::before {
  content: "\2713";
  display: grid;
  flex: 0 0 22px;
  place-items: center;
  color: #0758f5;
  font: 700 1rem/1.2 InterLocal, sans-serif;
}
.spool-figure { margin: 0; width: 100%; }
.spool-frame { height: 150px; overflow: hidden; position: relative; }
.spool-frame img {
  position: absolute;
  width: 112%;
  max-width: none;
  height: auto;
  left: -6%;
  top: -34%;
}
.spool-figure figcaption {
  margin-top: 16px;
  margin-left: 45%;
  width: max-content;
  color: #0758f5;
  font: 400 1rem/1.05 NeuchaLocal, sans-serif;
  text-transform: uppercase;
}
@media (max-width: 480px) {
  section.problem-solution .how-it-works {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .spool-figure { width: 120px; justify-self: center; }
  .spool-frame img { top: -25%; }
}
section.problem-solution > .how-pair {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  align-items: stretch;
  margin-top: 20px;
}
section.problem-solution > .how-pair > .how-it-works {
  margin: 0;
  padding: 30px;
  border-radius: 18px;
  background: #edf5ff;
  color: var(--ink);
}
section.problem-solution > .how-pair > .how-benefits {
  padding: 30px;
  border-radius: 18px;
  background: #141923;
  color: #fff;
}
.how-benefits h2 { font-size: 1.65rem; max-width: 22ch; margin: 0 0 20px; }
.how-benefits ul { list-style: none; padding: 0; margin: 0; }
.how-benefits li { display: flex; gap: 12px; align-items: baseline; margin-top: 12px; font-size: .9rem; }
.how-benefits li::before { content: "\2713"; color: #71aaff; font-family: Arial, sans-serif; font-weight: 700; }
@media (max-width: 800px) {
  section.problem-solution > .how-pair { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  section.problem-solution > .how-pair > .how-it-works,
  section.problem-solution > .how-pair > .how-benefits { padding: 24px; }
}
section.problem-solution > .how-pair > .how-it-works > .how-it-works-content {
  display: block;
  margin: 0;
}
section.problem-solution .how-benefits > p {
  display: inline-block;
  margin: 0 0 6px;
  padding: 3px 10px;
  border: 1px solid #a9cbff;
  border-radius: 999px;
  color: #c8dfff;
  font-family: InterLocal, sans-serif;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.35;
}
section.problem-solution > .problem-comparison[hidden] { display: none; }

/* Mobile navigation */
.menu-toggle { display: none; }
.menu-toggle[hidden], header nav[hidden] { display: none; }
@media (max-width: 800px) {
  header { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0; }
  header > a { margin-right: auto; }
  .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
  header > .language-picker { order: 2; margin-left: 12px; }
  .menu-toggle { order: 1; }
  .menu-toggle:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
  .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
  .menu-toggle span { position: relative; }
  .menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
  .menu-toggle span::before { top: -6px; }
  .menu-toggle span::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] span { background: transparent; }
  .menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
  header nav { order: 3; flex: 0 0 100%; align-items: flex-start; flex-direction: column; gap: 18px; margin-left: 0; padding: 20px 0 4px; }
}
