:root {
  --bg: #f8f8fb;
  --surface: #ffffff;
  --surface-muted: #eef5f2;
  --text: #19162a;
  --text-soft: #45405e;
  --line: #d7d9ea;
  --mint: #d9f3ea;
  --lilac: #e6e0ff;
  --cyan: #c9f1fb;
  --sand: #f7ecd8;
  --violet: #6d3df2;
  --yellow: #ffcf5d;
  --orange: #f5a13c;
  --red: #f05353;
  --accent: var(--violet);
  --accent-dark: #5228c6;
  --shadow: 0 2px 0 rgba(16, 21, 43, 0.02);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.55;
  position: relative;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
  filter: blur(1px);
}

body::before {
  width: 320px;
  height: 220px;
  background: radial-gradient(circle at 30% 40%, rgba(109, 61, 242, 0.12), rgba(109, 61, 242, 0.02) 64%, transparent 70%);
  top: -40px;
  right: -50px;
}

body::after {
  width: 280px;
  height: 180px;
  background: radial-gradient(circle at 70% 45%, rgba(201, 241, 251, 0.45), rgba(201, 241, 251, 0.14) 62%, transparent 70%);
  bottom: 12%;
  left: -80px;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.narrow {
  width: min(860px, 92%);
}

.section {
  padding: 4rem 0;
}

.section--muted {
  background: #f9fafe;
}

.section--decorated {
  position: relative;
}

.section--decorated::before {
  content: "";
  position: absolute;
  width: 140px;
  height: 110px;
  background: radial-gradient(circle at 40% 35%, rgba(255, 207, 93, 0.38), rgba(255, 207, 93, 0.12) 58%, transparent 68%);
  left: 4%;
  top: 14%;
  border-radius: 40% 60% 70% 30% / 40% 40% 60% 60%;
  pointer-events: none;
  opacity: 0.7;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2.05rem, 4vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero__heading {
  min-height: 2.4em;
}

.hero__cursor {
  display: inline-block;
  width: 0.0625em;
  min-width: 2px;
  height: 0.92em;
  margin-left: 0.045em;
  background: currentColor;
  vertical-align: -0.06em;
  animation: hero-cursor-blink 0.76s steps(1, end) infinite;
  transition: opacity 0.35s ease;
}

.hero__cursor.is-done {
  animation: none;
  opacity: 0;
}

@keyframes hero-cursor-blink {
  50% {
    opacity: 0;
  }
}

h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.45rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
  font-weight: 800;
}

h3 {
  font-size: 1.12rem;
  margin-bottom: 0.55rem;
  font-weight: 700;
}

p {
  color: var(--text-soft);
}

.lead {
  font-size: 1.08rem;
  max-width: 72ch;
}

.eyebrow {
  font-size: 0.83rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(8px);
  background: #fff;
  border-bottom: none;
}

.header .container {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

.top-nav {
  display: none;
  align-items: center;
  gap: 2.4rem;
  margin-left: auto;
}

.top-nav a {
  font-size: 0.88rem;
  color: #2a3152;
  font-weight: 600;
  opacity: 0.9;
}

.top-nav a:hover {
  color: var(--accent-dark);
}

.brand {
  display: inline-flex;
  align-items: center;
  margin-left: 50px;
  gap: 0.6rem;
  color: #2a3152;
  font-weight: 800;
}

.brand__logo {
  height: 34px;
  width: auto;
  display: block;
}

.hero {
  padding-top: 5.5rem;
}

.hero__grid {
  display: grid;
  gap: 1.5rem;
}

.hero__content {
  display: grid;
  gap: 1.1rem;
  margin-top: -60px;
}

.hero__features {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
}

.hero__features li {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.hero__features li + li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--violet);
  flex: 0 0 auto;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.65rem;
}

.card {
  background: var(--surface);
  border: none;
  border-radius: 22px;
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.structure-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
}

.structure-card__image {
  margin-top: auto;
  padding-top: 1rem;
  width: min(190px, 58%);
  margin-left: auto;
  margin-right: 0;
  align-self: flex-end;
  max-height: 140px;
  object-fit: contain;
  display: block;
}

.card__pictogram {
  width: 108px;
  aspect-ratio: 1;
  object-fit: contain;
  display: block;
  margin-bottom: 0.85rem;
}

.hero__visual {
  display: grid;
  gap: 1rem;
}

.hero__image {
  --mx: 0px;
  --my: 0px;
  width: 100%;
  display: block;
  border-radius: 18px;
  background: #fff;
  transform: translate(var(--mx), var(--my));
  animation: hero-image-breathe 9s ease-in-out infinite;
  transition: transform 900ms ease-in-out;
  will-change: transform;
}

/* Keep hero motion almost invisible: the puzzle stays calm, but does not feel static. */
.hero__visual:hover .hero__image {
  animation-play-state: paused;
}

@keyframes hero-image-breathe {
  0%,
  100% {
    transform: translate(var(--mx), var(--my));
  }
  50% {
    transform: translate(calc(var(--mx) + 1px), calc(var(--my) - 2px));
  }
}

.hero__visual svg {
  width: 100%;
  height: auto;
  fill: none;
  stroke: #111a3c;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__visual svg .blob-shape {
  stroke: none;
}

.hero__visual svg .blob-shape--mint {
  fill: var(--mint);
}

.hero__visual svg .blob-shape--violet {
  fill: #cfc3ff;
}

.hero__visual svg .note {
  fill: #ffe7be;
  stroke: #111a3c;
}

.hero__visual svg .note--small {
  fill: #d7f2ff;
  stroke: #111a3c;
}

.hero__visual p {
  font-size: 0.97rem;
}

.callout-text {
  font-size: 0.86rem;
  font-style: italic;
  text-align: center;
}

.illustration-card {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.75rem;
}

.illustration-card svg {
  width: 100%;
  height: auto;
  fill: none;
  stroke: #111a3c;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.illustration-card__image {
  width: 50%;
  margin-inline: auto;
  display: block;
  border-radius: 18px;
  background: #fff;
}

.illustration-card__image--wide {
  width: 100%;
}

.illustration-card--compact {
  margin-bottom: 1rem;
}

.how-layout {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.3rem;
  align-items: start;
}

.how-layout .illustration-card {
  margin-top: 0;
}

.how-layout .illustration-card--compact {
  margin-bottom: 0;
}

.how-layout .steps {
  margin-top: 0;
}

@media (min-width: 760px) {
  .how-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.75rem;
  }
}

