/* StudentReach. The Waypoint template, taken 1:1 from its CSS and computed
   styles (.template/SPEC.md): page #fdfcfc, ink #1b1a18, green #98e561,
   Bricolage Grotesque 525 headings at -0.05em, Geist body, Geist Mono
   eyebrows, 24px cards, 12px controls, 160px between sections. */

@font-face { font-family: "Bricolage Grotesque"; src: url(../fonts/bricolage.woff2) format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url(../fonts/geist.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(../fonts/geist-mono.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bg: #fdfcfc; --fg: #1b1a18; --card: #fff;
  --primary: #98e561; --primary-ink: #3d6321; --primary-soft: color-mix(in oklab, #98e561 30%, transparent);
  --primary-wash: color-mix(in oklab, #98e561 62%, #fdfcfc); --primary-band: color-mix(in oklab, #98e561 14%, #fdfcfc);
  --secondary: #e9e8e7; --muted: #eeedec; --muted-fg: #6a6662; --accent: #f7f6f5; --border: #f1f0ef; --input: #e4e2e0;
  --leaf: #00d294; --leaf-ink: #007956; --leaf-50: #ecfdf5;
  --sky: #00bcfe; --sky-ink: #0069a4; --sky-50: #f0f9ff;
  --sun: #fcbb00; --sun-ink: #a14600; --sun-50: #fffbeb;
  --iris: #a685ff; --iris-ink: #7008e7; --iris-50: #f5f3ff;
  --coral: #ff667f; --coral-ink: #c20039; --coral-50: #fff1f2;
  --peach: #ff8b1a; --peach-ink: #9f2d00; --peach-50: #fff7ed;
  --head: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --r: 24px; --r-md: 19px; --r-sm: 14px; --r-c: 12px;
  --gap: 160px; --gut: 32px;
  --shadow-soft: 0 0 0 1px rgba(27, 26, 24, .04), 0 2px 6px -2px rgba(27, 26, 24, .08), 0 6px 16px -6px rgba(27, 26, 24, .1);
  --shadow-lg: 0 0 0 1px rgba(27, 26, 24, .04), 0 8px 24px -6px rgba(27, 26, 24, .12), 0 24px 48px -24px rgba(27, 26, 24, .16);
  --shadow-float: 0 0 0 1px rgba(27, 26, 24, .05), 0 2px 6px rgba(51, 41, 41, .1), 0 24px 48px -16px rgba(51, 41, 41, .32);
  --ease: cubic-bezier(.22, 1, .36, 1); --ease-sheet: cubic-bezier(.32, .72, 0, 1); --ease-lean: cubic-bezier(.33, 1, .68, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/24px var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--primary-ink); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--primary-soft); }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--fg); color: var(--bg); padding: 10px 14px; border-radius: var(--r-c); }
.skip:focus { top: 12px; }

.frame { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gut); }
main { display: flex; flex-direction: column; gap: var(--gap); padding-bottom: var(--gap); }
.page-index main { padding-bottom: var(--gap); }

/* Type */
.h1, h1 { font: 525 72px/72px var(--head); letter-spacing: -.05em; }
.h2, h2 { font: 525 48px/48px var(--head); letter-spacing: -.05em; }
.h3 { font: 525 30px/36px var(--head); letter-spacing: -.025em; }
.h4 { font: 625 18px/28px var(--head); }
.lede { color: var(--muted-fg); font-size: 16px; line-height: 24px; max-width: 28rem; }
.lede--lg { font-size: 18px; line-height: 28px; max-width: 34rem; }
.muted { color: var(--muted-fg); }
.mono { font-family: var(--mono); }
.sq { position: relative; display: inline-block; white-space: nowrap; }
.sq svg { position: absolute; left: -2%; right: -2%; bottom: -.18em; width: 104%; height: .32em; overflow: visible; }
.sq path { fill: none; stroke: var(--primary); stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke; }

/* Eyebrow: the mono pill with a dot */
.eyebrow { display: flex; }
.eyebrow.c { justify-content: center; }
.eb { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px 0 10px; border-radius: var(--r-c); background: var(--primary-soft); }
.eb i { width: 6px; height: 6px; border-radius: 50%; background: var(--primary-ink); flex-shrink: 0; }
.eb span { font: 400 12px/16px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--primary-ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: var(--r-c); border: 1px solid transparent; font: 500 14px/20px var(--body); white-space: nowrap; transition: scale .45s var(--ease), background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn:active { scale: .97; transition-duration: .2s; }
.btn--primary { background: var(--primary); color: var(--fg); }
.btn--dark { background: var(--fg); color: var(--bg); }
.btn--outline { background: var(--card); box-shadow: inset 0 0 0 1px var(--input); }
.btn--ghost { background: transparent; }
.btn--lg { height: 48px; padding: 0 20px; font-size: 15px; }
.btn--block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: color-mix(in oklab, var(--primary) 88%, var(--fg)); }
  .btn--dark:hover { background: color-mix(in oklab, var(--fg) 85%, var(--bg)); }
  .btn--outline:hover, .btn--ghost:hover { background: var(--accent); }
}
.tlink { display: inline-flex; align-items: center; gap: 6px; font: 500 14px/20px var(--body); }
.tlink svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) { .tlink:hover svg { transform: translateX(3px); } .tlink:hover { text-decoration: underline; text-underline-offset: 3px; } }
.press { transition: scale .45s var(--ease); }
.press:active { scale: .97; transition-duration: .2s; }

/* Chips */
.chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: var(--r-c); background: var(--card); box-shadow: inset 0 0 0 1px var(--border); font-size: 14px; line-height: 20px; transition: background-color .2s var(--ease), scale .45s var(--ease); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; }
.chip[aria-pressed="true"], .chip.is-on { box-shadow: inset 0 0 0 1.5px var(--primary); background: var(--card); }
.chip:active { scale: .97; }
@media (hover: hover) and (pointer: fine) { .chip:hover { background: var(--accent); } }
.chip .count { color: var(--muted-fg); font-size: 12px; }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: var(--r-c); font: 500 12px/16px var(--body); white-space: nowrap; }
.tag svg { width: 14px; height: 14px; }
.tint--leaf { --t: var(--leaf); --ti: var(--leaf-ink); --t50: var(--leaf-50); }
.tint--sky { --t: var(--sky); --ti: var(--sky-ink); --t50: var(--sky-50); }
.tint--sun { --t: var(--sun); --ti: var(--sun-ink); --t50: var(--sun-50); }
.tint--iris { --t: var(--iris); --ti: var(--iris-ink); --t50: var(--iris-50); }
.tint--coral { --t: var(--coral); --ti: var(--coral-ink); --t50: var(--coral-50); }
.tint--peach { --t: var(--peach); --ti: var(--peach-ink); --t50: var(--peach-50); }
.tag.tint--leaf, .tag.tint--sky, .tag.tint--sun, .tag.tint--iris, .tag.tint--coral, .tag.tint--peach { background: color-mix(in oklab, var(--t) 15%, transparent); color: var(--ti); }
.dot.tint--leaf, .dot.tint--sky, .dot.tint--sun, .dot.tint--iris, .dot.tint--coral, .dot.tint--peach { background: var(--t); }
.level { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted-fg); white-space: nowrap; }
.level i { display: inline-flex; gap: 2px; }
.level i b { width: 6px; height: 6px; border-radius: 50%; background: var(--secondary); }
.level i b.on { background: var(--primary); }

/* ---------------------------------------------------------------- Header */
.site-header { position: sticky; top: 0; z-index: 50; height: 64px; transition: background-color .2s var(--ease), box-shadow .2s var(--ease); }
.site-header.is-bar { background: color-mix(in oklab, var(--bg) 90%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 1px 0 var(--border); }
.header-in { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: flex-end; gap: 2px; flex-shrink: 0; transition: opacity .2s var(--ease); }
.brand-word { font: 525 20px/24px var(--head); letter-spacing: -.05em; }
.brand-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); margin-bottom: 5px; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--primary-ink) 25%, transparent); }
@media (hover: hover) and (pointer: fine) { .brand:hover { opacity: .7; } }
.nav { margin-left: 16px; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; border-radius: var(--r-c); font-size: 14px; line-height: 20px; color: var(--muted-fg); white-space: nowrap; transition: background-color .2s var(--ease), color .2s var(--ease); }
.nav-link svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.nav-link[aria-current="page"] { color: var(--fg); }
@media (hover: hover) and (pointer: fine) { .nav-link:hover { background: var(--accent); color: var(--fg); } }
.dd { position: relative; }
.dd.is-open .dd-btn { background: var(--accent); color: var(--fg); }
.dd.is-open .dd-btn svg { transform: rotate(180deg); }
.dd-panel { position: absolute; left: -12px; top: calc(100% + 8px); width: 620px; padding: 12px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(-4px) scale(.98); transform-origin: top left; visibility: hidden; transition: opacity .15s var(--ease), transform .15s var(--ease), visibility 0s .15s; }
.dd.is-open .dd-panel { opacity: 1; transform: none; visibility: visible; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s; }
.dd-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 10px 10px; }
.dd-k { font: 400 12px/16px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-fg); }
.dd-all { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; }
.dd-all svg { width: 14px; height: 14px; }
.dd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.dd-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--r-sm); transition: background-color .2s var(--ease); }
.dd-item b { display: block; font-weight: 500; font-size: 14px; line-height: 20px; }
.dd-item small { display: block; font-size: 12px; line-height: 16px; color: var(--muted-fg); }
.dd-ic { width: 40px; height: 40px; border-radius: var(--r-c); display: grid; place-items: center; flex-shrink: 0; background: color-mix(in oklab, var(--t) 15%, transparent); color: var(--ti); }
.dd-ic svg { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) { .dd-item:hover { background: var(--accent); } }
.hsearch { position: relative; margin-left: auto; display: flex; align-items: center; width: 248px; height: 40px; padding: 0 4px 0 14px; border-radius: var(--r-c); background: var(--accent); box-shadow: inset 0 0 0 1px var(--border); }
.hsearch input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; outline: 0; font-size: 14px; }
.hsearch input::placeholder { color: var(--muted-fg); }
.hsearch input::-webkit-search-cancel-button { display: none; }
.hsearch:focus-within { box-shadow: inset 0 0 0 1.5px var(--primary); background: var(--card); }
.hs-go { width: 32px; height: 32px; border-radius: 9px; background: var(--primary); display: grid; place-items: center; flex-shrink: 0; }
.hs-go svg { width: 16px; height: 16px; }
.hs-results { position: absolute; right: 0; top: calc(100% + 8px); width: 380px; max-height: 420px; overflow: auto; padding: 8px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-lg); }
.hs-results[hidden] { display: none; }
.hs-item { display: block; padding: 10px 12px; border-radius: var(--r-sm); }
.hs-item b { display: block; font-weight: 500; font-size: 14px; line-height: 20px; }
.hs-item small { display: block; font-size: 12px; color: var(--muted-fg); }
.hs-item.is-active, .hs-item:hover { background: var(--accent); }
.hs-empty { padding: 12px; font-size: 14px; color: var(--muted-fg); }
.hs-all { display: flex; align-items: center; gap: 6px; padding: 10px 12px 6px; font-size: 13px; font-weight: 500; border-top: 1px solid var(--border); margin-top: 6px; }
.hs-all svg { width: 14px; height: 14px; }
.nav-contact { margin-left: 4px; }
.burger { display: none; width: 40px; height: 40px; border-radius: var(--r-c); place-items: center; }
.burger svg { width: 22px; height: 22px; }

