/* Quizbot public pages — Marking-desk look (2026-10-22).
   Used by layout/landing (header + footer on every public page), the homepage, the SEO tool pages and the /tools hub.
   Every rule starts with a qbh- class, so the older Tailwind pages (about, terms, privacy, blog) keep their own look.
   Tokens match the inner pages (kit/qb-studio-page.css). */
.qbh, .qbh-header, .qbh-footer {
    --qbh-paper: #ECE4D3; --qbh-ink: #141E1A; --qbh-red: #C93D29; --qbh-accent: #E2452F; --qbh-hl: #F4E05A;
    --qbh-good: #277A4D; --qbh-soft: #F7F2E6; --qbh-cream: #FBF1D6; --qbh-muted: #3A4742; --qbh-muted2: #4F5B56;
    --qbh-line: rgba(20, 30, 26, .13); --qbh-on-ink: #F6F3EC; --qbh-on-ink2: #C9CFCB;
    --qbh-disp: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
    --qbh-body: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
    --qbh-mono: "IBM Plex Mono", ui-monospace, monospace;
    font-family: var(--qbh-body); color: var(--qbh-ink); line-height: 1.5;
}
.qbh { background: var(--qbh-paper); }
.qbh *, .qbh-header *, .qbh-footer * { box-sizing: border-box; }
.qbh a, .qbh-header a, .qbh-footer a { color: inherit; }
.qbh-wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .qbh-wrap { padding: 0 16px; } }

