/* FolliCare WBS: everything on top of the FolliCare Webflow template stylesheet (follicare.css).
   The template's interactions ran on the Webflow runtime, which this site does not load; what they
   did (menu, reveal, accordions, video) is rebuilt here and in site.js. New components (course pages,
   pricing, library, lessons, legal pages, forms, footer, cookie banner) follow the template tokens:
   warm cream backgrounds, deep brown text, copper and gold accents, Hanken Grotesk throughout and
   Spline Sans Mono for small labels. */

@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/hanken-grotesk-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: "Hanken Grotesk"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/hanken-grotesk-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; }
@font-face { font-family: "Spline Sans Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/spline-sans-mono-latin-500.woff2") format("woff2"); }

:root {
  --f-dark: #2b1e12;
  --f-head: #4a3524;
  --f-text: #5f5446;
  --f-muted: #746c5f;
  --f-line: #eae1d3;
  --f-line-2: #ddd1bf;
  --f-bg: #faf6ef;
  --f-cream: #f3ece0;
  --f-white: #fffdf9;
  --f-gold: #dda94f;
  --f-copper: #b87333;
  --f-link: #8a5224;
  --f-radius: 20px;
  --f-font: "Hanken Grotesk", Arial, sans-serif;
  --f-mono: "Spline Sans Mono", ui-monospace, Menlo, monospace;
}

html { -webkit-text-size-adjust: 100%; }
body { background: var(--f-bg); color: var(--f-text); overflow-x: hidden; font-family: var(--f-font); }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--f-copper); 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(--f-dark); color: #fff; text-decoration: none; font: 600 .95rem var(--f-font); }
.af-skip:focus { top: 1rem; }
.af-ico { width: 20px; height: 20px; flex: none; }
.af-small { font-size: 14px; }
.af-muted { color: var(--f-muted); }
.af-gap { margin-bottom: 18px; }
.pre-title { width: fit-content; }

/* ------------------------------------------------------------ buttons */
.af-btn-reset { font-family: inherit; cursor: pointer; -webkit-appearance: none; appearance: none; }
.button-primary { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.button-primary:disabled { opacity: .6; cursor: wait; }

/* ------------------------------------------------------------ header */
.af-nav { z-index: 1000; }
.af-nav-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; min-height: 40px; }
.af-brand { display: inline-flex; align-items: center; text-decoration: none; }
.af-logo { display: inline-flex; align-items: center; gap: 10px; }
.af-logo-icon { flex: none; }
.af-logo-text { color: var(--f-head); font: 650 21px/1 var(--f-font); letter-spacing: -.04em; white-space: nowrap; }
.af-logo-text span { color: var(--f-copper); }
.af-nav-menu { display: flex; justify-content: center; align-items: center; }
.af-nav-link { text-decoration: none; transition: color .25s; }
.af-nav-link:hover, .af-nav-link.w--current { color: var(--f-copper); }
.af-lib-link { display: inline-flex; align-items: center; gap: 8px; color: var(--f-head); text-decoration: none;
  font: 600 14px var(--f-font); white-space: nowrap; transition: color .25s; }
.af-lib-link:hover { color: var(--f-copper); }
.af-lib-link .af-ico { width: 18px; height: 18px; }
.af-nav .nav-button { text-decoration: none; white-space: nowrap; }
.af-burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--f-dark);
  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: var(--f-bg); 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(43, 30, 18, .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: var(--f-bg);
  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(43, 30, 18, .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: var(--f-cream); color: var(--f-head); 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: 14px 0; border-bottom: 1px solid var(--f-line); color: var(--f-head); text-decoration: none;
  font: 600 21px/1.2 var(--f-font); letter-spacing: -.02em; }
.af-mnav-link:hover, .af-mnav-link[aria-current] { color: var(--f-copper); }
.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-size: 13px; color: var(--f-muted); }
.af-mnav-note .af-ico { width: 16px; height: 16px; }
body.af-lock { overflow: hidden; }

