@font-face {
  font-family: "Obviously";
  src: url("assets/fonts/obviously-black.otf") format("opentype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Obviously";
  src: url("assets/fonts/obviously-semibold.otf") format("opentype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Stapel Letto";
  src: url("assets/fonts/stapel-extrabold.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Stapel Letto";
  src: url("assets/fonts/stapel-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --bg-blue: #1a0c92;
  --bg-blue-deep: #0c025e;
  --cream: #f6efe6;
  --soft-white: #f8f7f5;
  --letto-red: #ff281b;
  --letto-red-dark: #d81610;
  --orange-top: #ff735c;
  --orange-bottom: #ffcb74;
  --ink: #1d1133;
  --purple-card: rgba(20, 8, 84, 0.86);
  --shadow-lg: 0 24px 60px rgba(18, 7, 83, 0.28);
  --shadow-md: 0 16px 34px rgba(30, 11, 82, 0.18);
  --radius-xl: 1.75rem;
  --radius-lg: 1.25rem;
  --radius-pill: 999px;
  --container: min(1100px, calc(100vw - 2.5rem));
  --section-space-y: clamp(3.5rem, 6vw, 5.5rem);
  --section-space-y-compact: clamp(2.5rem, 4vw, 3.5rem);
  --section-heading-gap: clamp(0.45rem, 1vw, 0.75rem);
  --section-heading-margin: clamp(1.75rem, 3vw, 2.5rem);
  --font-display: "Obviously", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Trebuchet MS", "Avenir Next", Arial, sans-serif;
}

html[lang="ru"] {
  --font-display: "Stapel Letto", "Arial Black", "Helvetica Neue", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
}

img {
  display: block;
  max-width: 100%;
}

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

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

.site-shell {
  margin: 0 auto;
  background: linear-gradient(180deg, #22089e 0%, #12045d 30%, #ff7b63 30.01%, #ffc56b 100%);
  overflow: clip;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.topbar {
  position: fixed;
  top: 1rem;
  left: 50%;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 2.9rem auto;
  align-items: center;
  gap: 1rem;
  width: min(980px, calc(100vw - 2rem));
  padding: 0.55rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(246, 244, 251, 0.58);
  box-shadow: 0 12px 24px rgba(16, 5, 75, 0.18);
  transform: translateX(-50%);
  backdrop-filter: blur(14px) saturate(125%);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
}

.topbar__logo {
  grid-column: 1;
  display: inline-flex;
  align-items: center;
  justify-self: start;
  width: fit-content;
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
}

.topbar__logo img,
.footer__logo img {
  width: 4.6rem;
}

.topbar__title,
.section-heading h2,
.hero-card h1,
.upload-card h2,
.upload-card h3,
.selfie-test__copy h2,
.selfie-test__upload h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.topbar__title {
  position: absolute;
  left: 50%;
  z-index: 1;
  color: var(--letto-red);
  font-family: "Obviously", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.15rem, 2vw, 2rem);
  width: max-content;
  max-width: calc(100% - 18rem);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  transform: translateX(-50%);
  pointer-events: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.75rem 1.4rem;
  border: 0;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

html[lang="ru"] .button {
  padding-top: 0.82rem;
  padding-bottom: 0.68rem;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--header,
.button--primary,
.button--small {
  background: var(--letto-red);
  color: #fff9f2;
  box-shadow: 0 8px 18px rgba(255, 40, 27, 0.28);
}

.button--light {
  background: #fff5eb;
  color: var(--letto-red);
}

.button--dark {
  background: #171717;
  color: #fffaf5;
}

.button--small {
  min-height: 2.45rem;
  padding-inline: 1.15rem;
  font-size: 0.78rem;
}

.button--header {
  grid-column: 4;
  justify-self: end;
  position: relative;
  z-index: 1;
}

.topbar__lang {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.topbar__lang {
  grid-column: 3;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  width: 2.9rem;
  min-width: 2.9rem;
  height: 2.9rem;
  min-height: 2.9rem;
  border-radius: var(--radius-pill);
  color: var(--letto-red);
  background: rgba(255, 255, 255, 0.44);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.38);
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.topbar__lang:hover,
.topbar__lang:focus-visible {
  color: #fff9f2;
  background: var(--letto-red);
  box-shadow: 0 6px 12px rgba(255, 40, 27, 0.18);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: 100svh;
  background: #12045d;
}

.hero__media,
.hero__overlay,
.hero__content {
  position: absolute;
  inset: 0;
}

.hero__media {
  overflow: hidden;
  background: none;
}

.hero__media::before,
.hero__media::after {
  display: none;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 1;
}

.hero__overlay {
  display: none;
}

.hero__bottle-glow {
  display: none;
}

.hero__content {
  display: grid;
  place-items: center;
  padding: 7.25rem 0.8rem 1.75rem;
}

.hero-audio-toggle {
  position: absolute;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: rgba(15, 6, 74, 0.42);
  color: #fff8f0;
  box-shadow: 0 10px 24px rgba(10, 3, 52, 0.28);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.hero-audio-toggle:hover,
.hero-audio-toggle:focus-visible {
  transform: translateY(-2px);
  background: rgba(22, 10, 97, 0.58);
}

.hero-audio-toggle__icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.hero-audio-toggle__icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.hero-audio-toggle__icon--active {
  opacity: 0;
  transform: scale(0.88);
}

.hero-audio-toggle:not(.is-muted) .hero-audio-toggle__icon--muted {
  opacity: 0;
  transform: scale(0.88);
}

.hero-audio-toggle:not(.is-muted) .hero-audio-toggle__icon--active {
  opacity: 1;
  transform: scale(1);
}

.hero-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(270px, 0.92fr);
  gap: 0;
  align-items: stretch;
  width: min(46.5rem, calc(100vw - 2rem));
  height: min(26.8rem, calc(100svh - 11rem));
  padding: 0;
    border-radius: 27px;
  background: rgba(12, 7, 25, 0.86);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: opacity 220ms ease, transform 220ms ease;
}

.hero-card.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(1rem) scale(0.96);
}

.hero-card__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  background: var(--letto-red);
  color: #fff;
  font-size: 1.45rem;
  font-weight: 300;
  line-height: 0.8;
  cursor: pointer;
  box-shadow: 0 8px 14px rgba(255, 40, 27, 0.2);
}

.hero-card__left {
  display: grid;
  align-content: stretch;
  min-width: 0;
padding: 5px;
  border-radius: 1.65rem;
  overflow: hidden;
}

.hero-card h1 {
  color: var(--letto-red);
  font-size: clamp(2rem, 2.5vw, 2.95rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-align: center;
}

.hero-card__visual {
  display: block;
  min-height: 0;
  height: 100%;
}

.hero-card__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
      border-radius: 21px;
}

.hero-card__right {
  position: relative;
  display: grid;
  align-content: center;
  gap: 1rem;
  min-width: 0;
  padding: 1.45rem 1.45rem 1.35rem;
  color: #fff9f2;
}

.hero-card__right::before {
  display: none;
}

.hero-card__eyebrow {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-display);
  /*max-width: 8.5ch;*/
  font-size: clamp(1.45rem, 1.95vw, 2.45rem);
  font-weight: 800;
  line-height: 0.93;
  color: #ffd86e;
  text-transform: uppercase;
}

.hero-card__copy {
  position: relative;
  z-index: 1;
  /*max-width: 17ch;*/
  margin: 0;
  font-size: clamp(0.84rem, 0.95vw, 1rem);
  font-weight: 700;
  line-height: 1.35;
  color: #fff7f2;
}

.hero-card__cta {
  position: relative;
  z-index: 1;
  min-height: 2.7rem;
  /*width: min(14rem, 100%);*/
  margin-top: 0.15rem;
  padding-inline: 1rem;
  background: #ffe08b;
  color: var(--letto-red);
  box-shadow: none;
  font-size: clamp(1rem, 1.1vw, 1.28rem);
  letter-spacing: 0;
  white-space: nowrap;
}

.ticker {
  overflow: hidden;
  padding-block: 0.85rem;
  background: var(--letto-red);
  color: #fff6eb;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ticker__track,
.partners__track {
  display: flex;
  width: max-content;
  animation: marquee 18s linear infinite;
  will-change: transform;
}

.ticker__group,
.partners__group {
  display: flex;
  flex-shrink: 0;
  min-width: max-content;
}

.ticker__group {
  align-items: center;
}

.ticker__track span {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-inline: 1.1rem;
  white-space: nowrap;
}

.ticker__track span::after {
  content: "•";
  margin-left: 1.1rem;
}

.upload-section {
  padding-block: var(--section-space-y);
  background: linear-gradient(180deg, #ff7c65 0%, #ffa768 44%, #ffb366 100%);
  scroll-margin-top: 6.5rem;
}

.upload-card {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 0;
  min-height: 28rem;
  padding: 1.25rem;
  border-radius: 1.9rem;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.upload-card__info,
.upload-card__cta {
  border-radius: 1.45rem;
}

.upload-card__info {
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: clamp(1.7rem, 4vw, 3rem);
  background: var(--soft-white);
}

.upload-card__info h2 {
  color: var(--letto-red);
  font-size: clamp(1.5rem, 2vw, 2.3rem);
}

.upload-card__info ol {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 1rem;
  line-height: 1.6;
}

.upload-card__hint {
  margin: 0;
  line-height: 1.2rem;
  font-weight: bold;
  color: rgba(29, 17, 51, 0.76);
  font-size: 0.9rem;
}

.upload-card__cta {
  display: grid;
  place-items: center;
  background: var(--letto-red);
}

.upload-card__cta-inner {
  width: min(22rem, 100%);
  padding: 2rem 1.4rem;
  text-align: center;
  color: #fffaf5;
}

.upload-card__cta-inner h3 {
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
}

.upload-card__cta-inner p {
  margin: 0.9rem auto 1.3rem;
  max-width: 24ch;
  line-height: 1.45;
}

.selfie-test {
  border-radius: 1.9rem;
  background: #fff;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.selfie-test__panel {
  min-height: 28rem;
}

.selfie-test__panel[hidden] {
  display: none;
}

.selfie-test__panel--upload {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 1.25rem;
  padding: 1.25rem;
}

.selfie-test__copy,
.selfie-test__upload {
  border-radius: 1.45rem;
}

.selfie-test__copy {
  display: grid;
  align-content: center;
  gap: 1rem;
  padding: clamp(1.7rem, 4vw, 3rem);
  background: var(--soft-white);
}

.selfie-test__copy h2 {
  color: var(--letto-red);
  font-size: clamp(1.5rem, 2vw, 2.3rem);
  line-height: 0.98;
}

.selfie-test__copy ol {
  margin: 0;
  padding-left: 1.15rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.6;
}

.selfie-test__hint,
.selfie-test__formats,
.selfie-test__error {
  margin: 0;
  line-height: 1.25;
  font-weight: 800;
}

.selfie-test__hint {
  color: rgba(29, 17, 51, 0.76);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.selfie-test__upload {
  display: grid;
  place-items: center;
  background: var(--letto-red);
  color: #fffaf5;
  text-align: center;
}

.selfie-test__upload-inner {
  width: min(24rem, 100%);
  padding: 2rem 1.4rem;
}

.selfie-test__upload h3 {
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
  line-height: 0.98;
}

.selfie-test__upload p {
  margin: 0.9rem auto 1.3rem;
  max-width: 27ch;
  font-family: var(--font-body);
  font-weight: 800;
  line-height: 1.45;
}

.selfie-test__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.selfie-test__formats {
  margin-top: 1rem;
  color: rgba(255, 250, 245, 0.78);
  font-family: var(--font-body);
  font-size: 0.78rem;
}

.selfie-test__error {
  min-height: 1rem;
  margin-top: 1rem;
  color: #ffe18a;
  font-size: 0.82rem;
}

.selfie-test__panel--quiz {
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2rem);
}

.selfie-test__quiz-card {
  width: min(100%, 58rem);
  min-height: clamp(22rem, 38vw, 28rem);
  display: grid;
  align-content: center;
  grid-template-rows: auto auto auto;
  gap: clamp(1.45rem, 3vw, 2.25rem);
  padding: clamp(2rem, 4.5vw, 3.8rem) clamp(1.4rem, 4vw, 3.4rem);
  border-radius: 1.45rem;
  background: #fff;
  text-align: center;
}

.selfie-test__step {
  display: none;
}

.selfie-test__quiz-card h2 {
  margin: 0;
  color: var(--letto-red);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.selfie-test__quiz-card h3 {
  margin: 0;
  color: #050505;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.8vw, 1.25rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.selfie-test__answers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
}

.selfie-test__answer {
  min-height: 56px;
  padding: 10px 18px;
  border: 0;
  border-radius: 10px;
  background: var(--letto-red);
  color: #fffaf5;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  cursor: pointer;
  text-wrap: balance;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.selfie-test__answer:hover,
.selfie-test__answer:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(255, 40, 27, 0.22);
}

.selfie-test__panel--result {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: center;
  padding: clamp(1.25rem, 2vw, 1.8rem);
}

.selfie-test__result-copy {
  display: grid;
  gap: 0.7rem;
  align-content: center;
  min-height: 100%;
  padding: 2rem 1.9rem;
}

.selfie-test__label,
.selfie-test__taste {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
}

.selfie-test__label {
  color: var(--letto-red);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.selfie-test__result-copy h2 {
  margin: 0;
  color: var(--letto-red);
  font-family: var(--font-display);
  font-size: 2.05rem;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.selfie-test__taste {
  justify-self: start;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
  background: #ffdc6f;
  color: #5c2500;
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.1;
}

.selfie-test__result-text {
  display: grid;
  gap: 0.85rem;
  max-width: 34rem;
  margin-top: 1.05rem;
}

.selfie-test__result-text p {
  margin: 0;
  color: #111;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.38;
}

.selfie-test__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.7rem;
  margin-top: 1.15rem;
}

.selfie-test__actions .button {
  min-height: 2.45rem;
  padding-inline: 1rem;
  font-size: 0.72rem;
  white-space: nowrap;
}

.selfie-test__status {
  display: none;
}

.selfie-test__result-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 720 / 760;
  border-radius: 1rem;
  background: #ffe870;
}

.selfie-test__result-card[hidden],
.selfie-test__result-loader[hidden] {
  display: none !important;
}

.selfie-test__result-loader {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 720 / 760;
  display: grid;
  place-items: center;
  gap: 0.85rem;
  align-content: center;
  padding: 2rem;
  color: var(--letto-red);
  text-align: center;
  border-radius: 1rem;
  background: #1f1245;
}

.selfie-test__loader-image {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  object-fit: cover;
  filter: blur(22px) saturate(1.22);
  transform: scale(1.04);
}

.selfie-test__result-loader::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(31, 18, 69, 0.5), rgba(31, 18, 69, 0.72)),
    rgba(255, 17, 12, 0.08);
  content: "";
}

.selfie-test__result-loader p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.selfie-test__spinner {
  position: relative;
  z-index: 1;
  width: 2.35rem;
  height: 2.35rem;
  border: 0.28rem solid rgba(255, 255, 255, 0.34);
  border-top-color: #fff;
  border-radius: 50%;
  animation: selfie-spin 0.85s linear infinite;
}

@keyframes selfie-spin {
  to {
    transform: rotate(360deg);
  }
}

.selfie-test__canvas {
  display: none;
}

.selfie-test__preview {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.selfie-test__preview[hidden] {
  display: none !important;
}

.partners {
  position: relative;
  --partners-wave-height: clamp(4.2rem, 9vw, 7rem);
  z-index: 2;
}

.partners__wave {
  position: absolute;
  left: 0;
  width: 100%;
  height: var(--partners-wave-height);
  overflow: hidden;
  pointer-events: none;
  line-height: 0;
  z-index: 1;
}

.partners__wave:not(.partners__wave--bottom) {
  top: 0;
  transform: translateY(-100%);
}

.partners__wave-track {
  display: flex;
  width: 200%;
  height: 100%;
  animation: partners-wave-sway 12s ease-in-out infinite;
  will-change: transform;
}

.partners__wave-svg {
  display: block;
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
}

.partners__wave-path {
  fill: var(--letto-red);
}

.partners__wave--bottom {
  bottom: 0;
  transform: translateY(100%);
}

.partners__wave--bottom .partners__wave-track {
  animation-direction: reverse;
}

.partners__wave--bottom .partners__wave-svg {
  transform: rotate(180deg);
}

.partners__body {
  position: relative;
  background: var(--letto-red);
  z-index: 2;
}

.partners__marquee {
  overflow: hidden;
}

.partners__track {
  align-items: center;
  animation-duration: 24s;
}

.partners__group {
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-inline: 2rem;
}

.partners__track img {
  height: clamp(1.75rem, 3vw, 2.65rem);
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.section-gradient {
  padding-block: var(--section-space-y);
  background: linear-gradient(180deg, #ff946b 0%, #ffbf74 100%);
}

.section-gradient--soft {
  padding-top: var(--section-space-y-compact);
}

.section-heading {
  display: grid;
  justify-items: center;
  gap: var(--section-heading-gap);
  margin-bottom: var(--section-heading-margin);
  text-align: center;
}

.section-heading h2 {
  color: #fff7ec;
  font-size: clamp(1.8rem, 3vw, 3rem);
  text-shadow: 0 4px 10px rgba(112, 40, 0, 0.12);
}

.section-heading p {
  max-width: 34rem;
  margin: 0;
  color: #fff6f0;
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.5vw, 1.15rem);
  font-weight: 600;
  line-height: 1.3;
}

.products-swiper,
.guide-swiper {
  margin-top: 0;
  overflow: visible;
}

.product-card {
  display: grid;
  justify-items: center;
  text-align: center;
}

.product-card__visual {
  position: relative;
  display: grid;
  place-items: center;
  width: min(17rem, 100%);
  aspect-ratio: 1 / 1.45;
}

.product-card__visual::before {
  content: "";
  position: absolute;
  inset: 18% 16% 6%;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.55;
}

.product-card__image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 28px rgba(173, 82, 12, 0.22));
}

.product-card h3 {
  margin: 0.8rem 0 0.55rem;
  font-size: 1.15rem;
}

.product-card--lemon .product-card__visual::before { background: radial-gradient(circle, rgba(255, 220, 74, 0.54), rgba(255, 220, 74, 0) 68%); }
.product-card--tropical .product-card__visual::before { background: radial-gradient(circle, rgba(255, 176, 65, 0.58), rgba(255, 176, 65, 0) 68%); }
.product-card--pear .product-card__visual::before { background: radial-gradient(circle, rgba(227, 214, 120, 0.46), rgba(227, 214, 120, 0) 68%); }
.product-card--watermelon .product-card__visual::before { background: radial-gradient(circle, rgba(255, 106, 121, 0.48), rgba(255, 106, 121, 0) 68%); }
.product-card--orange .product-card__visual::before { background: radial-gradient(circle, rgba(255, 149, 52, 0.52), rgba(255, 149, 52, 0) 68%); }

.product-modal[hidden] {
  display: none;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(0.75rem, 2.2vw, 1.6rem);
}

.product-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 18, 0.86);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.product-modal__dialog {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.95fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  align-items: center;
  width: min(104.5rem, 100%);
  height: min(50rem, 100%);
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  border-radius: clamp(1.6rem, 2.5vw, 2.9rem);
  background:
    radial-gradient(circle at 66% 17%, rgba(255, 78, 92, 0.58), transparent 28rem),
    linear-gradient(180deg, #ff5a60 0%, #ff7663 44%, #ffbd68 100%);
  box-shadow: 0 26px 74px rgba(0, 0, 0, 0.34);
  color: #fff;
}

.product-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  background: var(--letto-red);
  color: #fff;
  font-size: 1.45rem;
  font-weight: 300;
  line-height: 0.8;
  cursor: pointer;
  box-shadow: 0 8px 14px rgba(255, 40, 27, 0.2);
}

.product-modal__info,
.product-modal__details,
.product-modal__visual {
  position: relative;
  z-index: 1;
  min-height: 0;
}

.product-modal__info {
  --product-modal-info-inset: clamp(1.8rem, 4vw, 4rem);
  display: grid;
  align-content: space-between;
  align-self: stretch;
  gap: clamp(1.1rem, 1.55vw, 1.5rem);
  min-width: 0;
  padding: clamp(3rem, 4.5vw, 4.6rem) var(--product-modal-info-inset) var(--product-modal-info-inset);
}

.product-modal__info h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 3.2vw, 3.7rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  overflow-wrap: normal;
}

.product-modal__nutrition-summary {
  display: grid;
  gap: clamp(0.8rem, 1.25vw, 1.25rem);
}

.product-modal__serving {
  margin: 0;
  font-size: clamp(1.1rem, 1.55vw, 1.55rem);
  font-weight: 800;
  line-height: 1.1;
}

.product-modal__calories {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1rem, 2vw, 2.4rem);
  align-items: center;
  color: #ffe08b;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
}

.product-modal__calories span,
.product-modal__calories strong {
  font-size: clamp(1.6rem, 2.55vw, 3rem);
  line-height: 0.95;
}

.product-modal__nutrition {
  display: grid;
  gap: 0;
  margin: 0;
}

.product-modal__nutrition-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: end;
  padding: clamp(0.65rem, 1vw, 1rem) 0;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.72);
}

.product-modal__nutrition-row:last-child {
  border-bottom: 0;
}

.product-modal__nutrition dt,
.product-modal__nutrition dd {
  margin: 0;
  font-size: clamp(1.1rem, 1.5vw, 1.55rem);
  font-weight: 800;
  line-height: 1.18;
}

.product-modal__nutrition dd {
  text-align: right;
}

.product-modal__buy {
  width: 100%;
  min-height: clamp(3.7rem, 4.8vw, 4.7rem);
  margin-top: clamp(1.6rem, 4vw, 3.2rem);
  background: var(--letto-red);
  color: #fff;
  font-size: clamp(1.45rem, 2.05vw, 2.15rem);
  box-shadow: none;
}

.product-modal__details {
  display: grid;
  align-content: center;
  gap: clamp(2.3rem, 4vw, 4.6rem);
  min-width: 0;
  padding: clamp(2.2rem, 4.2vw, 4.4rem) clamp(0.5rem, 1vw, 1rem);
}

.product-modal__description {
  margin: 0;
  max-width: 100%;
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 1.8vw, 2rem);
  font-weight: 800;
  line-height: 1.28;
  color: #fff;
}

.product-modal__claims,
.product-modal__size-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(0.75rem, 1.4vw, 1.35rem);
}

