/* Skillfye: everything on top of the Skillfye Webflow template stylesheet (skillfye.css).
   The template's interactions ran on the Webflow runtime and GSAP, which this site does not load;
   what they did (menu, dropdown, slider, accordions, reveal) is rebuilt here and in site.js.
   New components (header, course pages, pricing, library, lessons, legal pages, forms, footer,
   cookie banner) follow the template tokens: Outfit throughout, warm beige sections, near-black
   ink, pastel purple, green and blue cards, yellow and orange accents, pill buttons. */

@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/outfit-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: "Outfit"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/outfit-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --s-ink: #1d1a17;
  --s-text: #3d3935;
  --s-muted: #626262;
  --s-line: #e8e1da;
  --s-line-2: #d8d8d8;
  --s-beige: #f8f4f1;
  --s-sand: #efe8e2;
  --s-white: #ffffff;
  --s-yellow: #ffdb7e;
  --s-gold: #f6ab38;
  --s-orange: #fa8957;
  --s-purple: #885fa0;
  --s-lpurple: #e3d4f4;
  --s-lgreen: #c3efc8;
  --s-lblue: #b3d4f2;
  --s-link: #6e4589;
  --s-radius: 16px;
  --s-font: "Outfit", Arial, sans-serif;
  --s-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --s-wrap: 1344px;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--s-white); color: var(--s-ink); overflow-x: hidden; font-family: var(--s-font); }
img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--s-purple); outline-offset: 3px; }
[hidden] { display: none !important; }
main { position: relative; overflow-x: clip; }

.af-skip { position: absolute; left: 1rem; top: -4rem; z-index: 2000; padding: .75rem 1.1rem; border-radius: 999px;
  background: var(--s-ink); color: #fff; text-decoration: none; font: 500 .95rem var(--s-font); }
.af-skip:focus { top: 1rem; }
.af-wrap { width: 100%; max-width: calc(var(--s-wrap) + 40px); margin: 0 auto; padding: 0 20px; }
.af-ico { width: 20px; height: 20px; flex: none; }
.af-small { font-size: 14px; }
.af-muted { color: var(--s-muted); }
.af-gap { margin-bottom: 18px; }
.section-subtitle { width: fit-content; }
.section-subtitle .icon-20 img { width: 20px; height: 20px; }

/* ------------------------------------------------------------ buttons */
.af-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 30px;
  border: 1px solid var(--s-ink); border-radius: 999px; background: var(--s-ink); color: #fff; cursor: pointer; text-decoration: none;
  white-space: nowrap; font: 500 16px/1.2 var(--s-font); letter-spacing: -.01em;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s; -webkit-appearance: none; appearance: none; }
.af-btn:hover { background: #3a342e; border-color: #3a342e; transform: translateY(-1px); }
.af-btn:active { transform: none; }
.af-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.af-btn-yellow { background: var(--s-yellow); border-color: var(--s-yellow); color: var(--s-ink); }
.af-btn-yellow:hover { background: var(--s-gold); border-color: var(--s-gold); color: var(--s-ink); }
.af-btn-outline { background: transparent; color: var(--s-ink); border-color: rgba(29, 26, 23, .35); }
.af-btn-outline:hover { background: var(--s-ink); color: #fff; border-color: var(--s-ink); }
.af-btn-light { background: #fff; border-color: #fff; color: var(--s-ink); }
.af-btn-light:hover { background: var(--s-beige); border-color: var(--s-beige); }
.af-btn-sm { padding: 11px 20px; font-size: 15px; }
.af-btn .af-ico { width: 18px; height: 18px; }
.af-text-btn { display: inline-flex; gap: 8px; align-items: center; padding: 10px 18px; border: 1px solid rgba(29, 26, 23, .3);
  border-radius: 999px; background: transparent; color: var(--s-ink); cursor: pointer; text-decoration: none;
  font: 500 15px/1 var(--s-font); transition: background-color .25s, color .25s, border-color .25s; }
.af-text-btn:hover { background: var(--s-ink); border-color: var(--s-ink); color: #fff; }
.af-text-btn .af-ico { width: 16px; height: 16px; }
.af-text-btn.is-done { background: var(--s-lgreen); border-color: var(--s-lgreen); color: var(--s-ink); }

/* ------------------------------------------------------------ header */
.af-nav { position: sticky; top: 0; z-index: 1000; background: var(--s-beige); border-bottom: 1px solid var(--s-line-2); }
.af-nav-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; min-height: 76px; }
.af-brand { display: inline-flex; align-items: center; text-decoration: none; }
.af-brand svg { display: block; width: 116px; height: auto; }
.af-nav-menu { display: flex; justify-content: center; align-items: center; gap: 4px; }
.af-nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 0; background: none; border-radius: 999px;
  color: var(--s-muted); text-decoration: none; cursor: pointer; font: 400 16px/1.2 var(--s-font); transition: color .2s, background-color .2s; }
.af-nav-link:hover, .af-nav-link[aria-current="page"] { color: var(--s-ink); }
.af-nav-link[aria-current="page"] { font-weight: 500; }
.af-nav-link svg { width: 16px; height: 16px; transition: transform .25s; }
.af-dd { position: relative; }
.af-dd-panel { position: absolute; top: calc(100% + 10px); left: 50%; width: 560px; padding: 14px; transform: translate(-50%, 6px);
  background: #fff; border: 1px solid var(--s-line); border-radius: 18px; box-shadow: 0 24px 60px rgba(29, 26, 23, .12);
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.af-dd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.af-dd.is-open .af-dd-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.af-dd.is-open > .af-nav-link svg { transform: rotate(180deg); }
@media (hover: hover) and (min-width: 992px) {
  .af-dd:hover .af-dd-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .af-dd:hover > .af-nav-link svg { transform: rotate(180deg); }
}
.af-dd-item { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; text-decoration: none; color: var(--s-ink);
  transition: background-color .2s; }
.af-dd-item:hover { background: var(--s-beige); }
.af-dd-dot { flex: none; width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.af-dd-dot svg { width: 11px; height: 21px; }
.af-dd-t { display: block; font: 500 15px/1.25 var(--s-font); }
.af-dd-s { display: block; margin-top: 2px; color: var(--s-muted); font: 400 13px/1.3 var(--s-font); }
.af-dd-all { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-top: 4px; padding: 12px 14px;
  border-radius: 12px; background: var(--s-beige); text-decoration: none; color: var(--s-ink); font: 500 14px var(--s-font); }
.af-dd-all:hover { background: var(--s-yellow); }
.af-nav-right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.af-lib-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; color: var(--s-ink); text-decoration: none;
  font: 500 15px var(--s-font); white-space: nowrap; border-radius: 999px; transition: background-color .2s; }
.af-lib-link:hover { background: rgba(29, 26, 23, .06); }
.af-lib-link .af-ico { width: 18px; height: 18px; }
.af-burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--s-ink);
  cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0; }
.af-burger span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; }

