:root {
  --bg: #faf8ff;
  --bg-soft: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.84);
  --bg-card-strong: #ffffff;
  --text: #1f2858;
  --muted: #55618d;
  --line: rgba(117, 129, 199, 0.14);
  --purple: #7065ff;
  --purple-dark: #5950e8;
  --cyan: #66d9ea;
  --mint: #edfdf7;
  --pink: #ff8fa7;
  --shadow: 0 26px 60px rgba(111, 119, 199, 0.12);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 18px;
  --container: 1280px;
  --font-display: "Inter", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Inter", "Avenir Next", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(123, 115, 255, 0.10), transparent 28%),
    radial-gradient(circle at top right, rgba(109, 225, 238, 0.10), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fbf9ff 42%, #f8f8ff 100%);
}

img {
  display: block;
  max-width: 100%;
}

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

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

.page-shell {
  overflow: hidden;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.section {
  margin-top: 34px;
}

#how {
  margin-top: 18px;
}

#how .section-title {
  margin-bottom: 22px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-weight: 800;
  font-size: 20px;
  min-width: 128px;
}

.brand__mark {
  position: relative;
  width: 34px;
  height: 34px;
}

.brand__mark--image {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 128px;
  height: 38px;
}

.brand__logo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand__antenna {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 6px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #8d83ff, #43d5ff);
  transform: translateX(-50%);
}

.brand__antenna::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 50%;
  width: 10px;
  height: 10px;
  border: 2px solid #7d72ff;
  border-radius: 50%;
  transform: translateX(-50%);
  background: #fff;
}

.brand__face {
  position: absolute;
  inset: 6px 0 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #8276ff, #4bd4ff);
  box-shadow: 0 10px 20px rgba(112, 101, 255, 0.24);
}

.brand__face::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 9px;
  background: linear-gradient(180deg, #11236f, #4338ff);
}

.brand__eye {
  position: absolute;
  top: 13px;
  z-index: 1;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
}

.brand__eye:first-child {
  left: 11px;
}

.brand__eye:last-child {
  right: 11px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  color: #2b2f48;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.faq-more:hover,
.faq-more:focus-visible {
  color: var(--purple-dark);
}

.header-cta {
  padding: 13px 22px;
  border: 1px solid rgba(112, 101, 255, 0.36);
  border-radius: 16px;
  color: var(--purple-dark);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 30px rgba(111, 118, 198, 0.08);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(520px, 820px);
  gap: 18px;
  align-items: end;
  padding-top: 22px;
}

.hero__copy {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  grid-row: 1;
  width: min(1040px, 100%);
  max-width: none;
  align-self: start;
  padding-top: 28px;
}

.hero__title {
  margin: 0;
  font-size: clamp(46px, 4.2vw, 66px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.04em;
  width: min(980px, 100%);
  max-width: none;
  position: relative;
  z-index: 3;
}

.hero__title span {
  color: var(--purple);
}

.hero__text {
  max-width: 610px;
  margin: 28px 0 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 34px;
  border-radius: 18px;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover,
.btn:focus-visible,
.header-cta:hover,
.header-cta:focus-visible,
.alert-banner__button:hover,
.alert-banner__button:focus-visible {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg, #7065ff, #887eff);
  color: #fff;
  box-shadow: 0 14px 30px rgba(111, 101, 255, 0.24);
}

.btn--secondary,
.btn--ghost {
  border: 1px solid rgba(112, 101, 255, 0.34);
  background: rgba(255, 255, 255, 0.84);
  color: var(--purple-dark);
}

.btn--small {
  min-height: 52px;
  padding-inline: 24px;
  font-size: 16px;
}

.hero__advantages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  width: min(100%, 552px);
  font-size: 13px;
  color: #31406d;
}

.hero__advantages li {
  position: relative;
  min-height: 48px;
  padding-left: 30px;
  line-height: 1.28;
  letter-spacing: 0;
}

.hero__advantages li::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 22px;
  height: 22px;
  border: 1.5px solid rgba(112, 101, 255, 0.26);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(112, 101, 255, 0.14) 0 34%, transparent 36%),
    #fff;
}

