@charset "UTF-8";

/* Fit & Happy — shared, readable typography and spacing for every public page. */
:root {
  --paper: #fcfaf8;
  --white: #ffffff;
  --ink: #30292c;
  --muted: #655d60;
  --rose: #985366;
  --rose-dark: #783c4c;
  --blush: #f3e5e6;
  --line: #dfd5d5;
  --sage: #edf0e8;
  --sand: #f1eade;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Manrope, Arial, sans-serif;
  --radius: 16px;
  --shadow: 0 8px 28px rgb(48 41 44 / 5%);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a, button, input, textarea, select, summary { touch-action: manipulation; }
button, input, textarea, select { font: inherit; }
button, summary { cursor: pointer; }
button { border: 0; }
button:disabled { opacity: .55; cursor: not-allowed; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--sans); color: var(--ink); font-weight: 600; overflow-wrap: break-word; }
h1 { font-size: clamp(34px, 3.4vw, 48px); line-height: 1.15; letter-spacing: -.035em; }
h2 { font-size: clamp(28px, 2.6vw, 34px); line-height: 1.25; letter-spacing: -.025em; }
h3 { font-size: 22px; line-height: 1.35; letter-spacing: -.015em; }
h4 { font-size: 18px; line-height: 1.4; }
h1 em, h2 em { color: var(--rose-dark); font-style: normal; font-weight: inherit; }
p + p { margin-top: 16px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--rose-dark); outline-offset: 5px; }
.container { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.reading { max-width: 800px; }
.eyebrow { color: var(--rose-dark); font-size: 15px; font-weight: 600; line-height: 1.5; letter-spacing: 0; text-transform: none; margin-bottom: 16px; }
.quiet { color: var(--muted); font-size: 15px; line-height: 1.65; overflow-wrap: anywhere; }
.lead { max-width: 680px; margin: 22px 0 36px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.section-description, .page-intro { max-width: 660px; margin: 18px 0 28px; color: var(--muted); font-size: 17px; }
.centered { text-align: center; margin-top: 24px; }
.mt { margin-top: 40px !important; }
.full { width: 100%; }
.skip { position: fixed; top: -100px; left: 16px; z-index: 50; padding: 12px 20px; color: var(--white); background: var(--ink); border-radius: 8px; }
.skip:focus { top: 12px; }

/* Controls never rely on tiny type for hierarchy. */
.button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; min-height: 50px; padding: 13px 24px; border: 1px solid var(--rose); border-radius: 10px; color: var(--white); background: var(--rose); font-size: 16px; line-height: 1.4; font-weight: 600; text-align: center; transition: background .18s, border-color .18s; }
.button:hover { background: var(--rose-dark); border-color: var(--rose-dark); }
.button-small { min-height: 46px; padding: 11px 18px; font-size: 15px; gap: 12px; }
.button-outline { color: var(--rose-dark); background: transparent; border-color: #bc8e9b; }
.button-outline:hover { color: var(--rose-dark); background: var(--blush); border-color: var(--rose-dark); }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 0; color: var(--rose-dark); font-size: 16px; font-weight: 600; text-decoration: underline; text-decoration-color: #c9a9b1; text-underline-offset: 5px; }
.text-link:hover { color: var(--ink); text-decoration-color: currentColor; }
.text-button { min-height: 44px; padding: 8px 0; color: inherit; background: transparent; font-size: 15px; line-height: 1.5; text-align: left; text-decoration: underline; text-underline-offset: 4px; }
.round-link { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #bc8e9b; border-radius: 50%; color: var(--rose-dark); flex-shrink: 0; }
.round-link:hover { background: var(--blush); }

/* Navigation */
.site-header { position: relative; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 94px; gap: 28px; }
.brand { display: inline-block; flex-shrink: 0; }
.brand > span { font: 600 26px/1.15 var(--sans); letter-spacing: -.045em; white-space: nowrap; }
.brand i { color: var(--rose); font-style: normal; font-weight: 500; }
.brand-dot { color: var(--rose); margin-left: 3px; }
.brand small { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; margin-top: 5px; }
.nav-wrap nav { display: flex; align-items: center; gap: 24px; }
.nav-wrap nav a { font-size: 15px; padding: 12px 0; white-space: nowrap; }
.nav-wrap nav a:hover { color: var(--rose-dark); text-decoration: underline; text-underline-offset: 6px; }
.menu-toggle { display: none; }
.preview-banner { background: var(--ink); color: var(--white); padding: 10px 20px; text-align: center; font-size: 14px; line-height: 1.5; }

/* Landing page: restrained type, a real image, useful information. */
.hero { background: #f4e9e7; }
.hero-grid { display: grid; grid-template-columns: 1.06fr 1fr; align-items: center; gap: 64px; padding-block: 52px; }
.hero-copy { padding-block: 12px; min-width: 0; }
.hero h1 { max-width: 570px; margin-bottom: 24px; }
.hero-description { max-width: 510px; color: #55494e; font-size: 18px; line-height: 1.7; margin-bottom: 28px; }
.hero-actions { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.hero-note { display: flex; gap: 12px; align-items: center; margin-top: 24px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.hero-points { list-style: none; padding: 0; margin: 24px 0 0; color: var(--muted); font-size: 15px; display: grid; gap: 8px; }
.hero-points li { display: flex; gap: 10px; align-items: baseline; }
.hero-points li::before { content: "✓"; color: var(--rose-dark); font-weight: 600; }
.hero-visual { height: 460px; margin: 0; min-width: 0; position: relative; }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: 47% center; border-radius: 18px; background: var(--sand); }
.hero-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-block: 21px; border-top: 1px solid #d8c6c7; font-size: 15px; color: #65565c; }
.hero-bottom > span:not(.scroll-note)::before { content: "✓"; color: var(--rose-dark); margin-right: 9px; }
.scroll-note { margin-left: auto; }
.circle-icon { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border: 1px solid #bc8e9b; border-radius: 50%; color: var(--rose-dark); font-size: 23px; }
.section { padding-block: 76px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.section-heading > div { min-width: 0; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-heading .text-link { flex-shrink: 0; }
.section-intro { max-width: 360px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: center; }
.about-art { position: relative; min-height: 370px; padding: 36px; background: var(--sand); border-radius: var(--radius); overflow: hidden; }
.about-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-art p:not(.eyebrow) { position: relative; font-size: 28px; line-height: 1.4; font-weight: 600; max-width: 320px; margin-top: 28px; }
.about-art p:not(.eyebrow) em { font-style: normal; color: var(--rose-dark); }
.art-kicker, .art-bottom { position: relative; font-size: 15px; line-height: 1.6; color: var(--muted); }
.art-bottom { display: block; margin-top: 28px; }
.about-copy h2 { margin-bottom: 20px; }
.about-art > h3 { font-size: 24px; }
.about-facts { padding: 0; margin: 24px 0 0; list-style: none; }
.about-facts li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.about-facts li:first-child { border-top: 1px solid var(--line); }
.approach-section { padding-block: 64px; background: #f3e9e8; }
.approach-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 38px; }
.approach-grid article { min-width: 0; }
.feature-number { display: inline-flex; margin-bottom: 20px; color: var(--rose-dark); font-size: 15px; font-weight: 600; }
.feature-icon { display: block; width: 40px; height: 40px; color: var(--rose-dark); font-size: 28px; margin-bottom: 18px; }
.approach-grid h3 { font-size: 19px; margin-bottom: 12px; }
.approach-grid p { color: var(--muted); font-size: 16px; line-height: 1.65; }
.program-grid, .coming-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rose { background: var(--blush); }
.sage { background: var(--sage); }
.sand { background: var(--sand); }
.coming-card { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; border: 1px solid rgb(48 41 44 / 8%); border-radius: var(--radius); min-height: 270px; }
.card-number { color: var(--rose-dark); font-size: 15px; font-weight: 600; margin-bottom: 24px; }
.coming-card h3 { font-size: 24px; margin-bottom: 16px; }
.coming-card p { color: var(--muted); font-size: 16px; line-height: 1.65; margin-bottom: 24px; }
.coming-card .status-pill { margin-top: auto; }
.coming-card .status-pill:first-child { margin: 0 0 20px; }
.status-pill { display: inline-block; padding: 7px 12px; background: #fff; color: #655058; border: 1px solid #d8c4ca; border-radius: 6px; font-size: 14px; line-height: 1.45; }
.program-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; display: flex; flex-direction: column; }
.program-cover { display: block; height: 220px; position: relative; overflow: hidden; background: var(--blush); }
.program-cover img { width: 100%; height: 100%; object-fit: cover; }
.program-cover .status-pill { position: absolute; bottom: 16px; left: 16px; right: auto; max-width: calc(100% - 32px); }
.program-card-body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.program-card h3 { font-size: 22px; margin-bottom: 12px; }
.program-card h3 a:hover { color: var(--rose-dark); }
.program-card p { color: var(--muted); font-size: 16px; margin-bottom: 20px; }
.program-meta { color: var(--muted); font-size: 15px; line-height: 1.5; }
.card-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: auto; padding-top: 8px; }
.card-footer strong { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.review-section { background: #f3eeea; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.review-card { padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.review-card p { font-size: 17px; margin-bottom: 24px; }
.review-card h3 { font-size: 17px; }
.quote-mark { display: block; color: var(--rose); font: 56px/1 var(--serif); height: 42px; }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 20px; }
.before-after img { width: 100%; border-radius: 8px; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; }
.faq-grid h2 { margin-bottom: 20px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-child { border-top: 1px solid var(--line); }
summary { position: relative; display: flex; align-items: center; list-style: none; min-height: 44px; padding-right: 36px; font-size: 17px; font-weight: 600; line-height: 1.55; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; top: 50%; right: 0; transform: translateY(-50%); color: var(--rose-dark); font-size: 26px; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { margin-top: 12px; padding-right: 28px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.cta-section { padding-block: 48px; background: #eee0e2; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 36px; }
.cta-inner h2 { font-size: 32px; }
.cta-inner p { color: var(--muted); max-width: 620px; margin-top: 16px; }
.cta-inner .eyebrow { margin-bottom: 12px; }
.cta-inner > .button { flex-shrink: 0; }

/* Footer and documents remain fully readable. */
.site-footer { padding-top: 52px; background: var(--paper); }
.footer-top { display: grid; grid-template-columns: 1.2fr .7fr 1.2fr; gap: 56px; padding-bottom: 40px; }
.footer-top p { margin-top: 16px; color: var(--muted); font-size: 15px; max-width: 310px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; }
.footer-links a:hover { color: var(--rose-dark); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px; padding-block: 24px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.6; color: var(--muted); }
.page-section { padding-block: 56px 80px; min-height: 60vh; }
.page-section > h1 { max-width: 1000px; }
.page-section > h2 { margin: 40px 0 24px; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.back-link:hover { color: var(--rose-dark); text-decoration: underline; text-underline-offset: 4px; }
.prose { color: #554d50; font-size: 17px; line-height: 1.8; overflow-wrap: anywhere; }
.prose p { margin: 18px 0; }
.prose h2 { margin: 36px 0 18px; font-size: 28px; line-height: 1.35; }
.prose h3 { margin: 28px 0 16px; font-size: 22px; }
.prose ul, .prose ol { padding-left: 24px; margin-block: 20px; }
.prose li { margin-block: 8px; padding-left: 4px; }
.prose a, .legal-card a { color: var(--rose-dark); text-decoration: underline; text-underline-offset: 4px; }
.prose blockquote { margin: 24px 0; padding-left: 20px; border-left: 3px solid var(--rose); }
.prose table { font-size: 16px; }
.reading > .prose { margin-top: 30px; }
.empty-state { width: 100%; grid-column: 1/-1; padding: 44px 32px; margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-align: center; }
.empty-state h2 { font-size: 28px; }
.empty-state h3 { font-size: 22px; }
.empty-state p { max-width: 550px; margin: 16px auto 24px; color: var(--muted); font-size: 17px; }
.empty-state > p:first-child { margin-top: 0; }
.empty-icon { display: block; color: var(--rose); font-size: 32px; margin-bottom: 16px; }
.article-grid, .document-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
.article-card, .document-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.article-card h2, .document-card h2 { font-size: 24px; margin-bottom: 16px; line-height: 1.35; }
.article-card p, .document-card p { color: var(--muted); font-size: 16px; }
.article-card > .button, .document-card > .button { margin-top: 24px; }
.article-image { width: 100%; height: auto; border-radius: var(--radius); margin: 32px 0; }
.legal-card, .summary-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.legal-card { margin-top: 36px; }
.legal-card h2 { font-size: 26px; margin-bottom: 22px; }
.legal-card p { font-size: 17px; overflow-wrap: anywhere; }
.summary-card { margin: 24px 0; }
.summary-card h2 { font-size: 26px; }
.summary-card p { color: var(--muted); font-size: 16px; margin-top: 14px; }
.summary-card .text-link { overflow-wrap: anywhere; }
.notice, .messages p { background: var(--blush); border: 1px solid #dbc1c8; padding: 20px 24px; border-radius: 10px; font-size: 16px; line-height: 1.7; }
.messages { padding-top: 24px; }

/* Product detail and payment */
.product-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; gap: 64px; }
.product-grid h2 { font-size: 28px; margin: 36px 0 18px; }
.product-grid h3 { margin: 26px 0 14px; }
.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 30px 0; padding: 24px 0; border-block: 1px solid var(--line); }
.spec-grid b { display: block; font-size: 24px; line-height: 1.3; font-weight: 600; }
.spec-grid span { display: block; color: var(--muted); font-size: 15px; margin-top: 6px; }
.purchase-card { position: sticky; top: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.purchase-card > img { width: 100%; }
.purchase-body { padding: 28px; }
.price { font-size: 36px; line-height: 1.2; font-weight: 600; font-variant-numeric: tabular-nums; margin-bottom: 18px; }
.purchase-body p { color: var(--muted); font-size: 16px; margin-bottom: 24px; }
.purchase-body > .quiet { display: block; margin-top: 18px; }

/* Forms */
.auth-section { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 620px; }
.auth-art { background: #f1e4e3; padding: 80px 56px; display: flex; flex-direction: column; justify-content: center; }
.auth-art h2 { max-width: 400px; font-size: 34px; }
.auth-art > p:not(.eyebrow) { color: var(--muted); max-width: 400px; margin-top: 22px; }
.auth-form { width: 100%; max-width: 560px; margin: auto; padding: 56px 40px; }
.auth-form h1 { font-size: 34px; margin-bottom: 28px; }
.auth-form > p { font-size: 16px; margin-top: 20px; }
.auth-form .eyebrow { font-size: 15px; }
.auth-form > .quiet { font-size: 15px; }
form p { margin: 22px 0; }
label { display: block; font-size: 16px; font-weight: 600; line-height: 1.6; margin-bottom: 8px; }
input:not([type="checkbox"]):not([type="hidden"]), textarea, select { display: block; width: 100%; min-height: 50px; border: 1px solid #b7a5ab; border-radius: 8px; background: var(--white); color: var(--ink); padding: 12px 14px; font-size: 17px; line-height: 1.5; }
textarea { min-height: 140px; resize: vertical; }
input[type="file"] { overflow: hidden; font-size: 16px !important; }
input[type="checkbox"] { accent-color: var(--rose); width: 20px; height: 20px; vertical-align: middle; margin: 0 10px 2px 0; }
label:has(input[type="checkbox"]) { font-weight: 400; }
.helptext { display: block; color: var(--muted); font-size: 15px; line-height: 1.65; margin-top: 8px; }
.helptext ul { padding-left: 22px; }
.errorlist { margin: 12px 0; padding: 0; list-style: none; color: #a32242; font-size: 16px; line-height: 1.6; }
.auth-form form > .button { margin-top: 8px; }
form a:not(.button):not(.text-link) { color: var(--rose-dark); text-decoration: underline; text-underline-offset: 4px; }

/* Member area */
.account-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.account-card h3 { font-size: 24px; margin: 24px 0 14px; }
.account-card p { color: var(--muted); font-size: 16px; margin-bottom: 24px; }
.account-card > .text-link { margin-top: 12px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.55; }
th, td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--blush); font-weight: 600; }
tbody tr:last-child td { border: 0; }
.progress-card { background: var(--blush); padding: 24px 28px; border-radius: 12px; margin: 32px 0; }
.progress-card > div { display: flex; justify-content: space-between; gap: 16px; font-size: 17px; margin-bottom: 16px; }
.progress-card span { color: var(--muted); font-size: 15px; }
progress { appearance: none; display: block; width: 100%; height: 8px; border: 0; border-radius: 30px; background: #d7c3c9; }
progress::-webkit-progress-bar { border-radius: 30px; background: #d7c3c9; }
progress::-webkit-progress-value { border-radius: 30px; background: var(--rose); }
progress::-moz-progress-bar { border-radius: 30px; background: var(--rose); }
.classroom-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.classroom-grid h2 { font-size: 28px; margin: 24px 0; }
.classroom-grid .summary-card { margin-top: 24px; }
.lesson-list { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.lesson-row { display: flex; align-items: center; gap: 16px; padding: 20px 24px; background: var(--white); border-bottom: 1px solid var(--line); }
.lesson-row:last-child { border: 0; }
.lesson-row:hover { background: var(--blush); }
.lesson-check { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #bc8e9b; border-radius: 50%; color: var(--rose-dark); flex-shrink: 0; }
.lesson-row small { color: var(--muted); font-size: 15px; }
.lesson-row h3 { font-size: 17px; margin-top: 4px; }
.lesson-row > span:last-child { margin-left: auto; color: var(--rose-dark); }
.video-frame { aspect-ratio: 16/9; background: var(--ink); border-radius: 12px; overflow: hidden; margin: 32px 0; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.lesson-actions { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 40px; }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.photo-grid img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; }
.photo-grid h3 { font-size: 17px; margin-top: 16px; }
.photo-grid p { color: var(--muted); font-size: 15px; }
.mfa-qr { max-width: 260px; width: 100%; margin: 30px auto; }
.cookie-banner { position: fixed; z-index: 30; bottom: 20px; left: 20px; right: 20px; max-width: 620px; max-height: calc(100dvh - 40px); overflow-y: auto; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 40px rgb(48 41 44 / 15%); }
.cookie-banner p { font-size: 16px; line-height: 1.65; margin-bottom: 18px; }
.cookie-banner > div { display: flex; flex-wrap: wrap; gap: 12px; }

/* Tablet and compact desktop */
@media (max-width: 1100px) {
  .container { width: calc(100% - 56px); }
  .nav-wrap { gap: 18px; }
  .nav-wrap nav { gap: 16px; }
  .brand > span { font-size: 24px; }
  .brand small { max-width: 190px; }
  .hero-grid { gap: 40px; }
  .hero-visual { height: 430px; }
  .about-grid, .faq-grid { gap: 44px; }
  .approach-grid { gap: 24px; }
  .product-grid { gap: 36px; }
  .footer-top { gap: 36px; }
}
@media (max-width: 1000px) {
  .nav-wrap { min-height: 84px; }
  .nav-wrap > .button { margin-left: auto; }
  .menu-toggle { display: flex; order: 3; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 46px; height: 46px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 8px; background: transparent; }
  .menu-toggle span { width: 21px; height: 2px; background: var(--ink); }
  .nav-wrap nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 16px 28px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-wrap nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .nav-wrap nav a { padding: 13px 0; font-size: 17px; }
}
@media (max-width: 800px) {
  .container { width: calc(100% - 40px); }
  .hero-grid { gap: 28px; padding-block: 36px; }
  .hero h1 { font-size: 36px; }
  .hero-description { font-size: 17px; }
  .hero-visual { height: 410px; }
  .section { padding-block: 60px; }
  .about-grid { gap: 32px; }
  .about-art { min-height: 360px; padding: 28px; }
  .approach-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .program-grid, .coming-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .coming-card { padding: 24px; min-height: 250px; }
  .review-grid, .article-grid, .document-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading { gap: 24px; }
  .section-intro { max-width: 280px; font-size: 16px; }
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
  .faq-grid h2 { margin-bottom: 12px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 40px; }
  .footer-top > div:first-child { grid-column: 1/-1; }
  .footer-top p { max-width: 520px; }
  .product-grid { gap: 28px; grid-template-columns: 1.15fr 1fr; }
  .purchase-body { padding: 24px; }
  .classroom-grid { grid-template-columns: 1fr; gap: 24px; }
  .classroom-grid .summary-card { margin-block: 0; }
  .auth-section { grid-template-columns: .85fr 1.15fr; }
  .auth-art { padding: 48px 28px; }
  .auth-art h2 { font-size: 28px; }
  .auth-form { padding: 48px 28px; }
  .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  h3 { font-size: 21px; }
  .nav-wrap { min-height: 84px; gap: 8px; }
  .brand > span { font-size: 22px; }
  .brand small { display: none; }
  .site-footer .brand small { display: block; max-width: none; }
  .nav-wrap > .button { padding: 10px 12px; font-size: 14px; min-height: 44px; border-radius: 8px; }
  .nav-wrap > .button span { display: none; }
  .menu-toggle { width: 44px; height: 44px; }
  .nav-wrap nav { padding-inline: 20px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; padding-block: 36px 28px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: 34px; margin-bottom: 20px; }
  .hero-description { margin-bottom: 24px; }
  .hero-visual { height: 290px; }
  .hero-image { border-radius: 12px; object-position: center 46%; }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { flex: 1; }
  .hero-note, .hero-points { margin-top: 20px; }
  .hero-bottom { gap: 12px; flex-direction: column; align-items: flex-start; padding-block: 20px; }
  .scroll-note { display: none; }
  .section { padding-block: 48px; }
  .section-heading { display: block; margin-bottom: 26px; }
  .section-heading > .text-link { margin-top: 12px; }
  .section-heading > form { margin-top: 16px; }
  .section-intro { max-width: none; font-size: 17px; margin-top: 18px; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-art { min-height: 300px; }
  .about-art p:not(.eyebrow) { font-size: 26px; }
  .about-copy h2 { margin-bottom: 18px; }
  .approach-section { padding-block: 44px; }
  .approach-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; }
  .approach-grid article { position: relative; padding-top: 22px; border-top: 1px solid #d9c6cc; }
  .approach-grid h3 { font-size: 20px; margin-bottom: 10px; }
  .feature-number, .feature-icon { margin-bottom: 12px; }
  .program-grid, .coming-grid, .review-grid, .article-grid, .document-grid { grid-template-columns: 1fr; gap: 20px; }
  .coming-card { min-height: 0; padding: 24px; }
  .coming-card h3 { font-size: 23px; }
  .program-cover { height: 225px; }
  .program-card-body, .review-card, .article-card, .document-card { padding: 24px; }
  .faq-grid { gap: 20px; }
  details { padding-block: 14px; }
  details p { padding-right: 0; }
  .cta-section { padding-block: 36px; }
  .cta-inner { display: block; }
  .cta-inner h2 { font-size: 28px; }
  .cta-inner > .button { margin-top: 24px; }
  .site-footer { padding-top: 40px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; padding-bottom: 28px; }
  .footer-top > div:first-child { grid-column: auto; }
  .footer-links { gap: 0; }
  .footer-bottom { display: block; padding-block: 22px; }
  .footer-bottom > span { display: block; }
  .footer-bottom > span + span { margin-top: 8px; }
  .page-section { padding-block: 36px 56px; min-height: 55vh; }
  .lead { font-size: 17px; margin: 20px 0 28px; }
  .back-link { margin-bottom: 20px; }
  .prose h2 { font-size: 25px; margin-top: 28px; }
  .prose h3 { font-size: 21px; }
  .empty-state { padding: 28px 22px; }
  .empty-state h2 { font-size: 25px; }
  .empty-state .button { width: 100%; }
  .legal-card, .summary-card, .account-card { padding: 24px; }
  .legal-card h2, .summary-card h2 { font-size: 25px; }
  .product-grid { grid-template-columns: 1fr; gap: 32px; }
  .purchase-card { position: static; }
  .spec-grid { gap: 20px; }
  .spec-grid b { font-size: 23px; }
  .price { font-size: 32px; }
  .auth-section { display: block; min-height: 0; }
  .auth-art { display: none; }
  .auth-form { padding: 40px 20px 56px; max-width: 500px; }
  .auth-form h1 { font-size: 32px; }
  .progress-card { padding: 22px; }
  .progress-card > div { flex-direction: column; gap: 8px; }
  .lesson-row { gap: 12px; padding: 18px 16px; }
  .lesson-row > span:last-child { display: none; }
  .lesson-row small { font-size: 14px; }
  .lesson-check { width: 40px; height: 40px; }
  .video-frame { margin-inline: -20px; border-radius: 0; }
  .lesson-actions { display: block; }
  .lesson-actions .button { width: 100%; }
  .lesson-actions > .quiet { display: block; margin-top: 18px; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
  .photo-grid h3 { font-size: 16px; }
  th, td { padding: 14px 12px; font-size: 15px; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 20px; max-height: calc(100dvh - 24px); }
  .cookie-banner > div { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .cookie-banner .button { width: 100%; }
}
@media (max-width: 360px) {
  .container { width: calc(100% - 32px); }
  .brand > span { font-size: 20px; }
  .nav-wrap { gap: 4px; }
  .nav-wrap > .button { max-width: 114px; padding-inline: 9px; font-size: 14px; }
  .hero h1 { font-size: 32px; }
  .hero-visual { height: 260px; }
  .video-frame { margin-inline: -16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .site-footer, .cookie-banner, .preview-banner, .skip { display: none !important; }
  body { color: #000; background: #fff; font-size: 12pt; }
  .container { width: 100%; }
  .page-section { padding: 0; }
  .reading { max-width: none; }
  .prose { color: #000; font-size: 12pt; }
  .prose h2, .prose h3 { break-after: avoid; }
  .prose p, .prose li { orphans: 3; widows: 3; }
}

/* Document library: substantial content, consistent reading and download controls. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.document-hub { max-width: 1000px; }
.document-detail { max-width: 800px; }
.document-heading { margin-top: 28px; }
.document-heading > p:not(.eyebrow) { margin-top: 22px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.document-heading .document-actions { margin-top: 24px; }
.document-notice { padding: 24px 28px; margin-block: 32px; border: 1px solid #dbc1c8; border-radius: 12px; background: var(--blush); }
.document-notice h2 { font-size: 22px; line-height: 1.35; margin-bottom: 14px; }
.document-notice p { font-size: 16px; line-height: 1.75; color: #554d50; }
.document-list { display: grid; gap: 20px; margin-top: 32px; }
.document-list .document-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding: 28px; }
.document-card h2 a:hover { color: var(--rose-dark); text-decoration: underline; text-underline-offset: 5px; }
.document-card .document-meta, .document-meta { color: var(--muted); font-size: 15px; line-height: 1.6; margin-top: 16px; }
.document-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.document-list .document-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
.document-actions .button { flex-shrink: 0; }
.document-operator { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.8; overflow-wrap: anywhere; }
.document-operator h2 { font-size: 25px; margin-bottom: 20px; }
.document-operator a, .document-toc a { color: var(--rose-dark); text-decoration: underline; text-underline-offset: 4px; }
.document-toc { margin: 32px 0; padding: 24px 28px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.document-toc h2 { font-size: 24px; margin-bottom: 16px; }
.document-toc ol { margin: 0; padding-left: 24px; }
.document-toc li { padding-left: 4px; }
.document-toc a { display: inline-block; min-height: 44px; padding: 8px 0; font-size: 16px; line-height: 1.65; }
.document-body { color: #554d50; font-size: 17px; line-height: 1.8; overflow-wrap: anywhere; }
.document-body section + section { margin-top: 36px; }
.document-body h2 { font-size: 26px; line-height: 1.4; margin-bottom: 18px; scroll-margin-top: 24px; }
.document-body p + p { margin-top: 18px; }
@media (max-width: 800px) {
  .document-list .document-card { grid-template-columns: 1fr; gap: 20px; }
  .document-list .document-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
}
@media (max-width: 600px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .text-link { justify-content: center; }
  .document-heading { margin-top: 20px; }
  .document-heading > p:not(.eyebrow) { font-size: 17px; }
  .document-notice, .document-toc { padding: 22px; margin-block: 28px; }
  .document-list .document-card { padding: 24px; }
  .document-card h2 { font-size: 23px; }
  .document-notice h2 { font-size: 21px; }
  .document-body h2 { font-size: 24px; }
  .document-body section + section { margin-top: 28px; }
  .document-operator { margin-top: 32px; }
}
@media print {
  .document-detail { max-width: none; }
  .document-heading, .document-notice, .document-toc, .document-body, .document-operator { color: #000; background: #fff; }
  .document-heading > p, .document-body, .document-notice p, .document-operator { font-size: 12pt; }
  .document-body h2 { break-after: avoid; }
  .document-body p { orphans: 3; widows: 3; }
  .document-actions, .document-detail > .text-link, .document-toc { display: none; }
}
