:root {
  --purple: #570071;
  --purple2: #7d1593;
  --pink: #b41b8c;
  --bg: #f6f2f8;
  --surface: #fff;
  --text: #291b30;
  --muted: #75677c;
  --line: #eadfed;
  --soft: #f5eaf8;
  --dark: #261b2b;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background:
    linear-gradient(180deg, #faf8fb 0, #f3eef6 100%);
  color: var(--text)
}

a {
  text-decoration: none
}

.shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column
}

.header {
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px)
}

.header__in {
  max-width: 1160px;
  margin: auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px
}

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

.brand img {
  height: 35px;
  width: auto;
  object-fit: contain
}

.brand strong {
  display: block;
  font-size: 14px
}

.brand small {
  display: block;
  color: var(--muted);
  margin-top: 2px
}

.badge {
  background: var(--soft);
  color: var(--purple);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em
}

.main {
  width: min(1160px, calc(100% - 32px));
  margin: 26px auto 48px;
  flex: 1
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(135deg, #420058, #701087 58%, #a5198d);
  color: #fff;
  padding: 42px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  align-items: center;
  gap: 30px;
  box-shadow: 0 22px 60px rgba(74, 0, 91, .18)
}

.hero:before {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  right: -120px;
  top: -170px
}

.hero:after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  background: rgba(255, 255, 255, .05);
  border-radius: 50%;
  right: 150px;
  bottom: -130px
}

.kicker {
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 11px;
  font-weight: 850;
  opacity: .82
}

.hero h1 {
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.04;
  margin: 10px 0 15px;
  max-width: 650px
}

.hero p {
  color: #f0e7f3;
  line-height: 1.65;
  max-width: 650px;
  margin: 0
}

.hero__cta {
  margin-top: 23px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

.cta {
  border: 0;
  border-radius: 13px;
  padding: 12px 18px;
  background: #fff;
  color: var(--purple);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(20, 0, 25, .16)
}

.cta--ghost {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff
}

.visual {
  position: relative;
  z-index: 2;
  height: 220px;
  display: grid;
  place-items: center
}

.card-art {
  width: 225px;
  height: 140px;
  border-radius: 22px;
  padding: 20px;
  background: linear-gradient(145deg, #fff, #f4e9f7);
  color: #501164;
  box-shadow: 0 25px 55px rgba(20, 0, 25, .28);
  transform: rotate(-6deg);
  animation: float 4s ease-in-out infinite
}

.card-art small {
  color: #8c7295;
  font-weight: 700
}

.chip {
  width: 37px;
  height: 27px;
  margin: 17px 0 13px;
  border-radius: 7px;
  background: linear-gradient(135deg, #d5b668, #f0dd9c)
}

.card-art b {
  letter-spacing: .18em
}

.cycle {
  position: absolute;
  right: 20px;
  top: 10px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--purple);
  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
  animation: pulse 2.4s ease-in-out infinite
}

@keyframes float {
  50% {
    transform: rotate(-2deg) translateY(-9px)
  }
}

@keyframes pulse {
  50% {
    transform: scale(1.08) rotate(8deg)
  }
}

.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0
}

.flow__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 11px
}

.flow__n {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--soft);
  color: var(--purple);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900
}

.flow__item strong {
  display: block;
  font-size: 13px
}

.flow__item small {
  color: var(--muted)
}

.grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: start
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(65, 25, 75, .05);
  overflow: hidden
}

.panel__head {
  width: 100%;
  border: 0;
  background: #fff;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer
}

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

.panel__icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--soft);
  color: var(--purple);
  display: grid;
  place-items: center;
  font-weight: 900
}

.panel h2 {
  font-size: 16px;
  margin: 0
}

.panel__title small {
  display: block;
  margin-top: 4px;
  color: var(--muted)
}

.chev {
  color: var(--purple);
  font-weight: 900;
  transition: .2s
}

.panel__head.closed .chev {
  transform: rotate(180deg)
}

.panel__body {
  border-top: 1px solid #f2ebf4;
  padding: 20px
}

.panel__body.hidden {
  display: none
}

.enroll {
  text-align: center;
  padding: 25px
}

.enroll__icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: var(--soft);
  color: var(--purple);
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  font-size: 26px
}

.enroll h2 {
  font-size: 22px;
  margin: 0 0 8px
}

.enroll p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 auto 18px;
  max-width: 520px
}

.enroll form input[type="submit"] {
  border: 0;
  border-radius: 13px;
  padding: 13px 24px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  color: #fff;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(87, 0, 113, .2);
  min-width: 210px
}

.info-list {
  display: grid;
  gap: 12px
}

.info {
  display: flex;
  gap: 11px;
  align-items: flex-start
}

.info b {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--purple);
  display: grid;
  place-items: center
}

.info strong {
  font-size: 13px
}

.info p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin: 3px 0 0
}

.tech {
  margin-top: 18px
}

.code {
  background: #261c2b;
  color: #f4edf6;
  border-radius: 14px;
  padding: 15px;
  overflow: auto;
  font: 12px/1.6 Consolas, monospace;
  white-space: pre-wrap;
  word-break: break-word
}

.footer {
  background: var(--dark);
  color: #d9cfdd;
  margin-top: auto
}

.footer__in {
  max-width: 1160px;
  margin: auto;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  font-size: 12px
}

.footer strong {
  color: #fff
}

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

  .visual {
    display: none
  }

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

  .flow {
    grid-template-columns: 1fr
  }

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

@media(max-width:520px) {
  .main {
    width: min(100% - 20px, 1160px)
  }

  .hero {
    padding: 25px 20px;
    border-radius: 20px
  }

  .hero h1 {
    font-size: 31px
  }

  .header__in {
    padding: 12px 14px
  }

  .brand small {
    display: none
  }
}