.sheet-scrim { position: fixed; inset: 0; z-index: 80; background: rgba(27, 26, 24, .32); opacity: 0; transition: opacity .2s var(--ease); }
.sheet-scrim.is-on { opacity: 1; transition-duration: .3s; }
.sheet-scrim[hidden], .sheet[hidden] { display: none; }
.sheet { position: fixed; z-index: 90; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--bg); padding: 12px 24px 32px; overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); transition: transform .26s cubic-bezier(.4, 0, 1, 1); }
.sheet.is-on { transform: none; transition: transform .45s var(--ease-sheet); }
.sheet-top { display: flex; align-items: center; justify-content: space-between; height: 52px; }
.sheet-close { width: 40px; height: 40px; border-radius: var(--r-c); display: grid; place-items: center; background: var(--accent); }
.sheet-close svg { width: 20px; height: 20px; }
.sheet-search { display: flex; align-items: center; height: 48px; margin: 12px 0 8px; padding: 0 6px 0 14px; border-radius: var(--r-c); background: var(--accent); box-shadow: inset 0 0 0 1px var(--border); }
.sheet-search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: 0; font-size: 16px; }
.sheet-search button { width: 36px; height: 36px; border-radius: 10px; background: var(--primary); display: grid; place-items: center; }
.sheet-search svg { width: 18px; height: 18px; }
.sheet-k { margin: 24px 0 8px; font: 400 12px/16px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-fg); }
.sheet-list a { display: flex; align-items: center; min-height: 48px; font: 525 22px/28px var(--head); letter-spacing: -.025em; border-bottom: 1px solid var(--border); }
.sheet-list--courses a { font-size: 18px; }
.sheet-foot { margin-top: 28px; display: grid; gap: 10px; }
.sheet-foot a { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; }
.sheet-foot svg { width: 18px; height: 18px; color: var(--muted-fg); }

/* ---------------------------------------------------------------- Home hero */
.hero { padding-top: 56px; overflow-x: clip; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 32px; }
.hero h1 { margin-top: 20px; max-width: 14ch; }
.hero .lede { margin-top: 24px; }
.qsearch { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 448px; height: 56px; margin-top: 40px; padding: 0 8px 0 16px; border-radius: var(--r-c); background: var(--card); box-shadow: inset 0 0 0 1px var(--border), var(--shadow-soft); }
.qsearch > svg { width: 20px; height: 20px; color: var(--muted-fg); flex-shrink: 0; }
.qsearch input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font-size: 16px; }
.qsearch input::placeholder { color: var(--muted-fg); }
.qsearch:focus-within { box-shadow: inset 0 0 0 1.5px var(--primary), var(--shadow-soft); }
.qsearch button { width: 40px; height: 40px; border-radius: 10px; background: var(--primary); display: grid; place-items: center; flex-shrink: 0; }
.qsearch button svg { width: 18px; height: 18px; }
.hero-meta { margin-top: 12px; font-size: 13px; color: var(--muted-fg); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; max-width: 520px; }
.hero-art { position: relative; width: 544px; max-width: 100%; aspect-ratio: 544 / 626; margin-left: auto; margin-right: 24px; }
.hero-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.float { position: absolute; z-index: 2; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-float); }
.float--note { left: -96px; top: 47%; width: 236px; padding: 14px 16px 16px; background: var(--fg); color: var(--bg); border-radius: 24px 24px 24px 14px; }
.float--note .fn-top { display: flex; justify-content: space-between; align-items: center; font: 400 11px/16px var(--mono); letter-spacing: .06em; color: color-mix(in oklab, var(--bg) 70%, transparent); }
.float--note .fn-top span { display: inline-flex; align-items: center; gap: 6px; }
.float--note .fn-top i { width: 18px; height: 18px; border-radius: 50%; background: var(--iris); display: grid; place-items: center; color: var(--fg); }
.float--note .fn-top i svg { width: 11px; height: 11px; }
.float--note p { margin-top: 10px; font-size: 13px; line-height: 18px; }
.float--course { right: -40px; top: 12%; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 28px; }
.float--course .fc-ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--leaf-50); color: var(--leaf-ink); }
.float--course .fc-ic svg { width: 18px; height: 18px; }
.float--course b { display: block; font-size: 12px; line-height: 16px; font-weight: 500; }
.float--course small { display: block; font-size: 11px; line-height: 14px; color: var(--muted-fg); }
.float--bar { right: 8px; bottom: 9%; width: 300px; display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 28px; }
.float--bar .fb-play { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; flex-shrink: 0; }
.float--bar .fb-play svg { width: 16px; height: 16px; }
.float--bar .fb-body { flex: 1; min-width: 0; }
.float--bar b { display: block; font-size: 12px; line-height: 16px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.float--bar .fb-track { position: relative; height: 4px; margin-top: 7px; border-radius: 2px; background: var(--muted); }
.float--bar .fb-track i { position: absolute; left: 0; top: 0; bottom: 0; width: 40%; border-radius: 2px; background: var(--primary); }
.float--bar .fb-time { font: 400 11px/14px var(--mono); color: var(--muted-fg); flex-shrink: 0; }
.deco { position: absolute; z-index: 1; color: var(--fg); pointer-events: none; }
.deco--star1 { left: 6%; top: 6%; width: 22px; }
.deco--star2 { left: -6%; bottom: 10%; width: 16px; }
.deco--leaf { right: 4%; top: 2%; width: 44px; color: var(--primary-ink); }
.deco--loop { left: 12%; bottom: 12%; width: 74px; color: var(--fg); }
.deco svg { width: 100%; height: auto; overflow: visible; }
.deco path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.deco .fill { fill: currentColor; stroke: none; }

.feats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 72px; border-top: 1px solid var(--border); }
.feat { padding: 28px 32px 0; position: relative; }
.feat + .feat { border-left: 1px solid var(--border); }
.feat-ic { width: 40px; height: 40px; border-radius: var(--r-c); display: grid; place-items: center; background: color-mix(in oklab, var(--t) 15%, transparent); color: var(--ti); }
.feat-ic svg { width: 20px; height: 20px; }
.feat b { display: block; margin-top: 16px; font-weight: 500; font-size: 15px; }
.feat p { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--muted-fg); max-width: 30ch; }

/* Section heads */
.shead { display: flex; flex-direction: column; gap: 20px; }
.shead.c { align-items: center; text-align: center; }
.shead.c .lede { margin: 0 auto; text-align: center; }
.shead-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.shead-row .lede { max-width: 22rem; }
.shead + * { margin-top: 48px; }

