/* Home (v6.1): a quick check in a product shell, trust, test picker, product tour, Core score vs pass mark, sources, FAQ. Tokens from /ui.css only. */

/* Proportions: spacing on 8/13/21/34/55/89, hero split 1.618 : 1, headings on a 1.25 ratio (phone)
   and 1.333 (desktop) from a 16px body, text lines at most 65ch. */
.h5 {
  --s1: 8px; --s2: 13px; --s3: 21px; --s4: 34px; --s5: 55px; --s6: 89px; --s7: 144px;
  /* phone and tablet: 1.25 ratio from 16px (20 / 31 / 39) */
  --fs-h3: 1.25rem; --fs-h2: 1.953rem; --fs-h1: 2.441rem; --fs-lead: 1.0625rem;
  line-height: 1.618;
}
/* desktop: phi steps from 16px (26 / 42 / 68), lead 20 */
@media (min-width: 961px) { .h5 { --fs-h3: 1.618rem; --fs-h2: 2.618rem; --fs-h1: 4.236rem; --fs-lead: 1.25rem; } }
.h5 .u-sec { padding: var(--s5) 0; }
@media (min-width: 961px) { .h5 .u-sec { padding: var(--s6) 0; } }
.h5 .u-sec h2 { font-size: var(--fs-h2); }
.h5 .u-sec h3 { font-size: var(--fs-h3); }

/* hidden wins over component display (buttons are .u-btn = inline-flex) */
.h5 [hidden] { display: none !important; }

/* ── Hero ── */
.h5-hero {
  background:
    radial-gradient(ellipse 55% 70% at 82% 45%, rgba(249,115,22,.08), transparent 70%),
    radial-gradient(circle at 1px 1px, var(--line) 1px, transparent 0) 0 0 / 21px 21px,
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  border-bottom: 1px solid var(--line);
  padding: var(--s6) 0;
}
/* top-aligned: the quiz card grows when answered, and centring would slide the H1 down with it */
.h5-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s5); align-items: start; }
/* copy column sized to its widest line (the What's new eyebrow); the quiz card takes the rest */
@media (min-width: 1100px) { .h5-hero-grid { grid-template-columns: 35rem minmax(0, 1fr); } }
.h5-hero h1 { font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -.02em; margin-top: var(--s1); }
.h5-lead { font-size: var(--fs-lead); line-height: 1.618; color: var(--ink2); margin-top: var(--s3); }
@media (max-width: 960px) { .h5-lead { max-width: 65ch; } }
.h5-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); margin-top: var(--s4); }
/* hero: two real buttons, same height; side by side from 400px, stacked full width below */
.h5-hero-cta { display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: var(--s2); }
.h5-hero-cta .u-btn { min-height: 56px; padding: var(--s1) var(--s3); font-size: 17px; line-height: 1.2; text-align: center; }
.h5-pick span { margin-left: 6px; }
@media (min-width: 400px) { .h5-hero-cta { grid-template-columns: minmax(0, max-content) minmax(0, max-content); } }
.h5-cta-note { margin-top: var(--s2); font-family: var(--f-mono); font-size: 14px; color: var(--ink2); }

