/* Landing page only; shared application components keep their existing styles. */
.qm-landing-page { margin-bottom: 0; background: #fffdf8; }
.qm-landing-page > header .navbar { margin-bottom: 0 !important; box-shadow: none; }
.qm-page-shell > main { padding-bottom: 0 !important; }
.qm-lp { --qm-ink: #20352f; --qm-blue: #225dcc; --qm-muted: #53635f; color: var(--qm-ink); font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; }
.qm-lp * { box-sizing: border-box; }
.qm-lp img { display: block; width: 100%; height: auto; }
.qm-wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.qm-section { padding-block: clamp(72px, 9vw, 128px); }
.qm-lp h1, .qm-lp h2, .qm-lp h3 { font-weight: 750; letter-spacing: .025em; }
.qm-lp h2 { font-size: clamp(28px, 3.5vw, 42px); line-height: 1.6; margin-bottom: 24px; }
.qm-lp p { line-height: 1.9; }
.qm-eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .1em; margin-bottom: 24px; }
.qm-blue { color: var(--qm-blue); }
.qm-hero { background: #f5f4eb; padding-block: 76px 68px; overflow: hidden; }
.qm-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 36px; }
.qm-hero-hook { margin: 0 0 14px; color: var(--qm-muted); font-size: 17px; font-weight: 700; letter-spacing: .04em; }
.qm-hero h1 { font-size: clamp(28px, 3.15vw, 43px); line-height: 1.65; margin-bottom: 24px; }
.qm-lead { font-size: 17px; margin-bottom: 32px; }
.qm-button { display: inline-flex; align-items: center; justify-content: center; gap: 32px; min-height: 58px; padding: 16px 28px; border-radius: 999px; background: var(--qm-blue); color: white; font-size: 17px; font-weight: 700; text-decoration: none; box-shadow: 0 5px 0 #164596; }
.qm-button:hover { color: white; background: #174aaa; }
.qm-button span { font-size: 22px; }
.qm-lp a:focus-visible, .qm-lp summary:focus-visible { outline: 3px solid #a34517; outline-offset: 6px; }
.qm-benefits { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 0; margin: 24px 0 0; list-style: none; font-size: 13px; font-weight: 600; }
.qm-benefits li::before { content: "✓"; margin-right: 5px; color: var(--qm-blue); }
.qm-hero-visual { position: relative; min-height: 480px; }
.qm-orbit { position: absolute; width: 420px; height: 420px; background: #dfeadb; border-radius: 50%; top: 25px; left: 0; }
.qm-hero-paper { position: absolute; width: 52%; left: 0; top: 90px; transform: rotate(-9deg); margin: 0; }
.qm-hero-paper img { padding: 7px; background: white; box-shadow: 0 15px 35px #283f3220; }
.qm-hero-phone { position: relative; width: 51%; margin: 0 0 0 auto; transform: rotate(6deg); }
.qm-phone { border: 7px solid #283d37; border-radius: 32px; padding: 5px; background: #283d37; overflow: hidden; box-shadow: 0 20px 35px #20352f22; }
.qm-phone img { border-radius: 20px; }
.qm-hero-visual figcaption { text-align: center; margin-top: 18px; font-weight: 700; font-size: 14px; }
.qm-spark { position: absolute; left: 25%; top: 12px; font-size: 64px; color: #c5773c; }
.qm-features { background: #f2f6ee; }
.qm-feature-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 100px; }
.qm-feature-intro > p:not(.qm-eyebrow) { color: var(--qm-muted); }
.qm-feature-list { display: flex; flex-direction: column; gap: 55px; }
.qm-feature { display: flex; gap: 24px; }
.qm-number { color: #517467; font-size: 13px; padding-top: 8px; letter-spacing: .08em; }
.qm-feature h3 { font-size: 25px; margin-bottom: 14px; }
.qm-feature p { color: var(--qm-muted); margin: 0; font-size: 16px; }
.qm-paid { display: inline-block; font-size: 12px; color: #82512c; margin-top: 8px; }
.qm-screens { background: #eaf1f6; }
.qm-section-heading { text-align: center; }
.qm-section-heading h2 { margin-bottom: 12px; }
.qm-section-heading > p:last-child { color: var(--qm-muted); }
.qm-gallery { display: grid; grid-template-columns: 1.2fr .85fr .75fr; align-items: center; gap: 38px; margin-top: 64px; }
.qm-shot { margin: 0; min-width: 0; }
.qm-browser { overflow: hidden; background: white; border-radius: 12px; box-shadow: 0 18px 35px #20352f18; transform: rotate(-3deg); }
.qm-browser-bar { display: flex; gap: 5px; padding: 12px; background: #e0e6e9; }
.qm-browser-bar span { width: 6px; height: 6px; border-radius: 50%; background: #81918e; }
.qm-paper { padding: 8px; background: white; box-shadow: 0 18px 35px #20352f18; transform: rotate(4deg); }
.qm-gallery .qm-phone { max-width: 225px; margin-inline: auto; }
.qm-shot figcaption { margin-top: 30px; text-align: center; font-size: 14px; font-weight: 700; }
.qm-shot figcaption span { color: var(--qm-blue); margin-right: 8px; }
.qm-sample-note { text-align: center; color: var(--qm-muted); font-size: 12px; margin-top: 40px; }
.qm-center { text-align: center; }
.qm-text-link { display: inline-block; color: #214f92; text-underline-offset: 5px; line-height: 1.8; padding-block: 10px; }
.qm-text-link:hover { color: #16396d; }
.qm-faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.qm-questions details { border-bottom: 1px solid #d8ddd5; }
.qm-questions summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; list-style: none; padding: 24px 0; font-size: 16px; font-weight: 700; cursor: pointer; }
.qm-questions summary::-webkit-details-marker { display: none; }
.qm-questions summary::after { content: "+"; color: var(--qm-blue); font-size: 24px; font-weight: 400; }
.qm-questions details[open] summary::after { content: "−"; }
.qm-questions details p { color: var(--qm-muted); margin: 0 0 24px; }
.qm-contact { margin-top: 24px; }
.qm-final { background: #e7eedf; }
.qm-final-note { margin: 22px 0 0; font-size: 13px; }
@media (max-width: 900px) {
    .qm-hero-grid { gap: 20px; }
    .qm-hero-visual { min-height: 390px; }
    .qm-hero-phone { width: 58%; }
    .qm-orbit { width: 330px; height: 330px; }
    .qm-feature-layout { gap: 44px; }
    .qm-gallery { gap: 24px; }
}
@media (max-width: 640px) {
    .qm-wrap { width: calc(100% - 40px); }
    .qm-hero { padding: 40px 0 48px; }
    .qm-hero-grid, .qm-feature-layout, .qm-faq-layout { grid-template-columns: 1fr; gap: 40px; }
    .qm-hero-hook { font-size: 15px; margin-bottom: 10px; }
    .qm-hero h1 { font-size: clamp(24px, 6.5vw, 34px); line-height: 1.65; }
    .qm-eyebrow { font-size: 12px; margin-bottom: 18px; }
    .qm-lead { font-size: 15px; margin-bottom: 24px; }
    .qm-button { font-size: 16px; gap: 20px; }
    .qm-benefits { gap: 12px; font-size: 12px; margin-top: 20px; }
    .qm-hero-visual { width: min(360px, 100%); min-height: 0; margin-inline: auto; padding-bottom: 15px; }
    .qm-hero-phone { width: 53%; }
    .qm-orbit { width: 95%; height: auto; aspect-ratio: 1; top: 10px; }
    .qm-hero-paper { top: 65px; }
    .qm-spark { font-size: 40px; }
    .qm-phone { border-width: 5px; border-radius: 26px; padding: 3px; }
    .qm-phone img { border-radius: 17px; }
    .qm-feature-intro { position: relative; }
    .qm-feature-list { gap: 44px; }
    .qm-feature { gap: 18px; }
    .qm-feature h3 { font-size: 23px; }
    .qm-feature p { font-size: 15px; }
    .qm-gallery { grid-template-columns: 1fr; gap: 48px; margin-top: 40px; }
    .qm-shot-create { width: 100%; max-width: 380px; margin-inline: auto; }
    .qm-shot-paper { width: 76%; max-width: 300px; margin-inline: auto; }
    .qm-shot-phone { width: 72%; max-width: 240px; margin-inline: auto; }
    .qm-shot figcaption { margin-top: 24px; }
    .qm-sample-note { margin-top: 32px; }
    .qm-faq-layout { gap: 8px; }
    .qm-questions summary { font-size: 15px; }
}

/* Keep the paper participation example alongside the digital options. */
.qm-keyword { background: #f5efdf; }
.qm-keyword-grid { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 48px; }
.qm-keyword-card { background: #fffdf8; border: 1px solid #d8c9a8; border-radius: 20px; padding: 32px; }
.qm-keyword-card .qm-eyebrow { text-align: center; letter-spacing: .025em; }
.qm-keyword-example { display: flex; justify-content: center; gap: 16px; margin-bottom: 28px; }
.qm-keyword-example > div { flex: 1; max-width: 90px; text-align: center; }
.qm-keyword-example span { display: block; font-size: 13px; margin-bottom: 8px; }
.qm-keyword-example strong { display: grid; place-items: center; aspect-ratio: 1; border: 2px solid #688c77; border-radius: 8px; background: white; font-size: clamp(28px, 4vw, 42px); }
.qm-keyword-steps { padding-left: 1.5em; line-height: 1.9; }
.qm-keyword-steps li + li { margin-top: 8px; }
.qm-keyword-suggestion { color: var(--qm-muted); font-size: 13px; }
.qm-keyword-print { border-top: 1px dashed #d8b777; padding-top: 16px; margin-bottom: 0; font-size: 14px; }
.qm-keyword-note { margin: 28px 0 0; color: var(--qm-muted); font-size: 12px; }
@media (max-width: 767px) {
    .qm-keyword-grid { grid-template-columns: 1fr; gap: 28px; }
    .qm-keyword-card { padding: 24px 20px; }
}

/* Short scenes leave room for organizers to picture their own event. */
.qm-scene-list { max-width: 820px; margin: 48px auto 0; }
.qm-scene-list > div { display: grid; grid-template-columns: 1fr 1.8fr; gap: 32px; padding-block: 28px; border-bottom: 1px solid #d8ddd5; }
.qm-scene-list dt { font-size: 17px; line-height: 1.9; }
.qm-scene-list dd { margin: 0; color: var(--qm-muted); line-height: 1.9; }
.qm-feature-meta { display: block; color: #517467; font-size: 12px; margin-top: 12px; line-height: 1.8; }
.qm-shot figcaption small { display: block; margin-top: 10px; color: var(--qm-muted); font-size: 12px; font-weight: 400; line-height: 1.8; }
.qm-analysis { background: #eaf1f6; }
.qm-analysis-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: start; }
.qm-analysis-copy { color: var(--qm-muted); }
.qm-analysis-note { margin: 16px 0 0; font-size: 12px; }
.qm-final .qm-button { margin-top: 20px; }
@media (max-width: 900px) {
    .qm-analysis-grid { gap: 36px; }
}
@media (max-width: 640px) {
    .qm-lp h2 { font-size: clamp(22px, 6vw, 28px); }
    .qm-scene-list { margin-top: 32px; }
    .qm-scene-list > div { grid-template-columns: 1fr; gap: 8px; padding-block: 24px; }
    .qm-analysis-grid { grid-template-columns: 1fr; gap: 28px; }
    .qm-button { max-width: 100%; padding-inline: 20px; gap: 12px; font-size: 15px; }
}
@media (max-width: 640px) {
    .qm-landing-page .navbar-brand { max-width: 100%; margin-right: 0; white-space: normal; }
    .qm-landing-page .logo-text-wrap { min-width: 0; }
    .qm-landing-page .logo-sub { white-space: normal; }
    .qm-landing-page footer .container > div > div { max-width: 100%; }
}
