@font-face {
  font-family: "Roboto Flex";
  src: url("fonts/roboto-flex-latin.woff2") format("woff2");
  font-weight: 100 1000;
  font-stretch: 25% 151%;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Flex";
  src: url("fonts/roboto-flex-cyrillic.woff2") format("woff2");
  font-weight: 100 1000;
  font-stretch: 25% 151%;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Roboto Flex";
  src: url("fonts/roboto-flex-ruble.woff2") format("woff2");
  font-weight: 100 1000;
  font-stretch: 25% 151%;
  font-display: swap;
  unicode-range: U+20BD;
}

@font-face {
  font-family: Inter;
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url("fonts/inter-cyrillic.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Inter;
  src: url("fonts/inter-ruble.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+20BD;
}

@font-face {
  font-family: "Pixelify Sans";
  src: url("fonts/pixelify.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0031-0037, U+0041, U+0045-0046, U+004D;
}

:root {
  color-scheme: dark;
  --background: #0a0a0a;
  --foreground: #f7f7f5;
  --body: #dbdbd8;
  --secondary: #adadab;
  --line: #353534;
  --page-edge: clamp(22px, 5.1vw, 84px);
  --cta-width: 366px;
  --display: "Roboto Flex", "Arial Narrow", sans-serif;
  --copy-width: 64ch;
  --section-space: clamp(76px, 10vw, 156px);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font: 300 clamp(1.0625rem, 1.27vw, 1.1875rem) / 1.7 Inter, system-ui, sans-serif;
  letter-spacing: .012em;
}

h1, h2, h3, p, ul, ol, dl, dd {
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--foreground);
  outline-offset: 6px;
}

.shell {
  width: min(100% - var(--page-edge) * 2, 1360px);
  margin-inline: auto;
}

.section-title, .plan-name, .plan-price, .countdown-value, .footer-title {
  font-family: var(--display);
  font-weight: 750;
  font-stretch: 44%;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 36, "wdth" 44;
}

.section, .sales {
  scroll-margin-top: 28px;
}

.skip-link {
  position: fixed;
  z-index: 2;
  top: 14px;
  left: var(--page-edge);
  padding: 12px 18px;
  background: var(--foreground);
  color: var(--background);
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header .header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  border-bottom: 1px solid var(--line);
}

.site-nav a,
.header-launch {
  font-size: .875rem;
  line-height: 1.35;
}

.site-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--foreground);
  font-weight: 550;
  text-decoration: none;
}

.site-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.header-launch {
  color: var(--secondary);
  text-align: right;
}

.header-launch time {
  white-space: nowrap;
}