.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(29, 26, 23, .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(90vw, 390px); background: var(--s-beige);
  padding: 18px 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(29, 26, 23, .18); }
.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: #fff; color: var(--s-ink); 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: 22px; }
.af-mnav-link { padding: 13px 0; border-bottom: 1px solid var(--s-line-2); color: var(--s-ink); text-decoration: none;
  font: 500 20px/1.2 var(--s-font); letter-spacing: -.02em; }
.af-mnav-link:hover, .af-mnav-link[aria-current] { color: var(--s-purple); }
.af-mnav-sub { display: flex; flex-direction: column; gap: 2px; padding: 8px 0 12px; border-bottom: 1px solid var(--s-line-2); }
.af-mnav-sub a { display: flex; gap: 10px; align-items: center; padding: 7px 0; color: var(--s-text); text-decoration: none; font: 400 16px var(--s-font); }
.af-mnav-sub a span { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.af-mnav-cta { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.af-mnav-note { display: flex; gap: 8px; align-items: center; margin: 0; font-size: 13px; 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(24px); }
.af-in { opacity: 1; transform: none; transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.home_hero_image img { animation: af-zoom 1.6s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes af-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }

/* ------------------------------------------------------------ home */
.home_hero_image { height: auto; min-height: min(calc(100svh - 77px), 760px); }
.home_hero_image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home_hero_inner { padding: 72px 0; }
.af-hero-pill { display: flex; width: fit-content; max-width: 100%; flex-wrap: nowrap; align-items: center; gap: 12px; margin-bottom: 26px; padding: 7px 16px 7px 8px;
  border-radius: 999px; background: var(--s-beige); font: 400 15px/1.3 var(--s-font); color: var(--s-text); }
.af-hero-pill strong { font-weight: 600; color: var(--s-ink); }
.af-hero-pill-dots { display: inline-flex; flex: none; }
.af-hero-pill-dots span { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; margin-left: -6px; }
.af-hero-pill-dots span:first-child { margin-left: 0; }
.home_hero_text { max-width: 560px; margin-bottom: 0; color: var(--s-muted); }
.af-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 36px 0 30px; }
.home_hero_tag { text-decoration: none; color: var(--s-ink); }
.home_hero_tag-text { text-shadow: none; }
.af-hero-note { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--s-muted); font-size: 14px; }
.af-hero-note li { display: inline-flex; gap: 6px; align-items: center; }
.af-hero-note .af-ico { width: 16px; height: 16px; color: var(--s-ink); }

.af-facts-band { background: var(--s-beige); border-bottom: 1px solid var(--s-line); }
.af-facts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; padding: 0; margin: 0; list-style: none; }
.af-fact { display: flex; gap: 12px; align-items: center; padding: 26px 18px; border-left: 1px solid var(--s-line); font: 400 15px/1.35 var(--s-font); color: var(--s-text); }
.af-fact:first-child { border-left: 0; padding-left: 0; }
.af-fact strong { display: block; color: var(--s-ink); font-weight: 500; font-size: 16px; }
.af-fact .af-ico { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: #fff; color: var(--s-ink); }

.process_card_wrapper .heading-custom-h4 { margin: 0; }
.process_card_body p { margin: 0; color: var(--s-text); }

.best-course_component .section-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.best-course_masthead h2 { max-width: 640px; }
.af-track { margin-top: 48px; }
.af-track-list { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-padding: 0; padding: 4px 2px 18px; scrollbar-width: none; }
.af-track-list::-webkit-scrollbar { display: none; }
.af-track-item { scroll-snap-align: start; display: flex; }
.af-track-nav { display: flex; gap: 12px; margin-top: 18px; }
.af-track-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(29, 26, 23, .3); background: #fff; color: var(--s-ink);
  display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .2s, color .2s, opacity .2s; }