.fill-lilac {
  fill: var(--lilac);
}

.fill-cyan {
  fill: var(--cyan);
}

.fill-sand {
  fill: var(--sand);
}

.cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.result-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin: 1.4rem 0 0;
  padding: 0;
}

.result-list li {
  background: var(--surface);
  border: none;
  border-radius: 16px;
  padding: 0.65rem 1rem;
  position: relative;
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: center;
  gap: 1rem;
}

.result-list img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
}

.steps {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.3rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  column-gap: 0.9rem;
}

.step span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #f7f4ff;
  font-weight: 700;
  color: var(--accent-dark);
}

.section.about-origin {
  overflow: hidden;
  padding-bottom: 1.25rem;
}

.about-origin__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.about-origin__intro {
  display: grid;
  gap: 1.15rem;
}

.about-origin__intro h2 {
  max-width: 650px;
  margin-bottom: 0;
}

.about-origin__intro .lead {
  max-width: 58ch;
}

.about-author {
  display: grid;
  gap: 1.1rem;
  max-width: 294px;
  margin-top: 1.1rem;
}

.about-author__photo {
  width: 100%;
  aspect-ratio: 1.04;
  object-fit: cover;
  display: block;
  border-radius: 22px;
  background: #f7f4ee;
}

.about-author__content {
  display: grid;
  gap: 0.35rem;
}

.about-author__content h3 {
  margin-bottom: 0;
  font-size: 1.35rem;
}

.about-author__role {
  color: var(--text-soft);
  font-weight: 500;
}