.hero {
  position: relative;
  isolation: isolate;
  background: var(--background);
  overflow: clip;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  min-height: clamp(522px, calc(100svh - 64px), 850px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding-block: 38px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-wordmark,
.hero-action {
  position: relative;
}

.hero-mark {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;
  pointer-events: none;
  mix-blend-mode: screen;
  image-rendering: pixelated;
  opacity: .64;
}

.hero-mark-ss {
  width: clamp(134px, 18.2vw, 282px);
  right: 16%;
  top: 2%;
  mask-image: linear-gradient(165deg, #000 22%, #000 35%, rgb(0 0 0 / .64) 56%, rgb(0 0 0 / .16) 84%, transparent 94%);
  transform: translate(50%, -43%) rotate(23deg);
}

.hero-mark-flex {
  width: clamp(146px, 21vw, 306px);
  top: 42%;
  right: calc(100% + clamp(18px, 5.6vw, 102px));
  mask-image: linear-gradient(115deg, #000 25%, #000 37%, rgb(0 0 0 / .64) 57%, rgb(0 0 0 / .18) 79%, transparent 92%);
  filter: contrast(1.4);
  transform: translate(50%, -34%) rotate(-30deg);
}

.hero-title, .hero-subtitle, .button > span,
#program-title, .program-title > span:first-child, #sales-title {
  font-family: var(--display);
  font-weight: 850;
  font-stretch: 32%;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 48, "wdth" 32;
  letter-spacing: .032em;
  text-transform: uppercase;
  transform: scaleX(.67);
}

.hero-title {
  font-size: clamp(8.25rem, min(26vw, 46svh), 27rem);
  line-height: .81;
}

.hero-subtitle {
  margin-top: clamp(15px, 1.8vw, 26px);
  font-size: clamp(1.85rem, 5.15vw, 5rem);
  line-height: .98;
  text-wrap: balance;
}

.hero-description {
  width: min(100%, 50ch);
  margin-top: clamp(31px, 3.7vw, 56px);
  color: var(--body);
  text-wrap: balance;
}

.hero-action {
  width: min(100%, var(--cta-width));
  margin-top: clamp(45px, 5.4vw, 72px);
}

.hero-action .cta {
  position: relative;
  z-index: 1;
}

.button {
  position: relative;
  display: inline-grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  min-height: 58px;
  min-width: 218px;
  width: fit-content;
  padding: 12px 18px;
  border: 1px solid var(--foreground);
  color: var(--background);
  background: var(--foreground);
  font-size: 1rem;
  line-height: 1.3;
  text-decoration: none;
}

.button > span {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.08;
  text-align: center;
  white-space: nowrap;
}

.button.cta {
  width: min(100%, var(--cta-width));
  min-width: 0;
  min-height: clamp(64px, 5.9vw, 76px);
}

.button.cta > span {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
}

.button.cta::after {
  right: clamp(18px, 2.4vw, 32px);
}

.button::after {
  content: "";
  position: absolute;
  right: 17px;
  top: calc(50% - 6px);
  background: currentColor;
  width: 16px;
  height: 12px;
  clip-path: polygon(0 43%, 82% 43%, 52% 10%, 62% 0, 100% 50%, 62% 100%, 52% 90%, 82% 57%, 0 57%);
}

.button[href]:hover {
  background: var(--background);
  color: var(--foreground);
}

.section {
  padding-block: var(--section-space);
}

.section + .section,
.sales {
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: clamp(36px, 5vw, 74px);
}

.section-title {
  font-size: clamp(3.25rem, 8.75vw, 8.7rem);
  line-height: .91;
  letter-spacing: .016em;
  text-transform: uppercase;
}

.plan-name {
  display: inline-block;
  width: fit-content;
  padding: 5px 9px 4px;
  color: var(--background);
  background: var(--foreground);
}

.program-copy p {
  max-width: var(--copy-width);
  color: var(--body);
}

.program-copy p + p {
  margin-top: .8em;
}

#program-title {
  font-size: clamp(3.45rem, 10.6vw, 10rem);
  transform-origin: left;
}

.program-list {
  border-bottom: 1px solid #92928e;
}

.program-row + .program-row {
  border-top: 1px solid #92928e;
}

.program-title {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 74px;
  padding-block: clamp(16px, 1.8vw, 30px);
  cursor: pointer;
  line-height: 1.15;
}

.program-title > span:first-child {
  font-size: clamp(1.85rem, 4.22vw, 4.3rem);
  line-height: 1.1;
  transform-origin: left;
}

.program-number {
  flex: none;
  margin-inline-start: auto;
  color: var(--foreground);
  font: 700 clamp(2.35rem, 5.7vw, 5.25rem) / .8 "Pixelify Sans", monospace;
  opacity: .32;
}

.program-row:nth-child(n + 3) .program-number {
  opacity: .53;
}

.program-row:nth-child(n + 5) .program-number {
  opacity: .78;
}

.program-row:nth-child(7) .program-number,
.program-row[open] .program-number {
  opacity: 1;
}

.program-title::-webkit-details-marker {
  display: none;
}

.program-title::after {
  content: "";
  width: .45em;
  height: .45em;
  flex: none;
  margin-inline: .25em .4em;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-20%) rotate(45deg);
}

.program-row[open] .program-title::after {
  transform: translateY(20%) rotate(225deg);
}

.program-title:hover {
  color: var(--body);
}

.program-copy {
  padding-bottom: clamp(22px, 3.4vw, 42px);
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: clamp(58px, 7.2vw, 106px);
}

.plans, .countdown {
  border: 1px solid var(--line);
}

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

.plan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(23px, 3vw, 48px);
}

.plan + .plan {
  border-left: 1px solid var(--line);
}

.plan-name {
  font-size: clamp(1.85rem, 2.8vw, 2.8rem);
  line-height: .95;
  letter-spacing: .025em;
}

.plan-price {
  font-size: clamp(3.125rem, 5.1vw, 5.5rem);
  line-height: .95;
  letter-spacing: .013em;
  white-space: nowrap;
  margin-top: 21px;
}

.plan-features, .plan-features-intro {
  width: 100%;
  padding: 23px 0 0;
  margin-top: 27px;
  border-top: 1px solid var(--line);
  color: var(--body);
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.5;
}

.plan-features {
  list-style: none;
}

.plan-features-with-intro {
  border: 0;
  margin-top: 9px;
  padding: 0;
}

