@font-face {
  font-family: "TikTok Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/tiktok-sans-cyrillic-400.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "TikTok Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/tiktok-sans-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #fffaf8;
  --ink: #2b2426;
  --muted: #5c4a4e;
  --rose: #8c3a52;
  --rose-deep: #6e2e45;
  --peach: #f6d7c8;
  --blush: #f7e4ea;
  --card: #fff;
  --line: #f0d0d4;
  --radius: 18px;
  --header: 96px;
  --display: "TikTok Sans", sans-serif;
  --body: "TikTok Sans", sans-serif;
  --shadow: 0 12px 32px rgba(110, 46, 69, 0.08);
}

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

html { scroll-behavior: auto; }

html.js {
  scrollbar-width: none;
}

html.js::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

html.is-scroll-drag { scroll-behavior: auto; }

.scroll-thumb {
  position: fixed;
  top: 0;
  right: 3px;
  z-index: 30;
  width: 6px;
  border-radius: 999px;
  background: rgba(22, 26, 44, 0.82);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.scroll-thumb.is-on {
  opacity: 1;
  pointer-events: auto;
}

.scroll-thumb:hover,
.scroll-thumb.is-drag { background: rgba(14, 17, 30, 0.94); }

@supports (animation-timeline: scroll()) {
  .scroll-thumb.is-linked {
    animation: thumb-move linear both;
    animation-timeline: scroll(root);
  }
}

@keyframes thumb-move {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, calc(100dvh - 100%), 0); }
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.25rem;
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.6;
  background:
    radial-gradient(circle at 0% 0%, rgba(246, 215, 200, 0.55), transparent 32%),
    radial-gradient(circle at 100% 8%, rgba(247, 228, 234, 0.9), transparent 28%),
    radial-gradient(circle at 90% 90%, rgba(246, 215, 200, 0.4), transparent 26%),
    var(--bg);
}

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

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 { font-size: clamp(2.6rem, 5vw, 4rem); margin-bottom: 0.7rem; }
h2 { font-size: clamp(2.15rem, 3.8vw, 3.15rem); margin-bottom: 0.8rem; }
h3 { font-size: 1.55rem; margin-bottom: 0.45rem; }

p { margin-bottom: 0; }

a { color: var(--rose-deep); }

::selection { background: #f6d7c8; color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
}

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: var(--header);
  display: flex;
  align-items: center;
  padding: 8px 0;
  background: #3a4163;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 0;
  color: #fffdfc;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.35rem;
}

.logo-mark {
  width: auto;
  height: 80px;
  display: block;
  object-fit: contain;
}

