/* MajorPilot redesign — front pages (home, explore). Owned by the "front" builder.
   Pitch design system "Living data" (tokens, shared components and motion helpers live in tokens.css/core.js; see
   CONTRACT.md §8). All selectors are scoped to .pg-home / .pg-explore / .hf (the shared hero instrument).
   MOTION: every base style is the final visible state. Intros animate FROM hidden with keyframe `from` states, only
   under #view.first (the first arrival on the route this session, or MP.replay()); later arrivals get core's short
   settle. Below-the-fold intros sit inside .ld-reveal / [data-reveal] (paused by core only while html.ld-live). */

/* =====================================================================
   THE INSTRUMENT (.hf) — home hero figure, reused on Explore
   ===================================================================== */
.hf { position: relative; margin: 0; min-width: 0; }
.hf .ld-cap { margin-bottom: 0; }
.hf-cap-r { display: inline-flex; align-items: center; gap: 10px; }
.hf-replay { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 2px 8px; border-radius: var(--r-btn); font-family: var(--label-font); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); transition: background var(--t-fast), color var(--t-fast); }
.hf-replay svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hf-replay:hover { background: var(--paper-2); color: var(--ink); }
html[lang="zh-CN"] .hf-replay { letter-spacing: .04em; }

.hf-read { display: grid; gap: 6px; justify-items: start; padding-top: 18px; }
.hf-read .ld-label { color: var(--ink-2); }
.hf-readout { margin: 2px 0 2px -.04em; }
.hf-read-s { font-size: 15px; color: var(--ink-2); font-variant-numeric: tabular-nums; }

.hf-box { position: relative; width: 100%; margin-top: 14px; }
.hf-box.mini { display: none; }
.hf-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hf-gl { stroke: var(--hair); stroke-width: 1; }
.hf-div { stroke: var(--ink); stroke-opacity: .3; stroke-width: 1; stroke-dasharray: 2 4; }
.hf-mean { fill: none; stroke-width: 1.2; stroke-dasharray: 5 5; }
.hf-mean.e { stroke: var(--ink); stroke-opacity: .5; }
.hf-mean.e2 { stroke: var(--ink); stroke-opacity: .34; stroke-dasharray: 2 4; }
.hf-mean.r { stroke: var(--orange); stroke-opacity: .85; }
.hf-hatch { stroke: var(--orange); stroke-opacity: .45; stroke-width: 1.2; }
.hf-gap { stroke: none; }
.hf-col .o { fill: var(--ink); fill-opacity: .12; }
.hf-col .p { fill: var(--ds); fill-opacity: .85; }
.hf-line { fill: none; stroke-width: 2.8; stroke-linejoin: round; stroke-linecap: round; }
.hf-dot { fill: var(--paper); stroke: var(--ink); stroke-width: 1.7; }
.hf-dot.r { stroke: var(--orange); }
.hf-dot.last { fill: var(--orange); stroke: var(--paper); stroke-width: 2; }
.hf-split { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-opacity: .55; }
.hf-bm .fan, .hf-bm .node { stroke: none; }
.hf-bm .beam { fill: none; stroke-width: 2.6; stroke-linecap: round; }
.hf-bm .halo { fill: none; stroke-width: 1; stroke-opacity: .45; }
.hf-bm.ba { stroke: var(--ba); } .hf-bm.ba .node { fill: var(--ba); }
.hf-bm.ds { stroke: var(--ds); } .hf-bm.ds .node { fill: var(--ds); }
.hf-bm.ai { stroke: var(--ai); } .hf-bm.ai .node { fill: var(--ai); }
/* ambient pulse: a short dash travelling each beam. At rest its dash sits off the path (dashoffset), so the base
   state is a visible element with nothing drawn; it runs 3 times after the intro, then rests. --pt keeps its phase
   across Quick Start re-renders (set from the arrival time). */
.hf-bm .pulse { fill: none; stroke-width: 6; stroke-linecap: round; stroke-opacity: .5; stroke-dasharray: .08 2; stroke-dashoffset: .1; }
html.ld-live .hf-bm .pulse { animation: hf-pulse 4.8s cubic-bezier(.45, 0, .25, 1) calc(var(--pt, 0s) + 2.4s + var(--k) * 1.3s) 3; }
@keyframes hf-pulse { from { stroke-dashoffset: .1; } to { stroke-dashoffset: -1.02; } }

