/*
  architect.loomiks.ai. Family of loomiks.ai, the Sizer and the Planner: dark ground, Quicksand only, pill buttons, a
  light running along the header line, glass cards, a lit accent. Palette Quartz (owner, 4 December 2026): violet on a
  violet black ground, here with depth: gradients, light behind what is chosen, and hardware drawn in three dimensions.
  The second design (owner, 4 December 2026, evening): one page, the tools as its sections, the selection as steps that
  open one after another, and no flat grid of squares. Ice is the second colour of the drawings: where the colour
  changes, one NVLink domain ends. No inline style anywhere: positions in drawings are SVG geometry.
*/
@font-face { font-family: 'Quicksand'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/quicksand-latin-400.woff2') format('woff2'); }
@font-face { font-family: 'Quicksand'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/quicksand-latin-500.woff2') format('woff2'); }
@font-face { font-family: 'Quicksand'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/quicksand-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Quicksand'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/quicksand-latin-700.woff2') format('woff2'); }

:root {
  color-scheme: dark;
  --ground: #0b0912;
  --sheet: #13101d;
  --ink: #f4f1fb;
  --accent: #b69cff;
  --accent-hi: #ddd0ff;
  --accent-lo: #8b6cf5;
  --on-accent: #160a33;
  --ice: #8fd8ff;
  --glow: 182, 156, 255;
  --ink2: color-mix(in srgb, var(--ink) 74%, transparent);
  --ink3: color-mix(in srgb, var(--ink) 58%, transparent);
  --rule: rgba(255, 255, 255, 0.085);
  --rule2: rgba(255, 255, 255, 0.17);
  /* Edges that identify a control: at least 3:1 against the ground (WCAG 2.1, 1.4.11). */
  --edge: rgba(255, 255, 255, 0.42);
  --ok: #86e3a4;
  --wait: #f6c768;
  --stop: #ff8d84;
  --f: 'Quicksand', 'Avenir Next', system-ui, sans-serif;
  --paper: 6px;
  --typed: 12px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --void: #07060d;
  --gb: rgba(255, 255, 255, 0.1);
  --glass: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.016));
  --grad: linear-gradient(120deg, #ebe2ff 0%, #b69cff 46%, #8b6cf5 100%);
  --lift: 0 44px 120px -44px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 500 16px/1.6 var(--f); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums;
}
::selection { background: var(--accent); color: var(--on-accent); }
a { color: inherit; }
h1, h2, h3, h4, p, figure, dl, dd, ul, ol { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
button, input, select, textarea { font: inherit; color: inherit; }
:is(a, button, input, select, summary, textarea):focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 6px; }
#main:focus, main > section:focus { outline: none; }
.wrap { width: min(calc(100% - clamp(2rem, 5vw, 5rem)), 88rem); margin-inline: auto; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 40; padding: 8px 14px; border-radius: 8px; background: var(--ink); color: var(--ground); font-weight: 700; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }
code { color: var(--ink3); font-size: 0.74rem; font-family: ui-monospace, 'SF Mono', Menlo, monospace; }
.iso-defs { position: absolute; }

/* Header: the sections of the page on one line, and a light runs along the line. Over the opening it has no plate; once
   the page moves it stands on one. Without script the plate is always there. */
.top { position: fixed; top: 0; right: 0; left: 0; z-index: 30; height: 68px; }
.top::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 9, 18, 0.96), rgba(11, 9, 18, 0.86)); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); transition: opacity 0.24s; }
.js .top:not(.solid)::after { opacity: 0; }
.bus { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; overflow: hidden; background: linear-gradient(90deg, transparent, var(--rule2) 4%, var(--rule2) 96%, transparent); }
.bus::after { content: ''; position: absolute; top: 0; left: -240px; width: 240px; height: 100%; background: linear-gradient(90deg, transparent, var(--accent), var(--accent-hi)); animation: run 7s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite; }
@keyframes run { 0% { transform: translateX(0); opacity: 0; } 8%, 55% { opacity: 1; } 62%, 100% { transform: translateX(calc(100vw + 240px)); opacity: 0; } }
.top-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.logo { display: flex; align-items: center; height: 44px; }
.logo svg { display: block; width: 106px; height: 28px; }
.prod { position: relative; padding-left: 15px; color: var(--accent); font-size: 0.875rem; font-weight: 600; white-space: nowrap; text-decoration: none; }
.prod::before { content: ''; position: absolute; top: 50%; left: 0; width: 1px; height: 16px; margin-top: -8px; background: var(--rule2); }
.h-link { position: relative; display: inline-flex; align-items: center; gap: 7px; height: 68px; padding: 0 13px; color: var(--ink2); font-size: 0.90625rem; font-weight: 500; text-decoration: none; white-space: nowrap; transition: color 0.18s; }
.h-link:hover, .h-link:focus-visible { color: #fff; }
.h-link:focus-visible { outline-offset: -8px; }
.h-link .ic { width: 15px; height: 15px; opacity: 0.75; }
.nav, .acts { display: none; }
.nav .h-link::after { content: ''; position: absolute; right: 10px; bottom: 0; left: 10px; height: 2px; border-radius: 2px 2px 0 0; background: var(--grad); box-shadow: 0 0 14px rgba(var(--glow), 0.9); opacity: 0; transform: scaleX(0.4); transition: opacity 0.2s, transform 0.28s var(--ease); }
.nav .h-link:hover::after, .nav .h-link:focus-visible::after { opacity: 0.6; transform: none; }
.nav .h-link.is-live { color: var(--accent-hi); font-weight: 600; }
.nav .h-link.is-live::after { opacity: 1; transform: none; }
.acts .h-link { color: var(--ink); font-weight: 600; }
/* The menu of a narrow screen: a details element, so it needs no script. */
.menu { display: block; flex: none; }
.menu summary { position: relative; display: block; width: 44px; height: 44px; margin-right: -11px; list-style: none; cursor: pointer; background: linear-gradient(var(--ink), var(--ink)) 50% 15px / 18px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) 50% 21px / 18px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) 50% 27px / 18px 1.5px no-repeat; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: none; }
.menu[open] summary::before, .menu[open] summary::after { content: ''; position: absolute; top: 21px; left: 13px; width: 18px; height: 1.5px; background: var(--ink); }
.menu[open] summary::before { transform: rotate(45deg); }
.menu[open] summary::after { transform: rotate(-45deg); }
.menu nav { position: absolute; top: 68px; right: calc(-1 * clamp(1rem, 2.5vw, 2.5rem)); left: calc(-1 * clamp(1rem, 2.5vw, 2.5rem)); display: grid; max-height: calc(100vh - 68px); max-height: calc(100dvh - 68px); padding: 6px clamp(1rem, 2.5vw, 2.5rem) 20px; overflow-y: auto; border-bottom: 1px solid var(--rule2); background: rgba(11, 9, 18, 0.98); box-shadow: 0 30px 60px -30px #000; }
.menu nav .h-link { height: 52px; padding: 0; font-size: 1.0625rem; }
.menu nav .h-link.is-live { color: var(--accent-hi); }
.menu nav .h-out { color: var(--ink); }
.menu nav .h-link + .h-out { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--rule); height: 60px; }
.menu nav .h-out + .h-out { margin-top: 0; padding-top: 0; border-top: 0; height: 52px; }
@media (min-width: 1180px) {
  .nav, .acts { display: flex; }
  .menu { display: none; }
  .nav { position: absolute; top: 0; left: 50%; transform: translateX(-50%); }
  .acts { gap: 4px; margin-right: -13px; }
}
@media (min-width: 1180px) and (max-width: 1379px) { .h-link { padding: 0 10px; font-size: 0.84375rem; } .acts .h-link:last-child { display: none; } }
@media (max-width: 480px) { .prod { display: none; } }