/* ---------------------------------------------------------------- Green slab */
.slab { position: relative; margin-top: 64px; padding: 96px 0 72px; border-radius: 0 0 var(--r) var(--r); overflow: hidden; background: linear-gradient(180deg, var(--primary-band) 0%, color-mix(in oklab, var(--primary) 70%, #5a9e3a) 100%); }
.slab::before { content: ""; position: absolute; left: -10%; right: -10%; top: -150px; height: 260px; border-radius: 50%; background: var(--bg); }
.slab-card { position: relative; width: min(900px, calc(100% - 48px)); margin: 0 auto; border-radius: var(--r); overflow: hidden; background: color-mix(in oklab, var(--primary) 24%, #fff); box-shadow: var(--shadow-lg); }
.slab-row { display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 24px; padding: 26px 32px; }
.slab-row + .slab-row { box-shadow: inset 0 1px 0 color-mix(in oklab, var(--primary-ink) 14%, transparent); }
.slab-row:first-child { background: #2d4a1d; color: #f2f9ec; }
.slab-row:first-child small { color: color-mix(in oklab, #f2f9ec 75%, transparent); }
.slab-word { font: 525 44px/44px var(--head); letter-spacing: -.05em; }
.slab-row b { display: block; font-weight: 500; font-size: 15px; }
.slab-row small { display: block; margin-top: 2px; font-size: 14px; line-height: 20px; color: color-mix(in oklab, var(--fg) 70%, transparent); max-width: 44ch; }
.slab-mark { font: 525 20px/24px var(--head); letter-spacing: -.05em; display: inline-flex; align-items: flex-end; gap: 2px; }
.slab-mark i { width: 7px; height: 7px; border-radius: 50%; background: var(--primary); margin-bottom: 5px; }
.slab-foot { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); }
.slab-foot li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 14px; text-align: center; font-size: 12px; line-height: 16px; color: var(--muted-fg); }
.slab-foot li + li { box-shadow: inset 1px 0 0 var(--border); }
.slab-foot svg { width: 22px; height: 22px; color: var(--fg); }

/* ---------------------------------------------------------------- Ask tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tab { display: inline-flex; align-items: center; height: 40px; padding: 0 20px; border-radius: var(--r-c); background: var(--card); box-shadow: inset 0 0 0 1px var(--border); font-size: 14px; white-space: nowrap; transition: background-color .2s var(--ease), box-shadow .2s var(--ease), scale .45s var(--ease); }
.tab[aria-selected="true"] { box-shadow: inset 0 0 0 1.5px var(--primary); }
.tab:active { scale: .97; }
@media (hover: hover) and (pointer: fine) { .tab:hover { background: var(--accent); } }
.ask-panel { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 32px; padding: 40px; border-radius: var(--r); background: var(--accent); }
.ask-a h3 { font: 525 30px/36px var(--head); letter-spacing: -.025em; max-width: 18ch; }
.ask-a p { margin-top: 16px; color: var(--muted-fg); max-width: 40ch; }
.ask-a .tlink { margin-top: 20px; }
.ask-notes { margin-top: 48px; display: grid; gap: 20px; }
.ask-notes li { display: flex; gap: 12px; font-size: 14px; line-height: 20px; color: var(--muted-fg); max-width: 44ch; }
.ask-notes li svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--fg); margin-top: 1px; }
.ask-notes b { color: var(--fg); font-weight: 500; }
.lcard { padding: 8px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-soft); align-self: start; }
.lcard-img { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-sm); overflow: hidden; background: var(--muted); }
.lcard-img img { width: 100%; height: 100%; object-fit: cover; }
.lcard-badge { position: absolute; right: 10px; bottom: 10px; padding: 3px 8px; border-radius: 8px; background: rgba(27, 26, 24, .7); color: #fff; font: 400 11px/16px var(--mono); }
.lcard-num { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: var(--r-c); background: var(--card); font: 400 11px/16px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.lcard-body { padding: 14px 12px 12px; }
.lcard-body b { display: block; font-weight: 500; font-size: 14px; }
.lcard-body small { display: block; font-size: 12px; color: var(--muted-fg); }
.lcard-prog { display: flex; align-items: center; gap: 10px; margin-top: 14px; font: 400 11px/14px var(--mono); color: var(--muted-fg); }
.lcard-prog span { position: relative; flex: 1; height: 4px; border-radius: 2px; background: var(--muted); }
.lcard-prog span i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: var(--primary); }
.lcard-quote { margin-top: 14px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--iris-50); font-size: 13px; line-height: 19px; }
.lcard-quote small { display: block; font: 400 11px/14px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--iris-ink); margin-bottom: 4px; }

/* ---------------------------------------------------------------- Structure chart */
.chart-panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; padding: 48px; border-radius: var(--r); background: var(--accent); }
.chart-big { font: 525 96px/88px var(--head); letter-spacing: -.05em; color: var(--primary-ink); }
.chart-big small { font-size: 40px; letter-spacing: -.03em; }
.chart-cap { margin-top: 12px; font-size: 14px; line-height: 20px; color: var(--muted-fg); max-width: 26ch; }
.bars { display: grid; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 180px 1fr 52px; align-items: center; gap: 14px; font-size: 13px; }
.bar-row > a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 3px; height: 26px; }
.bar i { border-radius: 6px; background: color-mix(in oklab, var(--t) 70%, #fff); transform-origin: left; }
.bar i:first-child { border-radius: 9px 6px 6px 9px; }
.bar i:last-child { border-radius: 6px 9px 9px 6px; }
.bar-row .mono { font-size: 12px; color: var(--muted-fg); text-align: right; }
.bars-axis { display: flex; justify-content: space-between; margin: 4px 66px 0 194px; font: 400 11px/14px var(--mono); color: var(--muted-fg); }
.lesson-parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.lesson-parts li svg { width: 40px; height: 40px; }
.lesson-parts b { display: block; margin-top: 14px; font-weight: 500; font-size: 15px; }
.lesson-parts p { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--muted-fg); max-width: 32ch; }

/* ---------------------------------------------------------------- Planner */
.planner-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.planner-head h2 { max-width: 15ch; }
.planner-head .lede { max-width: 26rem; }
.planner-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 40px; }
.planner-tabs .k { font: 400 12px/16px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-fg); margin-right: 8px; }
.ptab { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: var(--r-c); font-size: 13px; color: var(--muted-fg); transition: background-color .2s var(--ease), box-shadow .2s var(--ease); }
.ptab svg { width: 16px; height: 16px; }
.ptab[aria-pressed="true"] { background: var(--card); color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--primary); }
.ptab:active { scale: .97; }
@media (hover: hover) and (pointer: fine) { .ptab:hover { background: var(--accent); color: var(--fg); } }
.planner { position: relative; margin-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 40px; border-radius: var(--r); background: var(--primary-band); overflow: hidden; }
.wheel { position: absolute; top: 50%; width: 520px; height: 520px; margin-top: -260px; border-radius: 50%; pointer-events: none; }
.wheel--l { left: -400px; }
.wheel--r { right: -400px; }
.wheel ol { position: absolute; inset: 0; transition: transform .7s var(--ease); }
.wheel li { position: absolute; left: 50%; top: 50%; width: 80px; margin-left: -40px; margin-top: -20px; text-align: center; font: 525 40px/40px var(--head); letter-spacing: -.05em; color: color-mix(in oklab, var(--primary-ink) 22%, transparent); }
.wheel li.on { color: var(--fg); font-size: 56px; }
.wheel-cap { position: absolute; top: 50%; margin-top: 30px; font-size: 11px; color: var(--muted-fg); white-space: nowrap; }
.wheel--l .wheel-cap { left: 132px; }
.wheel--r .wheel-cap { right: 140px; }
.pcard { position: relative; z-index: 2; padding: 24px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-soft); }
.pcard--l { margin-left: 72px; }
.pcard--r { margin-right: 72px; }
.pk { font: 400 11px/16px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-fg); }
.pcard h3 { margin-top: 10px; font: 525 22px/28px var(--head); letter-spacing: -.025em; }
.pfield { margin-top: 22px; }
.pfield > span { display: block; font-size: 12px; color: var(--muted-fg); margin-bottom: 8px; }
.psit { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px; border-radius: var(--r-c); background: var(--accent); box-shadow: inset 0 0 0 1px var(--border); font-size: 14px; }
.psit svg { width: 18px; height: 18px; color: var(--primary-ink); }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.day { display: flex; flex-direction: column; align-items: center; gap: 6px; font: 400 11px/14px var(--mono); color: var(--muted-fg); }
.day button { width: 100%; height: 52px; border-radius: 8px; background: var(--accent); box-shadow: inset 0 0 0 1px var(--border); display: flex; flex-direction: column-reverse; gap: 2px; padding: 4px; transition: scale .45s var(--ease); }
.day button i { height: 12px; border-radius: 3px; background: var(--primary); }
.day button:active { scale: .95; }
.prange { margin-top: 22px; }
.prange label { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted-fg); }
.prange output { color: var(--fg); font-weight: 500; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; margin-top: 8px; background: transparent; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--primary) var(--p, 30%), var(--muted) var(--p, 30%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--muted); }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--primary); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -7px; border-radius: 50%; background: var(--card); box-shadow: 0 0 0 1px var(--input), 0 2px 6px rgba(0, 0, 0, .14); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border: 0; border-radius: 50%; background: var(--card); box-shadow: 0 0 0 1px var(--input), 0 2px 6px rgba(0, 0, 0, .14); }
.pnote { position: absolute; left: 40%; bottom: 36px; z-index: 3; display: flex; align-items: flex-end; gap: 6px; font: 500 16px/18px var(--head); transform: rotate(-4deg); pointer-events: none; }
.pnote svg { width: 34px; height: 40px; }
.pnote path { fill: none; stroke: var(--fg); stroke-width: 1.5; stroke-linecap: round; }
.pdate { margin-top: 8px; font: 525 34px/38px var(--head); letter-spacing: -.04em; }
.psub { font-size: 13px; color: var(--muted-fg); margin-top: 2px; }
.pstats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 20px; border-radius: var(--r-sm); background: var(--primary-band); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--primary) 40%, transparent); }
.pstats li { padding: 12px 14px; font-size: 12px; color: var(--muted-fg); }
.pstats li + li { box-shadow: inset 1px 0 0 color-mix(in oklab, var(--primary) 40%, transparent); }
.pstats svg { width: 16px; height: 16px; color: var(--primary-ink); }
.pstats b { display: block; margin-top: 6px; font: 525 22px/24px var(--head); letter-spacing: -.03em; color: var(--fg); }
.pstats b small { font: 400 12px/14px var(--body); color: var(--muted-fg); letter-spacing: 0; }
.plegs-h { display: flex; justify-content: space-between; margin-top: 20px; font: 400 11px/16px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-fg); }
.plegs { margin-top: 6px; }
.plegs li a { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px; min-height: 40px; padding: 4px 0; font-size: 13px; border-bottom: 1px solid var(--border); }
.plegs li span:first-child { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: var(--accent); font: 400 11px/14px var(--mono); }
.plegs .mono { font-size: 12px; color: var(--muted-fg); }
@media (hover: hover) and (pointer: fine) { .plegs li a:hover span:nth-child(2) { text-decoration: underline; text-underline-offset: 3px; } }
.pactions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pactions .btn { height: 36px; font-size: 13px; }