.product-modal__claims img,
.product-modal__size-list img {
  width: clamp(5.4rem, 7.3vw, 6.9rem);
  height: clamp(5.4rem, 7.3vw, 6.9rem);
  flex: 0 0 auto;
  object-fit: contain;
}

.product-modal__sizes {
  display: grid;
  gap: clamp(0.85rem, 1.5vw, 1.4rem);
}

.product-modal__sizes h3 {
  margin: 0;
  font-size: clamp(1.25rem, 1.8vw, 2rem);
  font-weight: 800;
  line-height: 1;
}

.product-modal__visual {
  display: grid;
  place-items: center;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  padding: clamp(2.4rem, 4vw, 4.2rem) clamp(1.5rem, 3vw, 3.5rem) clamp(2rem, 3vw, 3rem) clamp(0.8rem, 1.5vw, 1.5rem);
}

.product-modal__visual img {
  width: min(100%, 34rem);
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 28px 28px rgba(159, 59, 20, 0.18));
}

body.product-modal-open {
  overflow: hidden;
}

@media (min-width: 901px) and (max-width: 1300px),
       (min-width: 901px) and (max-height: 900px) {
  .product-modal {
    padding: 0.75rem;
  }

  .product-modal__dialog {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) minmax(0, 0.9fr);
    height: min(43rem, 100%);
  }

  .product-modal__info {
    --product-modal-info-inset: 1.5rem;
    gap: 0.85rem;
    padding: 2.3rem var(--product-modal-info-inset) var(--product-modal-info-inset);
  }

  .product-modal__nutrition-summary {
    gap: 0.7rem;
  }

  .product-modal__info h2 {
    font-size: clamp(2.1rem, 3.2vw, 3rem);
  }

  .product-modal__serving {
    font-size: 1rem;
  }

  .product-modal__calories {
    gap: 0.8rem;
  }

  .product-modal__calories span,
  .product-modal__calories strong {
    font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  }

  .product-modal__nutrition-row {
    padding: 0.5rem 0;
  }

  .product-modal__nutrition dt,
  .product-modal__nutrition dd {
    font-size: clamp(0.9rem, 1.3vw, 1.15rem);
  }

  .product-modal__buy {
    min-height: 3.35rem;
    margin-top: 0.7rem;
    font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  }

  .product-modal__details {
    gap: 1.35rem;
    padding: 2rem 0.5rem;
  }

  .product-modal__description {
    font-size: clamp(1.05rem, 1.55vw, 1.4rem);
  }

  .product-modal__claims,
  .product-modal__size-list {
    gap: clamp(0.55rem, 1vw, 0.85rem);
  }

  .product-modal__claims img,
  .product-modal__size-list img {
    width: clamp(4.6rem, 6.4vw, 5.6rem);
    height: clamp(4.6rem, 6.4vw, 5.6rem);
  }

  .product-modal__sizes {
    gap: 0.75rem;
  }

  .product-modal__sizes h3 {
    font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  }

  .product-modal__visual {
    padding: 2rem 1rem 1.5rem 0.5rem;
  }

  .product-modal__visual img {
    max-height: 100%;
  }
}

