/* ===== Landing / teaser page ===== */
html, body {
  overflow: auto;
  height: auto;
}

.landing {
  position: relative;
  z-index: 0;
  max-width: 1920px;
  margin: 0 auto;
  background: var(--color-surface);
  overflow: hidden;
}

.landing::before,
.landing::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, #EAECF7 0%, rgba(234, 236, 247, 0) 70%);
  pointer-events: none;
}

.landing::before {
  top: -300px;
  right: -300px;
}

.landing::after {
  top: 100px;
  left: -400px;
}

.landing__btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 32px;
  border: 2px solid var(--color-text);
  border-radius: 60px;
  font-family: 'Stem', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: normal;
  color: var(--color-text);
  text-decoration: none;
  background: transparent;
  white-space: nowrap;
  transition: border-color .5s cubic-bezier(.65, 0, .35, 1);
}

.landing__btn:hover,
.landing__btn:active {
  border-color: var(--color-accent);
}

.landing__btn::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--color-accent);
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .5s cubic-bezier(.65, 0, .35, 1);
}

.landing__btn:hover::before,
.landing__btn:active::before {
  transform: scaleX(1);
}

.landing__arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Header */
.landing__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 240px;
}

.landing__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.landing__nav {
  display: flex;
  align-items: center;
  gap: 60px;
}

.landing__nav a {
  font-family: 'Stem', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: normal;
  color: var(--color-text);
  text-decoration: none;
  transition: color .2s ease;
}

.landing__nav a:hover,
.landing__nav a:active {
  color: var(--color-text-muted);
}

/* Hero */
.landing__hero {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 80px 240px 0;
}

.landing__title {
  font-family: 'Stem', sans-serif;
  font-weight: 700;
  font-size: 50px;
  line-height: 60px;
  letter-spacing: 0;
  color: var(--color-text);
  text-transform: uppercase;
  margin: 0;
  height: 120px;
  overflow: hidden;
}

.landing__title .text-accent {
  color: var(--color-accent);
}

.landing__title .text-blue {
  color: #0022FF;
}

.landing__title-cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  margin-left: 4px;
  background: currentColor;
  vertical-align: -0.1em;
  animation: landing-cursor-blink 1s steps(1) infinite;
}

@keyframes landing-cursor-blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

.landing__hero-actions {
  display: flex;
  gap: 20px;
}

/* Video block */
.landing__video-wrap {
  position: relative;
  width: 1440px;
  max-width: calc(100% - 480px);
  height: 800px;
  margin: 120px auto 0;
  border-radius: 60px;
  overflow: hidden;
  background: var(--color-divider);
}

.landing__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing__cards {
  position: absolute;
  right: 40px;
  bottom: 40px;
  display: flex;
  gap: 10px;
}

.landing__card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  width: 300px;
  padding: 40px;
  border-radius: 40px;
  background: var(--color-surface);
  box-sizing: border-box;
}

.landing__card::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .5s cubic-bezier(.65, 0, .35, 1);
}

.landing__card:hover::before {
  transform: scaleX(1);
}

.landing__card-title {
  font-family: 'Stem', sans-serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 30px;
  color: var(--color-text);
  transition: color .3s ease;
}

.landing__card-sub {
  font-family: 'Stem', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: normal;
  color: var(--color-text-muted);
  transition: color .3s ease;
}

.landing__card:nth-child(1)::before {
  background: var(--color-accent);
}

.landing__card:nth-child(1):hover .landing__card-sub {
  color: var(--color-text);
}

.landing__card:nth-child(2)::before {
  background: #0022FF;
}

.landing__card:nth-child(2):hover .landing__card-title,
.landing__card:nth-child(2):hover .landing__card-sub {
  color: #FFFFFF;
}

.landing__card:nth-child(3)::before {
  background: #000000;
}

.landing__card:nth-child(3):hover .landing__card-title,
.landing__card:nth-child(3):hover .landing__card-sub {
  color: #FFFFFF;
}

/* Footer */
.landing__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 240px;
  font-family: 'Stem', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: normal;
  color: var(--color-text-muted);
}

.landing__footer a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}