/* type */
.qbh-disp { font-family: var(--qbh-disp); font-weight: 800; letter-spacing: -.03em; line-height: 1.03; margin: 0; }
.qbh-eyebrow { font-family: var(--qbh-mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.qbh-mark { background: var(--qbh-hl); color: var(--qbh-ink); padding: 0 .1em; border-radius: .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.qbh-mark--ink { background: var(--qbh-ink); color: var(--qbh-hl); }
.qbh-h2 { font-family: var(--qbh-disp); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin: 0; font-size: clamp(30px, 3.4vw, 44px); text-align: center; }
.qbh-sub { color: var(--qbh-muted); }
.qbh-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* buttons */
.qbh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: 14px;
    border: 1.5px solid var(--qbh-ink); font: inherit; font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer;
    box-shadow: 0 4px 0 var(--qbh-ink); background: #FFFFFF; color: var(--qbh-ink); transition: transform .12s ease, box-shadow .12s ease; text-align: center; }
.qbh-btn:hover { transform: translateY(-1px); box-shadow: 0 5px 0 var(--qbh-ink); color: var(--qbh-ink); }
.qbh-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--qbh-ink); }
.qbh-btn:focus-visible, .qbh-tab:focus-visible, .qbh-door:focus-visible, .qbh-lang-btn:focus-visible, .qbh-burger:focus-visible, .qbh-faq summary:focus-visible { outline: 3px solid var(--qbh-accent); outline-offset: 2px; }
.qbh .qbh-btn--red, .qbh-header .qbh-btn--red { background: var(--qbh-red); color: #FFFFFF; }
.qbh .qbh-btn--red:hover, .qbh-header .qbh-btn--red:hover { color: #FFFFFF; }
.qbh .qbh-btn--ink { background: var(--qbh-ink); color: #FFFFFF; }
.qbh .qbh-btn--ink:hover { color: #FFFFFF; }
.qbh .qbh-btn--yellow { background: var(--qbh-hl); color: var(--qbh-ink); box-shadow: 0 4px 0 rgba(0, 0, 0, .4); }
.qbh .qbh-btn--line-light { background: transparent; color: var(--qbh-on-ink); border-color: var(--qbh-on-ink); box-shadow: none; }
.qbh .qbh-btn--line-light:hover { color: var(--qbh-on-ink); box-shadow: none; }
.qbh-btn--hdr { height: 44px; min-height: 44px; min-width: 124px; padding: 0 18px; }

/* cards */
.qbh-card { background: #FFFFFF; border: 1.5px solid var(--qbh-ink); border-radius: 20px; box-shadow: 0 5px 0 var(--qbh-ink); padding: 22px; }
.qbh-card-title { font-weight: 800; font-size: 18px; margin: 0; }
.qbh-card-text { color: var(--qbh-muted); margin: 4px 0 0; }
.qbh-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 30px; }
.qbh-chip { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--qbh-ink); background: #FFFFFF; font-weight: 700; }
.qbh-chip--soft { border-color: transparent; background: var(--qbh-soft); }
.qbh-chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* ── header ─────────────────────────────────────────────────────────── */
.qbh-header { position: sticky; top: 0; z-index: 50; background: var(--qbh-paper); border-bottom: 1.5px solid var(--qbh-line); }
.qbh-header-in { display: flex; align-items: center; gap: 24px; min-height: 74px; }
.qbh-logo { display: flex; align-items: center; min-height: 52px; text-decoration: none; flex: none; }
.qbh-logo lottie-player { width: 176px; height: 52px; display: block; }
.qbh-nav { display: flex; align-items: center; gap: 24px; flex: 1; justify-content: center; }
.qbh-navlink { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--qbh-ink); background: none; border: 0; padding: 0; font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.qbh-navlink:hover { color: var(--qbh-red); }
.qbh-actions { display: flex; gap: 12px; align-items: center; margin-left: auto; flex: none; }
.qbh-login { display: inline-flex; align-items: center; justify-content: center; height: 44px; min-width: 124px; padding: 0 18px; border-radius: 14px;
    border: 1.5px solid rgba(20, 30, 26, .22); font: inherit; font-weight: 700; font-size: 16px; color: var(--qbh-ink); background: transparent; cursor: pointer; text-decoration: none; }
.qbh-login:hover { border-color: var(--qbh-ink); color: var(--qbh-ink); }
.qbh-tools-menu { position: relative; }
.qbh-tools-drop { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); padding-top: 12px; display: none; z-index: 60; }
.qbh-tools-menu:hover .qbh-tools-drop, .qbh-tools-menu:focus-within .qbh-tools-drop { display: block; }
.qbh-tools-panel { display: grid; grid-template-columns: auto; background: #FFFFFF; border: 1.5px solid var(--qbh-ink); border-radius: 16px; box-shadow: 0 5px 0 var(--qbh-ink); padding: 6px; }
.qbh-tools-panel.qbh-tools-two { grid-template-columns: auto auto; }
.qbh-tools-col { display: flex; flex-direction: column; }
.qbh-tools-drop a { display: block; white-space: nowrap; padding: 9px 14px; border-radius: 10px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--qbh-ink); }
.qbh-tools-drop a:hover { background: var(--qbh-cream); color: var(--qbh-ink); }
.qbh-tools-drop .qbh-tools-all { grid-column: 1 / -1; border-top: 1.5px solid var(--qbh-line); margin-top: 4px; border-radius: 0 0 10px 10px; color: var(--qbh-red); }
.qbh-lang { position: relative; }
.qbh-lang-btn { display: inline-flex; align-items: center; gap: 7px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1.5px solid transparent;
    background: transparent; color: var(--qbh-ink); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.qbh-lang-btn[aria-expanded="true"] { background: #FFFFFF; }
.qbh-lang-menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; width: 250px; max-height: 420px; overflow-y: auto; background: #FFFFFF;
    border: 1.5px solid var(--qbh-ink); border-radius: 16px; box-shadow: 0 5px 0 var(--qbh-ink); padding: 6px; }
.qbh-lang-menu[hidden] { display: none; }
.qbh-lang-head { padding: 8px 10px 6px; color: var(--qbh-muted2); }
.qbh-lang-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 42px; padding: 0 10px; border-radius: 10px; text-decoration: none; font-weight: 600; color: var(--qbh-ink); }
.qbh-lang-item:hover, .qbh-lang-item.is-current { background: var(--qbh-cream); color: var(--qbh-ink); }
.qbh-lang-name { display: flex; align-items: center; gap: 10px; }
.qbh-flag { width: 24px; height: 18px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(20, 30, 26, .18); flex: none; display: block; }
.qbh-lang-code { font-family: var(--qbh-mono); font-size: 12px; font-weight: 600; color: var(--qbh-muted2); }
.qbh-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid rgba(20, 30, 26, .22); background: transparent; color: var(--qbh-ink); cursor: pointer; align-items: center; justify-content: center; }
.qbh-mnav { display: none; padding: 6px 0 16px; border-top: 1.5px solid var(--qbh-line); }
.qbh-mnav[hidden] { display: none !important; }
.qbh-mnav a, .qbh-mnav button.qbh-mlink { display: block; width: 100%; text-align: left; padding: 11px 4px; font: inherit; font-weight: 600; text-decoration: none; color: var(--qbh-ink); background: none; border: 0; cursor: pointer; }
.qbh-mnav .qbh-mgroup { font-family: var(--qbh-mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--qbh-muted2); padding: 14px 4px 4px; }
.qbh-mnav .qbh-msub { padding-left: 16px; font-weight: 500; }
.qbh-mnav-langs { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 6px; }
.qbh-mnav-langs a { display: inline-flex; width: auto; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 10px; background: #FFFFFF; font-weight: 600; font-size: 14px; }
.qbh-mnav-langs a.is-current { background: var(--qbh-hl); }
.qbh-mnav-cta { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 14px; }
@media (max-width: 1100px) { .qbh-nav { gap: 18px; } }
@media (max-width: 1023px) {
    .qbh-nav, .qbh-actions .qbh-hide-m { display: none; }
    .qbh-burger { display: inline-flex; }
    .qbh-mnav { display: block; }
    .qbh-header-in { gap: 12px; }
}
@media (max-width: 420px) { .qbh-logo lottie-player { width: 150px; height: 44px; } }

/* ── homepage hero ──────────────────────────────────────────────────── */
.qbh-hero { padding-top: 56px; text-align: center; }
.qbh-pill { display: inline-block; padding: 7px 14px; border: 1.5px solid var(--qbh-ink); border-radius: 999px; background: #FFFFFF; }
.qbh-h1 { margin: 0; }
.qbh-h1 .qbh-pill { margin-bottom: 20px; }
.qbh-h1-big { display: block; font-family: var(--qbh-disp); font-weight: 800; letter-spacing: -.03em; line-height: 1.03; font-size: clamp(44px, 6vw, 84px); }
.qbh-lead { font-size: 20px; color: var(--qbh-muted); margin: 18px auto 0; max-width: 760px; }
.qbh-hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.qbh-device { max-width: 940px; margin: 44px auto 0; position: relative; }
.qbh-laptop { background: var(--qbh-ink); border-radius: 16px 16px 0 0; padding: 11px 11px 0; line-height: 0; box-shadow: 0 30px 60px rgba(20, 30, 26, .25); }
.qbh-laptop img { width: 100%; display: block; border-radius: 6px 6px 0 0; }
.qbh-base { height: 16px; background: #2E3A35; border-radius: 0 0 20px 20px; margin: 0 -5%; }
.qbh-phone { border-radius: 30px; border: 8px solid var(--qbh-ink); overflow: hidden; box-shadow: 0 22px 44px rgba(20, 30, 26, .3); background: var(--qbh-ink); line-height: 0; }
.qbh-phone img { width: 100%; display: block; }
.qbh-device .qbh-phone { position: absolute; width: 190px; right: -60px; bottom: -36px; transform: rotate(5deg); }
@media (max-width: 1100px) { .qbh-device .qbh-phone { right: -10px; } }
@media (max-width: 900px) { .qbh-hide-sm { display: none !important; } .qbh-lead { font-size: 18px; } }

/* tool links under the hero (internal links to the SEO pages) */
.qbh-toolstrip { padding-top: 72px; text-align: center; }
.qbh-toolstrip h2 { font-family: var(--qbh-mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--qbh-muted2); margin: 0 0 14px; }
.qbh-toolstrip .qbh-chips a { text-decoration: none; font-size: 15px; padding: 8px 14px; border-width: 1.5px; border-color: rgba(20, 30, 26, .22); }
.qbh-toolstrip .qbh-chips a:hover { border-color: var(--qbh-ink); background: var(--qbh-cream); }
.qbh-toolstrip .qbh-chips a.qbh-chip-all { border-color: transparent; background: transparent; color: var(--qbh-red); }

/* ── audience switch ────────────────────────────────────────────────── */
.qbh-who { padding-top: 80px; scroll-margin-top: 80px; }
.qbh-who-head { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.qbh-switch { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 6px; border-radius: 999px; background: #FFFFFF; border: 1.5px solid var(--qbh-ink); box-shadow: 0 4px 0 var(--qbh-ink); }
.qbh-tab { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-weight: 800; font-size: 17px; cursor: pointer; background: transparent; color: var(--qbh-ink); }
.qbh-tab[aria-selected="true"] { background: var(--qbh-ink); color: var(--qbh-on-ink); }
.qbh-who-note { margin: 0; font-size: 15px; color: var(--qbh-muted2); text-align: center; }
.qbh-panels { padding-top: 40px; }
.qbh-panel[hidden] { display: none; }
.qbh-panel-in { padding-bottom: 40px; }
@media (max-width: 560px) { .qbh-switch { border-radius: 22px; } .qbh-tab { flex: 1 1 100%; justify-content: center; } }

/* big intro card of each audience */
.qbh-intro { border: 1.5px solid var(--qbh-ink); border-radius: 26px; box-shadow: 0 6px 0 var(--qbh-ink); padding: 44px; display: flex; gap: 40px; align-items: center; flex-wrap: wrap; overflow: hidden; }
.qbh-intro--yellow { background: var(--qbh-hl); }
.qbh-intro--ink { background: var(--qbh-ink); color: var(--qbh-on-ink); box-shadow: 0 6px 0 var(--qbh-red); }
.qbh-intro--white { background: #FFFFFF; }
.qbh-intro-text { flex: 1 1 420px; min-width: 0; }
.qbh-intro-art { flex: 1 1 520px; min-width: 0; }
.qbh-intro-h { font-family: var(--qbh-disp); font-weight: 800; letter-spacing: -.03em; line-height: 1.02; margin: 10px 0 0; font-size: clamp(36px, 4.4vw, 58px); }
.qbh-intro p { font-size: 19px; margin: 16px 0 0; max-width: 560px; }
.qbh-intro--ink p { color: var(--qbh-on-ink2); }
.qbh-intro--white p { color: var(--qbh-muted); }
.qbh-intro .qbh-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.qbh-tilt { display: flex; gap: 16px; justify-content: center; align-items: flex-start; flex: 0 1 420px; }
.qbh-tilt img { width: 180px; border-radius: 26px; border: 7px solid var(--qbh-ink); }
.qbh-tilt img:first-child { transform: rotate(-5deg); margin-top: 30px; }
.qbh-tilt img:last-child { transform: rotate(4deg); }
.qbh-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.qbh-tags span { padding: 7px 13px; border-radius: 999px; border: 1.5px solid rgba(20, 30, 26, .22); font-weight: 600; font-size: 14px; background: var(--qbh-soft); }
@media (max-width: 640px) { .qbh-intro { padding: 26px 20px; gap: 26px; } .qbh-tilt { flex: 1 1 100%; } .qbh-tilt img { width: calc(50% - 8px); max-width: 170px; } }

.qbh-section-h { margin-top: 70px; }
.qbh-loop { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; margin-top: 30px; text-align: center; }
.qbh-loop img { width: 170px; border-radius: 24px; border: 7px solid var(--qbh-ink); margin: 0 auto; }
.qbh-loop-t { font-family: var(--qbh-disp); font-weight: 800; font-size: 24px; margin-top: 14px; }
.qbh-loop-d { color: var(--qbh-muted); }
.qbh-duo { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 80px; }
.qbh-duo > * { flex: 1 1 420px; min-width: 0; }
.qbh-dark { background: var(--qbh-ink); color: var(--qbh-on-ink); border-radius: 22px; padding: 30px; }
.qbh-dark .qbh-sub { color: var(--qbh-on-ink2); }
.qbh-big-t { font-family: var(--qbh-disp); font-weight: 800; font-size: 30px; margin: 0; letter-spacing: -.02em; line-height: 1.1; }
.qbh-store { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.qbh-store a { padding: 10px 16px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.qbh-store a.is-fill { background: var(--qbh-hl); color: var(--qbh-ink); }
.qbh-store a.is-line { border: 1.5px solid var(--qbh-on-ink); color: var(--qbh-on-ink); }
.qbh-prices { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 14px; }
.qbh-price { font-family: var(--qbh-disp); font-weight: 800; font-size: 32px; }
.qbh-price small { font-size: 14px; font-family: var(--qbh-body); font-weight: 600; white-space: nowrap; }
.qbh-plan .qbh-price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; }
.qbh-approx { display: block; font-size: 12px; font-weight: 600; color: var(--qbh-muted2); }

/* teachers: Similar Test visual + exports + plan */
.qbh-similar { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; margin-top: 80px; }
.qbh-similar-text { flex: 1 1 380px; min-width: 0; }
.qbh-similar-text h3 { font-family: var(--qbh-disp); font-weight: 800; letter-spacing: -.03em; margin: 8px 0 0; font-size: clamp(28px, 3vw, 40px); line-height: 1.08; }
.qbh-similar-text p { font-size: 18px; color: var(--qbh-muted); margin: 12px 0 0; }
.qbh-similar-art { flex: 1 1 520px; min-width: 0; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.qbh-paper-old { flex: 1 1 190px; background: var(--qbh-soft); border: 1.5px solid rgba(20, 30, 26, .18); border-radius: 12px; padding: 14px; transform: rotate(-2deg); }
.qbh-paper-new { flex: 1 1 210px; background: #FFFFFF; border: 1.5px solid var(--qbh-ink); border-radius: 12px; padding: 14px; box-shadow: 0 4px 0 var(--qbh-ink); transform: rotate(1.5deg); }
.qbh-lines { display: flex; flex-direction: column; gap: 7px; margin-top: 12px; }
.qbh-lines i { display: block; height: 8px; border-radius: 4px; background: rgba(20, 30, 26, .16); }
.qbh-mini-eb { font-family: var(--qbh-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--qbh-muted2); }
.qbh-key { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: #E3F1E8; color: var(--qbh-good); }
.qbh-paper-new ol { margin: 10px 0 0; padding-left: 18px; font-size: 13.5px; display: flex; flex-direction: column; gap: 6px; list-style: decimal; }
.qbh-box { margin-top: 80px; text-align: center; }
.qbh-box h3 { font-family: var(--qbh-disp); font-weight: 800; letter-spacing: -.03em; margin: 0; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.qbh-planbar { margin-top: 30px; display: flex; gap: 22px; flex-wrap: wrap; align-items: center; justify-content: space-between; border-radius: 22px; padding: 30px; }
.qbh-planbar--cream { background: var(--qbh-cream); border: 1.5px solid var(--qbh-red); box-shadow: 0 5px 0 var(--qbh-red); }
.qbh-planbar--yellow { background: var(--qbh-hl); border: 1.5px solid var(--qbh-ink); box-shadow: 0 5px 0 var(--qbh-ink); margin-top: 50px; }
.qbh-planbar-t { font-family: var(--qbh-disp); font-weight: 800; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }

/* creators */
.qbh-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 30px; }
.qbh-num { width: 40px; height: 40px; border-radius: 12px; background: var(--qbh-red); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-family: var(--qbh-disp); font-weight: 800; font-size: 18px; }
.qbh-step-t { font-family: var(--qbh-disp); font-weight: 800; font-size: 24px; margin: 12px 0 0; line-height: 1.15; }
.qbh-src { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; font-size: 13px; font-weight: 600; }
.qbh-src span { padding: 5px 10px; border-radius: 9px; background: var(--qbh-soft); }
.qbh-speed { margin-top: 40px; background: var(--qbh-ink); color: var(--qbh-on-ink); border-radius: 22px; padding: 30px 34px; display: flex; gap: 30px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.qbh-speed-nums { display: flex; gap: 36px; flex-wrap: wrap; }
.qbh-speed-n { font-family: var(--qbh-disp); font-weight: 800; font-size: 40px; line-height: 1.1; }
.qbh-speed-l { color: var(--qbh-on-ink2); font-size: 14px; }
.qbh-exports { margin-top: 60px; display: flex; gap: 30px; flex-wrap: wrap; align-items: center; }
.qbh-exports-l { flex: 1 1 300px; }
.qbh-exports-r { flex: 2 1 520px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.qbh-exports-r > div { background: var(--qbh-soft); border-radius: 16px; padding: 16px; }
.qbh-exports-r .qbh-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.qbh-exports-r .qbh-pills span { padding: 6px 11px; border-radius: 999px; background: #FFFFFF; font-weight: 600; font-size: 14px; }

/* the generator at work (HTML picture) */
.qbh-gen { font-family: var(--qbh-body); color: var(--qbh-ink); line-height: 1.4; background: #FFFFFF; border: 1.5px solid var(--qbh-ink); border-radius: 20px; box-shadow: 0 8px 0 var(--qbh-ink); overflow: hidden; text-align: left; }
.qbh-intro--ink .qbh-gen { box-shadow: 0 8px 0 rgba(0, 0, 0, .45); }
.qbh-gen-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #F4EFE3; border-bottom: 1.5px solid var(--qbh-line); }
.qbh-gen-dots { display: flex; gap: 5px; }
.qbh-gen-dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.qbh-gen-url { flex: 1; padding: 4px 12px; border-radius: 999px; background: #FFFFFF; border: 1px solid var(--qbh-line); font-size: 12px; font-weight: 600; color: var(--qbh-muted); }
.qbh-gen-body { display: flex; flex-wrap: wrap; }
.qbh-gen-in { flex: 1 1 230px; min-width: 0; padding: 18px; background: #FBF9F4; border-right: 1.5px solid rgba(20, 30, 26, .1); display: flex; flex-direction: column; gap: 14px; }
.qbh-gen-out { flex: 2 1 340px; min-width: 0; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.qbh-gen-lbl { font-family: var(--qbh-mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--qbh-muted2); text-transform: uppercase; }
.qbh-gen-file { margin-top: 8px; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; background: #FFFFFF; border: 1.5px solid var(--qbh-ink); }
.qbh-gen-pdf { width: 36px; height: 44px; border-radius: 6px; background: var(--qbh-accent); color: #FFFFFF; font-size: 10px; font-weight: 800; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 5px; flex: none; }
.qbh-gen-set { margin-top: 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; font-size: 13px; }
.qbh-gen-set div { padding: 9px 10px; border-radius: 10px; background: #FFFFFF; border: 1px solid rgba(20, 30, 26, .15); }
.qbh-gen-set small { display: block; color: var(--qbh-muted2); font-size: 11px; }
.qbh-gen-go { margin-top: auto; display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 12px; background: var(--qbh-red); color: #FFFFFF; font-weight: 800; border: 1.5px solid var(--qbh-ink); box-shadow: 0 3px 0 var(--qbh-ink); }
.qbh-gen-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.qbh-gen-title { font-family: var(--qbh-disp); font-weight: 800; font-size: 18px; }
.qbh-gen-status { font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--qbh-cream); color: #8A5A00; }
.qbh-gen-prog { height: 6px; border-radius: 3px; background: #F4EFE3; overflow: hidden; }
.qbh-gen-prog i { display: block; width: 72%; height: 100%; background: #2BBF7F; }
.qbh-gen-q { border: 1.5px solid var(--qbh-line); border-radius: 14px; padding: 12px 14px; }
.qbh-gen-qt { font-family: var(--qbh-mono); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; color: var(--qbh-muted2); text-transform: uppercase; }
.qbh-gen-qq { font-weight: 800; margin-top: 4px; font-size: 15px; }
.qbh-gen-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 8px; font-size: 13px; }
.qbh-gen-opts span, .qbh-gen-tf span { padding: 7px 10px; border-radius: 9px; background: var(--qbh-soft); }
.qbh-gen-opts .ok, .qbh-gen-tf .ok { background: #E3F1E8; border: 1.5px solid var(--qbh-good); font-weight: 800; }
.qbh-gen-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.qbh-gen-tf { display: flex; gap: 6px; margin-top: 8px; font-size: 13px; }
.qbh-gen-blank { padding: 2px 10px; border-radius: 8px; border: 1.5px solid var(--qbh-ink); }
.qbh-gen-skel { border: 1.5px dashed rgba(20, 30, 26, .25); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 7px; }
.qbh-gen-skel i { display: block; height: 9px; border-radius: 5px; background: #EDE7DA; }
.qbh-gen-exp { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 2px; font-size: 12.5px; font-weight: 700; }
.qbh-gen-exp span { padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(20, 30, 26, .2); }
.qbh-gen-exp .lbl { border: 0; padding: 0; color: var(--qbh-muted2); font-family: var(--qbh-mono); font-size: 10.5px; letter-spacing: .1em; }
@media (max-width: 560px) { .qbh-gen-two { grid-template-columns: 1fr; } .qbh-gen-in { border-right: 0; border-bottom: 1.5px solid rgba(20, 30, 26, .1); } }

/* plans (#pricing) */
.qbh-plans { padding-top: 90px; scroll-margin-top: 80px; }
.qbh-plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 30px; align-items: stretch; }
.qbh-plan { display: flex; flex-direction: column; gap: 10px; position: relative; }
.qbh-plan--pop { background: var(--qbh-ink); color: var(--qbh-on-ink); box-shadow: 0 5px 0 var(--qbh-red); }
.qbh-plan--pop .qbh-plan-feat li { color: var(--qbh-on-ink2); }
.qbh-plan-name { font-family: var(--qbh-disp); font-weight: 800; font-size: 24px; margin: 0; }
.qbh-plan-badge { position: absolute; top: -13px; right: 18px; border: 1.5px solid var(--qbh-ink); font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--qbh-hl); color: var(--qbh-ink); }
.qbh-plan-feat { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; flex: 1; }
.qbh-plan-feat li { padding-left: 22px; position: relative; color: var(--qbh-muted); }
.qbh-plan-feat li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 11px; height: 6px; border-left: 2.5px solid var(--qbh-good); border-bottom: 2.5px solid var(--qbh-good); transform: rotate(-45deg); }
.qbh-plan--pop .qbh-plan-feat li::before { border-color: var(--qbh-hl); }
.qbh-plan .qbh-btn { margin-top: 8px; width: 100%; }
.qbh-plans-note { text-align: center; color: var(--qbh-muted2); margin: 18px 0 0; font-size: 15px; }
.qbh-offer { display: block; max-width: 720px; margin: 16px auto 0; padding: 10px 16px; border-radius: 14px; background: var(--qbh-cream); border: 1.5px solid var(--qbh-red); text-align: center; font-size: 15px; }

/* FAQ */
.qbh-faq-sec { padding-top: 90px; padding-bottom: 80px; scroll-margin-top: 80px; }
.qbh-faq { max-width: 820px; margin: 30px auto 0; display: flex; flex-direction: column; gap: 12px; }
.qbh-faq details { background: #FFFFFF; border: 1.5px solid var(--qbh-ink); border-radius: 16px; box-shadow: 0 4px 0 var(--qbh-ink); }
.qbh-faq summary { cursor: pointer; list-style: none; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 16.5px; }
.qbh-faq summary::-webkit-details-marker { display: none; }
.qbh-faq summary svg { flex: none; transition: transform .2s ease; }
.qbh-faq details[open] summary svg { transform: rotate(45deg); }
.qbh-faq-a { padding: 0 20px 18px; color: var(--qbh-muted); }
.qbh-faq-a p { margin: 0 0 10px; }
.qbh-faq-more { text-align: center; margin-top: 26px; color: var(--qbh-muted2); }

/* ── SEO tool pages ─────────────────────────────────────────────────── */
.qbh-seo-hero { padding-top: 64px; padding-bottom: 40px; text-align: center; }
.qbh-seo-hero h1 { font-family: var(--qbh-disp); font-weight: 800; letter-spacing: -.03em; line-height: 1.04; margin: 18px auto 0; font-size: clamp(38px, 5.4vw, 72px); max-width: 980px; }
.qbh-seo-hero .qbh-lead { max-width: 760px; }
.qbh-seo-hero .qbh-hero-cta { flex-direction: column; align-items: center; gap: 8px; }
.qbh-small { font-size: 14px; color: var(--qbh-muted2); }
.qbh-facts { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--qbh-muted2); }
.qbh-narrow { max-width: 820px; margin: 0 auto; }
.qbh-intro-p { font-size: 18px; color: var(--qbh-muted); text-align: center; margin: 0 auto; max-width: 800px; }
.qbh-sample { margin-top: 44px; }
.qbh-sample h2 { font-family: var(--qbh-disp); font-weight: 800; font-size: 26px; margin: 0 0 10px; letter-spacing: -.02em; }
.qbh-sample-src { font-size: 14.5px; color: var(--qbh-muted2); font-style: italic; border-left: 4px solid var(--qbh-hl); padding-left: 14px; margin: 0 0 18px; }
.qbh-sample ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.qbh-sample-type { display: inline-block; font-family: var(--qbh-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--qbh-soft); margin-bottom: 6px; }
.qbh-sample-q { margin: 0; font-weight: 600; }
.qbh-sample-a { margin: 4px 0 0; color: var(--qbh-muted); font-size: 14.5px; }
.qbh-sample-a b { color: var(--qbh-good); }
.qbh-seo-block { padding-top: 70px; }
.qbh-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.qbh-two h2 { font-family: var(--qbh-disp); font-weight: 800; font-size: 26px; margin: 0 0 14px; letter-spacing: -.02em; }
.qbh-two .qbh-chips { justify-content: flex-start; }
.qbh-two .qbh-chip { font-weight: 600; font-size: 14.5px; padding: 7px 13px; }
.qbh-prose { max-width: 800px; margin: 0 auto; }
.qbh-prose h2 { font-family: var(--qbh-disp); font-weight: 800; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.02em; line-height: 1.15; margin: 48px 0 14px; }
.qbh-prose h2:first-child { margin-top: 0; }
.qbh-prose p { font-size: 17.5px; color: var(--qbh-muted); margin: 0 0 14px; line-height: 1.65; }
.qbh-final { margin: 80px 0 0; text-align: center; padding: 44px 30px; }
.qbh-final h2 { font-family: var(--qbh-disp); font-weight: 800; font-size: clamp(28px, 3.4vw, 44px); margin: 0; letter-spacing: -.03em; line-height: 1.1; }
.qbh-final p { margin: 10px auto 0; max-width: 640px; font-size: 18px; }
.qbh-final .qbh-btn { margin-top: 24px; }
.qbh-related { padding-top: 60px; padding-bottom: 80px; text-align: center; }
.qbh-related h2 { font-family: var(--qbh-mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--qbh-muted2); margin: 0 0 16px; }
.qbh-related a { text-decoration: none; }
.qbh-related a:hover { background: var(--qbh-cream); }
.qbh-tryit { padding-top: 10px; }

/* /tools hub */
.qbh-hub-group { padding-top: 50px; }
.qbh-hub-group h2 { font-family: var(--qbh-disp); font-weight: 800; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.02em; margin: 0; text-align: center; }
.qbh-hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 22px; }
.qbh-hub-card { display: block; text-decoration: none; transition: transform .12s ease, box-shadow .12s ease; }
.qbh-hub-card:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--qbh-ink); }
.qbh-hub-card .qbh-card-title::after { content: " →"; color: var(--qbh-red); }

/* ── footer ─────────────────────────────────────────────────────────── */
.qbh-footer { background: var(--qbh-ink); color: var(--qbh-on-ink2); }
.qbh-foot-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 36px; padding: 56px 0 40px; }
.qbh-foot-brand lottie-player { width: 176px; height: 52px; display: block; margin-left: -6px; }
.qbh-foot-brand p { margin: 12px 0 0; font-size: 14.5px; max-width: 300px; }
.qbh-foot-h { font-family: var(--qbh-mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--qbh-hl); margin: 0 0 14px; }
.qbh-foot-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 15px; }
.qbh-foot-list a { text-decoration: none; color: var(--qbh-on-ink); }
.qbh-foot-list a:hover { color: var(--qbh-hl); }
.qbh-foot-bottom { border-top: 1px solid rgba(246, 243, 236, .12); }
.qbh-foot-bottom .qbh-wrap { display: flex; gap: 16px 32px; flex-wrap: wrap; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; font-size: 14px; }
.qbh-foot-bottom a { color: var(--qbh-on-ink); }
.qbh-socials { display: flex; gap: 10px; }
.qbh-soc { width: 44px; height: 44px; border-radius: 50%; background: rgba(246, 243, 236, .1); display: flex; align-items: center; justify-content: center; color: var(--qbh-on-ink); }
.qbh-soc:hover { background: rgba(246, 243, 236, .2); }
@media (max-width: 1023px) { .qbh-foot-top { grid-template-columns: 1fr 1fr; } .qbh-foot-brand, .qbh-foot-apps { grid-column: 1 / -1; } }
@media (max-width: 520px) { .qbh-foot-top { grid-template-columns: 1fr; } }

/* try-it box on the tool pages (components/landing/try-it-box, Tailwind markup): recoloured to the Marking-desk look.
   Its script swaps the same Tailwind classes, so these attribute rules follow the selected chip. */
.qbh-tryit section { margin-top: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
.qbh-tryit section > div.bg-white { border: 1.5px solid #141E1A !important; box-shadow: 0 6px 0 #141E1A !important; border-radius: 22px !important; }
.qbh-tryit [class*="text-[#1E4D7B]"] { color: #141E1A !important; }
.qbh-tryit [class*="text-[#4A8FD6]"] { color: #C93D29 !important; }
.qbh-tryit [class*="from-[#4A8FD6]"] { background: #C93D29 !important; border: 1.5px solid #141E1A; box-shadow: 0 4px 0 #141E1A; }
.qbh-tryit [class*="bg-[#1E4D7B]"] { background: #141E1A !important; }
.qbh-tryit [class*="bg-[#E8F2FC]"], .qbh-tryit [class*="from-[#E8F2FC]"] { background: #FBF1D6 !important; }
.qbh-tryit [class*="bg-[#FFE8E3]"] { background: #F4E05A !important; }
.qbh-tryit [class*="border-[#4A8FD6]"] { border-color: #141E1A !important; }
.qbh-tryit [class*="border-[#E8F2FC]"] { border-color: rgba(20, 30, 26, .18) !important; }
.qbh-tryit textarea:focus { border-color: #141E1A !important; box-shadow: 0 0 0 3px rgba(244, 224, 90, .6) !important; }

/* cookie banner (layout/landing/app) */
#gdpr-banner.qbh-cookie { background: #141E1A; color: #C9CFCB; border-top: 0; font-family: "Instrument Sans", ui-sans-serif, system-ui, sans-serif; }
#gdpr-banner.qbh-cookie .qbh-cookie-in { max-width: 1240px; margin: 0 auto; padding: 16px 32px; display: flex; gap: 14px 24px; align-items: center; flex-wrap: wrap; }
#gdpr-banner.qbh-cookie .qbh-cookie-text { flex: 1 1 420px; font-size: 14.5px; line-height: 1.5; }
#gdpr-banner.qbh-cookie strong { color: #F6F3EC; }
#gdpr-banner.qbh-cookie a { color: #F4E05A; text-decoration: underline; white-space: nowrap; margin-left: 4px; }
#gdpr-banner.qbh-cookie .qbh-cookie-btns { display: flex; gap: 10px; flex: none; }
#gdpr-banner.qbh-cookie button { min-height: 44px; padding: 0 20px; border-radius: 12px; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
#gdpr-banner.qbh-cookie .qbh-cookie-no { background: transparent; color: #F6F3EC; border: 1.5px solid rgba(246, 243, 236, .45); }
#gdpr-banner.qbh-cookie .qbh-cookie-yes { background: #F4E05A; color: #141E1A; border: 1.5px solid #F4E05A; }
@media (max-width: 640px) { #gdpr-banner.qbh-cookie .qbh-cookie-in { padding: 14px 16px; } #gdpr-banner.qbh-cookie .qbh-cookie-btns { width: 100%; } #gdpr-banner.qbh-cookie button { flex: 1; } }

/* sign-in + forgot-password pop-ups (layout/landing/signin-modal). Display is toggled by the hidden/flex classes. */
.qbh-auth { z-index: 70 !important; font-family: "Instrument Sans", ui-sans-serif, system-ui, sans-serif; color: #141E1A; line-height: 1.5; }
.qbh-auth-backdrop { background: rgba(20, 30, 26, .55); backdrop-filter: blur(3px); }
.qbh-auth-card { width: 100%; max-width: 440px; max-height: 92vh; overflow-y: auto; background: #FFFFFF; border: 1.5px solid #141E1A; border-radius: 24px;
    box-shadow: 0 6px 0 #141E1A; padding: 30px 30px 24px; scrollbar-width: none; -ms-overflow-style: none; }
.qbh-auth-card::-webkit-scrollbar { display: none; width: 0; height: 0; }
.qbh-auth-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 12px; border: 1.5px solid transparent; background: transparent;
    color: #4F5B56; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.qbh-auth-close:hover { border-color: rgba(20, 30, 26, .22); color: #141E1A; }
.qbh-auth-head { text-align: center; margin-bottom: 18px; }
.qbh-auth-logo { width: 176px; height: 52px; display: block; margin: 0 auto 6px; }
.qbh-auth-title { font-family: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; font-size: 30px; margin: 0; }
.qbh-auth-sub { margin: 6px 0 0; color: #3A4742; font-size: 15px; }
.qbh-auth-tile { width: 60px; height: 60px; margin: 4px auto 14px; border-radius: 18px; background: #F4E05A; border: 1.5px solid #141E1A; box-shadow: 0 4px 0 #141E1A;
    display: flex; align-items: center; justify-content: center; color: #141E1A; }
.qbh-auth-tile--ok { background: #E3F1E8; color: #277A4D; }
.qbh-auth-error { margin-bottom: 14px; border-radius: 12px; border: 1.5px solid #C93D29; background: #FBEDEA; padding: 10px 14px; font-size: 14px; color: #8E2A1C; }
.qbh-auth-error.hidden { display: none; }
.qbh-auth-social { display: flex; gap: 8px; }
.qbh-auth-sbtn { flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; padding: 0 8px; border-radius: 12px;
    border: 1.5px solid #141E1A; background: #FFFFFF; box-shadow: 0 3px 0 #141E1A; color: #141E1A; font-weight: 700; font-size: 14.5px; text-decoration: none; }
.qbh-auth-sbtn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qbh-auth-sbtn:hover { background: #FBF1D6; color: #141E1A; }
.qbh-auth-sbtn:active { transform: translateY(2px); box-shadow: 0 1px 0 #141E1A; }
.qbh-auth-or { display: flex; align-items: center; gap: 12px; margin: 20px 0 16px; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase; color: #4F5B56; }
.qbh-auth-or::before, .qbh-auth-or::after { content: ""; flex: 1; height: 1.5px; background: rgba(20, 30, 26, .13); }
.qbh-auth-form { display: flex; flex-direction: column; gap: 14px; }
.qbh-auth-label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.qbh-auth-input { width: 100%; min-height: 48px; padding: 0 14px; border-radius: 12px; border: 1.5px solid rgba(20, 30, 26, .25); background: #FBF9F4; font: inherit;
    font-size: 16px; color: #141E1A; box-sizing: border-box; }
.qbh-auth-input::placeholder { color: #7A847F; }
.qbh-auth-input:focus { outline: none; border-color: #141E1A; background: #FFFFFF; box-shadow: 0 0 0 3px rgba(244, 224, 90, .7); }
.qbh-auth-pw { position: relative; }
.qbh-auth-pw .qbh-auth-input { padding-right: 48px; }
.qbh-auth-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: transparent; color: #4F5B56;
    display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 10px; }
.qbh-auth-eye:hover { color: #141E1A; }
.qbh-auth-eye .hidden { display: none; }
.qbh-auth-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.qbh-auth-check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.qbh-auth-check input { width: 18px; height: 18px; accent-color: #C93D29; cursor: pointer; }
.qbh-auth-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: #C93D29; cursor: pointer; }
.qbh-auth-link:hover { text-decoration: underline; }
.qbh-auth-submit { width: 100%; min-height: 50px; border-radius: 14px; border: 1.5px solid #141E1A; background: #C93D29; color: #FFFFFF; font: inherit; font-weight: 700;
    font-size: 16px; box-shadow: 0 4px 0 #141E1A; cursor: pointer; margin-top: 4px; }
.qbh-auth-submit:hover { transform: translateY(-1px); box-shadow: 0 5px 0 #141E1A; }
.qbh-auth-submit:active { transform: translateY(3px); box-shadow: 0 1px 0 #141E1A; }
.qbh-auth-submit:disabled { opacity: .7; cursor: wait; transform: none; }
.qbh-auth-back { width: 100%; margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; background: none; border: 0; font: inherit;
    font-size: 14.5px; font-weight: 700; color: #3A4742; cursor: pointer; min-height: 40px; }
.qbh-auth-back:hover { color: #C93D29; }
.qbh-auth-terms { text-align: center; font-size: 11px; color: #4F5B56; margin: 18px 0 0; }
.qbh-auth-terms a { color: #141E1A; font-weight: 700; text-decoration: underline; }
.qbh-auth-note { background: #FBF1D6; border-radius: 12px; padding: 12px 14px; font-size: 14px; color: #3A4742; margin-bottom: 16px; text-align: center; }
.qbh-auth-close:focus-visible, .qbh-auth-sbtn:focus-visible, .qbh-auth-submit:focus-visible, .qbh-auth-link:focus-visible, .qbh-auth-eye:focus-visible, .qbh-auth-back:focus-visible { outline: 3px solid #E2452F; outline-offset: 2px; }
@media (max-width: 420px) { .qbh-auth-card { padding: 26px 18px 20px; } .qbh-auth-sbtn { font-size: 13.5px; gap: 5px; } }

/* ── older public pages (about, terms, privacy, blog): their Tailwind markup restyled to the Marking-desk look ──
   layout/landing/app wraps every page in main.qbh-page; new pages are one div.qbh, so these rules only reach the others. */
.qbh-page { background: #ECE4D3; display: block; }
.qbh-page > :not(.qbh) { font-family: "Instrument Sans", ui-sans-serif, system-ui, sans-serif; color: #141E1A; }
.qbh-page > :not(.qbh):first-child { padding-top: 56px !important; }
.qbh-page > :not(.qbh)[class*="bg-gradient"], .qbh-page > :not(.qbh) [class*="from-[#F8FBFE]"], .qbh-page > :not(.qbh) [class*="from-blue-50"],
.qbh-page > :not(.qbh) [class*="via-white"], .qbh-page > :not(.qbh) [class*="from-white"], .qbh-page > :not(.qbh).bg-white, .qbh-page > :not(.qbh) section.bg-white { background: transparent !important; }
.qbh-page > :not(.qbh) .blur-3xl { display: none !important; }
.qbh-page > :not(.qbh) h1, .qbh-page > :not(.qbh) h2, .qbh-page > :not(.qbh) h3, .qbh-page > :not(.qbh) h4 { font-family: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif; color: #141E1A; letter-spacing: -.02em; }
.qbh-page > :not(.qbh) h1 { font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.qbh-page > :not(.qbh) h2, .qbh-page > :not(.qbh) h3 { font-weight: 700; }
.qbh-page > :not(.qbh) .bg-clip-text { background: none !important; -webkit-text-fill-color: #141E1A; color: #141E1A !important; }
.qbh-page > :not(.qbh) .text-gray-800, .qbh-page > :not(.qbh) .text-gray-900, .qbh-page > :not(.qbh) [class*="text-[#1E4D7B]"] { color: #141E1A !important; }
.qbh-page > :not(.qbh) .text-gray-600, .qbh-page > :not(.qbh) .text-gray-700, .qbh-page > :not(.qbh) .text-gray-500 { color: #3A4742 !important; }
.qbh-page > :not(.qbh) [class*="text-[#4A8FD6]"] { color: #C93D29 !important; }
.qbh-page > :not(.qbh) .bg-white.rounded-xl, .qbh-page > :not(.qbh) .bg-white[class*="rounded-2xl"], .qbh-page > :not(.qbh) .bg-white[class*="rounded-3xl"], .qbh-page > :not(.qbh) .bg-white.border {
    background: #FFFFFF !important; border: 1.5px solid #141E1A !important; box-shadow: 0 4px 0 #141E1A !important; border-radius: 18px !important; }
.qbh-page > :not(.qbh) [class*="from-[#4A8FD6]"] { background: #F4E05A !important; color: #141E1A !important; border: 1.5px solid #141E1A; }
.qbh-page > :not(.qbh) [class*="from-[#4A8FD6]"] .text-white, .qbh-page > :not(.qbh) [class*="from-[#4A8FD6]"].text-white,
.qbh-page > :not(.qbh) [class*="from-[#4A8FD6]"] [class*="text-white"] { color: #141E1A !important; }
.qbh-page > :not(.qbh) [class*="from-[#4A8FD6]"].rounded-3xl, .qbh-page > :not(.qbh) [class*="from-[#4A8FD6]"][class*="py-12"] { box-shadow: 0 5px 0 #141E1A !important; border-radius: 26px !important; }
.qbh-page > :not(.qbh) [class*="from-[#FF8A70]"] { background: #C93D29 !important; border: 1.5px solid #141E1A; }
.qbh-page > :not(.qbh) [class*="from-[#E8F2FC]"] { background: #FFFFFF !important; border: 1.5px solid #141E1A; }
.qbh-page > :not(.qbh) [class*="bg-[#E8F2FC]"], .qbh-page > :not(.qbh) .bg-blue-50 { background: #FBF1D6 !important; }
.qbh-page > :not(.qbh):not(.qb-blog) a:not([class]) { color: #C93D29; text-decoration: underline; }
.qbh-page > :not(.qbh) button[class*="from-[#4A8FD6]"], .qbh-page > :not(.qbh) a[class*="from-[#4A8FD6]"] { box-shadow: 0 4px 0 #141E1A !important; border-radius: 14px !important; }
/* gradient-text headings and numbers on the older pages stay plain ink text (not tiles) */
.qbh-page > :not(.qbh) .bg-clip-text[class], .qbh-page > :not(.qbh) .bg-clip-text[class*="from-"] { background: none !important; border: 0 !important; box-shadow: none !important; -webkit-text-fill-color: #141E1A; color: #141E1A !important; }
/* right-to-left pages: no letter-spacing / capitals on the mono labels (it breaks Arabic letter joining) */
html[dir="rtl"] .qbh-eyebrow, html[dir="rtl"] .qbh-toolstrip h2, html[dir="rtl"] .qbh-mini-eb, html[dir="rtl"] .qbh-gen-lbl, html[dir="rtl"] .qbh-gen-qt,
html[dir="rtl"] .qbh-foot-h, html[dir="rtl"] .qbh-related h2, html[dir="rtl"] .qbh-auth-or, html[dir="rtl"] .qbh-sample-type, html[dir="rtl"] .qbh-mnav .qbh-mgroup,
html[dir="rtl"] .qbh-gen-exp .lbl { letter-spacing: 0 !important; text-transform: none !important; font-family: "Instrument Sans", ui-sans-serif, system-ui, sans-serif !important; }
/* blog (public/css/blog.css, scoped .qb-blog, built on variables): Marking-desk palette */
.qbh-page .qb-blog { --qb-navy: #141E1A; --qb-blue: #C93D29; --qb-blue-deep: #141E1A; --qb-blue-soft: #FBF1D6; --qb-peach: #FBF1D6; --qb-coral: #C93D29;
    --qb-ink: #141E1A; --qb-text: #3A4742; --qb-muted: #4F5B56; --qb-rule: rgba(20, 30, 26, .13); --qb-tint: #F7F2E6; background: #ECE4D3; padding-top: 0 !important; }
.qbh-page .qb-blog .qb-hero { padding-top: 56px; background: transparent; }
.qbh-page .qb-blog h1, .qbh-page .qb-blog h2, .qbh-page .qb-blog h3 { font-family: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif; color: #141E1A; }
.qbh-page .qb-blog .qb-pill { background: #FFFFFF; border: 1.5px solid #141E1A; color: #141E1A; }
.qbh-page .qb-blog .qb-pill svg { color: #C93D29; }
.qbh-page .qb-blog .qb-chip { border: 1.5px solid rgba(20, 30, 26, .22); background: #FFFFFF; color: #141E1A; }
.qbh-page .qb-blog .qb-chip[aria-current="page"] { background: #141E1A; border-color: #141E1A; color: #F6F3EC; }
.qbh-page .qb-blog .qb-card { background: #FFFFFF; border: 1.5px solid #141E1A; border-radius: 20px; box-shadow: 0 5px 0 #141E1A; overflow: hidden; }
.qbh-page .qb-blog .qb-card:hover { border-color: #141E1A; box-shadow: 0 7px 0 #141E1A; }
.qbh-page .qb-blog .qb-ph-1 { background: radial-gradient(rgba(20, 30, 26, .09) 1.2px, transparent 1.4px) 0 0 / 16px 16px, #E3F1E8; }
.qbh-page .qb-blog .qb-ph-2 { background: radial-gradient(rgba(20, 30, 26, .09) 1.2px, transparent 1.4px) 0 0 / 16px 16px, #FBF1D6; }
.qbh-page .qb-blog [class*="qb-ph-"]:not(.qb-ph-1):not(.qb-ph-2) { background: radial-gradient(rgba(20, 30, 26, .09) 1.2px, transparent 1.4px) 0 0 / 16px 16px, #F7F2E6; }
.qbh-page .qb-blog .qb-prose a { color: #C93D29; }
.qbh-page .qb-blog .qb-prose pre { background: #141E1A; }

/* homepage hero: the Studio question generator as HTML (components/landing/home/studio-shot). Scales with the laptop frame. */
.qbh-studio { container-type: inline-size; aspect-ratio: 1280 / 796; overflow: hidden; background: #FFFFFF; border-radius: 6px 6px 0 0; line-height: 1.3; text-align: left; }
.qbh-studio .qs { font-size: 1.32cqw; font-family: "Instrument Sans", ui-sans-serif, system-ui, sans-serif; color: #141E1A; display: flex; gap: 1.4em; padding: 1.4em; height: 100%; box-sizing: border-box; }
.qbh-studio svg { width: 1.25em; height: 1.25em; flex: none; display: block; }
.qbh-studio .qs-left { width: 36.5%; display: flex; flex-direction: column; gap: 1.2em; flex: none; }
.qbh-studio .qs-right { flex: 1; min-width: 0; background: #F6F1E4; border: 1px solid #E8E0CF; border-radius: 1.3em; padding: 1.4em; display: flex; flex-direction: column; gap: .9em; }
.qbh-studio .qs-card { background: #F6F1E4; border: 1px solid #E8E0CF; border-radius: 1.3em; padding: 1.3em 1.4em; }
.qbh-studio .qs-acts { background: #FFFFFF; border-color: #EDE7DA; text-align: center; }
.qbh-studio .qs-lbl { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .82em; letter-spacing: .14em; text-transform: uppercase; color: #6B746F; margin: 0 0 .7em; }
.qbh-studio .qs-card > .qs-lbl:not(:first-child) { margin-top: 1.3em; }
.qbh-studio .qs-c { text-align: center; }
.qbh-studio .qs-dd { display: flex; align-items: center; justify-content: space-between; padding: .75em 1em; border-radius: .9em; background: #FBF1D6; border: 1px solid #EAD7A6; color: #C93D29; font-weight: 800; font-size: 1.15em; }
.qbh-studio .qs-dd svg { color: #6B746F; }
.qbh-studio .qs-src { display: grid; grid-template-columns: 1fr 1fr; gap: .55em; }
.qbh-studio .qs-tile { display: flex; align-items: center; gap: .55em; padding: .75em .8em; border-radius: .8em; background: #FFFFFF; border: 1px solid #E2DACA; font-size: .98em; white-space: nowrap; overflow: hidden; }
.qbh-studio .qs-tile b { overflow: hidden; text-overflow: ellipsis; font-weight: 700; }
.qbh-studio .qs-tile.is-on { background: #F6E1D8; border-color: #E6A48F; }
.qbh-studio .qs-file { margin-top: .8em; display: flex; align-items: center; gap: .7em; padding: .7em .8em; border-radius: .8em; background: #FFFFFF; border: 1px solid #E2DACA; }
.qbh-studio .qs-file b { display: block; font-size: .98em; }
.qbh-studio .qs-file i { display: block; font-style: normal; color: #277A4D; font-weight: 700; font-size: .85em; }
.qbh-studio .qs-pdf { width: 2.2em; height: 2.7em; border-radius: .35em; background: #E2452F; color: #FFFFFF; font-size: .7em; font-weight: 800; display: flex; align-items: flex-end; justify-content: center; padding-bottom: .4em; flex: none; box-sizing: border-box; }
.qbh-studio .qs-step { display: flex; align-items: center; gap: 1em; }
.qbh-studio .qs-stepper { display: inline-flex; align-items: center; border: 1px solid #E2DACA; border-radius: .8em; background: #FFFFFF; overflow: hidden; }
.qbh-studio .qs-stepper i, .qbh-studio .qs-stepper b { display: flex; align-items: center; justify-content: center; width: 2.6em; height: 2.6em; font-style: normal; }
.qbh-studio .qs-stepper b { border-left: 1px solid #E2DACA; border-right: 1px solid #E2DACA; font-size: 1.15em; width: 2.9em; }
.qbh-studio .qs-max { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .82em; letter-spacing: .12em; text-transform: uppercase; color: #6B746F; }
.qbh-studio .qs-opts { display: grid; grid-template-columns: 1fr 1fr; gap: .55em; }
.qbh-studio .qs-opt { display: flex; align-items: center; gap: .6em; padding: .65em .8em; border-radius: .8em; background: #FFFFFF; border: 1px solid #E2DACA; white-space: nowrap; overflow: hidden; }
.qbh-studio .qs-opt i { width: 1em; height: 1em; border-radius: 50%; border: 1.5px solid #9AA39E; flex: none; box-sizing: border-box; }
.qbh-studio .qs-opt.is-on { background: #F6E1D8; border-color: #E6A48F; }
.qbh-studio .qs-opt.is-on i { border: .3em solid #C93D29; }
.qbh-studio .qs-row { display: flex; gap: .55em; justify-content: center; flex-wrap: wrap; margin-bottom: .2em; }
.qbh-studio .qs-btn { display: inline-flex; align-items: center; gap: .45em; padding: .6em .85em; border-radius: .75em; border: 1px solid #DDD6C8; background: #FFFFFF; font-weight: 700; white-space: nowrap; }
.qbh-studio .qs-btn.is-red { background: #E2452F; border-color: #E2452F; color: #FFFFFF; }
.qbh-studio .qs-chips { display: flex; gap: .5em; flex-wrap: wrap; }
.qbh-studio .qs-chips span { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .78em; letter-spacing: .1em; text-transform: uppercase; padding: .55em .9em; border-radius: 999px; border: 1px solid #DDD6C8; background: #FFFFFF; color: #3A4742; }
.qbh-studio .qs-status { display: flex; justify-content: flex-end; gap: 1.6em; font-weight: 700; }
.qbh-studio .qs-ok { color: #277A4D; }
.qbh-studio .qs-hide { color: #C93D29; }
.qbh-studio .qs-hint { display: flex; align-items: center; gap: .5em; color: #6B746F; font-size: .95em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qbh-studio .qs-q { background: #FFFFFF; border: 1px solid #E2DACA; border-radius: 1.1em; padding: 1.1em; display: flex; flex-direction: column; gap: .6em; }
.qbh-studio .qs-qhead { display: flex; align-items: flex-start; gap: .8em; margin-bottom: .2em; }
.qbh-studio .qs-qhead b { flex: 1; font-size: 1.12em; line-height: 1.3; }
.qbh-studio .qs-num { width: 1.9em; height: 1.9em; border-radius: .5em; background: #141E1A; color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-weight: 800; flex: none; }
.qbh-studio .qs-tools { display: flex; gap: .4em; }
.qbh-studio .qs-tools i { width: 2.2em; height: 2.2em; border-radius: .6em; border: 1px solid #E2DACA; display: flex; align-items: center; justify-content: center; color: #6B746F; }
.qbh-studio .qs-ans { display: flex; align-items: center; gap: .8em; padding: .75em .9em; border-radius: .8em; border: 1px solid #E2DACA; background: #FFFFFF; }
.qbh-studio .qs-l { width: 1.7em; height: 1.7em; border-radius: .45em; background: #F6F1E4; color: #6B746F; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9em; flex: none; }
.qbh-studio .qs-ans.is-ok { background: #E8F3EC; border-color: #8CC3A0; }
.qbh-studio .qs-ans.is-ok .qs-l { background: #277A4D; color: #FFFFFF; }
.qbh-studio .qs-ans em { margin-left: auto; font-style: normal; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: .78em; letter-spacing: .12em; text-transform: uppercase; color: #277A4D; font-weight: 600; }
.qbh-studio .qs-add { align-self: flex-start; padding: .55em .9em; border: 1px dashed #CFC6B4; border-radius: .7em; color: #6B746F; }
html[dir="rtl"] .qbh-studio .qs-lbl, html[dir="rtl"] .qbh-studio .qs-max, html[dir="rtl"] .qbh-studio .qs-chips span, html[dir="rtl"] .qbh-studio .qs-ans em { letter-spacing: 0; font-family: "Instrument Sans", ui-sans-serif, system-ui, sans-serif; }
html[dir="rtl"] .qbh-studio .qs-ans em { margin-left: 0; margin-right: auto; }

/* students card: app stores + browser extensions (2026-10-22) */
.qbh-getapp { margin-top: 22px; }
.qbh-getapp .qbh-eyebrow { display: block; margin-bottom: 10px; }
.qbh-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.qbh-badges a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1.5px solid #141E1A;
    background: #FFFFFF; color: #141E1A; box-shadow: 0 3px 0 #141E1A; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.qbh-badges a:hover { background: #FBF1D6; color: #141E1A; }
.qbh-badges a:active { transform: translateY(2px); box-shadow: 0 1px 0 #141E1A; }
.qbh-badges svg { width: 18px; height: 18px; flex: none; }

/* plan comparison (homepage #pricing, 2026-10-22) */
.qbh-compare { display: flex; justify-content: center; margin-top: 26px; }
.qbh-cmp-toggle svg { transition: transform .2s ease; }
.qbh-cmp-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.qbh-cmp { margin-top: 30px; scroll-margin-top: 86px; }
.qbh-cmp[hidden] { display: none; }
.qbh-cmp-h { font-family: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif; font-weight: 800; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.02em; text-align: center; margin: 0 0 18px; }
.qbh-cmp-lims { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.qbh-cmp-lim { background: #FFFFFF; border: 1.5px solid #141E1A; border-radius: 16px; box-shadow: 0 4px 0 #141E1A; padding: 16px 18px; }
.qbh-cmp-lim.is-pop { box-shadow: 0 4px 0 #C93D29; }
.qbh-cmp-lim b { display: block; font-family: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif; font-size: 20px; margin-bottom: 6px; }
.qbh-cmp-lim ul { margin: 0; padding: 0 0 0 18px; list-style: disc; color: #3A4742; font-size: 14.5px; display: flex; flex-direction: column; gap: 3px; }
.qbh-cmp-table { width: 100%; margin-top: 26px; border-collapse: separate; border-spacing: 0; background: #FFFFFF; border: 1.5px solid #141E1A; border-radius: 18px; box-shadow: 0 5px 0 #141E1A; font-size: 15px; }
.qbh-cmp-table thead th { position: sticky; top: 74px; z-index: 2; background: #141E1A; color: #F6F3EC; font-family: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif; font-size: 17px; padding: 12px 8px; text-align: center; }
.qbh-cmp-table thead th:first-child { border-top-left-radius: 16px; text-align: left; }
.qbh-cmp-table thead th:last-child { border-top-right-radius: 16px; }
.qbh-cmp-table thead th.is-pop { background: #C93D29; }
.qbh-cmp-table tbody th[scope="row"] { text-align: left; font-weight: 500; color: #141E1A; padding: 9px 14px; width: 40%; }
.qbh-cmp-table td { text-align: center; padding: 9px 6px; }
.qbh-cmp-table td.is-pop { background: #FBF6EA; }
.qbh-cmp-table tbody tr:not(.qbh-cmp-g) + tr:not(.qbh-cmp-g) > * { border-top: 1px solid rgba(20, 30, 26, .08); }
.qbh-cmp-g th { text-align: left; padding: 16px 14px 6px; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #C93D29; background: #FFFFFF; border-top: 1.5px solid rgba(20, 30, 26, .13); }
.qbh-cmp-table tbody:first-of-type .qbh-cmp-g th { border-top: 0; }
.qbh-yes { color: #277A4D; display: inline-block; vertical-align: middle; }
.qbh-no { color: #9AA39E; font-weight: 700; }
html[dir="rtl"] .qbh-cmp-table thead th:first-child, html[dir="rtl"] .qbh-cmp-table tbody th[scope="row"], html[dir="rtl"] .qbh-cmp-g th { text-align: right; }
html[dir="rtl"] .qbh-cmp-g th { letter-spacing: 0; font-family: "Instrument Sans", ui-sans-serif, system-ui, sans-serif; }
@media (max-width: 640px) {
    .qbh-cmp-table { font-size: 13px; }
    .qbh-cmp-table thead th { font-size: 12.5px; padding: 10px 2px; top: 74px; }
    .qbh-cmp-table tbody th[scope="row"] { padding: 8px 8px; width: auto; }
    .qbh-cmp-table td { padding: 8px 2px; }
    .qbh-cmp-g th { padding: 14px 8px 4px; }
}

/* plan period switch (homepage #pricing, 2026-10-22) */
.qbh-period-wrap { display: flex; justify-content: center; margin-top: 22px; }
.qbh-period { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 5px; border-radius: 999px; background: #FFFFFF; border: 1.5px solid #141E1A; box-shadow: 0 4px 0 #141E1A; }
.qbh-period button { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: transparent; color: #141E1A; font: inherit; font-weight: 800; font-size: 16px; cursor: pointer; }
.qbh-period button[aria-selected="true"] { background: #141E1A; color: #F6F3EC; }
.qbh-period button:focus-visible { outline: 3px solid #E2452F; outline-offset: 2px; }
.qbh-save { font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: #F4E05A; color: #141E1A; }
.qbh-plan-grid[hidden] { display: none; }
.qbh-plan-note { margin: 0; font-weight: 700; font-size: 14.5px; color: #C93D29; }
.qbh-plan--pop .qbh-approx { color: #C9CFCB; }