/* ── Source trust strip (bottom of #which-test): a quiet supporting row, links to #sources ── */
.tb-b { margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--line); }
.tb-k { font-family: var(--f-mono); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink2); }
.tb-b ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2) var(--s3); margin-top: var(--s2); }
.tb-b li:last-child { grid-column: 1 / -1; }
.tb-b a { display: flex; flex-direction: column; justify-content: center; min-height: 44px; color: var(--ink2); text-decoration: none; line-height: 1.3; }
.tb-b b { font-family: var(--f-head); font-weight: 700; font-size: 1.125rem; letter-spacing: .01em; transition: color .15s; }
.tb-b span { margin-top: 2px; font-size: 14px; }
.tb-b a:hover b { color: var(--ink); }
.tb-fine { margin-top: var(--s2); font-size: 14px; color: var(--ink2); }
@media (min-width: 961px) {
  /* one row of 5 equal columns, hairline dividers between them */
  .tb-b ul { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
  .tb-b li:last-child { grid-column: auto; }
  .tb-b li + li { border-left: 1px solid var(--line2); padding-left: var(--s3); }
  .tb-b li { padding-right: var(--s2); }
}
@media (max-width: 600px) {
  /* compact: label, names inline "EPA · eCFR · …", fine line; captions hidden */
  .tb-b { margin-top: var(--s4); padding-top: var(--s3); }
  .tb-k, .tb-fine { line-height: 1.5; }
  .tb-b ul { display: block; margin-top: 6px; line-height: 1.5; }
  .tb-b li { display: inline; }
  .tb-b li + li::before { content: " · "; color: var(--ink2); }
  .tb-b a { display: inline; min-height: 0; }
  .tb-b b { font-size: 1.0625rem; }
  .tb-b span { display: none; }
  .tb-fine { margin-top: 6px; }
}

/* ── Quick check card (product window) ── */
.qc { background: var(--bg); border: 1px solid var(--line2); border-radius: var(--r3); overflow: hidden;
  box-shadow: 0 1px 2px rgba(15,31,61,.06), 0 21px 55px -21px rgba(15,31,61,.34); }
.qc-bar { display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: var(--nv); color: var(--nt2); font-family: var(--f-mono); font-size: 14px; }

.qc-dots { display: inline-flex; gap: 6px; }
.qc-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--nline2); }
.qc-dots i:first-child { background: var(--or); }
.qc-body { padding: var(--s3) var(--s3) var(--s2); }
.qc h2 { font-size: var(--fs-h3); line-height: 1.25; outline: none; }
.qc-sub { margin-top: var(--s1); font-size: 15px; line-height: 1.5; color: var(--ink2); }
.qc-list { list-style: none; margin-top: var(--s3); }
.qc-q { font-size: 18px; font-weight: 700; line-height: 1.45; color: var(--ink); margin-bottom: 14px; }
.qc-opts { display: grid; gap: 10px; }
.qc-opt {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 52px; padding: 10px 14px; text-align: left;
  background: var(--bg); border: 1.5px solid var(--line2); border-radius: 10px; cursor: pointer;
  font-size: 16px; line-height: 1.35; color: var(--ink); transition: border-color .12s, background .12s;
}
.qc-opt::before {
  counter-increment: opt; content: counter(opt, upper-alpha);
  flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px;
  background: var(--bg3); color: var(--ink); font-family: var(--f-mono); font-size: 14px; font-weight: 600;
}
.qc-opts { counter-reset: opt; }
.qc-opt:hover:not(:disabled) { border-color: var(--ink2); background: var(--bg2); }
.qc-opt:disabled { cursor: default; }
.qc-opt.is-right { border-color: var(--green); background: var(--gdim); }
.qc-opt.is-right::before { background: var(--green); color: #fff; content: "\2713"; }
.qc-opt.is-wrong { border-color: var(--red); background: var(--rdim); }
.qc-opt.is-wrong::before { background: var(--red); color: #fff; content: "\2715"; }
.qc-explain { margin-top: 14px; padding: 12px 14px; border-left: 4px solid var(--green); background: var(--bg2); border-radius: 0 10px 10px 0; font-size: 16px; line-height: 1.55; color: var(--ink); }
.qc-explain p + p { margin-top: 6px; color: #24385c; }
.qc-after { margin-top: var(--s2); }
.qc-msg { font-size: 15px; line-height: 1.55; color: var(--ink2); margin-bottom: var(--s2); }
.qc-go { width: 100%; text-align: center; }
.qc-go .u-nw { white-space: nowrap; }
.qc-another { display: inline-flex; align-items: center; min-height: 48px; margin-top: 6px; padding: 0; border: 0; background: none; font: inherit; color: var(--ink); font-weight: 600; cursor: pointer; text-decoration: underline; text-decoration-color: var(--or); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ── Section heads ── */
.h5 .u-sec h2 { max-width: 760px; }

/* ── Sections launcher ── */
/* Core is a full-width navy banner; Type 1-3 and Universal sit under it in one row of four (2x2 on tablet, one column on phones) */
.h5-sec-grid { list-style: none; margin-top: var(--s4); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
@media (min-width: 1100px) {
  .h5-sec-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* four narrow cards: the two meta parts sit on two clean lines instead of wrapping after the dot */
  .h5-sec:not(.h5-sec--core) .h5-sec-meta span:not(.h5-dot) { display: block; }
  .h5-sec:not(.h5-sec--core) .h5-dot { display: none; }
}
.h5-sec {
  position: relative; display: flex; flex-direction: column; gap: var(--s1); padding: var(--s3);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r2);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.h5-sec:hover { border-color: var(--orline); box-shadow: 0 12px 30px rgba(15,31,61,.08); transform: translateY(-2px); }
.h5-sec h3 { font-family: var(--f-head); }
.h5-sec h3 a { color: var(--ink); text-decoration: none; }
.h5-sec h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.h5-sec p { color: #24385c; font-size: 16px; }
.h5-sec-foot { margin-top: auto; padding-top: var(--s2); display: flex; flex-direction: column; align-items: flex-start; gap: var(--s2); }
.h5-sec-meta { font-family: var(--f-mono); font-size: 14px; line-height: 1.5; color: var(--ink2) !important; }
.h5-sec-meta span { white-space: nowrap; } /* wraps only between the two parts, never inside one */
.h5-sec-go {
  align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--r);
  border: 1px solid var(--line2); font-weight: 700; color: var(--ink);
}
.h5-sec-go::after { content: "\2192"; margin-left: 8px; }
.h5-sec--core {
  grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s5); row-gap: var(--s1); align-items: start;
  background: var(--nv); border-color: var(--nv); padding: var(--s4);
}
.h5-sec--core > :not(.h5-sec-foot) { grid-column: 1; }
.h5-sec--core .h5-sec-foot { grid-column: 2; grid-row: 1 / span 3; align-self: center; align-items: flex-end; margin: 0; padding: 0; }
.h5-sec-foot .h5-sec-go { align-self: auto; }
.h5 .u-sec .h5-sec--core h3 { font-size: var(--fs-h2); }
.h5-sec--core h3 a, .h5-sec--core p { color: var(--ntext); }
.h5-sec--core .h5-sec-meta { color: var(--nt2) !important; }
.h5-sec--core .h5-sec-go { background: var(--or); border-color: var(--or); color: var(--nv); min-height: 48px; }
.h5-sec-tag { font-family: var(--f-mono); font-size: 14px; color: var(--nt2) !important; display: flex; align-items: baseline; gap: 10px; }
.h5-sec-tag::before { flex: none; transform: translateY(-4px); }
.h5-sec-tag::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--or); }

/* narrow tablet and phone: the Core banner stacks, meta and Start under the text */
@media (max-width: 760px) {
  .h5-sec--core { grid-template-columns: minmax(0, 1fr); }
  .h5-sec--core .h5-sec-foot { grid-column: 1; grid-row: auto; align-items: flex-start; padding-top: var(--s2); }
}

/* ── Shared block pieces: question H2 + answer-first sentence ── */
.h5-answer { margin-top: var(--s2); max-width: 65ch; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.55; color: var(--ink); }

/* coded "Example screen" panels (sample values, app look) */

 /* green only on the icon */

/* ── FAQ ── */
.h5-faq .u-faq > * { max-width: 860px; }
.h5-faq h2 { margin-bottom: 12px; }
.h5-faq summary { min-height: 56px; align-items: center; }

/* ── Footer CTA ── */
.h5-end-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.h5-end-h { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); color: #fff; line-height: 1.1; max-width: 640px; }
.h5-end .h5-cta { margin-top: 0; }

/* ── Sticky start (mobile bar, desktop pill) ── */
.h5-sticky {
  position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(15,31,61,.08);
  transform: translateY(110%); transition: transform .22s ease, visibility 0s linear .22s; pointer-events: none; visibility: hidden;
}
.h5-sticky .u-btn { width: 100%; min-height: 52px; }
.h5-sticky.is-on { transform: none; pointer-events: auto; visibility: visible; transition: transform .22s ease; }
@media (min-width: 961px) {
  .h5-sticky { left: auto; right: 24px; bottom: 24px; padding: 0; background: none; border: 0; box-shadow: none; }
  .h5-sticky:not(.is-on) { transform: translateY(calc(100% + 24px)); }
  .h5-sticky .u-btn { width: auto; box-shadow: 0 14px 34px -10px rgba(15,31,61,.45); }
}

/* ── What's new badge (hero eyebrow) ── */
.h6-new { flex-wrap: wrap; gap: 10px; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--ink); }
.h6-new::before { display: none; }
.h6-new-tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--nv); color: var(--ntext); text-transform: uppercase; letter-spacing: .06em; }