.nav-toggle {
  margin-left: auto;
  flex: 0 0 auto;
  min-height: 64px;
  padding: 16px 32px;
  border: 1.5px solid rgba(255, 253, 252, 0.5);
  border-radius: 18px;
  background: transparent;
  color: #fffdfc;
  font: inherit;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.nav-toggle:hover { background: rgba(255, 253, 252, 0.12); }

.site-nav {
  position: absolute;
  top: calc(var(--header) - 6px);
  left: 16px;
  right: 16px;
  display: none;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(255, 253, 252, 0.12);
  border-radius: 16px;
  background: #3a4163;
  box-shadow: var(--shadow);
}

.site-nav.is-open { display: grid; }

.site-nav a {
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 12px;
  color: #fffdfc;
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
}

.site-nav a:hover { background: rgba(255, 253, 252, 0.12); }

a.btn.header-cta,
.hero .btn-warm {
  border-radius: 0;
  transition: transform 220ms ease, background 180ms ease;
}

a.btn.header-cta:hover,
.hero .btn-warm:hover {
  transform: scale(1.035);
}

a.btn.header-cta { display: none; }

.hero, .section { padding: 56px 0; }

.hero {
  --garland-h: clamp(128px, 12vw, 172px);
  position: relative;
  z-index: 1;
  overflow: visible;
  padding-top: 0;
  padding-bottom: 12px;
  background: #fffdfc;
}

.hero-garland {
  position: absolute;
  top: calc(var(--garland-h) * -0.12);
  left: 0;
  z-index: 2;
  width: 100%;
  height: var(--garland-h);
  background: url("/garland.webp") left top / auto 100% repeat-x;
  pointer-events: none;
  user-select: none;
}

.hero-formulas {
  position: absolute;
  inset: 0;
  z-index: 0;
  height: 100%;
  pointer-events: none;
  background-image: url("/formulas-bg.webp");
  background-repeat: repeat;
  contain: paint;
  background-position: left top;
  background-size: clamp(420px, 70vw, 640px) auto;
  opacity: 0.72;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: clamp(14px, 2cqw, 28px) clamp(16px, 2.3cqw, 32px) clamp(16px, 2.3cqw, 32px);
  background: rgba(255, 255, 255, 0.93);
}

.hero-cat {
  position: absolute;
  z-index: 4;
  left: -12%;
  bottom: -19%;
  width: 57.5%;
  height: auto;
  pointer-events: none;
  user-select: none;
  backface-visibility: hidden;
}

.hero .wrap {
  position: relative;
  width: min(1400px, calc(100% - 28px));
}

.section { scroll-margin-top: calc(var(--header) + 12px); }

.hero-grid, .lesson-grid, .enroll-grid {
  display: grid;
  gap: 24px;
}

.hero-grid {
  container-type: inline-size;
  align-items: center;
  gap: clamp(16px, 2.4vw, 36px);
}

.lede {
  max-width: 40rem;
  color: var(--ink);
  font-size: 1.4rem;
}

.hero .lede {
  max-width: none;
  font-size: clamp(0.98rem, 2.11cqw, 1.85rem);
  line-height: 1.6;
}

.hero-kicker {
  margin: 0 0 clamp(8px, 1.3cqw, 18px);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.55rem, 5.26cqw, 4.6rem);
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: none;
}

.hero-hello {
  margin-bottom: 0;
  font-size: clamp(0.98rem, 2.11cqw, 1.85rem);
  font-weight: 400;
  line-height: 1.6;
}

.hero .actions { display: block; }

.hero .btn {
  width: 100%;
  min-height: clamp(46px, 5.57cqw, 78px);
  border-radius: 0;
  padding: clamp(12px, 1.3cqw, 18px) clamp(16px, 2cqw, 28px);
  font-size: clamp(0.98rem, 1.77cqw, 1.55rem);
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--rose);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.section-intro {
  max-width: 40rem;
  margin-bottom: 28px;
}

.section-intro p { color: var(--muted); }

#reviews .section-intro {
  margin-inline: auto;
  text-align: center;
}

.chips, .actions, .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips { margin: 18px 0; }

.chip, .meta span, .badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  font-size: 1.05rem;
}

.actions { margin-top: 22px; }

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-weight: 600;
  font-size: 1.12rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover { background: var(--rose-deep); }
.btn:active { transform: none; }

.btn-warm,
.btn-accent {
  border-color: var(--rose-deep);
  background: var(--rose);
  color: #fff;
  box-shadow: none;
}

.btn-warm:hover,
.btn-accent:hover { background: var(--rose-deep); }

.btn-small {
  min-height: 44px;
  margin-top: 14px;
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.clay {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.portrait {
  position: relative;
  z-index: 1;
  width: min(100%, 440px);
  margin: 0 auto;
  overflow: visible;
}

.portrait-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}

.portrait-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: var(--peach);
  box-shadow: none;
  object-fit: cover;
  object-position: center 64%;
  transform: scale(1.22);
  transform-origin: center 64%;
}

.portrait figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-weight: 600;
  font-size: 1.05rem;
}

.page-wash {
  background: linear-gradient(180deg, var(--peach) 0%, #fffdfc 100%);
}

#lessons {
  position: relative;
  z-index: 2;
  background: #3a4163;
  color: #fffdfc;
  padding-bottom: 248px;
}

.lessons-cats {
  position: absolute;
  z-index: 3;
  right: 12px;
  bottom: -108px;
  width: min(640px, 58vw);
  height: auto;
  pointer-events: none;
  user-select: none;
}

#lessons h2,
#lessons .lesson-copy p {
  color: #fffdfc;
}

