/* SerenesBloom: everything on top of the Serene Bloom Webflow template stylesheet (serenebloom.css).
   The template's interactions ran on the Webflow runtime, which this site does not load; what they did
   (navigation, reveal, FAQ, marquee, parallax, hover lines) is rebuilt here and in site.js. New components
   (course pages, pricing, library, lessons, legal pages, forms, footer, cookie banner) follow the template
   tokens: near-black #222, white, blush pink, muted beige, Marcellus for headings and Plus Jakarta Sans for
   text. Fonts are self-hosted, so no third party sees a visitor before consent. */

@font-face { font-family: "Marcellus"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/marcellus-latin.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; }
@font-face { font-family: "Marcellus"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/marcellus-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.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; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --s-black: #222;
  --s-ink: #1c1c1c;
  --s-text: #4a4a4a;
  --s-muted: #6e6e6e;
  --s-line: #e5e5e5;
  --s-line-2: #d9d9d9;
  --s-soft: #f5f5f5;
  --s-cream: #f6f1ec;
  --s-beige: #d8cec4;
  --s-blush: #f0ccce;
  --s-rose: #8d5157;
  --s-white: #fff;
  --s-radius: 8px;
  --s-serif: "Marcellus", Georgia, serif;
  --s-sans: "Plus Jakarta Sans", Arial, sans-serif;
}

/* The template sizes its text in vw on desktop (1vw body). Between 992px and 1400px that made body text
   10 to 14px; clamped here so it never drops below a comfortable reading size. */
@media screen and (min-width: 992px) {
  body {
    --_typography---body--size-body: clamp(15px, 1vw, 18px);
    --_typography---text-classes--text-size-regular: clamp(15px, 1vw, 18px);
    --_typography---text-classes--text-size-small: clamp(13px, .85vw, 15px);
    --_typography---text-classes--text-size-medium: clamp(16px, 1.25vw, 21px);
    --_typography---text-classes--text-size-large: clamp(18px, 1.5vw, 25px);
    --_typography---h4--size-h4: clamp(19px, 1.5vw, 25px);
    --_typography---h5--size-h5: clamp(17px, 1.25vw, 21px);
    --_typography---h6--size-h6: clamp(15px, 1vw, 18px);
  }
  .icon-1x1-small { width: clamp(14px, 1.1vw, 18px); height: clamp(14px, 1.1vw, 18px); }
  .icon-1x1-large { width: clamp(36px, 3vw, 48px); height: clamp(36px, 3vw, 48px); }
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { overflow-x: hidden; color: var(--s-black); }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--s-rose); outline-offset: 3px; }
[hidden] { display: none !important; }
.main-wrapper { position: relative; overflow-x: clip; }
#top { position: absolute; top: 0; }

