html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  color: var(--color-accent-300);
}

button,
input,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

button:hover {
  filter: brightness(1.08);
}

button:active {
  transform: translateY(1px);
}

input:focus {
  border-color: var(--color-accent-500) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent) 22%, transparent);
}

.media-slot {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 72px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--color-accent) 24%, transparent);
  background: linear-gradient(145deg, #26264f, #17172d 60%, #100f1f);
  color: color-mix(in srgb, #fff 78%, transparent);
  isolation: isolate;
}

.media-slot.fill-parent {
  position: absolute;
  inset: 0;
  min-height: 0;
}

.media-slot.is-rounded {
  border-radius: 8px;
}

.media-slot.is-circle {
  border-radius: 999px;
}

.media-slot__label {
  position: relative;
  z-index: 2;
  max-width: 82%;
  text-align: center;
  font: 700 11px/1.3 var(--font-heading);
  letter-spacing: 0.01em;
  opacity: 0.68;
}

.media-slot__mark {
  position: absolute;
  inset: auto 10px 10px auto;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: color-mix(in srgb, #fff 28%, transparent);
  color: #fff;
  font: 700 14px/1 var(--font-heading);
}

.media-slot--video {
  background:
    radial-gradient(circle at 68% 38%, rgba(145, 132, 217, 0.38), transparent 24%),
    linear-gradient(135deg, #172964 0%, #272554 48%, #15122c 100%);
}

.media-slot--video::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.08), transparent 32%),
    radial-gradient(circle at 18% 22%, rgba(255,255,255,0.08), transparent 18%);
  opacity: 0.75;
}

