:root {
  --deep-plum: #2f183b;
  --violet-bg: #d9c3e8;
  --violet-mid: #c9addd;
  --burgundy: #841946;
  --burgundy-dark: #681236;
  --text: #33243d;
  --muted: #6c5874;
  --card-bg: rgba(255, 255, 255, .55);
  --soft-border: rgba(132, 25, 70, .24);
  --strong-border: rgba(132, 25, 70, .60);
  --shadow-soft: 0 28px 80px rgba(68, 32, 84, .08);
  --shadow-card: 0 24px 64px rgba(68, 32, 84, .11);
  --header-height: 112px;
  --page-x: 6vw;
  --section-y: 34px;
  --radius-lg: 34px;
  --radius-md: 26px;
  --radius-sm: 20px;
  --font-ui: Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-serif);
  color: var(--text);
  background: linear-gradient(135deg, #e2d2ee 0%, #cdb6e3 48%, #bfa4da 100%);
  -webkit-user-select: none;
  user-select: none;
}

input,
textarea {
  -webkit-user-select: text;
  user-select: text;
}

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

img {
  max-width: 100%;
}

section {
  padding: var(--section-y) var(--page-x);
  scroll-margin-top: calc(var(--header-height) + 14px);
}

#about {
  padding-top: 70px;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 16px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(132, 25, 70, .16);
}

.btn:focus-visible,
.menu-toggle:focus-visible,
.nav a:focus-visible,
#reviews .review-arrow:focus-visible,
#reviews .review-image-button:focus-visible {
  outline: 2px solid rgba(132, 25, 70, .72);
  outline-offset: 4px;
}

.btn:disabled {
  opacity: .58;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-dark));
  color: #fff;
}

.btn-secondary {
  border: 1px solid rgba(132, 25, 70, .48);
  background: rgba(255, 255, 255, .38);
  color: var(--burgundy);
}

.feature-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  border: 1px solid rgba(132, 25, 70, .44);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 56px;
  background: rgba(255, 255, 255, .20);
  color: var(--burgundy);
  font-size: 23px;
}

.content-block {
  max-width: 920px;
  margin: 0 auto;
  padding: 56px;
  border: 1.5px solid var(--strong-border);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  box-shadow: var(--shadow-soft);
}

.content-block h2 {
  margin: 0 0 28px;
  color: var(--deep-plum);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.08;
}

.content-block p {
  margin: 0 0 18px;
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 18px;
  line-height: 1.8;
}

#about .content-block > p,
#format .content-block > p,
#schedule .content-block > p,
#safety .content-block > p,
#specialist .about-text > p,
#price .price-note {
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  overflow-wrap: break-word;
}

.content-actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.placeholder-block {
  min-height: 260px;
}

.header {
  min-height: var(--header-height);
  padding: 14px var(--page-x) 16px;
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-bottom: 1px solid rgba(132, 25, 70, .10);
  background: rgba(255, 255, 255, .38);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 45px rgba(47, 24, 59, .08);
}

.header-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand {
  max-width: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--deep-plum);
  font-family: var(--font-ui);
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: .04em;
  text-align: center;
  text-transform: uppercase;
}

.brand-lockup {
  width: max-content;
  max-width: min(72vw, 760px);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.brand-title {
  max-width: 100%;
  white-space: nowrap;
}

.logo {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border: 1.5px solid var(--burgundy);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  color: var(--burgundy);
  font-size: 24px;
  transform: rotate(270deg);
}

.ornament,
.header-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #9f5178;
}

.ornament {
  margin: 34px 0 26px;
}

.header-ornament {
  width: 100%;
  margin: 8px 0 0;
  gap: 12px;
  line-height: 1;
}

.ornament::before,
.ornament::after {
  content: "";
  width: 130px;
  height: 1px;
  background: rgba(159, 81, 120, .58);
}

.header-ornament::before,
.header-ornament::after {
  width: auto;
  min-width: 28px;
  max-width: 130px;
  flex: 1 1 0;
}

.nav {
  width: 100%;
  margin-top: -4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 15px;
  text-align: center;
}

.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  white-space: nowrap;
}

.nav a:not(.nav-cta):hover,
.nav a:not(.nav-cta):focus-visible,
.nav a:not(.nav-cta):active {
  text-decoration: underline;
  text-decoration-color: var(--burgundy);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
}