.af-skip { position: absolute; left: 1rem; top: -4rem; z-index: 2000; padding: .75rem 1.1rem; border-radius: 999px;
  background: var(--s-black); color: #fff; text-decoration: none; font: 600 15px var(--s-sans); }
.af-skip:focus { top: 1rem; }
.af-ico { width: 20px; height: 20px; flex: none; }
.af-small { font-size: 14px; }
.af-muted { color: var(--s-muted); }
.af-wrap { max-width: 1240px; margin-left: auto; margin-right: auto; }
.af-narrow { max-width: 860px; margin-left: auto; margin-right: auto; }
.af-left { margin-left: 0; }

.af-tag { display: inline-block; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; background: var(--s-beige);
  color: var(--s-black); font: 500 12px/1.3 var(--s-sans); letter-spacing: .1em; text-transform: uppercase; }
.af-tag--light { background: var(--s-blush); }

/* ------------------------------------------------------------ buttons */
.af-btn-reset { font-family: inherit; cursor: pointer; -webkit-appearance: none; appearance: none; border: 0; }
.button { transition: background-color .3s, color .3s, border-color .3s, transform .3s; }
.af-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 1.7em;
  font: 500 14px/1.2 var(--s-sans); letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.button.af-btn:not(.af-btn-dark):not(.af-btn-line):not(.w-variant-84b9d65c-5a4a-751a-7b69-aac3e86a1294):hover { background: #e9b9bc; }
.af-btn-dark { background: var(--s-black); color: #fff; }
.af-btn-dark:hover { background: #000; color: #fff; }
.af-btn-line { background: transparent; color: var(--s-black); border: 1px solid var(--s-black); }
.af-btn-line:hover { background: var(--s-black); color: #fff; }
.button.w-variant-84b9d65c-5a4a-751a-7b69-aac3e86a1294 { border: 1px solid rgba(255, 255, 255, .85); }
.button.w-variant-84b9d65c-5a4a-751a-7b69-aac3e86a1294:hover { background: #fff; color: var(--s-black); }
.button:disabled { opacity: .6; cursor: wait; }

/* the template's pill with a round arrow: the arrow slides through on hover */
.button.is-icon { text-decoration: none; min-height: 46px; padding-left: 1.5em; font: 500 14px/1.2 var(--s-sans); letter-spacing: .06em; }
.button.is-icon:hover { background: #fff; }
.button_icon .icon-1x1-small, .footer_button-top .icon-1x1-small { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.button_icon .icon-1x1-small.is-absolute { left: -100%; }
.button.is-icon:hover .button_icon .icon-1x1-small { transform: translateX(185%); }
.footer_button-top .icon-1x1-small.is-absolute-top { bottom: -100%; }
.footer_button-top:hover .icon-1x1-small { transform: translateY(-185%); }

/* ------------------------------------------------------------ navigation */
.af-nav { z-index: 1000; }
.af-nav .nav_container { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; overflow: visible; }
.af-brand { display: inline-flex; align-items: center; justify-self: start; text-decoration: none; }
.af-logo { display: inline-flex; align-items: center; gap: 12px; }
.af-logo-mark { width: 22px; height: auto; flex: none; display: block; }
.af-logo-text { color: #fff; font: 400 23px/1 var(--s-serif); letter-spacing: .01em; white-space: nowrap; }
.af-logo--dark .af-logo-mark { filter: invert(1) brightness(.14); }
.af-logo--dark .af-logo-text { color: var(--s-black); }
.af-nav-menu { justify-self: center; }
.af-nav-link { font-size: 14px; letter-spacing: .08em; text-decoration: none; }
.nav_menu-list-wrapper .text-line-hover, .footer_info-item .text-line-hover { display: block; opacity: 1; transform: scaleX(0);
  transform-origin: left; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.nav_menu-list-wrapper:hover .text-line-hover, .nav_menu-list-wrapper:focus-within .text-line-hover,
.footer_info-item:hover .text-line-hover, .footer_info-item:focus-within .text-line-hover { transform: scaleX(1); }
.af-nav-link[aria-current] + .text-line-hover { transform: scaleX(1); }
.af-nav-right { justify-self: end; display: flex; align-items: center; gap: 22px; }
.af-lib-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none;
  font: 500 14px var(--s-sans); letter-spacing: .04em; white-space: nowrap; opacity: .9; transition: opacity .25s; }
.af-lib-link:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.af-lib-link .af-ico { width: 18px; height: 18px; }
.af-nav-cta { min-height: 40px; padding: 0 1.3em; white-space: nowrap; }
.af-burger { display: none; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 50%;
  background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0; }
.af-burger span { display: block; width: 17px; height: 1.5px; background: #fff; border-radius: 2px; }

.af-nav.is-stuck { position: fixed; background: rgba(34, 34, 34, .94); -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); animation: af-slide .45s cubic-bezier(.2, .7, .2, 1); }
.af-nav.is-stuck .nav_container { padding-top: 12px; padding-bottom: 12px; }
@keyframes af-slide { from { transform: translateY(-100%); } to { transform: none; } }

.af-mnav { position: fixed; inset: 0; z-index: 1200; visibility: hidden; }
.af-mnav.is-open { visibility: visible; }
.af-mnav-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); opacity: 0; transition: opacity .35s; }
.af-mnav.is-open .af-mnav-backdrop { opacity: 1; }
.af-mnav-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); background: #fff;
  padding: 20px 22px 26px; display: flex; flex-direction: column; transform: translateX(100%); overflow-y: auto;
  transition: transform .4s cubic-bezier(.2, .7, .2, 1); box-shadow: -20px 0 60px rgba(0, 0, 0, .2); }
.af-mnav.is-open .af-mnav-panel { transform: translateX(0); }
.af-mnav-top { display: flex; justify-content: space-between; align-items: center; }
.af-mnav-x { border: 0; background: var(--s-soft); color: var(--s-black); width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer; }
.af-mnav-links { display: flex; flex-direction: column; margin-top: 26px; }
.af-mnav-link { padding: 15px 0; border-bottom: 1px solid var(--s-line); color: var(--s-black); text-decoration: none;
  font: 400 24px/1.2 var(--s-serif); }
.af-mnav-link:hover, .af-mnav-link[aria-current] { color: var(--s-rose); }
.af-mnav-cta { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.af-mnav-note { display: flex; gap: 8px; align-items: center; margin: 0; font: 400 13px var(--s-sans); color: var(--s-muted); }
.af-mnav-note .af-ico { width: 16px; height: 16px; }
body.af-lock { overflow: hidden; }

/* ------------------------------------------------------- reveal and motion */
.af-pre { opacity: 0; transform: translateY(28px); }
.af-in { opacity: 1; transform: none; transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
.hero_image { animation: af-zoom 2s cubic-bezier(.2, .7, .2, 1) both; }
.hero_headline, .hero_subheadline, .af-hero-cta { animation: af-rise 1.1s cubic-bezier(.2, .7, .2, 1) both; }
.hero_subheadline { animation-delay: .15s; }
.af-hero-cta { animation-delay: .3s; }
@keyframes af-zoom { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes af-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ home */
.af-hero-overlay { background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .22) 40%, rgba(0, 0, 0, .5) 100%); }
.hero_headline h1 { text-wrap: balance; }
.af-hero-cta { flex-direction: column; align-items: center; gap: 16px; }
.af-hero-note { margin: 0; color: rgba(255, 255, 255, .88); font: 400 13px/1.5 var(--s-sans); letter-spacing: .04em; text-align: center; padding: 0 16px; }

.af-about-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.af-svc { color: var(--s-black); text-decoration: none; }
a.af-svc .af-svc-title { transition: color .25s; }
a.af-svc:hover .af-svc-title { color: var(--s-rose); }
.af-svc-title { margin: 0; font-family: var(--s-serif); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: 1.25; }
.services_list-time { color: var(--s-muted); font-size: .9em; }
.services_list-price { white-space: nowrap; }
.services_list-description p { margin: 0; }
.af-svc-more { display: inline-block; margin-left: 4px; color: var(--s-black); font-weight: 500; font-size: .85em; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: underline; text-underline-offset: 3px; }
a.af-svc:hover .af-svc-more { color: var(--s-rose); }
.af-svc-buy { display: block; width: fit-content; margin-top: 12px; padding: 9px 18px; border-radius: 999px; background: var(--s-blush);
  color: var(--s-black); font: 500 13px/1 var(--s-sans); letter-spacing: .06em; text-transform: uppercase; transition: background-color .25s; }
.af-svc-buy:hover { background: #e9b9bc; }
.af-svc-bundle .services_list-title-time .af-svc-title { color: var(--s-black); }
.af-svc-cta { flex-wrap: wrap; gap: 14px; }

.benefits_item-description { height: auto; min-height: 5.5em; }
.af-benefit-title { margin: 0; font-family: inherit; font-weight: 400; text-align: center; }
.benefits_item-parallax { will-change: transform; box-shadow: 0 30px 60px rgba(0, 0, 0, .18); }

.af-quote { margin: 0; height: auto; min-height: 24em; flex: none; }
.af-quote-cat { margin: 0; padding: .35em 1.1em; border-radius: 999px; background: var(--s-beige); color: var(--s-black);
  font: 500 12px/1.3 var(--s-sans); letter-spacing: .1em; text-transform: uppercase; }
.af-quote blockquote { margin: 0; }
.af-quote-src { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-family: var(--s-sans); }
.af-quote-src span { font: 400 14px/1.4 var(--s-sans); color: var(--s-muted); }
.af-quote-src a { font: 400 17px/1.3 var(--s-serif); color: var(--s-black); text-decoration: underline; text-underline-offset: 3px; }
.af-label-link { margin-top: auto; color: var(--s-black); font: 500 13px var(--s-sans); letter-spacing: .08em; text-transform: uppercase;
  text-decoration: underline; text-underline-offset: 4px; }
.af-marquee { position: relative; }
.af-marquee.is-running .af-marquee-track { flex: none; animation: af-marquee 70s linear infinite; }
.af-marquee.is-running:hover .af-marquee-track, .af-marquee.is-running:focus-within .af-marquee-track { animation-play-state: paused; }
@keyframes af-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-100% - 1vw)); } }
.af-marquee.is-static { overflow-x: auto; scroll-snap-type: x mandatory; }
.af-marquee.is-static .af-quote { scroll-snap-align: start; }

.gallery_headline h2 { position: relative; z-index: 1; }

/* FAQ, the template's dark items rebuilt as buttons */
.af-acc-h { margin: 0; font: inherit; color: inherit; letter-spacing: normal; }
.af-acc-btn { width: 100%; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.faq_list-item-title { flex: 1; }
.faq_list-item-icon-wrapper { flex: none; }
.af-plus { transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.af-acc.is-open .af-plus { transform: rotate(45deg); }
.af-acc-btn:hover .icon-small-background { background: #fff; }
.af-acc.is-open .af-acc-body { animation: af-fade .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes af-fade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq_list-item-answer p { margin: 0; line-height: 1.65; opacity: .9; }
.faq_list-item-answer a { color: #fff; }
.af-faq-more { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

/* pricing, in the template's form card */
.af-price-card { width: min(100%, 980px); }
.af-price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .14); }
.af-price-col { display: flex; flex-direction: column; gap: 18px; padding: 34px 34px 6px 0; color: #fff; }
.af-price-col + .af-price-col { padding: 34px 0 6px 34px; border-left: 1px solid rgba(255, 255, 255, .14); }
.af-price-name { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font: 400 clamp(20px, 1.6vw, 26px)/1.2 var(--s-serif); }
.af-best { padding: 4px 10px; border-radius: 999px; background: var(--s-blush); color: var(--s-black); font: 500 11px/1.2 var(--s-sans);
  letter-spacing: .1em; text-transform: uppercase; }
.af-price-amount { margin: 0; font: 400 clamp(44px, 4vw, 60px)/1 var(--s-serif); }
.af-price-amount small { margin-left: 8px; font: 400 14px var(--s-sans); color: rgba(255, 255, 255, .7); }
.af-was { margin-left: 6px; font: 400 18px var(--s-sans); color: rgba(255, 255, 255, .55); text-decoration: line-through; }
.af-price-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.af-price-list li { display: flex; gap: 10px; align-items: flex-start; font: 400 15px/1.45 var(--s-sans); color: rgba(255, 255, 255, .9); }
.af-price-list .af-ico { width: 18px; height: 18px; color: var(--s-blush); margin-top: 1px; }
.af-pick { margin-top: 4px; }
.af-pick .form_label { margin-bottom: 8px; font-size: 14px; }
.af-pick-select { margin-bottom: 0; cursor: pointer; -webkit-appearance: none; appearance: none; padding-right: 2.6em; }
.af-pick-select option { color: var(--s-black); background: #fff; }
.af-price-btn { width: 100%; margin-top: auto; min-height: 50px; font: 500 14px var(--s-sans); letter-spacing: .08em; }
.af-price-btn:hover { background: #fff; }
.af-steps-row { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 38px 0 0; padding: 26px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .14); }
.af-steps-row li { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .88); font: 400 14px/1.35 var(--s-sans); }
.af-step-n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--s-blush); color: var(--s-black);
  display: inline-flex; align-items: center; justify-content: center; font: 400 15px var(--s-serif); }
.af-price-foot { margin: 22px 0 0; text-align: center; color: rgba(255, 255, 255, .75); font: 400 14px/1.5 var(--s-sans); }
.af-price-foot a { color: #fff; }

/* ------------------------------------------------------- inner pages */
.af-page-hero { position: relative; padding: 170px 0 76px; background: var(--s-black); color: #fff; overflow: hidden; }
.af-page-hero::after { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 204, 206, .16), rgba(240, 204, 206, 0) 65%); pointer-events: none; }
.af-page-hero .af-wrap { position: relative; z-index: 1; }
.af-page-title { margin: 0; color: inherit; font: 400 clamp(38px, 4.6vw, 66px)/1.08 var(--s-serif); text-wrap: balance; }
.af-page-sub { max-width: 720px; margin: 22px 0 0; color: rgba(255, 255, 255, .8); font: 400 18px/1.65 var(--s-sans); }
.af-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; color: rgba(255, 255, 255, .6); font: 400 14px var(--s-sans); }
.af-crumbs a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.af-crumbs a:hover { color: #fff; text-decoration: underline; }
.af-crumbs [aria-current] { color: #fff; }
.af-section { padding: 80px 0 110px; background: #fff; }
.af-section-flush { padding: 0 0 70px; }
.af-section-alt { background: var(--s-soft); padding-top: 90px; }
.af-h2 { margin: 0 0 16px; color: var(--s-black); font: 400 clamp(30px, 3.2vw, 46px)/1.12 var(--s-serif); }
.af-h3 { margin: 0 0 14px; color: var(--s-black); font: 400 24px/1.25 var(--s-serif); }
.af-lead { margin: 0 0 24px; color: var(--s-text); font: 400 17px/1.7 var(--s-sans); }
.af-lead a, .af-doc a, .af-muted a, .af-panel a, .af-card a:not(.button), .af-notice a, .af-check a,
.af-contact-tip a, .af-contact-item a { color: var(--s-rose); }
.af-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 26px; }
.af-card { background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 32px; margin-bottom: 20px;
  color: var(--s-text); font: 400 16px/1.65 var(--s-sans); }
.af-card p { margin: 0 0 12px; }

.af-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 16px 0 0; padding: 0; }
.af-chips li { padding: 5px 12px; border-radius: 999px; background: var(--s-soft); color: var(--s-black); font: 500 12px/1.4 var(--s-sans); letter-spacing: .04em; }
.af-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.af-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--s-black); font: 400 16px/1.5 var(--s-sans); }
.af-list .af-ico { color: var(--s-rose); margin-top: 1px; }

/* course cards */
.af-prog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.af-prog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius);
  overflow: hidden; transition: transform .4s, box-shadow .4s; }
.af-prog-card:hover { transform: translateY(-4px); box-shadow: 0 26px 50px rgba(0, 0, 0, .09); }
.af-prog-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--s-soft); }
.af-prog-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s; }
.af-prog-card:hover .af-prog-media img { transform: scale(1.04); }
.af-prog-body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.af-prog-cat { margin: 0; color: var(--s-muted); font: 500 12px/1.3 var(--s-sans); letter-spacing: .12em; text-transform: uppercase; }
.af-prog-title { margin: 12px 0 10px; font: 400 25px/1.2 var(--s-serif); }
.af-prog-title a { color: var(--s-black); text-decoration: none; }
.af-prog-title a:hover { color: var(--s-rose); }
.af-prog-text { margin: 0; color: var(--s-text); font: 400 15px/1.6 var(--s-sans); }
.af-prog-foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; justify-content: space-between; margin-top: auto; padding-top: 24px; }
.af-prog-price span { display: block; color: var(--s-black); font: 400 32px/1 var(--s-serif); }
.af-prog-price small { color: var(--s-muted); font: 400 13px var(--s-sans); }
.af-prog-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.af-prog-actions .af-btn { min-height: 42px; padding: 0 1.2em; font-size: 13px; }
.af-text-btn { display: inline-flex; gap: 8px; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--s-line-2);
  border-radius: 999px; background: transparent; color: var(--s-black); cursor: pointer; text-decoration: none;
  font: 500 13px/1 var(--s-sans); letter-spacing: .04em; transition: background-color .25s, color .25s, border-color .25s; }
