/* November 2026: a quiet, editorial study library. Loaded after feature styles. */
:root {
  --brand-950: #152d27;
  --brand-900: #203d33;
  --brand-800: #285543;
  --brand-700: #2d634e;
  --brand-500: #38775c;
  --brand-cyan: #bad4ba;
  --brand-gold: #d8b571;
  --accent: #2d634e;
  --accent-strong: #234b3b;
  --accent-soft: #dce8dc;
  --accent-tint: #edf2e9;
  --action: #2d634e;
  --action-hover: #234b3b;
  --bg: #f8f6f0;
  --surface: #fffefb;
  --surface-2: #f0eee5;
  --ink: #242b25;
  --muted: #5c645c;
  --line: #dedfd3;
  --line-strong: #bec6b8;
  --radius: 16px;
  --radius-sm: 9px;
  --shadow: 0 12px 32px rgb(36 43 37 / .07);
  --shadow-sm: 0 3px 12px rgb(36 43 37 / .035);
}

body { line-height: 1.7; }
::selection { background: #dce8cc; color: #152d27; }
.site-header { border-top: 0; border-bottom: 1px solid #375247; background: var(--brand-950); }
.nav { min-height: 76px; }
.site-header .brand { gap: 11px; font-weight: 720; letter-spacing: -.025em; }
.site-header .brand .mark { width: 37px; height: 39px; border: 1px solid #658074; border-radius: 7px 7px 15px 7px; box-shadow: none; background: #f2efd9; color: #203d33; font: 700 1rem var(--font-editorial); }
.nav-links a { color: #e1e8dd; font-weight: 580; border-radius: 6px; border-bottom: 0; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: #304b40; color: #fff; box-shadow: inset 0 -2px 0 #d8b571; }
.iconbtn { border-color: #5c7366; border-radius: 7px; }
.iconbtn:hover { background: #304b40; border-color: #bad4ba; }
.drawer { background: #203d33; border-color: #536e5e; }
.drawer details, .drawer > .wrap > a.top { border-color: #4b6557; }
.drawer .sub a:hover { color: #d8b571; }
.btn { gap: 9px; min-height: 46px; padding: 11px 20px; border-radius: 7px; font-weight: 700; line-height: 1.35; text-align: center; }
.btn-primary { border-color: var(--action); background: var(--action); }
.btn-primary:hover { border-color: var(--action-hover); background: var(--action-hover); }
.btn-ghost { background: transparent; border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--accent-tint); }
.eyebrow { font-size: .7rem; font-weight: 750; line-height: 1.5; letter-spacing: .12em; }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.65rem); font-weight: 500; line-height: 1.15; }
.section-lead { max-width: 67ch; line-height: 1.7; }
.text-link { font-weight: 700; text-underline-offset: .25em; }
:where(.editorial-head,.support-hero,.shop-hero,.product-hero,.essay-review-hero,.checklist-head,.model-answer-hero,.reading-list-hero) h1 { font-family: var(--font-editorial); font-weight: 500; line-height: 1.08; letter-spacing: -.035em; }
.crumbs { padding-top: 23px; font-size: .76rem; }

/* A light, uncluttered introduction puts the course and its useful next steps first. */
.page-home .home-hero { background: #eeeede; border-bottom: 1px solid #d7dccb; color: var(--ink); }
.page-home .home-hero::before { background: radial-gradient(ellipse at 86% 0, #dce5d288 0, transparent 57%); }
.page-home .home-hero .hero-inner { padding: clamp(40px, 6.5vw, 76px) 24px 72px; }
.page-home .hero-grid { gap: 44px; }
.page-home .home-hero .eyebrow { color: #486448; margin-bottom: 20px; }
.page-home .home-hero h1 { max-width: 19ch; margin: 0 0 23px; color: #23392c; font-size: clamp(2.6rem, 5.15vw, 4.35rem); font-weight: 500; line-height: 1.06; letter-spacing: -.045em; }
.page-home .home-hero h1 > span { color: #537044; }
.page-home .home-hero .sub { max-width: 54ch; color: #515f4e; font-size: 1.06rem; line-height: 1.75; }
.page-home .hero-search { margin: 25px 0 18px; }
.page-home .hero-search > label { color: #364b39; font-size: .78rem; font-weight: 700; }
.page-home .hero-search > div { overflow: hidden; border: 1px solid #aebda5; border-radius: 9px; box-shadow: 0 2px 5px #203d3305; }
.page-home .hero-search input { min-height: 53px; padding: 0 16px; background: #fffefb; color: #242b25; font-weight: 450; font-size: .95rem; }
.page-home .hero-search button { min-height: 53px; border: 0; padding-inline: 22px; background: #2d634e; font-weight: 700; }
.page-home .hero-search button:hover { background: #234b3b; }
.page-home .home-hero .cta-row { gap: 10px 16px; }
.page-home .home-hero .btn-primary { background: #2d634e; color: #fff; border: 1px solid #2d634e; }
.page-home .home-hero .btn-primary:hover { background: #234b3b; border-color: #234b3b; }
.page-home .home-hero .btn-ghost { border-color: #aebda5; color: #304a36; background: transparent; }
.page-home .home-hero .btn-ghost:hover { background: #e2e7d8; border-color: #647b59; }
.hero-skills-link { color: #304a36; font-size: .82rem; text-underline-offset: .25em; }
.hero-course-facts { display: flex; flex-wrap: wrap; gap: 18px 32px; margin: 26px 0 0; padding: 19px 0 0; border-top: 1px solid #cbd4be; max-width: 500px; }
.hero-course-facts > div { display: flex; align-items: baseline; gap: 8px; }
.hero-course-facts dt { font: 500 1.6rem/1 var(--font-editorial); color: #304a36; }
.hero-course-facts dd { margin: 0; color: #5c6757; font-size: .72rem; }
.page-home .hero-trust { max-width: 56ch; margin-top: 20px; color: #5b6756; font-size: .72rem; font-weight: 450; line-height: 1.8; }
.page-home .hero-trust > span { padding-inline: 3px; }
.page-home .hero-side { gap: 17px; }
.page-home .hero-map { border: 1px solid #c7d1be; border-radius: 14px; box-shadow: 0 14px 34px #304a3608; background: #fffefb; }
.page-home .hero-map-label { padding: 20px 23px 16px; color: #6b735f; font-size: .68rem; letter-spacing: .12em; }
.page-home .hero-map a { min-height: 86px; padding: 17px 22px; border-color: #e5e6da; gap: 14px; }
.page-home .hero-map-copy strong { color: #2a392c; font-family: var(--font-editorial); font-size: 1.15rem; font-weight: 600; }
.page-home .hero-map-copy small { color: #677160; font-size: .7rem; font-weight: 450; }
.page-home .hero-map-number { width: 33px; height: 33px; background: #f1f1e8; border: 1px solid #dfe1d2; font-weight: 650; }
.page-home .hero-news { background: #e2e7d7; border: 1px solid #c7d1be; border-left: 3px solid #8c9e70; padding: 19px 22px; box-shadow: none; border-radius: 12px; }
.page-home .hero-news:hover { background: #dbe3ce; border-color: #8c9e70; }
.page-home .hero-news-kicker { color: #536549; font-size: .65rem; line-height: 1.5; }
.page-home .hero-news > strong { color: #2c432e; font-family: var(--font-editorial); font-size: 1.18rem; font-weight: 600; line-height: 1.3; }
.page-home .hero-news-summary { color: #55634c; font-size: .78rem; line-height: 1.6; }
.page-home .hero-news-source { color: #304a36; font-size: .72rem; font-weight: 700; }

/* Distinct pathways, with quieter framing and more breathing room. */
.home-launchpad { gap: 12px; margin-top: -25px; }
.home-launchpad > a { border: 1px solid var(--line); border-top: 1px solid var(--line); border-radius: 11px; padding: 20px 17px; min-height: 139px; box-shadow: var(--shadow-sm); }
.home-launchpad > a:nth-child(n) { --accent: #456a50; }
.home-launchpad > a > span { width: 25px; height: 25px; display: grid; place-items: center; background: var(--accent-tint); border-radius: 50%; font-weight: 650; }
.home-launchpad small { font-size: .62rem; letter-spacing: .12em; }
.home-launchpad strong { font-weight: 700; line-height: 1.4; }
.home-launchpad p { font-size: .76rem; line-height: 1.6; }
.home-launchpad > a:hover { transform: translateY(-2px); }
.home-sections section.band { padding-block: clamp(34px, 5vw, 61px); }
.study-dashboard { border-top: 1px solid var(--line); border-radius: 12px; box-shadow: none; padding: 26px; gap: 26px; }
.study-dashboard .section-title { font-size: 1.8rem; }
.study-dashboard .eyebrow { margin-bottom: 8px; }
.progress-summary { border-radius: 9px; background: #e9eede; color: #304a36; padding: 22px; }
.progress-summary p { color: #59684e; }
.progress-numbers > strong { font-family: var(--font-editorial); font-weight: 500; }
.progress-numbers > span { font-size: .8rem; }
.progress-track, .component-progress-track { height: 5px; border-radius: 8px; background: #d4deca; }
.progress-track > span, .component-progress-track > span { background: #66815d; }
.directory-grid { border-radius: 12px; overflow: hidden; }
.topic-directory { border-top-color: var(--line-strong); }
.directory-paper { padding: 26px; }
.directory-paper li a { font-size: .85rem; }
.component-card { border-radius: 12px; border-top-width: 4px; overflow: hidden; box-shadow: var(--shadow-sm); }
.component-card h3 { font-family: var(--font-editorial); font-size: 1.65rem; font-weight: 600; }
.component-card p { font-size: .9rem; line-height: 1.7; }
.component-card > a { padding: 27px; }
.component-progress { padding-inline: 27px; font-size: .74rem; }
.topic-feature, .resource-card, .exam-countdown-card, .article-slide, .article-card { border-radius: 12px; box-shadow: none; overflow: hidden; }
.article-slide { border-top-width: 3px; }
.article-slide h3, .article-card h2 { font-family: var(--font-editorial); font-weight: 600; line-height: 1.22; }
.article-slide p, .article-card p { font-size: .88rem; line-height: 1.65; }
.article-count { color: var(--line-strong); font-family: var(--font-editorial); font-weight: 500; }
.rail-button { border-radius: 50%; }
.resource-card h3, .topic-feature h3 { font-family: var(--font-editorial); font-weight: 600; }
.resource-number { font-family: var(--font-editorial); font-weight: 500; }
.home-sections section.marker-home-band { padding: clamp(27px, 4.5vw, 47px); margin: 18px 0 28px; background: #e9eddf; border: 1px solid #ced8c3; border-radius: 16px; box-shadow: none; }
.marker-home-band .eyebrow { color: #486448; }
.marker-home-band .section-title { color: #304a36; }
.marker-home-band .section-lead, .marker-home-band .microcopy { color: #55634c; }
.marker-home-stat { padding: 28px 23px; border: 1px solid #cad3bf; border-radius: 12px; background: #f7f8ef; }
.marker-home-stat strong { font-family: var(--font-editorial); font-weight: 500; font-size: 5.5rem; color: #486448; }
.marker-home-stat span { color: #55634c; font-size: .8rem; font-weight: 500; }
.home-sections section.product-home-band { margin: 28px 0; padding: clamp(27px, 4.5vw, 47px); background: #203d33; border: 1px solid #203d33; border-radius: 16px; }
.product-home-band .section-title { color: #fffef3; }
.product-home-band .eyebrow { color: #c8d5b8; }
.product-home-band .section-lead { color: #d9e1d3; }
.product-home-band .btn-primary { background: #e8eddd; border-color: #e8eddd; color: #203d33; }
.product-home-band .btn-primary:hover { background: #fffef3; border-color: #fffef3; }
.product-home-band .btn-ghost { color: #fff; border-color: #8ba18e; background: transparent; }
.product-home-band .btn-ghost:hover { background: #304b40; }
.product-home-stat strong { font-family: var(--font-editorial); font-weight: 500; }
.product-home-stat span { color: #d9e1d3; }
.newsletter-band { border: 1px solid var(--line); background: var(--surface); border-radius: 14px; }
.offer-panel { border-radius: 14px; }
.mini-offer { border-radius: 10px; }

/* The shop, essays and services carry the same visual language. */
.shop-hero > aside, .marker-score-demo { background: #203d33; border: 1px solid #47614d; box-shadow: none; border-radius: 14px; }
.shop-hero > aside span, .marker-score-demo small { color: #d9e1d3; }
.marker-score-demo > span { color: #c8d5b8; }
.marker-score-demo a { color: #edf2e3; }
.product-card, .model-answer-card { border-radius: 14px; box-shadow: none; }
.product-card.featured { border-color: var(--accent); }
.product-card-body { padding: 23px; }
.product-card h2 { font: 600 1.4rem/1.2 var(--font-editorial); }
.product-card .shop-price strong { font: 550 1.85rem/1.1 var(--font-editorial); letter-spacing: -.03em; }
.shop-card-actions { padding: 0 23px 23px; gap: 10px; }
.product-card-image { background: #f0eee5; }
.product-cover { border-radius: 14px; overflow: hidden; }
.credit-pack { box-shadow: none; border-radius: 12px; }
.credit-pack > div > span { font-family: var(--font-editorial); font-weight: 500; }
.bundle-saving { border-radius: 0 7px 7px 0; }
.services-page .service-hero { background: #203d33; border-top-color: #b5c49d; border-radius: 16px; }
.services-page .service-hero .eyebrow { color: #c8d5b8; }
.services-page .service-hero h1 { font-family: var(--font-editorial); font-weight: 500; }
.services-page .service-lead, .services-page .service-hero-link { color: #d9e1d3; }
.services-page .service-hero .btn-primary { border-color: #c8d5b8; }
.services-page .service-hero .btn-ghost { border-color: #8ba18e; }
.services-page .service-hero .btn-ghost:hover { background: #304b40; }
.services-page .service-quote { border-color: var(--line); border-radius: 11px; }
.marker-form, .marker-results, .marker-sample { border-radius: 14px; }
.site-footer { background: #152d27; border-top: 1px solid #375247; margin-top: 36px; }
.site-footer .wrap { padding-block: 48px 28px; }
.site-footer .footer-heading { color: #c5d1b7; font-weight: 650; }
.site-footer .foot-note { color: #c5cdbf; border-color: #45614e; line-height: 1.7; }
.site-footer a { color: #e2e8dc; font-size: .8rem; line-height: 1.6; padding-block: 5px; }
.site-footer .brand .mark { background: #f2efd9; color: #203d33; box-shadow: none; }
.revbar { background: var(--surface); border-top-color: var(--line); }
.revbar a { color: var(--muted); }
.revbar a:hover, .revbar a[aria-current="page"] { color: var(--accent-strong); }
.measurement-choice { background: var(--surface); }

/* Theme controls remain useful: no light-only cards with unreadable dark text. */
[data-theme="dark"] {
  --brand-950: #10261f; --brand-900: #1b382c; --brand-800: #2c503d;
  --brand-700: #367254; --brand-cyan: #bed4af; --brand-gold: #dfbd7c;
  --bg: #15231c; --surface: #1d3025; --surface-2: #263c2e;
  --ink: #f2f1e6; --muted: #bec9b6; --line: #40553f; --line-strong: #6a7e60;
  --accent: #b7cfa0; --accent-strong: #d8e6c4; --accent-tint: #2c422d; --accent-soft: #3f5739;
  --action: #3f7655; --action-hover: #355f46;
}
[data-theme="dark"] .home-hero, [data-theme="dark"] .page-home .home-hero { background: #1c3226; border-color: #40553f; }
[data-theme="dark"] .page-home .home-hero::before { opacity: .15; }
[data-theme="dark"] .page-home .home-hero h1, [data-theme="dark"] .page-home .hero-map-copy strong { color: #f2f1e6; }
[data-theme="dark"] .page-home .home-hero h1 > span { color: #c6d8ac; }
[data-theme="dark"] .page-home .home-hero .eyebrow, [data-theme="dark"] .page-home .hero-map-label { color: #c6d8ac; }
[data-theme="dark"] .page-home .home-hero .sub, [data-theme="dark"] .page-home .hero-trust, [data-theme="dark"] .page-home .hero-map-copy small { color: #c5d0ba; }
[data-theme="dark"] .page-home .hero-search > label, [data-theme="dark"] .hero-skills-link { color: #d8e6c4; }
[data-theme="dark"] .page-home .home-hero .btn-ghost { color: #e3ecd6; border-color: #789069; }
[data-theme="dark"] .page-home .home-hero .btn-ghost:hover { background: #304b35; }
[data-theme="dark"] .hero-course-facts { border-color: #536749; }
[data-theme="dark"] .hero-course-facts dt { color: #d8e6c4; }
[data-theme="dark"] .hero-course-facts dd { color: #c5d0ba; }
[data-theme="dark"] .page-home .hero-map { background: var(--surface); border-color: var(--line-strong); }
[data-theme="dark"] .page-home .hero-map a { border-color: var(--line); }
[data-theme="dark"] .page-home .hero-map-number { background: var(--surface-2); border-color: var(--line); }
[data-theme="dark"] .page-home .hero-news { background: #263c2e; border-color: #536749; }
[data-theme="dark"] .page-home .hero-news:hover { background: #304733; }
[data-theme="dark"] .page-home .hero-news > strong, [data-theme="dark"] .page-home .hero-news-source { color: #e7eedc; }
[data-theme="dark"] .page-home .hero-news-kicker, [data-theme="dark"] .page-home .hero-news-summary { color: #c5d0ba; }
[data-theme="dark"] .progress-summary, [data-theme="dark"] .home-sections section.marker-home-band { background: #293f2d; border-color: #536749; color: #e7eedc; }
[data-theme="dark"] .progress-summary p, [data-theme="dark"] .marker-home-band .section-lead, [data-theme="dark"] .marker-home-band .microcopy { color: #c5d0ba; }
[data-theme="dark"] .marker-home-band .section-title, [data-theme="dark"] .marker-home-band .eyebrow, [data-theme="dark"] .marker-home-stat strong { color: #d8e6c4; }
[data-theme="dark"] .marker-home-stat { background: #203626; border-color: #536749; }
[data-theme="dark"] .marker-home-stat span { color: #c5d0ba; }
[data-theme="dark"] .product-card-image { background: #1b3024; }

@media (min-width: 1020px) {
  .page-home .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(310px, .75fr); }
}
@media (max-width: 619px) {
  .page-home .home-hero .hero-inner { padding: 36px 20px 53px; }
  .page-home .home-hero h1 { font-size: clamp(2.5rem, 10vw, 3.25rem); max-width: 18ch; }
  .page-home .hero-grid { gap: 30px; }
  .page-home .home-hero .sub { font-size: .98rem; }
  .hero-course-facts { gap: 16px 20px; }
  .hero-course-facts > div { gap: 6px; }
  .hero-course-facts dt { font-size: 1.45rem; }
  .hero-course-facts dd { font-size: .66rem; }
  .page-home .hero-map a { min-height: 76px; }
  .home-launchpad { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .home-launchpad > a { min-height: 150px; padding: 17px 13px; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
  .home-launchpad > a > span { grid-column: 1; }
  .home-launchpad > a > div { grid-column: 1 / -1; }
  .home-launchpad > a > b { grid-column: 2; grid-row: 1; }
  .home-launchpad p { font-size: .73rem; }
  .home-launchpad strong { font-size: .9rem; }
  .study-dashboard { padding: 22px; }
  .marker-home-stat { justify-content: center; padding: 22px; }
  .directory-paper { padding: 22px; }
  .site-footer .wrap { padding-top: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-launchpad > a { transition: none; }
  .home-launchpad > a:hover { transform: none; }
}
@media print {
  :root, [data-theme="dark"] { --ink: #000; --muted: #333; --bg: #fff; --surface: #fff; }
  .home-hero, .page-home .home-hero { color: #000; background: #fff; }
  .hero-course-facts, .hero-skills-link { display: none; }
}