.nav-cta {
  min-width: 218px;
  padding-left: 24px;
  padding-right: 24px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(132, 25, 70, .24);
  border-radius: 999px;
  place-items: center;
  background: rgba(255, 255, 255, .48);
  color: var(--burgundy);
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 1px;
  margin: 3px 0;
  display: block;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

.hero {
  min-height: calc(100vh - var(--header-height));
  padding: 0;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 40% 60%;
  background:
    radial-gradient(circle at 13% 48%, rgba(248, 241, 251, .62), transparent 32%),
    linear-gradient(135deg, #dfcdea 0%, #d0b7e2 46%, #c2a3da 100%);
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: -9vw;
  z-index: 0;
  width: 78vw;
  height: 100%;
  background-image: url("../../img/hero_tao_woman_flow.jpg");
  background-image: image-set(
    url("../../img/hero_tao_woman_flow.webp") type("image/webp"),
    url("../../img/hero_tao_woman_flow.jpg") type("image/jpeg")
  );
  background-size: cover;
  background-position: 62% center;
  background-repeat: no-repeat;
  opacity: .98;
  filter: contrast(1.05) saturate(1.04);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 10%, rgba(0,0,0,.72) 24%, #000 42%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 10%, rgba(0,0,0,.72) 24%, #000 42%, #000 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(225, 207, 238, .98) 0%,
      rgba(218, 198, 234, .91) 30%,
      rgba(207, 181, 226, .58) 48%,
      rgba(207, 181, 226, .22) 63%,
      rgba(207, 181, 226, .05) 82%
    );
}

.hero-text {
  position: relative;
  z-index: 2;
  grid-column: 1 / 2;
  max-width: 560px;
  margin-left: max(0px, calc((100vw - 1135px) / 2 - var(--page-x)));
  padding: 8.5vh 0 6vh 3.2vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

h1 {
  margin: 0;
  color: var(--burgundy);
  font-size: clamp(46px, 5.1vw, 78px);
  font-style: italic;
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.02em;
}

.lead {
  max-width: 500px;
  margin: 0 0 34px;
  color: #362740;
  font-family: var(--font-ui);
  font-size: 18px;
  line-height: 1.7;
}

.actions {
  margin-bottom: 66px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.features {
  max-width: 720px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 30px;
  color: var(--deep-plum);
  font-family: var(--font-ui);
}

.feature {
  min-width: 165px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 13px;
}

.feature-text {
  font-size: 15px;
  line-height: 1.35;
}

.divider-section {
  margin: 0 auto;
  padding: 0;
}

.divider {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--burgundy);
}

.divider::before,
.divider::after {
  content: "";
  width: 130px;
  height: 1px;
  background: rgba(132, 25, 70, .6);
}

#changes .changes-results {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

#changes .changes-results > div {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: start;
  column-gap: 14px;
}

#changes .changes-results .feature-icon {
  grid-row: 1 / span 2;
}

#changes .changes-results strong {
  color: var(--deep-plum);
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

#changes .changes-results > div > p {
  margin: 8px 0 0;
}

#format .audience-intro {
  margin-bottom: 24px;
}

#format .audience-points {
  margin: 26px 0 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

#format .audience-point {
  padding: 22px;
  border: 1px solid var(--soft-border);
  border-radius: 22px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  column-gap: 14px;
  background: rgba(255, 255, 255, .30);
}

#format .audience-point strong {
  color: var(--deep-plum);
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

#format .audience-note {
  margin-top: 6px;
  margin-bottom: 0;
}

#specialist .about-content {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  align-items: flex-start;
  gap: 42px;
}

#specialist .about-photo {
  width: 100%;
  height: auto;
  display: block;
  border: 1.5px solid rgba(132, 25, 70, .32);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .28);
  box-shadow: 0 22px 58px rgba(68, 32, 84, .14);
}

#specialist .about-text p {
  margin-bottom: 18px;
}

#specialist .about-main-list,
#specialist .about-sub-list,
#price .about-main-list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 18px;
  line-height: 1.7;
}

#specialist .about-sub-list {
  margin-left: 22px;
}

#specialist .about-main-list li,
#specialist .about-sub-list li,
#price .about-main-list li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 26px;
}

#specialist .about-main-list li,
#specialist .about-sub-list li {
  text-align: justify;
  text-align-last: left;
  hyphens: auto;
  overflow-wrap: break-word;
}