.af-text-btn:hover { background: var(--s-black); border-color: var(--s-black); color: #fff; }
.af-text-btn .af-ico { width: 16px; height: 16px; }

.af-bundle { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: 36px; background: var(--s-black);
  border-radius: var(--s-radius); overflow: hidden; color: rgba(255, 255, 255, .82); }
.af-bundle-media img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; display: block; }
.af-bundle-copy { padding: 52px; align-self: center; }
.af-bundle .af-h2 { color: #fff; }
.af-bundle .af-lead { color: rgba(255, 255, 255, .8); }
.af-bundle .af-list li { color: #fff; }
.af-bundle .af-list .af-ico { color: var(--s-blush); }

/* course page */
.af-course-hero { padding: 150px 0 80px; background: var(--s-black); color: #fff; }
.af-prog-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 60px; align-items: center; }
.af-prog-hero-media img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: var(--s-radius); display: block; }
.af-course-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 24px 0 0; padding: 0; }
.af-course-chips li { padding: 6px 13px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .9);
  font: 400 13px/1.3 var(--s-sans); }
.af-buybox { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; margin-top: 30px; padding: 18px 20px; width: fit-content; max-width: 100%;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--s-radius); }
.af-buybox-price { display: flex; flex-direction: column; }
.af-buybox-amount { color: #fff; font: 400 42px/1 var(--s-serif); }
.af-buybox-note { margin-top: 6px; color: rgba(255, 255, 255, .7); font: 400 13px var(--s-sans); }
.af-assure { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; margin: 22px 0 0; padding: 0; }
.af-assure li { display: flex; gap: 8px; align-items: center; color: rgba(255, 255, 255, .88); font: 400 14px var(--s-sans); }
.af-assure .af-ico { width: 18px; height: 18px; color: var(--s-blush); }
.af-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.af-panel { background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius); padding: 36px; color: var(--s-text); font: 400 16px/1.65 var(--s-sans); }
.af-panel p { margin: 0 0 12px; }
.af-panel-accent { background: var(--s-cream); border-color: transparent; }
.af-block { margin: 84px 0; }
.af-modules { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.af-module { display: flex; gap: 18px; padding: 26px; background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius); }
.af-module-n { flex: none; color: var(--s-rose); font: 400 22px/1.2 var(--s-serif); }
.af-module h3 { margin: 0 0 6px; color: var(--s-black); font: 400 20px/1.3 var(--s-serif); }
.af-module p { margin: 0; color: var(--s-text); font: 400 15px/1.55 var(--s-sans); }
.af-module .af-module-meta { display: flex; gap: 6px; align-items: center; margin-top: 10px; color: var(--s-muted); font-size: 13px; }
.af-module-meta .af-ico { width: 14px; height: 14px; }
.af-notice { display: flex; gap: 14px; margin-top: 32px; padding: 22px 24px; border-radius: var(--s-radius); background: var(--s-cream);
  color: var(--s-text); font: 400 15px/1.6 var(--s-sans); }