/* ------------------------------------------------------- reveal and motion */
.af-pre { opacity: 0; transform: translateY(26px); }
.af-in { opacity: 1; transform: none; transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.hero-left-image { 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 */
.hero-description { color: var(--f-text); }
.af-hero-price { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.hero-badge-top p, .hero-left-meta p, .af-hero-price p { margin: 0; }
.treatment-one-title, .treatment-two-title, .treatment-three-title { margin: 0; }
.treatment-two-title { font-size: 1.5rem; line-height: 1.25; letter-spacing: -.02em; }
.treatment-one-number, .treatment-two-number, .treatment-three-number { margin: 0; font-family: var(--f-font); font-weight: 600; letter-spacing: -.02em; }
.treatment-one-image { opacity: 1; }
.af-other { text-decoration: none; color: inherit; transition: transform .3s; }
.af-other:hover { transform: translateX(4px); }
.af-other:hover .other-treatment-title { color: var(--f-copper); }
.af-other .other-treatment-image { object-fit: cover; flex: none; }
.af-center-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 48px; }
.split-doctor-image { display: block; }
.doctor-icon { width: 24px; height: 24px; }

/* accordions (steps and FAQ), template classes with buttons for keyboard users */
.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; }
.af-acc .step-title, .af-acc .faqs-title { color: var(--f-head); font-weight: 600; font-family: var(--f-font); }
.af-acc .step-title-wrap { display: flex; align-items: center; gap: 14px; }
.af-acc .step-number { font-family: var(--f-mono); color: var(--f-muted); font-size: 13px; }
.af-acc-icon { position: relative; flex: none; display: block; transition: background-color .3s, border-color .3s; }
.af-acc-icon > span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.af-acc.is-open .af-acc-icon > span._02 { transform: translate(-50%, -50%) rotate(90deg); }
.af-acc.is-open .af-acc-icon { background: var(--f-dark); border-color: var(--f-dark); }
.af-acc.is-open .af-acc-icon > span { background: var(--f-bg); }
.af-acc-btn:hover .af-acc-icon { border-color: var(--f-copper); }
.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; } }
.step-description { margin: 0; }
.faqs-description a, .faqs-badge a { color: var(--f-link); }

/* sample lesson, in the template's results band */
.af-sample-section .result-top { margin-bottom: 40px; }
.af-sample-card { max-width: 1040px; margin: 0 auto; padding: 36px; background: var(--f-white); border: 1px solid var(--f-line);
  border-radius: 24px; box-shadow: 0 30px 70px rgba(74, 53, 36, .08); }
.af-sample-kicker { margin: 0; font: 500 11px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--f-link); }
.af-sample-title { margin: 12px 0 10px; color: var(--f-head); font: 600 28px/1.2 var(--f-font); letter-spacing: -.03em; }
.af-sample-note { margin: 0 0 18px; font-size: 15px; line-height: 1.6; }
.af-sample-note strong, .af-sample-take strong { color: var(--f-head); }
.af-sample-doc table { margin: 0; }
.af-sample-take { margin: 18px 0 0; padding: 16px 18px; border-left: 3px solid var(--f-gold); background: var(--f-cream);
  border-radius: 0 14px 14px 0; font-size: 15px; line-height: 1.6; }

.af-why-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.af-promise .review-description { margin: 0; font-family: var(--f-font); color: var(--f-bg); font-weight: 600; }
.af-promise-icon svg { width: 48px; height: 48px; display: block; }
.af-counter { margin: 0; font-family: var(--f-font); font-weight: 600; font-size: clamp(56px, 7vw, 92px); letter-spacing: -.04em; line-height: 1; }