.media-slot--product,
.media-slot--bundle,
.media-slot--book,
.media-slot--devices,
.media-slot--bonus,
.media-slot--get {
  border-color: color-mix(in srgb, var(--color-accent) 28%, #fff);
  background:
    linear-gradient(180deg, #fff, #f5f3ff),
    radial-gradient(circle at 50% 20%, rgba(145, 132, 217, 0.28), transparent 42%);
  color: #4a3aa9;
}

.media-slot--product::before,
.media-slot--bundle::before,
.media-slot--book::before,
.media-slot--devices::before,
.media-slot--bonus::before,
.media-slot--get::before {
  content: "";
  position: absolute;
  z-index: 1;
  width: 42%;
  height: 58%;
  max-width: 118px;
  border-radius: 5px;
  background: linear-gradient(180deg, #7f3cff, #4f2cc9);
  box-shadow:
    -44px 18px 0 -12px rgba(126, 68, 255, 0.72),
    44px 18px 0 -12px rgba(126, 68, 255, 0.72),
    0 10px 24px rgba(50, 31, 113, 0.22);
  transform: perspective(300px) rotateY(-6deg);
}

.media-slot--devices::before {
  width: 58%;
  height: 48%;
  max-width: 240px;
  border-radius: 8px;
  box-shadow:
    -78px 24px 0 -22px rgba(126, 68, 255, 0.62),
    78px 24px 0 -22px rgba(126, 68, 255, 0.62),
    0 10px 24px rgba(50, 31, 113, 0.22);
}

.media-slot--bonus::before,
.media-slot--get::before {
  width: 38%;
  height: 60%;
  max-width: 70px;
  box-shadow: 0 7px 18px rgba(50, 31, 113, 0.2);
}

.media-slot--avatar {
  min-height: 28px;
  background: linear-gradient(145deg, #a79df0, #3c3478);
  border: 0;
}

.media-slot--avatar .media-slot__label {
  color: transparent;
}

.media-slot--avatar::before {
  content: "";
  width: 45%;
  height: 45%;
  border-radius: 999px;
  background: color-mix(in srgb, #fff 82%, transparent);
  box-shadow: 0 15px 0 9px color-mix(in srgb, #fff 72%, transparent);
}

.media-slot--blank .media-slot__label {
  display: none;
}

.dc-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 9999;
  width: min(420px, calc(100vw - 32px));
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--color-accent) 42%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--color-neutral-900) 94%, transparent);
  box-shadow: 0 18px 44px rgba(0,0,0,0.38);
  color: var(--color-text);
  font: 600 13px/1.45 var(--font-body);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.dc-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.faq-card {
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.faq-card:hover {
  border-color: color-mix(in srgb, var(--color-accent) 45%, transparent) !important;
}

.faq-card p {
  transition: opacity 160ms ease;
}

.ghl-offer-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.ghl-offer-form__heading {
  color: #1c1c22;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.ghl-offer-form__frame {
  width: 100%;
  min-height: 370px;
  overflow: hidden;
  border: 1px solid #e4e4ee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(20, 20, 30, 0.08);
}

.ghl-offer-form iframe {
  display: block;
  width: 100%;
  height: 370px;
  min-height: 370px;
  border: 0;
  border-radius: 8px;
  background: #fff;
}

@media (min-width: 901px) {
  [style*="grid-template-columns: minmax(0, 1fr) 316px"] > :last-child {
    position: sticky !important;
    top: 16px !important;
    align-self: start !important;
  }
}

@media (max-width: 900px) {
  body * {
    min-width: 0 !important;
  }

  h1,
  h2,
  h3,
  p,
  span,
  div {
    overflow-wrap: anywhere;
  }

  [style*="max-width: 860px"],
  [style*="max-width: 720px"],
  [style*="max-width: 700px"],
  [style*="max-width: 680px"],
  [style*="max-width: 640px"] {
    max-width: 100% !important;
  }

  [style*="aspect-ratio"] {
    width: 100% !important;
    max-width: 100% !important;
  }

  [style*="white-space: nowrap"] {
    white-space: normal !important;
  }

  [style*="display: flex; align-items: center; justify-content: center; gap: 9px"] {
    flex-wrap: wrap !important;
    text-align: center !important;
  }

  [style*="grid-template-columns: minmax(0, 1fr) 316px"],
  [style*="grid-template-columns: 1fr 300px 1fr"],
  [style*="grid-template-columns: repeat(3, 1fr)"],
  [style*="grid-template-columns: repeat(3, minmax(0, 1fr))"],
  [style*="grid-template-columns: repeat(2, minmax(0, 1fr))"],
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  [style*="column-count: 3"] {
    column-count: 1 !important;
  }

  [style*="max-width: 1000px"] {
    max-width: 100% !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  [style*="padding: 34px 24px 56px"] {
    padding-top: 28px !important;
  }

  [style*="padding: 12px 24px"] {
    flex-direction: column !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 10px 16px !important;
    text-align: center !important;
  }

  [style*="text-align: right"] {
    text-align: center !important;
  }

  [style*="font-size: 44px"] {
    font-size: 35px !important;
    line-height: 1.1 !important;
  }

  [style*="font-size: 33px"],
  [style*="font-size: 31px"] {
    font-size: 28px !important;
    line-height: 1.16 !important;
  }

  [style*="font-size: 27px"] {
    font-size: 24px !important;
  }

  [style*="font-size: 17px"] {
    font-size: 15px !important;
  }

  [style*="width: 78px; height: 78px"] {
    width: 62px !important;
    height: 62px !important;
  }

  [style*="height: 300px"] {
    height: 230px !important;
  }

  [style*="height: 260px"] {
    height: 190px !important;
  }

  [style*="align-items: flex-end"],
  [style*="align-items: flex-start"] {
    align-items: stretch !important;
    text-align: left !important;
  }

  [style*="max-width: 190px"] {
    max-width: none !important;
    padding-left: 12px !important;
    padding-right: 0 !important;
    border-left: 1px dashed color-mix(in srgb, var(--color-accent) 55%, transparent) !important;
    border-right: 0 !important;
    text-align: left !important;
  }
}

@media (max-width: 560px) {
  [style*="font-size: 44px"] {
    font-size: 29px !important;
  }

  [style*="font-size: 31px"],
  [style*="font-size: 33px"] {
    font-size: 24px !important;
  }

  [style*="font-size: 27px"] {
    font-size: 22px !important;
  }

  [style*="padding: 56px 24px"],
  [style*="padding: 52px 24px"],
  [style*="padding: 48px 24px"],
  [style*="padding: 40px 24px"] {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  [style*="gap: 26px"] {
    gap: 16px !important;
  }

  .media-slot__label {
    font-size: 10px;
  }
}