.af-notice p { margin: 0; }
.af-notice strong { color: var(--s-black); }
.af-notice .af-ico { color: var(--s-rose); margin-top: 2px; }
.af-notice-tight { margin-top: 0; }
.af-upsell { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: center; padding: 46px;
  background: #fff; border: 1px solid var(--s-line); border-radius: var(--s-radius); }
.af-upsell > div:first-child { max-width: 680px; }
.af-upsell .af-lead { margin: 0; }
.af-more-title { margin-top: 72px; margin-bottom: 28px; }

/* about, contact, 404 */
.af-about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 60px; align-items: start; }
.af-about-media img { width: 100%; border-radius: var(--s-radius); position: sticky; top: 110px; display: block; }
.af-contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: start; }
.af-contact-list { display: flex; flex-direction: column; gap: 12px; }
.af-contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; background: #fff; border: 1px solid var(--s-line);
  border-radius: var(--s-radius); color: var(--s-text); font: 400 15px/1.55 var(--s-sans); }
.af-contact-item > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.af-contact-item .af-ico { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--s-cream); color: var(--s-rose); }
.af-contact-item a { text-decoration: none; overflow-wrap: anywhere; font-weight: 600; }
.af-contact-h { margin: 0 0 2px; color: var(--s-black); font: 400 19px/1.3 var(--s-serif); }
.af-contact-tip { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--s-radius); background: var(--s-cream); color: var(--s-text);
  font: 400 15px/1.55 var(--s-sans); }
