:root {
  --paper: #faf9f5;
  --sage-pale: #e9ede4;
  --sage: #d9e0d1;
  --green: #526b54;
  --forest: #344b3d;
  --ink: #344437;
  --muted: #5d685b;
  --bronze: #786246;
  --line: #ccd2c4;
  --body: "Golos Text", "Segoe UI", sans-serif;
  --display: "Cormorant Garamond", Georgia, serif;
  --ui: "Manrope", "Segoe UI", sans-serif;
  --card-shadow: 0 4px 10px #344b3d04, 0 20px 48px -24px #344b3d30;
  --container: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 18px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
h1,h2,h3,p,ul,ol,blockquote,dl,dd { margin: 0; }
h1,h2,h3 { font-family: var(--display); font-weight: 500; line-height: 1.12; overflow-wrap: break-word; }
h1 { font-size: clamp(48px,5.3vw,76px); letter-spacing: -.025em; }
h2 { font-size: clamp(38px,3.6vw,52px); letter-spacing: -.02em; }
h3 { font-family: var(--ui); font-size: 24px; line-height: 1.3; letter-spacing: -.02em; }
a { color: inherit; text-decoration: none; }
a,button { -webkit-tap-highlight-color: transparent; }
button,input,select,textarea { font: inherit; }
button { cursor: pointer; color: inherit; }
img,svg,video { display: block; max-width: 100%; }
img { height: auto; }
ul[role="list"],ol[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid #785c2a; outline-offset: 4px; }
[hidden] { display: none !important; }
.container { max-width: var(--container); width: calc(100% - 64px); margin-inline: auto; }
.section { padding-block: 96px; }
.section__head { margin-bottom: 44px; max-width: 850px; }
.section__head > p { margin-top: 20px; }
.section__head--split { display: grid; grid-template-columns: .85fr 1.15fr; align-items: end; gap: 72px; max-width: none; }
.section__head--split > p { max-width: 570px; margin-top: 0; color: var(--muted); }
.eyebrow { font-size: 16px; font-weight: 400; margin-bottom: 22px; color: var(--bronze); }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 58px; padding: 16px 30px; border: 1px solid transparent; border-radius: 2px; font-size: 18px; font-weight: 400; line-height: 1.4; text-align: center; transition: background-color .2s; }
.btn--primary { color: white; background: var(--green); }
.btn--primary:hover { background: var(--forest); }
.btn--light { color: var(--forest); background: var(--paper); }
.btn--light:hover { background: var(--sage); }
.btn--outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn--outline:hover { background: var(--sage-pale); }
.btn:disabled { opacity: .55; cursor: default; }
.text-link { display: inline-flex; align-items: center; min-height: 48px; gap: 10px; font-size: 18px; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; text-decoration-color: #8c9984; }
.text-link:hover { color: var(--green); }
.download-link { display: inline-flex; align-items: center; min-height: 52px; gap: 12px; margin-top: 18px; font-size: 18px; }
.download-link svg { flex-shrink: 0; }
.download-link span { text-decoration: underline dashed; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.download-link small { color: var(--muted); font-size: 15px; }
.skip-link { position: fixed; top: 8px; left: 8px; padding: 12px; background: var(--forest); color: white; z-index: 300; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--sage-pale); border-bottom: 1px solid #c4cebc; }
.header__inner { display: flex; min-height: 96px; align-items: center; justify-content: space-between; gap: 28px; }
.logo { display: flex; flex-direction: column; gap: 5px; flex-shrink: 0; }
.logo img { width: 220px; height: 32px; object-fit: contain; object-position: left; }
.logo > span { font-size: 14px; color: var(--muted); }
.nav__menu { display: flex; align-items: center; gap: 28px; }
.nav__menu a { display: flex; align-items: center; min-height: 48px; font-size: 16px; white-space: nowrap; }
.nav__menu a:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav__contact { color: var(--forest); border-bottom: 1px solid #8c9984; }
.nav__toggle { display: none; }
.hero { background: var(--sage-pale) url("/static/img/botanical.svg") no-repeat left -180px bottom 60px / 320px auto; padding-block: 72px 80px; }
.hero__inner { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 72px; }
.hero__content { grid-column: 2; grid-row: 1; }
.hero h1 { max-width: 650px; line-height: 1.02; }
.hero h1 > span { color: var(--bronze); font-style: italic; }
.hero__subtitle { max-width: 550px; font-size: 19px; margin-top: 26px; }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; margin-top: 30px; }
.hero__note { max-width: 550px; margin-top: 30px; padding: 16px 18px; border-left: 3px solid var(--green); border-radius: 0 6px 6px 0; background: #d9e0d180; font-size: 16px; line-height: 1.6; }
.hero__note strong { font-weight: 600; }
.hero__note a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.hero__note > span { display: block; margin-top: 6px; color: var(--muted); }
.hero__media { grid-column: 1; grid-row: 1; min-width: 0; width: 100%; max-width: 360px; margin: 32px auto 0; }
.hero__photo { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.guide__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; }
.guide__grid .section__head { margin-bottom: 0; }
.guide__grid h2 { max-width: 420px; }
.guide__grid .section__head > p { color: var(--muted); }
.guide__help { margin-top: 18px; }
.video-frame { position: relative; overflow: hidden; border-radius: 18px; background: #1c2c23; box-shadow: var(--card-shadow); }
.video-frame video { width: 100%; aspect-ratio: 1; object-fit: contain; }
.video-frame__play { position: absolute; inset: 0; width: 100%; border: 0; background: linear-gradient(180deg, #15271e0d 10%, #15271e33 38%, #15271ef2 100%), url('/static/img/video-poster.jpg') center / cover; color: #fffefa; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 40px 20px; text-shadow: 0 2px 12px #0008; }
.video-frame__play svg { flex-shrink: 0; margin-bottom: 22px; padding: 2px; border-radius: 50%; background: #fffefa; color: var(--forest); box-shadow: 0 4px 24px #0004; transition: transform .2s; }
.video-frame__play:hover svg { transform: scale(1.07); }
.video-frame__play > span { font-family: var(--display); font-size: 34px; font-weight: 500; line-height: 1.2; letter-spacing: -.015em; }
.video-frame__play > small { margin-top: 8px; font-size: 16px; }
.video-frame__play:focus-visible { outline-offset: -6px; }
.guide__media .download-link { margin-top: 20px; }
.book { background: #f0efe7; }
.book__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 80px; align-items: center; }
.book__visual { text-align: center; min-width: 0; }
.book__preview { display: block; position: relative; width: 100%; aspect-ratio: 1.04; }
.book__preview::before { content: ""; position: absolute; inset: 12% 3% 0; background: #e2e4d6; }
.book__sample { position: absolute; top: 16%; right: 0; width: 55%; box-shadow: 0 12px 28px #3f423323; border: 1px solid #dddcd2; }
.book__cover { position: absolute; top: 4%; left: 3%; width: 51%; box-shadow: 5px 14px 28px #25203938; }
.book__visual .text-link { margin-top: 28px; }
.book__content h2 { max-width: 520px; }
.book__intro { font-size: 20px; color: var(--bronze); margin-block: 22px 18px; }
.book__list { margin-top: 26px !important; }
.book__list li { position: relative; padding: 12px 0 12px 27px; border-bottom: 1px solid #d4d7c9; }
.book__list li::before { content: ""; position: absolute; top: 24px; left: 0; width: 12px; height: 7px; border-left: 1.5px solid var(--green); border-bottom: 1.5px solid var(--green); transform: rotate(-45deg); }
.book__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 30px; }
.book__price { font-family: var(--display); font-size: 40px; font-weight: 500; line-height: 1.2; white-space: nowrap; }
.book__price small { display: block; margin-top: 7px; font-size: 16px; font-weight: 400; white-space: normal; }
.program__guide { display: flex; width: fit-content; margin-top: 12px; color: var(--ink); }
.program__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; align-items: stretch; }
.program-card { display: flex; flex-direction: column; gap: 24px; min-width: 0; padding: 34px 32px 32px; border: 1px solid #d6dccd; border-radius: 18px; background: #fffefa; box-shadow: var(--card-shadow); scroll-margin-top: 120px; }
.program-card__cover { width: 100%; max-width: 220px; aspect-ratio: .71; object-fit: contain; margin-inline: auto; filter: drop-shadow(0 8px 10px #17271d26); }
.program-card h3 { max-width: 260px; min-height: 2.16em; font-family: var(--display); font-size: 36px; font-weight: 500; line-height: 1.08; letter-spacing: -.02em; }
.program-card__label { font-size: 16px; margin-bottom: 18px; color: var(--bronze); }
.program-card > p { flex: 1; }
.program-card__availability { display: flex; flex-direction: column; align-items: stretch; gap: 18px; margin-top: auto; padding-top: 24px; border-top: 1px solid #dce1d3; font-size: 16px; color: var(--muted); }
.program-card__availability > p { min-height: 30px; display: flex; align-items: center; }
.program-card--available { background: var(--forest); border-color: var(--forest); color: var(--paper); box-shadow: 0 12px 20px -16px #344b3d55, 0 26px 48px -24px #344b3d60; }
.program-card--available .program-card__label { color: #e0cbaa; }
.program-card--available > p { color: #e6eadf; }
.program-card--available .program-card__availability { border-color: #ffffff38; }
.program-card--available .program-card__availability > p { color: #f2f4ed; }
.program-card--available .program-card__availability > p::before { content: ""; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: #c9d8b8; }
.program-card__availability .btn { padding-inline: 14px; min-height: 54px; border-radius: 5px; }
.author { border-top: 1px solid var(--line); }
.author__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px 72px; align-items: center; }
.author__media { max-width: 400px; width: 100%; margin: 0 auto; padding: 18px; border: 1px solid #d6dccd; border-radius: 22px; background: #fffefa; box-shadow: 0 6px 16px #344b3d06, 0 26px 54px -24px #344b3d3b; }
.author__media img { width: 100%; aspect-ratio: .74; object-fit: cover; object-position: center 30%; border-radius: 12px; }
.author__caption { display: block; padding: 22px 10px 10px; font-size: 17px; line-height: 1.6; color: var(--muted); }
.author__role { display: block; margin-bottom: 8px; font-family: var(--display); font-size: 29px; font-weight: 500; line-height: 1.15; color: var(--ink); }
.author__content > p { margin-top: 22px; }
.author__content > p:first-of-type { font-size: 19px; }
.author__quote { font-family: var(--display); font-size: 38px; font-weight: 500; font-style: italic; line-height: 1.2; letter-spacing: -.015em; margin-top: 30px; padding: 24px 28px; border-left: 2px solid #a39378; border-radius: 0 12px 12px 0; background: #f0efe6; color: var(--bronze); }
.education { grid-column: 1/-1; min-width: 0; padding: 12px 32px 8px; border: 1px solid #d6dccd; border-radius: 20px; background: #fffefa; box-shadow: var(--card-shadow); }
.education summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; cursor: pointer; padding-block: 18px; list-style: none; font-family: var(--display); font-size: 34px; font-weight: 500; line-height: 1.15; letter-spacing: -.015em; }
.education summary::-webkit-details-marker { display: none; }
.education summary > span { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border: 1px solid #c9d2c0; border-radius: 50%; font-family: var(--body); font-size: 25px; font-weight: 400; line-height: 1; }
.education[open] summary > span { transform: rotate(45deg); }
.education dl { padding-block: 6px 12px; }
.education dl > div { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 24px; padding-block: 20px; border-top: 1px solid #e3e7dc; font-size: 18px; }
.education dt { font-weight: 500; color: var(--bronze); }
.reviews { background: var(--sage-pale); }
.reviews__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.review { min-width: 0; padding: 36px; border: 1px solid #d5ddcd; border-radius: 20px; background: #fffefa; box-shadow: var(--card-shadow); }
.review__header { display: flex; align-items: center; gap: 20px; padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid #e3e7dc; }
.review__header img { width: 88px; height: 88px; object-fit: cover; flex-shrink: 0; padding: 5px; border: 1px solid #b2bfa4; border-radius: 50%; background: var(--paper); box-shadow: 0 6px 16px #344b3d1a; }
.review__header h3 { font-family: var(--display); font-size: 29px; font-weight: 600; line-height: 1.12; letter-spacing: -.015em; margin-bottom: 9px; }
.review__header p { font-size: 16px; color: var(--muted); }
.review blockquote { font-size: 18px; line-height: 1.75; }
.review blockquote p + p { margin-top: 20px; }
.articles__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; }
.article-card__image { overflow: hidden; }
.article-card__image img { width: 100%; height: 225px; object-fit: cover; transition: transform .4s; }
.article-card a:hover .article-card__image img { transform: scale(1.025); }
.article-card h3 { font-family: var(--display); font-size: 31px; font-weight: 500; line-height: 1.15; margin-block: 26px 15px; }
.article-card a > p { font-size: 17px; }
.article-card .text-link { margin-top: 15px; }
.contact { background: var(--forest); color: white; }
.contact__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.contact h2 { max-width: 400px; }
.contact__content > p { color: #e6eadf; }
.contact .btn { margin-top: 28px; }
.contact__phone { display: flex; width: fit-content; margin-top: 18px; }
.site-footer { padding-top: 56px; }
.footer__inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 32px; }
.footer__name { font-family: var(--display); font-size: 29px; font-weight: 500; }
.footer__inner p { font-size: 16px; margin-top: 16px; color: var(--muted); }
.footer__inner nav,.footer__contacts { display: flex; flex-direction: column; align-items: start; gap: 8px; font-size: 17px; }
.footer__inner nav a,.footer__contacts a { display: flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.footer__contacts a:first-child { font-size: 20px; }
.footer__contacts a { overflow-wrap: anywhere; }
.footer__seller { padding-bottom: 24px; font-size: 15px; color: var(--muted); }
.contact__links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 22px; }
.contact__links a { text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.footer__bottom { border-top: 1px solid var(--line); padding-block: 22px; color: var(--muted); font-size: 16px; }
.order-dialog { color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; width: min(620px,calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 30px; overflow-y: auto; }
.order-dialog::backdrop { background: #203426b3; }
.order-dialog__header { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.order-dialog__header .eyebrow { margin-bottom: 10px; }
.order-dialog h2 { font-size: 32px; }
.close-button { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); background: transparent; font-size: 32px; line-height: 1; flex-shrink: 0; }
.order-product { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 24px; }
.order-product h3 { font-size: 22px; margin-bottom: 10px; }
.order-product p { font-size: 17px; margin-bottom: 12px; }
.order-product span { font-size: 18px; }
.quantity { margin-top: 18px; display: inline-flex; align-items: center; border: 1px solid var(--line); }
.quantity button { width: 48px; height: 48px; background: transparent; border: 0; }
.quantity button:disabled { opacity: .4; cursor: default; }
.quantity output { min-width: 38px; text-align: center; font-size: 18px; }
.order-dialog__note { padding-block: 24px; margin-top: 24px; font-size: 17px; border-block: 1px solid var(--line); }
.order-total { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-block: 24px; font-size: 18px; }
.order-total strong { font-size: 26px; white-space: nowrap; }
.order-dialog > .btn { width: 100%; }
.order-dialog__phone,.order-dialog__online { display: flex; justify-content: center; min-height: 48px; margin-top: 16px; font-size: 17px; text-decoration: underline; text-underline-offset: 4px; }
.order-dialog > .btn { text-decoration: none; }
.article-page { padding-top: 40px; }
.article-page__header { max-width: 1000px; }
.article-page__header .eyebrow { margin-block: 32px 18px; }
.article-page h1 { font-size: clamp(32px,4vw,46px); }
.article-page__cover { max-width: 1000px; margin-block: 36px; }
.article-page__cover img { width: 100%; max-height: 480px; object-fit: cover; }
.article-page__body { max-width: 800px; width: calc(100% - 48px); margin: 0 auto 64px; font-size: 19px; line-height: 1.75; }
.article-page__body strong { font-weight: 600; }
.article-page__body ul { padding-left: 25px; }
.article-page__source { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 16px; }
.article-page__source a { text-decoration: underline; text-underline-offset: 4px; }
.article-page__cta { padding: 48px 24px; text-align: center; background: var(--sage-pale); }
.article-page__cta h2 { margin-bottom: 24px; }
.checkout-page { padding-block: 40px 64px; }
.checkout-heading { margin-block: 32px; }
.checkout-heading h1 { font-size: clamp(32px,4vw,46px); }
.checkout-heading > p:last-child { margin-top: 20px; }
.checkout-layout { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); align-items: start; gap: 48px; }
.checkout-notice { padding: 24px; border: 1px solid var(--line); background: var(--sage-pale); margin-bottom: 25px; }
.checkout-page fieldset { min-width: 0; border: 0; border-top: 1px solid var(--line); margin: 0 0 32px; padding: 22px 0 0; }
.checkout-page legend { font-size: 25px; font-weight: 500; padding-right: 16px; }
.checkout-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; font-size: 18px; }
.checkout-field input,.checkout-field select,.checkout-field textarea,.city-search input { width: 100%; min-width: 0; font-size: 18px; padding: 13px; min-height: 52px; border: 1px solid #919f8d; border-radius: 4px; color: var(--ink); background: white; }
.checkout-field textarea { resize: vertical; }
.checkout-field input:disabled,.checkout-field select:disabled { opacity: .55; }
.checkout-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.checkout-hint { font-size: 16px; margin-block: 14px 20px; }
.delivery-modes { display: flex; flex-wrap: wrap; gap: 16px 25px; margin-bottom: 24px; }
.delivery-modes label { display: flex; align-items: center; gap: 10px; min-height: 48px; }
.delivery-modes input,.checkout-check input { accent-color: var(--green); width: 22px; height: 22px; flex-shrink: 0; }
.city-search { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; }
.checkout-check { display: flex; align-items: start; gap: 12px; margin-top: 22px; font-size: 17px; }
.checkout-check input { margin-top: 4px; }
.checkout-check a { text-decoration: underline; text-underline-offset: 3px; }
.checkout-error { color: #873f2d; font-size: 18px; margin-block: 20px; }
.checkout-summary { position: sticky; top: 120px; padding: 26px; background: var(--sage-pale); border: 1px solid var(--line); }
.checkout-product { display: grid; grid-template-columns: 80px minmax(0,1fr); gap: 22px; align-items: center; margin-bottom: 28px; }
.checkout-product h2 { font-size: 25px; }
.checkout-product p { font-size: 18px; margin-top: 8px; }
.checkout-product span { font-size: 17px; }
.checkout-totals > div { display: flex; justify-content: space-between; gap: 16px; font-size: 17px; padding-block: 14px; border-top: 1px solid var(--line); }
.checkout-totals dd { text-align: right; }
.checkout-totals .checkout-totals__grand { font-size: 21px; font-weight: 500; padding-top: 20px; }
.payment-result { max-width: 900px; padding-block: 32px; }
.payment-result h1 { font-size: clamp(32px,4vw,44px); margin-bottom: 24px; }
.payment-result > p { margin-bottom: 20px; }
.payment-result > a,.payment-result > button { margin: 12px 20px 12px 0; }
@media (max-width:1050px) {
  .section { padding-block: 76px; }
  .header__inner { min-height: 88px; }
  .nav__toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 11px; border: 1px solid #bdc8b5; border-radius: 50%; background: transparent; }
  .nav__toggle:hover { background: #dfe6d7; }
  .nav__toggle svg { width: 24px; height: 24px; }
  .nav__menu { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 32px !important; max-height: calc(100dvh - 88px); overflow-y: auto; }
  .nav__menu.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .nav__menu a { font-size: 18px; padding: 10px 0; min-height: 50px; }
  .hero__inner,.book__grid,.author__grid,.guide__grid,.contact__grid,.section__head--split { gap: 44px; }
  .hero { padding-block: 56px 64px; }
  .hero h1 { font-size: 62px; }
  .program-card { padding: 28px 24px; }
  .program-card h3 { font-size: 34px; }
  .review { padding: 30px; }
  .articles__grid { gap: 24px; }
  .article-card h3 { font-size: 29px; }
  .checkout-layout { gap: 30px; }
  .checkout-fields { grid-template-columns: 1fr; gap: 0; }
  .checkout-product { grid-template-columns: 65px minmax(0,1fr); gap: 16px; }
  .city-search { grid-template-columns: 1fr; }
}
@media (max-width:800px) {
  .hero__inner { grid-template-columns: .85fr 1.15fr; gap: 32px; }
  .hero h1 { font-size: 50px; }
  .hero__subtitle { font-size: 18px; }
  .guide__grid,.book__grid,.author__grid,.contact__grid,.section__head--split { grid-template-columns: 1fr; gap: 32px; }
  .guide__grid .section__head { max-width: 630px; }
  .guide__grid h2 { max-width: none; }
  .book__visual { max-width: 440px; width: 100%; margin-inline: auto; }
  .book__content { max-width: 650px; }
  .program__grid { grid-template-columns: 1fr; gap: 24px; }
  .program-card { gap: 20px; padding: 32px; }
  .program-card h3 { max-width: none; min-height: 0; font-size: 36px; }
  .program-card__availability .btn { align-self: start; padding-inline: 26px; }
  .author__media { max-width: 420px; margin-inline: auto; }
  .reviews__grid { grid-template-columns: 1fr; }
  .articles__grid { grid-template-columns: 1fr; gap: 36px; }
  .article-card__image img { height: auto; aspect-ratio: 1.7; }
  .article-card h3 { font-size: 32px; }
  .article-card a > p { font-size: 18px; }
  .checkout-layout { display: flex; flex-direction: column; gap: 30px; }
  .checkout-layout > div { width: 100%; }
  .checkout-summary { position: static; width: 100%; order: -1; }
}
@media (max-width:600px) {
  .container { width: calc(100% - 40px); }
  .section { padding-block: 56px; }
  .section__head { margin-bottom: 32px; }
  h1 { font-size: 46px; }
  h2 { font-size: 40px; }
  .header__inner { min-height: 84px; gap: 16px; }
  .logo img { width: 175px; height: 28px; }
  .logo > span { font-size: 13px; }
  .hero { padding-block: 36px 40px; background-image: none; }
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__content { grid-column: auto; grid-row: auto; }
  .hero h1 { font-size: 52px; }
  .hero .eyebrow { font-size: 16px; max-width: 260px; margin-bottom: 20px; }
  .hero__subtitle { font-size: 19px; }
  .hero__actions { gap: 14px; align-items: stretch; flex-direction: column; }
  .hero__actions .text-link { justify-content: center; }
  .hero__note { font-size: 16px; margin-top: 22px; }
  .hero__media { grid-column: auto; grid-row: auto; max-width: none; margin: 0; }
  .hero__photo { aspect-ratio: 1.25; object-position: center 14%; }
  .program-card { gap: 22px; padding: 28px 24px; border-radius: 16px; }
  .program-card h3 { font-size: 36px; }
  .program-card__availability .btn { align-self: stretch; }
  .book__grid { gap: 36px; }
  .book__buy { align-items: start; flex-direction: column; gap: 22px; }
  .book__buy .btn { width: 100%; }
  .download-link { flex-wrap: wrap; gap: 10px; }
  .download-link span { flex: 1; }
  .video-frame__play { padding: 28px 16px; }
  .video-frame__play svg { width: 52px; height: 52px; margin-bottom: 12px; }
  .video-frame__play > span { font-size: 29px; }
  .video-frame__play > small { margin-top: 5px; font-size: 15px; }
  .review { padding: 28px 24px; border-radius: 16px; }
  .review__header { align-items: center; gap: 16px; padding-bottom: 22px; margin-bottom: 22px; }
  .review__header img { width: 76px; height: 76px; padding: 4px; }
  .review__header h3 { font-size: 27px; }
  .review blockquote { font-size: 18px; }
  .author__media { padding: 14px; border-radius: 18px; }
  .author__media img { border-radius: 10px; }
  .author__caption { padding: 20px 8px 8px; }
  .author__role { font-size: 28px; }
  .author__quote { font-size: 34px; padding: 22px; }
  .education { padding: 8px 22px 4px; border-radius: 16px; }
  .education summary { font-size: 30px; gap: 16px; }
  .education summary > span { width: 32px; height: 32px; }
  .education dl > div { grid-template-columns: 48px minmax(0,1fr); gap: 16px; padding-block: 18px; }
  .contact .btn { width: 100%; }
  .footer__inner { grid-template-columns: 1fr; gap: 24px; }
  .order-dialog { padding: 22px; }
  .order-product { grid-template-columns: 72px minmax(0,1fr); gap: 18px; }
  .order-product h3 { font-size: 21px; }
  .order-total { align-items: start; }
  .order-total strong { font-size: 23px; }
  .checkout-page { padding-block: 30px 48px; }
  .checkout-heading { margin-block: 28px; }
  .checkout-summary { padding: 22px; }
  .checkout-product { grid-template-columns: 72px minmax(0,1fr); }
  .checkout-page fieldset > .btn { width: 100%; }
}
@media (max-width:360px) {
  .logo img { width: 154px; }
  .logo > span { font-size: 12px; }
  .header__inner { gap: 12px; }
  h1,.hero h1 { font-size: 44px; }
  h2 { font-size: 36px; }
  .review { padding-inline: 20px; }
  .review__header { gap: 12px; }
  .review__header img { width: 64px; height: 64px; }
  .review__header h3 { font-size: 25px; }
  .order-product { grid-template-columns: 1fr; }
  .order-product > img { width: 90px; }
  .order-dialog__phone { flex-wrap: wrap; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition: none !important; animation: none !important; }
}

/* Payment return pages share the site's paper, sage and serif typography. */
.payment-page { padding-block: 64px 80px; }
.payment-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: stretch; gap: 36px; }
.payment-card { padding: clamp(24px, 4vw, 54px); border: 1px solid var(--line); background: #fffefb; }
.payment-card .eyebrow { margin-bottom: 32px; }
.payment-icon { color: var(--green); margin-bottom: 28px; }
.payment-icon--fail { color: var(--bronze); }
.payment-card h1 { font-size: clamp(40px, 4.5vw, 62px); margin-bottom: 24px; }
.payment-message { max-width: 580px; color: var(--muted); }
.payment-order:not(:empty), .payment-tracking { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.payment-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 14px; }
.payment-aside { padding: 32px; background: var(--sage-pale); }
.payment-book { width: 160px; height: 215px; object-fit: contain; margin-bottom: 28px; }
.payment-aside .eyebrow { font-size: 14px; margin-bottom: 12px; }
.payment-aside h2 { font-size: 42px; margin-bottom: 20px; }
.payment-aside > p:not(.eyebrow) { font-size: 16px; color: var(--muted); }
.payment-aside > a { font-size: 16px; margin-top: 16px; }
@media (max-width: 760px) {
  .payment-page { padding-block: 28px 40px; }
  .payment-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .payment-card { padding: 26px 22px; }
  .payment-actions { flex-direction: column; }
  .payment-aside { padding: 26px; }
}

/* Purchase information: readable documents with persistent contact details. */
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 30px; padding-block: 8px 24px; }
.footer__legal a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; text-decoration: underline; text-underline-offset: 4px; }
.checkout-rules { margin-bottom: 28px; font-size: 16px; color: var(--muted); }
.checkout-rules a { text-decoration: underline; text-underline-offset: 3px; }
.info-page { padding-block: 36px 80px; }
.info-breadcrumbs { display: flex; flex-wrap: wrap; gap: 12px; font-size: 15px; color: var(--muted); }
.info-breadcrumbs a { text-decoration: underline; text-underline-offset: 4px; }
.info-heading { padding-block: 48px; max-width: 870px; }
.info-heading .eyebrow { margin-bottom: 16px; }
.info-heading h1 { font-size: clamp(44px, 5.2vw, 68px); }
.info-heading > p:last-child { margin-top: 24px; max-width: 740px; color: var(--muted); }
.info-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 64px; align-items: start; }
.info-body { min-width: 0; }
.info-body > section { padding-block: 30px; border-top: 1px solid var(--line); scroll-margin-top: 120px; }
.info-body h2 { font-size: clamp(30px, 3.2vw, 40px); margin-bottom: 22px; }
.info-body h3 { font-size: 20px; margin-bottom: 14px; }
.info-body p + p, .info-body ol + p, .info-body p + ol { margin-top: 18px; }
.info-body a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.info-steps { padding-left: 28px; }
.info-steps li { padding-left: 8px; margin-block: 0 20px; }
.info-steps li:last-child { margin-bottom: 0; }
.info-steps li::marker { color: var(--bronze); }
.info-steps strong { font-weight: 500; }
.info-sidebar { position: sticky; top: 120px; }
.info-nav { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.info-nav a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.info-nav a[aria-current] { color: var(--forest); font-weight: 500; }
.info-nav a[aria-current] span { visibility: hidden; }
.info-contact { margin-top: 32px; padding: 28px 24px; background: var(--sage-pale); }
.info-contact .eyebrow { font-size: 14px; margin-bottom: 14px; }
.info-contact h2 { font-size: 32px; margin-bottom: 20px; }
.info-contact > p:not(.eyebrow) { font-size: 16px; }
.info-phone { display: block; margin-block: 8px 22px; font-size: 20px; text-decoration: underline; text-underline-offset: 4px; }
.info-contact .btn { width: 100%; padding-inline: 12px; font-size: 16px; }
.info-contact a:not(.btn) { overflow-wrap: anywhere; }
.info-contact__secondary { display: block; margin-top: 14px; text-decoration: underline; text-underline-offset: 4px; text-align: center; }
.info-small { color: var(--muted); font-size: 15px; }
.info-contact .info-small { margin-top: 20px; }
.info-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-top: 24px; }
.info-options section { padding: 24px; background: var(--sage-pale); font-size: 16px; }
.info-note { margin-block: 24px; padding: 24px; background: var(--sage-pale); border-left: 3px solid var(--green); }
.info-note strong { font-weight: 500; }
.info-note p { margin-top: 14px; font-size: 16px; }
.info-source { padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
@media (max-width: 900px) {
  .info-layout { grid-template-columns: 1fr; gap: 36px; }
  .info-sidebar { position: static; }
  .info-heading { padding-block: 32px; }
}
@media (max-width: 540px) {
  .info-page { padding-block: 24px 48px; }
  .info-options { grid-template-columns: 1fr; }
  .footer__legal { flex-direction: column; align-items: start; gap: 0; }
}