.perks, .courses, .offer-grid {
  display: grid;
  gap: 16px;
}

.offer {
  display: flex;
  align-items: center;
  min-height: 132px;
  padding: 24px 22px;
}

.offer h3 { margin-bottom: 0; }

#help .offer-grid { gap: 28px; }

#help,
#reviews,
#faq {
  position: relative;
  z-index: 0;
}

#help::after,
#reviews::after,
#faq::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(110, 46, 69, 0.28) 18%, rgba(110, 46, 69, 0.28) 82%, transparent);
  box-shadow: 0 0 16px rgba(255, 253, 252, 0.9);
}

#help .offer {
  position: relative;
  z-index: 0;
  isolation: isolate;
  justify-content: center;
  text-align: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: transform 220ms ease;
}

#help .offer::before,
#help .offer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(255, 253, 252, 0.46);
  pointer-events: none;
  transition: opacity 220ms ease;
}

#help .offer::before {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55);
}

#help .offer::after {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.75),
    0 0 28px rgba(255, 253, 252, 1),
    0 0 58px rgba(255, 228, 216, 0.95);
  opacity: 0;
  transition: opacity 280ms ease;
}

#help .offer:hover {
  z-index: 1;
  transform: scale(1.035);
}

#help .offer:hover::after { opacity: 1; }

.approach-title {
  margin: 0 0 40px;
  text-align: center;
}

.approach-layout {
  display: grid;
  gap: 28px;
  align-items: stretch;
}

.approach-side {
  display: grid;
  gap: 14px;
  align-content: space-between;
}

.approach-cat {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 560px);
  min-width: 0;
  height: auto;
  margin: 0 auto;
}

.perk, .course {
  padding: 18px;
}

#approach .wrap { width: min(1480px, calc(100% - 40px)); }

#approach .perk {
  position: relative;
  z-index: 1;
  border: 0;
  border-radius: 0;
  background: transparent;
  border-top: 1px solid rgba(110, 46, 69, 0.32);
  border-bottom: 1px solid rgba(110, 46, 69, 0.32);
  box-shadow:
    0 0 16px rgba(255, 253, 252, 0.9),
    0 0 34px rgba(255, 232, 216, 0.75);
}

#approach .perk h3 {
  color: #4a2433;
  font-weight: 600;
  font-synthesis: weight;
  text-shadow: none;
}

.perk p, .course p { color: var(--muted); }

.perk-icon, .course-art {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border: 3px solid #fff;
  border-radius: 20px;
  box-shadow: inset 0 -6px 0 rgba(15, 23, 42, 0.06);
}

.perk-icon svg, .course-art svg { width: 34px; height: 34px; }