/* pricing, in the template's price cards */
.af-price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; max-width: 900px; margin-left: auto; margin-right: auto; }
.af-pricing .pricing-price { margin: 0; font-family: var(--f-font); font-weight: 600; font-size: 2.5rem; line-height: 1.1; letter-spacing: -.03em; color: var(--f-head); }
.af-pricing .pricing-price.text-gray-8 { color: var(--f-bg); }
.af-pricing .pricing-title { margin: 0; }
.af-pricing .pricing-card-bottom { display: flex; flex-direction: column; gap: 12px; }
.af-pricing .bg-gray-1 .button-primary { width: 100%; }
.af-was { margin-left: 8px; font-size: 18px; font-weight: 500; color: var(--f-muted); text-decoration: line-through; }
.bg-gray-1 .af-was { color: #a99c88; }
.af-pick { display: flex; flex-direction: column; gap: 8px; }
.af-pick-label { font-size: 14px; color: var(--f-head); font-weight: 600; }
.af-pick-select { width: 100%; padding: 12px 14px; border: 1px solid var(--f-line-2); border-radius: 12px; background: var(--f-white);
  font: 400 15px var(--f-font); color: var(--f-head); }
.af-pick .button-primary { width: 100%; }
.pricing-hero-bottom { text-align: center; }
.pricing-link { color: var(--f-link); }

/* FAQ */
.af-faq .faqs-section-title { margin: 14px 0 0; }
.af-faq-h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.1; letter-spacing: -.03em; }
.af-faq-tabs { display: inline-flex; gap: 4px; padding: 5px; margin: 26px 0 22px; border-radius: 999px; background: var(--f-cream); }
.af-faq-tab { border: 0; padding: 10px 18px; border-radius: 999px; background: none; color: var(--f-head); cursor: pointer; font: 600 14px var(--f-font); }
.af-faq-tab.is-active { background: var(--f-dark); color: var(--f-bg); }
.af-faq-page .faqs-section { padding-top: 150px; }

/* ------------------------------------------------------- inner pages */
.af-narrow { max-width: 900px; margin-left: auto; margin-right: auto; }
.af-page-hero { padding: 150px 0 60px; background: var(--f-cream); border-bottom: 1px solid var(--f-line); }
.af-page-hero .af-narrow { margin-left: 0; }
.af-page-title { margin: 0; color: var(--f-head); font: 600 clamp(36px, 5.2vw, 64px)/1.06 var(--f-font); letter-spacing: -.035em; }
.af-page-sub { max-width: 720px; margin: 20px 0 0; color: var(--f-text); font: 400 18px/1.6 var(--f-font); }
.af-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; color: var(--f-muted); font-size: 14px; }
.af-crumbs a { color: var(--f-muted); text-decoration: none; }
.af-crumbs a:hover { color: var(--f-copper); }
.af-crumbs [aria-current] { color: var(--f-head); }
.af-section { padding: 72px 0 110px; }
.af-section-flush { padding: 0 0 70px; }
.af-section-alt { background: var(--f-cream); padding-top: 90px; }
.af-h2 { margin: 0 0 14px; color: var(--f-head); font: 600 clamp(30px, 3.6vw, 46px)/1.12 var(--f-font); letter-spacing: -.03em; }
.af-h3 { margin: 0 0 14px; color: var(--f-head); font: 600 23px/1.3 var(--f-font); letter-spacing: -.02em; }
.af-lead { margin: 0 0 24px; font: 400 17px/1.65 var(--f-font); }
.af-lead a, .af-doc a, .af-muted a, .af-panel a, .af-card a:not(.button-primary):not(.af-text-btn), .af-notice a, .af-check a,
.af-contact-tip a, .af-contact-item a { color: var(--f-link); }
.af-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.af-card { background: var(--f-white); border: 1px solid var(--f-line); border-radius: var(--f-radius); padding: 30px;
  margin-bottom: 20px; font: 400 16px/1.6 var(--f-font); }
.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 11px; border-radius: 999px; background: var(--f-cream); color: var(--f-head);
  font: 500 11px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.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(--f-font); color: var(--f-head); }
.af-list .af-ico { color: var(--f-copper); margin-top: 2px; }

/* course cards */
.af-prog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.af-prog-card { display: flex; flex-direction: column; background: var(--f-white); border: 1px solid var(--f-line);
  border-radius: 22px; overflow: hidden; transition: transform .35s, box-shadow .35s; }