.about-author__content p:last-child {
  max-width: 39ch;
}

.about-origin__cards {
  display: grid;
  gap: 1rem;
}

.about-card {
  display: grid;
  gap: 1rem;
  min-height: 220px;
  padding: 1.35rem;
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.about-card--lilac {
  background: #f4f0ff;
}

.about-card--sand {
  background: #fff6e8;
}

.about-card--mint {
  background: #eef9f4;
}

.about-card__image {
  width: min(220px, 78%);
  max-height: 150px;
  object-fit: contain;
  display: block;
  justify-self: start;
  align-self: center;
}

.about-card__body {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 1rem;
  align-items: start;
}

.about-card__number {
  width: 58px;
  aspect-ratio: 1;
  object-fit: contain;
  display: block;
}

.about-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.18rem;
}

.about-card p {
  max-width: 32ch;
  font-size: 0.98rem;
}

.section.final-cta {
  padding-top: 2.25rem;
}

.final-cta__grid {
  display: grid;
  gap: 1rem;
}

.final-includes,
.final-cta__card {
  display: grid;
  gap: 1.25rem;
  text-align: left;
  border-radius: 24px;
  padding: 1.55rem;
}

.final-includes h2,
.final-cta__card h2 {
  margin-bottom: 0;
}

.final-includes__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.final-includes__list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(215, 217, 234, 0.86);
}

.final-includes__list li:first-child {
  padding-top: 0;
}

.final-includes__list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.final-includes__list img {
  max-width: 53px;
  max-height: 48px;
  object-fit: contain;
  display: block;
  justify-self: center;
  align-self: center;
}

.final-includes__list h3 {
  margin-bottom: 0.28rem;
}

.final-includes__list p {
  font-size: 0.92rem;
}

.final-cta__card {
  align-content: start;
}

.final-price {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.2rem;
}

.final-price__value {
  color: var(--text);
  font-size: clamp(2.25rem, 5vw, 2.8rem);
  line-height: 1;
  font-weight: 800;
}

.final-price__features {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.final-price__features li {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-soft);
  font-size: 1rem;
}

.final-price__features img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.final-launch {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(206, 211, 232, 0.95);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.final-launch__media {
  display: grid;
  place-items: center;
  min-height: 76px;
  padding-right: 1.15rem;
  border-right: 1px solid var(--line);
}

.final-launch__media img {
  width: 66px;
  height: auto;
  display: block;
}

.final-launch__content {
  display: grid;
  gap: 0.45rem;
}

.final-launch h3 {
  margin-bottom: 0;
  color: var(--accent);
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 800;
}

.final-launch p {
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.65;
}

.final-cta__card .button {
  width: 100%;
  margin-top: 0.65rem;
}

.final-cta__image {
  width: 100%;
  max-width: 540px;
  justify-self: center;
  align-self: end;
  margin-top: 1rem;
  display: block;
}

.popup {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.popup[hidden] {
  display: none;
}

.popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(25, 22, 42, 0.38);
  backdrop-filter: blur(6px);
}

.popup__dialog {
  position: relative;
  z-index: 1;
  width: min(1244px, 100%);
  max-height: min(715px, calc(100vh - 2rem));
  overflow: auto;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 22px 70px rgba(25, 22, 42, 0.18);
}

.popup__close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  z-index: 2;
  width: 21px;
  height: 21px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.popup__close:hover {
  opacity: 1;
}

.popup__close img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.popup__content {
  display: grid;
}

.popup__form-side,
.popup__image-side {
  padding: 1.75rem;
}

.popup__form-side {
  display: grid;
  gap: 1.2rem;
  align-content: center;
  justify-items: center;
}

.popup__intro {
  display: grid;
  gap: 0.75rem;
  width: min(520px, 100%);
  max-width: 520px;
  margin-top: 0;
}

.popup__intro h2 {
  margin: 0;
  font-size: clamp(1.35rem, 1.8vw, 1.55rem);
  line-height: 1.12;
}

.popup__intro p {
  font-size: 1rem;
  max-width: none;
}

.popup__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  max-width: 430px;
}