/* ── Built for 2026 (trust cards) ── */
.h6-trust-grid { list-style: none; margin-top: var(--s4); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
.h6-trust-card { display: flex; flex-direction: column; gap: var(--s1); padding: var(--s3); border: 1px solid var(--line); border-radius: var(--r2); background: var(--bg); }
.h6-trust-k { font-family: var(--f-head); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--or2); }
.h6-trust-card h3 { font-family: var(--f-head); }
.h6-trust-card p:not(.h6-trust-k) { color: #24385c; }
a.h6-inline { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--or); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.h6-updated { margin-top: auto; padding-top: var(--s2); border-top: 1px dashed var(--line2); font-size: 14px; line-height: 1.5; color: var(--ink2) !important; }

/* ── Product tour ── */
.h6-tour-grid { margin-top: var(--s4); display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.h6-tabs { list-style: none; display: grid; gap: 6px; }
.h6-tab { border: 1px solid transparent; border-radius: var(--r2); padding: 4px 14px 10px; transition: background .2s, border-color .2s; }
.h6-tab h3 { font-family: var(--f-body); font-size: 17px; }
.h6-tab button {
  display: flex; align-items: center; width: 100%; min-height: 44px; padding: 0; text-align: left; background: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; color: var(--ink);
}
.h6-tab p { margin-top: 2px; color: var(--ink2); font-size: 15px; }
.h6-tab.is-on { background: var(--bg); border-color: var(--line); box-shadow: inset 4px 0 0 var(--or); }
.h6-tab:not(.is-on):hover { background: var(--bg2); }
.h6-stage { position: sticky; top: 96px; min-height: 610px; }
.h6-panel.is-anim { animation: h6-in .32s ease both; } /* only on a tab switch, never on load */

@keyframes h6-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* tab 1 (coded): two compact score lists and the drill row */

@media (max-width: 640px) {
  /* phone: label and percent on one line, bar under them, so tab 1 stays close to the other tabs' height */
  
  
  
  
  
}

.h6-tour-cta { margin-top: var(--s4); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.h6-small-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--or); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ── Tour screenshots: real app captures; every image carries width/height, so tabs never shift ── */
.h6-shot { margin: 0; display: grid; justify-items: center; }
.h6-shot picture { display: block; width: 100%; }
.h6-shot img { display: block; width: 100%; height: auto; }
.h6-shot--phone picture { max-width: 340px; padding: 10px; border-radius: 36px; background: var(--nv); box-shadow: 0 30px 60px -24px rgba(15,31,61,.45); }
.h6-shot--phone img { border-radius: 26px; }

.h6-stage:has(.h6-shot) { min-height: 0; }

/* ── Source lines ── */
.h6-src { margin-top: var(--s3); max-width: 65ch; font-size: 15px; line-height: 1.55; color: var(--ink2); }

/* ── Where the questions come from ── */
.h6-src-list { list-style: none; counter-reset: src; margin-top: var(--s4); display: grid; gap: var(--s2); max-width: 65ch; }
.h6-src-list li { position: relative; padding-left: var(--s5); color: var(--ink); line-height: 1.55; counter-increment: src; }
.h6-src-list li::before {
  content: counter(src); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 8px;
  display: grid; place-items: center; background: var(--bg2); border: 1px solid var(--line); font-family: var(--f-mono); font-size: 14px; font-weight: 600; color: var(--ink);
}
.h6-src-list a { font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--or); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.h6-src-list a:hover { text-decoration-color: var(--ink); }
.h6-steps { list-style: none; margin-top: var(--s4); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); }
.h6-steps li { display: flex; gap: var(--s1); align-items: flex-start; padding: var(--s2); border: 1px solid var(--line); border-radius: var(--r2); background: var(--bg2); color: var(--ink); font-size: 15px; line-height: 1.45; }
.h6-steps li::before {
  content: ""; flex: none; width: 21px; height: 21px; border-radius: 50%; background: var(--gdim); box-shadow: inset 0 0 0 1px rgba(22,163,74,.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.3l2.6 2.6L14 7.5' fill='none' stroke='%2316a34a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ── Commitments strip ── */
.h6-commit { list-style: none; margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--nline2); display: flex; flex-wrap: wrap; gap: 10px 28px; }
.h6-commit li { display: flex; align-items: center; gap: 8px; color: var(--nt2); font-size: 15px; }
.h6-commit li::before { content: "\2713"; color: var(--green-d); font-weight: 700; }

@media (prefers-reduced-motion: reduce) { .h6-panel.is-anim { animation: none; } }

/* ── Breakpoints ── */
@media (max-width: 960px) {
  .h5-hero-grid, .h6-tour-grid { grid-template-columns: minmax(0, 1fr); }
  .h6-trust-grid, .h6-steps { grid-template-columns: minmax(0, 1fr); }
  /* tour on tablet/phone: titles become a scrolling row; only the open one shows its caption */
  .h6-stage { position: relative; top: auto; }
  .h6-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
  .h6-tab { flex: none; scroll-snap-align: start; padding: 0 14px; border: 1px solid var(--line); background: var(--bg); }
  .h6-tab h3 { font-size: 15px; white-space: nowrap; }
  .h6-tab p { display: none; }
  .h6-tab.is-on { box-shadow: inset 0 -3px 0 var(--or); }
  .h6-stage::before { content: attr(data-cap); display: block; min-height: 56px; margin-bottom: 10px; color: var(--ink); }
}
@media (max-width: 640px) {
  /* phone: question 1 must show in the first screen (card top <= 560 px at 375x812). */
  .h5-hero { padding: var(--s4) 0 var(--s5); } /* 34 on top keeps question 1 in the first screen at 375x812 */
  .h5-hero-grid { gap: var(--s3); }
  .h5-hero-copy .u-eyebrow { display: none; }
  .h5-hero h1 { margin-top: 0; }
  .h5-lead { line-height: 1.5; margin-top: var(--s2); }
  .h5-hero .h5-cta { margin-top: var(--s3); }
  .h5-hero-cta .u-btn { min-height: 52px; }
  .h5-cta-note { margin-top: var(--s1); }
  .h5-sec-grid { grid-template-columns: minmax(0, 1fr); }
  .h5-sec--core { padding: var(--s3); }
  /* phone: the tab row swipes sideways; no scrollbar, a fade on the right says there is more */
  .h6-tabs { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    padding-right: var(--s4); -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 34px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 34px), transparent); }
  .h6-tabs::-webkit-scrollbar { display: none; }
  .qc-body { padding: 18px 16px 14px; }

  
  
  .h6-tour-cta .u-btn { width: 100%; }
  /* every tab keeps the same height on phones, so switching never moves the page */
  
  .h6-stage::before { min-height: calc(4 * 1.618em); } /* longest caption is 3-4 lines at 375 */
  .h5-end .h5-cta { display: flex; }
  .h5-end .h5-cta .u-btn { width: 100%; }
}

