/* QDeep's long-form vision and framework pages share a calm reading layout. */
:root {
  color-scheme: dark;
  --qdd-base: #0a0a0b;
  --qdd-ink: #f4f2ef;
  --qdd-muted: #b6b2ad;
  --qdd-accent: #ea5b1e;
  --qdd-line: rgba(244, 242, 239, .13);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body.qdd-page {
  margin: 0;
  background: var(--qdd-base);
  color: var(--qdd-ink);
  font-family: 'Space Grotesk', sans-serif;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--qdd-accent); color: #0a0a0b; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #ffc79c; outline-offset: 5px; }
img { display: block; max-width: 100%; }
.qdd-container { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.qdd-skip { position: fixed; left: 20px; top: -100px; z-index: 100; padding: 14px 20px; background: var(--qdd-ink); color: var(--qdd-base); }
.qdd-skip:focus { top: 12px; }
.qdd-brand { display: flex; align-items: center; margin-right: auto; min-height: 44px; flex: 0 0 auto; }
.qdd-brand img { height: 32px; width: auto; }
.qdd-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 14px 24px; background: var(--qdd-accent); color: #0a0a0b; font-size: 14px; font-weight: 600; }
.qdd-button:hover { background: #f27135; }
.qdd-hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--qdd-line); background: #0e0d0d; }
.qdd-hero-art { position: absolute; inset: 0; z-index: -2; background-position: right center; background-size: cover; opacity: .48; }
.qdd-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,10,11,.96), rgba(10,10,11,.86) 35%, rgba(10,10,11,.3) 75%), linear-gradient(0deg, #0a0a0b, transparent 35%), radial-gradient(ellipse at 70% 35%, rgba(234,91,30,.11), transparent 75%); }
.qdd-hero-copy { padding-block: 40px 76px; }
.qdd-back { display: inline-flex; align-items: center; min-height: 44px; color: #cbc5bc; font-size: 13px; margin-bottom: 58px; }
.qdd-back:hover { color: var(--qdd-accent); }
.qdd-eyebrow { color: var(--qdd-accent) !important; font-size: 11px !important; font-weight: 500; line-height: 1.5 !important; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 22px; }
.qdd-hero h1 { max-width: 960px; margin: 0 0 28px; font-size: clamp(44px, 6.1vw, 84px); font-weight: 500; line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
.qdd-lead { max-width: 680px; color: #d6d1c9; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6; margin: 0; text-wrap: pretty; }
.qdd-hero-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 36px; color: #a6a096; font-size: 12px; letter-spacing: .05em; }
.qdd-hero-meta > * { margin: 0; }
.qdd-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 80px; align-items: start; padding-top: 80px; padding-bottom: 100px; }
.qdd-toc { position: sticky; top: 116px; padding-bottom: 20px; }
.qdd-toc > p, .qdd-toc > h2 { margin: 0 0 22px; color: #8c867f; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.qdd-toc ul, .qdd-toc ol { list-style: none; margin: 0; padding: 0; }
.qdd-toc a { display: flex; align-items: baseline; gap: 12px; min-height: 44px; padding: 12px 0; border-bottom: 1px solid var(--qdd-line); color: #b6b2ad; font-size: 13px; line-height: 1.45; }
.qdd-toc a:hover, .qdd-toc a:focus-visible { color: var(--qdd-accent); }
.qdd-toc a span:first-child { color: #a16b4b; font-size: 11px; }
.qdd-article { min-width: 0; max-width: 900px; }
.qdd-section { padding-top: 0; padding-bottom: 64px; margin-bottom: 64px; border-bottom: 1px solid var(--qdd-line); scroll-margin-top: 110px; }
.qdd-section:last-child { margin-bottom: 0; }
.qdd-section h2 { margin: 0 0 24px; max-width: 800px; font-size: clamp(30px, 3vw, 44px); font-weight: 500; line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
.qdd-section h3 { margin: 0 0 12px; font-size: 21px; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; }
.qdd-section p, .qdd-section li { color: var(--qdd-muted); font-size: 17px; line-height: 1.75; text-wrap: pretty; }
.qdd-section p { margin: 0 0 22px; }
.qdd-section p:last-child { margin-bottom: 0; }
.qdd-section > p { max-width: 760px; }
.qdd-section ul, .qdd-section ol { padding-left: 22px; }
.qdd-section li { padding-left: 4px; margin-bottom: 12px; }
.qdd-statement { margin: 36px 0; padding: 28px 0 28px 28px; border-left: 2px solid var(--qdd-accent); color: var(--qdd-ink); font-size: clamp(23px, 2.4vw, 32px); line-height: 1.4; letter-spacing: -.02em; }
.qdd-statement p { color: var(--qdd-ink); font-size: inherit; line-height: inherit; }
.qdd-number { display: block; color: var(--qdd-accent); font-size: 12px; font-weight: 500; letter-spacing: .1em; }
.qdd-principles { list-style: none; padding: 0 !important; margin: 32px 0 0; }
.qdd-principle, .qdd-component { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 22px; padding: 28px 0; border-top: 1px solid var(--qdd-line); }
.qdd-principle .qdd-number, .qdd-component .qdd-number { grid-column: 1; grid-row: 1 / 4; padding-top: 5px; }
.qdd-principle > h3, .qdd-principle > p { grid-column: 2; }
.qdd-principle p, .qdd-component p { font-size: 16px; margin: 0; }
.qdd-component-list { margin-top: 34px; }
.qdd-compute-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; margin-top: 36px; }
.qdd-compute { padding-top: 22px; border-top: 2px solid #6b4934; min-width: 0; }
.qdd-compute h3 { font-size: 20px; }
.qdd-compute p { font-size: 15px; line-height: 1.7; }
.qdd-compute .qdd-eyebrow { margin-bottom: 14px; }
.qdd-section .qdd-flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin: 36px 0; padding: 22px 0 0; border-top: 1px solid #805136; list-style: none; }
.qdd-section .qdd-flow-step { position: relative; min-width: 0; margin: 0; padding: 0; }
.qdd-flow-step:not(:last-child)::after { content: '→'; position: absolute; top: -31px; right: -15px; color: #ad7b57; background: var(--qdd-base); padding-inline: 4px; }
.qdd-flow-step h3 { font-size: 17px; margin-top: 18px; }
.qdd-flow-step p { font-size: 14px; line-height: 1.65; }
.qdd-table-wrap { margin-top: 30px; overflow-x: auto; overscroll-behavior-x: contain; }
.qdd-table-wrap:focus-visible { outline: 2px solid #ffc79c; outline-offset: 5px; }
.qdd-table-wrap table { width: 100%; border-collapse: collapse; text-align: left; min-width: 580px; }
.qdd-table-wrap caption { text-align: left; margin-bottom: 18px; color: #c6bfb5; font-size: 13px; line-height: 1.5; }
.qdd-table-wrap th, .qdd-table-wrap td { padding: 18px 20px 18px 0; vertical-align: top; border-bottom: 1px solid var(--qdd-line); font-size: 14px; line-height: 1.65; }
.qdd-table-wrap th { color: var(--qdd-ink); font-weight: 500; }
.qdd-table-wrap td { color: var(--qdd-muted); }
.qdd-table-wrap td:first-child { color: var(--qdd-ink); font-weight: 500; width: 17%; }
.qdd-note { padding: 24px 28px; border-left: 2px solid #927358; background: #15120f; margin-top: 32px; }
.qdd-note p { font-size: 15px; color: #cbc3b8; }
.qdd-workloads { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px; margin-top: 32px; }
.qdd-workload { border-top: 1px solid var(--qdd-line); padding-top: 22px; }
.qdd-workload h3 { font-size: 18px; }
.qdd-workload p { font-size: 15px; }
.qdd-example { margin-top: 32px; padding: 30px; border: 1px solid #493224; background: linear-gradient(135deg, #17120f, #0a0a0b); }
.qdd-example p, .qdd-example li { font-size: 16px; }
.qdd-link { display: inline-flex; align-items: center; gap: 12px; color: #f0ad85; min-height: 44px; font-size: 14px; }
.qdd-link:hover { color: #ffc79c; }
.qdd-section p a:not(.qdd-button), .qdd-section li a { color: #f0ad85; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #795039; }
.qdd-related { padding: 40px; border: 1px solid #503625; background: radial-gradient(ellipse at top right, rgba(234,91,30,.08), transparent 75%); }
.qdd-related h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; font-weight: 500; letter-spacing: -.03em; margin: 0 0 20px; }
.qdd-related p { color: var(--qdd-muted); font-size: 17px; line-height: 1.65; }
.qdd-related > div { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; margin-top: 24px; }
.qdd-related .qdd-button { margin-right: 20px; }
.qdd-footer { border-top: 1px solid var(--qdd-line); padding-block: 34px; }
.qdd-footer .qdd-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.qdd-footer p { color: #847c73; font-size: 12px; margin: 0; }
.qdd-footer nav, .qdd-footer .qdd-footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.qdd-footer a { color: #b6b2ad; font-size: 12px; min-height: 44px; display: inline-flex; align-items: center; }
.qdd-footer a:hover { color: var(--qdd-accent); }
/* The two standalone pages each lead with a fully visible illustration. */
.qdd-concise .qdd-illustrated-hero { overflow: visible; background: radial-gradient(ellipse at 80% 30%, rgba(234,91,30,.07), transparent 70%), var(--qdd-base); }
.qdd-concise .qdd-illustrated-hero::after { content: none; }
.qdd-hero-layout { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.2fr); align-items: center; gap: clamp(32px,4vw,64px); padding-block: 56px 72px; }
.qdd-concise .qdd-hero-copy { padding: 0; min-width: 0; }
.qdd-concise .qdd-back { margin-bottom: 28px; }
.qdd-concise .qdd-hero h1 { max-width: 620px; font-size: clamp(36px,4.7vw,64px); font-weight: 500; line-height: 1.08; letter-spacing: -.04em; text-wrap: balance; }
.qdd-concise .qdd-lead { max-width: 500px; font-size: clamp(17px,1.6vw,20px); }
.qdd-hero-figure { min-width: 0; margin: 0; }
.qdd-hero-image { display: block; width: 100%; height: auto; border: 1px solid rgba(244,242,239,.1); border-radius: 4px; }
.qdd-image-caption { margin-top: 16px; color: #b6b2ad; font-size: 13px; line-height: 1.65; text-wrap: pretty; }
.qdd-concise .qdd-layout { display: block; max-width: 1000px; padding-top: 56px; padding-bottom: 72px; }
.qdd-concise .qdd-article { max-width: none; }
.qdd-concise .qdd-section { padding-bottom: 44px; margin-bottom: 44px; }
.qdd-concise .qdd-section h2 { font-size: clamp(30px,3.5vw,44px); }
.qdd-concise .qdd-section > p { max-width: 800px; }
.qdd-concise .qdd-section:last-of-type { border-bottom: 0; margin-bottom: 0; }
.qdd-concise .qdd-related { margin-top: 16px; }
.qdd-footer .qdd-footer-layout { display: grid; grid-template-columns: minmax(210px,.85fr) minmax(0,1.7fr); gap: 40px; align-items: start; }
.qdd-footer-intro .qdd-brand { margin-bottom: 14px; }
.qdd-footer-intro .qdd-link { margin-top: 14px; }
.qdd-footer .qdd-footer-groups { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.qdd-footer-groups > div { display: flex; flex-direction: column; align-items: flex-start; }
.qdd-footer-groups a { line-height: 1.45; }
.qdd-footer-groups .qdd-footer-category { color: #d9d0c4; font-size: 13px; margin-bottom: 6px; }
.qdd-footer-groups a[aria-current] { color: #f0ad85; }
@media (max-width: 1000px) {
  .qdd-hero-layout { grid-template-columns: 1fr; gap: 32px; }
  .qdd-concise .qdd-hero-copy { max-width: 720px; }
  .qdd-concise .qdd-hero h1 { max-width: 720px; }
}
@media (max-width: 600px) {
  .qdd-brand img { height: 27px; }
  .qdd-hero-layout { display: block; padding-block: 32px 40px; }
  .qdd-concise .qdd-back { margin-bottom: 24px; }
  .qdd-concise .qdd-hero h1 { font-size: clamp(36px,10vw,48px); }
  .qdd-concise .qdd-hero-copy { padding: 0; }
  .qdd-hero-figure { margin-top: 32px; }
  .qdd-image-caption { margin-top: 12px; font-size: 13px; }
  .qdd-concise .qdd-layout { padding-block: 36px 56px; }
  .qdd-concise .qdd-section { padding-bottom: 36px; margin-bottom: 36px; }
  .qdd-footer .qdd-footer-layout { display: block; }
  .qdd-footer .qdd-footer-groups { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 18px; margin-top: 24px; }
  .qdd-footer-groups > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 1100px) {
  .qdd-container { width: calc(100% - 64px); }
  .qdd-layout { grid-template-columns: 180px minmax(0,1fr); gap: 48px; }
  .qdd-section .qdd-flow { display: block; border: 0; padding-top: 0; }
  .qdd-section .qdd-flow-step { display: grid; grid-template-columns: 32px minmax(0,1fr); gap: 0 18px; padding: 20px 0; border-top: 1px solid var(--qdd-line); }
  .qdd-flow-step .qdd-number { grid-row: 1 / 3; padding-top: 2px; }
  .qdd-flow-step h3 { margin-top: 0; }
  .qdd-flow-step p { grid-column: 2; }
  .qdd-flow-step:not(:last-child)::after { content: none; }
  .qdd-compute-grid { gap: 20px; }
}
@media (max-width: 900px) {
  .qdd-layout { display: block; padding-top: 36px; }
  .qdd-toc { position: static; padding: 0 0 28px; margin-bottom: 44px; border-bottom: 1px solid var(--qdd-line); }
  .qdd-toc ul, .qdd-toc ol { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 28px; }
  .qdd-article { max-width: none; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 88px; }
  .qdd-container { width: calc(100% - 40px); }
  .qdd-hero-copy { padding-block: 24px 48px; }
  .qdd-back { margin-bottom: 34px; }
  .qdd-hero h1 { font-size: clamp(36px, 9.5vw, 52px); letter-spacing: -.04em; line-height: 1.08; }
  .qdd-hero-art { background-position: 65% center; opacity: .35; }
  .qdd-hero::after { background: linear-gradient(90deg, rgba(10,10,11,.86), rgba(10,10,11,.58)), linear-gradient(0deg, #0a0a0b, transparent 45%); }
  .qdd-lead { font-size: 17px; }
  .qdd-hero-meta { gap: 10px 20px; margin-top: 24px; }
  .qdd-layout { padding-block: 28px 64px; }
  .qdd-toc ul, .qdd-toc ol { display: block; }
  .qdd-toc a { padding-block: 10px; }
  .qdd-section { padding-bottom: 40px; margin-bottom: 40px; scroll-margin-top: 90px; }
  .qdd-section h2 { font-size: 30px; }
  .qdd-section p, .qdd-section li { font-size: 16px; line-height: 1.75; }
  .qdd-section h3 { font-size: 20px; }
  .qdd-statement { padding-left: 20px; font-size: 24px; }
  .qdd-principle, .qdd-component { grid-template-columns: 24px minmax(0,1fr); gap: 16px; padding-block: 24px; }
  .qdd-compute-grid, .qdd-workloads { grid-template-columns: 1fr; gap: 24px; }
  .qdd-compute p, .qdd-workload p, .qdd-note p { font-size: 15px; }
  .qdd-note, .qdd-example, .qdd-related { padding: 24px 20px; }
  .qdd-related .qdd-button { margin: 0 0 10px; width: 100%; }
  .qdd-related > div { display: block; }
  .qdd-footer .qdd-container { display: block; }
  .qdd-footer nav, .qdd-footer .qdd-footer-links { margin-top: 20px; gap: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