.hero__media {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  width: 108%;
  max-width: 940px;
  margin-top: 18px;
  margin-right: -88px;
}

.hero__media img {
  width: 100%;
  height: auto;
}

.section-title {
  margin: 0 0 24px;
  text-align: center;
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section-title--small {
  font-size: 34px;
  margin-bottom: 20px;
}

.section-title--left {
  text-align: left;
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.why-card,
.card-soft,
.pricing-panel__price,
.faq-card {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(124, 134, 209, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.why-card {
  min-height: 306px;
  padding: 28px 24px;
  border-radius: 30px;
  text-align: center;
}

.why-card__icon {
  display: grid;
  place-items: center;
  width: 106px;
  height: 106px;
  margin: 0 auto 18px;
}

.why-card h3,
.audience-card__body h3,
.pricing-panel__support h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
}

.why-card p,
.topics-note,
.pricing-panel__price p,
.alert-banner__body p,
.site-footer p {
  color: var(--muted);
}

.why-card p {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.6;
}

.why-grid__arrow {
  font-size: 30px;
  font-weight: 700;
  color: var(--purple);
  opacity: 0.9;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.audience-card {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: end;
  min-height: 342px;
  overflow: hidden;
  border: 1px solid rgba(124, 134, 209, 0.12);
  border-radius: 32px;
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.72);
}

.audience-card--violet {
  background: linear-gradient(135deg, rgba(242, 239, 255, 0.96), rgba(255, 255, 255, 0.86));
}

.audience-card--mint {
  background: linear-gradient(135deg, rgba(240, 253, 251, 0.96), rgba(255, 255, 255, 0.86));
}

.audience-card__media {
  position: relative;
  min-height: 342px;
}

.audience-card__media img {
  position: absolute;
  bottom: 0;
  left: 8px;
  width: 280px;
  max-width: none;
}

.audience-card__media--girl img {
  left: 22px;
  width: 252px;
}

.audience-card__body {
  align-self: center;
  padding: 34px 46px 34px 10px;
}

.check-list {
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin-bottom: 16px;
  padding-left: 28px;
  font-size: 17px;
  line-height: 1.45;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: #58cce6;
  font-weight: 800;
}

.check-list--compact {
  margin-bottom: 0;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.topic-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 90px;
  padding: 14px 16px;
  border: 1px solid rgba(124, 134, 209, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 36px rgba(111, 119, 199, 0.08);
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}

.topic-card img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}

.topics-note {
  margin: 24px 0 0;
  text-align: center;
  font-size: 15px;
}

.pricing-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.9fr) minmax(240px, 0.8fr);
  gap: 28px;
  align-items: center;
  min-height: 230px;
  padding: 28px 44px;
  border-radius: 30px;
  background: linear-gradient(100deg, rgba(235, 250, 251, 0.98), rgba(244, 253, 252, 0.92));
  box-shadow: 0 20px 48px rgba(106, 174, 185, 0.12);
  border: 1px solid rgba(124, 134, 209, 0.12);
}

.card-soft,
.pricing-panel__price {
  border-radius: 26px;
  padding: 30px 36px;
}

.pricing-panel__support {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
}

.pricing-panel__price {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 180px;
  text-align: left;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(111, 119, 199, 0.11);
}

.pricing-panel__label {
  font-size: 20px;
  font-weight: 700;
}

.pricing-panel__price strong {
  margin-top: 18px;
  font-size: clamp(48px, 4.8vw, 78px);
  line-height: 1;
  color: var(--purple);
}

.pricing-panel__price p {
  margin: 18px 0 0;
  font-size: 19px;
  line-height: 1.45;
}

.pricing-panel__visual {
  position: relative;
  display: grid;
  place-items: end center;
  min-height: 190px;
  justify-self: end;
  align-self: stretch;
  overflow: visible;
}

.pricing-panel__visual img {
  width: 280px;
  max-width: none;
  transform: translateY(22px);
}

.pricing-panel__badge {
  position: absolute;
  right: -22px;
  bottom: -18px;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #62d7e4, #81f0cf);
  color: #fff;
  font-size: 38px;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(102, 217, 234, 0.28);
}

.alert-banner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  min-height: 152px;
  padding: 30px 34px;
  border-radius: 28px;
  background: linear-gradient(135deg, #ff8f9e, #ff7d8d);
  color: #fff;
  box-shadow: 0 18px 40px rgba(255, 125, 141, 0.24);
}

.alert-banner__icon img {
  width: 206px;
  max-width: none;
}

.alert-banner__body h2,
.cta-ribbon__copy h2 {
  margin: 0;
  font-size: clamp(28px, 2.4vw, 42px);
  line-height: 1.1;
  font-weight: 800;
}

.alert-banner__body p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.5;
}

