:root {
  --bg: #0c0e12;
  --bg-soft: #141820;
  --ink: #f2f4f6;
  --ink-soft: rgba(242, 244, 246, 0.78);
  --muted: rgba(242, 244, 246, 0.55);
  --line: rgba(255, 255, 255, 0.14);
  --accent: #3d7ea6;
  --accent-deep: #2f6484;
  --steel: #8a949e;
  --quiz-bg: #f4f5f7;
  --quiz-ink: #15181c;
  --quiz-muted: #5c646c;
  --font: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

button,
input,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hero {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 0 clamp(20px, 4vw, 48px) 80px;
  background:
    radial-gradient(ellipse 70% 50% at 80% 40%, rgba(61, 126, 166, 0.08), transparent 60%),
    linear-gradient(180deg, #10141a 0%, var(--bg) 100%);
}

.header {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 8px;
}

.logo img {
  width: 148px;
  height: auto;
}

.header__contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}

.header__contacts a:hover {
  color: #fff;
}

.hero__grid {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  grid-template-areas:
    "intro visual"
    "body visual"
    "body uses";
  gap: clamp(28px, 5vw, 56px);
  column-gap: clamp(28px, 5vw, 56px);
  row-gap: 0;
  align-items: start;
  padding: 28px 0 8px;
  overflow: visible;
}

.hero__intro {
  grid-area: intro;
  overflow: visible;
}

.hero__visual {
  grid-area: visual;
}

.hero__body {
  grid-area: body;
  overflow: visible;
}

.hero__title {
  margin: 0 0 20px;
  font-size: clamp(38px, 4.8vw, 54px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
}

.hero__title-sub {
  display: block;
  margin-top: 8px;
  font-size: 0.72em;
  font-weight: 500;
  color: var(--steel);
  letter-spacing: 0;
}

.tags {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags li {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  background: transparent;
}

.benefits {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.benefits li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink-soft);
  padding-left: 14px;
  position: relative;
}

.benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.25em;
  width: 5px;
  height: 1px;
  background: var(--accent);
}

.cta {
  display: grid;
  gap: 14px;
  max-width: 450px;
  overflow: visible;
}

.cta__lead {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}

.cta__row {
  position: relative;
  width: 450px;
  max-width: 100%;
  display: grid;
  justify-items: stretch;
  align-items: end;
}

.cta__kp {
  position: relative;
  z-index: 0;
  margin: 0;
  width: 450px;
  max-width: 100%;
  border: 0;
  border-radius: 0;
  overflow: visible;
  pointer-events: none;
  line-height: 0;
}

.cta__kp img {
  width: 450px;
  max-width: 100%;
  height: auto;
  display: block;
}

.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  line-height: 1.2;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn--cta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  padding: 17px 22px;
  border-radius: 6px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: linear-gradient(95deg, #7365ee 0%, #8842e0 100%);
  text-decoration: none;
  text-align: center;
}

.btn--cta:hover {
  background: linear-gradient(95deg, #6556e0 0%, #7736d4 100%);
}

.btn--primary {
  padding: 12px 18px;
  border-radius: 6px;
  background: var(--quiz-ink);
  color: #fff;
}

.btn--primary:hover:not(:disabled) {
  background: #2a3036;
}

.btn--ghost {
  padding: 14px 18px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid rgba(22, 20, 36, 0.16);
  color: #15181c;
}

.btn--ghost:hover {
  border-color: rgba(22, 20, 36, 0.28);
  background: rgba(21, 24, 28, 0.04);
}

.hero__visual {
  grid-area: visual;
}

.gallery {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.gallery__stage {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #0a0c10;
}

.gallery__viewport {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.gallery__track {
  display: flex;
  height: 100%;
  transition: transform 0.45s var(--ease);
  will-change: transform;
}

.gallery__slide {
  margin: 0;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
}

.gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(12, 14, 18, 0.62);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.gallery__nav:hover {
  background: rgba(12, 14, 18, 0.86);
  border-color: rgba(255, 255, 255, 0.65);
}

.gallery__nav--prev {
  left: 12px;
}

.gallery__nav--next {
  right: 12px;
}

.gallery__nav span {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.gallery__nav--prev span {
  transform: translateX(2px) rotate(-135deg);
}

.gallery__nav--next span {
  transform: translateX(-2px) rotate(45deg);
}

.gallery__thumbs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 0;
  min-width: 0;
}

.gallery__thumbs::-webkit-scrollbar {
  display: none;
}

.gallery__thumb {
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  background: #0a0c10;
  cursor: pointer;
  flex: 0 0 76px;
  width: 76px;
  aspect-ratio: 4 / 3;
  opacity: 0.62;
  scroll-snap-align: start;
  transition: opacity 0.2s var(--ease), border-color 0.2s var(--ease);
}

.gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.gallery__thumb:hover {
  opacity: 0.9;
}

.gallery__thumb.is-active {
  opacity: 1;
  border-color: rgba(115, 101, 238, 0.9);
  box-shadow: 0 0 0 1px rgba(115, 101, 238, 0.45);
}

.uses {
  grid-area: uses;
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.uses__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}

.uses__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.uses__item {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.uses__item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.uses__item span {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink-soft);
  text-align: center;
}

.play {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: auto;
  height: auto;
  padding: 10px 18px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(12, 14, 18, 0.72);
  backdrop-filter: blur(8px);
  cursor: pointer;
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.play:hover {
  background: rgba(12, 14, 18, 0.88);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateX(-50%) translateY(-1px);
}

.play__icon {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(95deg, #7365ee 0%, #8842e0 100%);
  flex: 0 0 auto;
}

.play__icon::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 13px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent #fff;
}

.play__label {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  padding-right: 4px;
}

@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "visual"
      "uses"
      "body";
    gap: 22px;
    row-gap: 22px;
  }

  .tags {
    margin-bottom: 0;
  }

  .uses {
    margin-top: 0;
  }

  .gallery__nav {
    width: 36px;
    height: 36px;
  }

  .uses__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
  }

  .uses__item span {
    font-size: 12px;
  }

  .cta {
    max-width: none;
  }

  .cta__row {
    width: 100%;
  }

  .cta__kp,
  .cta__kp img {
    width: 100%;
  }

  .hero__title {
    font-size: clamp(32px, 7.5vw, 42px);
  }
}

@media (max-width: 640px) {
  .header__contacts {
    font-size: 12px;
  }

  .logo img {
    width: 120px;
  }

  .uses__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .play {
    max-width: calc(100% - 24px);
    padding-right: 14px;
  }

  .play__label {
    font-size: 13px;
    white-space: normal;
    text-align: left;
    line-height: 1.25;
  }

  .gallery__thumb {
    flex: 0 0 64px;
    width: 64px;
  }
}

/* ===== Second screen: expanded quiz ===== */
.quiz-screen {
  min-height: 100dvh;
  padding: 80px clamp(20px, 4vw, 48px) 72px;
  background: #f4f5f7;
  color: #15181c;
}

.quiz-screen__inner {
  max-width: 920px;
  margin: 0 auto;
}

.quiz-screen__head {
  margin-bottom: 36px;
}

.quiz-screen__eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8842e0;
}

.quiz-screen__title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.quiz-screen__lead {
  margin: 0;
  max-width: none;
  width: 100%;
  font-size: 17px;
  line-height: 1.45;
  color: #5c646c;
}

.quiz-progress {
  margin-bottom: 22px;
  display: grid;
  gap: 8px;
}

.quiz-progress__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.quiz-progress__step {
  font-size: 14px;
  font-weight: 500;
  color: #5c646c;
}

.quiz-progress__value {
  font-size: 16px;
  font-weight: 700;
  color: #8842e0;
  font-variant-numeric: tabular-nums;
}

.quiz-progress__track {
  height: 8px;
  border-radius: 999px;
  background: rgba(21, 24, 28, 0.08);
  overflow: hidden;
}

.quiz-progress__bar {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #7365ee 0%, #8842e0 100%);
  transition: width 0.45s var(--ease);
}

.quiz-screen__body {
  display: grid;
  gap: 16px;
  min-height: 280px;
  overflow: hidden;
}

.quiz-screen__body > .quiz-panel,
.quiz-screen__body > .success {
  will-change: opacity, transform;
}

.quiz-screen__body > .is-enter {
  animation: quiz-enter 0.38s var(--ease) both;
}

.quiz-screen__body > .is-enter-back {
  animation: quiz-enter-back 0.38s var(--ease) both;
}

.quiz-screen__body > .is-leave {
  animation: quiz-leave 0.24s ease both;
}

.quiz-screen__body > .is-leave-back {
  animation: quiz-leave-back 0.24s ease both;
}

@keyframes quiz-enter {
  from {
    opacity: 0;
    transform: translateX(22px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes quiz-enter-back {
  from {
    opacity: 0;
    transform: translateX(-22px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes quiz-leave {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-16px);
  }
}

@keyframes quiz-leave-back {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(16px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .quiz-screen__body > .is-enter,
  .quiz-screen__body > .is-enter-back,
  .quiz-screen__body > .is-leave,
  .quiz-screen__body > .is-leave-back {
    animation: none;
  }
}

.quiz-screen__foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

.quiz-screen__foot[hidden] {
  display: none;
}

.quiz-screen__foot .btn--quiz-next {
  position: static;
  margin-left: auto;
  width: auto;
  min-width: 200px;
}

.quiz-panel h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
}

.quiz-desc {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.4;
  color: #5c646c;
}

.quiz-panel {
  padding: 22px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(21, 24, 28, 0.08);
}

.options--single {
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .options--single {
    grid-template-columns: 1fr 1fr;
  }
}

.q-block {
  padding: 22px 22px 20px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(21, 24, 28, 0.08);
}

.q-block__head {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  margin-bottom: 16px;
  align-items: start;
}

.q-block__num {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #8842e0;
  padding-top: 4px;
}

.q-block__title {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
}

.q-block__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #5c646c;
}

.q-block__hint {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #f4f5f7;
  color: #5c646c;
  font-size: 14px;
}

.q-block--contact .form {
  margin-top: 16px;
}

.btn--quiz-submit {
  position: static;
  width: 100%;
  margin-top: 4px;
}

.btn--quiz-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.options {
  display: grid;
  gap: 8px;
}

@media (min-width: 720px) {
  .options {
    grid-template-columns: 1fr 1fr;
  }

  .q-block--contact .options {
    grid-template-columns: 1fr;
  }
}

.option {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(22, 20, 36, 0.12);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  color: #15181c;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}

.option:hover {
  border-color: rgba(115, 101, 238, 0.45);
}

.option.is-selected {
  border-color: #7365ee;
  background: rgba(115, 101, 238, 0.08);
}

.option:disabled {
  cursor: default;
  opacity: 1;
}

.option.is-selected:disabled {
  transform: scale(1.01);
}

.option__radio {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  border: 1.5px solid rgba(22, 20, 36, 0.25);
  display: grid;
  place-items: center;
}

.option.is-selected .option__radio {
  border-color: #7365ee;
}

.option.is-selected .option__radio::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7365ee;
}

.option__title {
  display: block;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 2px;
}

.option__meta {
  display: block;
  font-size: 13px;
  color: #5c646c;
  line-height: 1.35;
}

.result__card {
  padding: 16px;
  border-radius: 10px;
  background: rgba(115, 101, 238, 0.08);
  border: 1px solid rgba(115, 101, 238, 0.2);
  margin-bottom: 0;
}

.result__eyebrow {
  margin: 0 0 8px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7365ee !important;
}

.result__card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
}

.result__card p {
  margin: 0;
  color: #5c646c;
  font-size: 14px;
  line-height: 1.45;
}

.result__deliver {
  margin: 0;
  padding: 14px 0 4px;
  border-top: 1px solid rgba(22, 20, 36, 0.1);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #15181c;
}

.result__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.result__tags span {
  padding: 6px 10px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid rgba(22, 20, 36, 0.1);
  font-size: 12px;
  font-weight: 600;
}

.form {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.form__title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 13px;
  font-weight: 600;
}

.field .optional {
  color: #5c646c;
  font-weight: 500;
}

.field input {
  width: 100%;
  border: 1px solid rgba(22, 20, 36, 0.14);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
  color: #15181c;
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field input:focus {
  border-color: rgba(115, 101, 238, 0.55);
  box-shadow: 0 0 0 3px rgba(115, 101, 238, 0.12);
}

.field.is-error input {
  border-color: #d64545;
  box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.1);
}

.field.is-valid input {
  border-color: rgba(46, 160, 98, 0.55);
}

.field__error {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: #d64545;
}

.field__error[hidden] {
  display: none;
}

.consent-wrap {
  display: grid;
  gap: 6px;
}

.consent-wrap.is-error .consent {
  color: #b33a3a;
}

.consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 4px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: #5c646c;
  cursor: pointer;
}

.consent-wrap.is-error .consent {
  border-color: rgba(214, 69, 69, 0.35);
  background: rgba(214, 69, 69, 0.05);
}

.consent-wrap.is-valid .consent {
  border-color: rgba(46, 160, 98, 0.25);
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: #7365ee;
  cursor: pointer;
}

.consent a {
  color: #7365ee;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent a:hover {
  color: #5f52d6;
}

.success {
  text-align: center;
}

.success__icon {
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  width: 56px;
  height: 56px;
}

.success h3 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.success p {
  margin: 0 auto;
  max-width: 34ch;
  color: #5c646c;
  line-height: 1.45;
  font-size: 16px;
}

.success--page {
  padding: 56px 24px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(21, 24, 28, 0.08);
}

/* Video modal */
/* ===== Site footer ===== */
.site-footer {
  padding: 28px clamp(20px, 4vw, 48px);
  background: #0c0e12;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(242, 244, 246, 0.72);
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.site-footer__brand img {
  width: 132px;
  height: auto;
  flex-shrink: 0;
}

.site-footer__policy {
  font-size: 13px;
  font-weight: 500;
  color: rgba(242, 244, 246, 0.58);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer__policy:hover {
  color: #f2f4f6;
}

@media (max-width: 640px) {
  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.video-layer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
}

.video-layer[hidden] {
  display: none;
}

.video-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 14, 0.72);
  backdrop-filter: blur(4px);
}

.icon-close {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(22, 20, 36, 0.14);
  border-radius: 8px;
  background: transparent;
  position: relative;
  cursor: pointer;
  flex: 0 0 auto;
}

.icon-close span {
  position: absolute;
  left: 11px;
  right: 11px;
  top: 50%;
  height: 1.5px;
  background: currentColor;
}

.icon-close span:first-child {
  transform: translateY(-50%) rotate(45deg);
}

.icon-close span:last-child {
  transform: translateY(-50%) rotate(-45deg);
}

.icon-close--light {
  position: absolute;
  top: -44px;
  right: 0;
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.video-modal {
  position: relative;
  width: min(960px, 100%);
  animation: pop-in 0.3s var(--ease) both;
}

.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame iframe[hidden] {
  display: none;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  line-height: 1.45;
  background: #0b0d10;
}

.video-placeholder[hidden] {
  display: none;
}

.video-placeholder code {
  font-size: 13px;
  color: #b7a8ff;
}

body.modal-open {
  overflow: hidden;
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

html {
  scroll-behavior: smooth;
}