.af-prog-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(74, 53, 36, .1); }
.af-prog-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; margin: 10px 10px 0; border-radius: 14px; background: var(--f-cream); }
.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: 22px 24px 24px; }
.af-prog-cat { margin: 0; color: var(--f-link); font: 500 11px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .14em; }
.af-prog-title { margin: 12px 0 10px; font: 600 24px/1.2 var(--f-font); letter-spacing: -.03em; }
.af-prog-title a { color: var(--f-head); text-decoration: none; }
.af-prog-title a:hover { color: var(--f-copper); }
.af-prog-text { margin: 0; font: 400 15px/1.6 var(--f-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; color: var(--f-head); font: 600 30px/1 var(--f-font); letter-spacing: -.03em; }
.af-prog-price small { font-size: 13px; }
.af-prog-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.af-prog-actions .button-primary { padding: .7rem 1.25rem; }
.af-text-btn { display: inline-flex; gap: 8px; align-items: center; padding: 11px 16px; border: 1px solid var(--f-line-2);
  border-radius: 999px; background: transparent; color: var(--f-head); cursor: pointer; text-decoration: none;
  font: 600 14px/1 var(--f-font); transition: background-color .25s, color .25s, border-color .25s; }
.af-text-btn:hover { background: var(--f-head); border-color: var(--f-head); color: var(--f-bg); }
.af-text-btn .af-ico { width: 16px; height: 16px; }

.af-bundle { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); margin-top: 34px; background: var(--f-dark);
  border-radius: 26px; overflow: hidden; color: #d9cfbf; }
.af-bundle-media img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; display: block; }
.af-bundle-copy { padding: 50px; align-self: center; }
.af-bundle .af-h2 { color: var(--f-bg); margin-top: 16px; }
.af-bundle .af-lead { color: #d9cfbf; }
.af-bundle .af-list li { color: var(--f-line); }
.af-bundle .af-list .af-ico { color: var(--f-gold); }

/* course page */
.af-course-hero { padding: 140px 0 72px; background: var(--f-cream); border-bottom: 1px solid var(--f-line); }
.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: 4 / 4.4; object-fit: cover; border-radius: 26px; display: block; }
.af-course-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.af-buybox { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 28px; padding: 16px 18px;
  background: var(--f-white); border: 1px solid var(--f-line); border-radius: 20px; width: fit-content; max-width: 100%; }
.af-buybox-price { display: flex; flex-direction: column; }
.af-buybox-amount { color: var(--f-head); font: 600 38px/1 var(--f-font); letter-spacing: -.03em; }
.af-buybox-note { font-size: 13px; margin-top: 4px; }
.af-assure { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; margin: 22px 0 0; padding: 0; color: var(--f-head); }
.af-assure li { display: flex; gap: 8px; align-items: center; font-size: 14px; }
.af-assure .af-ico { width: 18px; height: 18px; color: var(--f-copper); }
.af-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.af-panel { background: var(--f-white); border: 1px solid var(--f-line); border-radius: 22px; padding: 34px; font: 400 16px/1.6 var(--f-font); }
.af-panel p { margin: 0 0 12px; }
.af-panel-accent { background: var(--f-cream); 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: var(--f-white); border: 1px solid var(--f-line); border-radius: 18px; }
.af-module-n { flex: none; color: var(--f-copper); font: 500 14px/1.6 var(--f-mono); letter-spacing: .08em; }
.af-module h3 { margin: 0 0 6px; color: var(--f-head); font: 600 19px/1.3 var(--f-font); letter-spacing: -.02em; }
.af-module p { margin: 0; font: 400 15px/1.55 var(--f-font); }
.af-module .af-module-meta { display: flex; gap: 6px; align-items: center; margin-top: 10px; color: var(--f-link); font-size: 13px; }
.af-module-meta .af-ico { width: 14px; height: 14px; }
.af-notice { display: flex; gap: 14px; margin-top: 30px; padding: 22px 24px; border-radius: 18px; background: var(--f-cream);
  border: 1px solid var(--f-line); font: 400 15px/1.6 var(--f-font); }
.af-notice p { margin: 0; }
.af-notice strong { color: var(--f-head); }
.af-notice .af-ico { color: var(--f-copper); 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(--f-white); border: 1px solid var(--f-line); border-radius: 22px; }
.af-upsell > div:first-child { max-width: 680px; }
.af-upsell .af-lead { margin: 0; }
.af-more-title { margin-top: 70px; margin-bottom: 26px; }

