@font-face {
  font-family: Inter;
  src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --text: #faf9fd;
  --muted: #c5cadd;
}

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

html {
  min-width: 320px;
  min-height: 100%;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(ellipse 32% 28% at 2% 0%, rgba(93, 77, 99, .28), transparent 85%),
    radial-gradient(ellipse 43% 40% at 95% -5%, rgba(73, 61, 91, .25), transparent 86%),
    radial-gradient(ellipse 38% 43% at 97% 101%, rgba(78, 48, 81, .19), transparent 82%),
    radial-gradient(ellipse 37% 23% at 14% 105%, rgba(73, 42, 76, .17), transparent 82%),
    radial-gradient(ellipse 32% 22% at 42% 105%, rgba(64, 39, 72, .16), transparent 82%),
    #0b0d13;
}

button {
  font: inherit;
}

.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.page-shell {
  width: min(100% - 9.2%, 1518px);
  margin-inline: auto;
  padding-bottom: 46px;
}

.hero {
  padding-top: 20px;
  text-align: center;
}

.brand {
  display: flex;
  width: fit-content;
  height: 140px;
  margin-inline: auto;
  align-items: center;
  justify-content: center;
  gap: 0;
  white-space: nowrap;
}

.brand-mark {
  display: block;
  width: 140px;
  height: 140px;
  object-fit: contain;
}