.tone-peach { background: #f6d7c8; color: #6e2e45; }
.tone-sky { background: #f7e4ea; color: #6e2e45; }
.tone-mint { background: #f8ebe4; color: #6e2e45; }
.tone-lilac { background: #f3d5dc; color: #6e2e45; }
.tone-lemon { background: #fbe8df; color: #6e2e45; }

.course {
  color: inherit;
  text-decoration: none;
  min-height: 100%;
}

.course:hover { box-shadow: 0 16px 36px rgba(110, 46, 69, 0.12); }
.course h3 { color: var(--ink); }
.meta { margin-top: 14px; }

.screen {
  overflow: hidden;
  padding: 0;
  border-radius: 0;
  background: #f4f1ef;
}

#lessons .screen {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}

.board-video {
  display: block;
  width: 100%;
  height: auto;
  min-height: 280px;
  aspect-ratio: 1920 / 830;
  background: #f4f1ef;
  object-fit: cover;
  object-position: center;
}

.lesson-copy p + p { margin-top: 12px; }
#lessons .lesson-copy .badge {
  margin-top: 20px;
  margin-bottom: 0;
  background: var(--blush);
  border-color: var(--line);
  color: var(--rose);
}

.review-gallery {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 12px 8px;
  max-width: 920px;
  margin-inline: auto;
}

.review-viewport { min-width: 0; }

.review-slide + .review-slide { margin-top: 16px; }

.review-nav {
  width: 64px;
  height: 64px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--rose-deep);
  box-shadow: none;
  cursor: pointer;
}

.review-nav:hover { background: transparent; color: var(--rose); }

.review-nav svg { width: 48px; height: 48px; }

.review-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: 32px 40px;
  background: rgba(255, 252, 250, 0.55);
  border: 0;
  box-shadow: none;
  text-align: center;
}

.review-card p {
  margin: 0;
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1.5;
}

.review-dots {
  display: none;
  grid-column: 1 / -1;
  justify-content: center;
  gap: 2px;
}

.review-dot {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.review-dot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #e4c4cb;
  transform: translate(-50%, -50%);
}

.review-dot.is-on::before {
  background: var(--rose-deep);
}

.review-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.faq-layout {
  display: grid;
  gap: 8px;
  align-items: center;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-cat {
  width: min(100%, 420px);
  height: auto;
  margin: 8px auto 0;
  justify-self: center;
}

.faq-item {
  background: rgba(255, 252, 250, 0.72);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 18px 20px 18px 24px;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::marker { content: ""; }

.faq-q {
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--ink);
}

.faq-item summary:hover .faq-q { color: var(--rose-deep); }

.faq-chevron {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--rose);
  transition: transform 200ms ease, background 180ms ease, color 180ms ease;
}

.faq-item summary:hover .faq-chevron {
  background: var(--blush);
  color: var(--rose-deep);
}

.faq-item[open] .faq-chevron { transform: rotate(180deg); }

.faq-a {
  padding: 0 24px 22px;
}

.faq-a p {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.55;
}

.js .review-gallery { position: relative; }

.js .review-nav,
.js .review-dots { display: flex; }

.js .review-viewport { overflow: hidden; }

.review-clone { display: none; }

.js .review-track {
  display: flex;
  align-items: stretch;
  width: 100%;
  transform: translate3d(-100%, 0, 0);
  transition: transform 460ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .review-clone { display: flex; }

.js .review-slide {
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
}

.js .review-slide + .review-slide { margin-top: 0; }

.js .review-card { width: 100%; }

.enroll-band {
  background-color: #fff6f1;
  background-image: url("/zapis-bg.webp");
  background-repeat: repeat;
  background-position: center top;
  background-size: 560px auto;
}

.enroll {
  position: relative;
  z-index: 1;
  padding-bottom: 28px;
  background: transparent;
}

.enroll-fit {
  --enroll-design: 1360px;
  container-type: inline-size;
  width: min(100%, var(--enroll-design));
  margin-inline: auto;
}

.enroll-stage {
  position: relative;
  box-sizing: border-box;
  width: var(--enroll-design);
  padding-inline: 20px;
  zoom: min(1, calc(100cqi / var(--enroll-design)));
}

.enroll-stage .enroll-grid {
  width: 100%;
  max-width: none;
  grid-template-columns: 320px minmax(0, 1.25fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 12px 20px;
}

.enroll-cat {
  position: relative;
  z-index: 2;
  width: 350px;
  max-width: none;
  height: auto;
  margin-right: -50px;
  justify-self: start;
  align-self: center;
  pointer-events: none;
  user-select: none;
}

.price-card, .limit-card { padding: 28px 22px; text-align: center; }

#write-btn {
  width: 100%;
  min-height: 88px;
  margin-top: 10px;
  border-radius: 0;
  padding: 20px 28px;
  font-size: clamp(1.5rem, 3vw, 1.95rem);
}

#write-btn:hover {
  transform: scale(1.04);
}

.channels {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.channel {
  display: block;
  width: 44px;
  height: 44px;
}

.channel svg { display: block; width: 100%; height: 100%; }

a.channel {
  color: inherit;
  text-decoration: none;
  border-radius: 12px;
  transition: transform 180ms ease;
}

a.channel:hover { transform: scale(1.08); }

a.channel:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 4px;
}

.limit-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  justify-self: center;
  width: 92%;
  height: 86%;
  padding: 20px 16px;
  border: 0;
  border-radius: 0;
  background: rgba(255, 253, 252, 0.66);
  border-top: 1px solid rgba(110, 46, 69, 0.32);
  border-bottom: 1px solid rgba(110, 46, 69, 0.32);
  box-shadow: 0 0 12px rgba(140, 58, 82, 0.45);
}

.limit-card h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
}