.af-contact-tip p { margin: 0; }
.af-contact-tip strong { color: var(--s-black); }
.af-contact-tip .af-ico { color: var(--s-rose); margin-top: 2px; }
.af-form-card h2 { margin-bottom: 18px; }
.af-404 { padding: 170px 0 110px; background: var(--s-black); color: #fff; }
.af-404-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 44px; align-items: center; }
.af-404-grid img { width: 100%; border-radius: var(--s-radius); }
.af-404 .af-page-sub { color: rgba(255, 255, 255, .8); }

/* ------------------------------------------------------------ forms */
.af-form { display: flex; flex-direction: column; gap: 16px; font: 400 16px/1.5 var(--s-sans); }
.af-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.af-field { display: flex; flex-direction: column; gap: 6px; }
.af-field label { margin: 0; color: var(--s-black); font: 600 14px var(--s-sans); }
.af-input { width: 100%; padding: 13px 16px; border: 1px solid var(--s-line-2); border-radius: 999px; background: #fff;
  color: var(--s-black); font: 400 16px var(--s-sans); }
select.af-input { cursor: pointer; }
.af-textarea { min-height: 140px; resize: vertical; line-height: 1.5; border-radius: 16px; }
.af-input:focus { outline: none; border-color: var(--s-black); box-shadow: 0 0 0 3px rgba(240, 204, 206, .7); }
.af-inline-form { flex-direction: row; align-items: flex-end; flex-wrap: wrap; margin: 16px 0; }
.af-inline-form .af-field { flex: 1 1 260px; }
.af-check { display: flex; gap: 12px; align-items: flex-start; margin: 0; color: var(--s-text); font: 400 14px/1.55 var(--s-sans); cursor: pointer; }
.af-check input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--s-black); }
.af-pay { display: inline-flex; gap: 10px; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px; border: 0;
  border-radius: 999px; background: var(--s-black); color: #fff; cursor: pointer; font: 500 14px var(--s-sans); letter-spacing: .06em;
  text-transform: uppercase; transition: background-color .25s, color .25s; }