.popup__features li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.45rem;
  align-items: center;
}

.popup__features img {
  max-width: 28px;
  max-height: 30px;
  object-fit: contain;
  display: block;
  justify-self: center;
}

.popup__features p {
  display: grid;
  gap: 0.2rem;
}

.popup__features strong {
  color: var(--text);
  font-size: 0.74rem;
  white-space: nowrap;
}

.popup__features span {
  color: var(--text-soft);
  font-size: 0.7rem;
  line-height: 1.35;
}

.popup__form {
  display: grid;
  gap: 1rem;
  width: min(520px, 100%);
  max-width: 520px;
}

.popup__form label {
  display: grid;
  gap: 0.45rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.88rem;
}

.popup__form label b {
  color: var(--red);
  font-weight: 700;
}

.popup__form small {
  color: #6b6880;
  font-size: 0.78rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
}

.popup__form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 0.9rem;
  font: inherit;
  color: var(--text);
  background: #fff;
  outline: none;
}

.popup__form input:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(109, 61, 242, 0.12);
}

.popup__checkbox {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 0.6rem;
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.35;
}

.popup__checkbox input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0.05rem 0 0;
  padding: 0;
  accent-color: var(--violet);
}

.popup__checkbox input:focus {
  box-shadow: none;
}

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

.popup__checkbox a:hover {
  color: var(--accent-dark);
}

.popup__submit {
  width: 100%;
  min-height: 44px;
  margin-top: 0.45rem;
  font-size: 1rem;
}

.popup__status {
  min-height: 1.2em;
  color: var(--accent-dark);
  font-size: 0.84rem;
  font-weight: 600;
}

.popup__status.is-error {
  color: var(--red);
}

.popup__privacy {
  position: relative;
  padding-left: 1.35rem;
  color: #6b6880;
  font-size: 0.78rem;
}

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

.popup__privacy a:hover {
  color: var(--accent-dark);
}

.popup__privacy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 11px;
  height: 13px;
  border: 1.25px solid currentColor;
  border-radius: 2px;
}

.popup__privacy::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.02rem;
  width: 5px;
  height: 6px;
  border: 1.25px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.popup__image-side {
  display: grid;
  gap: 2.1rem;
  align-content: center;
  justify-items: center;
  background: #f8f7fc;
}

.popup__image {
  width: min(416px, 80%);
  display: block;
  border-radius: 0;
}

.popup__image-side > p {
  max-width: 310px;
  text-align: center;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.35;
  color: var(--text-soft);
}

.popup-price {
  width: min(420px, 100%);
  display: grid;
  gap: 0.7rem;
  margin-top: 0.2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(215, 217, 234, 0.9);
  justify-self: center;
}

.popup-price__value {
  color: var(--text);
  font-size: clamp(2.25rem, 5vw, 2.8rem);
  line-height: 1;
  font-weight: 800;
}

.popup-price__features {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.popup-price__features li {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-soft);
  font-size: 1rem;
}

.popup-price__features img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

body.popup-open {
  overflow: hidden;
}

.cookie-banner {
  position: fixed;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 90;
  width: min(672px, calc(100% - 3rem));
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem;
  border: 1px solid rgba(215, 217, 234, 0.9);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 36px rgba(25, 22, 42, 0.08);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.cookie-banner.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cookie-banner__icon {
  width: 58px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fbf4e6;
}

.cookie-banner__icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
}

.cookie-banner__content {
  display: grid;
  gap: 0.55rem;
}

.cookie-banner__content h2 {
  margin-bottom: 0;
  font-size: 1.12rem;
}

.cookie-banner__content p {
  max-width: 46ch;
  color: var(--text-soft);
  font-size: 0.84rem;
  line-height: 1.55;
}

.cookie-banner__link {
  width: fit-content;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease;
}

.cookie-banner__link:hover {
  color: var(--accent-dark);
}

