:root {
  --screen-bg:#101310; --screen-panel:#1b221d; --screen-ink:#f5f7ee;
  --screen-muted:#bfc9bb; --screen-line:#3b453d; --screen-lime:#b3ee52;
}
body:has(.screen-nav),body.account-screen {padding:0;background:var(--screen-bg);color:var(--screen-ink);}
.discovery-page [hidden],.shelf-controls[hidden] {display:none!important}
.discovery-page a:focus-visible,.screen-nav a:focus-visible,.discovery-page button:focus-visible,.screen-nav button:focus-visible,.discovery-wrap input:focus-visible {outline:3px solid var(--screen-lime);outline-offset:3px;}
.screen-nav {background:#101510;border-bottom:1px solid #303a32;color:var(--screen-ink)}
.screen-nav-inner,.discovery-wrap {width:min(1300px,90%);margin-inline:auto}
.screen-nav-inner {display:flex;align-items:center;gap:clamp(18px,3vw,48px);min-height:72px}
.screen-brand .logo {width:clamp(126px,12vw,162px);height:auto}
.screen-nav nav,.screen-account {display:flex;align-items:center;gap:clamp(13px,2.4vw,29px)}
.screen-nav nav a,.screen-account a,.screen-menu {font-size:15px;font-weight:750}
.screen-nav nav a {color:#ccd5c9;padding:11px 0}
.screen-nav nav a[aria-current],.screen-nav nav a:hover {color:var(--screen-lime)}
.screen-account {margin-left:auto;gap:10px}
.screen-account .pill,.screen-menu {position:static;inset:auto;width:auto;height:auto;min-height:39px;border-radius:7px;padding:9px 15px;line-height:1.1}
.screen-account .pill {background:#f5f8ed;color:#1a221b;border:1px solid transparent}
.screen-menu {border:1px solid #526056;background:#202820;color:var(--screen-ink)}
.discovery-page {min-height:100svh;color:var(--screen-ink);background:var(--screen-bg)}
.discovery-wrap {padding-block:24px 12px}
.discover-spot,.library-intro,.course-hero {isolation:isolate}
.discover-spot {position:relative;display:grid;align-items:end;min-height:clamp(320px,37vw,490px);overflow:hidden;border-radius:14px;background:#191122}
.spot-image,.course-backdrop {position:absolute;inset:0 0 0 auto;height:100%;width:70%;object-fit:cover;object-position:center 47%;z-index:-2}
.discover-spot::before,.overview-course .course-hero::before {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#101510 8%,#101510ec 31%,#10151071 62%,#10151002 90%),linear-gradient(0deg,#101510b0,transparent 48%)}
.discover-spot>div {padding:clamp(25px,4.4vw,64px);max-width:660px}
.screen-kicker {color:var(--screen-lime);font-size:13px;letter-spacing:.11em;text-transform:uppercase;font-weight:850}
.discover-spot h1,.discover-title h1 {font-size:clamp(44px,6.6vw,92px);letter-spacing:-.061em;line-height:.99;font-weight:900}
.discover-spot h1 {margin:11px 0 16px}
.discover-spot p:not(.screen-kicker),.library-intro p,.discover-title p {color:#e0e6db;font-size:clamp(16px,1.35vw,20px);line-height:1.5;max-width:48ch}
.screen-primary,.screen-secondary,.library-intro .pill,.overview-course .course-actions .pill {
  display:inline-flex;align-items:center;justify-content:center;gap:13px;min-height:44px;
  padding:11px 19px;border-radius:7px;font-weight:800;font-size:15px;line-height:1.2;
}
.screen-primary,.library-intro .pill.solid,.overview-course .course-actions .pill.solid {background:var(--screen-lime);color:#17220f;border:1px solid transparent}
.screen-secondary,.overview-course .course-actions .pill {background:#253027;color:#f4f8ed;border:1px solid #667667}
.screen-primary:hover,.library-intro .pill.solid:hover {background:#ccff7e;color:#13210b}
.screen-secondary:hover {background:#354137;color:white}
.discover-spot .screen-primary,.library-intro .screen-primary {margin-top:22px}
.browse-tools {display:flex;justify-content:space-between;align-items:end;gap:20px;flex-wrap:wrap;margin:34px 0 15px}
.browse-tools h2,.discover-row-head h2,.library-note h2 {font-size:clamp(24px,2.15vw,33px);letter-spacing:-.045em;line-height:1.13;color:var(--screen-ink)}
.browse-filters,.results-tools,.shelf-controls,.library-links {display:flex;align-items:center;gap:12px}
.browse-filters label {display:grid;gap:4px;font-size:13px;font-weight:700;color:var(--screen-muted)}
.browse-filters input,.browse-filters select {height:43px;border:1px solid #506052;background:#1e271f;color:var(--screen-ink);border-radius:7px;padding:0 12px;font-size:16px;font-family:inherit;max-width:100%;min-width:0;color-scheme:dark}
.browse-filters input::placeholder {color:#a4b29f}
.discover-row,.browse-results {margin:32px 0 4px;min-width:0}
.discover-row-head {display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:12px}
.shelf-controls {gap:6px}
.shelf-controls button {background:#242d25;color:white;border:1px solid #58665a;border-radius:100%;width:39px;height:39px;font:700 19px/1 Arial,sans-serif}
.shelf-controls button:hover:enabled {background:#39483a}
.shelf-controls button:disabled {opacity:.37}
.discover-track {margin:0 -4px;padding:4px;list-style:none;display:grid;grid-auto-flow:column;grid-auto-columns:clamp(180px,20%,269px);gap:14px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;scroll-padding:4px;scrollbar-width:thin;scrollbar-color:#3f5141 transparent}
.discover-track li {min-width:0;scroll-snap-align:start}
.discover-grid,.subject-wall {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:19px 15px}
.discover-card.course-card {display:block;height:100%;min-height:0;padding:0;background:transparent;color:var(--screen-ink);border:none;border-radius:8px}
.discover-art {position:relative;overflow:hidden;border-radius:8px;aspect-ratio:1.75;background:#27372b}
.discover-art img,.subject-cover img {width:100%;height:100%;object-fit:cover}
.discover-caption {padding:9px 2px 5px}
.discover-card .discover-caption h3 {font-size:clamp(17px,1.38vw,22px);line-height:1.14;letter-spacing:-.025em;margin:0 0 4px;font-weight:850;color:var(--screen-ink);overflow-wrap:anywhere}
.discover-caption small,.subject-cover small {display:block;color:var(--screen-muted);font-size:13px;line-height:1.5}
.discover-caption strong {display:block;margin-top:5px;color:var(--screen-lime);font-size:13px}
.discover-card:hover .discover-caption h3,.library-links a:hover,.page-footer a:hover {color:var(--screen-lime)}
.results-tools {color:var(--screen-muted);font-size:14px}
.results-tools button {color:var(--screen-lime);font-weight:750}
.discover-title {padding:clamp(20px,4vw,58px) 0 clamp(22px,3.3vw,46px)}
.discover-title h1 {font-size:clamp(42px,5.5vw,76px)}
.discover-title p {margin-top:12px}
.subject-cover {position:relative;isolation:isolate;overflow:hidden;min-height:156px;aspect-ratio:1.7;border-radius:9px;display:flex;align-items:end;background:#233025}
.subject-cover img {position:absolute;inset:0;z-index:-2}
.subject-cover::before {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#080f0af5, #080f0a88 54%,transparent)}
.subject-cover div {padding:16px 17px}
.subject-cover h2 {font-size:clamp(19px,1.65vw,26px);line-height:1.06;letter-spacing:-.04em}
.subject-cover small {margin-top:4px;color:#ecf2e8}
.library-intro {padding:clamp(25px,5vw,74px);border-radius:14px;background:linear-gradient(90deg,#15211afc 9%,#15211add 49%,#15211a40),url('/assets/landing/writing.webp') right 54%/cover;min-height:260px;display:flex;align-items:center}
.library-intro h2 {font-size:clamp(32px,4.5vw,62px);line-height:1.03;letter-spacing:-.055em;margin-bottom:12px}
.library-intro .course-actions {margin:20px 0 0}
.library-links,.library-note {margin:0 0 25px}
.library-links {flex-wrap:wrap}
.library-links a,.library-note a,.certificate-link {color:var(--screen-lime);text-decoration:underline;text-underline-offset:3px}
.library-note {padding:22px 0;color:var(--screen-muted)}
.library-note article {padding:16px 0;border-bottom:1px solid var(--screen-line)}
.progress-entry progress {width:100%;height:6px;position:absolute;bottom:0;left:0;accent-color:var(--screen-lime)}
.discover-row .saved-card {position:relative}
.discover-row .remove-save {z-index:2;background:#111c15;color:#fff;border:1px solid #738272}
.screen-empty {grid-column:1/-1;padding:32px 0;color:var(--screen-muted)}
.screen-empty h3 {color:var(--screen-ink);margin:0 0 8px;font-size:24px}
.screen-empty button,.screen-empty a {margin-top:16px}
.discovery-page .page-footer,.page:has(.course-article) .page-footer,.utility-page .page-footer {color:var(--screen-muted);background:transparent;line-height:1.6;padding:27px 0;border-top:1px solid var(--screen-line);margin-top:32px}
.discovery-page .load-row {padding:22px 0}
@media(prefers-reduced-motion:no-preference){
  .discover-art img,.subject-cover img {transition:transform .36s ease}
  .discover-spot>div,.discover-title {animation:welcome-arrive .42s ease-out}
  @media(hover:hover){.discover-card:hover .discover-art img,.subject-cover:hover img {transform:scale(1.045)}}
}
@media(max-width:970px){.discover-grid,.subject-wall{grid-template-columns:repeat(3,minmax(0,1fr))}.browse-filters select{max-width:225px}.discover-spot {min-height:328px}}
@media(max-width:740px){
 .screen-nav-inner,.discovery-wrap {width:92%}
 .screen-nav-inner {flex-wrap:wrap;gap:0 15px;padding-block:11px 4px;min-height:0}
 .screen-brand .logo {width:120px}
 .screen-account {gap:7px}
 .screen-account .pill,.screen-menu {padding:8px 12px;font-size:14px}
 .screen-nav nav {order:3;flex-basis:100%;gap:22px}
 .screen-nav nav a {font-size:14px;padding-block:8px}
 .discovery-wrap {padding-top:14px}
 .discover-spot {min-height:330px}
 .discover-spot>div {max-width:80%;padding:25px}
 .spot-image {width:85%}
 .discover-spot::before {background:linear-gradient(90deg,#101510ee 0%,#1015109c 50%,#10151018 90%),linear-gradient(0deg,#101510cc,transparent 85%)}
 .browse-tools {display:block;margin-top:23px}
 .browse-filters {display:grid;grid-template-columns:1.22fr 1fr;margin-top:13px;gap:8px}
 .browse-filters label {min-width:0}
 .browse-filters select {max-width:100%}
 .discover-track {grid-auto-columns:clamp(146px,40vw,215px);gap:10px}
 .subject-wall,.discover-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 10px}
 .subject-cover {min-height:133px}
 .subject-cover div {padding:12px}
 .discover-row,.browse-results {margin-top:25px}
 .shelf-controls button {width:35px;height:35px}
 .browse-results .discover-row-head {align-items:flex-start;flex-wrap:wrap}
 .discover-caption {padding-block:7px 3px}
}
@media(max-width:420px){.discover-spot>div{max-width:94%}.discover-spot{min-height:310px}.discover-spot p:not(.screen-kicker){max-width:26ch}.screen-nav nav{justify-content:space-between}.library-intro{padding:24px}.browse-filters{grid-template-columns:1.08fr 1fr}}

/* The overview and reader share navigation. The written lesson keeps its reading surface. */
.page.overview-course,.page.reading-course,.page.utility-page {width:min(1300px,90%);margin:24px auto 0;min-height:70svh}
.page.overview-course {display:block}
.overview-course .course-article {padding:0;background:transparent;color:var(--screen-ink);min-height:0}
.overview-course .course-hero {position:relative;overflow:hidden;padding:clamp(28px,4.2vw,62px);border:0;border-radius:14px;background:#19231d}
.overview-course .course-hero::before {background:linear-gradient(90deg,#0f1712 10%,#0f1712ed 45%,#0f17127a 75%,#0f17123b 100%),linear-gradient(0deg,#101510b0,transparent)}
.overview-course .course-backdrop {width:60%;object-position:center}
.overview-course .course-hero h1 {font-size:clamp(35px,4.7vw,74px);line-height:1.02;letter-spacing:-.052em;max-width:19ch;margin:12px 0 16px;overflow-wrap:anywhere}
.overview-course .course-hero .eyebrow {color:var(--screen-lime)}
.overview-course .course-lede {color:#e2ebde;font-size:clamp(17px,1.45vw,21px);max-width:49ch;line-height:1.52}
.overview-course .course-facts {color:#d9e2d6}
.overview-course .course-section {margin:35px 0;max-width:840px}
.overview-course .course-section p,.overview-course .course-section li {color:#d1dbce}
.overview-course .course-section h3,.overview-course .module-heading {font-size:clamp(23px,2.1vw,34px);letter-spacing:-.035em}
.overview-course .module-grid {margin:14px 0 20px}
.overview-course .module-card {min-height:0;padding:21px 23px;background:var(--screen-panel);border:1px solid var(--screen-line);color:var(--screen-ink)}
.overview-course .module-card .eyebrow,.overview-course .module-card .arrow {color:var(--screen-lime)}
.overview-course .module-card p,.overview-course .course-small {color:var(--screen-muted)}
.overview-course .course-toc,.overview-course .course-details {background:#1d271f;border:1px solid var(--screen-line);color:var(--screen-ink);border-radius:9px;padding:16px 20px;max-height:none}
.overview-course .course-toc summary {display:list-item;cursor:pointer;font-weight:800}
.overview-course .course-toc nav {max-height:min(66vh,550px);overflow:auto}
.overview-course .course-toc a {display:block;color:#e2e9dc;min-height:36px}
.overview-course .course-section .pill,.screen-state .pill {background:var(--screen-lime);color:#152212}
.overview-course .course-purchase {background:#202d24;color:var(--screen-ink);border:1px solid var(--screen-line)}
.overview-course .course-purchase .pill {color:#eef6e7;border-color:#899a87}
.overview-course .course-purchase .pill.solid {color:#17230f;background:var(--screen-lime)}
.overview-course .course-note-banner {background:#26382c;color:var(--screen-ink)}
.overview-course .course-note-banner p,.overview-course .course-details summary {color:inherit}
.overview-course .course-purchase .pricing-note {color:var(--screen-muted)}
.overview-course .course-actions a.pill.solid:nth-child(2) {background:#253027;color:#f4f8ed;border-color:#667667}
.course-fallback {width:min(1100px,90%);margin:clamp(30px,7vw,90px) auto;color:var(--screen-ink)}
.course-fallback h1 {font-size:clamp(36px,5vw,74px);line-height:1.05;margin:18px 0}
.course-fallback p {max-width:65ch;line-height:1.55;margin:12px 0;color:var(--screen-muted)}
.course-fallback a {display:inline-block;color:var(--screen-lime);padding:8px 0}
.page.reading-course {color:var(--ink)}
.reading-course .course-sidebar {top:14px;height:calc(100svh - 28px);background:#1d2a21}
.reading-course .course-article {background:#f5f5ec;color:#203227}
.reading-course .course-section p,.reading-course .course-section li {max-width:76ch}
.screen-state {padding:clamp(28px,6vw,80px);max-width:820px;color:var(--screen-ink)}
.screen-state h1,.account-card h1 {font-size:clamp(33px,4.2vw,55px);letter-spacing:-.05em;line-height:1.05}
.screen-state p {margin:16px 0;color:var(--screen-muted)}
.screen-state a {margin:8px 12px 8px 0}
.utility-page {color:var(--ink);align-items:start}
.utility-page .sidebar {position:relative;top:auto;height:auto;min-height:0;padding:25px;background:var(--screen-panel)!important;color:var(--screen-ink);border:1px solid var(--screen-line)}
.utility-page .sidebar>a:first-child,.utility-page .sidebar .bottom {display:none}
.utility-page .sidebar h1 {margin:6px 0 16px}
.utility-page .sidebar .side-description,.utility-page .side-links a {color:var(--screen-muted)}
.utility-page .page-head,.utility-page .pricing-faq,.utility-page .plan-card,.utility-page .pricing-sample,.utility-page .family-offer {background:var(--screen-panel);color:var(--screen-ink);border:1px solid var(--screen-line)}
.utility-page .page-head p,.utility-page .pricing-note,.utility-page .plan-term,.utility-page .plan-description,.utility-page .plan-card li {color:var(--screen-muted)}
.utility-page .plan-card.plan-featured {background:#243a29;border-color:#88b16c}
.utility-page .plan-card .pill,.utility-page .family-offer .pill,.utility-page .pricing-sample .pill {background:var(--screen-lime);border-color:transparent;color:#16220e}
.utility-page .empty,.utility-page .policy-page {color:var(--ink)}
.account-browse {margin-left:auto;color:var(--screen-muted)}
.account-card {width:min(510px,90%);margin:clamp(30px,9vh,85px) auto;padding:clamp(25px,4vw,45px);border:1px solid #415145;border-radius:15px;background:linear-gradient(160deg,#243429,#172019)}
.account-card p {margin:15px 0;color:var(--screen-muted);line-height:1.55}
.account-card button {width:100%;margin-top:9px;justify-content:center;border-radius:7px;min-height:46px;background:#253327;color:white;border-color:#758675}
.account-card button.solid {background:var(--screen-lime);color:#101a0e}
.account-card a {color:#d9efa7;text-decoration:underline}
@media(max-width:800px){
 .page.overview-course,.page.reading-course,.page.utility-page {width:92%;margin-top:16px}
 .reading-course .course-sidebar {height:auto}
 .overview-course .course-hero {padding:24px 20px}
 .overview-course .course-hero::before {background:linear-gradient(90deg,#101812eb 7%,#101812bf 65%,#1018129c),linear-gradient(0deg,#101510a6,transparent)}
 .overview-course .course-backdrop {width:87%}
 .overview-course .module-grid {grid-template-columns:minmax(0,1fr)}
}
.subject-cover {min-width:0;width:100%}
.subject-cover h2 {overflow-wrap:anywhere}
@media(max-width:740px){.subject-cover {aspect-ratio:auto;min-height:145px}}

.account-card [hidden] { display:none !important }
.account-card #email-option { margin-top:9px }
.account-card #email-option summary { display:flex; justify-content:center; align-items:center; min-height:46px; border:1px solid #758675; border-radius:7px; cursor:pointer; background:var(--screen-lime); color:#101a0e }
.account-card #email-form { display:grid; gap:.45rem; padding:.9rem 0 }
.account-card #email-form input { width:100%; box-sizing:border-box; padding:.65rem .8rem; font:inherit; border:1px solid #758675; border-radius:6px; background:#172019; color:#fff }
.account-card button.account-text-button { background:transparent; color:#d9efa7; border:0; text-decoration:underline; cursor:pointer; min-height:40px; font:inherit }
.account-card #provider-notice { font-size:.85rem }

.screen-account .pill,.screen-menu,.shelf-controls button {min-height:44px}
.shelf-controls button {min-width:44px}
.utility-page .side-links a {display:inline-flex;align-items:center;justify-content:space-between;gap:12px;line-height:1.4}
.utility-page .side-links a span[aria-hidden] {flex:none}
.course-actions .pill,.purchase-options .pill {column-gap:.65em;line-height:1.35}
@media(max-width:740px){
 .utility-page .sidebar {padding:12px 16px}
 .utility-page .sidebar h1 {font-size:1.45rem;line-height:1.2;margin:0 0 8px}
 .utility-page .sidebar .side-description {font-size:1rem;line-height:1.5;margin-bottom:12px}
 .utility-page:has(.content .page-head)>.sidebar {order:2}
 .utility-page .sidebar .side-links {margin:0;gap:2px 20px}
 .screen-nav nav a {min-height:44px;display:inline-flex;align-items:center}
}

body:has(.browse-fallback) {background:#101510;color:#f3f8ed}
.browse-fallback {width:min(1050px,90%);margin:clamp(22px,5vw,58px) auto;font:1.03rem/1.6 Nunito,system-ui,sans-serif}
.browse-fallback nav {display:flex;gap:10px 24px;flex-wrap:wrap;margin-bottom:24px}
.browse-fallback a {display:inline-block;color:#d2f4a5;text-decoration:underline;text-underline-offset:3px;padding-block:8px}
.browse-fallback section {margin-top:28px}
.browse-fallback ul {list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:2px 20px}