/* ---------------------------------------------------------------- Course cards */
.ctools { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cfilters { display: flex; flex-wrap: wrap; gap: 8px; }
.cfilters .chip svg { width: 16px; height: 16px; }
.carrows { display: flex; gap: 8px; }
.carrows button { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--card); box-shadow: inset 0 0 0 1px var(--border); transition: scale .45s var(--ease), opacity .2s; }
.carrows button svg { width: 16px; height: 16px; }
.carrows button:disabled { opacity: .4; cursor: default; }
.carrows button:active:not(:disabled) { scale: .94; }
.crow { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; margin-top: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px; margin-left: -4px; margin-right: -4px; }
.crow::-webkit-scrollbar { display: none; }
.cgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ccard { position: relative; display: flex; flex-direction: column; padding: 8px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-soft); scroll-snap-align: start; transition: box-shadow .3s var(--ease); }
.ccard[hidden] { display: none; }
@media (hover: hover) and (pointer: fine) { .ccard:hover { box-shadow: var(--shadow-lg); } .ccard:hover .ccard-img img { transform: scale(1.04); } }
.ccard-img { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; background: var(--muted); }
.ccard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-lean); }
.ccard-badge { position: absolute; left: 10px; top: 10px; height: 22px; padding: 0 8px; border-radius: 8px; display: inline-flex; align-items: center; background: var(--primary); font-size: 11px; font-weight: 500; }
.ccard-who { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; max-width: calc(100% - 20px); height: 28px; padding: 0 10px 0 4px; border-radius: 14px; background: var(--card); font-size: 11px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ccard-who i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); flex-shrink: 0; }
.ccard-who i svg { width: 12px; height: 12px; }
.ccard-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 16px 12px 0; }
.ccard h3 { margin-top: 12px; padding: 0 12px; font: 625 18px/24px var(--head); }
.ccard h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.ccard .sub { padding: 4px 12px 0; font-size: 12px; line-height: 16px; color: var(--muted-fg); }
.ccard-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding: 14px 12px 6px; border-top: 1px solid var(--border); margin-top: 18px; }
.ccard-foot b { font: 525 18px/24px var(--head); letter-spacing: -.02em; }
.ccard-foot span { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 10px; border-radius: 9px; font-size: 12px; background: var(--accent); }
.ccard-foot span svg { width: 13px; height: 13px; }
.ccard-foot span.read { background: var(--primary-soft); color: var(--primary-ink); }

/* ---------------------------------------------------------------- Office cards */
.ogrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ocard { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 18px 22px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-soft); }
.ocard-top { align-self: stretch; display: flex; justify-content: space-between; align-items: center; }
.ocard-top .ob { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--border); }
.ocard-top .ob svg { width: 14px; height: 14px; }
.ocard-av { position: relative; width: 96px; height: 96px; margin-top: 18px; border-radius: 28px; display: grid; place-items: center; background: var(--t50); color: var(--ti); transform: rotate(-4deg); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--t) 25%, transparent); }
.ocard-av svg { width: 42px; height: 42px; transform: rotate(4deg); }
.ocard-av::after { content: ""; position: absolute; right: -4px; bottom: -4px; width: 22px; height: 22px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 3px var(--card); }
.ocard h3 { margin-top: 18px; font: 625 17px/22px var(--head); }
.ocard h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.ocard p { margin-top: 4px; font-size: 13px; line-height: 18px; color: var(--muted-fg); max-width: 26ch; }
.ocard ul { align-self: stretch; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); text-align: left; display: grid; gap: 6px; }
.ocard li { display: flex; gap: 8px; font-size: 12px; line-height: 16px; color: var(--muted-fg); }
.ocard li::before { content: ""; width: 4px; height: 4px; margin-top: 6px; border-radius: 50%; background: var(--muted-fg); flex-shrink: 0; }
@media (hover: hover) and (pointer: fine) { .ocard:hover { box-shadow: var(--shadow-lg); } }

/* ---------------------------------------------------------------- Prep panel (iris) */
.prep { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; padding: 48px; border-radius: var(--r); background: var(--iris-50); position: relative; overflow: hidden; }
.prep h2 { max-width: 13ch; }
.prep .lede { margin-top: 16px; }
.prep-deco { position: absolute; left: 48px; bottom: 40px; width: 180px; color: var(--fg); }
.prep-deco path { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.steps { display: grid; gap: 10px; }
.step { border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-soft); }
.step > button { width: 100%; display: flex; align-items: center; gap: 16px; padding: 18px 20px; text-align: left; }
.step-ic { width: 40px; height: 40px; border-radius: var(--r-c); display: grid; place-items: center; background: var(--accent); flex-shrink: 0; }
.step-ic svg { width: 20px; height: 20px; }
.step-t { flex: 1; }
.step-t small { display: block; font: 400 11px/14px var(--mono); color: var(--muted-fg); }
.step-t b { display: block; font: 525 20px/26px var(--head); letter-spacing: -.02em; }
.step > button > svg { width: 18px; height: 18px; color: var(--muted-fg); transition: transform .3s var(--ease); }
.step[data-open] > button > svg { transform: rotate(180deg); }
.step-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-sheet); }
.step[data-open] .step-body { grid-template-rows: 1fr; }
.step-body > div { overflow: hidden; }
.step-body p { padding: 0 20px 0 76px; font-size: 14px; color: var(--muted-fg); }
.step-body ul { padding: 12px 20px 22px 76px; display: grid; gap: 6px; }
.step-body li { display: flex; gap: 10px; font-size: 13px; line-height: 18px; }
.step-body li::before { content: ""; width: 5px; height: 5px; margin-top: 7px; border-radius: 50%; background: var(--iris); flex-shrink: 0; }

/* ---------------------------------------------------------------- Leave-with */
.carry { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; margin-top: 48px; }
.carry-card { padding: 24px; border-radius: var(--r); }
.carry-card--iris { background: var(--iris-50); }
.carry-card--gray { background: var(--accent); }
.carry-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.carry-h h3 { font: 525 22px/28px var(--head); letter-spacing: -.025em; }
.carry-sheet { margin-top: 20px; padding: 20px; border-radius: var(--r-sm); background: var(--card); box-shadow: var(--shadow-soft); }
.carry-sheet .pk + p { margin-top: 6px; font: 500 16px/22px var(--body); }
.carry-sheet ul { margin-top: 16px; display: grid; gap: 10px; }
.carry-sheet li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 20px; }
.carry-sheet li i { width: 18px; height: 18px; margin-top: 1px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px var(--input); flex-shrink: 0; }
.carry-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--input); font: 400 11px/16px var(--mono); color: var(--muted-fg); }
.prog-seg { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin-top: 20px; }
.prog-seg i { height: 5px; border-radius: 3px; background: var(--secondary); }
.prog-seg i.on { background: var(--primary); }
.prog-rows { margin-top: 18px; }
.prog-rows li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 13px; color: var(--muted-fg); border-bottom: 1px solid var(--border); }
.prog-rows li b { color: var(--fg); font-weight: 500; }
.carry-note { margin-top: 16px; font-size: 13px; line-height: 19px; color: var(--muted-fg); }
.big-line { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
.big-line b { font: 525 112px/100px var(--head); letter-spacing: -.06em; }
.big-line span { font-size: 14px; color: var(--muted-fg); max-width: 26ch; }
.rule-line { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted-fg); }
.rule-line b { font: 500 14px/20px var(--body); color: var(--fg); }
.rule-line .mono { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

/* ---------------------------------------------------------------- Beliefs */
.beliefs { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; padding: 24px; border-radius: var(--r); background: var(--accent); }
.bcard { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; padding: 8px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-soft); }
.bcard-img { border-radius: var(--r-sm); overflow: hidden; background: var(--muted); min-height: 300px; }
.bcard-img img { width: 100%; height: 100%; object-fit: cover; }
.bcard-body { display: flex; flex-direction: column; padding: 16px 16px 16px 0; }
.bq { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--fg); color: var(--bg); }
.bq svg { width: 16px; height: 16px; }
.bcard blockquote { margin-top: 18px; font: 525 26px/32px var(--head); letter-spacing: -.025em; min-height: 128px; }
.bcard .fact { margin-top: 14px; font-size: 14px; line-height: 20px; color: var(--muted-fg); }
.bcard-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 20px; }
.bcount { font: 400 12px/16px var(--mono); color: var(--muted-fg); }
.blist { display: grid; gap: 8px; align-content: start; }
.blist button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: var(--r-sm); background: var(--card); box-shadow: inset 0 0 0 1px var(--border); text-align: left; font-size: 13px; line-height: 18px; transition: box-shadow .2s var(--ease), background-color .2s var(--ease); }
.blist button i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--accent); flex-shrink: 0; font: 400 11px/14px var(--mono); font-style: normal; }
.blist button[aria-selected="true"] { box-shadow: inset 0 0 0 1.5px var(--primary); }
.blist button[aria-selected="true"] i { background: var(--primary-soft); color: var(--primary-ink); }
.blist-k { font: 400 11px/16px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-fg); padding: 8px 4px 4px; }
.blist-logo { padding: 10px 6px 14px; }

/* ---------------------------------------------------------------- Ways + form */
.ways { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 16px; margin-top: 48px; align-items: start; }
.way-list { display: grid; gap: 10px; }
.way { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1px var(--border); }
.way.is-on { box-shadow: inset 0 0 0 1.5px var(--primary); }
.way-ic { width: 40px; height: 40px; border-radius: var(--r-c); display: grid; place-items: center; background: var(--accent); flex-shrink: 0; }
.way-ic svg { width: 20px; height: 20px; }
.way b { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; }
.way p { margin-top: 2px; font-size: 13px; line-height: 19px; color: var(--muted-fg); }
.way .tag { background: var(--primary-soft); color: var(--primary-ink); height: 20px; font-size: 11px; }
.ways-note { margin-top: 16px; padding: 16px 20px; border-radius: var(--r); background: var(--accent); font-size: 13px; line-height: 19px; color: var(--muted-fg); }
.formcard { padding: 28px; border-radius: var(--r); background: var(--primary-band); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--primary) 45%, transparent); }
.formcard .pk { color: var(--primary-ink); }
.formcard h3 { margin-top: 10px; font: 525 30px/34px var(--head); letter-spacing: -.035em; }
.formcard > p { margin-top: 8px; font-size: 14px; color: var(--muted-fg); }