/* HTML labels stay at least 13px and use dark ink where the skyline shows through. */
.hf-t { position: absolute; z-index: 1; font-family: var(--label-font); font-size: 13px; font-weight: 500; line-height: 1.2; letter-spacing: .06em; color: var(--ink-2); white-space: nowrap; pointer-events: none; }
html[lang="zh-CN"] .hf-t { letter-spacing: .04em; }
.hf-t.gt { transform: translateY(calc(-100% - 5px)); }
.hf-t.ax { text-transform: uppercase; letter-spacing: .1em; }
.hf-t.ax.strip { transform: translateY(-100%); }
.hf-t.gap { transform: translate(-50%, -50%); padding: 1px 7px; border-radius: 2px; background: var(--paper); color: var(--ai-ink); font-weight: 600; box-shadow: 0 0 0 1px rgba(244, 91, 53, .28); }
.hf-t.lvl { transform: translateY(-100%); color: var(--ink-2); }
.hf-t.lvl.r { transform: translate(-100%, 7px); padding: 0 4px; background: var(--card); color: var(--ai-ink); }
.hf-node { position: absolute; right: 0; z-index: 2; display: grid; gap: 4px; justify-items: start; transform: translateY(-50%); }
.hf-node-k { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .12em; }
.hf-node-k i { width: 16px; height: 2px; border-radius: 1px; }
.hf-node.ba .hf-node-k { color: color-mix(in srgb, var(--ba-ink) 64%, var(--ink)); } .hf-node.ba .hf-node-k i { background: var(--ba); }
.hf-node.ds .hf-node-k { color: color-mix(in srgb, var(--ds-ink) 64%, var(--ink)); } .hf-node.ds .hf-node-k i { background: var(--ds); }
.hf-node.ai .hf-node-k { color: color-mix(in srgb, var(--ai-ink) 64%, var(--ink)); } .hf-node.ai .hf-node-k i { background: var(--ai); }
.hf-node-q { font-family: var(--serif); font-size: clamp(18px, 1.5vw, 22px); line-height: 1.16; letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
html[lang="zh-CN"] .hf-node-q { font-weight: 600; font-size: clamp(16px, 1.32vw, 19px); line-height: 1.4; letter-spacing: 0; }
.hf-node-d { font-size: 14px; line-height: 1.35; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hf-node-n { font-family: var(--serif); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.2; color: var(--ink); }
html[lang="zh-CN"] .hf-node-n { font-weight: 600; font-size: 16px; }

/* Quick Start ↔ figure: a pick lights its beam; the others step back (beams only; label text stays ≥ 4.5:1) */
.hf.has-pick .hf-bm:not(.on) { opacity: .22; }
.hf.has-pick .hf-node:not(.on) .hf-node-q, .hf.has-pick .hf-node:not(.on) .hf-node-n { color: var(--ink-2); }
.hf.has-pick .hf-node:not(.on) .hf-node-k i { opacity: .3; }
.hf.has-pick .hf-bm.on .halo { stroke-opacity: .9; stroke-width: 1.5; }
.hf.has-pick .hf-bm.rec .beam { stroke-width: 3.8; }
.hf.just .hf-bm.on .beam { animation: ld-draw .7s var(--ease-draw) both; }
.hf.just .hf-bm.on .node, .hf.just .hf-bm.on .halo { transform-box: fill-box; transform-origin: center; animation: ld-pop .45s var(--ease-out) .45s both; }

/* the intro: once per session (#view.first), about 1.8s; the thesis (beams + labels) lands by ~1.9s */
#view.first .hf .ld-cap { animation: ld-fade .5s ease .05s both; }
#view.first .hf-read { animation: ld-rise .6s var(--ease-out) .08s both; }
#view.first .hf-gl { animation: ld-wipe .8s var(--ease-draw) calc(.1s + var(--i) * .08s) both; }
#view.first .hf-t.gt, #view.first .hf-t.ax { animation: ld-fade .5s ease .3s both; }
#view.first .hf-div { animation: ld-wipe-down .7s var(--ease-draw) .3s both; }
#view.first .hf-line { animation: ld-draw .8s var(--ease-draw) .15s both; }
#view.first .hf-dot { transform-box: fill-box; transform-origin: center; animation: ld-pop .4s var(--ease-out) calc(.15s + var(--i) * .065s) both; }
#view.first .hf-mean.e { animation: ld-wipe .5s var(--ease-draw) .4s both; }
#view.first .hf-mean.e2, #view.first .hf-gap { animation: ld-wipe .6s var(--ease-draw) .6s both; }
#view.first .hf-mean.r { animation: ld-wipe .5s var(--ease-draw) .95s both; }
#view.first .hf-t.gap, #view.first .hf-t.lvl { animation: ld-fade .4s ease 1.1s both; }
#view.first .hf-col { transform-box: fill-box; transform-origin: bottom; animation: ld-grow-y .6s var(--ease-out) calc(.3s + var(--i) * .04s) both; }
#view.first .hf-split { transform-box: fill-box; transform-origin: center; animation: ld-pop .45s var(--ease-out) .9s both; }
#view.first .hf-bm .beam { animation: ld-draw .55s var(--ease-draw) calc(.95s + var(--k) * .1s) both; }
#view.first .hf-bm .fan { animation: ld-fade .7s ease calc(1.25s + var(--k) * .08s) both; }
#view.first .hf-bm .node, #view.first .hf-bm .halo { transform-box: fill-box; transform-origin: center; animation: ld-pop .4s var(--ease-out) calc(1.3s + var(--k) * .08s) both; }
#view.first .hf-node { animation: hf-node-in .45s var(--ease-out) calc(1.35s + var(--k) * .08s) both; }
@keyframes hf-node-in { from { opacity: 0; transform: translate(-10px, -50%); } to { opacity: 1; transform: translate(0, -50%); } }

/* =====================================================================
   HOME
   ===================================================================== */
#view.first > .pg-home { animation: none; }   /* the hero runs its own timeline */
.pg-home { padding-bottom: 0; }
.pg-home .hm-hero { padding-top: 40px; overflow-x: clip; }
.pg-home .hm-hero-grid { display: grid; grid-template-columns: minmax(0, .84fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.pg-home .hm-copy { padding-top: 4px; min-width: 0; }
.pg-home .hm-eyebrow { display: flex; align-items: baseline; gap: 12px; color: var(--ink-2); max-width: 32em; }
html[lang="zh-CN"] .pg-home .hm-eyebrow { word-break: keep-all; overflow-wrap: anywhere; }
.pg-home .hm-trio { display: inline-flex; gap: 3px; flex: none; transform: translateY(-3px); }
.pg-home .hm-trio i { width: 16px; height: 3px; border-radius: 2px; }
.pg-home .hm-trio .ba { background: var(--ba); } .pg-home .hm-trio .ds { background: var(--ds); } .pg-home .hm-trio .ai { background: var(--ai); }
.pg-home .hm-h1 { margin-top: 30px; font-size: clamp(52px, 5.6vw, 84px); line-height: .98; letter-spacing: -.034em; }
.pg-home .hm-h1 .l1 { display: block; color: var(--blue); }
.pg-home .hm-h1 .l2 { display: block; }
.pg-home .hm-h1 .it { letter-spacing: -.045em; }
html[lang="zh-CN"] .pg-home .hm-h1 { font-size: clamp(34px, 3.7vw, 54px); line-height: 1.24; letter-spacing: 0; }
html[lang="zh-CN"] .pg-home .hm-h1 .l1 { color: var(--ink); }
html[lang="zh-CN"] .pg-home .hm-h1 .l2 { color: var(--blue); }
.pg-home .hm-lede { margin-top: 28px; max-width: 23em; font-size: 19px; color: var(--ink-2); }
.pg-home .hm-checks { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14.5px; color: var(--ink-2); }
.pg-home .hm-checks li { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.pg-home .hm-checks svg { width: 13px; height: 13px; fill: none; stroke: var(--ok); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pg-home .hm-jump-row { margin-top: 30px; }
.pg-home .hm-jump { display: inline-flex; align-items: center; gap: 12px; padding: 6px 0 7px; font-size: 16px; font-weight: 600; color: var(--ink); border-bottom: 1.5px solid var(--ink); }
.pg-home .hm-jump span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--hair); background: var(--card); font-size: 14px; transition: transform var(--t-mid) var(--ease-out), border-color var(--t-fast); }
.pg-home .hm-jump:hover span { transform: translateY(3px); border-color: var(--ink); }
.pg-home .hm-fig { padding-top: 0; }

/* hero intro (copy) */
#view.first .hm-hero .hm-eyebrow { animation: ld-rise .6s var(--ease-out) both; }
#view.first .hm-h1 .l1 { animation: ld-rise .7s var(--ease-out) .05s both; }
#view.first .hm-h1 .l2 { animation: ld-rise .7s var(--ease-out) .12s both; }
#view.first .hm-hero .hm-lede { animation: ld-rise .7s var(--ease-out) .22s both; }
#view.first .hm-hero .hm-checks { animation: ld-rise .7s var(--ease-out) .3s both; }
#view.first .hm-hero .hm-jump-row { animation: ld-rise .7s var(--ease-out) .36s both; }
#view.first .hm-hero .hm-qs { animation: ld-rise .8s var(--ease-out) .4s both; }

/* ---- Quick Start: floats under the figure, the action inside the hero ---- */
.pg-home .hm-qs { position: relative; z-index: 3; margin-top: 44px; background: var(--card); border-radius: var(--r-xl); box-shadow: var(--shadow-float); scroll-margin-top: 92px; }
.pg-home .hm-qs-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 18px; padding: 20px 32px 18px; border-bottom: 1px solid var(--hair); }
.pg-home .hm-qs-title { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.2; letter-spacing: -.012em; }
html[lang="zh-CN"] .pg-home .hm-qs-title { font-weight: 700; font-size: 22px; }
.pg-home .hm-qs-back { margin-left: auto; }
.pg-home .hm-qs-back .btn-quiet { font-size: 14px; }
.pg-home .hm-qs-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.14fr); }
.pg-home .hm-q { padding: 24px 32px 30px; min-width: 0; }
.pg-home .hm-q + .hm-q { border-left: 1px solid var(--hair); }
.pg-home .hm-legend { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-weight: 600; font-size: 16px; line-height: 1.4; }
.pg-home .hm-qn { flex: none; display: grid; place-items: center; width: 26px; height: 26px; margin-top: -2px; border-radius: 50%; border: 1px solid var(--ink); font-family: var(--num); font-style: italic; font-size: 15px; }
.pg-home .hm-qsub { display: block; margin-top: 2px; font-weight: 400; font-size: 14px; color: var(--muted); }
/* rows: ruled serif rows; the picked row inverts to ink, its lens code turns to the on-ink lens colour */
.pg-home .hm-opts { display: grid; border-top: 1px solid var(--ink); }
.pg-home .hm-opt { grid-template-columns: minmax(0, 1fr) 20px; gap: 12px; align-items: center; padding: 12px 12px 12px 10px; border: 0; border-bottom: 1px solid var(--hair); border-radius: 0; background: transparent; box-shadow: none; font-family: var(--serif); font-size: 20px; line-height: 1.25; letter-spacing: -.005em; }
html[lang="zh-CN"] .pg-home .hm-opt { font-size: 17px; font-weight: 500; line-height: 1.4; }
.pg-home .hm-opt > span:last-child { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.pg-home .hm-opt .mark { order: 2; margin-top: 0; background: var(--card); }
.pg-home .hm-opt:hover { background: var(--paper-2); }
.pg-home .hm-opt[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); box-shadow: none; border-bottom-color: var(--ink); }
.pg-home .hm-opt[aria-pressed="true"] .mark { background: var(--on-ink); border-color: var(--on-ink); }
.pg-home .hm-opt.multi[aria-pressed="true"] .mark::after { border-color: var(--ink); }
.pg-home .hm-opt:not(.multi)[aria-pressed="true"] .mark::after { background: var(--ink); }
.pg-home .hm-code { flex: none; width: 26px; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .06em; }
.pg-home .hm-code.ba { color: var(--ba-ink); } .pg-home .hm-code.ds { color: var(--ds-ink); } .pg-home .hm-code.ai { color: var(--ai-ink); } .pg-home .hm-code.none { color: var(--muted); }
.pg-home .hm-opt[aria-pressed="true"] .hm-code.ba { color: var(--ba-on-ink); } .pg-home .hm-opt[aria-pressed="true"] .hm-code.ds { color: var(--ds-on-ink); }
.pg-home .hm-opt[aria-pressed="true"] .hm-code.ai { color: var(--ai-on-ink); } .pg-home .hm-opt[aria-pressed="true"] .hm-code.none { color: var(--on-ink-2); }
.pg-home .hm-ask { font-size: 18.5px; }

/* result: paper with a dashed split mark until a field is picked, then a full lens-colour slab */
.pg-home .hm-res { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 24px 32px 30px; border-left: 1px solid var(--hair); border-radius: 0 0 var(--r-xl) 0; background-color: var(--paper-2); }
.pg-home .hm-res.is-empty { background-image: radial-gradient(circle at 1px 1px, var(--grid-dot) 1px, transparent 1.4px); background-size: 18px 18px; }
.pg-home .hm-res-k { color: var(--ink-2); }
.pg-home .hm-res-mark { margin: 18px 0 4px; }
.pg-home .hm-res-mark .ld-mark { width: 224px; max-width: 100%; }   /* 224px: the BA/DS/AI codes render at 13px */
.pg-home .hm-res.is-empty .ld-mark .bm { stroke-opacity: .9; }
.pg-home .hm-res-line { margin-top: 16px; font-family: var(--serif); font-size: 24px; line-height: 1.22; letter-spacing: -.01em; max-width: 15em; text-wrap: balance; }
html[lang="zh-CN"] .pg-home .hm-res-line { font-weight: 600; font-size: 20px; line-height: 1.45; }
.pg-home .hm-res-sub { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--ink-2); max-width: 26em; }
.pg-home .hm-res-act { margin-top: auto; padding-top: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.pg-home .hm-res-act .btn-primary { width: 100%; }
.pg-home .hm-res.slab { border-left: 0; }
.pg-home .hm-res.s-ba { background: var(--ba); color: var(--ink); }
.pg-home .hm-res.s-ds { background: var(--ds); color: #fff; }
.pg-home .hm-res.s-ai { background: var(--ai); color: var(--ink); }
.pg-home .hm-res.on-ink { background: var(--ink); color: var(--on-ink); }
.pg-home .hm-res.slab .hm-res-k { color: inherit; }
.pg-home .hm-res.slab:not(.on-ink) .ld-mark .src, .pg-home .hm-res.slab:not(.on-ink) .ld-mark .bm { stroke: currentColor; }
.pg-home .hm-res.slab:not(.on-ink) .ld-mark .bm:not(.on) { stroke-opacity: .55; }
.pg-home .hm-res.slab:not(.on-ink) .ld-mark .nd { fill: currentColor; }
.pg-home .hm-res.slab:not(.on-ink) .ld-mark .nd.off { fill: none; stroke: currentColor; }
.pg-home .hm-res.slab:not(.on-ink) .ld-mark .sp { fill: none; stroke: currentColor; }
.pg-home .hm-res.slab:not(.on-ink) .ld-mark .cd { fill: currentColor; }
.pg-home .hm-res-name { margin-top: 12px; font-family: var(--serif); font-size: clamp(40px, 3.7vw, 56px); line-height: .98; letter-spacing: -.03em; text-wrap: balance; }
html[lang="zh-CN"] .pg-home .hm-res-name { font-weight: 700; font-size: clamp(34px, 3vw, 44px); line-height: 1.2; letter-spacing: 0; }
.pg-home .hm-res-why { margin-top: 14px; font-size: 16px; line-height: 1.55; }
.pg-home .hm-res-tail { margin-top: 10px; padding-left: 12px; border-left: 2px solid currentColor; font-size: 14.5px; line-height: 1.55; }
.pg-home .hm-res.slab .btn-link { color: inherit; }
.pg-home .hm-res.slab .btn-primary::before { background: var(--paper); }
.pg-home .hm-res.slab .btn-primary { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 12px 26px -12px rgba(23, 26, 29, .6); }
/* on a lens slab the lens-colour arrow disc would vanish into the slab: paper disc, ink arrow */
.pg-home .hm-res.slab:not(.on-ink) .btn-primary .arrow { background: var(--paper); box-shadow: inset 0 0 0 1px rgba(23, 26, 29, .1), 0 0 0 4px rgba(247, 245, 238, .16); }
.pg-home .hm-res.slab:not(.on-ink) .btn-primary .arrow svg { stroke: var(--ink); }
.pg-home .hm-res.slab:not(.on-ink) .btn-primary:hover .arrow { box-shadow: inset 0 0 0 1px rgba(23, 26, 29, .1), 0 0 0 5px rgba(247, 245, 238, .3); }
.pg-home .hm-res.slab:not(.on-ink) :focus-visible { outline-color: currentColor; box-shadow: none; }
.pg-home .hm-res.is-new { animation: ld-wipe-down .5s var(--ease-draw) both; }
.pg-home .hm-res.is-new .hm-res-name { animation: ld-rise .55s var(--ease-out) .15s both; }

/* welcome back (returning student) */
.pg-home .hm-wb-main { display: flex; flex-direction: column; justify-content: center; }
.pg-home .hm-wb-line { font-family: var(--serif); font-size: 32px; line-height: 1.15; letter-spacing: -.012em; text-wrap: balance; }
html[lang="zh-CN"] .pg-home .hm-wb-line { font-weight: 700; font-size: 25px; line-height: 1.4; letter-spacing: 0; word-break: keep-all; overflow-wrap: anywhere; }
.pg-home .hm-wb-sub { margin-top: 14px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.pg-home .hm-wb-step { display: block; margin-top: 6px; font-family: var(--serif); font-size: 20px; line-height: 1.35; color: var(--ink); }
html[lang="zh-CN"] .pg-home .hm-wb-step { font-weight: 600; font-size: 17px; line-height: 1.55; }
.pg-home .hm-wb-list ul { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--ink); }
.pg-home .hm-wb-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--hair); }
.pg-home .hm-wb-list li .lens-tag { justify-self: start; }
.pg-home .hm-wb-list .ld-beam { margin: 0 4px; }
.pg-home .hm-wb-st { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pg-home .hm-wb-list li.is-done .hm-wb-st { color: var(--ok); font-weight: 600; }
.pg-home .hm-wb-st i { font-style: normal; font-size: 11px; }
.pg-home .hm-wb-act { justify-content: center; gap: 0; }
.pg-home .hm-wb-act .hm-res-mark { margin-top: 0; }
.pg-home .hm-wb-act .hm-res-act { margin-top: 18px; padding-top: 0; }

.pg-home .hm-qs-more { padding: 0 32px; border-top: 1px solid var(--hair); }
.pg-home .hm-qs-more details.fold { border: 0; }
.pg-home .hm-qs-more details.fold > summary { padding: 14px 0; font-size: 15px; gap: 12px; flex-wrap: wrap; }
.pg-home .hm-more-sub { font-weight: 400; font-size: 14px; color: var(--muted); }
.pg-home .hm-qs-more details.fold > .fold-body { padding: 4px 0 24px 34px; }
.pg-home .hm-more { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 28px; }
.pg-home .hm-more-t { margin-bottom: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.pg-home .hm-more .chips { gap: 8px; }
.pg-home .hm-more-note { margin-top: 18px; font-size: 14px; color: var(--muted); }
/* "Tell us a bit more" sits at the foot of the Q2 column, so the columns end together beside a tall slab */
.pg-home .hm-q2 { display: flex; flex-direction: column; }
.pg-home .hm-qs-more.in-col { margin-top: auto; padding: 18px 0 0; border-top: 0; }
.pg-home .hm-qs-more.in-col details.fold > summary { border-top: 1px dashed var(--line-2); }
.pg-home .hm-qs-more.in-col details.fold > .fold-body { padding: 4px 0 8px; }
.pg-home .hm-qs-more.in-col .hm-more { grid-template-columns: minmax(0, 1fr); gap: 18px; }

/* ---- AI-7 · Quick Start "in your own words" (AI-LAYER.md §2). The reading itself is the shared kit (.rd-*);
   here it only takes the slab's own colours: no box, a 2px rule in currentColor (dashed while it reads, solid when
   done), the student's words underlined rather than washed (a wash would fight a full lens-colour slab). ---- */
.pg-home .hm-say { margin-top: 22px; }
.pg-home .hm-say-l { display: block; margin-bottom: 10px; font-weight: 600; font-size: 16px; line-height: 1.4; }
.pg-home .hm-say-box { position: relative; }
.pg-home .hm-say-ta { min-height: 0; max-height: 220px; padding: 11px 50px 11px 14px; font-size: 15.5px; line-height: 1.5; resize: none; background: var(--card); field-sizing: content; }
@supports (field-sizing: content) { .pg-home .hm-say-ta { min-height: calc(3em + 24px); } }
.pg-home .hm-say-ta::placeholder { color: var(--faint); }
.pg-home .hm-say-go { position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); transition: border-color var(--t-fast), background var(--t-fast); }
.pg-home .hm-say-go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pg-home .hm-say-go:hover { border-color: var(--ink); background: var(--card); }
.pg-home .hm-say-hint { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
/* the Q1 option their words lean toward: an outline only, never a check (one tap confirms) */
.pg-home .hm-opt.is-lean:not([aria-pressed="true"]) { outline: 1.5px dashed var(--ink-2); outline-offset: -4px; }
.pg-home .hm-res.lean-ba .ld-mark .bm.ba, .pg-home .hm-res.lean-ds .ld-mark .bm.ds, .pg-home .hm-res.lean-ai .ld-mark .bm.ai { stroke-width: 2.4; stroke-opacity: 1; }
.pg-home .hm-res.lean-ba .ld-mark .nd.ba, .pg-home .hm-res.lean-ds .ld-mark .nd.ds, .pg-home .hm-res.lean-ai .ld-mark .nd.ai { stroke-width: 2.2; }
/* the response, inside the result panel */
.pg-home .hm-res .hm-said { margin-top: 14px; background: none; border: 0; border-radius: 0; padding: 2px 0 2px 16px; color: inherit; box-shadow: inset 2px 0 0 currentColor; }
.pg-home .hm-res .hm-said.is-streaming { box-shadow: none; background: linear-gradient(currentColor 55%, transparent 55%) 0 0 / 2px 7px repeat-y; }
.pg-home .hm-res .hm-said.rd-unsure-b { box-shadow: none; background: linear-gradient(currentColor 55%, transparent 55%) 0 0 / 2px 7px repeat-y; }
.pg-home .hm-res .hm-said .rd-body, .pg-home .hm-res .hm-said .rd-body b, .pg-home .hm-res .hm-said .rd-kick, .pg-home .hm-res .hm-said .rd-trace,
.pg-home .hm-res .hm-said .rd-ti, .pg-home .hm-res .hm-said .rd-skip, .pg-home .hm-res .hm-said .rd-unsure-t { color: inherit; }
.pg-home .hm-res .hm-said > .rd-head { flex-wrap: nowrap; align-items: flex-start; }
.pg-home .hm-res .hm-said > .rd-head > .rd-kick-m { margin-top: 3px; }
.pg-home .hm-res .hm-said > .rd-head > .rd-trace { flex: 1 1 auto; }
.pg-home .hm-res .hm-said .rd-body { font-size: 17px; line-height: 26px; }
html[lang="zh-CN"] .pg-home .hm-res .hm-said .rd-body { font-size: 16px; line-height: 27px; }
.pg-home .hm-res .hm-said .rd-ti i, .pg-home .hm-res .hm-said .rd-trace-done li i { background: currentColor; }
.pg-home .hm-res .hm-said .rd-trace-done > summary:hover { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pg-home .hm-res .hm-said .rd-skip { text-decoration-color: currentColor; white-space: nowrap; }
.pg-home .hm-res .hm-said .rd-trace-live { gap: 6px; }
.pg-home .hm-res .hm-said .rd-ti { padding: 3px 10px 3px 8px; border: 1px dashed currentColor; border-radius: 999px; font-size: 13.5px; line-height: 1.35; max-width: 100%; overflow-wrap: anywhere; }
/* the phrases it read stay as small quoted chips */
.pg-home .hm-res .hm-said .rd-trace-done ul { margin-top: 8px; gap: 6px; color: inherit; }
.pg-home .hm-res .hm-said .rd-trace-done li { padding: 3px 10px 3px 8px; border: 1px solid currentColor; border-radius: 999px; font-size: 13.5px; line-height: 1.35; color: inherit; max-width: 100%; overflow-wrap: anywhere; }
.pg-home .hm-res .hm-said .rd-trace-done li i { width: 5px; height: 5px; }
.pg-home .hm-res .hm-said .rd-q { color: inherit; padding: 0 0 2px; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 100% 1.5px; }
html.ld-live .pg-home .hm-res .hm-said.rd-anim .rd-q { animation-name: rd-uline; }
.pg-home .hm-res .hm-said .rd-p + .rd-p { margin-top: 8px; }
.pg-home .hm-res .hm-said .rd-caret { background: currentColor; }
.pg-home .hm-res.on-ink .hm-said .rd-q { background-image: linear-gradient(var(--on-ink-2), var(--on-ink-2)); }
.pg-home .hm-res-bound { margin-top: 12px; font-size: 14px; line-height: 1.5; text-wrap: pretty; }
.pg-home .hm-res.is-empty .hm-res-bound { color: var(--ink-2); }
/* welcome back: one grounded line under "Up next" */
.pg-home .hm-wb-echo { margin-top: 16px; }
/* ---- facts: the one-line pitch ---- */
.pg-home .hm-facts { padding-top: 88px; }
.pg-home .hm-facts-dl { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.pg-home .hm-fact { display: grid; gap: 12px; align-content: start; padding: 24px 24px 4px 0; }
.pg-home .hm-fact + .hm-fact { padding-left: 26px; border-left: 1px solid var(--hair); }
.pg-home .hm-fact dt { font-size: clamp(60px, 6.4vw, 96px); line-height: .86; font-weight: 300; letter-spacing: -.045em; color: var(--ink); }
.pg-home .hm-fact dt small { margin-left: 6px; font-family: var(--sans); font-size: 18px; font-weight: 600; letter-spacing: 0; }
.pg-home .hm-fact.zero dt { color: var(--orange); font-style: italic; }
.pg-home .hm-fact dd { margin: 0; max-width: 15em; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }

/* ---- 01 · the shared problem: the one ink band mid-page ---- */
.pg-home .hm-prob { margin-top: 112px; padding: 96px 0 104px; }
.pg-home .hm-prob .ch-t { max-width: 17em; }
.pg-home .hm-pull { display: grid; grid-template-columns: auto minmax(48px, 1fr) auto; align-items: end; column-gap: clamp(16px, 2.6vw, 44px); margin-top: 64px; padding-bottom: 40px; border-bottom: 1px solid var(--on-ink-line); }
.pg-home .hm-pull .n { display: block; font-weight: 300; font-size: clamp(76px, 12.4vw, 190px); line-height: .8; letter-spacing: -.055em; white-space: nowrap; color: var(--on-ink); }
.pg-home .hm-pull .n em { color: var(--orange); font-style: italic; }
.pg-home .hm-pull .ld-label { display: block; margin-top: 24px; }
.pg-home .hm-pull-b { text-align: right; }
.pg-home .hm-pull-ar { width: 100%; height: clamp(22px, 2.4vw, 38px); align-self: center; margin-bottom: 2.6em; overflow: visible; }
.pg-home .hm-pull-ar path { fill: none; stroke: var(--on-ink-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
#view.first .hm-pull-a { animation: ld-rise .8s var(--ease-out) both; }
#view.first .hm-pull-ar path { animation: ld-draw .9s var(--ease-draw) .3s both; }
#view.first .hm-pull-b { animation: ld-rise .8s var(--ease-out) .55s both; }
.pg-home .hm-prob-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; margin-top: 52px; }
.pg-home .hm-prob-text .stand { color: var(--on-ink); font-size: clamp(21px, 1.8vw, 25px); line-height: 1.45; }
.pg-home .hm-lead-ask { margin-top: 30px; padding-left: 18px; border-left: 2px solid var(--orange); }
.pg-home .hm-lead-ask p { margin-top: 6px; font-family: var(--serif); font-size: 20px; line-height: 1.4; color: var(--on-ink); }
.pg-home .hm-prob-text > p:last-child { margin-top: 30px; }
html[lang="zh-CN"] .pg-home .hm-prob-text .stand { line-height: 1.75; }

/* Fig. 2 — bars in HTML, so in-bar values stay at a readable size */
.pg-home .hm-fig2 { margin: 0; min-width: 0; }
.ink-band .hm-fig2 .ld-cap { border-bottom-color: var(--on-ink-line); }
.ink-band .hm-fig2 .ld-cap .ld-label { color: var(--on-ink-2); }
.ink-band .hm-fig2 .ld-pill { background: transparent; color: var(--on-ink-2); border-color: var(--on-ink-line); }
/* Fig. 2 · the DS bridge: earlier → (mix) → (real) → recent, on a zoomed axis that says where it starts */
.pg-home .hm-br { position: relative; padding-top: 18px; }
.pg-home .hm-br-plot { position: relative; height: 300px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; border-bottom: 1px solid var(--on-ink-2); }
.pg-home .hm-br-lvl { position: absolute; left: calc(var(--a) * 25%); right: calc((4 - var(--b)) * 25%); height: 0; border-top: 1.5px dashed rgba(243, 241, 234, .45); z-index: 0; }
.pg-home .hm-br-lvl.r { border-top-color: var(--orange); }
.pg-home .hm-br-col { position: relative; z-index: 1; }
.pg-home .hm-br-bar { position: absolute; left: 10%; right: 10%; border-radius: 2px; }
.pg-home .hm-br-col.e .hm-br-bar { background: rgba(243, 241, 234, .9); border-radius: 2px 2px 0 0; }
.pg-home .hm-br-col.r .hm-br-bar { background: var(--orange); border-radius: 2px 2px 0 0; }
.pg-home .hm-br-col.m .hm-br-bar { background: repeating-linear-gradient(135deg, var(--ds-on-ink) 0 2px, transparent 2px 7px); box-shadow: inset 0 0 0 1.5px var(--ds-on-ink); }
.pg-home .hm-br-col.q .hm-br-bar { background: repeating-linear-gradient(135deg, var(--ai-on-ink) 0 2px, transparent 2px 7px); box-shadow: inset 0 0 0 1.5px var(--ai-on-ink); }
.pg-home .hm-br-bar .v { position: absolute; left: -12px; right: -12px; bottom: calc(100% + 8px); text-align: center; font-size: 26px; line-height: 1; letter-spacing: -.01em; color: var(--on-ink); white-space: nowrap; }
.pg-home .hm-br-col.r .hm-br-bar .v em { color: var(--orange); font-style: italic; }
.pg-home .hm-br-col.m .hm-br-bar .v { color: var(--ds-on-ink); }
.pg-home .hm-br-col.q .hm-br-bar .v { color: var(--ai-on-ink); bottom: auto; top: calc(100% + 8px); }
.pg-home .hm-br-x { position: absolute; left: -6px; right: -6px; top: calc(100% + 12px); display: grid; gap: 4px; text-align: center; }
.pg-home .hm-br-x .n { font-family: var(--label-font); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--on-ink); }
html[lang="zh-CN"] .pg-home .hm-br-x .n { letter-spacing: .04em; font-size: 13.5px; }
.pg-home .hm-br-x .s { font-size: 14px; line-height: 1.35; color: var(--on-ink-2); }
.pg-home .hm-br-axis { display: block; margin-top: 86px; color: var(--on-ink-2); }
.pg-home .hm-br-note { margin-top: 14px; max-width: 40em; font-size: 15px; line-height: 1.6; color: var(--on-ink-2); }
.pg-home .hm-br-note b { color: var(--on-ink); font-weight: 600; }
#view.enter .hm-fig2.ld-reveal .hm-br-bar { transform-box: fill-box; transform-origin: top; animation: ld-grow-y .8s var(--ease-out) calc(.15s + var(--i) * .22s) both; }
#view.enter .hm-fig2.ld-reveal .hm-br-col.e .hm-br-bar, #view.enter .hm-fig2.ld-reveal .hm-br-col.r .hm-br-bar { transform-origin: bottom; }
#view.enter .hm-fig2.ld-reveal .hm-br-bar .v { animation: ld-fade .5s ease calc(.6s + var(--i) * .22s) both; }
#view.enter .hm-fig2.ld-reveal .hm-br-lvl { animation: ld-wipe .7s var(--ease-draw) calc(.3s + var(--a) * .22s) both; }

/* ---- 02 · three lenses, each opened by its own data ---- */
.pg-home .hm-sec { padding-top: 128px; }
.pg-home .hm-lcols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(5, auto); column-gap: 20px; margin-top: 44px; }
.pg-home .hm-lcol { position: relative; isolation: isolate; display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; align-content: start; padding: 20px 20px 24px; border-radius: var(--r-lg); transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease-out), background var(--t-mid); }
.pg-home .hm-spot { position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity var(--t-mid);
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 30%), rgba(23, 26, 29, .05), transparent 70%);
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 30%), color-mix(in srgb, var(--lens) 9%, transparent), transparent 70%); }
@media (hover: hover) and (pointer: fine) {
  .pg-home .hm-lcol:hover { transform: translateY(-4px); background: var(--card); box-shadow: var(--shadow-2); }
  .pg-home .hm-lcol:hover .hm-spot { opacity: 1; }
}
.pg-home .hm-lcol .ld-gbox { box-shadow: var(--shadow-1); }
.pg-home .hm-lhead { display: grid; gap: 12px; justify-items: start; align-content: start; padding-top: 24px; }
.pg-home .hm-lq { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 1.9vw, 26px); line-height: 1.24; letter-spacing: -.01em; text-wrap: balance; }
html[lang="zh-CN"] .pg-home .hm-lq { font-weight: 700; font-size: 20px; line-height: 1.5; letter-spacing: 0; }
.pg-home .hm-lone { padding-top: 12px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.pg-home .hm-lhand { display: grid; gap: 8px; align-content: start; padding-top: 20px; }
.pg-home .hm-lhand > span:last-child { padding-top: 10px; border-top: 1px solid var(--hair); font-size: 15.5px; line-height: 1.5; }
.pg-home .hm-ltry { padding-top: 18px; }

/* ---- 03 · how it works: one rule, three stations, display-scale words ---- */
.pg-home .hm-how-list { list-style: none; margin: 60px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.pg-home .hm-how-list li { position: relative; padding-top: 30px; }
.pg-home .hm-how-rule { position: absolute; left: 0; right: -40px; top: 13px; height: 1px; background: var(--ink); transform-origin: left; }
.pg-home .hm-how-list li:last-child .hm-how-rule { right: 0; }
.pg-home .hm-how-n { position: absolute; left: 0; top: 0; display: inline-grid; place-items: center; height: 27px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--ink); background: var(--paper); font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: .08em; }
.pg-home .hm-how-list li:first-child .hm-how-n { background: var(--ink); color: var(--paper); }
.pg-home .hm-how-w { display: block; margin-top: 26px; font-family: var(--serif); font-weight: 500; font-size: var(--fs-display); line-height: .95; letter-spacing: -.03em; }
/* one display style for the sequence; only the last word (what you keep) carries the italic orange accent */
.pg-home .hm-how-w.w2 { font-style: italic; font-weight: 300; color: var(--orange); }
html[lang="zh-CN"] .pg-home .hm-how-w { font-weight: 700; letter-spacing: 0; line-height: 1.1; }
html[lang="zh-CN"] .pg-home .hm-how-w.w2 { font-style: normal; font-weight: 700; }
.pg-home .hm-how-list p { margin-top: 16px; max-width: 22em; font-size: 16.5px; line-height: 1.6; color: var(--ink-2); }
#view.first .hm-how-list .hm-how-rule { animation: ld-grow-x 1s var(--ease-draw) calc(var(--i) * .15s) both; }
#view.first .hm-how-list .hm-how-n { animation: ld-pop .45s var(--ease-out) calc(.2s + var(--i) * .15s) both; }
#view.first .hm-how-list .hm-how-w { animation: ld-rise .7s var(--ease-out) calc(.25s + var(--i) * .15s) both; }

/* what you keep: the real Brief, as a floating sheet */
.pg-home .hm-keep { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; margin-top: 104px; padding-top: 52px; border-top: 1px solid var(--hair); }
.pg-home .hm-keep-t { margin-top: 14px; max-width: 15em; font-size: clamp(30px, 3vw, 42px); line-height: 1.12; }
.pg-home .hm-keep-b { margin-top: 16px; max-width: 30em; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.pg-home .hm-keep-text > p:last-child { margin-top: 24px; }
.pg-home .hm-keep-card { padding: 28px 20px 40px; border-radius: var(--r-lg); background-image: radial-gradient(circle at 1px 1px, var(--grid-dot) 1px, transparent 1.4px); background-size: 18px 18px; }
.pg-home .hm-brief { margin: 0; display: flex; justify-content: center; }
.pg-home .hm-brief-paper { width: min(100%, 470px); transform: rotate(-1.6deg); }
#view.first .hm-keep-card .hm-brief-paper { animation: hm-float-in 1s var(--ease-out) .1s both; }
@keyframes hm-float-in { from { opacity: 0; transform: translateY(26px) rotate(0deg); } to { opacity: 1; transform: rotate(-1.6deg); } }

/* ---- trust close: ink, straight into the ink colophon ---- */
.pg-home .hm-trust { margin-top: 136px; padding: 104px 0 96px; border-bottom: 1px solid var(--on-ink-line); }
.pg-home .hm-trust-top { display: flex; align-items: center; gap: 18px; }
.pg-home .hm-trust-top .ld-mark { width: 120px; }
.pg-home .hm-trust-line { margin-top: 36px; font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 7vw, 108px); line-height: .96; letter-spacing: -.04em; color: var(--on-ink); }
.pg-home .hm-trust-line > span { display: block; }
.pg-home .hm-trust-line em { color: var(--orange); font-style: italic; font-weight: 300; }
html[lang="zh-CN"] .pg-home .hm-trust-line { font-weight: 700; font-size: clamp(38px, 5.4vw, 80px); line-height: 1.22; letter-spacing: 0; }
html[lang="zh-CN"] .pg-home .hm-trust-line em { font-style: normal; font-weight: 700; }
.pg-home .hm-trust-sub { margin-top: 44px; max-width: 36em; font-size: 16px; line-height: 1.6; color: var(--on-ink-2); }

/* =====================================================================
   EXPLORE
   ===================================================================== */
.pg-explore { padding: 52px 0 24px; }
.pg-explore .ex-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: end; }
.pg-explore .ex-eyebrow { color: var(--ink-2); }
.pg-explore .ex-title { margin-top: 22px; max-width: 13em; font-size: clamp(44px, 5vw, 76px); line-height: 1.0; letter-spacing: -.03em; }
html[lang="zh-CN"] .pg-explore .ex-title { font-size: clamp(34px, 3.9vw, 56px); line-height: 1.22; letter-spacing: 0; }
.pg-explore .ex-lede { margin-top: 24px; max-width: 34em; }
.pg-explore .ex-head-r { display: grid; justify-items: start; gap: 14px; padding-bottom: 8px; }
.pg-explore .ex-head-r .ld-mark { width: 260px; }
.pg-explore .ex-head-r .ld-label { color: var(--ink-2); }