.price {
  margin: 8px 0;
  color: var(--rose);
  font-family: var(--display);
  font-size: clamp(3.4rem, 10vw, 5.5rem);
  line-height: 0.95;
}

.price small {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.4rem;
  font-weight: 600;
}

.byn {
  display: inline-block;
  height: 0.72em;
  width: calc(0.72em * 121 / 150);
  margin-left: 0.08em;
  vertical-align: -0.04em;
  background-color: currentColor;
  -webkit-mask: url("/byn.webp") center / contain no-repeat;
  mask: url("/byn.webp") center / contain no-repeat;
}


.site-footer {
  position: relative;
  z-index: 2;
  padding: 26px 0 22px;
  background: rgba(58, 65, 99, 0.82);
  color: #fffdfc;
}

.footer-inner {
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
}

.footer-name {
  margin: 0;
  color: #fffdfc;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  line-height: 1.15;
}

.footer-tag {
  margin: 4px 0 0;
  color: rgba(255, 253, 252, 0.82);
  font-size: 1.12rem;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-social li {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 253, 252, 0.12);
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  transition: background 180ms ease, transform 180ms ease;
}

.footer-social a:hover {
  background: rgba(255, 253, 252, 0.16);
  transform: scale(1.06);
}

.footer-social a:focus-visible {
  outline: 2px solid #fffdfc;
  outline-offset: 3px;
}

.footer-social img {
  width: 26px;
  height: 26px;
}

.footer-legal,
.footer-year {
  margin: 0;
  color: rgba(255, 253, 252, 0.78);
  font-size: 1.05rem;
}

.footer-year { margin-top: 4px; }

.missing {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.missing-card {
  width: min(520px, 100%);
  padding: 28px;
  text-align: center;
}

.missing-card p { margin: 10px 0 18px; color: var(--muted); }

.logo { white-space: nowrap; }

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }

  .js .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: opacity 560ms ease, transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }

  .js #help .offer.reveal,
  .js .hero-garland.scroll-io,
  .js .approach-side .scroll-io {
    opacity: 1;
  }

  .js .scroll-io {
    opacity: 0;
    transition: opacity 640ms ease, transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .js .approach-side .scroll-io { transform: translate3d(56px, 18px, 0); }
  .js .approach-side .scroll-io:nth-child(2) { transition-delay: 70ms; }
  .js .approach-side .scroll-io:nth-child(3) { transition-delay: 140ms; }
  .js .approach-side .scroll-io:nth-child(4) { transition-delay: 210ms; }
  .js .approach-side .scroll-io:nth-child(5) { transition-delay: 280ms; }
  .js .approach-cat.scroll-io,
  .js .enroll-cat.scroll-io { transform: translate3d(-28px, 28px, 0) scale(0.94); }
  .js .hero-garland.scroll-io { transform: translate3d(0, -46px, 0); }
  .js .lessons-cats.scroll-io { transform: translate3d(36px, 28px, 0) scale(0.94); }

  .js .scroll-io.is-in,
  .js .approach-cat.scroll-io.is-in,
  .js .enroll-cat.scroll-io.is-in,
  .js .lessons-cats.scroll-io.is-in {
    opacity: 1;
    transform: none;
  }

  .js .portrait.reveal.is-in,
  .js .hero-garland.scroll-io.is-in,
  .js .approach-side .scroll-io.is-in,
  .js .approach-cat.scroll-io.is-in,
  .js .enroll-cat.scroll-io.is-in,
  .js .lessons-cats.scroll-io.is-in {
    transform: translate3d(0, 0, 0);
  }
}