/* ---------------------------------------------------------------- Forms */
.form { margin-top: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.span2 { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-size: 13px; line-height: 18px; font-weight: 500; }
.field .opt { color: var(--muted-fg); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; height: 44px; padding: 0 14px; border: 0; border-radius: var(--r-c); background: var(--card); box-shadow: inset 0 0 0 1px var(--input); font-size: 15px; outline: 0; transition: box-shadow .2s var(--ease); }
.field textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; line-height: 22px; }
.field input::placeholder, .field textarea::placeholder { color: #75706b; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: inset 0 0 0 1.5px var(--primary-ink); }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { box-shadow: inset 0 0 0 1.5px var(--coral-ink); }
.field-msg { margin-top: 6px; font-size: 12px; color: var(--coral-ink); }
.select { position: relative; }
.select select { -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer; }
.select svg { position: absolute; right: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; pointer-events: none; color: var(--muted-fg); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 4px; border-radius: var(--r-c); background: var(--card); box-shadow: inset 0 0 0 1px var(--input); }
.seg label { position: relative; display: grid; place-items: center; height: 36px; border-radius: 9px; font-size: 13px; cursor: pointer; margin: 0; font-weight: 400; transition: background-color .2s var(--ease), box-shadow .2s var(--ease); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg input:checked + span { position: absolute; inset: 0; border-radius: 9px; box-shadow: inset 0 0 0 1.5px var(--primary); background: var(--primary-band); }
.seg label b { position: relative; font-weight: 400; }
.seg input:focus-visible + span { outline: 2px solid var(--primary-ink); outline-offset: 1px; }
.consents { display: grid; gap: 12px; margin-top: 18px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; }
.check-box { width: 22px; height: 22px; border-radius: 7px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--input); display: grid; place-items: center; color: transparent; transition: background-color .15s var(--ease), box-shadow .15s var(--ease); }
.check-box svg { width: 14px; height: 14px; stroke-width: 2.4; }
.check input:checked + .check-box { background: var(--fg); box-shadow: none; color: var(--bg); }
.check input:focus-visible + .check-box { outline: 2px solid var(--primary-ink); outline-offset: 2px; }
.check.is-bad .check-box { box-shadow: inset 0 0 0 1.5px var(--coral-ink); }
.check-text { font-size: 12px; line-height: 18px; color: #57534f; }
.check-text a { text-decoration: underline; text-underline-offset: 2px; color: var(--fg); }
.consent-links { font-size: 12px; line-height: 18px; color: #57534f; padding-left: 32px; }
.consent-links a { text-decoration: underline; text-underline-offset: 2px; color: var(--fg); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin-top: 14px; font-size: 13px; color: var(--coral-ink); min-height: 0; }
.form-error:empty { display: none; }
.btn--submit { margin-top: 18px; width: 100%; height: 48px; font-size: 15px; }
.btn--submit[aria-busy="true"] { opacity: .7; pointer-events: none; }
.form-note { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 12px; color: var(--muted-fg); }
.form-note svg { width: 14px; height: 14px; flex-shrink: 0; }
.form-done { display: none; text-align: left; padding: 8px 0; }
.form-done.is-shown { display: block; opacity: 1; transform: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
@starting-style { .form-done.is-shown { opacity: 0; transform: translateY(8px); } }
.done-ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); }
.done-ic svg { width: 22px; height: 22px; stroke-width: 2; }
.form-done h3 { margin-top: 18px; font: 525 26px/32px var(--head); letter-spacing: -.03em; }
.form-done p { margin-top: 8px; font-size: 14px; color: var(--muted-fg); max-width: 44ch; }
.form-done .btn { margin-top: 18px; }

/* ---------------------------------------------------------------- FAQ list */
.qa-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.qa-head .h2 { max-width: 12ch; }
.qa-head p { font-size: 14px; color: var(--muted-fg); max-width: 26rem; text-align: right; }
.qa-head p a { text-decoration: underline; text-underline-offset: 3px; color: var(--fg); }
.qa { margin-top: 48px; }
.qa-item { position: relative; border-radius: var(--r); transition: background-color .45s var(--ease-sheet); }
.qa-item + .qa-item::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--border); transition: opacity .3s; }
.qa-item.is-open, .qa-item.is-open + .qa-item::before { }
.qa-item.is-open { background: var(--primary-band); }
.qa-item.is-open::before, .qa-item.is-open + .qa-item::before { opacity: 0; }
.qa-q { width: 100%; display: grid; grid-template-columns: 208px 1fr 36px; align-items: center; gap: 16px; padding: 22px 12px; text-align: left; }
.qa-k { font: 400 11px/16px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-fg); }
.qa-t { font: 525 30px/36px var(--head); letter-spacing: -.025em; }
.qa-btn { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--input); justify-self: end; transition: background-color .2s var(--ease), color .2s var(--ease), transform .45s var(--ease); }
.qa-btn svg { width: 14px; height: 14px; }
.qa-item.is-open .qa-btn { background: var(--fg); color: var(--bg); box-shadow: none; transform: rotate(90deg); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-sheet); }
.qa-item.is-open .qa-a { grid-template-rows: 1fr; }
.qa-a > div { overflow: hidden; }
.qa-a p { padding: 0 64px 26px 236px; max-width: 760px; color: color-mix(in oklab, var(--fg) 82%, transparent); }
.qa--sm .qa-t { font-size: 22px; line-height: 28px; }
.qa--sm .qa-q { grid-template-columns: 1fr 36px; }
.qa--sm .qa-a p { padding-left: 12px; }

/* ---------------------------------------------------------------- CTA */
.cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: stretch; padding: 4px; border-radius: var(--r); background: var(--accent); box-shadow: inset 0 0 0 1px var(--border); position: relative; overflow: hidden; }
.cta-body { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 64px 48px; }
.cta-body h2 { max-width: 12ch; }
.cta-body p { margin-top: 16px; color: var(--muted-fg); max-width: 34ch; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 28px; }
.cta-note { margin-top: 18px; font-size: 12px; color: var(--muted-fg); }
.cta-img { position: relative; border-radius: 20px; overflow: hidden; min-height: 420px; }
.cta-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta .deco--star1 { left: 32px; top: 28px; }
.cta .deco--leaf { left: auto; right: 52%; top: 18px; }
.cta .deco--coil { right: 53%; top: auto; bottom: 30px; width: 34px; }

/* ---------------------------------------------------------------- Inner heads */
.ihead { padding-top: 32px; }
.ihead-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 32px 32px 32px 40px; border-radius: var(--r); background: var(--accent); position: relative; overflow: hidden; }
.ihead-panel h1 { margin-top: 18px; max-width: 13ch; font-size: 60px; line-height: 60px; }
.ihead-panel .lede { margin-top: 20px; }
.ihead-panel .qsearch { margin-top: 28px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--muted-fg); }
.crumbs a { color: var(--fg); }
.crumbs svg { width: 12px; height: 12px; }
@media (hover: hover) and (pointer: fine) { .crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.stack { position: relative; width: 100%; max-width: 420px; margin-left: auto; margin-right: 12px; }
.stack::before, .stack::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-soft); }
.stack::before { transform: translate(12px, 12px) rotate(2deg); opacity: .7; }
.stack::after { transform: translate(6px, 6px) rotate(1deg); }
.stack-card { position: relative; z-index: 2; padding: 8px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-lg); }
.stack-img { position: relative; aspect-ratio: 5 / 3; border-radius: var(--r-sm); overflow: hidden; }
.stack-img img { width: 100%; height: 100%; object-fit: cover; }
.stack-who { position: absolute; left: 10px; bottom: 10px; display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 14px; background: var(--card); font-size: 12px; line-height: 15px; }
.stack-who i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--leaf-50); color: var(--leaf-ink); }
.stack-who i svg { width: 15px; height: 15px; }
.stack-who small { display: block; color: var(--muted-fg); font-size: 11px; }
.stack-body { padding: 16px 14px 10px; }
.stack-body .tag { background: var(--primary-soft); color: var(--primary-ink); }
.stack-body h3 { margin-top: 12px; font: 625 18px/24px var(--head); }
.stack-body p { font-size: 12px; color: var(--muted-fg); }
.stack-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 13px; }
.stack-foot b { font: 525 18px/24px var(--head); }
.stack-note { position: absolute; left: -150px; bottom: 30px; z-index: 3; display: flex; align-items: center; gap: 4px; font: 500 15px/18px var(--head); transform: rotate(-6deg); }
.stack-note svg { width: 54px; height: 30px; }
.stack-note path { fill: none; stroke: var(--fg); stroke-width: 1.4; stroke-linecap: round; }

/* Catalog */
.cat-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cat-count { font-size: 13px; color: var(--muted-fg); }
.cat-count b { color: var(--fg); font-weight: 500; }
.lessons-index { margin-top: 24px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-soft); padding: 8px; }
.li-group[hidden], .li-row[hidden] { display: none; }
.li-gh { display: flex; align-items: center; gap: 12px; padding: 16px 16px 8px; }
.li-gh .tag { flex-shrink: 0; }
.li-gh b { font: 625 16px/22px var(--head); }
.li-row a { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r-sm); font-size: 14px; }
.li-row .num { font: 400 12px/16px var(--mono); color: var(--muted-fg); }
.li-row small { display: block; font-size: 12px; color: var(--muted-fg); margin-top: 2px; }
.li-row .mins { font: 400 12px/16px var(--mono); color: var(--muted-fg); white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .li-row a:hover { background: var(--accent); } }
.li-empty { padding: 32px 16px; text-align: center; color: var(--muted-fg); }
.li-empty[hidden] { display: none; }
mark { background: var(--primary-soft); color: inherit; border-radius: 3px; padding: 0 1px; }