.af-pay:hover { background: var(--s-blush); color: var(--s-black); }
.af-pay:disabled { opacity: .6; cursor: wait; }
.af-form-msg { margin: 0; padding: 12px 14px; border-radius: var(--s-radius); background: var(--s-cream); color: var(--s-black); font: 400 14px/1.5 var(--s-sans); }
.af-form-msg.is-err { background: #f8e2e2; color: #8a1f1f; }
.af-form-msg.is-ok { background: #e6f1e4; color: #2f5a2a; }
.af-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.af-inline-btn { border: 0; background: none; padding: 0; color: var(--s-rose); text-decoration: underline; cursor: pointer; font: inherit; }

/* ------------------------------------------------------------ modal */
.af-modal { position: fixed; inset: 0; z-index: 1300; display: flex; align-items: center; justify-content: center; padding: 16px; }
.af-modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); }
.af-modal-card { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow: auto; padding: 36px;
  background: #fff; border-radius: var(--s-radius); color: var(--s-text); font: 400 15px/1.5 var(--s-sans); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.af-modal-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--s-soft);
  color: var(--s-black); font-size: 24px; line-height: 1; cursor: pointer; }
.af-modal-card .af-tag { margin-bottom: 4px; }
.af-modal-title { margin: 12px 0 6px; color: var(--s-black); font: 400 30px/1.15 var(--s-serif); padding-right: 30px; }
.af-modal-price { margin: 0 0 18px; }
.af-modal-price span { color: var(--s-black); font: 400 32px var(--s-serif); }
.af-modal-list { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 9px; color: var(--s-black); }
.af-modal-list li { display: flex; gap: 10px; align-items: center; }
.af-modal-list .af-ico { color: var(--s-rose); width: 18px; height: 18px; }
.af-modal-form { display: flex; flex-direction: column; gap: 14px; }
.af-modal-foot { margin: 0; font-size: 12.5px; line-height: 1.6; text-align: center; color: var(--s-muted); }

/* ------------------------------------------------------------ library */
.af-lib-head { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: flex-end; }
.af-lib-head .af-h3 { margin: 4px 0 0; }
.af-lib-course h3 { margin: 6px 0 16px; color: var(--s-black); font: 400 25px/1.25 var(--s-serif); }
.af-lib-items { list-style: none; margin: 0; padding: 0; }
.af-lib-item { border-top: 1px solid var(--s-line); }
.af-lib-item a { display: flex; gap: 14px; align-items: center; padding: 15px 4px; color: var(--s-black) !important; text-decoration: none; }
.af-lib-item a:hover { color: var(--s-rose) !important; }
.af-lib-n { flex: none; width: 34px; color: var(--s-rose); font: 400 18px var(--s-serif); }
.af-lib-t { flex: 1; font: 400 16px/1.4 var(--s-sans); }
.af-lib-go { flex: none; color: var(--s-muted); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.af-table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.af-table th, .af-table td { padding: 11px 0; border-bottom: 1px solid var(--s-line); text-align: left; font-size: 15px; vertical-align: top; }
.af-table th { width: 40%; color: var(--s-black); font-weight: 600; }
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9em; word-break: break-all; }

/* ------------------------------------------------ documents and lessons */
.af-doc { color: var(--s-text); font: 400 17px/1.78 var(--s-sans); }
.af-doc h2 { margin: 46px 0 14px; color: var(--s-black); font: 400 30px/1.22 var(--s-serif); }
.af-doc h2:first-child { margin-top: 0; }
.af-doc h3 { margin: 28px 0 10px; color: var(--s-black); font: 400 22px/1.3 var(--s-serif); }
.af-doc p { margin: 0 0 16px; }
.af-doc ul, .af-doc ol { margin: 0 0 18px; padding-left: 22px; }
.af-doc li { margin-bottom: 8px; }
.af-doc li::marker { color: var(--s-rose); }
.af-doc strong { color: var(--s-black); font-weight: 600; }
.af-doc table { width: 100%; border-collapse: collapse; margin: 10px 0 24px; font-size: 15px; display: block; overflow-x: auto; }
.af-doc th, .af-doc td { padding: 11px 12px; border: 1px solid var(--s-line-2); text-align: left; vertical-align: top; line-height: 1.55; }
.af-doc th { background: var(--s-soft); color: var(--s-black); font-weight: 600; }
.af-learn-hero { padding-bottom: 50px; }
.af-article-meta { margin: 0 0 14px; color: var(--s-blush); font: 500 12px/1.3 var(--s-sans); letter-spacing: .12em; text-transform: uppercase; }
.af-lesson-tools { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; margin-bottom: 30px; }
.af-lesson .af-lesson-intro { color: var(--s-black); font-size: 19px; }
.af-box { margin: 30px 0; padding: 30px; border-radius: var(--s-radius); background: #fff; border: 1px solid var(--s-line); }
.af-box h2 { margin-top: 0 !important; font-size: 25px; }
.af-box-accent { background: var(--s-cream); border-color: transparent; }
.af-box-warn { background: #fbf0f0; border-color: #efcfd1; }
.af-box-warn h2 { color: var(--s-rose); }
.af-routine-note { font-size: 15px; }
.af-routine { width: 100%; border-collapse: collapse; font-size: 15px; }
.af-routine th { background: #fff !important; }
.af-routine td:first-child { color: var(--s-black); font-weight: 600; }
.af-lesson ol.af-steps { counter-reset: s; list-style: none; padding: 0; }
.af-lesson ol.af-steps li { counter-increment: s; position: relative; padding-left: 46px; margin-bottom: 14px; }
.af-lesson ol.af-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 31px; height: 31px; border-radius: 50%;
  background: var(--s-blush); color: var(--s-black); font: 400 15px/31px var(--s-serif); text-align: center; }
.af-takeaway { margin-top: 30px !important; padding: 18px 22px; border-left: 3px solid var(--s-blush); background: var(--s-cream); border-radius: 0 var(--s-radius) var(--s-radius) 0; }
.af-reading { font-size: 15px; }
.af-lesson-nav { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--s-line); }

/* ------------------------------------------------------------ footer */
.af-footer { background: #fff; border-top: 1px solid var(--s-line); color: var(--s-text); font: 400 15px/1.6 var(--s-sans); }
.af-foot-wrap { max-width: 1320px; margin: 0 auto; }
.af-footer a { color: var(--s-black); text-decoration: none; }
.af-foot-top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; padding: 80px 0 56px; border-bottom: 1px solid var(--s-line); }
.af-foot-brand .af-logo-text { font-size: 26px; }
.af-foot-brand .af-logo-mark { width: 24px; }
.af-foot-pitch { max-width: 360px; margin: 22px 0 26px; color: var(--s-text); font-size: 15px; line-height: 1.65; }
.af-foot-badges { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.af-foot-badges li { display: flex; gap: 12px; align-items: center; color: var(--s-black); font-size: 14px; }
.af-foot-badges .af-ico { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--s-cream); color: var(--s-rose); }
.af-foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; }
.af-foot-title { margin: 0 0 20px; color: var(--s-muted); font: 500 12px/1.3 var(--s-sans); letter-spacing: .14em; text-transform: uppercase; }
.af-foot-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.af-foot-list .footer_info-item { width: fit-content; max-width: 100%; }
.af-foot-link { font-size: 15px; line-height: 1.4; }
.af-foot-list .text-line-hover { margin-top: 2px; height: 1px; }
.af-foot-seller { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 40px 0 0; background: var(--s-cream);
  border-radius: var(--s-radius); }