/* ── Golden-ratio layout (v6.3): card padding 34 desktop / 21 phone, 61.8 / 38.2 splits from 1100px ── */
@media (min-width: 961px) {
  .h5-sec, .h6-trust-card { padding: var(--s4); }
}
@media (min-width: 1100px) {
  /* type cards approach 1 : 1.618; content sets the floor so nothing is cut */
  .h5-sec:not(.h5-sec--core) { min-height: calc((min(100vw, var(--wrap)) - 2 * var(--gut) - 3 * var(--s3)) / 4 * 1.618); }
  .h6-tour-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.618fr); gap: var(--s5); }
  .h6-src-grid { display: grid; grid-template-columns: minmax(0, 1.618fr) minmax(0, 1fr); gap: var(--s5); align-items: start; }
  .h6-src-grid .h6-steps { margin-top: var(--s4); grid-template-columns: minmax(0, 1fr); }
  .h5-faq .u-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.618fr); column-gap: var(--s5); align-items: start; }
  .h5-faq .u-faq > * { max-width: none; grid-column: 2; }
  .h5-faq .u-faq > .h6-faq-head { grid-column: 1; grid-row: 1 / span 9; position: sticky; top: 96px; }
}

/* tab titles stay H3 for structure but read as UI labels */
.h5 .u-sec .h6-tab h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
@media (max-width: 960px) { .h5 .u-sec .h6-tab h3 { font-size: 1rem; } }
.h6-faq-intro { margin-top: var(--s2); max-width: 38ch; color: var(--ink2); }

/* Study Path panel (coded): lesson heading, a three-step concept diagram, quiz chip */

@media (max-width: 359px) { .h6-stage::before { min-height: calc(5 * 1.618em); }  }

/* "Pro" tag on the timed-exam tab and its screenshot */
.h6-pro { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 6px; background: var(--nv); color: #fff; font: 700 14px/1.3 var(--f-mono); letter-spacing: .04em; vertical-align: 2px; }
.h6-shot { position: relative; }
.h6-pro--shot { position: absolute; z-index: 1; top: -10px; right: max(-6px, calc(50% - 176px)); margin: 0; padding: 4px 10px; font-size: 14px; background: var(--or); color: var(--nv); box-shadow: 0 4px 12px rgba(15,31,61,.2); }