/* Course page */
.course-top { padding-top: 24px; }
.course-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 24px; }
.course-img { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--muted); }
.course-img img { width: 100%; height: 100%; object-fit: cover; }
.course-img .ccard-badge { left: 14px; top: 14px; }
.course-prev { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow-float); }
.course-prev i { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; flex-shrink: 0; }
.course-prev i svg { width: 16px; height: 16px; }
.course-prev small { display: block; font: 400 11px/14px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-fg); }
.course-prev b { display: block; font-size: 14px; font-weight: 500; }
.course-info { text-align: center; }
.course-info .ci-tags { display: flex; justify-content: center; gap: 10px; }
.course-info h1 { margin-top: 16px; font-size: 52px; line-height: 54px; }
.course-info .lede { margin: 16px auto 0; text-align: center; }
.course-info .ci-btns { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.ci-rows { margin: 32px auto 0; max-width: 420px; text-align: left; display: grid; gap: 16px; }
.ci-rows li { display: flex; gap: 14px; align-items: center; }
.ci-rows .ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--border); flex-shrink: 0; }
.ci-rows .ic svg { width: 18px; height: 18px; }
.ci-rows b { display: block; font-size: 14px; font-weight: 500; }
.ci-rows small { display: block; font-size: 12px; color: var(--muted-fg); }
.course-body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: start; }
.cb-sec + .cb-sec { margin-top: 64px; }
.cb-sec h2 { font-size: 30px; line-height: 36px; letter-spacing: -.025em; }
.cb-sec .prose p { margin-top: 16px; color: color-mix(in oklab, var(--fg) 82%, transparent); max-width: 64ch; }
.syl-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.syl-stats li svg { width: 20px; height: 20px; }
.syl-stats b { display: block; margin-top: 10px; font-size: 14px; font-weight: 500; }
.syl-stats small { display: block; font-size: 12px; color: var(--muted-fg); }
.syl { margin-top: 20px; display: grid; gap: 10px; }
.syl-item { border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--border); background: var(--card); }
.syl-item > button { width: 100%; display: grid; grid-template-columns: 44px 1fr auto 30px; gap: 14px; align-items: center; padding: 14px 16px; text-align: left; }
.syl-n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); font: 400 13px/16px var(--mono); }
.syl-item.is-read .syl-n { background: var(--primary); }
.syl-t b { display: block; font-weight: 500; font-size: 15px; }
.syl-t small { display: block; font-size: 12px; color: var(--muted-fg); }
.syl-m { font: 400 12px/16px var(--mono); color: var(--muted-fg); }
.syl-item > button > svg { width: 16px; height: 16px; color: var(--muted-fg); transition: transform .3s var(--ease); justify-self: end; }
.syl-item[data-open] > button > svg { transform: rotate(180deg); }
.syl-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-sheet); }
.syl-item[data-open] .syl-body { grid-template-rows: 1fr; }
.syl-body > div { overflow: hidden; }
.syl-body ul { padding: 0 16px 6px 74px; display: grid; gap: 2px; }
.syl-body li { display: flex; gap: 10px; align-items: center; padding: 6px 0; font-size: 13px; color: var(--muted-fg); }
.syl-body li svg { width: 14px; height: 14px; flex-shrink: 0; }
.syl-body .tlink { margin: 4px 0 16px 74px; }
.covers { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 20px; }
.covers .pk { margin-bottom: 12px; }
.covers li { display: flex; gap: 10px; padding: 6px 0; font-size: 14px; line-height: 20px; }
.covers li svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--primary-ink); }
.covers .no li { color: var(--muted-fg); }
.covers .no li svg { color: var(--muted-fg); }
.side { position: sticky; top: 88px; display: grid; gap: 16px; }
.scard { padding: 22px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-soft); }
.price { display: flex; align-items: baseline; gap: 8px; }
.price b { font: 525 40px/40px var(--head); letter-spacing: -.04em; }
.price span { font-size: 13px; color: var(--muted-fg); }
.scard > p { margin-top: 6px; font-size: 13px; color: var(--muted-fg); }
.scard .btn { margin-top: 16px; width: 100%; height: 44px; }
.scard .btn + .btn { margin-top: 8px; }
.scard .pk { margin-top: 22px; }
.sbox { margin-top: 10px; padding: 12px 14px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1.5px var(--primary); }
.sbox b { display: block; font-size: 14px; font-weight: 500; }
.sbox small { display: block; font-size: 12px; color: var(--muted-fg); }
.sbox-range { margin-top: 12px; }
.sbox-range label { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted-fg); }
.sbox-range output { color: var(--fg); font-weight: 500; }
.office-mini { display: flex; gap: 14px; align-items: center; }
.office-mini .ocard-av { width: 56px; height: 56px; margin: 0; border-radius: 18px; }
.office-mini .ocard-av svg { width: 26px; height: 26px; }
.office-mini .ocard-av::after { width: 14px; height: 14px; right: -3px; bottom: -3px; }
.office-mini b { display: block; font: 625 16px/22px var(--head); }
.office-mini small { display: block; font-size: 12px; color: var(--muted-fg); }
.scard .bring { margin-top: 14px; font-size: 13px; line-height: 19px; color: var(--muted-fg); }

/* Lesson page */
.lesson-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; }
.lprog { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.lprog span { position: relative; width: 120px; height: 4px; border-radius: 2px; background: var(--muted); }
.lprog span i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: var(--primary); }
.lprog .mono { color: var(--muted-fg); font-size: 12px; }
.lesson-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; margin-top: 20px; }
.lesson-frame { padding: 4px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-soft); }
.lesson-img { position: relative; aspect-ratio: 16 / 8; border-radius: 20px; overflow: hidden; background: var(--muted); }
.lesson-img img { width: 100%; height: 100%; object-fit: cover; }
.lesson-img .lcard-num { left: 14px; top: 14px; height: auto; display: block; padding: 8px 12px; border-radius: var(--r-sm); text-transform: none; letter-spacing: 0; font-family: var(--body); font-size: 13px; max-width: 70%; }
.lesson-img .lcard-num small { display: block; font: 400 11px/14px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-fg); }
.lesson-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: 28px; }
.lesson-head small { font-size: 13px; color: var(--muted-fg); }
.lesson-head h1 { margin-top: 6px; font-size: 40px; line-height: 44px; letter-spacing: -.04em; max-width: 22ch; }
.lesson-head .meta { margin-top: 8px; font-size: 13px; color: var(--muted-fg); }
.markbtn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: var(--r-c); box-shadow: inset 0 0 0 1px var(--input); font-size: 14px; white-space: nowrap; flex-shrink: 0; transition: background-color .2s var(--ease), scale .45s var(--ease); }
.markbtn svg { width: 16px; height: 16px; }
.markbtn:active { scale: .97; }
.markbtn[aria-pressed="true"] { background: var(--primary); box-shadow: none; }
.lesson-lede { margin-top: 28px; font-size: 19px; line-height: 30px; max-width: 62ch; }
.lesson-body { max-width: 66ch; }
.lesson-body h2 { margin-top: 44px; font-size: 28px; line-height: 34px; letter-spacing: -.03em; scroll-margin-top: 96px; }
.lesson-body p { margin-top: 14px; font-size: 17px; line-height: 28px; color: color-mix(in oklab, var(--fg) 86%, transparent); }
.trybox { margin-top: 48px; padding: 24px; border-radius: var(--r); background: var(--iris-50); max-width: 66ch; }
.trybox h2 { font-size: 22px; line-height: 28px; letter-spacing: -.025em; }
.trybox ul { margin-top: 14px; display: grid; gap: 10px; }
.trybox li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 22px; }
.trybox li i { width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--iris) 60%, transparent); background: var(--card); flex-shrink: 0; }
.takeaway { margin-top: 16px; display: flex; gap: 14px; padding: 20px 24px; border-radius: var(--r); background: var(--primary-band); max-width: 66ch; font-size: 15px; line-height: 22px; }
.takeaway svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--primary-ink); }
.takeaway b { font-weight: 500; }
.asknote { margin-top: 16px; display: flex; gap: 14px; align-items: center; padding: 16px 20px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--border); max-width: 66ch; font-size: 14px; line-height: 20px; }
.asknote svg { width: 22px; height: 22px; flex-shrink: 0; }
.asknote small { display: block; font: 400 11px/14px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-fg); }
.asknote a { margin-left: auto; flex-shrink: 0; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; max-width: 66ch; }
.pager a { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--border); background: var(--card); transition: box-shadow .2s var(--ease); }
.pager a.next { text-align: right; align-items: flex-end; grid-column: 2; }
.pager small { display: inline-flex; align-items: center; gap: 6px; font: 400 11px/14px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-fg); }
.pager small svg { width: 14px; height: 14px; }
.pager b { font-weight: 500; font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .pager a:hover { box-shadow: inset 0 0 0 1.5px var(--primary); } }
.lside { position: sticky; top: 88px; display: grid; gap: 16px; }
.lpanel { padding: 12px; border-radius: var(--r); background: var(--accent); }
.lp-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: var(--r-c); background: var(--muted); }
.lp-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; border-radius: 9px; font-size: 13px; color: var(--muted-fg); }
.lp-tabs button svg { width: 15px; height: 15px; }
.lp-tabs button[aria-selected="true"] { background: var(--card); color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--primary); }
.lp-pane { margin-top: 10px; }
.lp-pane[hidden] { display: none; }
.lp-list a { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 9px 10px; border-radius: var(--r-sm); font-size: 13px; line-height: 18px; }
.lp-list a .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--card); font: 400 11px/14px var(--mono); }
.lp-list a.is-read .n { background: var(--primary); }
.lp-list a .m { font: 400 11px/14px var(--mono); color: var(--muted-fg); }
.lp-list a[aria-current="page"] { background: var(--card); box-shadow: var(--shadow-soft); font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .lp-list a:not([aria-current]):hover { background: color-mix(in oklab, var(--card) 70%, transparent); } }
.lp-toc a { display: block; padding: 8px 10px; border-radius: var(--r-sm); font-size: 13px; line-height: 18px; color: var(--muted-fg); }
.lp-toc a.is-on { color: var(--fg); background: var(--card); }
.upnext { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-soft); }
.upnext .un-img { width: 64px; height: 64px; border-radius: var(--r-c); overflow: hidden; flex-shrink: 0; }
.upnext .un-img img { width: 100%; height: 100%; object-fit: cover; }
.upnext small { display: block; font: 400 11px/14px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-fg); }
.upnext b { display: block; font-size: 13px; line-height: 18px; font-weight: 500; }
.upnext span { display: block; font-size: 12px; color: var(--muted-fg); }

/* Who to ask */
.office-detail { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; padding: 40px 0; border-top: 1px solid var(--border); scroll-margin-top: 88px; }
.office-detail:first-child { border-top: 0; }
.od-side .ocard-av { margin: 0; }
.od-side h2 { margin-top: 20px; font-size: 30px; line-height: 34px; letter-spacing: -.03em; }
.od-side p { margin-top: 8px; font-size: 14px; color: var(--muted-fg); }
.od-main { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.od-box { padding: 20px; border-radius: var(--r); background: var(--accent); }
.od-box ul { margin-top: 12px; display: grid; gap: 8px; }
.od-box li { display: flex; gap: 10px; font-size: 14px; line-height: 20px; }
.od-box li svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--primary-ink); }
.od-box p { margin-top: 10px; font-size: 14px; line-height: 20px; }
.od-box .links { margin-top: 12px; display: grid; gap: 6px; }

