/* =====================================================================
   Home and course pages (2026-11-30 redesign): calm, light, scientific.
   Loaded after styles.css on index.html and course.html only, everything
   scoped under body.hc, so the rest of the site keeps its own look.
   Figures (the synapse plate, the drug structures) are inline SVG built by
   redesign/build-pages.mjs in the worktree; their classes are styled here.
   ===================================================================== */

body.hc {
  --hc-ink: #131B2D;
  --text: #2A3345;
  --muted: #586174;
  --faint: #8A919F;
  --line: #E6E1D9;
  --line-soft: #EFEBE5;
  --paper: #FBF9F6;
  --white: #FFFFFF;
  --coral: #F84464;
  --coral-deep: #D9324F;
  --coral-ink: #B92640;
  --coral-tint: #FFF1EC;
  --blue: #6498EC;
  --blue-deep: #3F6FD6;
  --blue-tint: #EEF3FD;
  --sage: #1B8A64;
  --sage-tint: #EAF5F0;
  --lav-tint: #F3F0FB;
  --peach-tint: #FFF4EE;
  --gold-tint: #FFF7E6;
  --f: "General Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(19, 27, 45, .04), 0 18px 40px -22px rgba(19, 27, 45, .22);
  --shadow-lg: 0 2px 6px rgba(19, 27, 45, .04), 0 40px 80px -40px rgba(19, 27, 45, .30);
  background: var(--paper);
  color: var(--text);
  font-family: var(--f);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.hc ::selection { background: #FFD6DE; color: var(--hc-ink); }
body.hc :focus-visible { outline: 2.5px solid var(--blue-deep); outline-offset: 3px; border-radius: 6px; }
body.hc main { overflow-x: clip; }
body.hc h1, body.hc h2, body.hc h3, body.hc h4 { font-family: var(--f); color: var(--hc-ink); font-weight: 600; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
body.hc p { margin: 0; text-wrap: pretty; }
body.hc a { color: inherit; }

.hc .wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }
.hc .sec { padding-block: clamp(56px, 6.5vw, 96px); position: relative; }
.hc .sec-tight { padding-block: clamp(48px, 6vw, 80px); }

/* ---------- Type ---------- */
.hc .display { font-size: clamp(2.5rem, 1.4rem + 3.4vw, 4.15rem); line-height: 1.02; letter-spacing: -.038em; font-weight: 600; }
.hc .h2 { font-size: clamp(1.95rem, 1.3rem + 2vw, 2.95rem); line-height: 1.06; letter-spacing: -.032em; }
.hc .h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); line-height: 1.2; letter-spacing: -.02em; }
.hc .lede { font-size: clamp(1.08rem, 1rem + .35vw, 1.3rem); line-height: 1.55; color: var(--muted); }
.hc .small { font-size: .9rem; color: var(--muted); }
.hc .label {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.hc .label i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); display: inline-block; }
.hc .num { font-variant-numeric: tabular-nums; }
.hc .hl { color: var(--coral-deep); }