/* 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: 24px; 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: var(--f-white);
  border: 1px solid var(--f-line); border-radius: 18px; font: 400 15px/1.55 var(--f-font); }
.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(--f-cream); color: var(--f-copper); }
.af-contact-item a { text-decoration: none; overflow-wrap: anywhere; font-weight: 600; }
.af-contact-h { margin: 0 0 2px; color: var(--f-head); font: 600 17px/1.3 var(--f-font); }
.af-contact-tip { display: flex; gap: 14px; padding: 18px 20px; border-radius: 18px; background: var(--f-cream); font: 400 15px/1.55 var(--f-font); }
.af-contact-tip p { margin: 0; }
.af-contact-tip strong { color: var(--f-head); }
.af-contact-tip .af-ico { color: var(--f-copper); margin-top: 2px; }
.af-form-card h2 { margin-bottom: 18px; }
.af-404 { padding: 150px 0 100px; background: var(--f-cream); }
.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: 26px; }

/* ------------------------------------------------------------ forms */
.af-form { display: flex; flex-direction: column; gap: 16px; font: 400 16px/1.5 var(--f-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: 600; color: var(--f-head); }
.af-input { width: 100%; padding: 13px 15px; border: 1px solid var(--f-line-2); border-radius: 14px; background: var(--f-white);
  font: 400 16px var(--f-font); color: var(--f-head); }
.af-textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.af-input:focus, .af-pick-select:focus { outline: none; border-color: var(--f-copper); box-shadow: 0 0 0 3px rgba(184, 115, 51, .15); }
.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(--f-font); cursor: pointer; color: var(--f-text); }
.af-check input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--f-head); }
.af-pay { display: inline-flex; gap: 10px; align-items: center; justify-content: center; padding: 15px 26px; border: 0;
  border-radius: 999px; background: var(--f-head); color: var(--f-bg); cursor: pointer; font: 600 15px var(--f-font); transition: background-color .25s; }
.af-pay:hover { background: var(--f-dark); }
.af-pay:disabled { opacity: .6; cursor: wait; }
.af-form-msg { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--f-cream); color: var(--f-head); font: 400 14px/1.5 var(--f-font); }
.af-form-msg.is-err { background: #f8e2dc; color: #8a2c14; }
.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(--f-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(43, 30, 18, .55); }
.af-modal-card { position: relative; width: 100%; max-width: 540px; max-height: calc(100vh - 32px); overflow: auto; padding: 34px;
  background: var(--f-bg); border-radius: 24px; font: 400 15px/1.5 var(--f-font); box-shadow: 0 30px 80px rgba(43, 30, 18, .3); }
.af-modal-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: var(--f-cream); color: var(--f-head); font-size: 24px; line-height: 1; cursor: pointer; }
.af-modal-title { margin: 14px 0 6px; color: var(--f-head); font: 600 28px/1.15 var(--f-font); letter-spacing: -.03em; }
.af-modal-price { margin: 0 0 18px; }
.af-modal-price span { color: var(--f-head); font: 600 30px var(--f-font); }
.af-modal-list { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 8px; color: var(--f-head); }
.af-modal-list li { display: flex; gap: 10px; align-items: center; }
.af-modal-list .af-ico { color: var(--f-copper); width: 18px; height: 18px; }
.af-modal-form { display: flex; flex-direction: column; gap: 14px; }
.af-modal-foot { margin: 0; font-size: 13px; text-align: center; color: var(--f-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: 4px 0 16px; color: var(--f-head); font: 600 23px/1.25 var(--f-font); }
.af-lib-items { list-style: none; margin: 0; padding: 0; }
.af-lib-item { border-top: 1px solid var(--f-line); }
.af-lib-item a { display: flex; gap: 14px; align-items: center; padding: 14px 4px; color: var(--f-head) !important; text-decoration: none; }
.af-lib-item a:hover { color: var(--f-copper) !important; }
.af-lib-n { flex: none; width: 34px; color: var(--f-copper); font: 500 14px var(--f-mono); }
.af-lib-t { flex: 1; font: 400 16px/1.4 var(--f-font); }
.af-lib-go { flex: none; color: var(--f-link); font-size: 13px; }
.af-table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.af-table th, .af-table td { padding: 10px 0; border-bottom: 1px solid var(--f-line); text-align: left; font-size: 15px; vertical-align: top; }
.af-table th { font-weight: 600; width: 40%; color: var(--f-head); }
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .9em; word-break: break-all; }