/* About */
.about-hero { padding-top: 48px; text-align: center; overflow-x: clip; }
.fan { position: relative; width: 420px; height: 300px; margin: 0 auto; }
.fan figure { position: absolute; left: 50%; top: 10px; width: 210px; height: 260px; margin-left: -105px; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--muted); transform-origin: 50% 120%; }
.fan figure img { width: 100%; height: 100%; object-fit: cover; }
.fan figure:nth-child(1) { transform: rotate(-24deg) translateX(-40px); }
.fan figure:nth-child(2) { transform: rotate(-12deg) translateX(-20px); }
.fan figure:nth-child(3) { transform: rotate(0deg); }
.fan figure:nth-child(4) { transform: rotate(12deg) translateX(20px); }
.fan figure:nth-child(5) { transform: rotate(24deg) translateX(40px); }
.fan-cap { position: absolute; left: 50%; bottom: 0; z-index: 3; transform: translateX(-30%); display: inline-flex; align-items: center; gap: 8px; padding: 8px 8px 8px 14px; border-radius: var(--r-c); background: var(--card); box-shadow: var(--shadow-float); font-size: 12px; white-space: nowrap; }
.fan-cap span { color: var(--muted-fg); }
.about-hero .eyebrow { margin-top: 32px; }
.about-hero h1 { margin: 20px auto 0; font-size: 60px; line-height: 62px; max-width: 18ch; }
.about-hero .lede { margin: 20px auto 0; text-align: center; max-width: 34rem; }
.about-hero .cta-btns { margin-top: 28px; }
.dark-panel { position: relative; padding: 40px; border-radius: var(--r); background: var(--fg); color: var(--bg); overflow: hidden; }
.dark-panel .eb { background: color-mix(in oklab, var(--primary) 18%, transparent); }
.dark-panel .eb span { color: var(--primary); }
.dark-panel .eb i { background: var(--primary); }
.dark-panel h2 { margin-top: 16px; font-size: 40px; line-height: 44px; max-width: 20ch; }
.dark-panel hr { border: 0; height: 1px; background: rgba(253, 252, 252, .12); margin: 32px 0 0; }
.arc { position: relative; height: 230px; margin-top: 16px; }
.arc svg.arc-line { position: absolute; inset: 0; width: 100%; height: 100%; }
.arc svg.arc-line path { fill: none; stroke: rgba(253, 252, 252, .3); stroke-width: 1.2; }
.arc-stop { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: rgba(253, 252, 252, .6); transition: color .2s var(--ease); }
.arc-stop .lbl { font: 525 20px/24px var(--head); letter-spacing: -.03em; white-space: nowrap; transform: rotate(var(--rot, 0deg)); transition: font-size .3s var(--ease); }
.arc-stop i { width: 10px; height: 10px; border-radius: 50%; background: rgba(253, 252, 252, .45); transition: transform .3s var(--ease), background-color .2s; }
.arc-stop[aria-selected="true"] { color: var(--bg); }
.arc-stop[aria-selected="true"] .lbl { font-size: 28px; }
.arc-stop[aria-selected="true"] i { background: var(--primary); transform: scale(1.4); box-shadow: 0 0 0 6px rgba(152, 229, 97, .2); }
.arc-detail { text-align: center; max-width: 520px; margin: 0 auto; min-height: 120px; }
.arc-detail .n { font: 525 40px/44px var(--head); letter-spacing: -.04em; }
.arc-detail .n small { font: 400 12px/16px var(--body); color: rgba(253, 252, 252, .6); margin-left: 6px; letter-spacing: 0; }
.arc-detail b { display: block; margin-top: 8px; font-size: 16px; font-weight: 500; }
.arc-detail p { margin-top: 8px; font-size: 14px; line-height: 21px; color: rgba(253, 252, 252, .7); }
.dark-panel .deco { color: var(--primary); }
.dark-panel .deco--burst { right: 40px; top: 32px; width: 56px; }
.dark-panel .deco--sun { left: 40px; bottom: 32px; width: 46px; }
.split-tabs { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding: 48px; border-radius: var(--r); background: var(--iris-50); }
.split-tabs h3 { font: 525 30px/34px var(--head); letter-spacing: -.03em; max-width: 16ch; }
.split-tabs p { margin-top: 14px; font-size: 15px; color: var(--muted-fg); max-width: 40ch; }
.split-pane[hidden] { display: none; }
.split-pane { display: contents; }
.split-facts { margin-top: 32px; padding-top: 24px; border-top: 1px solid color-mix(in oklab, var(--iris) 25%, transparent); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split-facts b { display: block; font: 525 40px/40px var(--head); letter-spacing: -.04em; }
.split-facts small { display: block; margin-top: 6px; font-size: 12px; line-height: 16px; color: var(--muted-fg); }
.split-card { padding: 22px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-soft); align-self: start; }
.split-card ul { margin-top: 14px; display: grid; gap: 4px; }
.split-card li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; line-height: 20px; }
.split-card li:last-child { border-bottom: 0; }
.split-card li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.split-card li .yes { color: var(--primary-ink); }
.split-card li .no { color: var(--coral-ink); }
.commit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.commit li { padding: 22px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-soft); }
.commit li .feat-ic { margin-bottom: 18px; }
.commit b { display: block; font: 625 17px/22px var(--head); }
.commit p { margin-top: 6px; font-size: 14px; line-height: 20px; color: var(--muted-fg); }

/* Contact and sign-up split card */
.split-card-big { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px; padding: 4px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow-soft); }
.scb-photo { position: relative; display: flex; flex-direction: column; padding: 40px; border-radius: 20px; overflow: hidden; min-height: 560px; }
.scb-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scb-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(253, 252, 252, .94) 0%, rgba(253, 252, 252, .8) 46%, rgba(253, 252, 252, 0) 72%); }
.scb-photo > * { position: relative; z-index: 2; }
.scb-photo h1 { font-size: 48px; line-height: 50px; max-width: 13ch; }
.scb-photo .lede { margin-top: 18px; color: #4f4b47; }
.scb-live { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; font-size: 14px; }
.scb-live i { width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--primary-ink); box-shadow: 0 0 0 4px var(--primary-soft); flex-shrink: 0; }
.scb-rows { margin-top: 26px; display: grid; gap: 10px; }
.scb-rows li { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.scb-rows li .ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--card); box-shadow: inset 0 0 0 1px var(--border); flex-shrink: 0; }
.scb-rows li .ic svg { width: 16px; height: 16px; }
.scb-rows li span { display: block; }
.scb-rows li small { display: block; font-size: 12px; color: var(--muted-fg); }
.scb-form { padding: 36px 36px 32px; }
.scb-form .form { margin-top: 0; }
.desks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.desk { display: flex; flex-direction: column; }
.desk-top { padding: 12px; border-radius: var(--r); background: var(--t50); }
.desk-card { padding: 18px; border-radius: var(--r-md); background: var(--card); box-shadow: var(--shadow-soft); min-height: 168px; display: flex; flex-direction: column; }
.desk-card .dh { display: flex; align-items: center; gap: 10px; }
.desk-card .dh i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in oklab, var(--t) 18%, transparent); color: var(--ti); }
.desk-card .dh i svg { width: 16px; height: 16px; }
.desk-card .dh b { display: block; font-size: 13px; font-weight: 500; }
.desk-card .dh small { display: block; font-size: 11px; color: var(--muted-fg); }
.desk-card .big { margin-top: 20px; font: 525 24px/28px var(--head); letter-spacing: -.03em; word-break: break-word; }
.desk-card .btn { margin-top: auto; width: 100%; height: 38px; }
.desk-meta { margin-top: 16px; padding: 0 4px; }
.desk-meta .pk { font-size: 11px; }
.desk-meta b { display: block; margin-top: 6px; font-weight: 500; }
.desk-meta p { margin-top: 4px; font-size: 13px; line-height: 19px; color: var(--muted-fg); }
.gets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.gets li { padding: 22px; border-radius: var(--r); background: var(--accent); }
.gets b { display: block; margin-top: 16px; font: 625 17px/22px var(--head); }
.gets p { margin-top: 6px; font-size: 14px; line-height: 20px; color: var(--muted-fg); }

/* FAQ page */
.faq-wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.faq-nav { position: sticky; top: 88px; display: grid; gap: 4px; }
.faq-nav a { display: flex; justify-content: space-between; align-items: center; height: 40px; padding: 0 12px; border-radius: var(--r-c); font-size: 14px; color: var(--muted-fg); }
.faq-nav a.is-on { background: var(--card); color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--primary); }
.faq-nav a small { font: 400 11px/14px var(--mono); }
.faq-group { scroll-margin-top: 88px; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group > h2 { font-size: 30px; line-height: 36px; letter-spacing: -.03em; }
.faq-group .qa { margin-top: 16px; }

/* Legal */
.legal-wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; }
.legal-nav { position: sticky; top: 88px; }
.legal-nav p { font: 400 11px/16px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-fg); padding: 0 12px 8px; }
.legal-nav a { display: block; padding: 7px 12px; border-radius: var(--r-c); font-size: 13px; line-height: 18px; color: var(--muted-fg); }
.legal-nav a.is-on { background: var(--accent); color: var(--fg); }
.legal-doc { max-width: 72ch; }
.legal-doc section { scroll-margin-top: 88px; }
.legal-doc section + section { margin-top: 36px; }
.legal-doc h2 { font-size: 26px; line-height: 32px; letter-spacing: -.03em; }
.legal-doc h3 { margin-top: 22px; font: 625 17px/24px var(--head); }
.legal-doc p, .legal-doc li { margin-top: 12px; font-size: 15px; line-height: 25px; color: color-mix(in oklab, var(--fg) 86%, transparent); }
.legal-doc ul { padding-left: 0; }
.legal-doc li { display: flex; gap: 10px; margin-top: 8px; }
.legal-doc li::before { content: ""; width: 5px; height: 5px; margin-top: 10px; border-radius: 50%; background: var(--primary-ink); flex-shrink: 0; }
.legal-doc a { text-decoration: underline; text-underline-offset: 3px; }
.legal-doc .samples p { margin-top: 8px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--accent); font-family: var(--mono); font-size: 13px; line-height: 20px; }
.updated { font: 400 12px/16px var(--mono); color: var(--muted-fg); margin-top: 16px; }