@media (min-width: 720px) {
  .courses, .offer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 760px) {
  .hero-grid {
    grid-template-columns: 1.15fr 1fr;
    align-items: stretch;
  }

  .hero-grid .portrait {
    width: 100%;
    align-self: center;
  }

  .hero-copy { padding-bottom: 0; }
  .hero .actions { margin-top: auto; }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .wrap { width: min(1120px, calc(100% - 96px)); }
  a.btn.header-cta { display: inline-flex; margin-left: 28px; }
  .site-nav,
  .site-nav.is-open {
    position: static;
    display: flex;
    gap: 8px;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .site-nav a { padding: 10px 16px; }
  .faq-layout {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.95fr);
    gap: 20px 40px;
    align-items: center;
  }
  .faq-cat {
    width: 100%;
    max-width: 560px;
    margin: 0;
    justify-self: center;
  }
  .lesson-grid { grid-template-columns: 1.05fr 0.95fr; align-items: start; gap: 48px; }
  .hero .wrap { width: min(1400px, calc(100% - 28px)); }
  .hero-copy { padding-bottom: 0; }
  .hero .actions { margin-top: auto; }

  #lessons .screen {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: calc((100% - min(1120px, 100% - 96px)) / 2 + (min(1120px, 100% - 96px) - 48px) * 1.05 / 2);
    margin: 0;
    display: flex;
    border-radius: 0;
  }

  #lessons .board-video {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    flex: 1;
  }

  #lessons .lesson-copy { grid-column: 2; }
  .approach-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.85fr);
    gap: 12px 36px;
    align-items: stretch;
  }
  .approach-cat {
    width: auto;
    height: 92%;
    min-height: 0;
    max-width: 100%;
    max-height: 92%;
    justify-self: start;
    align-self: center;
    object-fit: contain;
    object-position: left center;
    z-index: 2;
  }
  .perks { grid-template-columns: 1.3fr 1fr 1fr; }
  .offer-grid { grid-template-columns: repeat(3, 1fr); }
  .perk-lead { grid-row: span 2; display: flex; flex-direction: column; justify-content: center; }
  .footer-inner {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    text-align: left;
    justify-items: stretch;
  }
  .footer-brand { justify-self: start; }
  .footer-social { justify-self: center; }
  .footer-meta { justify-self: end; text-align: right; }
  .footer-year { margin-top: 2px; }
}

@media (min-width: 900px) and (max-width: 1180px) {
  .header-inner { gap: 10px; }
  .site-nav { gap: 0; }
  .site-nav a { padding: 8px 8px; font-size: 1.02rem; }
  a.btn.header-cta { margin-left: 6px; padding-inline: 14px; }

  .lessons-cats {
    width: min(400px, 38vw);
    right: 8px;
    bottom: -28px;
  }

  #lessons { padding-bottom: 210px; }

  #lessons .lesson-copy {
    position: relative;
    z-index: 4;
    padding-bottom: 12px;
  }
}