/* ------------------------------------------------ documents and lessons */
.af-doc { color: var(--f-text); font: 400 17px/1.75 var(--f-font); }
.af-doc h2 { margin: 44px 0 14px; color: var(--f-head); font: 600 27px/1.25 var(--f-font); letter-spacing: -.03em; }
.af-doc h2:first-child { margin-top: 0; }
.af-doc h3 { margin: 28px 0 10px; color: var(--f-head); font: 600 20px/1.3 var(--f-font); letter-spacing: -.01em; }
.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(--f-copper); }
.af-doc strong { color: var(--f-head); 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(--f-line-2); text-align: left; vertical-align: top; line-height: 1.55; }
.af-doc th { background: var(--f-cream); color: var(--f-head); font-weight: 600; }
.af-learn-hero { padding-bottom: 40px; }
.af-article-meta { margin: 0 0 14px; color: var(--f-link); font: 500 11px/1.3 var(--f-mono); letter-spacing: .14em; 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(--f-head); }
.af-box { margin: 30px 0; padding: 28px; border-radius: 20px; background: var(--f-white); border: 1px solid var(--f-line); }
.af-box h2 { margin-top: 0 !important; font-size: 23px; }
.af-box-accent { background: var(--f-cream); border-color: transparent; }
.af-box-warn { border: 1px solid #e9c9a8; background: #fdf3e7; }
.af-box-warn h2 { color: #7a3e12; }
.af-routine { width: 100%; border-collapse: collapse; font-size: 15px; }
.af-routine th { background: var(--f-cream) !important; }
.af-routine td:first-child { color: var(--f-head); 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: 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(--f-head); color: var(--f-bg); font: 600 14px/30px var(--f-font); text-align: center; }
.af-takeaway { margin-top: 30px !important; padding: 18px 20px; border-left: 3px solid var(--f-gold); background: var(--f-cream); 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(--f-line); }

/* ------------------------------------------------------------ footer */
.af-footer { padding: 76px 0 28px; color: #cfc3b1; font: 400 15px/1.6 var(--f-font); }
.af-footer a { color: var(--f-line); text-decoration: none; transition: color .25s; }
.af-footer a:hover { color: var(--f-gold); }
.af-foot-top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; padding-bottom: 52px;
  border-bottom: 1px solid rgba(234, 225, 211, .14); }
.af-foot-logo .af-logo-text { color: var(--f-bg); }
.af-foot-logo .af-logo-text span { color: var(--f-gold); }
.af-foot-logo .af-logo-icon path:first-child { fill: #4a3524; stroke: rgba(234, 225, 211, .25); }
.af-foot-pitch { margin: 20px 0 24px; max-width: 360px; color: #cfc3b1; }
.af-foot-badges { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.af-foot-badges li { display: flex; gap: 10px; align-items: center; color: var(--f-line); font-size: 14px; }
.af-foot-badges .af-ico { width: 18px; height: 18px; color: var(--f-gold); }
.af-foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.af-foot-col .footer-title { margin: 0 0 18px; }
.af-foot-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.af-foot-list .footer-link { font-size: 14.5px; line-height: 1.4; }
.af-foot-seller { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: 36px 0;
  border-bottom: 1px solid rgba(234, 225, 211, .14); }
.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: 50%; background: rgba(234, 225, 211, .08);
  color: var(--f-gold); }
.af-foot-label { margin: 0 0 4px; color: var(--f-bg); font-size: 14px; font-weight: 600; }
.af-foot-value { margin: 0; font-size: 14px; color: #cfc3b1; overflow-wrap: anywhere; }
.af-foot-notice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; padding: 28px 0;
  border-bottom: 1px solid rgba(234, 225, 211, .14); font-size: 13.5px; color: #b9ad9a; }
.af-foot-notice p { margin: 0; }
.af-foot-notice strong { color: var(--f-line); }
.af-foot-notice a { color: var(--f-gold) !important; }
.af-foot-bottom { display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; align-items: center; padding-top: 24px;
  font-size: 13.5px; color: #b9ad9a; }
.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: #cfc3b1; font: inherit; }
.af-foot-bottom-links button { border: 0; background: none; padding: 0; cursor: pointer; transition: color .25s; }
.af-foot-bottom-links button:hover { color: var(--f-gold); }
.af-footer .af-lrc { padding: 6px 12px; border: 1px solid rgba(234, 225, 211, .3); border-radius: 999px; color: var(--f-line); }

/* ------------------------------------------------------- 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: var(--f-white); border: 1px solid var(--f-line-2); border-radius: 20px; box-shadow: 0 20px 60px rgba(43, 30, 18, .18);
  color: var(--f-text); font: 400 14px/1.55 var(--f-font); }
.c-consent__title { margin: 0 0 4px; color: var(--f-head); font: 600 18px var(--f-font); }
.c-consent__text { margin: 0; }
.c-consent__text a { color: var(--f-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(--f-line-2); background: var(--f-white);
  color: var(--f-head); cursor: pointer; font: 600 14px var(--f-font); }
.c-consent__btn--accept { background: var(--f-head); border-color: var(--f-head); color: var(--f-bg); }
.c-consent__btn--reject { background: var(--f-cream); border-color: var(--f-cream); }
.c-consent__btn--link { border-color: transparent; background: none; text-decoration: underline; }
.c-consent__prefs { grid-column: 1 / -1; border-top: 1px solid var(--f-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(--f-line); }
.c-consent__rowTitle { margin: 0; color: var(--f-head); 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(--f-head); }

/* ------------------------------------------------------------ responsive */
@media screen and (max-width: 991px) {
  .af-nav-menu { display: none; }
  .af-nav-grid { grid-template-columns: auto 1fr; }
  .af-nav .right-nav { justify-content: flex-end; }
  .af-burger { display: flex; }
  .af-lib-link, .af-nav-cta { display: none; }
  .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-about-media img { position: static; max-width: 520px; }
  .af-foot-top { grid-template-columns: 1fr; gap: 44px; }
  .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-page-hero { padding-top: 130px; }
  .af-course-hero { padding-top: 120px; }
  .af-faq-page .faqs-section { padding-top: 130px; }
}

@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 !important; }
  .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 { padding: 26px; }
  .af-page-sub { font-size: 16px; }
  .af-page-hero { padding: 118px 0 44px; }
  .af-course-hero { padding: 112px 0 50px; }
  .af-footer { padding-top: 56px; }
  .af-foot-top { padding-bottom: 40px; }
  .c-consent { grid-template-columns: 1fr; }
  .c-consent__actions { justify-content: flex-start; }
  .af-center-actions { margin-top: 32px; }
  .af-sample-title { font-size: 23px; }
  .af-faq-page .faqs-section { padding-top: 118px; }
}

@media screen and (max-width: 479px) {
  .af-logo-text { font-size: 19px; }
  .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%; }
  .af-buybox .button-primary { flex: 1 1 100%; }
  .af-inline-form { flex-direction: column; align-items: stretch; }
  .af-inline-form .af-field { flex: none; }
  .af-prog-hero-media img { aspect-ratio: 4 / 3; }
  .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: 13px; }
  .af-center-actions .button-primary { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .af-pre { opacity: 1; transform: none; }
  .hero-left-image { animation: 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(--f-line-2); border-radius: 14px; overflow: hidden; background: var(--f-white); }
  .af-routine td { border: 0; border-bottom: 1px solid var(--f-line); }
  .af-routine td::before { content: attr(data-label); display: block; color: var(--f-link); font: 500 10.5px/1.6 var(--f-mono); 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; border: 0; }
  body { background: #fff; }
  .af-box { break-inside: avoid; }
}

/* labels and chips sitting on the cream heroes get a light fill so they stay visible */
.af-page-hero .pre-title, .af-course-hero .pre-title, .af-404 .pre-title { background: var(--f-white); border: 1px solid var(--f-line); }
.af-course-hero .badge { background: var(--f-white); border-color: var(--f-line); }