.plan-features li {
  position: relative;
  padding-inline-start: 16px;
}

.plan-features li::before {
  position: absolute;
  top: .65em;
  left: 0;
  width: 5px;
  height: 1px;
  background: var(--foreground);
  content: "";
}

.plan-features li + li {
  margin-top: 9px;
}

.plan-action {
  width: 100%;
  margin-top: auto;
  padding-top: 28px;
}

.plan-button {
  width: 100%;
  min-width: 0;
}

.plan-button > span {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
}

.plan-button[aria-disabled="true"] {
  color: var(--background);
  border-color: #999997;
  background: #dededb;
  cursor: not-allowed;
}

.plan-status {
  margin-top: 8px;
  color: var(--secondary);
  font-size: .8125rem;
  line-height: 1.35;
}

.sales {
  padding-block: clamp(68px, 8vw, 122px);
}

.sales-inner {
  display: grid;
  justify-items: center;
  text-align: center;
}

#sales-title {
  font-size: clamp(2.4rem, 9.4vw, 9rem);
  line-height: .92;
  text-wrap: balance;
}

.sales-period {
  display: block;
  margin-top: clamp(6px, 1vw, 15px);
  font-size: clamp(1.5rem, 4.9vw, 4.6rem);
  line-height: 1.05;
  text-wrap: balance;
}

.sales-period time {
  white-space: nowrap;
}

.sales-action {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  width: 100%;
  margin-top: clamp(54px, 6vw, 85px);
  padding-block: clamp(8px, 2vw, 31px) clamp(50px, 7.5vw, 105px);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(6px, 2vw, 24px);
  justify-items: center;
  width: min(100%, 420px);
  margin-top: clamp(30px, 4.6vw, 65px);
  padding: clamp(14px, 3vw, 24px) clamp(8px, 2.5vw, 20px);
}

.countdown-value {
  display: block;
  font-size: clamp(2rem, 5.3vw, 3.75rem);
  line-height: .95;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  display: block;
  color: var(--body);
  margin-top: 6px;
  font-size: .8125rem;
}

.site-footer {
  color-scheme: light;
  background: #fff;
  color: #000;
}

.footer-inner {
  min-height: 174px;
  display: grid;
  place-items: center;
  padding-block: 32px;
  text-align: center;
}

.footer-title {
  font-size: 2.35rem;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.footer-contact p, .social-links {
  font-size: 1rem;
  margin-top: 6px;
}

.social-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
}

.social-links a {
  text-underline-offset: 4px;
}

.social-links a:focus-visible {
  outline-color: currentColor;
}

@media (max-width: 980px) {
  .plan {
    padding-inline: 22px;
  }
}

@media (max-width: 880px) {
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }

  .plan {
    padding: 23px;
  }

  .plan + .plan {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .plan-features:not(.plan-features-with-intro), .plan-features-intro {
    margin-top: 19px;
    padding-top: 18px;
  }

  .plan-action {
    padding-top: 22px;
  }
}

@media (max-width: 760px) {
  .site-header .header-inner {
    gap: 10px 16px;
    padding-block: 6px;
  }

  .hero-inner {
    min-height: clamp(500px, calc(100svh - 64px), 690px);
    padding-block: 54px 48px;
  }

  .hero-title {
    font-size: clamp(8rem, 42vw, 17rem);
  }

  .hero-subtitle {
    font-size: clamp(1.6rem, 6.6vw, 3.5rem);
  }

  .hero-description {
    max-width: 34ch;
  }

  .hero-mark-ss {
    width: clamp(86px, 23vw, 145px);
    top: -4%;
  }

  .hero-mark-flex {
    width: clamp(86px, 24vw, 142px);
    right: calc(100% + 10px);
    top: 72%;
  }
}

@media (max-width: 440px) {
  .site-header .header-inner {
    gap: 10px 12px;
  }

  .header-launch {
    font-size: .8125rem;
  }

  .section-title {
    font-size: clamp(2.5rem, 11.5vw, 3.25rem);
  }

  .hero-subtitle {
    font-size: clamp(1.65rem, 7.5vw, 2.1rem);
    white-space: nowrap;
  }

  .hero-description {
    max-width: 30ch;
  }

  .hero-mark-ss {
    right: 20%;
    top: -8%;
  }

  .hero-mark-flex {
    top: calc(100% + 26px);
    right: calc(100% - 42px);
  }

  #program-title {
    font-size: clamp(2.5rem, 11vw, 3.05rem);
  }

  .program-title {
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