.landing__footer a:hover {
  color: var(--color-text);
}

/* Login modal */
.login-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.login-modal {
  width: 400px;
  box-sizing: border-box;
  background: var(--color-surface);
  border-radius: 40px;
  padding: 60px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.login-modal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.info-modal .login-modal__top {
  position: sticky;
  top: -60px;
  margin: -60px -60px 16px;
  padding: 60px 60px 0;
  background: var(--color-surface);
  z-index: 1;
}

.order-modal .login-modal__top,
.login-modal:not(.info-modal):not(.order-modal) .login-modal__top {
  margin-bottom: 16px;
}

.login-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.login-modal__form {
  display: flex;
  flex-direction: column;
}

.login-modal__input + .login-modal__input {
  margin-top: 10px;
}

.login-modal__input {
  width: 100%;
  height: 56px;
  padding: 0 24px;
  box-sizing: border-box;
  border: 2px solid var(--color-divider);
  border-radius: 20px;
  background: var(--color-surface);
  font-family: 'Stem', sans-serif;
  font-size: 16px;
  color: var(--color-text);
}

.login-modal__input::placeholder {
  color: var(--color-text-muted);
}

.login-modal__input:focus {
  outline: none;
  border-color: var(--color-text);
}

.login-modal__input.has-error {
  border-color: #FF060A;
  color: #FF060A;
}

.login-modal__select-wrap {
  position: relative;
  margin-top: 10px;
}

.login-modal__select-wrap + .login-modal__input {
  margin-top: 10px;
}

.login-modal__select-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  cursor: pointer;
  text-align: left;
  font-family: 'Stem', sans-serif;
}

.login-modal__select-btn.is-placeholder {
  color: var(--color-text-muted);
}

.login-modal__select-btn .select__chevron {
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.login-modal__select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sidebar);
  padding: 6px;
}

.login-modal__submit {
  width: 100%;
  box-sizing: border-box;
  justify-content: space-between;
  margin-top: 40px;
  border-radius: 20px;
  border-color: var(--color-text);
  color: var(--color-text);
}

.login-modal__submit.is-filled {
  border-color: var(--color-accent);
  color: var(--color-text);
}

.login-modal__submit.is-filled::before {
  transform: scaleX(1);
}

.order-modal {
  width: 520px;
}

.order-modal__policy {
  margin: 0;
  font-family: 'Stem', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.order-modal__policy a {
  color: inherit;
  text-decoration: underline;
}

.order-modal__policy a:hover {
  color: var(--color-text);
}

.order-modal__honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.order-modal__error {
  margin: -8px 0 0;
  font-family: 'Stem', sans-serif;
  font-size: 14px;
  color: #FF060A;
}

.order-modal__sent {
  margin: 0;
  font-family: 'Stem', sans-serif;
  font-size: 18px;
  color: var(--color-text);
}

.login-modal__submit:disabled {
  opacity: .6;
  cursor: default;
}

.info-modal {
  width: 860px;
  max-height: 85vh;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.info-modal::-webkit-scrollbar {
  display: none;
}

.info-modal__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-modal__list--author {
  margin-top: 0;
}

.info-modal__close-btn {
  align-self: center;
  margin-top: 36px;
}

.info-modal__close-btn--left {
  align-self: flex-start;
}

.info-modal__text {
  margin: 0;
  font-family: 'Stem', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.info-modal__text strong {
  font-weight: 500;
  color: var(--color-text);
}

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

.info-modal__feature .info-modal__text {
  flex: 1;
}

.info-modal__check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: var(--radius-sm);
  background-color: var(--color-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5l3 3 6-6.5' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
}

.info-modal__check--cross {
  background-color: var(--color-action);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 4l8 8M12 4l-8 8' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.compare-modal {
  width: 1080px;
}

.compare-modal__cols {
  display: flex;
  gap: 40px;
}

.compare-modal__col {
  flex: 1;
  min-width: 0;
}

.compare-modal__intro {
  text-wrap: balance;
  margin-bottom: 16px;
}

.compare-modal__heading {
  margin: 0 0 24px;
  font-family: 'Stem', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--color-text);
}