@media (min-width: 901px) and (max-height: 800px) {
  .product-modal__dialog {
    height: min(38rem, 100%);
  }

  .product-modal__info {
    --product-modal-info-inset: 1.25rem;
    gap: 0.55rem;
    padding: 1.6rem var(--product-modal-info-inset) var(--product-modal-info-inset);
  }

  .product-modal__info h2 {
    font-size: clamp(1.8rem, 2.6vw, 2.45rem);
  }

  .product-modal__nutrition-summary {
    gap: 0.5rem;
  }

  .product-modal__serving {
    font-size: 0.9rem;
  }

  .product-modal__calories span,
  .product-modal__calories strong {
    font-size: clamp(1.25rem, 2vw, 1.8rem);
  }

  .product-modal__nutrition-row {
    padding: 0.35rem 0;
  }

  .product-modal__nutrition dt,
  .product-modal__nutrition dd {
    font-size: clamp(0.8rem, 1.1vw, 0.98rem);
  }

  .product-modal__buy {
    min-height: 2.8rem;
    margin-top: 0;
    font-size: clamp(1rem, 1.45vw, 1.25rem);
  }

  .product-modal__details {
    gap: 0.9rem;
    padding: 1.25rem 0.4rem;
  }

  .product-modal__description {
    font-size: clamp(0.9rem, 1.25vw, 1.1rem);
  }

  .product-modal__claims img,
  .product-modal__size-list img {
    width: clamp(4rem, 5.4vw, 4.8rem);
    height: clamp(4rem, 5.4vw, 4.8rem);
  }

  .product-modal__sizes {
    gap: 0.55rem;
  }

  .product-modal__sizes h3 {
    font-size: 1rem;
  }

  .product-modal__visual {
    padding: 1.25rem 0.65rem 1rem 0.4rem;
  }
}