.af-foot-cell { display: flex; gap: 14px; align-items: flex-start; min-width: 0; padding: 26px 24px; }
.af-foot-cell + .af-foot-cell { border-left: 1px solid rgba(0, 0, 0, .07); }
.af-foot-cell .af-ico { flex: none; width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: #fff; color: var(--s-rose); }
.af-foot-label { margin: 0 0 4px; color: var(--s-black); font: 400 17px/1.3 var(--s-serif); }
.af-foot-value { margin: 0; color: var(--s-text); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.af-foot-value a { color: var(--s-black); text-decoration: underline; text-decoration-color: rgba(0, 0, 0, .25); text-underline-offset: 3px; }
.af-foot-value a:hover { text-decoration-color: currentColor; }
.af-foot-notice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; padding: 32px 0; border-bottom: 1px solid var(--s-line);
  color: var(--s-muted); font-size: 13.5px; line-height: 1.65; }
.af-foot-notice p { margin: 0; }
.af-foot-notice strong { color: var(--s-black); font-weight: 600; }
.af-foot-notice a { color: var(--s-black); text-decoration: underline; text-underline-offset: 3px; }
.af-foot-bottom { display: grid; grid-template-columns: auto 1fr auto; gap: 16px 32px; align-items: center; padding: 24px 0 30px;
  color: var(--s-muted); font-size: 13.5px; }
.af-foot-bottom p { margin: 0; }
.af-foot-bottom-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px 22px; }
.af-foot-bottom-links a, .af-foot-bottom-links button { color: var(--s-text); font: inherit; }
.af-foot-bottom-links a:hover, .af-foot-bottom-links button:hover { color: var(--s-black); text-decoration: underline; text-underline-offset: 3px; }
.af-foot-bottom-links button { border: 0; background: none; padding: 0; cursor: pointer; }
.af-footer .af-foot-pill { padding: 6px 12px; border: 1px solid var(--s-line-2); border-radius: 999px; }
.af-totop { display: inline-flex; }
.af-totop .icon-small-background { width: 40px; height: 40px; }

/* ------------------------------------------------------- cookie banner */
.c-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1250; max-width: 980px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 28px; align-items: center; padding: 22px 26px;
  background: #fff; border: 1px solid var(--s-line-2); border-radius: var(--s-radius); box-shadow: 0 24px 60px rgba(0, 0, 0, .2);
  color: var(--s-text); font: 400 14px/1.55 var(--s-sans); }
.c-consent__title { margin: 0 0 4px; color: var(--s-black); font: 400 20px var(--s-serif); }
.c-consent__text { margin: 0; }
.c-consent__text a { color: var(--s-rose); }
.c-consent__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.c-consent__btn { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--s-line-2); background: #fff;
  color: var(--s-black); cursor: pointer; font: 500 13px var(--s-sans); letter-spacing: .04em; }
.c-consent__btn--accept { background: var(--s-black); border-color: var(--s-black); color: #fff; }
.c-consent__btn--reject { background: var(--s-blush); border-color: var(--s-blush); }
.c-consent__btn--link { border-color: transparent; background: none; text-decoration: underline; }
.c-consent__prefs { grid-column: 1 / -1; border-top: 1px solid var(--s-line); padding-top: 14px; }
.c-consent__row { display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--s-line); }
.c-consent__rowTitle { margin: 0; color: var(--s-black); font-weight: 600; }
.c-consent__rowDesc { margin: 2px 0 0; font-size: 13px; }
.c-consent__toggle { display: flex; gap: 8px; align-items: center; white-space: nowrap; font-size: 13px; }
.c-consent__toggle input { width: 18px; height: 18px; accent-color: var(--s-black); }