@media (min-width: 1100px) {
  .courses { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 640px) {
  .review-gallery { display: block; }

  .js .review-nav {
    position: absolute;
    top: 46%;
    z-index: 2;
    width: 56px;
    height: 56px;
  }

  .review-nav svg { width: 44px; height: 44px; }

  .review-prev { left: -10px; }
  .review-next { right: -10px; }

  .review-card { padding: 22px 54px 18px; }

  .review-card p { font-size: 1.35rem; }

  .review-dots { margin-top: 4px; }
}

@media (max-width: 899px) {
  .site-header .header-inner {
    padding-left: 36px;
    padding-right: 40px;
  }
  .logo-mark { height: 80px; }
  #lessons { padding-bottom: 132px; }
  .lessons-cats {
    right: 0;
    bottom: -40px;
    width: min(340px, 78vw);
  }

  #help.section { padding: 36px 0 32px; }
  #approach.section,
  #faq.section { padding: 32px 0; }

  #help .offer-grid {
    gap: 10px;
    align-items: stretch;
  }

  #help .offer {
    min-height: 96px;
    height: 100%;
    padding: 14px 12px;
  }

  #help .offer h3 {
    font-size: 1.08rem;
    line-height: 1.25;
  }

  #approach .wrap { width: min(1120px, calc(100% - 32px)); }

  .approach-title {
    margin: 0 0 16px;
    text-align: center;
  }

  .approach-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(112px, 28vw, 200px);
    gap: 8px 12px;
    align-items: center;
  }

  .approach-cat {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    margin: 0;
    justify-self: center;
    align-self: center;
  }

  .approach-side {
    grid-column: 1;
    grid-row: 1;
    gap: 8px;
  }

  #approach .perk { padding: 11px 12px; }

  #approach .perk h3 {
    font-size: 1.08rem;
    line-height: 1.22;
    margin-bottom: 3px;
  }

  #approach .perk p {
    font-size: 0.98rem;
    line-height: 1.38;
  }

  .faq-cat {
    width: min(148px, 38vw);
    margin: 0 auto;
  }

  .enroll {
    padding-top: 28px;
    padding-bottom: 20px;
  }

  .enroll-fit {
    width: min(520px, calc(100% - 32px));
  }

  .enroll-stage {
    width: 100%;
    padding-inline: 0;
    zoom: 1;
  }

  .enroll-stage .enroll-grid {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "price price"
      "cat limit";
    gap: 12px 10px;
    align-items: end;
  }

  .enroll .price-card {
    grid-area: price;
    padding: 20px 16px 18px;
  }

  .enroll-cat {
    grid-area: cat;
    width: min(156px, 36vw);
    margin: 0;
    justify-self: start;
    align-self: end;
  }

  .enroll .limit-card {
    grid-area: limit;
    width: auto;
    height: auto;
    justify-self: stretch;
    align-self: center;
    padding: 14px 14px;
  }

  .limit-card .eyebrow {
    margin-bottom: 2px;
    font-size: 0.78rem;
  }

  .limit-card h2 {
    font-size: clamp(1.12rem, 4vw, 1.45rem);
    line-height: 1.18;
  }

  #write-btn {
    min-height: 54px;
    margin-top: 4px;
    padding: 12px 16px;
    font-size: 1.2rem;
  }

  .price { font-size: clamp(2.7rem, 11vw, 3.5rem); }

  .price small {
    margin-top: 4px;
    font-size: 1.08rem;
  }

  .channels {
    gap: 14px;
    margin-top: 12px;
  }

  .channel { width: 36px; height: 36px; }
}

@media (min-width: 720px) and (max-width: 899px) {
  #help.section { padding-top: 88px; }
}

@media (prefers-reduced-motion: no-preference) {
  .js .hero-cat:not(.is-ready) {
    opacity: 0;
    transform: translate3d(var(--cat-from, -130%), 36px, 0);
  }

  .js .hero-cat.is-ready {
    animation: cat-in 0.85s cubic-bezier(0, 0, 0.2, 1) both;
    will-change: transform;
  }
}

@keyframes cat-in {
  0% {
    opacity: 0;
    transform: translate3d(var(--cat-from, -130%), 36px, 0);
  }
  42% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal,
  .js .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .fall-symbol { display: none; }
  .js .hero-cat,
  .hero-cat { opacity: 1; transform: none; animation: none; will-change: auto; }
  .js .hero-garland.scroll-io,
  .js .enroll-cat.scroll-io,
  .js .lessons-cats.scroll-io { opacity: 1; transform: none; transition: none; }
  .btn, .course, .bar span, #help .offer, #help .offer::before, #help .offer::after, .review-track, .faq-chevron, a.channel, .footer-social a { transition: none; }
  .btn:hover, .btn:active, .course:hover, #help .offer:hover, a.channel:hover, .footer-social a:hover { transform: none; }
}

.fall-symbol {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  margin: 0;
  pointer-events: none;
  color: var(--rose-deep);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.45rem;
  text-shadow: 0 1px 0 rgba(255, 250, 248, 0.9);
  line-height: 1;
  white-space: nowrap;
  animation: fall-away 1.25s cubic-bezier(0.15, 0.6, 0.3, 1) forwards;
}

@keyframes fall-away {
  0% {
    opacity: 0.95;
    transform: translate3d(calc(var(--x) - 50%), calc(var(--y) - 40%), 0) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate3d(calc(var(--x) - 50% + var(--dx)), calc(var(--y) - 40% + 150px), 0) rotate(var(--rot));
  }
}

