/* quotem.ai homepage, September 2026.
   Ported verbatim from the approved one-pager. Every rule is scoped under #qh, the
   homepage wrapper, so nothing here can change any other page, and the reset below
   stops the site-wide stylesheets (quotem.css, Tailwind's base) changing this page.
   Do not restyle here without checking against the approved design. */

/* Insulation. Inside the homepage, undo whatever the site-wide stylesheets (quotem.css
   and Tailwind's base layer) do, so only the rules in this file apply, exactly as in the
   approved design. The #qh id gives this priority over every site-wide rule, and the
   rules below still win because they come later. Images, video and the insides of SVG
   icons are left alone: their HTML attributes carry their size and shape. */
#qh :where(:not(svg *, img, video)),
#qh :where(:not(svg *, img, video))::before,
#qh :where(:not(svg *, img, video))::after { all: revert; }
#qh :where(img, video) { vertical-align: baseline; }

/* The page behind the homepage matches it, so overscroll never shows another colour. */
body:has(#qh) { background: #F4EDDE; }
@media (prefers-color-scheme: dark) { body:has(#qh) { background: #172820; } }
#qh .qh-anchor { display: block; height: 0; overflow: hidden; }
/* On quotem.ai the investor banner (40px) sits above the sticky nav, so links land below both. */
html:has(body.has-annbar #qh) { scroll-padding-top: 112px; }

/* Quotem one-pager. Brand tokens from the Quotem design system (paper, ink, Quotem green, deep green, sage, gold).
   The product walkthrough uses the app's own tokens and fonts (Cal Sans, Inter) so it reads as the real product. */
#qh {
  --paper: #F4EDDE; --ink: #1A1613; --green: #2E4636; --deep: #172820; --sage: #E4EAE3;
  --gold: #D9A231; --gold-deep: #7A5A14; --stone: #5A5248; --white: #FFFFFF;

  --bg: var(--paper); --bg-alt: var(--sage); --surface: var(--white);
  --text: var(--ink); --muted: var(--stone); --emph: var(--green); --label: var(--gold-deep);
  --rule: rgba(26, 22, 19, 0.2); --rule-strong: var(--green);
  --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-edge: var(--gold);
  --offset-color: var(--green);
  --ch-bg: var(--deep); --ch-text: var(--paper); --ch-muted: rgba(244, 237, 222, 0.75);
  --ch-emph: var(--gold); --ch-rule: rgba(244, 237, 222, 0.2); --ch-surface: #1E3329;

  --font-display: "Sora", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-q: cubic-bezier(0.25, 1, 0.5, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1280px;
  --z-nav: 20; --z-dialog: 40;
}
@media (prefers-color-scheme: dark) {
  #qh.qh:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #172820; --bg-alt: #1E3329; --surface: #22382D;
    --text: #F4EDDE; --muted: rgba(244, 237, 222, 0.78); --emph: #D9A231; --label: #D9A231;
    --rule: rgba(244, 237, 222, 0.2); --rule-strong: #D9A231;
    --btn-bg: #F4EDDE; --btn-fg: #1A1613; --btn-edge: #D9A231;
    --offset-color: #D9A231;
    --ch-bg: #0F1B15; --ch-surface: #1A2C23;
  }
}
#qh * { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
/* links land below the sticky nav */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
#qh { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
#qh img, #qh video { max-width: 100%; height: auto; display: block; }
#qh a { color: inherit; }
#qh :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
#qh .vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#qh .skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--btn-bg); color: var(--btn-fg); padding: 10px 14px; text-decoration: none; font-weight: 600; }
#qh .skip:focus { top: 12px; }
#qh .wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
#qh h1, #qh h2, #qh h3 { font-family: var(--font-display); font-weight: 700; margin: 0; text-wrap: balance; }
#qh h2 { font-size: clamp(32px, 4.1vw, 58px); line-height: 1.02; letter-spacing: -0.03em; max-width: 18ch; }
#qh h2 em, #qh h1 em { font-style: normal; color: var(--emph); }
#qh h3 { font-size: clamp(19px, 1.5vw, 23px); line-height: 1.2; letter-spacing: -0.015em; }
#qh p { margin: 0; }
#qh .lead { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.5; color: var(--muted); max-width: 56ch; text-wrap: pretty; }
#qh .mono { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; }
/* Buttons: square, with the brand's solid offset edge */
#qh .btn { --edge: 6px; position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; border: 0; border-radius: 0;
  font: 600 16px/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap; touch-action: manipulation;
  background: var(--btn-bg); color: var(--btn-fg); box-shadow: var(--edge) var(--edge) 0 0 var(--btn-edge);
  transition: transform 180ms var(--ease-q), box-shadow 180ms var(--ease-q), background-color 180ms var(--ease-q);
}
#qh .btn:hover { transform: translate(-2px, -2px); box-shadow: calc(var(--edge) + 2px) calc(var(--edge) + 2px) 0 0 var(--btn-edge); }
#qh .btn:active { transform: translate(var(--edge), var(--edge)); box-shadow: 0 0 0 0 var(--btn-edge); transition-duration: 80ms; }
#qh .btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px currentColor; }
#qh .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px currentColor; transform: none; background: color-mix(in srgb, currentColor 7%, transparent); }
#qh .btn--ghost:active { transform: translate(1px, 1px); box-shadow: inset 0 0 0 1.5px currentColor; }
#qh .btn .arr { transition: transform 200ms var(--ease-q); }
#qh .btn:hover .arr { transform: translateX(3px); }
#qh .btn--light { background: var(--paper); color: var(--ink); --btn-edge: var(--gold); }
@media (prefers-reduced-motion: reduce) {
  #qh .btn, #qh .btn .arr { transition: none; }
  #qh .btn:hover { transform: none; }
}
/* Investor strip and navigation */
#qh .nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: var(--z-nav); background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid transparent; transition: border-color 200ms, background-color 200ms;
}
#qh .nav.is-stuck { border-bottom-color: var(--rule); }
#qh .nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
#qh .nav__logo img { height: 26px; width: auto; }
#qh .nav__logo .logo-cream { display: none; }
#qh .nav__links { display: flex; gap: 26px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
#qh .nav__links a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--muted); padding: 8px 0; position: relative; }
#qh .nav__links a:hover { color: var(--text); }
#qh .nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease-q); }
#qh .nav__links a:hover::after { transform: scaleX(1); }
#qh .nav .btn { min-height: 42px; padding: 0 16px; font-size: 15px; --edge: 4px; }
@media (max-width: 860px) {
  #qh .nav__links { display: none; }
  #qh .nav .btn { margin-left: auto; }
}
@media (prefers-color-scheme: dark) {
  #qh.qh:not([data-theme="light"]) .logo-ink { display: none; }
  #qh.qh:not([data-theme="light"]) .logo-cream { display: block; }
}
/* Hero */
#qh .hero { padding-top: clamp(28px, 5vw, 64px); }
#qh .hero__head { display: grid; gap: 22px; }
#qh .hero h1 { display: grid; gap: 6px; }
#qh .hero h1 .l1 { font-size: clamp(22px, 2.9vw, 40px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 600; }
#qh .rot { position: relative; display: grid; font-size: clamp(34px, 5.15vw, 68px); line-height: 1.04; letter-spacing: -0.035em; color: var(--emph); padding-bottom: 0.06em; }
#qh .rot > * { grid-area: 1 / 1; }
#qh .rot__size { visibility: hidden; }
#qh .rot__w { display: block; }
#qh .rot__w.is-out { animation: rotOut 420ms var(--ease-q) forwards; }
#qh .rot__w.is-in { animation: rotIn 720ms var(--ease) both; }
@keyframes rotOut { to { opacity: 0; transform: translateY(-0.28em); filter: blur(6px); } }
@keyframes rotIn { from { opacity: 0; transform: translateY(0.34em); clip-path: inset(0 0 100% 0); filter: blur(4px); } to { opacity: 1; transform: none; clip-path: inset(0 0 -20% 0); filter: blur(0); } }
#qh .hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px 40px; margin-top: 8px; }
#qh .hero__row .lead { color: var(--text); opacity: 0.86; max-width: 44ch; }
#qh .hero__ctas { display: flex; gap: 18px; flex-wrap: wrap; }
/* The product film */
#qh .film { --app-bg: #FBF4E8; --app-fg: #2E241C; --app-card: #FFFFFF; --app-primary: #2E4636; --app-muted: #F2EADC; --app-muted-fg: #7B6656;
  --app-accent: #E8A33D; --app-accent-fg: #23402F; --app-border: #E6D9C4; --app-side: #2F4C3A; --app-side-fg: #C8D8CD; --app-side-acc: #3A5B46;
  --app-done-soft: #E1EFE6; --app-wait-ink: #6B5747;
  margin-top: clamp(28px, 4vw, 48px);
}
#qh .fm-frame { position: relative; margin-right: 14px; margin-bottom: 14px; }
#qh .fm-viewport { position: relative; width: 100%; aspect-ratio: 1200 / 750; overflow: hidden; background: var(--app-bg); box-shadow: 14px 14px 0 0 var(--offset-color); contain: layout paint; }
#qh .fm-stage { position: absolute; left: 0; top: 0; width: 1200px; height: 750px; transform-origin: 0 0; }
#qh .fm-cam { position: absolute; inset: 0; transform-origin: 0 0; will-change: transform; }
#qh .fm-app { position: absolute; inset: 0; font: 400 14px/1.45 "Inter", system-ui, sans-serif; color: var(--app-fg); background: var(--app-bg); overflow: hidden; }
#qh .fm-app .cal { font-family: "Cal Sans", "Sora", system-ui, sans-serif; font-weight: 400; letter-spacing: -0.01em; }
#qh .fm-app svg.i { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
/* sidebar */
#qh .fm-side { position: absolute; left: 0; top: 0; bottom: 0; width: 212px; background: var(--app-side); color: var(--app-side-fg); padding: 16px 12px; }
#qh .fm-side__logo { height: 21px; margin: 2px 8px 16px; }
#qh .fm-ws { border: 1px solid #47604F; border-radius: 10px; padding: 7px 10px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
#qh .fm-ws small { display: block; font-size: 10.5px; opacity: 0.7; line-height: 1.2; }
#qh .fm-ws b { display: block; color: #E7F0EA; font-weight: 600; font-size: 13px; line-height: 1.3; }
#qh .fm-nav { display: grid; gap: 4px; }
#qh .fm-nav div { display: flex; align-items: center; gap: 11px; height: 36px; padding: 0 11px; border-radius: 9px; font-size: 13.5px; font-weight: 500; }
#qh .fm-nav div.on { background: var(--app-accent); color: var(--app-accent-fg); }
#qh .fm-nav--low { position: absolute; left: 12px; right: 12px; bottom: 16px; border-top: 1px solid #47604F; padding-top: 12px; }
/* main views */
#qh .fm-main { position: absolute; left: 212px; right: 0; top: 0; bottom: 0; }
#qh .fm-view { position: absolute; inset: 0; padding: 30px 40px; }
#qh .fm-crumb { font-size: 12px; color: var(--app-muted-fg); }
#qh .fm-h1 { font-size: 34px; line-height: 1.1; margin-top: 2px; }
#qh .fm-sub { color: var(--app-muted-fg); font-size: 14px; margin-top: 4px; }
#qh .fm-btn { position: absolute; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 10px; background: var(--app-primary); color: #fff; font-weight: 600; font-size: 13.5px; }
#qh .fm-btn--ghost { background: #fff; color: var(--app-fg); border: 1px solid var(--app-border); }
#qh .fm-tabs { position: absolute; left: 40px; top: 128px; display: flex; gap: 8px; align-items: center; font-size: 13px; }
#qh .fm-tabs span { padding: 6px 12px; border-radius: 999px; color: var(--app-fg); }
#qh .fm-tabs span.on { background: var(--app-accent); color: var(--app-accent-fg); font-weight: 600; }
#qh .fm-tabs i { font-style: normal; color: var(--app-muted-fg); margin-left: 4px; }
#qh .fm-search { position: absolute; right: 40px; top: 124px; width: 190px; height: 34px; border: 1px solid var(--app-border); border-radius: 9px; background: #fff; color: var(--app-muted-fg); font-size: 12.5px; display: flex; align-items: center; gap: 8px; padding: 0 10px; }
#qh .fm-list { position: absolute; left: 40px; right: 40px; top: 176px; }
#qh .fm-row { position: absolute; left: 0; right: 0; height: 74px; background: #fff; border-radius: 12px; box-shadow: 0 1px 0 var(--app-border), 0 1px 3px rgba(46,36,28,0.05); display: flex; align-items: center; gap: 14px; padding: 0 18px; }
#qh .fm-av { width: 38px; height: 38px; border-radius: 50%; background: var(--app-muted); color: var(--app-wait-ink); display: grid; place-items: center; font-size: 12.5px; font-weight: 600; flex: none; }
#qh .fm-row__who { width: 250px; flex: none; line-height: 1.3; }
#qh .fm-row__who b { font-weight: 600; font-size: 14.5px; }
#qh .fm-row__who small { display: block; font-size: 12.5px; color: var(--app-muted-fg); }
#qh .fm-row__who em { font-style: normal; display: block; font-size: 12.5px; color: var(--app-fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#qh .fm-row__prog { flex: 1; font-size: 12.5px; color: var(--app-fg); }
#qh .fm-bar { height: 3px; background: var(--app-muted); border-radius: 2px; margin-top: 6px; overflow: hidden; }
#qh .fm-bar i { display: block; height: 100%; background: var(--app-accent); transform-origin: left; }
#qh .fm-chip { flex: none; font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--app-muted); color: var(--app-wait-ink); white-space: nowrap; }
#qh .fm-chip--done { background: var(--app-done-soft); color: var(--app-primary); font-weight: 600; }
#qh .fm-when { flex: none; width: 76px; text-align: right; font-size: 12.5px; color: var(--app-muted-fg); }
/* new ask drawer */
#qh .fm-dim { position: absolute; inset: 0; background: rgba(35, 29, 22, 0.32); opacity: 0; }
#qh .fm-drawer { position: absolute; top: 0; right: 0; bottom: 0; width: 440px; background: #fff; box-shadow: -18px 0 40px rgba(46, 36, 28, 0.14); padding: 36px 32px; transform: translateX(105%); }
#qh .fm-drawer h4 { margin: 0 0 22px; font-size: 26px; }
#qh .fm-lbl { font-size: 13px; font-weight: 600; margin-bottom: 7px; }
#qh .fm-input { height: 42px; border: 1.5px solid var(--app-border); border-radius: 10px; display: flex; align-items: center; padding: 0 12px; font-size: 14px; gap: 2px; }
#qh .fm-input.focus { border-color: var(--app-primary); box-shadow: 0 0 0 3px rgba(46, 70, 54, 0.12); }
#qh .fm-textarea { height: 118px; align-items: flex-start; padding-top: 11px; line-height: 1.5; }
#qh .fm-caret { display: inline-block; width: 1.5px; height: 17px; background: var(--app-fg); vertical-align: -3px; margin-left: 1px; }
#qh .fm-sugg { margin-top: 6px; border: 1px solid var(--app-border); border-radius: 10px; padding: 8px 10px; display: flex; align-items: center; gap: 10px; background: #fff; box-shadow: 0 8px 22px rgba(46, 36, 28, 0.1); }
#qh .fm-sugg .fm-av { width: 30px; height: 30px; font-size: 11px; }
#qh .fm-sugg.hot { background: var(--app-muted); }
#qh .fm-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--app-muted); border-radius: 999px; padding: 3px 10px 3px 4px; font-size: 13.5px; font-weight: 500; }
#qh .fm-pill .fm-av { width: 26px; height: 26px; font-size: 10.5px; background: #fff; }
#qh .fm-help { font-size: 12.5px; color: var(--app-muted-fg); margin-top: 8px; }
/* phone */
#qh .fm-phone { position: absolute; left: 812px; top: 52px; width: 300px; height: 646px; border-radius: 30px; background: #0f0f0f; overflow: hidden; box-shadow: 0 30px 60px rgba(20, 16, 12, 0.35); transform: translateY(760px); color: #fff; }
#qh .fm-phone video, #qh .fm-phone .fm-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#qh .fm-phone__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.2) 38%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.65) 100%); }
#qh .fm-phone__top { position: absolute; left: 18px; right: 18px; top: 20px; }
#qh .fm-firm { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; opacity: 0.9; }
#qh .fm-firm span { width: 18px; height: 18px; border-radius: 5px; background: #fff; color: #111; display: grid; place-items: center; font-size: 10px; font-weight: 700; }
#qh .fm-q { margin-top: 16px; font-size: 11px; opacity: 0.75; }
#qh .fm-qt { font: 400 19px/1.25 "Cal Sans", "Sora", sans-serif; margin-top: 4px; }
#qh .fm-phone__btn { position: absolute; left: 50%; bottom: 58px; width: 84px; height: 84px; margin-left: -42px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; font-weight: 600; font-size: 14px; box-shadow: 0 6px 20px rgba(0,0,0,0.35); }
#qh .fm-phone__btn.rec { background: #fff; }
#qh .fm-phone__btn.rec b { color: #C8412B; }
#qh .fm-wave { position: absolute; left: 22px; right: 22px; bottom: 22px; height: 22px; display: flex; align-items: center; gap: 3px; opacity: 0; }
#qh .fm-wave i { flex: 1; background: rgba(255,255,255,0.9); border-radius: 2px; height: 20%; }
#qh .fm-phone__done { position: absolute; inset: 0; background: #111; display: grid; place-content: center; text-align: center; padding: 30px; opacity: 0; }
#qh .fm-phone__done b { font: 400 22px/1.2 "Cal Sans", "Sora", sans-serif; display: block; }
#qh .fm-phone__done small { display: block; font-size: 12px; opacity: 0.7; margin-top: 8px; }
#qh .fm-phone__foot { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-size: 9.5px; opacity: 0.55; }
/* ask detail */
#qh .fm-person { display: flex; align-items: center; gap: 14px; }
#qh .fm-person .fm-av { width: 46px; height: 46px; font-size: 14px; }
#qh .fm-person .fm-h1 { font-size: 30px; }
#qh .fm-tabs--d { top: 118px; }
#qh .fm-grid { position: absolute; left: 40px; right: 40px; top: 164px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
#qh .fm-card { height: 262px; background: #fff; border-radius: 14px; box-shadow: 0 1px 0 var(--app-border), 0 2px 6px rgba(46,36,28,0.05); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; position: relative; }
#qh .fm-card__k { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--app-muted-fg); }
#qh .fm-card__t { font: 400 17px/1.25 "Cal Sans", "Sora", sans-serif; color: var(--app-fg); }
#qh .fm-card__b { font-size: 12.5px; color: #4E4138; line-height: 1.5; }
#qh .fm-card__img { flex: 1; border-radius: 9px; overflow: hidden; background: var(--app-muted); position: relative; }
#qh .fm-card__img img { width: 100%; height: 100%; object-fit: cover; }
#qh .fm-card__play { position: absolute; left: 50%; top: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; background: rgba(255,255,255,0.92); display: grid; place-items: center; color: #111; }
#qh .fm-card__dur { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,0.7); color: #fff; font-size: 11px; border-radius: 5px; padding: 1px 6px; }
#qh .fm-card.hot { box-shadow: 0 0 0 2px var(--app-primary), 0 14px 30px rgba(46,36,28,0.14); }
/* piece view */
#qh .fm-piece { padding-top: 26px; }
#qh .fm-back { font-size: 12.5px; color: var(--app-muted-fg); display: flex; gap: 6px; align-items: center; }
#qh .fm-status { position: absolute; left: 40px; top: 98px; }
#qh .fm-post { position: absolute; left: 40px; top: 142px; width: 500px; }
#qh .fm-post p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.6; color: #3B3029; }
#qh .fm-post .qt { border-radius: 4px; transition: none; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
#qh .fm-post .qt.hl { background: rgba(232, 163, 61, 0.28); box-shadow: 0 0 0 2px rgba(232, 163, 61, 0.28); }
#qh .fm-panel { position: absolute; left: 580px; top: 142px; width: 368px; border: 1px solid var(--app-border); border-radius: 14px; background: #fff; padding: 18px; }
#qh .fm-panel__h { font: 700 11px/1 "Space Mono", monospace; letter-spacing: 0.1em; text-transform: uppercase; color: var(--app-muted-fg); }
#qh .fm-panel__hint { margin-top: 14px; font-size: 13px; color: var(--app-muted-fg); }
#qh .fm-src { margin-top: 12px; }
#qh .fm-src__at { font: 400 11.5px/1 "Space Mono", monospace; color: var(--app-primary); letter-spacing: 0.04em; }
#qh .fm-src__t { margin-top: 10px; font-size: 13.5px; line-height: 1.55; color: #4E4138; border-left: 2px solid var(--app-accent); padding-left: 12px; }
#qh .fm-src__t mark { background: rgba(232,163,61,0.3); color: inherit; border-radius: 3px; padding: 0 1px; }
#qh .fm-src__ok { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--app-primary); background: var(--app-done-soft); border-radius: 999px; padding: 4px 10px; }
#qh .fm-stamp { position: absolute; left: 580px; top: 470px; width: 368px; border-radius: 14px; background: var(--app-done-soft); padding: 16px 18px; opacity: 0; }
#qh .fm-stamp b { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--app-primary); }
#qh .fm-stamp p { margin: 8px 0 0; font-size: 12.5px; color: #3B4A3F; line-height: 1.5; }
#qh .fm-modal { position: absolute; left: 370px; top: 190px; width: 460px; background: #fff; border-radius: 16px; box-shadow: 0 30px 60px rgba(35,29,22,0.22); padding: 24px; opacity: 0; transform: translateY(12px) scale(0.98); }
#qh .fm-modal h4 { margin: 0 0 4px; font-size: 22px; }
#qh .fm-check { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--app-border); font-size: 14px; }
#qh .fm-box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #B8A590; display: grid; place-items: center; flex: none; background: #fff; }
#qh .fm-box.on { background: var(--app-primary); border-color: var(--app-primary); color: #fff; }
#qh .fm-box svg.i { width: 13px; height: 13px; stroke-width: 3; }
#qh .fm-toast { position: absolute; left: 50%; bottom: 26px; transform: translate(-50%, 20px); background: #2E241C; color: #FBF4E8; border-radius: 12px; padding: 11px 16px; display: flex; gap: 10px; align-items: center; font-size: 13.5px; opacity: 0; white-space: nowrap; }
#qh .fm-toast svg.i { color: #86C9A3; }
#qh .fm-end { position: absolute; inset: 0; background: var(--deep); color: var(--paper); display: grid; place-content: center; text-align: center; opacity: 0; }
#qh .fm-end b { font: 700 46px/1.05 var(--font-display); letter-spacing: -0.03em; display: block; }
#qh .fm-end b em { font-style: normal; color: var(--gold); }
#qh .fm-end small { font: 400 13px/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.8; display: block; margin-top: 18px; }
/* burned-in captions, used only when the walkthrough is exported as video */
#qh .fm-cc { position: absolute; left: 30px; bottom: 30px; max-width: 700px; display: flex; gap: 18px; align-items: flex-start; background: #172820; color: #F4EDDE; padding: 18px 24px 20px; box-shadow: 10px 10px 0 0 #D9A231; opacity: 0; }
#qh .fm-cc__n { font: 400 18px/1.3 "Space Mono", monospace; color: #D9A231; padding-top: 3px; }
#qh .fm-cc b { display: block; font: 700 26px/1.15 "Sora", sans-serif; letter-spacing: -0.02em; }
#qh .fm-cc span span { display: block; margin-top: 6px; font: 400 19px/1.4 "Manrope", sans-serif; color: rgba(244, 237, 222, 0.85); }
/* cursor */
#qh .fm-cursor { position: absolute; left: 0; top: 0; width: 26px; height: 26px; pointer-events: none; will-change: transform; }
#qh .fm-cursor svg { width: 26px; height: 26px; fill: #1A1613; stroke: #fff; stroke-width: 1.6; filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3)); }
#qh .fm-touch { position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.55); border: 2px solid rgba(255,255,255,0.9); box-shadow: 0 4px 14px rgba(0,0,0,0.25); opacity: 0; pointer-events: none; }
#qh .fm-ripple { position: absolute; left: -30px; top: -30px; width: 60px; height: 60px; border-radius: 50%; border: 2.5px solid var(--gold); opacity: 0; pointer-events: none; }
/* film controls */
#qh .fm-bar-ui { display: grid; grid-template-columns: auto 1fr; gap: 16px 22px; align-items: start; margin-top: 30px; }
#qh .fm-play { width: 48px; height: 48px; border: 1.5px solid var(--text); background: transparent; color: var(--text); display: grid; place-items: center; cursor: pointer; border-radius: 0; }
#qh .fm-play svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
#qh .fm-play:hover { background: var(--text); color: var(--bg); }
#qh .fm-chapters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
#qh .fm-ch { all: unset; box-sizing: border-box; display: grid; gap: 8px; width: 100%; cursor: pointer; padding: 2px 0 6px; }
#qh .fm-ch__track { height: 3px; background: var(--rule); position: relative; overflow: hidden; }
#qh .fm-ch__track i { position: absolute; inset: 0; background: var(--emph); transform-origin: left; transform: scaleX(0); }
#qh .fm-ch__l { display: flex; gap: 8px; align-items: baseline; font-weight: 600; font-size: 15px; color: var(--muted); }
#qh .fm-ch__l span { font-family: var(--font-mono); font-size: 12px; font-weight: 400; color: var(--label); }
#qh .fm-ch.on .fm-ch__l { color: var(--text); }
#qh .fm-ch:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
#qh .fm-cap { grid-column: 2; min-height: 3.2em; font-size: 18px; line-height: 1.45; max-width: 60ch; color: var(--text); }
#qh .fm-note { grid-column: 2; font-size: 13.5px; color: var(--muted); }
@media (max-width: 720px) {
  #qh .fm-bar-ui { grid-template-columns: 1fr; }
  #qh .fm-play { justify-self: start; }
  #qh .fm-cap, #qh .fm-note { grid-column: 1; }
  #qh .fm-ch__l { font-size: 13px; flex-direction: column; gap: 2px; }
  #qh .fm-chapters { gap: 8px; }
}
/* Sections */
#qh section { position: relative; }
#qh .sec { padding-block: clamp(88px, 11vw, 152px); }
#qh .sec__head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 64px); }
#qh .chapter { background: var(--ch-bg); color: var(--ch-text); --text: var(--ch-text); --muted: var(--ch-muted); --emph: var(--ch-emph); --rule: var(--ch-rule); --label: var(--gold); --rule-strong: var(--gold); }
#qh .quiet { background: var(--bg-alt); }
/* Problem board */
#qh .board__switch { display: inline-flex; border: 1.5px solid var(--ch-text); margin-bottom: 28px; }
#qh .board__switch button { all: unset; cursor: pointer; padding: 11px 20px; font-weight: 600; font-size: 15px; color: var(--ch-text); transition: background-color 200ms, color 200ms; }
#qh .board__switch button[aria-checked="true"] { background: var(--ch-text); color: var(--ch-bg); }
#qh .board__switch button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
#qh .lanes { display: grid; grid-template-columns: 1fr 1.7fr 1.7fr; gap: 0; border-top: 1px solid var(--rule); }
#qh .lane { padding: 26px 26px 30px; border-left: 1px solid var(--rule); min-height: 440px; }
#qh .lane:first-child { border-left: 0; padding-left: 0; }
#qh .lane h3 { font-size: 19px; }
#qh .lane__note { margin-top: 8px; font-size: 15px; color: var(--muted); min-height: 2.9em; }
#qh .lane__chips { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-content: start; }
#qh .lane[data-lane="expert"] .lane__chips { grid-template-columns: 1fr; }
#qh .chip { background: var(--ch-surface); border: 1px solid rgba(244,237,222,0.14); padding: 12px 14px; min-height: 84px; }
#qh .chip b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
#qh .chip span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.4; color: var(--ch-muted); }
#qh .chip--new { background: transparent; border: 1.5px solid var(--gold); }
#qh .chip--new b { color: var(--gold); }
#qh .lane__empty { grid-column: 1 / -1; border: 1.5px dashed rgba(244,237,222,0.28); min-height: 84px; display: grid; place-items: center; font-size: 14px; color: var(--ch-muted); }
#qh .board__after { margin-top: 30px; font-size: 19px; line-height: 1.5; max-width: 60ch; }
#qh .board__after b { color: var(--gold); font-weight: 600; }
@media (max-width: 900px) {
  #qh .lanes { grid-template-columns: 1fr; }
  #qh .lane { border-left: 0; padding-left: 0; padding-right: 0; border-top: 1px solid var(--rule); min-height: 0; }
  #qh .lane:first-child { border-top: 0; }
}
/* Outputs: each piece in the frame it's made for, all the same size */
#qh .outs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 3vw, 40px); }
#qh .out { margin: 0; display: grid; gap: 16px; min-width: 0; }
#qh .out__stage { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-alt); border: 1px solid var(--rule); }
#qh .out figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; }
#qh .out figcaption b { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
#qh .out figcaption > span { font-size: 14.5px; color: var(--muted); }
#qh .kind { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--label); text-transform: uppercase; }
#qh .approved { display: inline-flex; align-items: center; gap: 6px; color: var(--emph); font-weight: 600; font-size: 14px; }
#qh .approved svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
#qh .also { margin-top: 26px; font-size: 16px; color: var(--muted); max-width: 70ch; }
#qh .mock { position: absolute; left: 50%; top: 50%; width: var(--w); height: var(--h); transform: translate(-50%, -50%) scale(var(--k, 0.8)); transform-origin: center;
  color: #1F1F1F; background: #fff; font: 400 14px/1.45 "Inter", system-ui, sans-serif; border-radius: 10px; overflow: hidden;
  box-shadow: 0 20px 44px rgba(23, 40, 32, 0.16), 0 2px 6px rgba(23, 40, 32, 0.08); transition: box-shadow 300ms var(--ease-q);
}
#qh .out:hover .mock { box-shadow: 0 26px 56px rgba(23, 40, 32, 0.22), 0 2px 6px rgba(23, 40, 32, 0.08); }
#qh .mock svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
#qh .mock .av { width: 40px; height: 40px; border-radius: 50%; background: #E9E4DA; color: #4A4036; display: grid; place-items: center; font-weight: 600; font-size: 13px; flex: none; }
#qh .fade { position: relative; overflow: hidden; }
#qh .fade::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
/* short video */
#qh .mock--reel { --w: 300px; --h: 533px; border-radius: 18px; background: #0D0D0D; color: #fff; }
#qh .mock--reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#qh .reel__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0) 20%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.62) 100%); }
#qh .reel__top { position: absolute; left: 14px; right: 14px; top: 13px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 15px; }
#qh .reel__side { position: absolute; right: 12px; bottom: 92px; display: grid; gap: 20px; justify-items: center; }
#qh .mock--reel .reel__side svg.i { width: 26px; height: 26px; stroke-width: 2; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5)); }
#qh .reel__meta { position: absolute; left: 14px; right: 64px; bottom: 18px; display: grid; gap: 8px; }
#qh .reel__who { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14px; }
#qh .reel__who .av { width: 30px; height: 30px; font-size: 11px; background: #fff; color: #111; }
#qh .reel__meta small { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; opacity: 0.9; }
#qh .mock--reel .reel__meta small svg.i { width: 14px; height: 14px; }
#qh .mock--reel .vbtn { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); width: 66px; height: 66px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.9); color: #111; display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity 200ms; }
#qh .mock--reel .vbtn svg { width: 22px; height: 22px; fill: currentColor; }
#qh .mock--reel:hover .vbtn, #qh .mock--reel .vbtn:focus-visible, #qh .mock--reel .vbtn[aria-pressed="false"] { opacity: 1; }
#qh .mock--reel .vbtn:focus-visible { outline: 3px solid #D9A231; outline-offset: 3px; }
/* feed post */
#qh .mock--li { --w: 460px; --h: 520px; }
#qh .li__head { display: flex; gap: 10px; align-items: center; padding: 14px 16px 10px; }
#qh .li__logo { width: 46px; height: 46px; border-radius: 6px; background: #1A1613; color: #F4EDDE; display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
#qh .li__head b { display: block; font-weight: 600; font-size: 14.5px; }
#qh .li__head small { display: flex; align-items: center; gap: 5px; font-size: 12px; color: #666; }
#qh .mock .li__head small svg.i { width: 12px; height: 12px; }
#qh .mock .li__head > svg.i { margin-left: auto; color: #666; }
#qh .li__body { padding: 2px 16px 0; font-size: 14.5px; line-height: 1.5; height: 372px; }
#qh .li__body p { margin: 0 0 11px; }
#qh .li__more { padding: 2px 16px 0; font-size: 14px; color: #666; text-align: right; }
#qh .li__acts { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; border-top: 1px solid #E8E8E8; padding: 11px 8px; color: #555; font-weight: 600; font-size: 13.5px; }
#qh .li__acts span { display: inline-flex; gap: 6px; align-items: center; }
#qh .mock .li__acts svg.i { width: 18px; height: 18px; }
/* web page */
#qh .mock--web { --w: 540px; --h: 450px; }
#qh .web__bar { height: 38px; background: #EFEDE8; display: flex; align-items: center; gap: 12px; padding: 0 12px; border-bottom: 1px solid #E2DED6; }
#qh .web__dots { display: flex; gap: 6px; }
#qh .web__dots i { width: 10px; height: 10px; border-radius: 50%; background: #CFCAC0; display: block; }
#qh .web__url { flex: 1; height: 24px; border-radius: 6px; background: #fff; display: flex; align-items: center; gap: 6px; padding: 0 10px; font-size: 12px; color: #555; }
#qh .mock .web__url svg.i { width: 12px; height: 12px; }
#qh .web__nav { display: flex; align-items: center; gap: 18px; padding: 12px 24px; border-bottom: 1px solid #F0EEEA; font-size: 12.5px; color: #555; }
#qh .web__nav b { color: #1F1F1F; font-weight: 700; margin-right: auto; font-size: 14px; letter-spacing: -0.01em; }
#qh .web__art { padding: 18px 28px 0; height: 362px; }
#qh .web__art small { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #8A7361; font-weight: 600; }
#qh .web__art h4 { margin: 6px 0 10px; font: 700 25px/1.15 Georgia, "Times New Roman", serif; letter-spacing: -0.01em; color: #1F1F1F; }
#qh .web__by { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #666; margin-bottom: 12px; }
#qh .mock .web__by .av { width: 24px; height: 24px; font-size: 9.5px; }
#qh .web__art p { margin: 0 0 10px; font: 400 14px/1.6 Georgia, "Times New Roman", serif; color: #333; }
#qh .web__art h5 { margin: 14px 0 6px; font: 700 16px/1.3 Georgia, "Times New Roman", serif; color: #1F1F1F; }
/* image post */
#qh .mock--ig { --w: 380px; --h: 616px; }
#qh .ig__head { height: 54px; display: flex; align-items: center; gap: 10px; padding: 0 12px; }
#qh .mock .ig__head .av { width: 34px; height: 34px; font-size: 11.5px; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #D9A231; }
#qh .ig__head b { font-weight: 600; font-size: 13.5px; }
#qh .mock .ig__head > svg.i { margin-left: auto; }
#qh .ig__img { width: 380px; height: 475px; object-fit: cover; display: block; }
#qh .ig__acts { display: flex; gap: 15px; padding: 11px 12px 7px; }
#qh .mock .ig__acts svg.i { width: 24px; height: 24px; }
#qh .ig__acts .sp { margin-left: auto; }
#qh .ig__cap { padding: 0 12px; font-size: 13px; line-height: 1.4; }
#qh .ig__cap b { font-weight: 600; margin-right: 5px; }
/* document carousel */
#qh .mock--doc { --w: 420px; --h: 596px; }
#qh .doc__head { display: flex; gap: 10px; align-items: center; padding: 14px 16px 10px; }
#qh .doc__head b { display: block; font-weight: 600; font-size: 14.5px; }
#qh .doc__head small { display: block; font-size: 12px; color: #666; }
#qh .doc__view { position: relative; width: 420px; height: 525px; background: #151515; }
#qh .doc__view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 320ms var(--ease-q); }
#qh .doc__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; background: rgba(20, 20, 20, 0.8); color: #fff; font-size: 13px; }
#qh .doc__bar button { all: unset; cursor: pointer; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.16); }
#qh .doc__bar button:hover { background: rgba(255, 255, 255, 0.28); }
#qh .doc__bar button:focus-visible { outline: 2px solid #D9A231; outline-offset: 2px; }
#qh .mock .doc__bar svg.i { width: 18px; height: 18px; }
/* email */
#qh .mock--mail { --w: 520px; --h: 450px; }
#qh .mail__bar { height: 44px; display: flex; align-items: center; gap: 18px; padding: 0 18px; border-bottom: 1px solid #EEE; color: #6A6A6A; }
#qh .mock .mail__bar svg.i { width: 18px; height: 18px; }
#qh .mail__bar .sp { margin-left: auto; }
#qh .mail__subj { padding: 16px 20px 4px; font-weight: 600; font-size: 20px; line-height: 1.25; }
#qh .mail__from { display: flex; align-items: center; gap: 10px; padding: 10px 20px 8px; }
#qh .mail__from b { font-weight: 600; font-size: 14px; }
#qh .mail__from small { display: block; font-size: 12px; color: #777; }
#qh .mail__body { padding: 4px 22px 0 70px; font-size: 14px; line-height: 1.55; color: #2A2A2A; height: 300px; }
#qh .mail__body p { margin: 0 0 10px; }
/* fluid mode on small screens: frames lay out naturally instead of scaling */
#qh .out__stage.fluid { aspect-ratio: auto; padding: 22px 16px; display: grid; place-items: center; }
#qh .out__stage.fluid .mock { position: relative; left: auto; top: auto; transform: none; width: min(100%, var(--w)); height: auto; }
#qh .out__stage.fluid .mock--reel { aspect-ratio: 9 / 16; }
#qh .out__stage.fluid .ig__img { width: 100%; height: auto; aspect-ratio: 4 / 5; }
#qh .out__stage.fluid .doc__view { width: 100%; height: auto; aspect-ratio: 4 / 5; }
#qh .out__stage.fluid .li__body { height: 300px; }
#qh .out__stage.fluid .mock--li { padding-bottom: 50px; }
#qh .out__stage.fluid .web__art { height: 330px; }
#qh .out__stage.fluid .mail__body { height: 260px; padding-left: 22px; }
@media (max-width: 860px) {
  #qh .outs { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  #qh .doc__view img, #qh .mock { transition: none; }
}
/* Proof */
#qh .proof__top { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 88px); align-items: end; margin-bottom: clamp(44px, 5.5vw, 72px); }
#qh .proof__top .sec__head { margin-bottom: 0; }
#qh .record { background: var(--surface); border: 1px solid var(--rule); padding: 20px 22px; font-family: var(--font-mono); font-size: 13px; line-height: 1.65; color: var(--text); }
#qh .record .mono { display: block; color: var(--label); margin-bottom: 10px; font-size: 11.5px; }
#qh .record p + p { margin-top: 8px; }
#qh .record .dim { color: var(--muted); }
#qh .exhibits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3.2vw, 48px); align-items: start; }
#qh .ex { margin: 0; display: grid; gap: 18px; }
#qh .ex__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); border: 1px solid var(--rule); }
#qh .ex__media img, #qh .ex__media video { width: 100%; height: 100%; object-fit: cover; }
#qh .ex--lift .ex__media { box-shadow: 14px 14px 0 0 var(--gold); border-color: transparent; }
#qh .ex figcaption { display: grid; gap: 5px; }
#qh .ex figcaption b { font-family: var(--font-display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
#qh .ex figcaption .kind { margin-bottom: 2px; }
#qh .ex figcaption span:last-child { color: var(--muted); font-size: 15.5px; line-height: 1.5; }
#qh .ex__note { margin-top: 26px; font-size: 13.5px; color: var(--muted); }
#qh .principles { margin-top: clamp(52px, 6vw, 84px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--rule-strong); }
#qh .principles div { padding: 22px 32px 0 0; display: grid; gap: 8px; align-content: start; }
#qh .principles div + div { padding-left: 32px; border-left: 1px solid var(--rule); }
#qh .principles b { font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
#qh .principles p { font-size: 16px; color: var(--muted); max-width: 36ch; }
@media (max-width: 960px) {
  #qh .proof__top { grid-template-columns: 1fr; }
  #qh .exhibits { grid-template-columns: 1fr; max-width: 480px; }
  #qh .principles { grid-template-columns: 1fr; }
  #qh .principles div, #qh .principles div + div { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--rule); }
}
/* Why now ledger */
#qh .ledger { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--rule-strong); }
#qh .ledger > div { padding: 28px 32px 8px; border-left: 1px solid var(--rule); display: grid; gap: 12px; align-content: start; }
#qh .ledger > div:first-child { border-left: 0; padding-left: 0; }
#qh .ledger h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.02em; }
#qh .ledger p { color: var(--muted); font-size: 16px; }
#qh .ledger .ev { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--rule); }
#qh .ledger .ev b { display: block; font-family: var(--font-mono); font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -0.02em; color: var(--text); line-height: 1.1; }
#qh .ledger .ev span { display: block; margin-top: 8px; font-size: 14.5px; color: var(--text); }
#qh .ledger .ev small { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
#qh .ledger .ev small a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
#qh .ledger .ev small a:hover { color: var(--text); }
@media (max-width: 860px) {
  #qh .ledger { grid-template-columns: 1fr; }
  #qh .ledger > div { border-left: 0; padding-left: 0; padding-right: 0; border-top: 1px solid var(--rule); }
  #qh .ledger > div:first-child { border-top: 0; }
}
/* Status */
#qh .status { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 80px); }
#qh .status__col h3 { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-weight: 400; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; padding-bottom: 14px; border-bottom: 2px solid var(--rule-strong); }
#qh .status__col h3::before { content: ""; width: 13px; height: 13px; background: var(--text); flex: none; }
#qh .status__col--next h3::before { background: transparent; border: 2px solid var(--text); }
#qh .status ul { list-style: none; margin: 0; padding: 0; }
#qh .status li { padding: 18px 0; border-bottom: 1px solid var(--rule); }
#qh .status li b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
#qh .status li span { display: block; margin-top: 4px; color: var(--muted); font-size: 15.5px; }
#qh .status__col--next li { font-size: 17px; font-weight: 500; }
@media (max-width: 860px) {
  #qh .status { grid-template-columns: 1fr; }
}
/* Partner and founder */
#qh .partner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
#qh .terms { list-style: none; padding: 0; margin: 34px 0 40px; border-top: 1px solid var(--rule); }
#qh .terms li { display: flex; gap: 14px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--rule); font-size: 17px; }
#qh .terms li::before { content: ""; width: 9px; height: 9px; background: var(--gold); flex: none; transform: translateY(-1px); }
#qh .founder figure { margin: 0; }
#qh .founder img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; box-shadow: 14px 14px 0 0 var(--gold); }
#qh .founder figcaption { margin-top: 24px; font-size: 13.5px; color: var(--ch-muted); max-width: 52ch; }
#qh .founder blockquote { margin: 34px 0 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 1.8vw, 25px); line-height: 1.3; letter-spacing: -0.015em; max-width: 26ch; }
#qh .founder cite { display: block; margin-top: 16px; font-style: normal; font-size: 15px; color: var(--ch-muted); }
#qh .creds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 26px; border-top: 1px solid var(--rule); max-width: 460px; }
#qh .creds div { padding: 14px 0; border-bottom: 1px solid var(--rule); }
#qh .creds div:nth-child(odd) { padding-right: 16px; }
#qh .creds b { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 24px; color: var(--gold); }
#qh .creds span { font-size: 13.5px; color: var(--ch-muted); }
@media (max-width: 900px) {
  #qh .partner { grid-template-columns: 1fr; }
}
/* Footer */
/* Apply dialog */

/* Walkthrough caption spacing: note sits just under the step caption, with room before the next section. */
#qh .fm-cap { min-height: 0; }
#qh .fm-bar-ui { padding-bottom: 56px; }
@media (max-width: 720px) { #qh .fm-bar-ui { padding-bottom: 40px; } }

/* Book a demo buttons (booking modal restored) */
#qh .nav__ctas { display: flex; align-items: center; gap: 10px; margin-left: auto; }
#qh .nav__ctas .btn { margin-left: 0; }
#qh .book-link { display: inline-block; margin-top: 14px; padding: 0; border: 0; background: none; cursor: pointer;
  font: 600 15px/1.4 Manrope, sans-serif; color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
#qh .book-link:hover { color: var(--brand); }
#qh .partner__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
#qh .btn--ghost-light { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px currentColor; }
#qh .btn--ghost-light:hover { box-shadow: inset 0 0 0 1.5px currentColor; transform: none; background: color-mix(in srgb, currentColor 10%, transparent); }
#qh .btn--ghost-light:active { transform: translate(1px, 1px); box-shadow: inset 0 0 0 1.5px currentColor; }
@media (max-width: 720px) {
  #qh .nav__ctas .btn--ghost { display: none; }
}