.cookie-banner__button {
  min-width: 112px;
  min-height: 42px;
  padding: 0.62rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.cookie-banner__button:hover {
  border-color: #b9b4df;
  background: #f5f1ff;
  color: var(--accent-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 10px;
  padding: 0.78rem 1.25rem;
  border: 1px solid transparent;
  font-weight: 500;
  transition: 180ms ease;
}

.button--primary {
  background: var(--violet);
  color: #fff;
  border-color: var(--accent-dark);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 180ms ease;
}

.button--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #4b1fb8;
  transform: translateX(-101%);
  transition: transform 220ms ease;
  z-index: -1;
}

.button--primary:hover {
  transform: translateY(-1px);
}

.button--primary:hover::before {
  transform: translateX(0);
}

.button--ghost {
  border-color: var(--line);
  color: var(--text);
  background: #fff;
}

.button--ghost:hover {
  border-color: #b9b4df;
  background: #fff;
}

.structure-card,
.card,
.result-list li {
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.card,
.result-list li {
  opacity: 0;
  transform: translateY(8px);
  transition:
    transform 240ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease,
    opacity 260ms ease;
}

.card.in-view,
.result-list li.in-view {
  opacity: 1;
  transform: translateY(0);
}

.structure-card:hover,
.card:hover,
.result-list li:hover {
  transform: translateY(-3px);
  border-color: #b4bad9;
  box-shadow: 0 6px 16px rgba(25, 22, 42, 0.06);
}

.hero__visual:hover {
  transform: translateY(0);
  border-color: transparent;
  box-shadow: var(--shadow);
}

.final-includes:hover,
.final-cta__card:hover {
  transform: translateY(0);
  border-color: transparent;
  box-shadow: var(--shadow);
}

@media (prefers-reduced-motion: reduce) {
  .hero__image {
    animation: none;
    transform: none;
    transition: none;
  }
}

.tone-sand {
  background: var(--sand);
}

.tone-lilac {
  background: var(--lilac);
}

.tone-cyan {
  background: var(--cyan);
}

.tone-sand p,
.tone-lilac p,
.tone-cyan p {
  color: #2d3656;
}

.footer {
  padding: 2rem 0 2.3rem;
  border-top: 1px solid var(--line);
}

.footer p {
  font-size: 0.9rem;
}

.legal-page {
  background: var(--bg);
}

.section.legal-section {
  padding-top: 4.25rem;
}

.legal-layout {
  display: grid;
  gap: 2rem;
  max-width: 920px;
}

.legal-intro {
  display: grid;
  gap: 1rem;
}

.legal-intro h1 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2.1rem, 5vw, 4rem);
}

.legal-intro .lead {
  max-width: 720px;
}

.legal-document {
  display: grid;
  gap: 1.8rem;
  padding: clamp(1.35rem, 4vw, 2.4rem);
  border-radius: 24px;
  opacity: 1;
  transform: none;
}

.legal-document:hover {
  transform: none;
  border-color: transparent;
  box-shadow: var(--shadow);
}

.legal-document section {
  display: grid;
  gap: 0.8rem;
}

.legal-document h2 {
  margin-bottom: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
}

.legal-document p,
.legal-document li {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.75;
}

.legal-document ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding-left: 1.2rem;
}

.legal-document a,
.legal-footer__links a {
  color: var(--accent);
  text-decoration: none;
}

.legal-document a:hover,
.legal-footer__links a:hover {
  color: var(--accent-dark);
}

.legal-footer {
  display: grid;
  gap: 0.85rem;
}

.legal-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.2rem;
  font-size: 0.9rem;
}

.thanks-page {
  background: #fff;
}

.thanks-hero {
  padding: clamp(3.25rem, 7vw, 5.25rem) 0 2rem;
}

.thanks-hero__grid {
  display: grid;
  gap: 2rem;
}

.thanks-hero__content {
  display: grid;
  align-content: start;
  gap: 1.35rem;
}

.thanks-hero__content h1 {
  max-width: 620px;
  margin-bottom: 0;
  font-size: clamp(2.05rem, 4vw, 3.5rem);
  line-height: 1.1;
}

.thanks-note {
  width: min(460px, 100%);
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 20px;
  background: rgba(246, 242, 255, 0.9);
}