/* ---------- Buttons ---------- */
.hc .b {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 1rem/1 var(--f); letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
}
.hc .b .arr { display: inline-block; transition: transform .25s var(--ease); }
.hc .b:hover .arr { transform: translateX(3px); }
.hc .b:active { transform: translateY(1px) scale(.99); }
.hc .b-primary { background: var(--coral-deep); color: #fff; box-shadow: 0 10px 24px -12px rgba(217, 50, 79, .7); }
.hc .b-primary:hover { background: var(--coral-ink); transform: translateY(-1px); box-shadow: 0 16px 30px -14px rgba(217, 50, 79, .75); }
.hc .b-ink { background: var(--hc-ink); color: #fff; }
.hc .b-ink:hover { background: #24304A; transform: translateY(-1px); }
.hc .b-quiet { background: #fff; color: var(--hc-ink); box-shadow: inset 0 0 0 1px rgba(19, 27, 45, .14), 0 1px 2px rgba(19, 27, 45, .05); }
.hc .b-quiet:hover { box-shadow: inset 0 0 0 1px rgba(19, 27, 45, .28), 0 6px 16px -10px rgba(19, 27, 45, .3); transform: translateY(-1px); }
.hc .b-sm { min-height: 42px; padding: 0 18px; font-size: .93rem; }
.hc .b-block { width: 100%; }
.hc .tlink { color: var(--hc-ink); font-weight: 600; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 100% 1.5px; background-position: 0 100%; background-repeat: no-repeat; padding-bottom: 2px; transition: background-size .3s var(--ease), color .2s; }
.hc .tlink:hover { color: var(--coral-deep); }
.hc .tlink .arr { display: inline-block; transition: transform .25s var(--ease); }
.hc .tlink:hover .arr { transform: translateX(3px); }

/* ---------- Header (shared markup, restyled light here) ---------- */
body.hc .site-header {
  background: rgba(251, 249, 246, .78);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid rgba(19, 27, 45, .07); box-shadow: none;
}
body.hc .site-header::after { display: none; }
body.hc .nav { padding-block: 12px; }
body.hc .brand-mark { width: 40px; height: 40px; }
body.hc .brand-word { color: var(--hc-ink); font-family: var(--f); font-weight: 600; font-size: 1.35rem; letter-spacing: -.025em; }
body.hc .nav-links { background: none; border: 0; box-shadow: none; padding: 0; gap: 2px; }
body.hc .nav-links a { font-family: var(--f); font-size: 1rem; font-weight: 500; color: var(--muted); padding: .5rem .95rem .55rem; letter-spacing: -.005em; }
body.hc .nav-links a::after { background: var(--coral); height: 2px; bottom: .1rem; opacity: 1; left: .95rem; right: .95rem; }
body.hc .nav-links a:hover { color: var(--hc-ink); background: rgba(19, 27, 45, .045); }
body.hc .nav-links a[aria-current] { color: var(--hc-ink); background: transparent; }
body.hc .nav-links a[aria-current]::after { box-shadow: none; }
body.hc .nav-cta .btn { font-family: var(--f); font-weight: 600; font-size: .95rem; padding: .72em 1.3em; }
body.hc .nav-cta .btn--ghost { background: transparent; color: var(--hc-ink); border-color: rgba(19, 27, 45, .16); }
body.hc .nav-cta .btn--ghost:hover { border-color: rgba(19, 27, 45, .32); background: rgba(19, 27, 45, .03); color: var(--hc-ink); }
body.hc .nav-cta .btn--cyan { background: var(--hc-ink); color: #fff; box-shadow: none; }
body.hc .nav-cta .btn--cyan:hover { background: #24304A; box-shadow: none; }
body.hc .nav-toggle { background: #fff; color: var(--hc-ink); border-color: rgba(19, 27, 45, .14); }
@media (max-width: 1023px) {
  body.hc .mobile-menu { background: var(--paper); border-top: 1px solid var(--line); }
  body.hc .mobile-menu a { color: var(--hc-ink); font-family: var(--f); font-weight: 500; border-bottom-color: var(--line); }
  body.hc .mobile-menu a[aria-current] { color: var(--coral-deep); }
  body.hc .mobile-menu a.btn--ghost { color: var(--hc-ink); border: 1px solid rgba(19, 27, 45, .16); background: #fff; }
  body.hc .mobile-menu a.btn--cyan { background: var(--hc-ink); color: #fff; box-shadow: none; }
}

/* ---------- Disclaimer band and footer (shared markup) ---------- */
body.hc .disclaimer-band { background: var(--paper); border-top: 1px solid var(--line); }
body.hc .disclaimer-band .ico { color: var(--coral-deep); }
body.hc .disclaimer-band p { color: var(--muted); font-size: .9rem; }
body.hc .disclaimer-band b { color: var(--hc-ink); }
body.hc .site-footer { background: #111827; border-top: 0; color: #A9B1C2; }
body.hc .site-footer .brand-word { color: #fff; }
body.hc .footer-col h4 { font-family: var(--f); font-size: .78rem; letter-spacing: .12em; color: #fff; font-weight: 600; }
body.hc .footer-col a, body.hc .footer-brand p, body.hc .footer-bottom p { color: #A9B1C2; font-family: var(--f); }
body.hc .footer-col a:hover { color: #fff; }
body.hc .footer-social a { border-color: rgba(255, 255, 255, .14); color: #C9CFDB; border-radius: 999px; }
body.hc .footer-social a:hover { color: #fff; border-color: rgba(255, 255, 255, .4); }
body.hc .footer-disclaimer { font-family: var(--f); letter-spacing: 0; }
body.hc .footer-bottom { border-top-color: rgba(255, 255, 255, .1); }

/* ---------- Scroll reveal (main.js adds .is-visible) ---------- */
body.hc .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
body.hc .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { body.hc .reveal { opacity: 1; transform: none; transition: none; } }

/* =====================================================================
   HERO
   ===================================================================== */
.hc .hero-x {
  position: relative; isolation: isolate;
  padding-block: clamp(40px, 6vw, 84px) clamp(56px, 7vw, 104px);
  background:
    radial-gradient(48% 62% at 6% 4%, #FFE8DD 0%, rgba(255, 232, 221, 0) 70%),
    radial-gradient(42% 58% at 96% 8%, #ECE8FB 0%, rgba(236, 232, 251, 0) 70%),
    radial-gradient(60% 50% at 70% 104%, #E5EEFB 0%, rgba(229, 238, 251, 0) 70%),
    var(--paper);
}
.hc .hero-x::after { /* a very fine grain, so the wash does not look flat */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .46  0 0 0 0 .42  0 0 0 .16 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hc .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hc .hero-copy { max-width: 600px; }
.hc .hero-copy .display { margin: 22px 0 0; }
.hc .hero-copy .lede { margin: 24px 0 34px; max-width: 34em; }
.hc .hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hc .hero-note { margin-top: 26px; font-size: .95rem; color: var(--muted); }
.hc .hero-note a { color: var(--hc-ink); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid rgba(19, 27, 45, .22); }
.hc .hero-note a:hover { border-color: var(--coral); }
.hc .badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; text-decoration: none;
  background: rgba(255, 255, 255, .72); box-shadow: inset 0 0 0 1px rgba(19, 27, 45, .08); font-size: .9rem; color: var(--muted);
}
.hc .badge b { color: var(--hc-ink); font-weight: 600; }
.hc .badge .stars { display: inline-flex; gap: 1px; color: #F2A81D; }
.hc .badge .dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--coral-tint); }
.hc .badge .dot svg { width: 14px; height: 14px; color: var(--coral-deep); }

/* hero load-in */
@keyframes hc-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hc .rise { animation: hc-rise 1s var(--ease) both; animation-delay: var(--d, 0s); }
@media (prefers-reduced-motion: reduce) { .hc .rise { animation: none; } }

/* ---------- The figure ---------- */
.hc .figure { position: relative; margin: 0; }
.hc .figure-frame {
  position: relative; border-radius: 28px; background: #fff; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(19, 27, 45, .06), 0 2px 4px rgba(19, 27, 45, .03), 0 50px 90px -46px rgba(60, 50, 90, .38);
}
.hc .figure-frame svg { display: block; width: 100%; height: auto; }
.hc .figure figcaption { display: flex; gap: 14px; align-items: flex-start; margin: 16px 6px 0; font-size: .92rem; line-height: 1.5; color: var(--muted); }
.hc .figure figcaption b { color: var(--hc-ink); font-weight: 600; white-space: nowrap; }
/* Fig. 1, fifth pass: the switch, with or without an SSRI */
.hc .fig-toggle {
  position: absolute; right: clamp(14px, 1.8vw, 22px); bottom: clamp(14px, 1.8vw, 22px); z-index: 2;
  display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(19, 27, 45, .1), 0 12px 26px -16px rgba(19, 27, 45, .4);
}
.hc .fig-toggle button {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px;
  font: 600 .9rem/1 var(--f); letter-spacing: -.005em; border: 0; cursor: pointer; border-radius: 999px;
  background: transparent; color: var(--muted); transition: background-color .25s var(--ease), color .25s var(--ease);
}
.hc .fig-toggle button:hover { color: var(--hc-ink); }
.hc .fig-toggle button[aria-pressed="true"] { background: var(--hc-ink); color: #fff; }
.hc .fig-toggle button[data-ssri="on"][aria-pressed="true"] { background: var(--sage); }
.hc .fig-toggle button:focus-visible { outline: 2px solid var(--cyan, #3F6FD6); outline-offset: 2px; }
.hc .fig-toggle .sw { width: 9px; height: 9px; border-radius: 50%; flex: none; background: currentColor; opacity: .55; }
.hc .fig-toggle button[aria-pressed="true"] .sw { opacity: 1; background: #fff; }
.hc .fig-toggle button[data-ssri="on"] .sw { background: var(--sage); opacity: 1; }
.hc .fig-toggle button[data-ssri="on"][aria-pressed="true"] .sw { background: #fff; }

/* synapse plate: labels and motion */
.hc .synapse-fig .syn-text { font-family: var(--f); font-weight: 600; letter-spacing: -.005em; fill: #2B3446; }
.hc .synapse-fig .syn-region { font-family: var(--f); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; fill: #8E96A5; }
.hc .synapse-fig .syn-lab-key .syn-text { fill: #157A57; }
.hc .synapse-fig .syn-lead { stroke-dasharray: 1; stroke-dashoffset: 0; }
.hc .synapse-fig .syn-ht, .hc .synapse-fig .syn-ves { transform-box: fill-box; transform-origin: 50% 50%; }
.hc .synapse-fig .syn-ht-a { animation: syn-a 9s ease-in-out infinite; }
.hc .synapse-fig .syn-ht-b { animation: syn-b 11s ease-in-out infinite; }
.hc .synapse-fig .syn-ht-c { animation: syn-c 10s ease-in-out infinite; }
@keyframes syn-a { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(7px, -5px); } 66% { transform: translate(-5px, 4px); } }
@keyframes syn-b { 0%, 100% { transform: translate(0, 0); } 40% { transform: translate(-7px, 4px); } 75% { transform: translate(5px, -4px); } }
@keyframes syn-c { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(6px, 6px); } }
.hc .synapse-fig .syn-ves { animation: syn-ves 8s ease-in-out infinite; }
@keyframes syn-ves { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(0, -5px); } }
/* a bead carried back up through a working pump (pump frame: +y points into the gap) */
.hc .synapse-fig .syn-up { animation: syn-up 3.4s ease-in-out infinite; }
.hc .synapse-fig .syn-up-2 { animation-name: syn-up-r; animation-delay: -1.7s; }
@keyframes syn-up { 0% { transform: translate(46px, 62px); opacity: 0; } 14% { opacity: 1; } 42% { transform: translate(0, 40px); } 84% { opacity: 1; } 100% { transform: translate(0, -60px); opacity: 0; } }
@keyframes syn-up-r { 0% { transform: translate(-46px, 62px); opacity: 0; } 14% { opacity: 1; } 42% { transform: translate(0, 40px); } 84% { opacity: 1; } 100% { transform: translate(0, -60px); opacity: 0; } }
/* a bead leaving the open vesicle into the gap */
.hc .synapse-fig .syn-rel { opacity: 0; animation: syn-rel 4.2s ease-out infinite; }
.hc .synapse-fig .syn-rel-2 { animation-delay: -2.1s; }
@keyframes syn-rel { 0% { transform: translate(0, -14px); opacity: 0; } 12% { opacity: 1; } 70% { opacity: 1; } 100% { transform: translate(-6px, 34px); opacity: 0; } }
.hc .synapse-fig .syn-rel-2 { animation-name: syn-rel-2; }
@keyframes syn-rel-2 { 0% { transform: translate(0, -14px); opacity: 0; } 12% { opacity: 1; } 70% { opacity: 1; } 100% { transform: translate(10px, 30px); opacity: 0; } }
.hc .synapse-fig .syn-ssri, .hc .synapse-fig .syn-extra { transition: opacity .6s var(--ease); }
.hc .synapse-fig .syn-flow-r { opacity: 0; transition: opacity .6s var(--ease); }
.hc .synapse-fig.no-ssri .syn-ssri, .hc .synapse-fig.no-ssri .syn-extra { opacity: 0; }
.hc .synapse-fig.no-ssri .syn-flow-r { opacity: 1; }
.hc .synapse-fig.no-ssri .syn-lab-key { opacity: 0; }
.hc .synapse-fig .syn-lab { transition: opacity .6s var(--ease); }
/* first paint: labels draw in */
.js .hc .synapse-fig.is-drawing .syn-lead { stroke-dashoffset: 1; }
.js .hc .synapse-fig.is-drawing .syn-text, .js .hc .synapse-fig.is-drawing .syn-lab circle { opacity: 0; }
.hc .synapse-fig .syn-lead { transition: stroke-dashoffset 1s var(--ease) calc(var(--d) + .3s); }
.hc .synapse-fig .syn-text, .hc .synapse-fig .syn-lab circle { transition: opacity .7s var(--ease) calc(var(--d) + .5s); }
@media (prefers-reduced-motion: reduce) {
  .hc .synapse-fig * { animation: none !important; transition: none !important; }
  .hc .synapse-fig .syn-rel { display: none; }
}

/* one column (tablets): the figure keeps a reading size instead of filling the width */
@media (max-width: 1080px) and (min-width: 561px) { .hc .hero-x .figure { max-width: 640px; } }

/* the key under the figure: only on a phone, where the plate is too small for its labels */
.hc .fig-key { display: none; }
@media (max-width: 560px) {
  .hc .synapse-fig .syn-labels .syn-lab { display: none; }
  .hc .synapse-fig .syn-region { font-size: 30px; letter-spacing: 0; text-transform: none; fill: #7C8596; }
  .hc .fig-key {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; list-style: none; margin: 14px 4px 0; padding: 0;
    font-size: .86rem; line-height: 1.3; color: var(--hc-ink);
  }
  .hc .fig-key li { display: flex; align-items: center; gap: 9px; }
  .hc .fig-key svg { flex: none; width: 26px; height: 26px; }
  .hc .fig-key .k-ssri { color: #157A57; font-weight: 600; }
}
@media (max-width: 760px) {
  .hc .fig-toggle { position: static; display: flex; width: fit-content; margin: 12px auto 14px; }
}

/* ---------- Proof strip ---------- */
.hc .proof { border-block: 1px solid var(--line); background: #fff; }
.hc .proof-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.hc .proof-item { padding: 26px clamp(14px, 2vw, 28px); border-left: 1px solid var(--line); }
.hc .proof-item:first-child { border-left: 0; padding-left: 0; }
.hc .proof-item b { display: block; font-size: 1.05rem; font-weight: 600; color: var(--hc-ink); letter-spacing: -.01em; }
.hc .proof-item span { font-size: .9rem; color: var(--muted); }

/* ---------- Section heads ---------- */
.hc .head { max-width: 760px; }
.hc .head .h2 { margin-top: 16px; }
.hc .head .lede { margin-top: 18px; }
.hc .head.center { margin-inline: auto; text-align: center; }

/* ---------- Course feature (home) ---------- */
.hc .course-feature { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hc .course-feature .h2 { margin-top: 16px; }
.hc .course-feature .lede, .hc .library .lede { margin-top: 18px; }
.hc .library .h2 { margin-top: 16px; }
.hc .ticks { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 14px; }
.hc .ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; color: var(--text); }
.hc .ticks li svg { width: 22px; height: 22px; margin-top: 2px; color: var(--sage); }
.hc .ticks b { color: var(--hc-ink); font-weight: 600; }
.hc .price-line { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 22px; }
.hc .price-line .p { display: flex; align-items: baseline; gap: 8px; }
.hc .price-line .p strong { font-size: 2.1rem; font-weight: 600; color: var(--hc-ink); letter-spacing: -.03em; }
.hc .price-line .p span { color: var(--muted); font-size: .95rem; }

/* molecule cabinet */
.hc .cabinet { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hc .specimen {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 172px;
  padding: 14px 14px 13px; border-radius: 18px; background: #fff; text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--line-soft), 0 1px 2px rgba(19, 27, 45, .03);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.hc .specimen:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line), 0 18px 34px -20px rgba(19, 27, 45, .35); }
.hc .specimen .art { flex: 1; display: grid; place-items: center; padding: 6px 0 10px; min-height: 96px; }
.hc .specimen .art svg { max-width: 100%; max-height: 104px; width: auto; height: auto; }
.hc .specimen .cap { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.hc .specimen .cap b { font-size: .92rem; font-weight: 600; color: var(--hc-ink); letter-spacing: -.01em; }
.hc .specimen .cap span { font-size: .78rem; color: var(--faint); white-space: nowrap; }
.hc .specimen .roman { position: absolute; top: 12px; left: 14px; font-size: .72rem; font-weight: 600; letter-spacing: .08em; color: var(--faint); }
.hc .specimen.t1 { background: linear-gradient(180deg, #fff, var(--peach-tint)); }
.hc .specimen.t2 { background: linear-gradient(180deg, #fff, var(--blue-tint)); }
.hc .specimen.t3 { background: linear-gradient(180deg, #fff, var(--lav-tint)); }
.hc .specimen.t4 { background: linear-gradient(180deg, #fff, var(--sage-tint)); }
.hc .specimen.t5 { background: linear-gradient(180deg, #fff, var(--gold-tint)); }
.hc .mol-name { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); position: absolute; top: 12px; right: 14px; }

/* the drawing-in of structures */
.hc .mol .mol-bonds { stroke-dasharray: 1; stroke-dashoffset: 0; }
.hc .reveal .mol .mol-bonds { stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) calc(var(--d, 0s) + .2s); }
.hc .reveal .mol .mol-labels { opacity: 0; transition: opacity .8s var(--ease) calc(var(--d, 0s) + 1.1s); }
.hc .reveal.is-visible .mol .mol-bonds { stroke-dashoffset: 0; }
.hc .reveal.is-visible .mol .mol-labels { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hc .reveal .mol .mol-bonds { stroke-dashoffset: 0; transition: none; } .hc .reveal .mol .mol-labels { opacity: 1; transition: none; } }

/* ---------- Method: three small figures ---------- */
.hc .method { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.hc .method-card { background: #fff; border-radius: var(--r-lg); padding: 26px 26px 28px; box-shadow: inset 0 0 0 1px var(--line-soft); display: flex; flex-direction: column; }
.hc .method-card .mini { height: 170px; border-radius: 16px; background: var(--paper); display: grid; place-items: center; margin-bottom: 22px; overflow: hidden; }
.hc .method-card .mini svg { width: 100%; height: 100%; }
.hc .method-card h3 { font-size: 1.2rem; letter-spacing: -.015em; }
.hc .method-card p { margin-top: 8px; color: var(--muted); font-size: .98rem; }

/* ---------- Library (home) ---------- */
.hc .library { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hc .shelves { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.hc .shelves li { border-top: 1px solid var(--line); }
.hc .shelves a { display: flex; justify-content: space-between; align-items: center; padding: 12px 2px; text-decoration: none; color: var(--hc-ink); font-weight: 500; transition: color .2s, padding .3s var(--ease); }
.hc .shelves a:hover { color: var(--coral-deep); padding-left: 6px; }
.hc .shelves a span { color: var(--faint); transition: transform .3s var(--ease); }
.hc .shelves a:hover span { transform: translateX(3px); color: var(--coral-deep); }
.hc .device { position: relative; }
.hc .device-shot {
  border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line);
  transform: perspective(1600px) rotateY(-7deg) rotateX(2deg); transform-origin: 30% 50%;
  transition: transform .8s var(--ease);
}
.hc .device:hover .device-shot { transform: perspective(1600px) rotateY(-3deg) rotateX(1deg); }
.hc .device-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #F3F1EE; border-bottom: 1px solid var(--line); }
.hc .device-bar i { width: 10px; height: 10px; border-radius: 50%; background: #E3DED7; display: block; }
.hc .device-bar span { margin-left: 10px; font-size: .78rem; color: var(--faint); background: #fff; padding: 4px 12px; border-radius: 999px; }
.hc .device-shot img { display: block; width: 100%; height: auto; }
.hc .device-note { position: absolute; left: -18px; bottom: 34px; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow); font-size: .88rem; color: var(--muted); max-width: 230px; }
.hc .device-note b { color: var(--hc-ink); display: block; font-weight: 600; }

/* ---------- Podcast and community ---------- */
.hc .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hc .panel { border-radius: var(--r-xl); padding: clamp(28px, 3.4vw, 44px); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.hc .panel .h3 { margin-top: 14px; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -.028em; }
.hc .panel p { margin-top: 12px; color: var(--muted); max-width: 32em; }
.hc .panel .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hc .panel-pod { background: linear-gradient(160deg, #F1EEFC 0%, #E9EFFC 100%); }
.hc .panel-com { background: linear-gradient(160deg, #FFF1EA 0%, #FDF5EE 100%); }
.hc .wave { margin-top: auto; padding-top: 30px; height: 96px; display: flex; align-items: center; gap: 3px; }
.hc .wave i { flex: 1; border-radius: 3px; background: linear-gradient(180deg, #8E9BEA, #6D82E0); opacity: .75; transform-origin: 50% 50%; animation: hc-wave 2.6s ease-in-out infinite; animation-delay: var(--w, 0s); }
@keyframes hc-wave { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.55); } }
@media (prefers-reduced-motion: reduce) { .hc .wave i { animation: none; } }
.hc .qa-list { margin-top: auto; padding-top: 28px; display: grid; gap: 10px; }
.hc .qa-item { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; background: rgba(255, 255, 255, .78); border-radius: 14px; padding: 10px 14px 10px 10px; box-shadow: inset 0 0 0 1px rgba(19, 27, 45, .05); font-size: .93rem; color: var(--text); }
.hc .qa-item i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-style: normal; font-weight: 600; font-size: .85rem; }
.hc .qa-item:nth-child(1) i { background: #FFE2D8; color: var(--coral-ink); }
.hc .qa-item:nth-child(2) i { background: #E4EBFB; color: var(--blue-deep); }
.hc .qa-item:nth-child(3) i { background: #E3F2EB; color: var(--sage); }

/* ---------- Quote ---------- */
.hc .quote { max-width: 980px; margin-inline: auto; text-align: center; }
.hc .quote blockquote { margin: 0; font-size: clamp(1.45rem, 1.05rem + 1.5vw, 2.25rem); line-height: 1.32; letter-spacing: -.022em; color: var(--hc-ink); font-weight: 500; text-wrap: balance; }
.hc .quote blockquote::before { content: "\201C"; display: block; font-size: 4.5rem; line-height: .6; color: var(--coral); margin-bottom: 12px; font-weight: 600; }
.hc .quote figcaption { margin-top: 26px; color: var(--muted); font-size: .98rem; }
.hc .quote figcaption b { color: var(--hc-ink); font-weight: 600; }

/* ---------- Instructor ---------- */
.hc .teacher { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; background: #fff; border-radius: var(--r-xl); padding: clamp(28px, 4vw, 56px); box-shadow: inset 0 0 0 1px var(--line-soft); }
.hc .teacher-art { aspect-ratio: 1 / 1; border-radius: 26px; background: radial-gradient(80% 80% at 30% 20%, #FFE9E0, transparent 70%), radial-gradient(70% 70% at 80% 90%, #E7E9FB, transparent 70%), var(--paper); display: grid; place-items: center; position: relative; overflow: hidden; }
.hc .teacher-art svg.mol { width: 74%; height: auto; }
.hc .teacher-art .plate-cap { position: absolute; left: 22px; bottom: 18px; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.hc .teacher .h2 { margin-top: 14px; }
.hc .teacher p { margin-top: 16px; color: var(--muted); }
.hc .teacher .creds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hc .teacher .creds span { font-size: .85rem; padding: 6px 12px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); }
.hc .teacher .disc { margin-top: 22px; font-size: .9rem; }
.hc .teacher .disc a { color: var(--hc-ink); font-weight: 600; }

/* ---------- Closing call ---------- */
.hc .closing {
  border-radius: var(--r-xl); padding: clamp(40px, 6vw, 84px) clamp(24px, 5vw, 72px); text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(60% 90% at 0% 0%, #FFE6DC, transparent 70%), radial-gradient(60% 90% at 100% 100%, #E4E9FC, transparent 70%), #FFF;
  box-shadow: inset 0 0 0 1px var(--line-soft);
}
.hc .closing .h2 { max-width: 15em; margin-inline: auto; }
.hc .closing p { margin: 18px auto 30px; max-width: 34em; color: var(--muted); font-size: 1.08rem; }
.hc .closing .acts { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.hc .closing .float { position: absolute; opacity: .28; pointer-events: none; }
.hc .closing .float svg { width: 100%; height: auto; }

/* =====================================================================
   COURSE PAGE
   ===================================================================== */
.hc .c-hero { text-align: center; }
.hc .c-hero .display { max-width: 13em; margin: 22px auto 0; }
.hc .c-hero .lede { margin: 22px auto 0; max-width: 38em; }
.hc .c-hero .hero-ctas { justify-content: center; margin-top: 34px; }
.hc .c-hero .terms { margin-top: 18px; font-size: .92rem; color: var(--muted); }
.hc .c-hero .terms b { color: var(--hc-ink); font-weight: 600; }
.hc .drawer { margin-top: clamp(44px, 6vw, 72px); position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hc .drawer-track { display: flex; gap: 14px; width: max-content; animation: hc-drawer 60s linear infinite; }
.hc .drawer:hover .drawer-track { animation-play-state: paused; }
@keyframes hc-drawer { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .hc .drawer-track { animation: none; } }
.hc .drawer .specimen { width: 230px; min-height: 190px; flex: none; }

.hc .facts { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line-soft); }
.hc .fact { padding: 28px 28px 26px; border-left: 1px solid var(--line-soft); }
.hc .fact:first-child { border-left: 0; }
.hc .fact strong { display: block; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 600; letter-spacing: -.04em; color: var(--hc-ink); line-height: 1; font-variant-numeric: tabular-nums; }
.hc .fact span { display: block; margin-top: 10px; color: var(--muted); font-size: .95rem; }

/* scroll story */
.hc .story { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 4vw, 64px); align-items: start; margin-top: 56px; }
.hc .story-steps { display: grid; gap: 0; }
.hc .step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding-block: 24px; opacity: .38; transition: opacity .5s var(--ease); }
.hc .step.is-on { opacity: 1; }
.hc .step .n { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-deep); }
.hc .step h3 { margin-top: 10px; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); letter-spacing: -.025em; }
.hc .step p { margin-top: 12px; color: var(--muted); max-width: 30em; }
.hc .step .from { margin-top: 14px; font-size: .88rem; color: var(--faint); }
.hc .step .from b { color: var(--text); font-weight: 600; }
.hc .story-fig { position: sticky; top: calc(var(--header-h, 80px) + 24px); }
.hc .story-fig .figure-frame { background: #fff; }
/* step highlights */
.hc .story-fig .synapse-fig g, .hc .story-fig .synapse-fig path, .hc .story-fig .synapse-fig circle { transition: opacity .6s var(--ease); }
/* 1 released: vesicles and serotonin; 2 signal: receptors and G protein; 3 recycled: both pumps working,
   no SSRI; 4 blocked: the SSRI in one pump and serotonin building up in the gap */
.hc .story-fig[data-step="1"] :is(.syn-sert, .syn-ssri, .syn-halo, .syn-rec, .syn-gp, .syn-flow-l, .syn-flow-g, .syn-glow, .syn-bound, .syn-mito, .syn-extra) { opacity: .16; }
.hc .story-fig[data-step="2"] :is(.syn-ves, .syn-sert, .syn-ssri, .syn-halo, .syn-mito, .syn-extra, .syn-flow-l, .syn-flow-r) { opacity: .16; }
.hc .story-fig[data-step="3"] :is(.syn-ves, .syn-mito, .syn-rec, .syn-gp, .syn-glow, .syn-bound, .syn-flow-g) { opacity: .2; }
.hc .story-fig[data-step="3"] :is(.syn-ssri, .syn-halo, .syn-extra) { opacity: 0; }
.hc .story-fig[data-step="3"] .syn-flow-r { opacity: 1; }
.hc .story-fig[data-step="4"] :is(.syn-ves, .syn-mito, .syn-gp, .syn-flow-g, .syn-rec) { opacity: .22; }
.hc .story-fig[data-step="1"] .syn-lab, .hc .story-fig[data-step="2"] .syn-lab, .hc .story-fig[data-step="3"] .syn-lab, .hc .story-fig[data-step="4"] .syn-lab { opacity: .35; }
.hc .story-fig[data-step="1"] .syn-lab.k1, .hc .story-fig[data-step="2"] .syn-lab.k2, .hc .story-fig[data-step="3"] .syn-lab.k3, .hc .story-fig[data-step="4"] .syn-lab.k4 { opacity: 1; }

/* curriculum */
.hc .curric { margin-top: 48px; display: grid; gap: 12px; }
.hc .part { background: #fff; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line-soft); overflow: hidden; transition: box-shadow .3s var(--ease); }
.hc .part[open] { box-shadow: inset 0 0 0 1px var(--line), 0 24px 44px -30px rgba(19, 27, 45, .3); }
.hc .part summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 110px minmax(0, 1fr) auto auto; gap: 22px; align-items: center; padding: 14px 22px 14px 14px; }
.hc .part summary::-webkit-details-marker { display: none; }
.hc .part .thumb { height: 84px; border-radius: 14px; display: grid; place-items: center; background: var(--paper); padding: 8px; }
.hc .part .thumb svg { max-width: 100%; max-height: 72px; width: auto; height: auto; }
.hc .part .t small { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.hc .part .t b { display: block; font-size: 1.22rem; font-weight: 600; color: var(--hc-ink); letter-spacing: -.02em; margin-top: 3px; }
.hc .part .t span { display: block; font-size: .93rem; color: var(--muted); margin-top: 2px; }
.hc .part .count { font-size: .9rem; color: var(--muted); white-space: nowrap; }
.hc .part .plus { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); transition: transform .35s var(--ease), background-color .3s; }
.hc .part[open] .plus { transform: rotate(45deg); background: var(--hc-ink); box-shadow: none; }
.hc .part[open] .plus svg { color: #fff; }
.hc .part .plus svg { width: 14px; height: 14px; color: var(--hc-ink); }
.hc .part:hover summary .plus { box-shadow: inset 0 0 0 1px rgba(19, 27, 45, .3); }
.hc .lessons { list-style: none; margin: 0; padding: 4px 22px 20px 146px; columns: 2; column-gap: 36px; }
.hc .lessons li { break-inside: avoid; display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; padding: 9px 0; border-top: 1px solid var(--line-soft); font-size: .96rem; color: var(--text); }
.hc .lessons li svg { width: 16px; height: 16px; margin-top: 4px; color: var(--faint); }
.hc .lessons li.k-quiz svg { color: var(--sage); }
.hc .lessons li.k-reading svg, .hc .lessons li.k-image svg { color: var(--blue-deep); }

/* try a question */
.hc .tryq { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.hc .qcard { background: #fff; border-radius: var(--r-xl); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow), inset 0 0 0 1px var(--line-soft); }
.hc .qcard .qmeta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .82rem; color: var(--faint); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.hc .qcard .stem { margin-top: 14px; font-size: 1.06rem; line-height: 1.6; color: var(--hc-ink); }
.hc .choices { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.hc .choice {
  width: 100%; text-align: left; display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: center;
  padding: 13px 16px 13px 12px; border-radius: 14px; border: 0; cursor: pointer; background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line); font: 500 1rem/1.4 var(--f); color: var(--hc-ink);
  transition: box-shadow .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease);
}
.hc .choice:hover:not([disabled]) { box-shadow: inset 0 0 0 1.5px var(--hc-ink); transform: translateY(-1px); }
.hc .choice .k { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; font-size: .9rem; }
.hc .choice[disabled] { cursor: default; }
.hc .choice.right { background: var(--sage-tint); box-shadow: inset 0 0 0 1.5px var(--sage); }
.hc .choice.right .k { background: var(--sage); color: #fff; box-shadow: none; }
.hc .choice.wrong { background: #FFF1F2; box-shadow: inset 0 0 0 1.5px #E5566F; }
.hc .choice.wrong .k { background: #E5566F; color: #fff; box-shadow: none; }
.hc .choice.dim { opacity: .62; }
.hc .why { display: grid; gap: 10px; margin-top: 18px; }
.hc .why[hidden] { display: none; }
.hc .why p { font-size: .95rem; color: var(--muted); padding: 12px 14px; border-radius: 12px; background: var(--paper); }
.hc .why p b { color: var(--hc-ink); }
.hc .why .point { background: var(--sage-tint); color: #1F4A3B; }
.hc .why .point b { color: var(--sage); }
.hc .tryq-side .h2 { margin-top: 16px; }
.hc .tryq-side .lede { margin-top: 16px; }
.hc .tryq-side .molcard { margin-top: 30px; background: #fff; border-radius: var(--r-lg); padding: 18px 18px 14px; box-shadow: inset 0 0 0 1px var(--line-soft); }
.hc .tryq-side .molcard svg { width: 100%; height: auto; max-height: 200px; }
.hc .tryq-side .molcard p { font-size: .88rem; color: var(--muted); margin-top: 8px; }

/* steps of the course */
.hc .flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; counter-reset: flow; }
.hc .flow li { list-style: none; background: #fff; border-radius: var(--r-lg); padding: 22px 22px 24px; box-shadow: inset 0 0 0 1px var(--line-soft); position: relative; }
.hc .flow li::before { counter-increment: flow; content: counter(flow); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--hc-ink); color: #fff; font-weight: 600; font-size: .9rem; }
.hc .flow li b { display: block; margin-top: 16px; font-size: 1.08rem; color: var(--hc-ink); font-weight: 600; letter-spacing: -.01em; }
.hc .flow li span { display: block; margin-top: 6px; color: var(--muted); font-size: .95rem; }
.hc .flow { padding: 0; }

/* testimonials */
.hc .tgrid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; margin-top: 48px; }
.hc .tcard { background: #fff; border-radius: var(--r-xl); padding: clamp(26px, 3.2vw, 40px); box-shadow: inset 0 0 0 1px var(--line-soft); display: flex; flex-direction: column; margin: 0; }
.hc .tcard blockquote { margin: 0; color: var(--hc-ink); font-size: 1.12rem; line-height: 1.6; font-weight: 500; letter-spacing: -.005em; }
.hc .tcard.big blockquote { font-size: clamp(1.15rem, 1rem + .5vw, 1.35rem); line-height: 1.5; letter-spacing: -.012em; }
.hc .tcard figcaption { margin-top: auto; padding-top: 26px; display: flex; align-items: center; gap: 12px; font-size: .95rem; color: var(--muted); }
.hc .tcard figcaption b { color: var(--hc-ink); display: block; font-weight: 600; }
.hc .tcard .av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; color: var(--hc-ink); background: var(--peach-tint); box-shadow: inset 0 0 0 1px var(--line); flex: none; }
.hc .tcard:nth-child(2) .av { background: var(--blue-tint); }

/* enroll */
.hc .enroll { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hc .pcard { background: #fff; border-radius: var(--r-xl); padding: clamp(26px, 3.4vw, 44px); box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line-soft); position: relative; overflow: hidden; }
.hc .pcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--coral), #F49AA8 45%, var(--blue)); }
.hc .pcard .tag { display: inline-flex; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); background: var(--sage-tint); padding: 6px 12px; border-radius: 999px; }
.hc .pcard .amt { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; }
.hc .pcard .amt strong { font-size: clamp(3rem, 2.2rem + 3vw, 4.5rem); font-weight: 600; letter-spacing: -.05em; color: var(--hc-ink); line-height: 1; }
.hc .pcard .amt span { color: var(--muted); }
.hc .pcard ul { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; gap: 12px; }
.hc .pcard li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--text); }
.hc .pcard li svg { width: 20px; height: 20px; color: var(--sage); margin-top: 2px; }
.hc .pcard .fine { margin-top: 16px; font-size: .8rem; line-height: 1.55; color: var(--faint); }
.hc .pcard .fine a { color: var(--muted); }
.hc .pc-trust { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; font-size: .88rem; color: var(--muted); }
.hc .pc-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hc .pc-trust svg { width: 16px; height: 16px; color: var(--sage); }
.hc .pcard .signin { margin-top: 12px; text-align: center; font-size: .9rem; color: var(--muted); }
.hc .pcard .signin a { color: var(--hc-ink); font-weight: 600; }

/* faq */
.hc .faq { max-width: 860px; margin: 40px auto 0; display: grid; gap: 10px; }
.hc .faq details { background: #fff; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line-soft); }
.hc .faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; font-weight: 600; color: var(--hc-ink); font-size: 1.06rem; letter-spacing: -.01em; }
.hc .faq summary::-webkit-details-marker { display: none; }
.hc .faq summary i { width: 28px; height: 28px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; transition: transform .3s var(--ease); }
.hc .faq summary i svg { width: 12px; height: 12px; }
.hc .faq details[open] summary i { transform: rotate(45deg); }
.hc .faq details p { padding: 0 24px 22px; color: var(--muted); max-width: 46em; }
.hc .faq details p a { color: var(--hc-ink); font-weight: 600; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1080px) {
  .hc .hero-grid, .hc .course-feature, .hc .library, .hc .enroll, .hc .tryq, .hc .story { grid-template-columns: 1fr; }
  .hc .hero-copy { max-width: 680px; }
  .hc .story-fig { position: relative; top: 0; order: -1; }
  .hc .step { min-height: 0; opacity: 1; padding-block: 18px; border-top: 1px solid var(--line); }
  .hc .method { grid-template-columns: 1fr 1fr; }
  .hc .flow { grid-template-columns: 1fr 1fr; }
  .hc .tgrid { grid-template-columns: 1fr; }
  .hc .teacher { grid-template-columns: 1fr; }
  .hc .teacher-art { max-width: 360px; }
  .hc .device-note { left: 12px; }
}
@media (max-width: 760px) {
  body.hc { font-size: 16px; }
  .hc .proof-row { grid-template-columns: 1fr 1fr; }
  .hc .proof-item { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .hc .proof-item:nth-child(-n+2) { border-top: 0; }
  .hc .proof-item:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .hc .cabinet { grid-template-columns: 1fr 1fr; }
  .hc .duo, .hc .method { grid-template-columns: 1fr; }
  .hc .facts { grid-template-columns: 1fr 1fr; }
  .hc .fact:nth-child(3) { border-left: 0; }
  .hc .fact:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .hc .part summary { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; padding: 12px 14px 12px 12px; }
  .hc .part .thumb { height: 64px; padding: 6px; }
  .hc .part .thumb svg { max-height: 54px; }
  .hc .part .count { display: none; }
  .hc .lessons { columns: 1; padding: 0 16px 16px; }
  .hc .shelves { grid-template-columns: 1fr; }
  .hc .flow { grid-template-columns: 1fr; }
  .hc .device-shot { transform: none; }
  .hc .device-note { position: static; margin-top: 14px; max-width: none; }
  .hc .hero-ctas .b { flex: 1 1 auto; }
}


/* =====================================================================
   Third pass (2026-11-30): less scrolling, more colour, and nothing that suggests the course
   contains the drawings made for these pages
   ===================================================================== */
/* soft colour behind whole sections, so the page is not all white */
.hc .sec-tint {
  background:
    radial-gradient(55% 75% at 0% 0%, rgba(255, 214, 196, .55) 0%, rgba(255, 214, 196, 0) 70%),
    radial-gradient(50% 70% at 100% 100%, rgba(214, 226, 251, .7) 0%, rgba(214, 226, 251, 0) 70%),
    #FFFBF7;
  border-block: 1px solid rgba(19, 27, 45, .05);
}
.hc .sec-tint-2 {
  background:
    radial-gradient(55% 75% at 100% 0%, rgba(226, 219, 251, .7) 0%, rgba(226, 219, 251, 0) 70%),
    radial-gradient(50% 70% at 0% 100%, rgba(212, 238, 228, .6) 0%, rgba(212, 238, 228, 0) 70%),
    #FBFAFE;
  border-block: 1px solid rgba(19, 27, 45, .05);
}

/* the course facts as one dark band, the single anchor of contrast on the page */
.hc .facts {
  background:
    radial-gradient(60% 160% at 0% 0%, rgba(248, 68, 100, .28) 0%, transparent 60%),
    radial-gradient(55% 160% at 100% 100%, rgba(100, 152, 236, .3) 0%, transparent 62%),
    #131B2D;
  box-shadow: 0 30px 60px -40px rgba(19, 27, 45, .55);
}
.hc .fact { border-left-color: rgba(255, 255, 255, .1); }
.hc .fact strong { color: #fff; }
.hc .fact span { color: #AEB6C6; }

/* inside the course: the real lesson flow beside a real case question */
.hc .inside { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.hc .inside-side .h2 { margin-top: 16px; }
.hc .inside-steps { list-style: none; counter-reset: ins; margin: 26px 0 0; padding: 0; display: grid; gap: 4px; }
.hc .inside-steps li { counter-increment: ins; display: grid; grid-template-columns: 38px 1fr; column-gap: 14px; padding: 14px 0; border-top: 1px solid rgba(19, 27, 45, .08); }
.hc .inside-steps li::before { content: counter(ins); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: .92rem; color: #fff; background: linear-gradient(135deg, #F84464, #6498EC); }
.hc .inside-steps b { color: var(--hc-ink); font-weight: 600; font-size: 1.06rem; letter-spacing: -.01em; }
.hc .inside-steps span { color: var(--muted); font-size: .97rem; margin-top: 2px; }
.hc .inside-note { margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px rgba(19, 27, 45, .07); font-size: .93rem; color: var(--muted); }
.hc .inside-note b { color: var(--hc-ink); font-weight: 600; }
.hc .inside .molcard { margin-top: 18px; background: #fff; border-radius: var(--r-lg); padding: 16px 16px 12px; box-shadow: inset 0 0 0 1px var(--line-soft); }
.hc .inside .molcard svg { width: 100%; height: auto; max-height: 170px; }
.hc .inside .molcard p { font-size: .88rem; color: var(--muted); margin-top: 6px; }

/* curriculum two to a row */
.hc .curric-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 12px; }
.hc .curric-2 .part summary { grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; padding: 12px 16px 12px 12px; }
.hc .curric-2 .part .thumb { height: 76px; }
.hc .curric-2 .part .thumb svg { max-height: 64px; }
.hc .curric-2 .part .t b { font-size: 1.12rem; }
.hc .curric-2 .part .t span { font-size: .9rem; line-height: 1.45; }
.hc .curric-2 .lessons { columns: 1; padding: 2px 18px 16px 18px; }
.hc .part .thumb.t1 { background: linear-gradient(160deg, #FFF6F1, #FFE9E0); }
.hc .part .thumb.t2 { background: linear-gradient(160deg, #F4F7FE, #E3ECFC); }
.hc .part .thumb.t3 { background: linear-gradient(160deg, #F7F4FD, #EAE3FA); }
.hc .part .thumb.t4 { background: linear-gradient(160deg, #F2FAF6, #DFF2E8); }
.hc .part .thumb.t5 { background: linear-gradient(160deg, #FFFAEF, #FCEFCF); }

/* testimonials and the teacher in one section */
.hc .people { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; margin-top: 8px; align-items: stretch; }
.hc .people-col { display: grid; gap: 16px; }
.hc .teacher-mini { background: #fff; }
.hc .tm-kicker { font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--coral-deep); }
.hc .tm-name { display: block; margin-top: 8px; font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; color: var(--hc-ink); }
.hc .teacher-mini p { margin-top: 10px; color: var(--muted); font-size: .98rem; }
.hc .teacher-mini .tm-disc { font-size: .88rem; }
.hc .teacher-mini .tm-disc a { color: var(--hc-ink); font-weight: 600; }

/* the price card beside the questions */
.hc .enroll2 { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.hc .enroll2 .pcard { position: sticky; top: 96px; }
.hc .enroll-side .h2 { margin-top: 16px; }
.hc .enroll-side .lede { margin-top: 14px; }
.hc .faq-tight { margin: 24px 0 0; max-width: none; gap: 8px; }
.hc .faq-tight summary { padding: 16px 20px; font-size: 1rem; }
.hc .faq-tight details p { padding: 0 20px 18px; font-size: .96rem; }

/* homepage: the quote and the teacher side by side */
.hc .qt { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hc .quote-left { text-align: left; margin: 0; max-width: none; }
.hc .quote-left blockquote { font-size: clamp(1.3rem, 1rem + 1.1vw, 1.85rem); text-wrap: pretty; }

/* homepage closing call: dark, with the two logo colours glowing in the corners */
.hc .closing {
  background:
    radial-gradient(60% 120% at 0% 0%, rgba(248, 68, 100, .34) 0%, transparent 60%),
    radial-gradient(55% 120% at 100% 100%, rgba(100, 152, 236, .36) 0%, transparent 62%),
    #131B2D;
  box-shadow: 0 40px 80px -50px rgba(19, 27, 45, .7);
}
.hc .closing .h2 { color: #fff; }
.hc .closing p { color: #B9C0CE; }
.hc .closing .b-quiet { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.hc .closing .b-quiet:hover { background: rgba(255, 255, 255, .14); }

@media (max-width: 1080px) {
  .hc .inside, .hc .enroll2, .hc .qt, .hc .people { grid-template-columns: 1fr; }
  .hc .enroll2 .pcard { position: static; }
}
@media (max-width: 760px) {
  .hc .curric-2 { grid-template-columns: 1fr; }
  .hc .curric-2 .part summary { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; }
  .hc .curric-2 .part .thumb { height: 64px; }
}