.af-track-btn svg { width: 22px; height: 22px; }
.af-track-btn:hover:not(:disabled) { background: var(--s-ink); color: #fff; border-color: var(--s-ink); }
.af-track-btn:disabled { opacity: .35; cursor: default; }
.af-ccard { display: flex !important; flex-direction: column; width: 100%; text-decoration: none; color: var(--s-ink);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.af-ccard:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(29, 26, 23, .12); }
.af-ccard .best-course_card_top-content { flex: 1; }
.af-ccard .course-card_top { display: flex; justify-content: space-between; align-items: center; }
.af-ccard .course-card_class { display: flex; align-items: center; gap: 8px; }
.af-ccard .course-card_icon svg { width: 11px; height: 21px; display: block; }
.af-ccard .heading-custom-h5 { margin: 0; }
.af-ccard .best-course_card_short-details { color: var(--s-text); }
.af-ccard .best-course_card_image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s; }
.af-ccard:hover .best-course_card_image img { transform: scale(1.04); }
.af-ccard-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.af-ccard-meta span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: #fff;
  font: 500 14px/1.2 var(--s-font); }
.af-ccard-meta svg { width: 14px; height: 14px; }
.af-ccard-price { font: 500 30px/1 var(--s-font); letter-spacing: -.02em; }
.af-ccard-price small { display: block; margin-top: 4px; font-size: 13px; font-weight: 400; color: var(--s-text); letter-spacing: 0; }
.af-ccard-go { display: inline-flex; gap: 8px; align-items: center; padding: 10px 20px; border: 1px solid rgba(29, 26, 23, .45); border-radius: 999px;
  font: 500 15px/1 var(--s-font); transition: background-color .25s, color .25s, border-color .25s; }
.af-ccard-go svg { width: 18px; height: 18px; }
.af-ccard:hover .af-ccard-go { background: var(--s-ink); border-color: var(--s-ink); color: #fff; }

.expertise_item .heading-custom-h5 { margin: 0; }
.expertise_text { color: var(--s-text); }
.expertise_header-subtext p { margin: 0; color: var(--s-text); }
.expertise_image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.expertise_component .section-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: 72px; }
.expertise_masthead h2 { max-width: 660px; }
.expertise_header-subtext { max-width: 400px; }

/* sample lesson */
.af-sample-section { padding: 120px 0; }
.af-sample-head { max-width: 760px; margin: 0 auto 44px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.af-sample-head p { margin: 16px 0 0; color: var(--s-text); font-size: 18px; }
.af-sample-card { max-width: 1080px; margin: 0 auto; padding: 40px; background: #fff; border: 1px solid var(--s-line);
  border-radius: 24px; box-shadow: 0 30px 70px rgba(29, 26, 23, .07); position: relative; overflow: hidden; }
.af-sample-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--s-lpurple), var(--s-lblue), var(--s-lgreen), var(--s-yellow)); }
.af-sample-kicker { margin: 0; color: var(--s-purple); font: 500 13px/1.3 var(--s-font); letter-spacing: .08em; text-transform: uppercase; }
.af-sample-title { margin: 12px 0 10px; font: 500 30px/1.15 var(--s-font); letter-spacing: -.02em; }
.af-sample-note { margin: 0 0 20px; font-size: 16px; line-height: 1.6; color: var(--s-text); }
.af-sample-note strong, .af-sample-take strong { color: var(--s-ink); font-weight: 600; }
.af-sample-doc table { margin: 0; }
.af-sample-take { margin: 20px 0 0; padding: 16px 18px; border-left: 3px solid var(--s-gold); background: var(--s-beige);
  border-radius: 0 14px 14px 0; font-size: 16px; line-height: 1.6; }
.af-center-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 40px; }

/* comparison: "is it right for you" */
.comparison_card_title { margin: 0; }
.comparison_card_item { color: var(--s-ink); }
.comparison_card_item_icon svg { width: 100%; display: block; }
.comparison_component .section-header { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 56px; }
.comparison_component .section-header p { max-width: 640px; margin: 16px 0 0; color: var(--s-text); }