/* 01 · the situation */
.pg-explore .ex-sit { margin-top: 88px; }
.pg-explore .ex-sit .ch-t { max-width: 18em; }
.pg-explore .ex-sit-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; margin-top: 40px; }
.pg-explore .ex-read { padding-top: 0; }
.pg-explore .ex-read .hf-readout { font-size: clamp(48px, 4.6vw, 68px); }
.pg-explore .ex-sit-body { margin-top: 30px; font-size: clamp(20px, 1.7vw, 23px); line-height: 1.45; color: var(--ink); }
html[lang="zh-CN"] .pg-explore .ex-sit-body { line-height: 1.75; }
.pg-explore .ex-ask { margin-top: 28px; padding-left: 18px; border-left: 2px solid var(--orange); }
.pg-explore .ex-ask p { margin-top: 6px; font-family: var(--serif); font-size: 19px; line-height: 1.4; color: var(--ink-2); }
.pg-explore .ex-fig { padding: 20px 24px 18px; background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-panel); box-shadow: var(--shadow-1); }
.pg-explore .ex-fig::before { content: ""; position: absolute; left: 24px; top: -1px; width: 44px; height: 3px; background: linear-gradient(90deg, var(--ba) 0 33.3%, var(--ds) 33.3% 66.6%, var(--ai) 66.6% 100%); }
.pg-explore .ex-fig .hf-t.gap, .pg-explore .ex-fig .hf-dot { }
.pg-explore .ex-fig .hf-t.gap { background: var(--card); }
.pg-explore .ex-fig .hf-dot { fill: var(--card); }
.pg-explore .ex-fig .hf-dot.last { fill: var(--orange); stroke: var(--card); }
.pg-explore .ex-fig .hf-box { margin-top: 26px; }
.pg-explore .ex-fig-note { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--hair); font-size: 14px; color: var(--ink-2); }