/* Buttons are pills. The one that moves the visitor on is lit. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 26px; border: 1px solid transparent; border-radius: 999px; font-weight: 700; font-size: 0.96rem; line-height: 1.1; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.25s, transform 0.2s; }
.btn.primary { background: var(--grad); color: var(--on-accent); box-shadow: 0 14px 34px -14px rgba(var(--glow), 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn.primary:hover { box-shadow: 0 0 0 6px rgba(var(--glow), 0.16), 0 20px 46px -14px rgba(var(--glow), 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.5); transform: translateY(-1px); }
.btn.ghost { border-color: var(--edge); background: rgba(11, 9, 18, 0.4); color: var(--ink); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn.ghost:hover { border-color: var(--accent); background: rgba(var(--glow), 0.1); color: #fff; }
.btn.small { min-height: 40px; padding: 0 18px; font-size: 0.875rem; }
.btn.big { min-height: 56px; padding: 0 30px; font-size: 1rem; }
.btn .ic { width: 18px; height: 18px; }
.row, .ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.actions { margin-top: 26px; }

/* Words that carry status: the word says it, the dot and the colour only support it. */
.verdict { display: inline-flex; align-items: center; gap: 8px; color: var(--ink2); font-size: 0.875rem; font-weight: 700; }
.verdict::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }
.verdict.big { padding: 5px 14px 5px 11px; border: 1px solid color-mix(in srgb, currentColor 36%, transparent); border-radius: 999px; background: color-mix(in srgb, currentColor 9%, transparent); font-size: 0.92rem; }
.verdict.fit { color: var(--ok); }
.verdict.provisional { color: var(--wait); }
.verdict.excluded { color: var(--stop); }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--accent-hi); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--accent); box-shadow: 0 0 10px rgba(var(--glow), 0.9); }
.res-k { color: var(--accent); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.by { color: var(--ink3); font-size: 0.86rem; font-weight: 600; line-height: 1.5; }
.note { color: var(--ink3); font-size: 0.875rem; line-height: 1.5; }
.prose { max-width: 46rem; color: var(--ink2); font-size: 1rem; line-height: 1.65; text-wrap: pretty; }
.prose + .qs, .prose + .prose { margin-top: 10px; }
.prose b { color: var(--ink); }
.when { color: var(--accent-hi); font-size: 0.875rem; font-weight: 600; }
.links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.links a, .prose a, .note a, .qs a, .chain a { color: var(--accent-hi); text-decoration: none; }
.links a:hover, .prose a:hover, .note a:hover, .qs a:hover, .chain a:hover { text-decoration: underline; text-underline-offset: 3px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; color: var(--ink2); font-size: 0.78rem; }
.fact { padding: 3px 10px; border: 1px solid var(--rule); border-radius: 999px; background: rgba(255, 255, 255, 0.03); white-space: nowrap; }
.fact b { color: var(--ink); font-weight: 700; }
.alert { margin: 0 0 22px; padding: 12px 16px; border-left: 3px solid var(--wait); border-radius: 0 var(--typed) var(--typed) 0; background: color-mix(in srgb, var(--wait) 9%, transparent); color: var(--wait); font-weight: 600; font-size: 0.92rem; }
.alert-link { color: var(--ink); text-decoration: underline; }
.key { display: inline-block; width: 10px; height: 10px; margin-right: 4px; border-radius: 3px; background: linear-gradient(180deg, #efe8ff, #a585ff); vertical-align: -1px; }
.key.d1 { margin-right: 8px; background: linear-gradient(180deg, #d6f4ff, #56bff0); }
.legend { margin-top: 14px; color: var(--ink3); font-size: 0.84rem; }

/* Evidence: a stamp on the line it supports. */
.chip { display: inline-flex; align-items: center; padding: 1px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); color: var(--ink2); font-size: 0.74rem; font-weight: 700; white-space: nowrap; }
.chip.Published, .chip.Signed, .chip.Measured, .chip.Confirmed { background: color-mix(in srgb, var(--ok) 13%, transparent); color: var(--ok); }
.chip.Estimate { background: color-mix(in srgb, var(--wait) 13%, transparent); color: var(--wait); }
.chip.Missing { background: color-mix(in srgb, var(--stop) 14%, transparent); color: var(--stop); }
.chip.stale { background: color-mix(in srgb, var(--wait) 13%, transparent); color: var(--wait); }

/* The opening: the headline over the hall of racks, lit where the device can draw it. */
.hero { position: relative; display: flex; align-items: center; min-height: max(680px, 100svh); padding: 132px 0 104px; overflow: hidden; isolation: isolate; }
.hall, .hall-alt, .scrim { position: absolute; inset: 0; width: 100%; height: 100%; }
.hall { z-index: -2; display: block; opacity: 0; transition: opacity 1.6s ease; }
.has-hall .hall { opacity: 1; }
.hall-alt { z-index: -3; background: radial-gradient(52% 62% at 76% 44%, rgba(139, 108, 245, 0.3), transparent 72%), radial-gradient(40% 50% at 96% 88%, rgba(143, 216, 255, 0.1), transparent 70%), repeating-linear-gradient(90deg, rgba(var(--glow), 0.05) 0 1px, transparent 1px 76px), linear-gradient(180deg, #120d22, var(--ground)); }
.hall-alt .iso { position: absolute; right: -2%; bottom: 6%; width: min(58%, 880px); height: auto; opacity: 0.95; -webkit-mask: linear-gradient(90deg, transparent, #000 34%); mask: linear-gradient(90deg, transparent, #000 34%); transition: opacity 1.2s; }
.has-hall .hall-alt .iso { opacity: 0; }
.scrim { z-index: -1; background: linear-gradient(90deg, rgba(11, 9, 18, 0.96) 0, rgba(11, 9, 18, 0.82) 32%, rgba(11, 9, 18, 0.16) 66%, rgba(11, 9, 18, 0.3) 100%), linear-gradient(180deg, rgba(11, 9, 18, 0.55) 0, transparent 22%, transparent 70%, var(--ground) 100%); }
.hero-in { position: relative; }
.hero-copy { max-width: 54rem; }
.hero-copy > * { animation: rise 0.9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.08s; } .hero-copy > :nth-child(3) { animation-delay: 0.16s; } .hero-copy > :nth-child(4) { animation-delay: 0.24s; } .hero-copy > :nth-child(5) { animation-delay: 0.32s; } .hero-copy > :nth-child(6) { animation-delay: 0.4s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; padding: 7px 16px 7px 12px; border: 1px solid rgba(var(--glow), 0.34); border-radius: 999px; background: rgba(var(--glow), 0.08); color: var(--accent-hi); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(var(--glow), 0.2), 0 0 14px var(--accent); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(var(--glow), 0.07), 0 0 18px var(--accent); } }
.hero h1 { max-width: 19ch; font-size: clamp(2.5rem, 4.9vw, 4.7rem); font-weight: 600; line-height: 1.01; letter-spacing: -0.052em; }
.lede { max-width: 39rem; margin-top: 28px; color: rgba(244, 241, 251, 0.84); font-size: clamp(1.05rem, 1.35vw, 1.24rem); line-height: 1.65; text-wrap: pretty; }
.offer { max-width: 39rem; margin-top: 20px; padding-left: 16px; border-left: 2px solid var(--accent); color: var(--ink); font-size: 1.02rem; font-weight: 500; line-height: 1.6; }
.hero .ctas { gap: 14px; margin-top: 36px; }
.proof { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 44px; padding: 0; list-style: none; }
.proof li { padding: 9px 15px; border: 1px solid var(--gb); border-radius: 12px; background: rgba(11, 9, 18, 0.55); color: var(--ink2); font-size: 0.86rem; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.proof b { color: var(--ink); font-weight: 700; }

/* Sections: a name, a question in large type, one line under it. */
.band { position: relative; padding: clamp(76px, 9vw, 132px) 0; scroll-margin-top: 0; }
.band:nth-of-type(odd) { background: radial-gradient(1000px 560px at 90% 0, rgba(139, 108, 245, 0.1), transparent 70%), var(--void); }
.band:nth-of-type(even) { background: radial-gradient(900px 520px at 6% 0, rgba(139, 108, 245, 0.08), transparent 70%), var(--ground); }
.sec-head { max-width: 50rem; margin-bottom: clamp(32px, 4vw, 52px); }
.sec-head h2 { margin-top: 18px; font-size: clamp(2.1rem, 4.1vw, 3.5rem); font-weight: 600; line-height: 1.04; letter-spacing: -0.048em; }
.sec-sub { max-width: 44rem; margin-top: 18px; color: var(--ink2); font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.65; text-wrap: pretty; }
.rises .rise { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.rises .rise.in { opacity: 1; transform: none; }
.card, .panel { border: 1px solid var(--gb); border-radius: 24px; background: var(--glass); }
.panel { padding: 22px 26px 24px; }
.panel h3, .sub-h { font-size: 1.24rem; font-weight: 600; letter-spacing: -0.02em; }
.panel h4 { margin-top: 4px; color: var(--accent-hi); font-size: 0.95rem; font-weight: 600; }
.sub-h { margin-bottom: 14px; }
.qs { display: grid; gap: 7px; margin: 10px 0 0; padding-left: 1.2rem; color: var(--ink2); font-size: 0.96rem; line-height: 1.5; }
.qcols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 18px 40px; margin-top: 14px; }
/* A part that folds: its heading is always there, the rest opens. */
.fold > summary { position: relative; display: grid; gap: 4px; padding-right: 44px; list-style: none; cursor: pointer; }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: ''; position: absolute; top: 8px; right: 4px; width: 16px; height: 16px; background: linear-gradient(var(--accent), var(--accent)) center / 16px 2px no-repeat, linear-gradient(var(--accent), var(--accent)) center / 2px 16px no-repeat; transition: transform 0.25s var(--ease); }
.fold[open] > summary::after { transform: rotate(45deg); }
.fold[open] > summary { margin-bottom: 18px; }
.fold + .fold, .panel + .panel, .panel + .fold { margin-top: 14px; }

/* How it works: three steps and the example they lead to. */
.how-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 0; list-style: none; }
.how-steps li { position: relative; padding: 30px 28px 32px; border: 1px solid var(--gb); border-radius: 24px; background: var(--glass); }
.how-steps li::after { content: ''; position: absolute; top: 50px; right: -19px; width: 20px; height: 1px; background: linear-gradient(90deg, rgba(var(--glow), 0.7), transparent); }
.how-steps li:last-child::after { display: none; }
.st-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: rgba(var(--glow), 0.14); color: var(--accent-hi); font-weight: 700; }
.how-steps h3 { margin: 24px 0 8px; font-size: 1.28rem; font-weight: 600; letter-spacing: -0.02em; }
.how-steps p { color: var(--ink2); }
.hero-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 0; margin-top: 18px; overflow: hidden; border: 1px solid rgba(var(--glow), 0.24); border-radius: 28px; background: linear-gradient(180deg, rgba(27, 21, 52, 0.9), rgba(13, 10, 24, 0.94)); box-shadow: var(--lift); }
.hero-card > .side { padding: 28px 30px 30px; }
.hero-card > .side + .side { border-left: 1px solid var(--rule); background: radial-gradient(80% 90% at 70% 30%, rgba(var(--glow), 0.14), transparent 70%); }
.brief { display: grid; gap: 0; margin-top: 14px; }
.brief > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 4px 16px; padding: 10px 0; border-top: 1px solid var(--rule); }
.brief dt { color: var(--ink3); font-size: 0.84rem; }
.brief dd { font-size: 0.94rem; line-height: 1.5; }
.hero-pick { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: center; margin-top: 12px; }
.hero-art { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; height: 120px; }
.hero-art .iso { width: 100%; height: auto; max-height: 120px; }
.pick-label { color: var(--accent-hi); font-size: 0.86rem; font-weight: 600; }
.name { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.035em; }
.hero-card .facts { margin-top: 16px; }
.tally { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; padding: 0; list-style: none; }
.tally li { flex: 1 1 9rem; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 15px; background: rgba(255, 255, 255, 0.025); color: var(--ink2); font-size: 0.84rem; line-height: 1.35; }
.tally a { display: block; color: inherit; text-decoration: none; }
.tally a:hover { color: #fff; }
.tally b { display: block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.chain { max-width: 52rem; margin-top: 28px; color: var(--ink2); font-size: 1rem; }

/* The selection: the hardware and the answers so far on one side, the steps on the other. */
.config { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(22px, 2.6vw, 40px); align-items: start; }
.show { position: sticky; top: 88px; min-width: 0; }
.show-card { overflow: hidden; border: 1px solid rgba(var(--glow), 0.22); border-radius: 28px; background: linear-gradient(180deg, rgba(27, 21, 52, 0.94), rgba(12, 9, 22, 0.97)); box-shadow: var(--lift); }
.stage { position: relative; height: clamp(250px, 27vw, 380px); margin: 0; overflow: hidden; background: radial-gradient(70% 75% at 50% 42%, #241a45, #0b0912); }
.stage-art { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; height: 100%; padding: 14px 18px 22px; }
.stage-art .iso { width: auto; max-width: 100%; height: 100%; }
.stage-art .iso.board, .stage-art .iso.pcie { width: min(98%, 560px); height: auto; max-height: 100%; }
.stage-none { max-width: 22rem; color: var(--ink3); font-size: 0.95rem; text-align: center; }
.lens3d { position: absolute; inset: 0; display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.lens3d:active { cursor: grabbing; }
.stage-key { position: absolute; bottom: 10px; left: 14px; z-index: 1; padding: 4px 11px; border-radius: 999px; background: rgba(11, 9, 18, 0.66); color: var(--ink2); font-size: 0.74rem; font-weight: 600; pointer-events: none; }
.show-body { padding: 20px 24px 22px; border-top: 1px solid var(--rule); }
.count { margin-top: 2px; color: var(--ink2); font-size: 1.15rem; font-weight: 500; letter-spacing: -0.01em; }
.count b { margin-right: 4px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 2.7rem; font-weight: 700; line-height: 1.05; letter-spacing: -0.04em; }
.count.name { color: var(--ink); font-size: clamp(1.4rem, 2vw, 1.8rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.035em; }
.front { margin-top: 4px; color: var(--ink3); font-size: 0.9rem; }
.front b { color: var(--ink); font-weight: 600; }
.meter { display: block; width: 100%; height: 6px; margin-top: 16px; overflow: hidden; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.1); -webkit-appearance: none; appearance: none; }
.meter::-webkit-progress-bar { border-radius: 999px; background: rgba(255, 255, 255, 0.1); }
.meter::-webkit-progress-value { border-radius: 999px; background: var(--grad); transition: width 0.5s var(--ease); }
.meter::-moz-progress-bar { border-radius: 999px; background: var(--accent); }
.meter-k { margin-top: 8px; color: var(--ink3); font-size: 0.84rem; font-weight: 600; }
.ans-edit { padding: 6px 14px; border: 1px solid var(--edge); border-radius: 999px; background: none; color: var(--ink); font-size: 0.82rem; font-weight: 600; letter-spacing: 0; cursor: pointer; transition: border-color 0.18s, color 0.18s; }
.ans-edit:hover { border-color: var(--accent); color: var(--accent-hi); }

.steps { display: grid; gap: 12px; min-width: 0; counter-reset: step; }
/* A step is open (its question and its answers), answered (one line with the answer) or still to come (a dimmed heading). */
.step { min-width: 0; margin: 0; padding: 15px 22px; border: 1px solid var(--gb); border-radius: 22px; background: var(--glass); counter-increment: step; transition: opacity 0.35s, border-color 0.3s, box-shadow 0.4s, padding 0.3s var(--ease); }
.step[hidden] { counter-increment: none; }
.step legend { float: left; display: flex; align-items: center; gap: 12px; width: 100%; margin: 0; padding: 0; font-size: 1.06rem; line-height: 1.3; letter-spacing: -0.015em; }
.step-n { display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 10px; background: rgba(var(--glow), 0.14); color: var(--accent-hi); font-size: 0.9rem; font-weight: 700; letter-spacing: 0; }
.step-n::before { content: counter(step); }
.step-h { display: flex; flex: 1 1 auto; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; min-width: 0; }
.step-t { font-weight: 600; }
.step-q { color: var(--ink3); font-weight: 500; }
.step-a { display: none; color: var(--accent-hi); font-weight: 600; }
.step.done:not(.open) .step-q { display: none; }
.step.done:not(.open) .step-a { display: inline; }
.step .ans-edit { flex: none; }
.step-body { clear: both; padding-top: 4px; animation: rise 0.45s var(--ease) both; }
.step:not(.open) .step-body { display: none; }
.step-help { margin: 2px 0 0 42px; color: var(--ink3); font-size: 0.92rem; }
.step .opts, .step .own { margin-top: 18px; }
.step.locked { opacity: 0.42; }
.steps.complete { gap: 8px; }
.steps.complete .step.done:not(.open) { padding: 9px 18px; border-radius: 18px; }
.step.open { padding: 24px 24px 26px; border-color: rgba(var(--glow), 0.5); box-shadow: 0 0 0 4px rgba(var(--glow), 0.07), 0 34px 80px -54px rgba(var(--glow), 0.9); }
.step.open legend { font-size: clamp(1.25rem, 1.8vw, 1.55rem); letter-spacing: -0.032em; }
.step.done .step-n { background: var(--grad); color: var(--on-accent); }
.step.done:not(.open) .step-n::before { content: ''; width: 6px; height: 11px; margin-top: -3px; border-right: 2.5px solid var(--on-accent); border-bottom: 2.5px solid var(--on-accent); transform: rotate(45deg); }
.opts { display: grid; gap: 12px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.opt { position: relative; display: block; min-width: 0; cursor: pointer; }
.opt > input[type='radio'] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.opt-in { position: relative; display: flex; gap: 14px; align-items: flex-start; height: 100%; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 18px; background: rgba(255, 255, 255, 0.022); transition: border-color 0.2s, background 0.2s, box-shadow 0.25s, transform 0.2s; }
.step:not(.locked) .opt:hover .opt-in { border-color: rgba(var(--glow), 0.55); transform: translateY(-1px); }
.opt > input:checked + .opt-in { border-color: var(--accent); background: linear-gradient(180deg, rgba(var(--glow), 0.17), rgba(var(--glow), 0.04)); box-shadow: 0 0 0 4px rgba(var(--glow), 0.1), 0 22px 46px -28px rgba(var(--glow), 0.85); }
.opt > input:focus-visible + .opt-in { outline: 2px solid var(--accent-hi); outline-offset: 3px; }
/* The mark of the chosen answer: a disc and a tick drawn with borders, so the sheet fetches no image. */
.opt > input:checked + .opt-in::after { content: ''; position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(var(--glow), 0.8); }
.opt > input:checked + .opt-in::before { content: ''; position: absolute; top: 14.5px; right: 17px; z-index: 1; width: 6px; height: 10px; border-right: 2.5px solid var(--on-accent); border-bottom: 2.5px solid var(--on-accent); transform: rotate(45deg); }
.opt-ic { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 13px; background: rgba(255, 255, 255, 0.055); color: var(--accent-hi); transition: background 0.2s, color 0.2s; }
.opt-ic .ic { width: 21px; height: 21px; stroke-width: 1.7; }
.opt > input:checked + .opt-in .opt-ic { background: var(--grad); color: var(--on-accent); }
.opt-txt { display: grid; gap: 3px; min-width: 0; padding-right: 18px; }
.opt-txt b { font-size: 1rem; font-weight: 600; line-height: 1.3; }
.opt-txt small { color: var(--ink3); font-size: 0.84rem; line-height: 1.45; }
.opt-txt i { margin-top: 4px; color: var(--accent-hi); font-size: 0.78rem; font-style: normal; font-weight: 600; }
.opt.tight .opt-in { align-items: center; justify-content: center; min-height: 56px; padding: 12px 10px; text-align: center; }
.opt.tight .opt-txt { padding-right: 0; }
.opt.tight > input:checked + .opt-in::after { top: -7px; right: -7px; }
.opt.tight > input:checked + .opt-in::before { top: -2.5px; right: 0; }
.opt.other { grid-column: span 2; }
.opt.other .opt-in { justify-content: flex-start; gap: 10px; padding: 8px 10px 8px 16px; }
.opt.other .input { flex: 1 1 4rem; min-width: 0; height: 38px; }
.own { padding: 18px 18px 20px; border: 1px solid var(--rule); border-radius: 18px; background: rgba(0, 0, 0, 0.22); }
.own .row { margin-top: 16px; }
.own .row .note { flex: 1 1 14rem; }
.quad { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 14px; align-items: end; }
.field { display: grid; gap: 7px; min-width: 0; }
.field > label, .field > .label { color: var(--ink2); font-size: 0.84rem; font-weight: 600; line-height: 1.35; }
.field small { color: var(--ink3); font-size: 0.8rem; line-height: 1.4; }
.input, .select { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--edge); border-radius: var(--typed); background: rgba(7, 6, 13, 0.7); color: var(--ink); font-weight: 600; transition: border-color 0.18s, box-shadow 0.18s; }
.select { appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 20px) 20px, calc(100% - 15px) 20px; background-size: 5px 5px; background-repeat: no-repeat; text-overflow: ellipsis; }
.select option, .select optgroup { background: var(--sheet); color: var(--ink); }
.input:hover, .select:hover { border-color: var(--accent); }
.input:focus, .select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--glow), 0.12); }
.input[aria-invalid='true'] { border-color: var(--stop); }
.input::placeholder { color: var(--ink3); font-weight: 500; }
.input.wide { max-width: 34rem; }
input[type='date'].input { color-scheme: dark; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: end; }
.seg { display: flex; padding: 4px; border: 1px solid var(--edge); border-radius: 13px; background: rgba(7, 6, 13, 0.7); }
.seg label { position: relative; flex: 1; margin: 0; }
.seg input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.seg span { display: block; padding: 8px; border-radius: 9px; color: var(--ink2); font-size: 0.86rem; font-weight: 600; text-align: center; white-space: nowrap; cursor: pointer; transition: background 0.2s, color 0.2s, box-shadow 0.2s; }
.seg input:checked + span { background: var(--grad); color: var(--on-accent); box-shadow: 0 8px 20px -10px rgba(var(--glow), 0.9); }
.seg input:focus-visible + span { outline: 2px solid var(--accent-hi); outline-offset: 2px; }

/* The shortlist: said once, large, then one candidate in view at a time. */
.result-wrap { padding: 28px 28px 26px; border: 1px solid rgba(var(--glow), 0.44); border-radius: 28px; background: linear-gradient(180deg, rgba(var(--glow), 0.13), rgba(var(--glow), 0.02) 46%), var(--sheet); box-shadow: 0 0 0 4px rgba(var(--glow), 0.06), var(--lift); animation: rise 0.7s var(--ease) both; }
.result.static { margin-top: 22px; padding: 26px; border: 1px solid var(--gb); border-radius: 24px; background: var(--sheet); }
.answer { display: grid; gap: 12px; justify-items: start; }
.summary { max-width: 46rem; font-size: clamp(1.3rem, 2vw, 1.75rem); font-weight: 600; line-height: 1.26; letter-spacing: -0.032em; text-wrap: pretty; }
.picks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pick-tab { display: grid; gap: 2px; flex: 1 1 12rem; min-width: 0; padding: 12px 16px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 16px; background: rgba(255, 255, 255, 0.025); text-align: left; cursor: pointer; transition: border-color 0.2s, background 0.2s, box-shadow 0.25s; }
.pick-tab small { color: var(--ink3); font-size: 0.78rem; font-weight: 600; }
.pick-tab b { overflow: hidden; font-size: 0.98rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.pick-tab:hover { border-color: rgba(var(--glow), 0.55); }
.pick-tab[aria-pressed='true'] { border-color: var(--accent); background: linear-gradient(180deg, rgba(var(--glow), 0.18), rgba(var(--glow), 0.04)); box-shadow: 0 0 0 4px rgba(var(--glow), 0.09); }
.pick-tab[aria-pressed='true'] small { color: var(--accent-hi); }
.pick { display: grid; gap: 12px; margin-top: 20px; }
.pick h3 { font-size: clamp(1.4rem, 2.1vw, 1.85rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.035em; }
.pick h3 a, .cand-head a, .item h3 a, .vs h3 a { text-decoration: none; }
.pick h3 a:hover, .cand-head a:hover, .item h3 a:hover, .vs h3 a:hover { color: var(--accent-hi); }
.pick dl { display: grid; gap: 0; margin-top: 4px; }
.pick dl > div { display: grid; grid-template-columns: 6.6rem minmax(0, 1fr); gap: 4px 14px; padding: 10px 0; border-top: 1px solid var(--rule); }
.pick dt { color: var(--ink3); font-size: 0.84rem; font-weight: 600; }
.pick dd { color: var(--ink2); font-size: 0.94rem; line-height: 1.5; }
.pick .row { margin-top: 8px; }
.carries { margin-top: 14px; }
.result-wrap .tally { margin-top: 18px; }
.refine { min-width: 0; margin: 20px 0 0; padding: 16px 0 0; border: 0; border-top: 1px solid var(--rule); }
.refine legend { float: left; width: 100%; margin-bottom: 12px; padding: 0; color: var(--ink3); font-size: 0.84rem; font-weight: 600; }
.refine legend + * { clear: both; }
.more { display: grid; gap: 14px; margin-top: 26px; }
.more > * + * { margin-top: 0; }
.band-text { margin-top: 22px; }

/* Candidates: a small drawing, the name, the facts, the rules behind them. */
.cands { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 27rem), 1fr)); gap: 12px; }
.cand { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; padding: 16px 18px; border: 1px solid var(--rule); border-radius: 18px; background: rgba(255, 255, 255, 0.02); }
.cand.out { grid-template-columns: minmax(0, 1fr); }
.cand-art { display: grid; place-items: center; align-self: start; height: 84px; border-radius: 12px; background: radial-gradient(80% 80% at 50% 40%, rgba(var(--glow), 0.16), transparent 75%); }
.cand-art .iso { width: 100%; height: auto; max-height: 80px; }
.cand-in { min-width: 0; }
.cand-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.cand-head a { font-size: 1.04rem; font-weight: 600; }
.cand-head .by { font-size: 0.82rem; }
.cand .facts, .cand .note { margin-top: 10px; }
.cand .row { margin-top: 12px; }
details.rules { margin-top: 10px; }
details.rules summary, details.csv summary { cursor: pointer; color: var(--accent-hi); font-size: 0.875rem; font-weight: 700; list-style: none; }
details.rules summary::-webkit-details-marker, details.csv summary::-webkit-details-marker { display: none; }
details.rules summary::before, details.csv summary::before { content: '+ '; }
details.rules[open] summary::before, details.csv[open] summary::before { content: '- '; }
.checks { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; color: var(--ink2); font-size: 0.86rem; line-height: 1.5; list-style: none; }
.checks li { display: grid; grid-template-columns: 7.4rem minmax(0, 1fr); gap: 10px; }
.res { font-weight: 700; }
.res.pass { color: var(--ok); }
.res.fail { color: var(--stop); }
.res.needs_evidence { color: var(--wait); }
.srcs { color: var(--ink3); }
a.src { color: var(--accent-hi); text-decoration: none; }
a.src:hover { text-decoration: underline; }
.lane + .lane { margin-top: 22px; }
.lane .note { margin: 2px 0 12px; }

/* A group of controls on a card of its own. */
.controls-card { margin-bottom: 22px; padding: 20px 22px 22px; }
.controls { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 18px; }
.controls .field { flex: 1 1 14rem; }
.controls .field.grow { flex: 3 1 22rem; }
.controls .field.narrow { flex: 0 1 10rem; }
.check { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; color: var(--ink2); font-size: 0.9rem; font-weight: 600; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.presets { display: flex; flex-wrap: wrap; gap: 8px; }
.controls-card .presets + .controls, .controls-card .field + .presets { margin-top: 16px; }
.tog { min-height: 36px; padding: 0 14px; border: 1px solid var(--edge); border-radius: 999px; background: transparent; color: var(--ink2); font-size: 0.84rem; font-weight: 600; cursor: pointer; transition: border-color 0.18s, background 0.18s, color 0.18s; }
.tog:hover { border-color: var(--accent); color: #fff; }
.tog[aria-pressed='true'] { border-color: var(--accent); background: rgba(var(--glow), 0.16); color: var(--accent-hi); }

/* The same-scale view: each offer as hardware, then the ledger. */
.versus { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 16px; }
.vs { display: grid; align-content: start; gap: 6px; min-width: 0; padding: 0 22px 24px; overflow: hidden; border: 1px solid var(--gb); border-radius: 24px; background: var(--glass); }
.vs-art { display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; height: 230px; margin: 0 -22px 12px; padding: 14px; background: radial-gradient(70% 80% at 50% 44%, #241a45, rgba(11, 9, 18, 0)); }
.vs-art .iso { width: auto; max-width: 100%; height: 100%; }
.vs-art .iso.board, .vs-art .iso.pcie { width: min(92%, 360px); height: auto; }
.vs-count { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 1.7rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.035em; }
.vs h3 { font-size: 1.08rem; font-weight: 600; }
.vs-line { color: var(--ink2); font-size: 0.94rem; }
.vs-line b { color: var(--ink); }
.vs .verdict, .vs .row { margin-top: 10px; }

/* Tables are ledgers: a rule above and below, a hairline between the rows. */
.scroll { margin-top: 18px; overflow-x: auto; border-block: 1px solid var(--rule2); }
.scroll.flush { margin-top: 0; }
table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
th:first-child, td:first-child { padding-left: 0; }
th:last-child, td:last-child { padding-right: 0; }
thead th { color: var(--ink3); font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }
tbody th { font-weight: 600; }
tbody tr:last-child > * { border-bottom: 0; }
.ledger td { white-space: nowrap; }
.ledger.wrap-cells td { white-space: normal; }
.ledger tbody th[scope='row'] { min-width: 9rem; }
.ledger a { color: var(--accent-hi); text-decoration: none; }
.ledger a:hover { text-decoration: underline; }
.src-note { display: block; margin-top: 4px; color: var(--ink3); font-size: 0.8rem; line-height: 1.45; }

/* The quote request: the one paper on the page. */
.sheet { padding: clamp(20px, 3vw, 36px); border: 1px solid var(--rule2); border-top: 2px solid var(--accent); border-radius: 20px; background: var(--sheet); box-shadow: var(--lift); }
.sheet.waiting { display: grid; gap: 12px; justify-items: start; border-top-color: var(--rule2); border-style: dashed; background: rgba(19, 16, 29, 0.6); box-shadow: none; }
.sheet-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; }
.sheet h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.028em; }
.sheet > .note { margin-top: 10px; }
.sheet-sub { margin-top: 22px; color: var(--ink3); font-size: 0.85rem; font-weight: 600; }
.basis { display: grid; gap: 0; margin-top: 8px; border-top: 1px solid var(--rule); }
.basis > div { display: grid; grid-template-columns: minmax(7rem, 11rem) minmax(0, 1fr); gap: 4px 18px; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.basis dt { color: var(--ink3); font-size: 0.85rem; }
.basis dd { color: var(--ink); font-size: 0.92rem; line-height: 1.5; }
.evidence-key { margin-top: 8px; padding: 10px 14px; border: 1px solid var(--rule); border-radius: 12px; background: rgba(255, 255, 255, 0.025); color: var(--ink2); font-size: 0.84rem; line-height: 1.7; }
.evidence-key b { color: var(--ink); }
/* A line no public source can state is the supplier's to fill in: said plainly, without alarm. */
.sheet .chip.Missing { background: rgba(255, 255, 255, 0.07); color: var(--ink2); }
.sheet .scroll { margin-top: 10px; }
@media (min-width: 641px) { #rfq-table tbody th[scope='row'] { min-width: 0; width: 3.5rem; } }
.print-only { display: none; }
span.print-only { display: none; }
details.csv { margin-top: 18px; }
textarea { width: 100%; min-height: 160px; margin-top: 10px; padding: 12px; border: 1px solid var(--edge); border-radius: var(--typed); background: var(--ground); color: var(--ink2); font: 500 0.8rem/1.45 ui-monospace, 'SF Mono', Menlo, monospace; }
#rq-brief { margin: -8px 0 18px; }

/* The catalogue: filters, then every system as a card with its drawing. */
.filters { display: grid; gap: 12px; margin-bottom: 18px; padding: 18px 22px 20px; }
.filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filter-name { min-width: 7.5rem; color: var(--ink3); font-size: 0.84rem; font-weight: 600; }
.filters .search { max-width: 30rem; margin-top: 4px; }
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: 14px; margin: 14px 0 0; padding: 0; list-style: none; }
.item { display: grid; align-content: start; gap: 8px; min-width: 0; padding: 0 20px 20px; overflow: hidden; border: 1px solid var(--gb); border-radius: 22px; background: var(--glass); transition: border-color 0.2s, transform 0.2s, box-shadow 0.3s; }
.item:hover { border-color: rgba(var(--glow), 0.5); box-shadow: 0 30px 70px -50px rgba(var(--glow), 0.9); transform: translateY(-2px); }
.item-art { display: grid; place-items: center; height: 116px; margin: 0 -20px 6px; background: radial-gradient(70% 90% at 50% 46%, rgba(var(--glow), 0.2), transparent 76%); }
.item-art .iso { width: auto; max-width: 78%; height: auto; max-height: 96px; }
.item-art:empty { height: 18px; background: none; }
.item .by { font-size: 0.8rem; }
.item h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; }
.item > p:not(.by) { color: var(--ink2); font-size: 0.9rem; line-height: 1.5; }
.item .facts { margin-top: 4px; }
.items.plain .item { padding-top: 18px; }
.more-row { margin-top: 20px; text-align: center; }
#catalogue .fold { margin-top: 26px; }

/* The name decoder. */
.meanings { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 26rem), 1fr)); gap: 14px; }
.meaning { display: grid; align-content: start; gap: 8px; padding: 20px 22px 22px; border: 1px solid var(--gb); border-radius: 22px; background: var(--glass); }
.meaning .kind { color: var(--accent-hi); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.meaning h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; }
.meaning > p:not(.kind):not(.when) { color: var(--ink2); font-size: 0.94rem; line-height: 1.55; }
.meaning .row { margin-top: 4px; }
#decode .fold { margin-top: 22px; }

/* The method: the evidence scale in view, the longer parts folded. */
.levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 12px; padding: 0; list-style: none; }
.level { display: grid; align-content: start; gap: 12px; justify-items: start; padding: 22px 22px 24px; }
.level .chip { padding: 4px 12px; font-size: 0.84rem; }
.level p { color: var(--ink2); font-size: 0.95rem; line-height: 1.55; }
#method .levels + .note { margin-bottom: 26px; }
.doc p, .doc li { color: var(--ink2); font-size: 0.98rem; line-height: 1.7; }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { margin: 0; padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc b, .doc strong { color: var(--ink); }
.doc a { color: var(--accent-hi); }
.doc .scroll { margin-top: 0; }
.sources li { font-size: 0.9rem; line-height: 1.55; }

/* A product page and the legal page: a heading under the header, then the work. */
.opening { padding: clamp(116px, 12vw, 156px) 0 clamp(24px, 3vw, 36px); background: radial-gradient(900px 480px at 86% 0, rgba(139, 108, 245, 0.16), transparent 70%); }
.opening h1 { max-width: 20em; font-size: clamp(2.2rem, 4.6vw, 4rem); font-weight: 600; line-height: 1.03; letter-spacing: -0.048em; }
.opening .lede { max-width: 44rem; margin-top: 20px; }
.opening .by { margin-bottom: 12px; }
.opening .ctas { margin-top: 26px; }
.back { margin-bottom: 22px; font-size: 0.9rem; font-weight: 600; }
.back a { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-hi); text-decoration: none; }
.back a::before { content: ''; width: 8px; height: 8px; border-bottom: 2px solid currentColor; border-left: 2px solid currentColor; transform: rotate(45deg); }
.back a:hover { color: #fff; }
.strip { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 22px 0 0; padding: 0; list-style: none; }
.strip li { display: grid; gap: 3px; padding-left: 14px; border-left: 1px solid var(--rule2); font-size: 0.875rem; }
.strip b { font-weight: 700; }
.strip span { color: var(--ink3); }
.work { padding: 14px 0 clamp(56px, 7vw, 96px); }
.work > .panel, .work > .block { margin-top: 18px; }
.block { margin-top: 18px; padding: 22px 26px 24px; border: 1px solid var(--gb); border-radius: 24px; background: var(--glass); }
.block h2 { font-size: 1.24rem; font-weight: 600; letter-spacing: -0.02em; }
.block h2 + * { margin-top: 10px; }
.split { display: grid; grid-template-columns: minmax(18rem, 30rem) minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); align-items: start; }
.figure-col { min-width: 0; }
.figure-col .note { margin-top: 10px; }
.stage.solo { height: clamp(280px, 30vw, 420px); border: 1px solid rgba(var(--glow), 0.22); border-radius: 24px; box-shadow: var(--lift); }
.stage.solo figcaption { position: absolute; right: 14px; bottom: 12px; left: 14px; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; color: var(--ink2); font-size: 0.82rem; font-weight: 600; pointer-events: none; }
.stage.solo .stage-key { position: static; }
.stage.solo .stage-art { padding-bottom: 44px; }
.split > .scroll { align-self: start; }
.doc-page { padding: clamp(116px, 12vw, 156px) 0 clamp(48px, 6vw, 92px); }
.doc-in { max-width: 52rem; }
.doc-page h1 { font-size: clamp(2rem, 3.8vw, 3.25rem); font-weight: 600; line-height: 1.06; letter-spacing: -0.045em; }
.doc-page .lede { max-width: 46rem; margin-top: 22px; }
.doc-page h2 { margin-top: 48px; font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 600; line-height: 1.15; letter-spacing: -0.03em; }
.doc-page h3 { margin-top: 26px; font-size: 1.08rem; font-weight: 600; }
.doc-page :is(h2, h3) + p { margin-top: 10px; }
.doc-page p, .doc-page li { color: var(--ink2); font-size: 1rem; line-height: 1.7; }
.doc-page p + p { margin-top: 12px; }
.doc-page ul, .doc-page ol { margin: 12px 0 0; padding-left: 22px; }
.doc-page li + li { margin-top: 6px; }
.doc-page b, .doc-page strong { color: var(--ink); }
.doc-page .meta { margin-top: 18px; color: var(--ink3); font-size: 0.9rem; }
.doc-page a { color: var(--accent-hi); }
.doc-page section { scroll-margin-top: 100px; }
.draft { display: inline-flex; margin-left: 8px; padding: 2px 9px; border: 1px dashed var(--wait); border-radius: 4px; color: var(--wait); font-size: 0.8rem; font-weight: 700; }
.legal-toc { margin-top: 28px; padding: 18px 0; border-block: 1px solid var(--rule2); }
.legal-toc p { color: var(--ink3); font-size: 0.875rem; font-weight: 600; }
.legal-toc ol { margin-top: 8px; columns: 2 16rem; }
.legal-toc a { color: var(--accent-hi); text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
.legal-scroll { margin-top: 14px; overflow-x: auto; border-block: 1px solid var(--rule2); }
.legal-table td, .legal-table th { text-align: left; white-space: normal; vertical-align: top; }

/* Footer */
.foot { padding: 48px 0 72px; border-top: 1px solid var(--rule); background: var(--void); color: var(--ink3); font-size: 0.875rem; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 40px; align-items: start; }
.foot-brand { display: grid; gap: 10px; max-width: 30rem; }
.foot .logo svg { width: 91px; height: 24px; opacity: 0.9; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 24px; }
.foot-links a { color: var(--ink2); text-decoration: none; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }
.foot-links.chain { grid-column: 2; margin-top: -8px; }
.foot-band { grid-column: 1 / -1; margin-top: 10px; color: var(--ink2); font-weight: 600; }
.foot-company { grid-column: 1 / -1; }

/* The drawings: hardware seen from the front right. Fills that are gradients are named on the shapes themselves. */
.iso { display: block; overflow: visible; }
.iso .i-edge { stroke: rgba(255, 255, 255, 0.16); stroke-width: 1; stroke-linejoin: round; }
.iso .i-bay { fill: #07060d; }
.iso .i-shelf { fill: #1b1630; }
.iso .i-pipe { fill: none; stroke: var(--ice); stroke-width: 1.6; opacity: 0.85; }
.iso .i-span { fill: none; stroke: #efe8ff; stroke-width: 3; stroke-linecap: round; }
.iso .i-in { fill: #141026; }
.iso .i-in2 { fill: #100c1e; }
.iso .i-rear { fill: #1d1833; }
.iso .i-rear-t { fill: #2a2346; }
.iso .i-rear-s { fill: #131022; }
.iso .i-card { fill: #6f6a85; }
.iso .i-card-s { fill: #4b4760; }
.iso .i-m0 { fill: #8b6cf5; }
.iso .i-m0s { fill: #6a4fd0; }
.iso .i-m1 { fill: #3fa9dc; }
.iso .i-m1s { fill: #2b86b3; }
.iso .i-led { fill: #3b3556; }
.iso .i-led.on { fill: var(--ok); }
.iso .i-g0 { fill: #a585ff; }
.iso .i-g1 { fill: #56bff0; }
.iso .i-glow { opacity: 0.55; }
.iso .i-glow .i-span { stroke: var(--accent); stroke-width: 8; }

@media (max-width: 1080px) {
  .config { grid-template-columns: minmax(0, 1fr); }
  .show { position: static; }
  .stage { height: clamp(220px, 44vw, 320px); }
  .hero-card { grid-template-columns: minmax(0, 1fr); }
  .hero-card > .side + .side { border-top: 1px solid var(--rule); border-left: 0; }
  .how-steps { grid-template-columns: minmax(0, 1fr); }
  .how-steps li::after { display: none; }
  .levels { grid-template-columns: minmax(0, 1fr); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .quad { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .hero { min-height: 0; padding: 116px 0 64px; }
  .scrim { background: linear-gradient(180deg, rgba(11, 9, 18, 0.9) 0, rgba(11, 9, 18, 0.74) 60%, var(--ground) 100%); }
  .hall-alt .iso { right: -20%; width: 120%; opacity: 0.4; }
  .cols-2 { grid-template-columns: minmax(0, 1fr); }
  .cols-4, .cols-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step { padding: 14px 16px; }
  .step.open { padding: 20px 16px 22px; }
  .step-help { margin-left: 0; }
  .result-wrap { padding: 22px 18px; }
  .panel, .block { padding: 18px 18px 20px; }
  .cand { grid-template-columns: minmax(0, 1fr); }
  .cand-art { display: none; }
  .hero-pick { grid-template-columns: minmax(0, 1fr); }
  .hero-art { justify-self: start; width: 160px; }
  .foot-in { grid-template-columns: minmax(0, 1fr); }
  .foot-links { justify-content: flex-start; }
  .foot-links.chain { grid-column: 1; margin-top: 0; }
  .pick dl > div, .brief > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
/* Narrow screens: each table row becomes a short card of label and value, so no row needs sideways scrolling. */
@media (max-width: 640px) {
  .pair { grid-template-columns: minmax(0, 1fr); }
  .controls-card, .filters { padding: 16px 16px 18px; }
  .checks li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .basis > div { grid-template-columns: minmax(0, 1fr); }
  .opt.other { grid-column: 1 / -1; }
  table.stack, table.stack tbody, table.stack tr, table.stack th, table.stack td { display: block; width: 100%; }
  table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  table.stack tr { padding: 10px 0; border-bottom: 1px solid var(--rule); }
  table.stack tbody tr:last-child { border-bottom: 0; }
  table.stack th[scope='row'] { padding: 0 0 6px; border: 0; color: var(--ink); white-space: normal; }
  table.stack td { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 4px 0; border: 0; text-align: right; white-space: normal; }
  table.stack td::before { content: attr(data-label); flex: none; max-width: 42%; color: var(--ink3); font-size: 0.8rem; font-weight: 600; text-align: left; }
  .scroll { overflow-x: visible; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Printing: the quote request alone, on a light page. The supplier gets the request, not the site around it. */
/* Without script the tools cannot answer. Their controls are left out, so nothing on the page does nothing, and what
   the server wrote stays readable: the example's answer, the example comparison, every system, the method. */
@media (scripting: none) {
  .config, .controls-card, #rq-brief, #rq-out { display: none; }
}

@media print {
  :root { color-scheme: light; --ground: #fff; --sheet: #fff; --void: #fff; --ink: #120d1e; --accent: #5b3fb8; --accent-hi: #5b3fb8; --accent-lo: #8b6cf5; --on-accent: #fff; --ok: #1d6b3a; --wait: #8a5a00; --stop: #a3221a; --rule: #ddd8e6; --rule2: #c0b8cf; --ink2: #2f2840; --ink3: #4e4761; --glow: 91, 63, 184; }
  body { background: #fff; color: var(--ink); }
  .skip, .top, .foot, .iso-defs, .row, details.csv, .carries, .evidence-key, .hero, main > section:not(#quote), #quote .sec-head, #rq, #rq-brief { display: none !important; }
  *, *::before, *::after { animation: none !important; }
  @page { margin: 14mm 12mm; }
  .band { padding: 0; background: none !important; }
  #quote .wrap { width: 100%; }
  .sheet { margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; break-inside: auto; }
  .print-only { display: block; }
  span.print-only { display: inline; }
  .sheet .scroll { overflow: visible; border: 0; }
  .sheet .chip.Missing { background: none; color: var(--stop); }
  .chip { padding: 0; background: none !important; }
  table.stack { display: table; width: 100%; }
  table.stack thead { display: table-header-group; position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
  table.stack tbody { display: table-row-group; }
  table.stack tr { display: table-row; padding: 0; }
  table.stack th, table.stack td { display: table-cell; width: auto; text-align: left; }
  table.stack td::before { content: none; }
  #rfq-table { font-size: 8.5pt; line-height: 1.35; border-collapse: collapse; }
  #rfq-table th, #rfq-table td { padding: 4px 6px; border: 1px solid var(--rule2); vertical-align: top; white-space: normal; }
  #rfq-table tr { break-inside: avoid; }
  #rfq-table tbody th[scope='row'] { min-width: 0; width: 2.6em; }
  #rfq-table a.src { color: var(--ink); text-decoration: none; }
  #rfq-table .ref { color: var(--ink3); white-space: nowrap; }
  .print-sources { margin: 10px 0 0; padding-left: 2.2em; color: var(--ink2); font-size: 8pt; line-height: 1.45; word-break: break-all; }
  .print-sources li::marker { content: '[' counter(list-item) '] '; }
  .print-foot { margin-top: 12px; color: var(--ink3); font-size: 8.5pt; }
}