.brand-name {
  display: block;
  margin-left: -3px;
  padding-right: 8px;
  color: #fcfaff;
  background: linear-gradient(99deg, #fff 6%, #f9f5ff 37%, #f58ed5 75%, #ca76f7 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 76px;
  font-weight: 800;
  letter-spacing: -.061em;
  line-height: 1;
  transform: translateX(6px);
}

.hero h1 {
  margin: -5px 0 0;
  font-size: clamp(37px, 3.32vw, 55px);
  font-weight: 750;
  letter-spacing: -.047em;
  line-height: 1.18;
}

.hero h1 span {
  background: linear-gradient(95deg, #ffcad7, #f687d3 57%, #ba69f5);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.55vw, 26px);
  font-weight: 400;
  letter-spacing: -.022em;
  line-height: 1.35;
}

.plans {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 21px;
  margin-top: 33px;
}

.plan-card {
  min-width: 0;
  min-height: 604px;
  padding: 31px 34px 32px;
  border: 1px solid #34394b;
  border-radius: 23px;
  background: linear-gradient(133deg, rgba(16, 18, 25, .92), rgba(16, 18, 26, .79) 58%, rgba(20, 21, 31, .94));
  box-shadow: inset 0 0 35px rgba(22, 23, 34, .17);
}

.plan-card--premium {
  border: 2px solid transparent;
  padding: 30px 33px 31px;
  background:
    radial-gradient(ellipse 105% 62% at 0% 0%, rgba(102, 37, 78, .19), transparent 68%) padding-box,
    radial-gradient(ellipse 85% 65% at 100% 100%, rgba(91, 43, 128, .13), transparent 74%) padding-box,
    linear-gradient(#0e1018, #0e1018) padding-box,
    linear-gradient(135deg, #ff81c5, #ec78d4 53%, #b76bf6) border-box;
  box-shadow: 0 0 0 1px rgba(250, 127, 212, .13), 0 0 23px rgba(241, 97, 197, .26), inset 0 0 40px rgba(195, 75, 169, .08);
}

.plan-card--max {
  background: linear-gradient(135deg, rgba(16, 18, 25, .94), rgba(16, 18, 26, .8) 56%, rgba(20, 22, 32, .96));
}

.plan-inner {
  padding-inline: 10px;
}

.plan-card h2 {
  margin: 0;
  font-size: 40px;
  font-weight: 750;
  letter-spacing: -.053em;
  line-height: 1.2;
}

.plan-description {
  margin: 6px 0 0;
  color: #d0d3e2;
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -.022em;
  line-height: 1.42;
  white-space: nowrap;
}

.price-row {
  display: flex;
  min-height: 78px;
  margin-top: 11px;
  margin-right: -8px;
  align-items: center;
  white-space: nowrap;
}

.price {
  font-size: 68px;
  font-weight: 750;
  letter-spacing: -.075em;
  line-height: 1;
}

.period {
  margin-left: 13px;
  padding-top: 16px;
  color: #d0d3e2;
  font-size: 20px;
  letter-spacing: -.025em;
}

.old-price {
  margin-left: auto;
  padding-top: 16px;
  color: #d2d1df;
  font-size: 21px;
  letter-spacing: -.03em;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}

.discount {
  display: inline-flex;
  min-width: 112px;
  height: 46px;
  margin-left: 16px;
  padding: 0 15px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #101017;
  background: linear-gradient(110deg, #ff84bd, #e595ed 62%, #bf81ff);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.035em;
}

.plan-button {
  display: block;
  width: 100%;
  height: 56px;
  margin-top: 18px;
  border: 0;
  border-radius: 999px;
  color: #0d0d12;
  background: linear-gradient(105deg, #fffafd, #f8f0f6 52%, #fffafd);
  box-shadow: 0 2px 18px rgba(255, 255, 255, .035);
  cursor: pointer;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -.045em;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.plan-card--premium .plan-button {
  background: linear-gradient(100deg, #ffc3d1, #f6aae2 52%, #df96f6);
  box-shadow: 0 1px 22px rgba(244, 93, 192, .16);
}

.plan-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 8px 24px rgba(255, 191, 224, .16);
}

.plan-button:active {
  transform: translateY(0);
}

.plan-button:focus-visible {
  outline: 3px solid #f787d2;
  outline-offset: 4px;
}

.plan-divider {
  height: 1px;
  margin: 25px 2px 25px;
  background: #343745;
}

.feature-list {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0 10px;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr);
  min-height: 36px;
  align-items: center;
  gap: 15px;
  color: #daddE9;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -.027em;
  line-height: 1.25;
}

.feature-icon {
  width: 33px;
  height: 33px;
  overflow: visible;
  fill: none;
  stroke: #f8f6fb;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.plan-card--premium .feature-icon {
  stroke: #f3a1df;
}

.plan-card--max .feature-icon {
  stroke: #efa2cb;
}

.toast {
  position: fixed;
  z-index: 2;
  right: 24px;
  bottom: 24px;
  max-width: min(420px, calc(100vw - 32px));
  padding: 15px 20px;
  border: 1px solid rgba(241, 151, 218, .5);
  border-radius: 16px;
  color: #fff;
  background: rgba(28, 24, 36, .96);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .32);
  font-size: 15px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1600px) {
  .page-shell {
    width: min(100% - 6%, 1518px);
  }

  .plan-card,
  .plan-card--premium {
    padding-inline: 23px;
  }

  .plan-inner,
  .feature-list {
    padding-inline: 6px;
  }

  .plan-description {
    font-size: 18px;
  }

  .feature-list li {
    font-size: 18px;
    gap: 9px;
  }

  .price {
    font-size: 58px;
  }

  .period,
  .old-price {
    font-size: 17px;
  }

  .period {
    margin-left: 9px;
  }

  .discount {
    min-width: 94px;
    height: 42px;
    margin-left: 8px;
    padding-inline: 10px;
    font-size: 15px;
  }
}

@media (max-width: 1260px) {
  .page-shell {
    width: min(100% - 48px, 950px);
  }

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

  .plan-card--max {
    grid-column: 1 / -1;
    width: calc(50% - 10px);
    justify-self: center;
  }

  .plan-description {
    font-size: 19px;
  }
}

@media (max-width: 880px) {
  .page-shell {
    width: min(100% - 32px, 560px);
    padding-bottom: 32px;
  }

  .hero {
    padding-top: 26px;
  }

  .brand {
    height: 95px;
  }

  .brand-mark {
    width: 95px;
    height: 95px;
  }

  .brand-name {
    font-size: clamp(43px, 9vw, 63px);
  }

  .hero h1 {
    margin-top: 10px;
    font-size: clamp(31px, 7.2vw, 43px);
    line-height: 1.12;
  }

  .hero-subtitle {
    margin-top: 13px;
    font-size: 16px;
    line-height: 1.5;
  }

  .plans {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 30px;
  }

  .plan-card,
  .plan-card--premium {
    min-height: auto;
    padding: 28px 24px 30px;
  }

  .plan-card--max {
    grid-column: auto;
    width: auto;
    justify-self: stretch;
  }

  .plan-card h2 {
    font-size: 35px;
  }

  .plan-description {
    font-size: 18px;
    white-space: normal;
  }

  .price-row {
    flex-wrap: wrap;
    row-gap: 8px;
    margin-top: 15px;
  }

  .price {
    font-size: 59px;
  }

  .old-price {
    margin-left: 15px;
  }

  .plan-button {
    height: 54px;
    margin-top: 20px;
    font-size: 21px;
  }

  .plan-divider {
    margin: 23px 2px 19px;
  }

  .feature-list {
    gap: 13px;
  }

  .feature-list li {
    grid-template-columns: 39px minmax(0, 1fr);
    min-height: 34px;
    font-size: 17px;
  }

  .feature-icon {
    width: 29px;
    height: 29px;
  }
}

@media (max-width: 380px) {
  .brand-mark {
    width: 77px;
    height: 77px;
  }

  .brand-name {
    font-size: 42px;
  }

  .price {
    font-size: 54px;
  }

  .period,
  .old-price {
    font-size: 15px;
  }

  .discount {
    min-width: 87px;
    margin-left: 7px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .plan-button,
  .toast {
    transition: none;
  }
}