/* 02 · three ways in */
.pg-explore .ex-lenses { margin-top: 128px; }
.pg-explore .ex-lenses .ch-aside b { font-weight: 600; color: var(--ink); white-space: nowrap; }
.pg-explore .ex-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(7, auto); gap: 0 20px; margin-top: 44px; }
.pg-explore .ex-col { position: relative; display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 0; padding: 0 26px; background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-panel); box-shadow: var(--shadow-1); }
.pg-explore .ex-col::before { content: ""; position: absolute; left: 26px; top: -1px; width: 44px; height: 3px; background: var(--lens); }
.pg-explore .ex-col.is-rec { box-shadow: var(--shadow-float); border-color: transparent; }
.pg-explore .ex-rec { position: absolute; z-index: 1; top: -13px; right: 22px; display: inline-flex; align-items: center; gap: 7px; padding: 3px 11px 4px; border-radius: 999px; background: var(--ink); color: var(--on-ink); font-family: var(--label-font); font-size: 12.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.pg-explore .ex-rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lens-on-ink); }
html[lang="zh-CN"] .pg-explore .ex-rec { font-size: 13px; letter-spacing: .06em; }
.pg-explore .ex-glyph { padding-top: 26px; }
.pg-explore .ex-col-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 20px 0 4px; }
.pg-explore .ex-st { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pg-explore .ex-st .ld-beam { width: 56px; }
.pg-explore .ex-st.done { color: var(--ok); font-weight: 600; }
.pg-explore .ex-st.done i { display: grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--ok-soft); font-style: normal; font-size: 10px; }
.pg-explore .ex-narrow { display: none; }
.pg-explore .ex-cell { padding: 20px 0; border-top: 1px solid var(--hair); }
.pg-explore .ex-cell.ex-q { border-top: 0; padding-top: 14px; }
.pg-explore .ex-cell > .ld-label { display: block; }
.pg-explore .ex-q h3 { margin-top: 10px; font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 1.8vw, 25px); line-height: 1.26; letter-spacing: -.008em; text-wrap: balance; }
html[lang="zh-CN"] .pg-explore .ex-q h3 { font-weight: 700; font-size: 20px; line-height: 1.5; letter-spacing: 0; }
.pg-explore .ex-do { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: exdo; }
.pg-explore .ex-do li { counter-increment: exdo; display: grid; grid-template-columns: 28px 1fr; gap: 6px; font-size: 15px; line-height: 1.5; text-wrap: pretty; }
.pg-explore .ex-do li::before { content: counter(exdo, decimal-leading-zero); padding-top: 2px; font-family: var(--mono); font-size: 13px; color: var(--lens-ink); }
.pg-explore .ex-hand, .pg-explore .ex-done { margin-top: 10px; font-size: 15px; line-height: 1.5; }
.pg-explore .ex-done { color: var(--ink-2); }
.pg-explore .ex-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; align-self: end; padding: 20px 0 26px; }
.pg-explore .ex-time { font-size: 14px; color: var(--muted); }
.pg-explore .ex-foot .btn-primary { width: 100%; }