.guide-card {
  width: min(16rem, 100%);
  transform: rotate(-4deg);
}

.guide-card:nth-child(even) {
  transform: rotate(4deg);
}

.guide-card__image {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 26px rgba(194, 84, 11, 0.16));
}

.footer {
  background: #f6f4f2;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding-block: var(--section-space-y-compact);
}

.footer__socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  color: #2f2a45;
  font-size: 0.9rem;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
}

.footer__social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
}

.footer__social-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer__socials--right {
  justify-content: flex-end;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (min-width: 1600px) and (min-height: 900px) {
  .hero-card {
    width: min(62rem, calc(100vw - 8rem));
    height: min(35.6rem, calc(100svh - 14rem));
  }

  .hero-card__right {
    padding: clamp(1.6rem, 2vw, 2.4rem);
  }
}

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: auto minmax(0, 1fr) 2.55rem auto;
    gap: 0.5rem;
    width: calc(100vw - 1.5rem);
  }

  .topbar__title {
    font-size: 1rem;
  }

  .button--header {
    min-height: 2.55rem;
    padding-inline: 1rem;
    font-size: 0.75rem;
  }

  .hero-card {
    width: min(41rem, calc(100vw - 1.5rem));
    height: auto;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-card__right {
    padding-top: 2rem;
  }

  .product-modal {
    align-items: start;
    overflow-y: auto;
    padding: 0.75rem;
  }

  .product-modal__dialog {
    --product-modal-mobile-inset: clamp(1.45rem, 5vw, 2.4rem);
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    width: min(44rem, calc(100vw - 1.5rem));
    max-width: calc(100vw - 1.5rem);
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: hidden;
    background:
      radial-gradient(circle at 74% 12%, rgba(255, 78, 92, 0.42), transparent 18rem),
      linear-gradient(180deg, #ff5a60 0%, #ff7663 46%, #ffbd68 100%);
  }

  .product-modal__details {
    padding: var(--product-modal-mobile-inset);
  }

  .product-modal__info {
    display: contents;
  }

  .product-modal__info h2 {
    order: 1;
    padding: var(--product-modal-mobile-inset) 5rem 0 var(--product-modal-mobile-inset);
  }

  .product-modal__nutrition-summary {
    order: 2;
    padding: 1rem var(--product-modal-mobile-inset) 0;
  }

  .product-modal__nutrition-summary {
    gap: 0.65rem;
  }

  .product-modal__details {
    order: 4;
    gap: 1.35rem;
  }

  .product-modal__description {
    max-width: none;
  }

  .product-modal__claims,
  .product-modal__size-list {
    flex-wrap: wrap;
  }

  .product-modal__visual {
    order: 3;
    height: auto;
    padding: 1.2rem var(--product-modal-mobile-inset) var(--product-modal-mobile-inset);
  }

  .product-modal__visual img {
    width: min(72%, 20rem);
    height: auto;
    max-height: 24rem;
  }

  .product-modal__buy {
    order: 5;
    justify-self: start;
    width: calc(100% - (var(--product-modal-mobile-inset) * 2));
    margin: 1rem var(--product-modal-mobile-inset) var(--product-modal-mobile-inset);
  }

  .upload-card {
    grid-template-columns: 1fr;
  }

  .selfie-test__panel--upload,
  .selfie-test__panel--result {
    grid-template-columns: 1fr;
  }

  .selfie-test__panel--result {
    gap: 0.5rem;
  }

  .selfie-test__result-copy {
    order: 2;
    min-height: auto;
  }

  .selfie-test__result-card {
    order: 1;
  }

  .footer {
    text-align: center;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .footer__socials,
  .footer__socials--right {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  :root {
    --container: calc(100vw - 1.9rem);
    --section-space-y: 2.6rem;
    --section-space-y-compact: 1.9rem;
    --section-heading-gap: 0.35rem;
    --section-heading-margin: 1.5rem;
  }

  .site-shell {
    width: 100%;
  }

  .hero {
    min-height: 100svh;
  }

  .footer__inner {
    gap: 0.9rem;
  }

  .footer__socials {
    gap: 0.8rem 1rem;
    font-size: 0.82rem;
  }

  .topbar {
    top: 0.6rem;
    grid-template-columns: auto 1fr 2.55rem auto;
    gap: 0.55rem;
    width: calc(100vw - 1rem);
    padding: 0.55rem;
  }

  .topbar__logo {
    grid-column: 1;
  }

  .topbar__logo img {
    width: 4rem;
  }

  .topbar__title {
    display: none;
  }

  .topbar__lang {
    grid-column: 3;
    justify-self: end;
    width: 2.55rem;
    min-width: 2.55rem;
    height: 2.55rem;
    min-height: 2.55rem;
    font-size: 0.66rem;
  }

  .button--header {
    grid-column: 4;
    justify-self: end;
    min-width: 0;
    padding-inline: 0.8rem;
    font-size: 0.72rem;
  }

  .hero__content {
    padding: 6.7rem 0.4rem 1rem;
  }

  .hero-audio-toggle {
    right: 0.75rem;
    bottom: 0.75rem;
    width: 2.95rem;
    height: 2.95rem;
  }

  .hero-audio-toggle__icon svg {
    width: 1.3rem;
    height: 1.3rem;
  }

  .hero-card {
    width: min(100%, 22rem);
    max-height: calc(100svh - 7.4rem);
    height: auto;
    border-radius: 1.55rem;
  }

  .hero-card__close {
    top: 0.9rem;
    right: 0.9rem;
    width: 2.45rem;
    height: 2.45rem;
    font-size: 1.6rem;
  }

  .hero-card__left {
    border-radius: 1.35rem 1.35rem 0 0;
  }

  .hero-card__visual {
    max-height: min(17.5rem, 34svh);
    margin-top: 0;
  }

  .hero-card h1 {
    font-size: 1.5rem;
    max-width: none;
    margin-inline: auto;
    line-height: 0.95;
  }

  .hero-card__eyebrow {
    font-size: 1.1rem;
    line-height: 0.98;
  }

  .hero-card__right {
    gap: 0.8rem;
    padding: 1rem 0.9rem 1.05rem;
  }

  .hero-card__copy {
    max-width: none;
    font-size: 0.78rem;
  }

  .hero-card__cta {
    width: 100%;
    min-height: 2.7rem;
    font-size: 0.92rem;
  }

  .product-modal {
    padding: 0.55rem;
    justify-items: start;
  }

  .product-modal__dialog {
    --product-modal-mobile-inset: 1.15rem;
    width: min(23.5rem, calc(100vw - 1.1rem));
    border-radius: 1.5rem;
  }

  .product-modal__close {
    top: 0.9rem;
    right: 0.9rem;
    width: 2.45rem;
    height: 2.45rem;
    font-size: 1.6rem;
  }

  .product-modal__info h2 {
    font-size: clamp(2.1rem, 12vw, 3rem);
    line-height: 0.86;
    white-space: normal;
    padding: 1.35rem 4.3rem 0 var(--product-modal-mobile-inset);
  }

  .product-modal__nutrition-summary {
    padding: 0.8rem var(--product-modal-mobile-inset) 0;
  }

  .product-modal__serving {
    font-size: 1rem;
  }

  .product-modal__calories {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 1.1rem;
  }

  .product-modal__calories span,
  .product-modal__calories strong {
    font-size: clamp(1.35rem, 7vw, 1.75rem);
  }

  .product-modal__nutrition-row {
    padding: 0.55rem 0;
  }

  .product-modal__nutrition dt,
  .product-modal__nutrition dd {
    font-size: 1rem;
  }

  .product-modal__buy {
    width: calc(100% - (var(--product-modal-mobile-inset) * 2));
    min-height: 3rem;
    margin: 1rem var(--product-modal-mobile-inset) var(--product-modal-mobile-inset);
    font-size: 1.05rem;
  }

  .product-modal__details {
    gap: 1rem;
    padding: 1rem var(--product-modal-mobile-inset) 0.65rem;
  }

  .product-modal__description {
    font-size: 1.08rem;
  }

  .product-modal__claims,
  .product-modal__size-list {
    gap: 0.65rem;
  }

  .product-modal__claims img,
  .product-modal__size-list img {
    width: 5.15rem;
    height: 5.15rem;
  }

  .product-modal__sizes h3 {
    font-size: 1.08rem;
  }

  .product-modal__visual {
    padding: 0.35rem 1rem 1rem;
  }

  .product-modal__visual img {
    width: min(78%, 15rem);
    max-height: 18.5rem;
  }

  .upload-card__info ol {
    font-size: 0.88rem;
  }

  .selfie-test__panel {
    min-height: auto;
  }

  .selfie-test__panel--upload {
    gap: 0.9rem;
    padding: 0.9rem;
  }

  .selfie-test__copy,
  .selfie-test__upload {
    border-radius: 1.15rem;
  }

  .selfie-test__copy ol {
    font-size: 0.88rem;
  }

  .selfie-test__panel--quiz {
    padding: 0.9rem;
  }

  .selfie-test__quiz-card {
    min-height: 25rem;
    gap: 1.15rem;
    padding: 1.45rem 1rem;
    border-radius: 1.15rem;
  }

  .selfie-test__quiz-card h2 {
    font-size: 1.55rem;
  }

  .selfie-test__quiz-card h3 {
    font-size: 0.88rem;
    line-height: 1.12;
  }

  .selfie-test__answers {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .selfie-test__answer {
    min-height: 48px;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 13px;
  }

  .selfie-test__panel--result {
    padding: 0.9rem;
  }

  .selfie-test__result-copy {
    padding: 1rem 0.2rem 0.1rem;
  }

  .selfie-test__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ticker {
    font-size: 0.82rem;
  }

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

  .partners {
    --partners-wave-height: clamp(2.9rem, 13vw, 4.8rem);
  }

  .upload-card {
    min-height: auto;
    padding: 0.9rem;
  }

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

  .product-card__visual {
    width: 13.4rem;
  }

  .guide-card {
    width: min(14rem, 100%);
    min-height: 19rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@keyframes partners-wave-sway {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(-6%, 0, 0);
  }
}

.hero-video-missing .hero__video {
  display: none;
}