/* 404 */
.nf { padding-top: 96px; text-align: center; }
.nf b { font: 525 140px/120px var(--head); letter-spacing: -.06em; color: var(--primary-ink); }
.nf h1 { margin-top: 16px; font-size: 44px; line-height: 48px; }
.nf p { margin: 16px auto 0; max-width: 40ch; color: var(--muted-fg); }

/* ---------------------------------------------------------------- Footer */
.site-footer { border-top: 1px solid var(--border); padding: 72px 0 40px; }
.f-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 0; }
.f-grid > div { padding: 0 32px; }
.f-grid > div:first-child { padding-left: 0; }
.f-grid > div + div { border-left: 1px solid var(--border); }
.f-about > p { margin-top: 14px; font-size: 14px; line-height: 20px; color: var(--muted-fg); max-width: 32ch; }
.f-contact { margin-top: 20px; display: grid; gap: 10px; }
.f-contact li { display: flex; gap: 10px; font-size: 13px; line-height: 18px; color: var(--muted-fg); }
.f-contact li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }
.f-contact li span { display: flex; flex-direction: column; }
.f-contact a, .f-contact .v { color: var(--fg); }
.f-k { font: 400 11px/16px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-fg); }
.f-col ul { margin-top: 14px; display: grid; gap: 10px; }
.f-col a { font-size: 13px; line-height: 18px; }
@media (hover: hover) and (pointer: fine) { .f-col a:hover, .f-legal a:hover, .f-contact a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.f-col--news p:not(.f-k) { margin-top: 14px; font-size: 13px; line-height: 19px; color: var(--muted-fg); }
.f-col--news .btn { margin-top: 16px; }
.f-denials { margin-top: 56px; padding: 18px 20px; border-radius: var(--r-sm); background: var(--accent); font-size: 12px; line-height: 18px; color: var(--muted-fg); }
.f-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted-fg); }
.f-legal { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------------------------------------------------------------- Reveal */
.js [data-rv] { opacity: 0; transform: translateY(8px); }
.js [data-rv].in { opacity: 1; transform: none; transition: opacity .4s ease-out, transform .4s ease-out; transition-delay: var(--d, 0ms); }
.js .bar i { transform: scaleX(0); }
.js .bars.in .bar i { transform: none; transition: transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 40ms); }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 1240px) {
  .nav-contact { display: none; }
  .hsearch { width: 200px; }
}
@media (max-width: 1100px) {
  .hsearch { display: none; }
  .header-cta { margin-left: auto; }
  .float--note { left: -40px; }
  .float--course { right: 0; }
  .crow { grid-auto-columns: calc((100% - 32px) / 3); }
  .ogrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .commit { grid-template-columns: repeat(2, 1fr); }
  .pcard--l { margin-left: 0; } .pcard--r { margin-right: 0; }
  .wheel { display: none; }
}
@media (max-width: 1023px) {
  :root { --gap: 128px; }
  .nav, .header-cta { display: none; }
  .burger { display: grid; margin-left: auto; }
  .hero-grid, .ask-panel, .chart-panel, .planner, .prep, .carry, .beliefs, .ways, .cta, .ihead-panel, .course-hero, .course-body, .lesson-grid, .split-tabs, .split-card-big, .office-detail, .faq-wrap, .legal-wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-art { margin: 24px auto 0; }
  .feats { grid-template-columns: minmax(0, 1fr); }
  .feat + .feat { border-left: 0; border-top: 1px solid var(--border); }
  .feat { padding: 24px 0; }
  .side, .lside, .faq-nav, .legal-nav { position: static; }
  .cta-img { min-height: 300px; }
  .stack { margin: 8px auto 0; }
  .stack-note { display: none; }
  .od-main { grid-template-columns: 1fr; }
  .faq-nav { grid-auto-flow: column; overflow-x: auto; grid-auto-columns: max-content; }
  .legal-nav { display: none; }
  .qa-q { grid-template-columns: 1fr 36px; }
  .qa-k { grid-column: 1 / -1; }
  .qa-a p { padding-left: 12px; padding-right: 12px; }
  .pnote { display: none; }
  .f-grid { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .f-grid > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .crow { grid-auto-columns: calc((100% - 16px) / 2); }
  .cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  :root { --gap: 96px; --gut: 16px; }
  .h1, h1 { font-size: 46px; line-height: 48px; }
  .h2, h2 { font-size: 36px; line-height: 38px; }
  .hero { padding-top: 32px; }
  .hero-art { width: 100%; max-width: 380px; margin-right: auto; }
  .float--note { left: -8px; width: 196px; top: 50%; }
  .float--course { right: -6px; top: 8%; }
  .float--bar { right: 0; width: 248px; }
  .shead-row, .planner-head, .qa-head, .ctools { flex-direction: column; align-items: flex-start; gap: 20px; }
  .shead h2 br, .shead-row h2 br { display: none; }
  .prep-deco { display: none; }
  .qa-head p { text-align: left; }
  .slab { padding: 72px 0 40px; margin-top: 32px; }
  .slab-row { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 20px; }
  .slab-row .slab-mark { display: none; }
  .slab-word { font-size: 34px; line-height: 36px; }
  .slab-foot { grid-template-columns: 1fr 1fr; }
  .slab-foot li:nth-child(3) { box-shadow: inset 0 1px 0 var(--border); }
  .slab-foot li:nth-child(4) { box-shadow: inset 1px 0 0 var(--border), inset 0 1px 0 var(--border); }
  .ask-panel, .chart-panel, .planner, .prep, .split-tabs { padding: 20px; }
  .tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gut)); padding: 2px var(--gut); }
  .tabs::-webkit-scrollbar { display: none; }
  .chart-big { font-size: 72px; line-height: 70px; }
  .bar-row { grid-template-columns: minmax(0, 1fr) 46px; }
  .bar-row > a { grid-column: 1 / -1; }
  .bars-axis { margin: 4px 60px 0 0; }
  .lesson-parts, .covers, .syl-stats, .desks, .gets, .commit, .split-facts { grid-template-columns: minmax(0, 1fr); }
  .crow { grid-auto-columns: 82%; }
  .cgrid, .ogrid { grid-template-columns: minmax(0, 1fr); }
  .bcard { grid-template-columns: minmax(0, 1fr); }
  .bcard-img { min-height: 0; height: 240px; }
  .bcard-body { padding: 4px 12px 12px; }
  .bcard blockquote { font-size: 22px; line-height: 28px; min-height: 0; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .formcard, .scb-form { padding: 20px; }
  .scb-photo { padding: 24px; min-height: 0; }
  .scb-photo::after { background: linear-gradient(180deg, rgba(253, 252, 252, .95) 0%, rgba(253, 252, 252, .88) 70%, rgba(253, 252, 252, .7) 100%); }
  .scb-photo h1 { font-size: 38px; line-height: 40px; }
  .qa-t { font-size: 22px; line-height: 28px; }
  .qa-q { padding: 18px 8px; }
  .cta-body { padding: 48px 20px; }
  .cta .deco { display: none; }
  .ihead-panel { padding: 24px 20px; }
  .ihead-panel h1, .about-hero h1 { font-size: 42px; line-height: 44px; }
  .course-info h1 { font-size: 40px; line-height: 42px; }
  .course-info .ci-btns { flex-wrap: wrap; }
  .lesson-top { flex-direction: column; align-items: flex-start; }
  .lprog { width: 100%; }
  .lprog span { flex: 1; width: auto; }
  .lesson-head { flex-direction: column; align-items: flex-start; }
  .lesson-head h1 { font-size: 32px; line-height: 36px; }
  .lesson-img { aspect-ratio: 4 / 3; }
  .lesson-lede { font-size: 17px; line-height: 27px; }
  .pager { grid-template-columns: minmax(0, 1fr); }
  .pager a.next { grid-column: 1; }
  .asknote { flex-wrap: wrap; }
  .asknote a { margin-left: 34px; }
  .fan { width: 260px; height: 230px; }
  .fan figure { width: 150px; height: 190px; margin-left: -75px; }
  .dark-panel { padding: 24px 20px; }
  .dark-panel h2 { font-size: 30px; line-height: 34px; }
  .arc { height: 170px; }
  .arc-stop .lbl { font-size: 15px; }
  .arc-stop[aria-selected="true"] .lbl { font-size: 19px; }
  .dark-panel .deco { display: none; }
  .f-grid { grid-template-columns: minmax(0, 1fr); }
  .f-grid > div { padding: 0; border-left: 0 !important; }
  .f-bar { flex-direction: column; align-items: flex-start; }
  .pdate { font-size: 28px; line-height: 32px; }
  .plegs li a { grid-template-columns: 26px minmax(0, 1fr) auto; }
  .week { gap: 5px; }
  .od-side h2 { font-size: 26px; }
}
@media (max-width: 380px) {
  .h1, h1 { font-size: 40px; line-height: 42px; }
  .float--note { width: 176px; }
  .float--bar { width: 220px; }
  .brand-word { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .js [data-rv] { transform: none; }
  .js [data-rv].in { transition: opacity .2s linear; }
  .js .bar i { transform: none; }
  .wheel ol, .ccard-img img, .sheet, .dd-panel { transition: none; }
  .btn:active, .chip:active, .tab:active, .press:active { scale: none; }
}

@media print {
  .site-header, .site-footer, .sheet, .sheet-scrim, .lside, .pager, .markbtn, .no-print { display: none !important; }
  body { background: #fff; }
  main { gap: 32px; }
}