/* pricing */
.af-pricing { padding: 120px 0; }
.af-pricing-head { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 720px; margin: 0 auto 52px; }
.af-pricing-head p { margin: 16px 0 0; color: var(--s-text); font-size: 18px; }
.af-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 986px; margin: 0 auto; }
.af-plan { display: flex; flex-direction: column; gap: 22px; padding: 36px; border-radius: 20px; background: var(--s-beige); border: 1px solid var(--s-line); }
.af-plan.is-best { background: var(--s-ink); color: #fff; border-color: var(--s-ink); position: relative; }
.af-plan-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.af-plan-name { margin: 0; font: 500 24px/1.2 var(--s-font); letter-spacing: -.02em; }
.af-plan-flag { padding: 6px 12px; border-radius: 999px; background: var(--s-yellow); color: var(--s-ink); font: 500 13px var(--s-font); white-space: nowrap; }
.af-plan-price { margin: 0; font: 500 56px/1 var(--s-font); letter-spacing: -.03em; }
.af-plan-price small { font-size: 16px; font-weight: 400; letter-spacing: 0; opacity: .75; margin-left: 6px; }
.af-plan-was { margin-left: 10px; font-size: 22px; font-weight: 400; text-decoration: line-through; opacity: .55; }
.af-plan-sub { margin: 8px 0 0; font-size: 15px; opacity: .8; }
.af-plan ul { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid rgba(29, 26, 23, .12); display: flex; flex-direction: column; gap: 12px; }
.af-plan.is-best ul { border-top-color: rgba(255, 255, 255, .16); }
.af-plan li { display: flex; gap: 12px; align-items: flex-start; font: 400 16px/1.45 var(--s-font); }
.af-plan li .af-ico { width: 20px; height: 20px; margin-top: 1px; color: var(--s-purple); }
.af-plan.is-best li .af-ico { color: var(--s-yellow); }
.af-plan .af-btn { width: 100%; margin-top: auto; }
.af-pick { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.af-pick-label { font-size: 14px; font-weight: 500; }
.af-pick-select { width: 100%; padding: 13px 14px; border: 1px solid var(--s-line-2); border-radius: 12px; background: #fff;
  font: 400 16px var(--s-font); color: var(--s-ink); }
.af-pricing-foot { margin: 28px 0 0; text-align: center; color: var(--s-text); font-size: 15px; }
.af-pricing-foot a { color: var(--s-link); }

/* FAQ (template layout, accessible buttons) */
.faq_masthead .faq_heading { margin: 0; }
.af-acc-h { margin: 0; font: inherit; color: inherit; letter-spacing: normal; }
.af-acc-btn { width: 100%; padding: 0; border: 0; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; gap: 16px; }
.faq_question-text { color: var(--s-ink); }
.faq_icon-wrapper { flex: none; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.af-acc.is-open .faq_icon-wrapper { transform: rotate(45deg); }
.faq_item .af-acc-body { padding-top: 14px; }
.faq_item.is-open .af-acc-body { animation: af-fade .4s cubic-bezier(.2, .7, .2, 1); }
@keyframes af-fade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.faq_answer-text { max-width: 520px; }
.faq_answer-text a { color: var(--s-link); }
.faq_item:first-child .faq-item_inner { padding-top: 0; }
.af-faq-tabs { display: inline-flex; gap: 4px; padding: 5px; margin: 28px 0 0; border-radius: 999px; background: #fff; border: 1px solid var(--s-line); }
.af-faq-tab { border: 0; padding: 10px 18px; border-radius: 999px; background: none; color: var(--s-ink); cursor: pointer; font: 500 15px var(--s-font); }
.af-faq-tab.is-active { background: var(--s-ink); color: #fff; }
.af-faq-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 26px; color: var(--s-text); font-size: 15px; }
.af-faq-note a { color: var(--s-link); }
.af-faq-note .af-ico { color: var(--s-orange); }

.section_cta .heading-custom-h1 { margin: 0; max-width: 820px; }
.cta_masthead p { margin: 20px 0 0; max-width: 560px; font-size: 18px; }
.af-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-shape svg { display: block; width: 100%; height: auto; }

/* ------------------------------------------------------- inner pages */
.af-narrow { max-width: 900px; margin-left: auto; margin-right: auto; }
.af-page-hero { padding: 76px 0 56px; background: var(--s-beige); border-bottom: 1px solid var(--s-line); }
.af-page-hero .af-narrow { margin-left: 0; }
.af-page-title { margin: 0; color: var(--s-ink); font: 500 clamp(36px, 5vw, 62px)/1.08 var(--s-font); letter-spacing: -.03em; }
.af-page-sub { max-width: 720px; margin: 18px 0 0; color: var(--s-text); font: 400 18px/1.6 var(--s-font); }
.af-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; color: var(--s-muted); font-size: 14px; }
.af-crumbs a { color: var(--s-muted); text-decoration: none; }
.af-crumbs a:hover { color: var(--s-ink); }
.af-crumbs [aria-current] { color: var(--s-ink); }
.af-section { padding: 72px 0 110px; }
.af-section-flush { padding: 0 0 70px; }
.af-section-alt { background: var(--s-beige); padding-top: 90px; }
.af-h2 { margin: 0 0 14px; color: var(--s-ink); font: 500 clamp(30px, 3.4vw, 46px)/1.12 var(--s-font); letter-spacing: -.02em; }
.af-h3 { margin: 0 0 14px; color: var(--s-ink); font: 500 23px/1.3 var(--s-font); letter-spacing: -.01em; }
.af-lead { margin: 0 0 24px; font: 400 17px/1.65 var(--s-font); color: var(--s-text); }
.af-lead a, .af-doc a, .af-muted a, .af-panel a, .af-card a:not(.af-btn):not(.af-text-btn), .af-notice a, .af-check a,
.af-contact-tip a, .af-contact-item a { color: var(--s-link); }
.af-doc a.af-btn, .af-panel a.af-btn { color: #fff; text-decoration: none; }
.af-doc a.af-btn-outline, .af-doc a.af-btn-yellow, .af-doc a.af-btn-light { color: var(--s-ink); }
.af-doc a.af-btn-outline:hover { color: #fff; }
.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: 20px; padding: 30px;
  margin-bottom: 20px; font: 400 16px/1.6 var(--s-font); color: var(--s-text); }
.af-card p { margin: 0 0 12px; }
.af-pill { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--s-line);
  font: 500 14px/1.2 var(--s-font); color: var(--s-ink); }
.af-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.af-list li { display: flex; gap: 12px; align-items: flex-start; font: 400 16px/1.5 var(--s-font); color: var(--s-ink); }
.af-list .af-ico { color: var(--s-purple); margin-top: 2px; }

/* course cards (index and "more courses") */
.af-prog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.af-prog-card { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; padding: 12px; transition: transform .35s, box-shadow .35s; }
.af-prog-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(29, 26, 23, .1); }
.af-prog-media { display: block; aspect-ratio: 432 / 260; overflow: hidden; border-radius: 12px; background: #fff; }
.af-prog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; display: block; }
.af-prog-card:hover .af-prog-media img { transform: scale(1.04); }
.af-prog-body { display: flex; flex-direction: column; flex: 1; padding: 20px 12px 12px; }
.af-prog-cat { display: inline-flex; align-items: center; gap: 8px; margin: 0; font: 500 15px/1.3 var(--s-font); color: var(--s-ink); }
.af-prog-cat svg { width: 9px; height: 17px; }
.af-prog-title { margin: 12px 0 10px; font: 500 24px/1.2 var(--s-font); letter-spacing: -.02em; }
.af-prog-title a { color: var(--s-ink); text-decoration: none; }
.af-prog-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.af-prog-text { margin: 0; font: 400 16px/1.55 var(--s-font); color: var(--s-text); }
.af-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 16px 0 0; padding: 0; }
.af-chips li { padding: 5px 12px; border-radius: 999px; background: #fff; color: var(--s-ink); font: 500 13px/1.4 var(--s-font); }
.af-prog-foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; justify-content: space-between; margin-top: auto; padding-top: 22px; }
.af-prog-price span { display: block; font: 500 30px/1 var(--s-font); letter-spacing: -.02em; }
.af-prog-price small { font-size: 13px; color: var(--s-text); }
.af-prog-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.af-bundle { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: 40px; background: var(--s-ink);
  border-radius: 24px; overflow: hidden; color: #d9d2cb; }
.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; margin-top: 18px; }
.af-bundle .af-lead { color: #d9d2cb; }
.af-bundle .af-list li { color: #f1ece7; }
.af-bundle .af-list .af-ico { color: var(--s-yellow); }
.af-bundle .section-subtitle { background: var(--s-yellow); color: var(--s-ink); }

/* course page */
.af-course-hero { padding: 64px 0 72px; border-bottom: 1px solid rgba(29, 26, 23, .08); }
.af-prog-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.af-prog-hero-media img { width: 100%; aspect-ratio: 432 / 340; object-fit: cover; border-radius: 22px; display: block; }
.af-course-hero .section-subtitle { background: #fff; }
.af-course-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.af-buybox { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 30px; padding: 14px 14px 14px 22px;
  background: #fff; border-radius: 20px; width: fit-content; max-width: 100%; }
.af-buybox-price { display: flex; flex-direction: column; }
.af-buybox-amount { font: 500 40px/1 var(--s-font); letter-spacing: -.03em; }
.af-buybox-note { font-size: 13px; margin-top: 4px; color: var(--s-text); }
.af-assure { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; margin: 22px 0 0; padding: 0; color: var(--s-ink); }
.af-assure li { display: flex; gap: 8px; align-items: center; font-size: 15px; }
.af-assure .af-ico { width: 18px; height: 18px; }
.af-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.af-panel { background: #fff; border: 1px solid var(--s-line); border-radius: 20px; padding: 34px; font: 400 16px/1.6 var(--s-font); color: var(--s-text); }
.af-panel p { margin: 0 0 12px; }
.af-panel-accent { background: var(--s-beige); border-color: transparent; }
.af-block { margin: 80px 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: 24px; background: #fff; border: 1px solid var(--s-line); border-radius: 18px; }
.af-module-n { flex: none; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--s-beige); font: 500 16px/1 var(--s-font); }
.af-module h3 { margin: 0 0 6px; color: var(--s-ink); font: 500 19px/1.3 var(--s-font); letter-spacing: -.01em; }
.af-module p { margin: 0; font: 400 15px/1.55 var(--s-font); color: var(--s-text); }
.af-module .af-module-meta { display: flex; gap: 6px; align-items: center; margin-top: 10px; color: var(--s-muted); font-size: 14px; }
.af-module-meta .af-ico { width: 15px; height: 15px; }
.af-notice { display: flex; gap: 14px; margin-top: 30px; padding: 22px 24px; border-radius: 18px; background: var(--s-beige);
  font: 400 15px/1.6 var(--s-font); color: var(--s-text); }
.af-notice p { margin: 0; }
.af-notice strong { color: var(--s-ink); font-weight: 600; }
.af-notice .af-ico { color: var(--s-orange); 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: 44px;
  background: var(--s-yellow); border-radius: 22px; }
.af-upsell > div:first-child { max-width: 680px; }
.af-upsell .af-lead { margin: 0; color: var(--s-ink); }
.af-upsell .section-subtitle { background: #fff; }
.af-more-title { margin-top: 70px; margin-bottom: 0; }
.af-section-alt .af-track { margin-top: 28px; }

/* about, contact, 404 */
.af-about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.af-about-media img { width: 100%; border-radius: 22px; 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: 18px; font: 400 15px/1.55 var(--s-font); color: var(--s-text); }
.af-contact-item > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.af-contact-item .af-ico { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: var(--s-beige); color: var(--s-ink); }
.af-contact-item a { text-decoration: none; overflow-wrap: anywhere; font-weight: 500; }
.af-contact-h { margin: 0 0 2px; color: var(--s-ink); font: 500 17px/1.3 var(--s-font); }
.af-contact-tip { display: flex; gap: 14px; padding: 18px 20px; border-radius: 18px; background: var(--s-beige); font: 400 15px/1.55 var(--s-font); color: var(--s-text); }
.af-contact-tip p { margin: 0; }
.af-contact-tip strong { color: var(--s-ink); font-weight: 600; }
.af-contact-tip .af-ico { color: var(--s-orange); margin-top: 2px; }
.af-form-card h2 { margin-bottom: 18px; }
.af-404 { padding: 90px 0 110px; background: var(--s-beige); }
.af-404-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px; align-items: center; }
.af-404-grid img { width: 100%; border-radius: 22px; }

/* ------------------------------------------------------------ forms */
.af-form { display: flex; flex-direction: column; gap: 16px; font: 400 16px/1.5 var(--s-font); }
.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 { font-size: 14px; font-weight: 500; color: var(--s-ink); }
.af-input { width: 100%; padding: 13px 15px; border: 1px solid var(--s-line-2); border-radius: 14px; background: #fff;
  font: 400 16px var(--s-font); color: var(--s-ink); }
.af-textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.af-input:focus, .af-pick-select:focus { outline: none; border-color: var(--s-purple); box-shadow: 0 0 0 3px rgba(136, 95, 160, .18); }
.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; font: 400 14px/1.55 var(--s-font); cursor: pointer; color: var(--s-text); }
.af-check input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--s-ink); }
.af-pay { display: inline-flex; gap: 10px; align-items: center; justify-content: center; padding: 15px 26px; border: 0;
  border-radius: 999px; background: var(--s-ink); color: #fff; cursor: pointer; font: 500 16px var(--s-font); transition: background-color .25s; }
.af-pay:hover { background: #3a342e; }
.af-pay:disabled { opacity: .6; cursor: wait; }
.af-form-msg { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--s-beige); color: var(--s-ink); font: 400 14px/1.5 var(--s-font); }
.af-form-msg.is-err { background: #fde6e1; color: #8a2c14; }
.af-form-msg.is-ok { background: #e3f6e5; color: #22572a; }
.af-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.af-inline-btn { border: 0; background: none; padding: 0; color: var(--s-link); 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(29, 26, 23, .55); }
.af-modal-card { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow: auto; padding: 34px;
  background: #fff; border-radius: 24px; font: 400 15px/1.5 var(--s-font); color: var(--s-text); box-shadow: 0 30px 80px rgba(29, 26, 23, .3); }
.af-modal-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: var(--s-beige); color: var(--s-ink); font-size: 24px; line-height: 1; cursor: pointer; }
.af-modal-title { margin: 4px 0 6px; color: var(--s-ink); font: 500 28px/1.15 var(--s-font); letter-spacing: -.02em; padding-right: 30px; }
.af-modal-price { margin: 0 0 18px; }
.af-modal-price span { color: var(--s-ink); font: 500 32px var(--s-font); }
.af-modal-list { list-style: none; margin: 0 0 20px; padding: 16px 18px; border-radius: 16px; background: var(--s-beige);
  display: flex; flex-direction: column; gap: 8px; color: var(--s-ink); }
.af-modal-list li { display: flex; gap: 10px; align-items: center; }
.af-modal-list .af-ico { color: var(--s-purple); width: 18px; height: 18px; }
.af-modal-form { display: flex; flex-direction: column; gap: 14px; }
.af-modal-form .af-pay { width: 100%; }
.af-modal-foot { margin: 0; font-size: 13px; text-align: center; color: var(--s-muted); }
.af-modal-seller { margin: 2px 0 0; font-size: 12px; 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 14px; color: var(--s-ink); font: 500 23px/1.25 var(--s-font); }
.af-progress { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 14px; }
.af-progress-bar { flex: 1 1 200px; height: 8px; border-radius: 999px; background: var(--s-beige); overflow: hidden; }
.af-progress-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--s-purple), var(--s-orange)); }
.af-progress-text { font-size: 14px; color: var(--s-muted); }
.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: 14px 4px; color: var(--s-ink) !important; text-decoration: none; }
.af-lib-item a:hover .af-lib-t { text-decoration: underline; text-underline-offset: 3px; }
.af-lib-n { flex: none; width: 34px; color: var(--s-purple); font: 500 15px var(--s-font); }
.af-lib-t { flex: 1; font: 400 16px/1.4 var(--s-font); }
.af-lib-go { flex: none; padding: 4px 10px; border-radius: 999px; background: var(--s-beige); font-size: 13px; }
.af-lib-item.is-done .af-lib-go { background: var(--s-lgreen); }
.af-table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.af-table th, .af-table td { padding: 10px 0; border-bottom: 1px solid var(--s-line); text-align: left; font-size: 15px; vertical-align: top; }
.af-table th { font-weight: 500; width: 40%; color: var(--s-ink); }
code { font-family: var(--s-mono); font-size: .9em; word-break: break-all; }

/* ------------------------------------------------ documents and lessons */
.af-doc { color: var(--s-text); font: 400 17px/1.75 var(--s-font); }
.af-doc h2 { margin: 44px 0 14px; color: var(--s-ink); font: 500 27px/1.25 var(--s-font); letter-spacing: -.02em; }
.af-doc h2:first-child { margin-top: 0; }
.af-doc h3 { margin: 28px 0 10px; color: var(--s-ink); font: 500 20px/1.3 var(--s-font); }
.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-purple); }
.af-doc strong { color: var(--s-ink); 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-beige); color: var(--s-ink); font-weight: 500; }
.af-learn-hero { padding-bottom: 40px; }
.af-article-meta { margin: 0 0 14px; color: var(--s-purple); font: 500 13px/1.3 var(--s-font); letter-spacing: .08em; 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 { font-size: 19px; color: var(--s-ink); }
.af-box { margin: 30px 0; padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--s-line); }
.af-box h2 { margin-top: 0 !important; font-size: 23px; }
.af-box-accent { background: var(--s-beige); border-color: transparent; }
.af-box-warn { border: 1px solid #f3cdb6; background: #fff4ec; }
.af-box-warn h2 { color: #8a3d12; }
.af-routine { width: 100%; border-collapse: collapse; font-size: 15px; }
.af-routine th { background: #fff !important; }
.af-routine td { background: #fff; }
.af-routine td:first-child { color: var(--s-ink); font-weight: 500; }
.af-code { margin: 0 0 22px; padding: 18px 20px; border-radius: 14px; background: var(--s-ink); color: #f4efe9; overflow-x: auto;
  font: 400 14px/1.6 var(--s-mono); }
.af-code code { word-break: normal; white-space: pre; font-size: 14px; }
.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: 44px; margin-bottom: 14px; }
.af-lesson ol.af-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px;
  border-radius: 50%; background: var(--s-yellow); color: var(--s-ink); font: 500 14px/30px var(--s-font); text-align: center; }
.af-takeaway { margin-top: 30px !important; padding: 18px 20px; border-left: 3px solid var(--s-gold); background: var(--s-beige); border-radius: 0 14px 14px 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: var(--s-ink); color: #bdb5ad; font: 400 15px/1.6 var(--s-font); padding: 80px 0 0; }
.af-footer a { color: #e9e3dd; text-decoration: none; transition: color .2s; }
.af-footer a:hover { color: var(--s-yellow); }
.af-foot-top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, .1); }
.af-foot-logo svg { width: 132px; height: auto; display: block; }
.af-foot-logo svg .af-ink { fill: #fff; }
.af-foot-pitch { margin: 20px 0 26px; max-width: 380px; color: #bdb5ad; }
.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: #e9e3dd; font-size: 14.5px; }
.af-foot-badges .af-ico { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: rgba(255, 255, 255, .07); color: var(--s-yellow); }
.af-foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.af-foot-title { margin: 0 0 18px; color: #fff; font: 500 17px/1.3 var(--s-font); letter-spacing: -.01em; }
.af-foot-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.af-foot-list a { font-size: 15px; line-height: 1.4; color: #bdb5ad; }
.af-foot-list a:hover { color: #fff; }
.af-foot-seller { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1); }
.af-foot-cell { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.af-foot-cell .af-ico { flex: none; width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .07); color: var(--s-yellow); }
.af-foot-label { margin: 0 0 4px; color: #fff; font-size: 14px; font-weight: 500; }
.af-foot-value { margin: 0; font-size: 14px; color: #bdb5ad; overflow-wrap: anywhere; }
.af-foot-value a { color: #e9e3dd; }
.af-foot-notice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; color: #a29a92; }
.af-foot-notice p { margin: 0; }
.af-foot-notice strong { color: #e9e3dd; font-weight: 500; }
.af-foot-notice a { color: var(--s-yellow) !important; }
.af-foot-bottom { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; align-items: center; padding: 24px 0 30px;
  font-size: 13.5px; color: #a29a92; }
.af-foot-bottom p { margin: 0; }
.af-foot-bottom-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.af-foot-bottom-links a, .af-foot-bottom-links button { color: #bdb5ad; font: inherit; }
.af-foot-bottom-links button { border: 0; background: none; padding: 0; cursor: pointer; transition: color .2s; }
.af-foot-bottom-links button:hover { color: var(--s-yellow); }
.af-foot-pay { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.af-foot-pay span { padding: 5px 10px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .16); color: #e9e3dd; font: 500 12px/1.2 var(--s-font); letter-spacing: .02em; }

/* ------------------------------------------------------- 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 24px;
  background: #fff; border: 1px solid var(--s-line-2); border-radius: 20px; box-shadow: 0 20px 60px rgba(29, 26, 23, .18);
  color: var(--s-text); font: 400 14px/1.55 var(--s-font); }
.c-consent__title { margin: 0 0 4px; color: var(--s-ink); font: 500 18px var(--s-font); }
.c-consent__text { margin: 0; }
.c-consent__text a { color: var(--s-link); }
.c-consent__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.c-consent__btn { padding: 11px 18px; border-radius: 999px; border: 1px solid var(--s-line-2); background: #fff;
  color: var(--s-ink); cursor: pointer; font: 500 14px var(--s-font); }
.c-consent__btn--accept { background: var(--s-ink); border-color: var(--s-ink); color: #fff; }
.c-consent__btn--reject { background: var(--s-beige); border-color: var(--s-beige); }
.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-ink); font-weight: 500; }
.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-ink); }

/* ------------------------------------------------------------ responsive */
@media screen and (max-width: 1200px) {
  .af-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .af-fact:nth-child(4) { border-left: 0; padding-left: 0; }
  .af-fact:nth-child(n+4) { border-top: 1px solid var(--s-line); }
  .af-nav-link { padding: 8px 10px; }
}

@media screen and (max-width: 991px) {
  .af-nav-menu { display: none; }
  .af-nav-inner { grid-template-columns: auto 1fr; min-height: 68px; }
  .af-burger { display: flex; }
  .af-lib-link, .af-nav-cta { display: none !important; }
  .home_hero_inner { padding: 56px 0; }
  .af-track-list { grid-auto-columns: calc((100% - 24px) / 2); }
  .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: 600px; }
  .af-about-media img { position: static; max-width: 520px; }
  .af-foot-top { grid-template-columns: 1fr; gap: 48px; }
  .af-foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
  .af-foot-seller { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .af-bundle-media img { max-height: 380px; }
  .af-sample-section, .af-pricing { padding: 96px 0; }
  .expertise_component .section-header { margin-bottom: 48px; }
}

@media screen and (max-width: 767px) {
  .home_hero_image { min-height: 0; aspect-ratio: 4 / 3.4; }
  .home_hero_inner { padding: 44px 0 40px; }
  .af-facts { grid-template-columns: 1fr 1fr; }
  .af-fact { border-left: 0 !important; padding: 18px 12px 18px 0 !important; border-top: 1px solid var(--s-line); }
  .af-fact:nth-child(-n+2) { border-top: 0; }
  .af-fact:last-child { grid-column: 1 / -1; }
  .af-track-list { grid-auto-columns: 84%; gap: 16px; }
  .af-prog-grid, .af-two, .af-modules, .af-form-row, .af-plans { grid-template-columns: 1fr; }
  .af-foot-notice { grid-template-columns: 1fr; gap: 14px; }
  .af-section { padding: 50px 0 70px; }
  .af-section-alt { padding-top: 60px; }
  .af-bundle-copy, .af-upsell, .af-panel, .af-sample-card, .af-plan { padding: 26px; }
  .af-page-sub { font-size: 16px; }
  .af-page-hero { padding: 52px 0 40px; }
  .af-course-hero { padding: 44px 0 50px; }
  .af-footer { padding-top: 60px; }
  .af-foot-top { padding-bottom: 40px; }
  .c-consent { grid-template-columns: 1fr; }
  .c-consent__actions { justify-content: flex-start; }
  .af-center-actions { margin-top: 30px; }
  .af-sample-title { font-size: 24px; }
  .af-sample-section, .af-pricing { padding: 72px 0; }
  .af-plan-price { font-size: 46px; }
  .cta_masthead p { font-size: 16px; }
}

@media screen and (max-width: 479px) {
  .af-brand svg { width: 104px; }
  .af-foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; }
  .af-foot-seller { grid-template-columns: 1fr; gap: 20px; }
  .af-foot-bottom { flex-direction: column; align-items: flex-start; }
  .af-foot-bottom-links { gap: 10px 18px; }
  .af-card, .af-modal-card { padding: 22px; }
  .af-buybox { width: 100%; padding: 16px; }
  .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-faq-tabs { display: flex; }
  .af-faq-tab { flex: 1; padding: 10px 8px; font-size: 14px; }
  .af-hero-actions .af-btn, .af-center-actions .af-btn, .af-cta-actions .af-btn { width: 100%; }
  .af-facts { grid-template-columns: 1fr; }
  .af-fact { border-top: 1px solid var(--s-line) !important; }
  .af-fact:first-child { border-top: 0 !important; }
  .af-fact:last-child { grid-column: auto; }
  .af-track-list { grid-auto-columns: 90%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !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: 14px; 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-purple); font: 500 11px/1.6 var(--s-font); text-transform: uppercase; letter-spacing: .08em; }
}

@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; border: 0; }
  body { background: #fff; }
  .af-box { break-inside: avoid; }
  .af-code { background: #f4f4f4; color: #000; }
}