/* teaching-example document, drawn as a sheet (no image): legible at a glance */
.pg-explore .ex-doc { margin: 18px 0 4px; }
.pg-explore .ex-doc-sheet { position: relative; padding: 16px 18px 10px; background: #fffefa; border: 1px solid var(--hair); border-radius: var(--r-sm); box-shadow: var(--shadow-2); transform: rotate(-.8deg); }
.pg-explore .ex-col:nth-child(2n) .ex-doc-sheet { transform: rotate(.7deg); }
.pg-explore .ex-doc-sheet::before { content: ""; position: absolute; left: 18px; top: -1px; width: 28px; height: 3px; background: var(--lens); }
.pg-explore .ex-doc-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pg-explore .ex-doc-stamp { padding: 1px 7px; border: 1px solid var(--lens-ink); border-radius: 2px; font-family: var(--label-font); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lens-ink); }
.pg-explore .ex-doc-co { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.pg-explore .ex-doc-title { margin-top: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); font-family: var(--serif); font-size: 20px; line-height: 1.2; }
html[lang="zh-CN"] .pg-explore .ex-doc-title { font-weight: 700; font-size: 17px; }
.pg-explore .ex-doc dl { margin: 2px 0 0; display: grid; }
.pg-explore .ex-doc dl > div { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--hair); font-size: 14px; line-height: 1.4; }
.pg-explore .ex-doc dl > div:last-child { border-bottom: 0; }
.pg-explore .ex-doc dt { padding-top: 1px; font-family: var(--label-font); font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
html[lang="zh-CN"] .pg-explore .ex-doc dt { font-size: 13px; letter-spacing: .04em; }
html[lang="zh-CN"] .pg-explore .ex-doc dl > div { grid-template-columns: 52px minmax(0, 1fr); }
.pg-explore .ex-doc dd { margin: 0; color: var(--ink-2); }

/* 03 · where they overlap (the page's ink band) */
.pg-explore .ex-ov { margin-top: 128px; padding: 96px 0 88px; }
.pg-explore .ex-ov .ch-t { max-width: 22em; }
.pg-explore .ex-relay { position: relative; list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; align-items: start; }
.pg-explore .ex-relay::before { content: ""; position: absolute; left: 7px; right: 0; top: 7px; height: 2px; border-radius: 1px; background: linear-gradient(90deg, var(--ba-on-ink), var(--ds-on-ink) 50%, var(--ai-on-ink)); opacity: .8; transform-origin: left; }
.pg-explore .ex-node { position: relative; display: grid; justify-items: start; gap: 0; padding-top: 34px; }
.pg-explore .ex-node-dot { position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); border: 2px solid var(--lens-on-ink); box-shadow: 0 0 0 4px var(--ink); }
.pg-explore .ex-node-v { margin-top: 14px; font-family: var(--serif); font-size: 26px; line-height: 1.22; letter-spacing: -.01em; color: var(--on-ink); }
html[lang="zh-CN"] .pg-explore .ex-node-v { font-weight: 700; font-size: 21px; line-height: 1.4; letter-spacing: 0; }
.pg-explore .ex-node-d { margin-top: 10px; max-width: 24em; font-size: 15.5px; line-height: 1.6; color: var(--on-ink-2); text-wrap: pretty; }
#view.first .ex-relay::before { animation: ld-grow-x 1.2s var(--ease-draw) .1s both; }
#view.first .ex-relay .ex-node { animation: ld-rise .7s var(--ease-out) calc(.2s + var(--i) * .18s) both; }
.pg-explore .ex-habits { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: baseline; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--on-ink-line); }
.pg-explore .ex-habits ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.pg-explore .ex-habits li { position: relative; padding-left: 18px; font-size: 16px; line-height: 1.55; color: var(--on-ink); }
.pg-explore .ex-habits li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--on-ink); }

