:root {
  --void: #0e1110;
  --paper: #f4f7f5;
  --ink: #16181c;
  --mist: #b7c4c0;
  --ion: #6d5efc;
  --line: rgba(183, 196, 192, 0.35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.layout-lab {
  margin: 0;
  background: var(--void);
  color: var(--paper);
  font-family: "Space Grotesk", "Avenir Next", sans-serif;
  font-size: 16.5px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: "Space Grotesk", sans-serif; font-weight: 560; letter-spacing: -0.04em; line-height: 0.98; margin: 0 0 0.45em; }
h1 { font-size: clamp(3.2rem, 8vw, 6.8rem); text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); text-transform: uppercase; }
h3 { font-size: 1.2rem; letter-spacing: 0; text-transform: none; }
em { font-style: normal; color: var(--ion); }
p { margin: 0 0 0.9em; }
:focus-visible { outline: 2px solid var(--ion); outline-offset: 3px; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ion); color: white; padding: 0.5rem 1rem; z-index: 100; }
.skip:focus { top: 0.5rem; }
.ticker { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding: 0.45rem 1.2rem; font-family: "Space Mono", ui-monospace, monospace; font-size: 0.72rem; letter-spacing: 0.04em; color: var(--mist); }
.ticker a { color: white; }
.lab-head { display: flex; align-items: center; gap: 1rem; padding: 0.7rem 1.2rem; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: rgba(14, 17, 16, 0.94); z-index: 40; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: white; min-width: max-content; }
.brand svg { width: 28px; height: 28px; }
.brand-name { font-family: "Space Mono", ui-monospace, monospace; font-size: 0.78rem; letter-spacing: 0.14em; }
.lab-nav { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-left: 0.4rem; }
.lab-nav a { text-decoration: none; font-family: "Space Mono", monospace; font-size: 0.72rem; color: var(--mist); }
.lab-nav a[aria-current="page"] { color: white; box-shadow: inset 0 -2px 0 var(--ion); }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 0.6rem; }
.cart-link { display: inline-flex; gap: 0.45rem; align-items: center; text-decoration: none; border: 1px solid var(--line); padding: 0.35rem 0.55rem; font-family: "Space Mono", monospace; font-size: 0.75rem; }
.cart-link [data-cart-count] { color: var(--ion); }
.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); align-items: center; justify-content: center; cursor: pointer; }
.burger span, .burger span:before, .burger span:after { display: block; width: 16px; height: 1px; background: white; position: relative; content: ""; }
.burger span:before { position: absolute; top: -6px; }
.burger span:after { position: absolute; top: 6px; }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.slab { background: var(--void); color: var(--paper); }
.sheet { background: var(--paper); color: var(--ink); }
.sheet a { color: #221c6b; }
.pad { padding: clamp(1.4rem, 3vw, 2.8rem); }
.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 2rem; align-items: center; padding: clamp(2rem, 6vw, 5rem) clamp(1.2rem, 4vw, 3rem); background-color: var(--void); background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 42px 42px; }
.chamber { width: min(68vw, 440px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 1px solid var(--ion); margin-left: auto; }
.chamber img { width: 100%; height: 100%; object-fit: cover; }
.kicker { font-family: "Space Mono", monospace; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ion); margin: 0 0 0.8rem; }
.lede { max-width: 46rem; color: var(--mist); }
.slab .lede { color: var(--mist); }
.sheet .lede { color: #3c4442; }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.2rem 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 1rem; background: var(--ion); color: white; border: 1px solid var(--ion); text-decoration: none; cursor: pointer; font-weight: 600; border-radius: 0; }
.btn-line { background: transparent; color: inherit; border-color: currentColor; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.45; pointer-events: none; }
.link { font-family: "Space Mono", monospace; font-size: 0.82rem; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 0.9rem 1rem; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact strong { display: block; font-family: "Space Mono", monospace; font-size: 1.35rem; }
.fact span { color: var(--mist); font-size: 0.82rem; }
.sheet .fact span { color: #52605c; }
.split { display: grid; grid-template-columns: 180px 1fr; gap: 1.5rem; padding: 2.2rem 0; border-top: 1px solid rgba(22, 24, 28, 0.15); }
.sheet .split + .split { }
.media-block img, .feature img, .story img, .banner-img { width: 100%; object-fit: cover; }
.media-block img, .feature img, .story img { aspect-ratio: 16/10; filter: grayscale(0.35) contrast(1.05); }
.statement { padding: clamp(3rem, 8vw, 6rem) clamp(1.2rem, 4vw, 3rem); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.statement p { font-family: "Space Mono", monospace; font-size: clamp(1.2rem, 2.4vw, 1.8rem); line-height: 1.45; max-width: 36ch; margin: 0; }
.spec-row { display: grid; grid-template-columns: 72px 1.3fr 1.5fr auto auto; gap: 0.8rem; align-items: center; border-top: 1px solid rgba(22, 24, 28, 0.16); padding: 0.75rem 0; }
.spec-row img { width: 64px; height: 64px; object-fit: cover; }
.code { font-family: "Space Mono", monospace; font-size: 0.75rem; color: #52605c; }
.spec-row h3 { margin: 0; }
.spec-row p { margin: 0; font-size: 0.88rem; color: #3c4442; }
.index-add { width: 42px; height: 42px; border: 1px solid var(--ink); background: transparent; cursor: pointer; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(22,24,28,.16); }
.step { padding: 1rem 1rem 1rem 0; border-right: 1px solid rgba(22,24,28,.16); }
.step:last-child { border-right: 0; }
.feature, .notice, .faq-wrap, .product, .story, .contact-grid { display: grid; gap: 1.5rem; }
.feature, .product, .story, .contact-grid { grid-template-columns: 0.9fr 1.1fr; }
.notice, .faq-wrap { grid-template-columns: 0.7fr 1.3fr; }
.quotes { display: grid; gap: 0; }
.log { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; border-top: 1px solid rgba(22,24,28,.16); padding: 1rem 0; margin: 0; }
.log blockquote { margin: 0; }
.log p { margin: 0; }
.faq { border-top: 1px solid rgba(22,24,28,.16); }
.faq summary { cursor: pointer; padding: 0.8rem 0; font-weight: 600; }
.fine, .small { font-family: "Space Mono", monospace; font-size: 0.75rem; color: #52605c; }
.site-footer { border-top: 1px solid var(--line); padding: 1.6rem 1.2rem 1rem; font-size: 0.88rem; color: var(--mist); }
.footer-top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 1rem; }
.site-footer h2 { font-family: "Space Mono", monospace; font-size: 0.72rem; letter-spacing: 0.14em; color: white; }
.site-footer a { color: white; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.footer-legal { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.2rem; font-size: 0.8rem; }
.wordmark { font-family: "Space Mono", monospace; letter-spacing: 0.2em; font-size: clamp(1rem, 2.4vw, 1.4rem); color: rgba(255,255,255,.35); margin: 1rem 0; }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 0.7rem; font-size: 0.75rem; }
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #16122e; color: white; padding: 0.9rem 1rem; border-top: 1px solid var(--ion); }
.cookie-inner { display: flex; gap: 1rem; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.cookie-bar[hidden], .modal[hidden] { display: none; }
.page-head { padding-bottom: 1rem; margin-bottom: 1rem; border-bottom: 1px solid rgba(22,24,28,.16); }
.crumbs { font-family: "Space Mono", monospace; font-size: 0.75rem; }
.product img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.price { font-family: "Space Mono", monospace; white-space: nowrap; }
.price-row .price { font-size: 1.8rem; }
.perks { list-style: none; padding: 0; }
.perks li { border-top: 1px solid rgba(22,24,28,.16); padding: 0.45rem 0; font-size: 0.92rem; }
.dossier-row { display: grid; grid-template-columns: 11rem 1fr; gap: 1rem; border-top: 1px solid rgba(22,24,28,.16); padding: 0.9rem 0; }
table.spec { width: 100%; border-collapse: collapse; font-family: "Space Mono", monospace; font-size: 0.82rem; }
table.spec th, table.spec td { text-align: left; padding: 0.45rem; border-bottom: 1px solid rgba(22,24,28,.16); vertical-align: top; }
.callout { border: 1px solid var(--ion); padding: 0.7rem 0.8rem; margin: 1rem 0; }
.doc { display: grid; grid-template-columns: 200px 1fr; gap: 1.5rem; }
.prose { max-width: 70ch; }
.data-list div { display: grid; grid-template-columns: 13rem 1fr; gap: 0.4rem; border-top: 1px solid rgba(22,24,28,.16); padding: 0.4rem 0; }
.glossary { display: grid; grid-template-columns: 1fr 1fr; }
.gloss { display: grid; grid-template-columns: 3rem 1fr; gap: 0.5rem; border-top: 1px solid rgba(22,24,28,.16); padding: 0.7rem 0; }
.g-tag { font-family: "Space Mono", monospace; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }
.milestones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.field, .check { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.88rem; }
.field input, .field select, .field textarea { min-height: 46px; border: 1px solid rgba(22,24,28,.4); background: white; color: var(--ink); padding: 0.45rem 0.6rem; border-radius: 0; }
.field textarea { min-height: 8rem; }
.field.full, .check.full, .actions.full { grid-column: 1 / -1; }
.check { flex-direction: row; align-items: flex-start; gap: 0.55rem; }
.field-error { color: #8a1c1c; font-size: 0.82rem; }
.field-error-fix { border: 0; background: transparent; text-decoration: underline; cursor: pointer; }
.cart-layout { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 1.2rem; }
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 0.8rem; border-top: 1px solid rgba(22,24,28,.16); padding: 0.8rem 0; }
.cart-line img { width: 84px; height: 84px; object-fit: cover; }
.summary { border: 1px solid rgba(22,24,28,.3); padding: 0.9rem; }
.sum-row, .sum-lines li { display: flex; justify-content: space-between; gap: 0.8rem; }
.sum-lines { list-style: none; padding: 0; }
.qty { display: inline-flex; border: 1px solid rgba(22,24,28,.4); }
.qty button { width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; }
.controls { display: flex; gap: 0.7rem; align-items: center; }
.remove { background: none; border: 0; text-decoration: underline; cursor: pointer; }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.62); display: grid; place-items: center; z-index: 80; padding: 1rem; }
.modal-box { background: var(--paper); color: var(--ink); padding: 1.4rem; max-width: 28rem; width: 100%; }
.thanks-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.banner-img { max-height: 380px; margin-bottom: 1rem; }
@media (max-width: 980px) {
  .lab-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--void); border-bottom: 1px solid var(--line); padding: 0.6rem 1.2rem 1rem; flex-direction: column; }
  .nav-toggle:checked ~ .lab-head .lab-nav { display: flex; }
  .burger { display: inline-flex; }
  .hero, .split, .feature, .notice, .faq-wrap, .product, .story, .contact-grid, .doc, .dossier-row, .footer-top, .footer-legal, .facts, .steps, .glossary, .milestones, .cart-layout, .log { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 64px 1fr auto; }
  .spec-row .meta-hide { display: none; }
  .chamber { margin: 0 auto; }
  .form { grid-template-columns: 1fr; }
  .data-list div { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .facts, .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid rgba(22,24,28,.16); }
  h1 { font-size: 2.6rem; }
  .ticker { font-size: 0.68rem; }
}
