/* Homepage sections. Brand guide: yellow is a fill, one yellow object per view. */
.qc-section { padding: clamp(3.5rem, 9vw, 7rem) max(16px, calc((100% - 1120px) / 2)); }
/* Spacing ladder: this reset, GeneratePress's bare ul/ol margins and the component rules below all sit at type-selector
   strength and resolve by source order; a block's own single-class Styles value beats every one of them. */
:where(.qc-section) > :is(div, section, p, h1, h2, h3, h4, ul, ol, figure, form, details) { margin-inline: 0; max-width: none; }
:where(.qc-section) h2 { font-size: clamp(2rem, 5vw, 3.5rem); margin: 0 0 .5em; }
:where(.qc-section) h3 { font-size: 1.4rem; margin: .3em 0; }
.qc-surface { background: var(--qc-surface); }
.qc-band { background: var(--qc-band); color: var(--qc-on-band); }
.qc-signal { background: var(--qc-signal); color: var(--qc-on-signal); }
.qc-lede { font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 60ch; }
.qc-eyebrow { font-family: var(--qc-font-mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--qc-ink-2); margin: 0 0 1rem; }
:where(.qc-band) .qc-eyebrow { color: #A3A3A3; }
.qc-fine { font-size: .85rem; color: var(--qc-ink-2); }
:where(.qc-signal) .qc-fine { color: var(--qc-on-signal); }

/* Hero */
.qc-hero { background: #0A0A0A; text-align: left; padding-top: clamp(4rem, 10vw, 8rem); }
:where(.qc-hero) h1 { font-size: clamp(2.6rem, 8vw, 6rem); max-width: 14ch; margin: 0 0 .3em; }
.qc-hero-video { margin: 3rem 0 0; border: 1px solid #2A2A2A; border-radius: var(--qc-radius); overflow: hidden; }
:where(.qc-hero-video) video { display: block; width: 100%; height: auto; max-height: 80vh; object-fit: cover; }

/* Status strip */
.qc-status { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .75rem; }
.qc-status li { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; padding: .9rem 1rem; border: 1px solid var(--qc-line); border-radius: var(--qc-radius); }
.qc-status time { margin-left: auto; color: var(--qc-ink-2); }
.qc-dot { width: .7rem; height: .7rem; border-radius: 50%; flex: none; }
.qc-go { background: var(--qc-go); } .qc-slow { background: var(--qc-slow); } .qc-stop { background: var(--qc-stop); }

/* Cards, steps, channels */
.qc-card { background: var(--qc-bg); border: 1px solid var(--qc-line); border-radius: var(--qc-radius); padding: 1.75rem; }
.qc-steps { list-style: none; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
:where(.qc-steps) .qc-mono { color: var(--qc-ink-2); }
.qc-channels { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
:where(.qc-channels) li { padding: .55rem 1rem; border: 1px solid var(--qc-line); border-radius: var(--qc-radius); background: var(--qc-bg); }
:where(.qc-channels) .qc-soon { color: var(--qc-ink-2); border-style: dashed; }

/* Agent band */
.qc-agent { border-top: 1px solid var(--qc-line); border-bottom: 1px solid var(--qc-line); padding-block: 3rem; }
:where(.qc-agent) h2 { font-size: 1.6rem; }
:where(.qc-agent) p { color: var(--qc-ink-2); max-width: 60ch; }

/* FAQ */
.wp-block-details { border-top: 1px solid var(--qc-line); padding: 1rem 0; }
.wp-block-details summary { font-weight: 600; cursor: pointer; }

/* Final band */
.qc-final { position: relative; }
:where(.qc-final) h2 { max-width: 16ch; }

/* Front page chrome: full-bleed content, dark header, no yellow links on white */
.qc-designed .site-content { display: block; }
.qc-designed .site-content .content-area { width: 100%; }
.qc-designed .grid-container { max-width: none; }
.qc-designed .inside-article, .qc-designed .site-main { padding: 0; margin: 0; background: transparent; }
.qc-designed .entry-content > * { margin-top: 0; margin-bottom: 0; }
.qc-designed .entry-content a { color: inherit; }

/* Block header (GenerateBlocks Pro site-header + navigation + classic-menu), parts/header.php */
.qc-header { background: #0A0A0A; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #1F1F1F; }
.qc-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 12px max(16px, calc((100% - 1120px) / 2)); }
.qc-logo { display: block; line-height: 0; }
.qc-logo img { display: block; height: 28px; width: auto; }
.qc-nav { display: flex; align-items: center; }
.qc-menu .gb-menu { display: flex; align-items: center; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.qc-menu .gb-menu a { color: #F5F5F5; text-decoration: none; font-weight: 500; font-size: .95rem; }
.qc-menu .gb-menu a:hover { text-decoration: underline; text-underline-offset: 4px; }
.qc-menu .current-menu-item:not(.qc-menu-cta) > a { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.qc-menu .qc-menu-cta a { padding: .5rem 1rem; border: 1px solid #F5F5F5; border-radius: var(--qc-radius); } /* outline: the hero owns the one yellow button */
.qc-menu .qc-menu-cta a:hover { background: #F5F5F5; color: #0A0A0A; text-decoration: none; }
.qc-menu-toggle { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .85rem; background: transparent; color: #F5F5F5; border: 1px solid #2A2A2A; border-radius: var(--qc-radius); font: 600 .9rem var(--qc-font-body); cursor: pointer; }
.qc-menu-toggle svg { width: 1.25em; height: 1.25em; }
.gb-menu-toggle .gb-menu-close-icon { display: none; }
.gb-menu-toggle--toggled .gb-menu-open-icon { display: none; }
.gb-menu-toggle--toggled .gb-menu-close-icon { display: inline-flex; }
.qc-header a:focus-visible, .qc-menu-toggle:focus-visible { outline: 2px solid #FFD500; outline-offset: 3px; }
@media (max-width: 768px) {
	.qc-menu.gb-menu-container--toggled { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; gap: 2rem; padding: 12px 16px 32px; background: #0A0A0A; overflow-y: auto; }
	.qc-menu.gb-menu-container--toggled .gb-menu-toggle { align-self: flex-end; }
	.qc-menu .gb-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.qc-menu .gb-menu li { border-bottom: 1px solid #1F1F1F; }
	.qc-menu .gb-menu a { display: block; padding: 1.1rem 0; font: 800 clamp(1.75rem, 8vw, 2.5rem)/1 var(--qc-font-display); letter-spacing: -.035em; }
	.qc-menu .qc-menu-cta { border-bottom: 0; margin-top: 1.5rem; }
	.qc-menu .qc-menu-cta a { text-align: center; font: 700 1rem var(--qc-font-body); padding: 1rem; letter-spacing: 0; }
}
body[data-gb-menu-open] { overflow: hidden; }

/* Block footer, parts/footer.php */
.site-footer { background: #0A0A0A; color: #A3A3A3; border-top: 1px solid #1F1F1F; }
.qc-footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; padding: clamp(2.5rem, 7vw, 4.5rem) max(16px, calc((100% - 1120px) / 2)) 2rem; }
.qc-footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.qc-footer-tag { margin: 0; color: #D4D4D4; max-width: 28ch; }
.qc-footer-col { display: flex; flex-direction: column; gap: .6rem; }
.qc-footer-h { margin: 0 0 .4rem; font: 600 .75rem/1 var(--qc-font-mono); letter-spacing: .08em; text-transform: uppercase; color: #A3A3A3; }
.qc-footer-col a { color: #F5F5F5; text-decoration: none; }
.qc-footer-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.qc-footer-bottom { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid #1F1F1F; }
.qc-footer-copy { margin: 0; font-size: .8rem; }
@media (max-width: 700px) { .qc-footer-inner { grid-template-columns: 1fr 1fr; } .qc-footer-brand { grid-column: 1 / -1; } }


/* Legal documents (privacy policy, terms): readable column, sticky contents, reading progress */
.qc-legal-hero { padding-block: clamp(3rem, 8vw, 5.5rem); }
:where(.qc-legal-hero) h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); line-height: .95; margin: 0 0 1.25rem; max-width: 18ch; }
.qc-legal-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; color: #A3A3A3; font-size: .85rem; }
:where(.qc-legal-meta-item) time { color: #F5F5F5; margin-left: .35rem; }
.qc-legal-body { display: grid; gap: 2rem; grid-template-columns: 1fr; padding: clamp(2rem, 6vw, 4.5rem) max(16px, calc((100% - 1120px) / 2)); }
@media (min-width: 960px) { .qc-legal-body { grid-template-columns: 260px minmax(0, 1fr); gap: 4rem; align-items: start; } }
.qc-toc { border: 1px solid var(--qc-line); border-radius: var(--qc-radius); background: var(--qc-surface); }
@media (min-width: 960px) { .qc-toc { position: sticky; top: 88px; max-height: calc(100vh - 120px); overflow-y: auto; } }
.qc-toc summary { cursor: pointer; padding: .9rem 1rem; font: 600 .75rem/1 var(--qc-font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--qc-ink-2); list-style: none; }
.qc-toc summary::-webkit-details-marker { display: none; }
.qc-toc ol { margin: 0; padding: 0 0 .75rem; list-style: none; }
.qc-toc a { display: block; padding: .4rem 1rem; text-decoration: none; font-size: .9rem; color: var(--qc-ink-2); border-left: 2px solid transparent; }
.qc-toc a:hover { color: var(--qc-ink); }
.qc-toc a[aria-current="location"] { color: var(--qc-ink); border-left-color: var(--qc-ink); font-weight: 600; }
.qc-toc a:focus-visible { outline: 2px solid var(--qc-ink); outline-offset: -2px; }
.qc-legal-article { max-width: 68ch; }
:where(.qc-legal-article) h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 3rem 0 1rem; padding-top: 2rem; border-top: 1px solid var(--qc-line); scroll-margin-top: 1.5rem; }
.qc-legal-article > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
:where(.qc-legal-article) h3 { font-size: 1.15rem; margin: 2rem 0 .6rem; letter-spacing: -.02em; scroll-margin-top: 1.5rem; }
:where(.qc-legal-article) p,:where(.qc-legal-article) li { color: var(--qc-ink); }
:where(.qc-legal-article) p { margin: 0 0 1rem; }
:where(.qc-legal-article) ul { margin: 0 0 1.25rem; padding-left: 1.25rem; }
:where(.qc-legal-article) li { margin: .35rem 0; }
:where(.qc-legal-article) a { text-decoration: underline; text-underline-offset: 3px; }
.qc-legal .entry-content a:focus-visible { outline: 2px solid var(--qc-ink); outline-offset: 2px; }

/* reading progress under the sticky header */
@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: scroll()) {
		@keyframes qc-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
		.qc-legal .qc-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: #FFD500; transform-origin: left; animation: qc-progress linear both; animation-timeline: scroll(root); }
	}
}