.thanks-note__icon,
.thanks-support__icon,
.thanks-telegram span {
  display: grid;
  place-items: center;
}

.thanks-note__icon {
  width: 48px;
}

.thanks-note__icon img {
  width: 48px;
  height: auto;
  object-fit: contain;
  display: block;
}

.thanks-bank__icon img {
  width: 32px;
  height: auto;
  object-fit: contain;
  display: block;
}

.thanks-bank__icon img.thanks-bank__icon-phone {
  width: 22px;
}

.thanks-note p {
  color: var(--text-soft);
  font-size: 1rem;
}

.thanks-hero__image {
  width: min(312px, 100%);
  margin-top: 0.5rem;
  margin-inline: auto;
  display: block;
}

.thanks-payment {
  display: grid;
  gap: 1.7rem;
  padding: clamp(1.35rem, 3.2vw, 2.4rem);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(247, 244, 255, 0.96), rgba(255, 255, 255, 0.94));
  box-shadow: 0 14px 38px rgba(25, 22, 42, 0.07);
}

.thanks-payment__top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.thanks-support h2,
.thanks-launch h2 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 2.5vw, 2.45rem);
  line-height: 1.2;
}

.thanks-payment h2 {
  margin-bottom: 0;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.25;
}

.thanks-payment h3 {
  margin-bottom: 0;
  font-size: 1.12rem;
  line-height: 1.25;
}

.thanks-payment__price {
  margin-top: 0.65rem;
  color: var(--accent);
  font-size: clamp(2.25rem, 5vw, 2.8rem);
  line-height: 1;
  font-weight: 800;
}

.thanks-payment__wallet {
  width: min(174px, 40%);
}

.thanks-payment__wallet img {
  width: 100%;
  height: auto;
  display: block;
}

.thanks-payment__features {
  list-style: none;
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0 0 1.2rem;
  border-bottom: 1px solid var(--line);
}

.thanks-payment__features li {
  position: relative;
  padding-left: 2rem;
  color: var(--text-soft);
  font-size: 1rem;
}

.thanks-payment__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.08rem;
  width: 1.25rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #8d7ccd;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
}

.thanks-payment__details {
  display: grid;
  gap: 1rem;
}

.thanks-bank {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
}

.thanks-bank__row {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
}

.thanks-bank__row + .thanks-bank__row {
  border-top: 1px solid var(--line);
}

.thanks-bank__icon,
.thanks-copy {
  color: var(--accent);
}

.thanks-bank__icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}

.thanks-bank__row p {
  display: grid;
  gap: 0.15rem;
  color: var(--text-soft);
}

.thanks-bank__row strong {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
}

.thanks-copy {
  position: relative;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.thanks-copy svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.thanks-copy-tooltip {
  position: fixed;
  z-index: 120;
  padding: 0.36rem 0.62rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(25, 22, 42, 0.08);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, calc(-100% + 6px));
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  white-space: nowrap;
}

.thanks-copy-tooltip.is-visible {
  opacity: 1;
  transform: translate(-50%, -100%);
}

.thanks-bank__receiver {
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 1rem;
}

.thanks-telegram {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 1rem;
}

.thanks-telegram span {
  width: 48px;
}

.thanks-telegram img {
  width: 48px;
  height: auto;
  object-fit: contain;
  display: block;
}

.thanks-telegram p {
  color: var(--text-soft);
  font-size: 1rem;
}

.thanks-telegram a,
.thanks-support a {
  color: var(--accent);
  font-weight: 600;
}

.thanks-support {
  padding: 1.35rem 0 2rem;
}

.thanks-support__grid {
  display: grid;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(247, 244, 255, 0.95), rgba(255, 255, 255, 0.96));
}

.thanks-support__item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 1.2rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.thanks-support__item + .thanks-support__item {
  border-top: 1px solid var(--line);
}

.thanks-support__icon {
  width: 78px;
}

.thanks-support__icon img {
  width: 78px;
  height: auto;
  object-fit: contain;
  display: block;
}