/* ------------------------------------------------------------ responsive */
@media screen and (max-width: 1199px) and (min-width: 992px) {
  .af-lib-link { display: none; }
  .nav_menu { grid-column-gap: 1.4em; }
}

@media screen and (max-width: 991px) {
  .af-nav .nav_container { grid-template-columns: auto 1fr; }
  .af-nav-menu { display: none; }
  .af-burger { display: flex; }
  .af-lib-link { display: none; }
  .af-nav-right { gap: 12px; }
  .af-prog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .af-prog-hero-grid, .af-about-grid, .af-bundle, .af-404-grid, .af-contact-grid { grid-template-columns: 1fr; }
  .af-prog-hero-media { max-width: 560px; }
  .af-prog-hero-media img { aspect-ratio: 4 / 3; }
  .af-about-media img { position: static; max-width: 520px; }
  .af-foot-top { grid-template-columns: 1fr; gap: 48px; padding-top: 64px; }
  .af-foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; }
  .af-foot-seller { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .af-foot-cell:nth-child(3) { border-left: 0; }
  .af-foot-cell:nth-child(n+3) { border-top: 1px solid rgba(0, 0, 0, .07); }
  .af-foot-bottom { grid-template-columns: 1fr auto; }
  .af-foot-bottom-links { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
  .af-bundle-media img { max-height: 380px; }
  .af-page-hero { padding-top: 140px; }
  .af-course-hero { padding-top: 130px; }
  .benefits_item-parallax { box-shadow: none; }
  .af-svc-cta { flex-direction: column; }
  .af-price-card { width: 100%; }
}

@media screen and (max-width: 767px) {
  .af-prog-grid, .af-two, .af-modules, .af-form-row { grid-template-columns: 1fr; }
  .af-price-grid { grid-template-columns: 1fr; }
  .af-price-col { padding: 28px 0 8px; }
  .af-price-col + .af-price-col { padding: 30px 0 8px; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 22px; }
  .af-steps-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .af-foot-notice { grid-template-columns: 1fr; gap: 16px; }
  .af-section { padding: 56px 0 76px; }
  .af-section-alt { padding-top: 64px; }
  .af-bundle-copy, .af-upsell, .af-panel { padding: 28px; }
  .af-page-sub { font-size: 16px; }
  .af-page-hero { padding: 124px 0 50px; }
  .af-course-hero { padding: 118px 0 56px; }
  .c-consent { grid-template-columns: 1fr; }
  .c-consent__actions { justify-content: flex-start; }
  .af-quote { min-height: 0; }
  .af-marquee.is-running .af-marquee-track { animation: none; }
  .af-marquee.is-running > .af-marquee-track + .af-marquee-track { display: none; }
  .af-hero-note { font-size: 12px; }
  .af-nav-cta { display: none; }
}

@media screen and (max-width: 479px) {
  .af-logo-text { font-size: 21px; }
  .af-foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 20px; }
  .af-foot-seller { grid-template-columns: 1fr; }
  .af-foot-cell + .af-foot-cell { border-left: 0; border-top: 1px solid rgba(0, 0, 0, .07); }
  .af-foot-cell { padding: 20px; }
  .af-foot-bottom { grid-template-columns: 1fr auto; align-items: start; }
  .af-foot-bottom-links { gap: 10px 18px; }
  .af-card, .af-modal-card { padding: 24px; }
  .af-buybox { width: 100%; }
  .af-buybox .af-btn { flex: 1 1 100%; }
  .af-inline-form { flex-direction: column; align-items: stretch; }
  .af-inline-form .af-field { flex: none; }
  .c-consent { left: 8px; right: 8px; bottom: 8px; padding: 18px; }
  .c-consent__btn { flex: 1 1 auto; }
  .af-steps-row { grid-template-columns: 1fr; }
  .af-faq-more .af-btn, .af-about-actions .af-btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .af-pre { opacity: 1; transform: none; }
}

/* table becomes one card per row on small screens */
@media screen and (max-width: 640px) {
  .af-doc table.af-routine { display: block; border: 0; }
  .af-routine thead { display: none; }
  .af-routine tbody, .af-routine tr, .af-routine td { display: block; width: 100%; }
  .af-routine tr { margin-bottom: 12px; border: 1px solid var(--s-line-2); border-radius: var(--s-radius); overflow: hidden; background: #fff; }
  .af-routine td { border: 0; border-bottom: 1px solid var(--s-line); }
  .af-routine td::before { content: attr(data-label); display: block; color: var(--s-rose); font: 500 11px/1.6 var(--s-sans); text-transform: uppercase; letter-spacing: .1em; }
}

@media print {
  .af-nav, .af-mnav, .af-footer, .c-consent, .af-lesson-tools, .af-lesson-nav, .af-modal, .af-skip { display: none !important; }
  .af-page-hero { padding: 0 0 20px; background: none; color: #000; }
  .af-page-hero::after { display: none; }
  .af-page-title, .af-page-sub, .af-article-meta { color: #000; }
  body { background: #fff; }
  .af-box { break-inside: avoid; }
}