/* honesty note (back on paper before the colophon) */
.pg-explore .ex-note { display: grid; grid-template-columns: 28px 1fr; gap: 14px; max-width: 760px; margin: 64px auto 40px; font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.pg-explore .ex-note-i { display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; border: 1px solid var(--line-2); font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--ink-2); }
.pg-explore .ex-note-t { margin-bottom: 2px; font-weight: 600; color: var(--ink); }

/* =====================================================================
   responsive
   ===================================================================== */
@media (max-width: 1100px) {
  .pg-home .hm-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .pg-home .hm-copy { max-width: 760px; }
  .pg-home .hm-qs-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pg-home .hm-res { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--hair); border-radius: 0; }
  .pg-home .hm-res-act .btn-primary { width: auto; min-width: 320px; }
  .pg-home .hm-wb-act { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
  .pg-home .hm-wb-act .hm-res-act { margin-top: 0; flex-direction: row; align-items: center; gap: 14px 24px; flex-wrap: wrap; }
  .pg-home .hm-more { grid-template-columns: 1fr 1fr; }
  .pg-home .hm-facts-dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-home .hm-fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .pg-home .hm-fact:nth-child(n+3) { border-top: 1px solid var(--hair); padding-top: 22px; margin-top: 20px; }
  .pg-home .hm-prob-body { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .pg-home .hm-keep { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .pg-explore .ex-head { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .pg-explore .ex-sit-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .pg-explore .ex-cols { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 28px; }
  .pg-explore .ex-col { grid-row: auto; grid-template-rows: none; }
  .pg-explore .ex-relay { grid-template-columns: minmax(0, 1fr); gap: 32px; max-width: 600px; }
  .pg-explore .ex-relay::before { left: 7px; right: auto; top: 8px; bottom: 40px; width: 2px; height: auto; background: linear-gradient(180deg, var(--ba-on-ink), var(--ds-on-ink) 50%, var(--ai-on-ink)); transform-origin: top; }
  #view.first .ex-relay::before { animation-name: ld-grow-y; }
  .pg-explore .ex-node { padding: 0 0 0 40px; }
  .pg-explore .ex-node-dot { top: 2px; }
  .pg-explore .ex-node-v { margin-top: 12px; }
  .pg-explore .ex-habits { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .pg-explore .ex-habits ul { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
/* tablets: one wide card per lens — the glyph and the work on the left, what you hand in on the right */
@media (min-width: 761px) and (max-width: 1100px) {
  .pg-explore .ex-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 44px; grid-template-areas: "glyph hand" "top hand" "q hand" "do done" "foot done"; grid-template-rows: auto auto auto 1fr auto; padding: 0 32px; }
  .pg-explore .ex-glyph { grid-area: glyph; }
  .pg-explore .ex-col-top { grid-area: top; }
  .pg-explore .ex-q { grid-area: q; }
  .pg-explore .ex-docell { grid-area: do; }
  .pg-explore .ex-handcell { grid-area: hand; border-top: 0; padding-top: 26px; }
  .pg-explore .ex-donecell { grid-area: done; }
  .pg-explore .ex-foot { grid-area: foot; }
}
@media (max-width: 860px) {
  .pg-home .hm-lcols { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 20px; max-width: 560px; }
  .pg-home .hm-lcol { grid-row: auto; grid-template-rows: none; padding: 0 0 8px; }
  .pg-home .hm-how-list { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .pg-home .hm-how-rule { right: 0 !important; }
}
@media (max-width: 760px) {
  /* hero: compact figure (readout + beams) so the first screen ends on the Quick Start header */
  .pg-home .hm-hero { padding-top: 24px; }
  .pg-home .hm-hero-grid { gap: 30px; }
  .hf-replay span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hf-replay { min-width: 32px; min-height: 32px; justify-content: center; }
  .pg-home .hm-eyebrow { gap: 10px; }
  .pg-home .hm-h1 { margin-top: 16px; font-size: 42px; line-height: 1.02; }
  html[lang="zh-CN"] .pg-home .hm-h1 { font-size: 36px; line-height: 1.28; }
  .pg-home .hm-lede { margin-top: 16px; font-size: 17px; }
  .pg-home .hm-checks { display: none; }
  .pg-home .hm-jump-row { margin-top: 16px; }
  .pg-home .hm-jump { font-size: 15px; }
  .hf-box.row { display: none; }
  .hf-box.mini { display: block; }
  .hf-read { padding-top: 12px; gap: 2px; }
  .pg-home .hf-read-s { display: none; }
  .hf-readout { font-size: 44px; }
  .hf-node { gap: 2px; }
  .hf-node-k { font-size: 13px; gap: 6px; }
  .hf-node-k i { width: 12px; }
  .hf-node-n { font-size: 16px; line-height: 1.15; }
  html[lang="zh-CN"] .hf-node-n { font-size: 15px; }
  .hf-box { margin-top: 8px; }
  .pg-home .hm-qs { margin: 26px -6px 0; border-radius: var(--r-lg); }
  .pg-home .hm-qs-head { padding: 16px 20px 14px; }
  .pg-home .hm-qs-title { font-size: 23px; }
  .pg-home .hm-qs-back { margin-left: 0; flex-basis: 100%; }
  .pg-home .hm-qs-grid { grid-template-columns: minmax(0, 1fr); }
  .pg-home .hm-q { padding: 20px 20px 22px; }
  .pg-home .hm-q + .hm-q { border-left: 0; border-top: 1px solid var(--hair); }
  .pg-home .hm-qs-grid:not(.hm-wb) .hm-res { order: 2; }    /* the answer sits right under the first question */
  .pg-home .hm-qs-grid:not(.hm-wb) .hm-q + .hm-q { order: 3; }
  .pg-home .hm-res { padding: 20px 20px 24px; }
  .pg-home .hm-res-act .btn-primary { width: 100%; min-width: 0; }
  .pg-home .hm-res-mark .ld-mark { width: 210px; }
  .pg-home .hm-opt { font-size: 19px; padding: 12px 10px 12px 8px; }
  .pg-home .hm-ask { font-size: 17.5px; }
  .pg-home .hm-wb-act, .pg-home .hm-wb-act .hm-res-act { flex-direction: column; align-items: stretch; }
  .pg-home .hm-wb-act .btn-primary { width: 100%; min-width: 0; }
  .pg-home .hm-wb-line { font-size: 26px; }
  html[lang="zh-CN"] .pg-home .hm-wb-line { font-size: 22px; }
  .pg-home .hm-qs-more { padding: 0 20px; }
  .pg-home .hm-qs-more.in-col { padding: 14px 0 0; }
  .pg-home .hm-qs-more details.fold > .fold-body { padding-left: 0; }
  .pg-home .hm-more { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .pg-home .hm-facts { padding-top: 64px; }
  .pg-home .hm-fact { padding: 18px 12px 4px 0; gap: 8px; }
  .pg-home .hm-fact + .hm-fact { padding-left: 14px; }
  .pg-home .hm-fact:nth-child(3) { padding-left: 0; }
  .pg-home .hm-fact dt { font-size: 56px; }
  .pg-home .hm-fact dd { font-size: 14px; }
  .pg-home .hm-prob { margin-top: 72px; padding: 64px 0 72px; }
  .pg-home .hm-pull { grid-template-columns: minmax(0, 1fr); row-gap: 6px; margin-top: 40px; padding-bottom: 28px; }
  .pg-home .hm-pull .n { font-size: clamp(76px, 25vw, 104px); }
  .pg-home .hm-pull-b { text-align: left; }
  .pg-home .hm-pull .ld-label { margin-top: 14px; }
  .pg-home .hm-pull-ar { width: 56px; height: 28px; margin: 22px 0 18px -10px; transform: rotate(90deg); justify-self: start; }
  .pg-home .hm-prob-body { margin-top: 36px; gap: 40px; }
  .pg-home .hm-br-plot { height: 230px; gap: 8px; }
  .pg-home .hm-br-bar .v { font-size: 19px; }
  .pg-home .hm-br-x { left: -4px; right: -4px; }
  .pg-home .hm-br-x .n { font-size: 13px; letter-spacing: .02em; }
  .pg-home .hm-br-x .s { font-size: 13px; }
  .pg-home .hm-br-axis { margin-top: 104px; }
  .pg-home .hm-sec { padding-top: 88px; }
  .pg-home .hm-lcols { margin-top: 32px; }
  .pg-home .hm-how-list { margin-top: 44px; }
  .pg-home .hm-how-w { font-size: 52px; }
  .pg-home .hm-keep { margin-top: 72px; padding-top: 40px; }
  .pg-home .hm-keep-card { padding: 22px 10px 30px; margin: 0 -8px; }
  .pg-home .hm-brief-paper { padding: 22px 18px 12px; transform: rotate(-1deg); }
  .pg-home .hm-brief-paper::before { left: 18px; }
  .pg-home .hm-brief-t { font-size: 27px; }
  .pg-home .hm-trust { margin-top: 96px; padding: 72px 0 64px; }
  .pg-home .hm-trust-line { font-size: clamp(42px, 12vw, 56px); }
  html[lang="zh-CN"] .pg-home .hm-trust-line { font-size: clamp(32px, 9vw, 42px); }
  .pg-home .hm-trust-sub { margin-top: 30px; font-size: 15px; }
  @keyframes hm-float-in { from { opacity: 0; transform: translateY(20px) rotate(0deg); } to { opacity: 1; transform: rotate(-1deg); } }

  .pg-explore { padding-top: 28px; }
  .pg-explore .ex-title { font-size: 40px; }
  html[lang="zh-CN"] .pg-explore .ex-title { font-size: 31px; }
  .pg-explore .ex-lede { margin-top: 18px; }
  .pg-explore .ex-head-r { display: none; }
  .pg-explore .ex-sit { margin-top: 56px; }
  .pg-explore .ex-sit-grid { margin-top: 28px; gap: 32px; }
  .pg-explore .ex-sit-body { margin-top: 22px; }
  .pg-explore .ex-fig { padding: 16px 14px 14px; margin: 0 -4px; }
  .pg-explore .ex-fig::before { left: 14px; }
  .pg-explore .ex-fig .hf-box { margin-top: 14px; }
  .pg-explore .ex-lenses { margin-top: 88px; }
  .pg-explore .ex-cols { margin-top: 32px; }
  .pg-explore .ex-col { padding: 0 20px; }
  .pg-explore .ex-col::before { left: 20px; }
  .pg-explore .ex-glyph { padding-top: 22px; }
  .pg-explore .ex-wide { display: none; }
  .pg-explore .ex-narrow { display: block; padding: 0; }
  .pg-explore .ex-narrow details.fold { border: 0; }
  .pg-explore .ex-narrow details.fold > summary { align-items: flex-start; padding: 16px 0; font-size: 15px; }
  .pg-explore .ex-narrow details.fold > summary::before { margin-top: 1px; }
  .pg-explore .ex-narrow details.fold > .fold-body { padding: 0 0 18px; }
  .pg-explore .ex-more-s { display: grid; gap: 3px; }
  .pg-explore .ex-more-sub { font-weight: 400; font-size: 14.5px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
  .pg-explore .ex-more-done { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--hair); }
  .pg-explore .ex-cell { padding: 18px 0; }
  .pg-explore .ex-foot { padding: 18px 0 24px; }
  .pg-explore .ex-foot .btn-primary { width: 100%; }
  .pg-explore .ex-doc-sheet { transform: none !important; padding: 14px 14px 8px; }
  .pg-explore .ex-doc dl > div { grid-template-columns: 64px minmax(0, 1fr); }
  .pg-explore .ex-ov { margin-top: 88px; padding: 64px 0 56px; }
  .pg-explore .ex-relay { margin-top: 40px; }
  .pg-explore .ex-node-v { font-size: 23px; }
  .pg-explore .ex-habits { margin-top: 44px; }
  .pg-explore .ex-note { margin: 48px auto 28px; }
}
.pg-home .hm-qs-grid:not(.hm-wb) .hm-res { border-radius: 0; }   /* the "Tell us a bit more" row sits under it */
@media (min-width: 1101px) { html[lang="zh-CN"] .pg-home .hm-hero-grid { align-items: center; } }   /* the 2-line zh headline sits mid-figure */