#specialist .about-main-list li::before,
#specialist .about-sub-list li::before,
#price .about-main-list li::before {
  content: "\2727";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--burgundy);
}

#price .price-cards {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

#price .price-card {
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--soft-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .34);
  box-shadow: 0 18px 50px rgba(68, 32, 84, .08);
}

#price .price-card h3 {
  margin: 0 0 18px;
  color: var(--deep-plum);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.18;
}

#price .price-value {
  margin: 0 0 6px;
  color: var(--burgundy);
  font-family: var(--font-serif);
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.05;
}

#price .price-caption,
#price .price-text,
#price .price-note {
  color: var(--text);
  font-family: var(--font-ui);
}

#price .price-caption {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.45;
}

#price .price-text {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
}

#price .price-note {
  margin: 22px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(132, 25, 70, .16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .28);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

#price .old-price {
  position: relative;
  display: inline-block;
  color: var(--muted);
  white-space: nowrap;
}

#price .old-price::after {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  top: 52%;
  height: 1.5px;
  background: rgba(132, 25, 70, .78);
  transform: rotate(-4deg);
  transform-origin: center;
}

#signup.form-section {
  position: relative;
  overflow: hidden;
  padding-top: 34px;
  padding-bottom: 52px;
}

#signup.form-section::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 1200px;
  height: 360px;
  background-image: url("../../img/hero_tao_flow_footer.png");
  background-image: image-set(
    url("../../img/hero_tao_flow_footer.webp") type("image/webp"),
    url("../../img/hero_tao_flow_footer.png") type("image/png")
  );
  background-size: cover;
  background-position: right bottom;
  background-repeat: no-repeat;
  opacity: .45;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 12%, rgba(0,0,0,.72) 28%, #000 48%, #000 100%), linear-gradient(0deg, #000 0%, #000 68%, rgba(0,0,0,.72) 82%, rgba(0,0,0,.18) 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.18) 12%, rgba(0,0,0,.72) 28%, #000 48%, #000 100%), linear-gradient(0deg, #000 0%, #000 68%, rgba(0,0,0,.72) 82%, rgba(0,0,0,.18) 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.form-card {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
  padding: 36px;
  border: 1.5px solid var(--strong-border);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: minmax(240px, .78fr) minmax(0, 1.18fr);
  align-items: start;
  gap: 30px;
  background: rgba(255, 255, 255, .58);
  box-shadow: 0 26px 76px rgba(68, 32, 84, .10);
}

.form-card h2 {
  margin: 0 0 14px;
  font-size: 34px;
  font-weight: 400;
}

.form-card p {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 15.5px;
  line-height: 1.58;
}

#signup .form-card > div:first-of-type {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

#signup .signup-yin-yang {
  width: clamp(104px, 10.4vw, 156px);
  aspect-ratio: 1;
  margin: clamp(28px, 4vw, 58px) 0 0;
  display: block;
  align-self: flex-start;
  opacity: .30;
  pointer-events: none;
  user-select: none;
}

#signup .signup-yin-yang img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: saturate(.9) contrast(.98);
}

.fields {
  display: grid;
  gap: 10px;
}

.telegram-cta {
  width: fit-content;
  max-width: 100%;
  margin-top: 14px;
}

.form-divider-text {
  margin: 2px 0 14px;
  color: var(--burgundy);
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  line-height: 1.2;
}

.telegram-intro {
  max-width: 420px;
  margin-top: 24px;
  margin-bottom: 0;
}

.form-field {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 1.35;
}

.required-mark {
  color: var(--burgundy);
}

input,
textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid rgba(132, 25, 70, .18);
  border-radius: 14px;
  background: rgba(255, 255, 255, .56);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 15px;
}

textarea {
  min-height: 86px;
  resize: vertical;
  line-height: 1.5;
}

input.form-website-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  min-width: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--burgundy);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 0 0 3px rgba(132, 25, 70, .14);
}

.note {
  margin-top: 10px;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 12px;
  line-height: 1.45;
}

.form-status {
  color: var(--burgundy);
}

.form-card .btn-primary {
  margin-top: 20px;
  justify-self: start;
}

#reviews .reviews-intro {
  margin-bottom: 28px;
}

#reviews .reviews-slider {
  position: relative;
}

#reviews .reviews-track {
  --review-card-width: calc((100% - 44px) / 3);
  padding: 4px 0 18px;
  display: flex;
  gap: 22px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(132, 25, 70, .45) rgba(255, 255, 255, .28);
}