.thanks-support p {
  margin-top: 0.55rem;
  color: var(--text-soft);
  font-size: 1rem;
}

.thanks-support a {
  display: inline-block;
  margin-top: 0.85rem;
}

.thanks-launch {
  padding: 0 0 2rem;
}

.thanks-launch__box {
  display: grid;
  grid-template-columns: 132px 1fr;
  align-items: center;
  gap: 1.8rem;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px dashed #a997f0;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
}

.thanks-launch__box img {
  width: min(112px, 100%);
}

.thanks-launch__box p {
  max-width: 690px;
  margin-top: 0.55rem;
  color: var(--text-soft);
  font-size: 1rem;
}

.thanks-launch__box strong {
  color: var(--text);
}

.thanks-return {
  display: flex;
  justify-content: center;
  padding: 0 0 3rem;
}

.thanks-return .button {
  min-width: 280px;
}

@media (min-width: 760px) {
  .section {
    padding: 5rem 0;
  }

  .thanks-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.94fr);
    align-items: start;
    gap: clamp(2rem, 5vw, 4.5rem);
  }

  .thanks-support__grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .hero__grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 2rem;
  }

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

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

  .popup__features li + li {
    border-left: 1px solid var(--line);
    padding-left: 0.65rem;
  }
}

@media (min-width: 980px) {
  .about-origin__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 4rem;
  }

  .about-origin__intro {
    align-self: start;
  }

  .about-author {
    margin-left: 4.9rem;
    margin-top: 2.2rem;
  }

  .about-card {
    grid-template-columns: minmax(150px, 0.52fr) minmax(0, 1fr);
    align-items: center;
    gap: 1.45rem;
    min-height: 206px;
    padding: 1.8rem 2.1rem;
  }

  .about-card__image {
    width: min(170px, 100%);
    max-height: 138px;
  }

  .about-card__body {
    grid-template-columns: 74px 1fr;
  }

  .about-card__number {
    width: 64px;
  }

  .final-cta__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .final-includes,
  .final-cta__card {
    padding: 2rem 2.2rem;
  }

  .final-cta__card {
    min-height: 640px;
  }

  .popup__content {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 715px;
  }

  .popup__form-side {
    padding: 2.6rem 4.2rem 2.8rem;
  }

  .popup__image-side {
    padding: 4.6rem 3.3rem 3.9rem;
  }
}

@media (min-width: 900px) {
  .top-nav {
    display: inline-flex;
  }
}

@media (max-width: 599px) {
  .thanks-hero {
    padding-top: 2.6rem;
  }

  .thanks-note,
  .thanks-telegram,
  .thanks-support__item,
  .thanks-launch__box {
    grid-template-columns: 1fr;
  }

  .thanks-payment__top {
    align-items: center;
  }

  .thanks-payment__wallet {
    width: 128px;
  }

  .thanks-bank__row {
    grid-template-columns: 30px 1fr;
  }

  .thanks-copy {
    grid-column: 2;
    justify-self: start;
  }

  .thanks-launch__box {
    gap: 1rem;
  }

  .thanks-return {
    padding-inline: 1rem;
  }

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

  .cookie-banner {
    left: 1rem;
    bottom: 1rem;
    width: calc(100% - 2rem);
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 0.9rem;
    padding: 1rem;
    border-radius: 20px;
  }

  .cookie-banner__icon {
    width: 56px;
  }

  .cookie-banner__icon img {
    width: 34px;
    height: 34px;
  }

  .cookie-banner__button {
    width: 100%;
    min-height: 50px;
  }

  .final-launch {
    grid-template-columns: 1fr;
    gap: 0.95rem;
    padding: 1rem;
  }

  .final-launch__media {
    min-height: 0;
    padding: 0 0 0.9rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    justify-items: start;
  }

  .final-launch__media img {
    width: 58px;
  }

  .about-card__body {
    grid-template-columns: 54px 1fr;
  }

  .about-card__number {
    width: 48px;
  }

  .about-card__image {
    width: min(190px, 86%);
  }
}