.alert-banner__button {
  padding: 18px 28px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: #302f4c;
  font-weight: 800;
  white-space: nowrap;
}

.section--faq-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.faq-card {
  width: 100%;
  padding: 30px 34px;
  border-radius: 30px;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
}

.faq-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  align-items: center;
  min-height: 74px;
  padding: 12px 0 14px;
  border-bottom: 1px solid rgba(120, 132, 203, 0.18);
  border-left: 0;
  border-right: 0;
  border-top: 0;
  color: var(--text);
  text-align: left;
  background: transparent;
  cursor: pointer;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 700;
}

.faq-item__text {
  display: block;
  overflow: visible;
  white-space: normal;
  overflow-wrap: anywhere;
}

.faq-item__icon {
  justify-self: end;
  color: var(--purple);
  font-size: 18px;
  line-height: 1;
  transition: transform 0.18s ease;
}

.faq-item[aria-expanded="true"] {
  color: var(--muted);
  font-weight: 500;
}

.faq-item[aria-expanded="true"] .faq-item__icon {
  transform: rotate(180deg);
}

.faq-more {
  display: inline-block;
  margin-top: 20px;
  color: var(--purple);
  font-weight: 700;
}

.cta-ribbon {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 210px;
  gap: 20px;
  align-items: center;
  min-height: 138px;
  padding: 24px 34px;
  border-radius: 28px;
  background: linear-gradient(135deg, #e6dcff, #eff4ff);
  box-shadow: 0 18px 40px rgba(111, 119, 199, 0.1);
  overflow: visible;
}

.cta-ribbon__copy p {
  margin: 10px 0 0;
  color: #6471a0;
  font-size: 20px;
  line-height: 1.45;
}

.cta-ribbon__actions {
  display: flex;
  gap: 12px;
}

.cta-ribbon__robot {
  position: absolute;
  right: 34px;
  bottom: 24px;
  width: 210px;
  pointer-events: none;
}

.cta-ribbon__robot img {
  width: 100%;
  max-width: none;
  margin: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 28px;
  padding: 34px 0 44px;
}

.brand--footer {
  align-items: center;
  gap: 0;
  line-height: 1;
  margin-bottom: 16px;
}

.brand--footer .brand__mark--image {
  width: 128px;
  height: 34px;
  transform: translateY(-1px);
}

.site-footer p,
.site-footer a {
  font-size: 15px;
  line-height: 1.6;
  color: #687395;
}

.site-footer__col h3 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 800;
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(112, 101, 255, 0.1);
  color: var(--purple-dark);
  font-weight: 700;
}

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

  .hero__copy {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }

  .hero__title {
    width: 100%;
  }

  .hero__media {
    display: none;
  }

  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-grid__arrow {
    display: none;
  }

  .topics-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .pricing-panel,
  .section--faq-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .pricing-panel {
    gap: 20px;
  }

  .pricing-panel__visual {
    justify-self: center;
  }

  .pricing-panel__badge {
    right: 18px;
    bottom: -18px;
  }

  .cta-ribbon {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 154px;
  }

  .cta-ribbon__actions {
    justify-content: center;
  }

  .cta-ribbon__robot img {
    width: 100%;
    margin: 0;
  }

  .cta-ribbon__robot {
    right: 50%;
    bottom: 24px;
    width: 190px;
    transform: translateX(50%);
  }
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-nav {
    order: 3;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 24px;
  }

  .hero__text {
    max-width: 620px;
  }

  .hero__advantages,
  .audience-grid,
  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audience-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .audience-card__media {
    min-height: 300px;
  }

  .audience-card__media img {
    left: 50%;
    width: 250px;
    transform: translateX(-50%);
  }

  .audience-card__body {
    padding: 26px 24px 24px;
  }

  .topics-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .alert-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .alert-banner__icon img {
    width: 202px;
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    margin-top: 24px;
  }

  .site-header {
    padding-top: 18px;
  }

  .main-nav {
    gap: 14px 18px;
    font-size: 14px;
  }

  .header-cta,
  .hero__actions,
  .hero__advantages,
  .faq-list,
  .cta-ribbon__actions {
    width: 100%;
  }

  .header-cta {
    display: none;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
  }

  .hero__copy,
  .hero__title {
    min-width: 0;
    max-width: 100%;
  }

  .hero__text {
    max-width: 100%;
    font-size: 18px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    max-width: 100%;
  }

  .hero__actions .btn {
    min-width: 0;
    padding-inline: 16px;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }

  .hero__media {
    display: none;
  }

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

  .section-title {
    font-size: 28px;
    margin-bottom: 18px;
  }

  .why-grid,
  .topics-grid,
  .hero__advantages,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .hero__advantages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }

  .hero__advantages li {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .why-card {
    min-height: 0;
    padding: 18px 16px;
    border-radius: 22px;
  }

  .why-card__icon {
    width: 68px;
    height: 68px;
    margin-bottom: 10px;
  }

  .why-card__icon img {
    width: 68px;
    height: 68px;
    object-fit: contain;
  }

  .why-card p {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.5;
  }

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

  .audience-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .audience-card__media {
    display: none;
  }

  .audience-card__body {
    padding: 22px 20px;
  }

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

  .topics-grid .topic-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 180px);
  }

  .topic-card {
    min-height: 78px;
    padding: 12px 10px;
    gap: 8px;
    font-size: 13px;
  }

  .pricing-panel {
    min-height: 0;
    padding: 18px;
  }

  .card-soft,
  .pricing-panel__price,
  .faq-card {
    padding: 22px 18px;
  }

  .pricing-panel__visual {
    min-height: 180px;
  }

  .pricing-panel__visual img {
    width: 230px;
    transform: translateY(14px);
  }

  .pricing-panel__badge {
    right: 14px;
    bottom: -14px;
    width: 56px;
    height: 56px;
    font-size: 28px;
  }

  .alert-banner {
    min-height: 0;
    padding: 24px 18px;
  }

  .alert-banner__button,
  .btn,
  .btn--small {
    width: 100%;
  }

  .alert-banner__icon img {
    width: 164px;
  }

  .cta-ribbon {
    min-height: 0;
    padding: 24px 18px 132px;
  }

  .cta-ribbon__robot img {
    width: 100%;
    margin: 0;
  }

  .cta-ribbon__robot {
    right: 50%;
    bottom: 18px;
    width: 168px;
    transform: translateX(50%);
  }
}

@media (max-width: 420px) {
  .hero__title {
    font-size: clamp(38px, 10.2vw, 42px);
    line-height: 1.06;
  }

  .hero__text {
    font-size: 16px;
    line-height: 1.55;
  }

  .btn {
    min-height: 56px;
  }
}