#reviews .review-card {
  height: 360px;
  padding: 22px;
  border: 1.5px solid rgba(132, 25, 70, .34);
  border-radius: 28px;
  display: flex;
  flex: 0 0 var(--review-card-width);
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  overflow: hidden;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, .44);
  box-shadow: var(--shadow-card);
}

#reviews .review-body {
  min-height: 0;
  padding-right: 8px;
  flex: 1 1 auto;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(132, 25, 70, .24) transparent;
}

#reviews .review-body::-webkit-scrollbar {
  width: 5px;
}

#reviews .review-body::-webkit-scrollbar-track {
  background: transparent;
}

#reviews .review-body::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(132, 25, 70, .22);
}

#reviews .review-image-button {
  position: relative;
  width: 100%;
  padding: 0;
  border: 0;
  display: grid;
  place-items: center;
  flex: 1 1 auto;
  background: transparent;
  cursor: zoom-in;
}

#reviews .review-image-button:active {
  cursor: zoom-in;
}

#reviews .review-image-button.review-body {
  padding-right: 0;
  overflow: hidden;
}

#reviews .review-image-button picture,
#reviewsLightbox picture {
  width: 100%;
  display: grid;
  place-items: center;
}

#reviews .review-image-button::after,
#reviewsLightbox::after {
  position: absolute;
  right: 14px;
  top: 14px;
  padding: 7px 10px;
  border: 1px solid rgba(132, 25, 70, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .76);
  color: var(--burgundy);
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(68, 32, 84, .10);
  pointer-events: none;
}

#reviews .review-image-button::after {
  content: "+";
}

#reviews .review-card p {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.58;
}

#reviews .review-card p:last-child {
  margin-bottom: 0;
}

#reviews .review-image {
  width: 100%;
  max-height: 270px;
  display: block;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

#reviews .review-author {
  margin-top: 16px;
  flex: 0 0 auto;
  color: var(--burgundy);
  font-family: var(--font-ui);
  font-size: 12.5px;
  line-height: 1.3;
}

#reviews .reviews-note {
  margin: 22px 0 0;
  color: var(--burgundy);
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 36px);
  font-style: italic;
  line-height: 1.18;
  text-align: center;
}

#reviews .reviews-controls {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 14px;
}

#reviews .review-arrow {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(132, 25, 70, .42);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .38);
  color: var(--burgundy);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

#reviews .review-arrow:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(132, 25, 70, .14);
}

#reviews .review-arrow:disabled {
  opacity: .45;
  cursor: default;
  transform: none;
  box-shadow: none;
}

#reviewsLightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  padding: 5vh 5vw;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(47, 24, 59, .78);
  cursor: zoom-out;
}

#reviewsLightbox::after {
  content: "+";
  right: 5vw;
  top: 5vh;
}

#reviewsLightbox.is-open {
  display: flex;
}

#reviewsLightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 18px;
  object-fit: contain;
  background: rgba(255, 255, 255, .16);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
  cursor: default;
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero::after {
    right: -30vw;
    width: 120vw;
    opacity: .78;
    background-image: url("../../img/hero_tao_woman_flow.jpg");
    background-image: image-set(
      url("../../img/hero_tao_woman_flow-960.webp") type("image/webp"),
      url("../../img/hero_tao_woman_flow.jpg") type("image/jpeg")
    );
    background-position: 58% center;
  }

  .hero::before {
    background:
      linear-gradient(90deg,
        rgba(225, 207, 238, .98) 0%,
        rgba(218, 198, 234, .86) 48%,
        rgba(207, 181, 226, .26) 78%
      );
  }

  .hero-text {
    max-width: 680px;
    margin-left: 0;
    padding: 56px var(--page-x);
  }

  .features {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-title {
    white-space: normal;
  }

  .form-card,
  #changes .changes-results,
  #format .audience-points,
  #specialist .about-content,
  #price .price-cards {
    grid-template-columns: 1fr;
  }

  #specialist .about-photo {
    max-width: 420px;
    margin: 0 auto;
  }

  #reviews .reviews-track {
    --review-card-width: min(360px, 100%);
    padding: 4px calc((100% - var(--review-card-width)) / 2) 18px;
    scroll-padding-inline: calc((100% - var(--review-card-width)) / 2);
  }

  #reviews .review-card {
    height: 380px;
    scroll-snap-align: center;
  }

  #reviews .review-image {
    max-height: 320px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 60px;
    --page-x: 14px;
  }

  html,
  body {
    overflow-x: hidden;
  }

  body {
    padding-top: var(--header-height);
  }

  section {
    scroll-margin-top: var(--header-height);
  }

  .header {
    min-height: var(--header-height);
    padding: 10px 14px;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 50;
    align-items: stretch;
    gap: 10px;
    border-bottom: 0;
    box-shadow: none;
  }

  .header-top {
    position: relative;
    justify-content: space-between;
    gap: 10px;
  }

  .brand {
    width: 100%;
    min-width: 0;
    padding: 0 58px;
    flex: 1 1 auto;
    gap: 10px;
  }

  .brand-lockup {
    max-width: calc(100vw - 124px);
  }

  .brand-title {
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 11px;
    line-height: 1.22;
  }

  .logo {
    width: 42px;
    height: 42px;
    min-width: 42px;
    flex-basis: 42px;
    position: absolute;
    left: 0;
    top: 50%;
    font-size: 20px;
    transform: translateY(-50%) rotate(270deg);
  }

  .header-ornament {
    margin-top: 5px;
    gap: 8px;
  }

  .header-ornament::before,
  .header-ornament::after {
    min-width: 18px;
    max-width: 64px;
  }

  .menu-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    display: grid;
    flex: 0 0 44px;
    border-color: var(--burgundy);
    transform: translateY(-50%);
  }

  .menu-toggle span {
    height: 1px;
    transform: scaleY(.75);
    transform-origin: center;
  }

  .nav {
    width: 100%;
    max-height: calc(100vh - var(--header-height) - 12px);
    margin-top: 0;
    padding: 12px;
    border: 1.5px solid var(--burgundy);
    border-radius: 22px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    overflow-y: auto;
    background: rgba(255, 255, 255, .48);
    box-shadow: 0 18px 42px rgba(68, 32, 84, .08);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 14px;
    white-space: normal;
  }

  .header #siteNav .nav-cta {
    display: inline-flex;
    margin-top: 6px;
  }

  .hero-text {
    padding-left: 14px;
    padding-right: 14px;
  }

  .content-block {
    padding: 28px 20px;
    border-radius: var(--radius-md);
  }

  .content-block h2 {
    overflow-wrap: anywhere;
  }

  .content-block > p,
  .about-text > p,
  .price-note {
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
    overflow-wrap: anywhere;
  }

  #changes .changes-results {
    margin-top: 0;
    gap: 8px;
  }

  #changes .changes-results > div {
    padding: 6px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
  }

  #changes .changes-results .feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    margin: 0 auto;
    flex-basis: 50px;
  }

  #changes .changes-results strong,
  #changes .changes-results > div > p {
    text-align: center;
  }

  #format .audience-points {
    gap: 14px;
  }

  #format .audience-point {
    padding: 18px;
    grid-template-columns: 50px minmax(0, 1fr);
    column-gap: 12px;
  }

  #format .audience-point .feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    flex-basis: 50px;
  }

  #schedule .content-actions {
    justify-content: flex-start;
  }

  #signup.form-section {
    padding-bottom: 42px;
  }

  #signup .signup-yin-yang {
    display: none;
  }

  .form-card {
    width: 100%;
    max-width: 100%;
    padding: 26px 18px;
    border-radius: var(--radius-md);
    gap: 22px;
  }

  .form-card h2 {
    overflow-wrap: anywhere;
    font-size: 30px;
    line-height: 1.12;
  }

  .form-card p,
  .note,
  .form-status,
  #reviews .reviews-intro,
  #reviews .reviews-note,
  #changes .changes-results > div > p {
    text-align: inherit;
    text-align-last: auto;
    hyphens: manual;
  }

  input,
  textarea {
    min-width: 0;
    padding-left: 16px;
    padding-right: 16px;
  }

  .form-card .btn-primary {
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    justify-self: center;
    white-space: normal;
  }

  #signup .telegram-cta {
    margin-left: 0;
    margin-right: auto;
    align-self: flex-start;
    justify-self: start;
  }
}

@media (max-width: 390px) {
  .content-block {
    padding: 26px 16px;
  }

  .form-card {
    padding: 24px 16px;
  }

  .form-card h2 {
    font-size: 28px;
  }
}
