/* Requality project page, using the shared Formalized type, colours and motion. */
.rq-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 48px;
  min-height: min(900px, 100svh);
  padding: 154px var(--gutter) 94px;
  color: #fff;
  background: radial-gradient(ellipse at 80% 80%, rgb(233 67 34 / .2), transparent 58%), linear-gradient(160deg, #2c2e29, #10120f 75%);
}
.rq-hero .grain { z-index: -1; }
.rq-copy, .rq-preview { min-width: 0; position: relative; }
.rq-kicker { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: 0 0 30px; color: rgb(255 255 255 / .56); font-size: 10px; line-height: 1.6; letter-spacing: .08em; text-transform: uppercase; }
.rq-kicker a { display: inline-flex; align-items: center; min-height: 32px; }
.rq-kicker a:hover { color: #fff; }
.rq-kicker b { color: var(--orange); font-weight: 500; }
.rq-copy h1 { margin: 0; font: 500 clamp(48px, 5.8vw, 96px)/.96 var(--sans); letter-spacing: -.055em; }
.rq-copy h1 em { color: var(--orange); font-style: normal; }
.rq-lead { max-width: 47ch; margin: 30px 0 32px; color: rgb(255 255 255 / .76); font: 400 clamp(17px, 1.3vw, 20px)/1.55 var(--sans); }
.rq-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rq-actions .button { min-height: 46px; font-size: 11px; }
.rq-release { display: flex; align-items: center; gap: 10px; margin: 26px 0 0; color: rgb(255 255 255 / .55); font-size: 10px; line-height: 1.7; }
.rq-dot { flex: 0 0 5px; width: 5px; height: 5px; background: var(--orange); }
.rq-preview { margin: 0; box-shadow: 0 40px 100px -35px #000; border: 1px solid rgb(255 255 255 / .2); background: #1f211d; }
.rq-window-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; padding: 0 14px; border-bottom: 1px solid rgb(255 255 255 / .13); color: #b3b6ac; font-size: 9px; letter-spacing: .07em; }
.rq-window-dots { display: flex; gap: 5px; }
.rq-window-dots i { width: 5px; height: 5px; border: 1px solid #7f8279; border-radius: 50%; }
.rq-window-dots i:first-child { background: var(--orange); border-color: var(--orange); }
.rq-preview img { width: 100%; height: auto; display: block; }
.rq-preview figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 16px 14px; color: #b3b6ac; font-size: 9px; line-height: 1.5; border-top: 1px solid rgb(255 255 255 / .12); }
.rq-preview figcaption span:first-child { color: #fff; }
.rq-demo-toggle { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.rq-demo-toggle:hover { color: #fff; }
.rq-agent-note { margin-top: 22px; font-size: 14px; }

.rq-facts { padding: 0 var(--gutter); }
.rq-facts dl { max-width: 1500px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.rq-facts dl > div { padding: 38px 26px; border-left: 1px solid var(--line); }
.rq-facts dl > div:first-child { border-left: 0; padding-left: 0; }
.rq-facts dt { font: 500 clamp(38px, 4vw, 68px)/1 var(--sans); letter-spacing: -.05em; }
.rq-facts dd { margin: 14px 0 0; max-width: 22ch; color: var(--muted); font-size: 11px; line-height: 1.55; }

.rq-section { max-width: 1500px; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px 60px; margin: 0 auto; padding: 96px var(--gutter); border-bottom: 1px solid var(--line); }
.rq-section > .label { position: sticky; top: 112px; align-self: start; }
.rq-body { min-width: 0; }
.rq-heading { max-width: 25ch; margin: 0 0 24px; font: 500 clamp(30px, 3.4vw, 50px)/1.08 var(--sans); letter-spacing: -.04em; text-wrap: balance; }
.rq-prose { max-width: 69ch; margin: 0 0 26px; color: #4d5049; font: 400 17px/1.65 var(--sans); }
.rq-body code { padding: 1px 4px; background: var(--paper); border: 1px solid var(--line); font-family: var(--mono); font-size: .85em; overflow-wrap: anywhere; }
.rq-body p a, .rq-evidence a, .rq-downloads a, .rq-note a { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.rq-body p a:hover, .rq-evidence a:hover, .rq-downloads a:hover { color: var(--orange-ink); }

.rq-gallery { margin-top: 38px; }
.rq-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.rq-tabs button { display: flex; gap: 10px; align-items: center; min-height: 64px; padding: 14px 12px; color: var(--muted); text-align: left; font-size: 10px; border-bottom: 1px solid var(--line); transition: background .2s, color .2s, box-shadow .2s; }
.rq-tabs button span { color: var(--ink); font-size: 11px; }
.rq-tabs button[aria-selected="true"] { background: var(--orange-soft); color: var(--orange-ink); box-shadow: inset 0 -2px var(--orange); }
.rq-tabs button[aria-selected="true"] span { color: var(--orange-ink); }
.rq-tabs button:hover { background: var(--paper); }
.rq-tabs button[aria-selected="true"]:hover { background: var(--orange-soft); }
.rq-panel { margin: 0; }
.rq-panel img { width: 100%; height: auto; display: block; background: #202020; aspect-ratio: 1280 / 765; }
.rq-panel figcaption { min-height: 86px; margin: 0; padding: 20px 0; color: var(--muted); font: 400 14px/1.65 var(--sans); border-bottom: 1px solid var(--line); }
.rq-panel figcaption b { color: var(--ink); font-weight: 500; }

.rq-flow { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; margin: 38px 0 30px; border-top: 1px solid var(--ink); }
.rq-flow li { position: relative; padding: 28px 26px 32px 0; border-bottom: 1px solid var(--line); }
.rq-flow li:nth-child(even) { border-left: 1px solid var(--line); padding-right: 0; padding-left: 26px; }
.rq-flow li > span { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--orange-ink); }
.rq-flow h3 { margin: 18px 0 12px; font: 500 25px/1.1 var(--sans); letter-spacing: -.025em; }
.rq-flow p { margin: 0; max-width: 36ch; color: #4d5049; font: 400 15.5px/1.6 var(--sans); }
.rq-evidence { border-left: 2px solid var(--orange); padding: 4px 0 4px 22px; }
.rq-evidence p { max-width: 66ch; margin: 0 0 14px; color: #4d5049; font: 400 15.5px/1.65 var(--sans); }
.rq-evidence > div { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.rq-evidence a { display: inline-flex; align-items: center; min-height: 36px; font-size: 10px; line-height: 1.8; }

.rq-start { list-style: none; padding: 0; margin: 34px 0 48px; }
.rq-start li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.rq-start li > span { font-size: 11px; color: var(--orange-ink); padding-top: 5px; }
.rq-start h3 { margin: 0 0 10px; font: 500 25px/1.1 var(--sans); letter-spacing: -.025em; }
.rq-start p { margin: 0; max-width: 62ch; color: #4d5049; font: 400 16px/1.6 var(--sans); }
.rq-start .button { margin-top: 20px; }
.rq-downloads { background: var(--paper); border: 1px solid var(--line); padding: 30px; }
.rq-download-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 14px; }
.rq-download-head h3 { margin: 0; font: 500 28px/1.1 var(--sans); letter-spacing: -.025em; }
.rq-download-head a { font-size: 11px; }
.rq-downloads > p { margin: 18px 0 24px; font: 400 15px/1.6 var(--sans); color: #4d5049; }
.rq-downloads table { width: 100%; border-collapse: collapse; margin: 0; }
.rq-downloads th, .rq-downloads td { border-bottom: 1px solid var(--line); text-align: left; padding: 0 10px 0 0; }
.rq-downloads thead th { padding: 12px 10px 12px 0; color: var(--muted); font-size: 10px; text-transform: uppercase; font-weight: 400; }
.rq-downloads tbody th { font: 500 16px/1.4 var(--sans); }
.rq-downloads td a { display: inline-flex; align-items: center; min-height: 54px; font-size: 11px; white-space: nowrap; }
.rq-downloads p.rq-note, .rq-note { margin-bottom: 0; font: 400 12px/1.7 var(--mono); color: var(--muted); }
.rq-note a { display: inline-block; padding: 6px 0; }
.rq-source-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--ink); margin-top: 30px; }
.rq-source-links a { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.rq-source-links a:nth-child(odd) { padding-right: 24px; }
.rq-source-links a:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.rq-source-links a:hover { color: var(--orange-ink); }
.rq-source-links .ui-arrow { color: var(--orange); }

.rq-end { max-width: 1500px; margin: 0 auto; padding: 64px var(--gutter) 96px; }
.rq-colophon { margin: 0 0 34px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.rq-next { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.rq-next a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 26px; border: 1px solid var(--line); background: var(--paper); transition: background .25s, color .25s; }
.rq-next small { grid-column: 1/-1; color: var(--orange-ink); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }
.rq-next span { font: 500 clamp(25px, 2.7vw, 40px)/1 var(--sans); letter-spacing: -.04em; text-transform: uppercase; }
.rq-next .ui-arrow { color: var(--orange); align-self: end; font-size: 24px; }
.rq-next a:hover { color: #fff; background: var(--ink-deep); }
.rq-next a:hover small { color: var(--orange); }

@media (max-width: 1100px) {
  .rq-hero { gap: 30px; padding-top: 130px; }
  .rq-copy h1 { font-size: clamp(48px, 6vw, 70px); }
  .rq-section { grid-template-columns: 150px minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 900px) {
  .rq-hero { grid-template-columns: 1fr; padding: 128px var(--gutter) 64px; min-height: 0; gap: 48px; }
  .rq-copy h1 { font-size: clamp(52px, 9vw, 82px); }
  .rq-copy { max-width: 700px; }
  .rq-lead { max-width: 55ch; }
  .rq-preview { max-width: 880px; }
  .rq-section { grid-template-columns: 1fr; padding-top: 72px; padding-bottom: 72px; }
  .rq-section > .label { position: static; }
}
@media (max-width: 540px) {
  .rq-hero { padding-top: 112px; padding-bottom: 44px; gap: 36px; }
  .rq-kicker { font-size: 9px; gap: 6px 8px; margin-bottom: 20px; }
  .rq-kicker a { min-height: 44px; }
  .rq-copy h1 { font-size: clamp(42px, 11.5vw, 62px); }
  .rq-lead { margin: 24px 0; font-size: 17px; }
  .rq-actions .button { flex: 1 1 100%; justify-content: space-between; }
  .rq-release { font-size: 9px; margin-top: 22px; }
  .rq-window-head { gap: 8px; padding: 0 10px; font-size: 7px; min-height: 32px; }
  .rq-preview figcaption { font-size: 8px; padding: 12px 10px; }
  .rq-facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rq-facts dl > div, .rq-facts dl > div:first-child { padding: 26px 12px 24px 0; border-left: 0; }
  .rq-facts dl > div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .rq-facts dl > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .rq-facts dt { font-size: 42px; }
  .rq-facts dd { font-size: 10px; }
  .rq-section { padding-top: 54px; padding-bottom: 54px; gap: 24px; }
  .rq-heading { font-size: clamp(30px, 8vw, 40px); }
  .rq-prose { font-size: 16px; }
  .rq-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rq-tabs button { min-height: 48px; }
  .rq-panel figcaption { font-size: 13px; padding: 16px 0; }
  .rq-flow { grid-template-columns: 1fr; margin-top: 28px; }
  .rq-flow li, .rq-flow li:nth-child(even) { padding: 26px 0; border-left: 0; }
  .rq-flow p { max-width: none; }
  .rq-evidence { padding-left: 16px; }
  .rq-evidence a { min-height: 44px; }
  .rq-start { margin-bottom: 32px; }
  .rq-start li { grid-template-columns: 24px minmax(0, 1fr); gap: 12px; }
  .rq-start h3 { font-size: 22px; }
  .rq-start p { font-size: 15px; }
  .rq-downloads { padding: 22px 16px; }
  .rq-downloads tbody th { font-size: 14px; }
  .rq-downloads td a { font-size: 10px; }
  .rq-downloads p.rq-note { font-size: 11px; }
  .rq-source-links a { font-size: 11px; }
  .rq-source-links a:nth-child(odd) { padding-right: 12px; }
  .rq-source-links a:nth-child(even) { padding-left: 12px; }
  .rq-end { padding-top: 44px; padding-bottom: 64px; }
  .rq-next { grid-template-columns: 1fr; }
  .rq-next a { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .rq-tabs button, .rq-next a { transition: none; }
}
