/* InhousePep — a research supplier guide. Cool lab paper, ink, one magenta indicator colour, amber for research-use notices. */
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-grotesk.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
:root {
  --paper: #F5F7F6;
  --surface: #FFFFFF;
  --ink: #14222C;
  --graphite: #56646B;
  --rule: #D6DEDB;
  --rule-strong: #B9C6C2;
  --tint: #E8EFEC;
  --mag: #B0215F;
  --mag-deep: #8C1649;
  --mag-soft: #F7E4EC;
  --amber: #B7791F;
  --amber-bg: #FBF1DE;
  --amber-ink: #6B4510;
  --pass: #1F6B55;
  --fail: #A0312F;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --wrap: 1180px;
  --gut: 24px;
  --r: 12px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); font-feature-settings: "tnum" 0; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--mag); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--sans); line-height: 1.12; margin: 0; font-weight: 700; letter-spacing: -.012em; text-wrap: balance; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 780px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; }
.small, .fine { font-size: .86rem; color: var(--graphite); }
.fine { margin: .8em 0 0; }

/* research-use strip */
.ruo { background: var(--amber-bg); color: var(--amber-ink); border-bottom: 1px solid #EBD7AE; font-size: .86rem; }
.ruo .wrap { display: flex; gap: 10px; align-items: center; padding-top: 9px; padding-bottom: 9px; }
.ruo svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--amber); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ruo p { margin: 0; }
@media (max-width: 760px) { .ruo .more { display: none; } }
.ruo a { white-space: nowrap; }

/* header */
.top { border-bottom: 1px solid var(--rule); background: var(--paper); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 1.2rem; letter-spacing: -.02em; }
.logo svg { width: 32px; height: 32px; }
.logo b { font-weight: 800; color: var(--mag); }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; font-weight: 500; padding: 8px 12px; border-radius: 8px; color: var(--graphite); }
.nav a:hover { color: var(--ink); background: var(--tint); }
.nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--mag); border-radius: 8px 8px 0 0; }

/* buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--ink); color: var(--paper); border: 1.5px solid var(--ink); border-radius: 10px; padding: .78em 1.25em; font: 600 1rem/1.1 var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover { background: #22343F; border-color: #22343F; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--tint); }
.btn.wide { width: 100%; background: var(--mag); border-color: var(--mag); }
.btn.wide:hover { background: var(--mag-deep); border-color: var(--mag-deep); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn .ext { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.6em 0 0; }
.link { font-weight: 600; color: var(--mag); text-decoration-color: color-mix(in srgb, var(--mag) 40%, transparent); }
.link:hover { color: var(--mag-deep); }
.lede { font-size: 1.18rem; line-height: 1.5; color: #33444E; max-width: 62ch; }

/* hero */
.hero { padding: 64px 0 56px; border-bottom: 1px solid var(--rule); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.15rem, 4.4vw, 3.5rem); letter-spacing: -.028em; line-height: 1.04; margin-bottom: .45em; max-width: 15ch; }
.hero-fig { margin: 0; background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; padding: 22px 22px 18px; }
.hero-fig figcaption { font-size: .88rem; color: var(--graphite); margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--tint); }
.hero-fig figcaption a { color: var(--ink); font-weight: 600; }
.fig-hero { width: 100%; height: auto; overflow: visible; }
.fig-hero .grid line { stroke: var(--tint); stroke-width: 1; }
.fig-hero .area { fill: var(--mag); opacity: .07; }
.fig-hero .trace { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.fig-hero .axis { stroke: var(--rule-strong); stroke-width: 1.2; }
.fig-hero .ticks line { stroke: var(--rule-strong); }
.fig-hero .ticks text, .fig-hero .xlabel { font: 500 12px var(--sans); fill: var(--graphite); text-anchor: middle; }
.fig-hero .xlabel { text-anchor: end; }
.fig-hero .callout line { stroke: var(--mag); stroke-width: 1.4; }
.fig-hero .callout text { font: 700 14px var(--sans); fill: var(--mag); }
.fig-hero .callout text.sub { font-weight: 500; fill: var(--ink); font-size: 13px; }
.fig-hero .callout.faint line { stroke: var(--graphite); }
.fig-hero .callout.faint text { fill: var(--graphite); font-weight: 600; font-size: 12.5px; }
@media (prefers-reduced-motion: no-preference) {
  .fig-hero .trace { stroke-dashoffset: 1; animation: draw 2.2s cubic-bezier(.45, .05, .25, 1) .2s forwards; }
  .fig-hero .area, .fig-hero .callout { opacity: 0; animation: show .6s ease 2.1s forwards; }
  .fig-hero .area { animation-name: showarea; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes show { to { opacity: 1; } }
@keyframes showarea { to { opacity: .07; } }

/* bands */
.band { padding: 72px 0; }
.band + .band { border-top: 1px solid var(--rule); }
.checks-band { background: var(--tint); }
.two { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 56px; }
.side-h h2, .sec-h h2 { font-size: clamp(1.55rem, 2.6vw, 2.05rem); margin-bottom: .55em; }
.side-h p { color: #33444E; }
.sec-h { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 26px; flex-wrap: wrap; }
.sec-h h2 { margin: 0; }
.sec-h p { margin: 0; color: var(--graphite); max-width: 52ch; }
.more-row { margin: 26px 0 0; }

/* checklist */
.checklist { margin: 0; }
.checklist.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.checklist.cols > div { padding: 16px 0; border-top: 1px solid var(--rule-strong); }
.checklist dt { font-weight: 700; margin-bottom: 4px; }
.checklist dd { margin: 0; color: #3A4A53; font-size: .96rem; }
.prose .checklist { margin: 1.4em 0 2em; font-family: var(--sans); }
.prose .checklist dt { padding-top: 14px; border-top: 1px solid var(--rule); font-size: 1rem; }
.prose .checklist dd { padding-bottom: 14px; font-size: .97rem; }

/* supplier sheet */
.sheet { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; font-size: .95rem; }
.sheet thead th { text-align: left; font-weight: 600; font-size: .8rem; color: var(--graphite); padding: 12px 14px; background: #FAFBFB; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.sheet td, .sheet tbody th { padding: 14px; border-bottom: 1px solid var(--tint); vertical-align: middle; text-align: left; font-weight: 400; }
.sheet tbody tr:last-child > * { border-bottom: 0; }
.sheet tbody tr:hover { background: #FAFCFB; }
.sheet .who a { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.sheet .who b { display: block; font-weight: 700; font-size: 1rem; }
.sheet .who small { display: block; color: var(--graphite); font-size: .82rem; }
.sheet .who a:hover b { color: var(--mag); }
.sheet .from { color: #33444E; font-size: .9rem; }
.sheet .go a { font-weight: 600; color: var(--mag); white-space: nowrap; font-size: .9rem; }
.sheet tr[hidden] { display: none; }

.mono { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--tint); color: var(--ink); font: 700 .95rem/1 var(--sans); letter-spacing: -.02em; position: relative; border: 1px solid var(--rule); }
.mono::after { content: ""; position: absolute; top: -3px; right: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--mag); border: 2px solid var(--surface); }
.mono.lg { width: 72px; height: 72px; border-radius: 16px; font-size: 1.6rem; }
.mono.lg::after { width: 13px; height: 13px; top: -4px; right: -4px; border-color: var(--paper); }

.score { display: inline-flex; align-items: baseline; gap: 1px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.score b { font-weight: 800; font-size: 1.12rem; color: var(--mag); letter-spacing: -.02em; }
.score span { color: var(--graphite); font-size: .8rem; }
.score.lg b { font-size: 2.8rem; line-height: 1; }
.score.lg span { font-size: 1.05rem; }
.score.none { color: var(--graphite); font-size: .85rem; }

.st { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 500; white-space: nowrap; }
.st svg { width: 18px; height: 18px; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; padding: 2px; border-radius: 50%; }
.st-pass svg { stroke: var(--pass); background: #DDEFE7; }
.st-partial svg { stroke: var(--amber); background: var(--amber-bg); }
.st-fail svg { stroke: var(--fail); background: #F6E1DF; }
.st-unknown { color: var(--graphite); }
.st-unknown svg { stroke: var(--graphite); background: var(--tint); stroke-width: 2; }

/* guides list */
.guide-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.guide-item { display: flex; flex-direction: column; gap: 8px; padding: 22px 0 26px; border-top: 2px solid var(--ink); text-decoration: none; }
.guide-item h2, .guide-item h3 { font-size: 1.2rem; letter-spacing: -.01em; }
.guide-item p { margin: 0; color: #3A4A53; font-size: .96rem; }
.guide-item .meta { margin-top: auto; padding-top: 6px; font-size: .84rem; color: var(--graphite); }
.guide-item:hover h2, .guide-item:hover h3 { color: var(--mag); }
.guide-item.lead { grid-column: span 2; border-top-color: var(--mag); }
.guide-item.lead h2, .guide-item.lead h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); max-width: 22ch; }
.guide-item.lead p { font-size: 1.06rem; max-width: 56ch; }
.guide-list.compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.guide-list.compact .guide-item { border-top-width: 1px; padding: 16px 0; }
.guide-list.compact h3 { font-size: 1.02rem; }

/* notice band */
.notice-band { background: var(--ink); color: #DCE5E2; }
.notice-band h2 { color: var(--paper); }
.notice-band .prose { font-family: var(--serif); font-size: 1.16rem; line-height: 1.6; max-width: 62ch; }
.notice-band .link { color: #F2A9C6; }

/* page heads */
.page-head { padding-top: 40px; padding-bottom: 28px; }
.page-head h1, .file-head h1 { font-size: clamp(1.95rem, 3.6vw, 2.9rem); letter-spacing: -.024em; margin: 10px 0 .4em; max-width: 26ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; color: var(--graphite); }
.crumbs a { color: var(--graphite); }

/* filters */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); margin-bottom: 14px; }
.filters fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.find { position: relative; flex: 1 1 260px; }
.find svg { position: absolute; left: 12px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--graphite); stroke-width: 2; stroke-linecap: round; }
.find input { width: 100%; font: inherit; font-size: .96rem; padding: 10px 12px 10px 38px; border: 1px solid var(--rule-strong); border-radius: 9px; background: var(--paper); color: var(--ink); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--rule-strong); border-radius: 999px; font-size: .9rem; font-weight: 500; cursor: pointer; user-select: none; }
.chip input { accent-color: var(--mag); margin: 0; width: 15px; height: 15px; }
.chip:has(input:checked) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sort { font-size: .9rem; color: var(--graphite); display: inline-flex; gap: 8px; align-items: center; margin-left: auto; }
.sort select { font: inherit; color: var(--ink); padding: 8px 10px; border-radius: 9px; border: 1px solid var(--rule-strong); background: var(--paper); }
.count { font-size: .88rem; color: var(--graphite); margin: 0 0 10px; }
.empty { padding: 24px; text-align: center; color: var(--graphite); }
.note-box { margin: 36px 0 72px; padding: 22px 24px; background: var(--tint); border-radius: var(--r); max-width: 780px; }
.note-box h2 { font-size: 1.1rem; margin-bottom: .5em; }
.note-box p { margin: 0; color: #33444E; }

/* supplier file / guide */
.file-head { padding-top: 36px; padding-bottom: 30px; margin-bottom: 40px; background: linear-gradient(var(--rule), var(--rule)) bottom center / calc(100% - 2 * var(--gut)) 1px no-repeat; }
.head-visit { display: none; }
.file-title { display: flex; gap: 22px; align-items: flex-start; margin-top: 18px; }
.file-title h1 { margin-top: 0; }
.file-title .lede { margin: 0; }
.file-meta { display: flex; align-items: center; gap: 22px; margin-top: 22px; padding-left: 94px; }
.file-meta p { margin: 0; font-size: .92rem; color: var(--graphite); line-height: 1.5; padding-left: 22px; border-left: 1px solid var(--rule); }
.file-meta p b { color: var(--ink); }
.guide-head h1 { max-width: 24ch; }
.byline { font-size: .9rem; color: var(--graphite); margin: 0; }
.file-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 56px; align-items: start; padding-bottom: 80px; }
.file-body > section { margin-bottom: 40px; }
.file-body h2 { font-size: 1.45rem; margin-bottom: .6em; }
.take { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); padding: 22px 24px; position: relative; }
.take::before { content: ""; position: absolute; left: -1px; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--mag); }
.take h2 { font-size: 1rem; margin-bottom: .5em; color: var(--mag); }
.take p, .take ul { margin: 0; font-family: var(--serif); font-size: 1.16rem; line-height: 1.6; }
.take ul { padding-left: 1.1em; }
.take li + li { margin-top: .35em; }

.check-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.check-table th, .check-table td { text-align: left; padding: 12px 10px 12px 0; border-top: 1px solid var(--rule); vertical-align: top; }
.check-table th { font-weight: 600; width: 34%; }
.check-table .m { width: 120px; }
.check-table .nt { color: #3A4A53; font-size: .9rem; }

.prose { max-width: 70ch; }
.serif { font-family: var(--serif); font-size: 1.17rem; line-height: 1.68; }
.prose h2 { font-family: var(--sans); font-size: 1.45rem; margin: 2em 0 .6em; scroll-margin-top: 20px; }
.prose h3 { font-family: var(--sans); font-size: 1.12rem; margin: 1.6em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--mag); }
.prose strong { font-weight: 600; }
.prose a { color: var(--mag-deep); }
.prose .dek { font-size: 1.32rem; line-height: 1.5; color: #2A3A43; }
.page-body { padding-bottom: 80px; max-width: 780px; }
.page-body h2:first-of-type { margin-top: 1.6em; }

.toc { font-family: var(--sans); background: var(--tint); border-radius: var(--r); padding: 18px 22px; margin: 1.6em 0; }
.toc h2 { font-size: .95rem !important; margin: 0 0 .6em !important; }
.toc ol, .toc-card ol { margin: 0; padding-left: 1.3em; font-size: .95rem; line-height: 1.45; }
.toc li, .toc-card li { margin-bottom: .35em; }
.toc li::marker, .toc-card li::marker { color: var(--graphite); font-variant-numeric: tabular-nums; }
.toc a, .toc-card a { text-decoration: none; }
.toc a:hover, .toc-card a:hover { color: var(--mag); text-decoration: underline; }

.cat-table { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; }
.cat-table th { text-align: left; font-size: .8rem; color: var(--graphite); font-weight: 600; padding: 10px 14px; background: #FAFBFB; border-bottom: 1px solid var(--rule); }
.cat-table td { padding: 11px 14px; border-top: 1px solid var(--tint); font-variant-numeric: tabular-nums; }
.cat-table td:first-child { font-weight: 600; }

.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pc > div { padding: 20px 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--rule); }
.pc h2 { font-size: 1.05rem !important; }
.pc ul { margin: 0; padding: 0; list-style: none; font-size: .96rem; }
.pc li { position: relative; padding-left: 26px; margin-bottom: .6em; }
.pc li::before { content: ""; position: absolute; left: 2px; top: .35em; width: 14px; height: 14px; border-radius: 50%; }
.pc > div:first-child li::before { background: #DDEFE7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 3.8L18 8' fill='none' stroke='%231F6B55' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.pc > div:last-child li::before { background: var(--amber-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6.5v7M12 17.5v.2' fill='none' stroke='%23B7791F' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; }

.faqs details { border-top: 1px solid var(--rule); }
.faqs details:last-child { border-bottom: 1px solid var(--rule); }
.faqs summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 600; list-style: none; position: relative; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--graphite); border-bottom: 2px solid var(--graphite); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faqs details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faqs details .serif { padding: 0 0 14px; font-size: 1.08rem; }
.faqs details p { margin: 0; }

.ruo-note { font-size: .88rem; color: var(--amber-ink); background: var(--amber-bg); border: 1px solid #EBD7AE; border-radius: 10px; padding: 12px 16px; margin: 0 0 40px; }
.alts .sheet { font-size: .92rem; }

.spec { position: sticky; top: 20px; display: grid; gap: 18px; }
.spec-card { background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 20px; }
.spec-card h2 { font-size: 1rem; margin-bottom: 12px; }
.spec-card dl { margin: 18px 0 0; font-size: .9rem; }
.spec-card .fine { margin: 8px 0 0; }
.spec-card dl > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-top: 1px solid var(--tint); }
.spec-card dt { color: var(--graphite); }
.spec-card dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.spec-card.mini ul { list-style: none; margin: 0 0 14px; padding: 0; }
.spec-card.mini li a { display: flex; align-items: center; gap: 10px; padding: 8px 0; text-decoration: none; border-top: 1px solid var(--tint); font-weight: 600; font-size: .94rem; }
.spec-card.mini li a span:not(.score):not(.mono) { flex: 1; }
.spec-card.mini .mono { width: 32px; height: 32px; font-size: .8rem; border-radius: 8px; }
.spec-card.mini .mono::after { width: 7px; height: 7px; }

/* figures */
.fig { margin: 1.6em 0 2em; padding: 20px; background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; font-family: var(--sans); }
.fig svg { width: 100%; height: auto; overflow: visible; }
.fig .area { fill: var(--mag); opacity: .07; }
.fig .line { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linejoin: round; }
.fig .axis { stroke: var(--rule-strong); stroke-width: 1.2; }
.fig .ticks text, .fig .xlabel { font: 500 12px var(--sans); fill: var(--graphite); text-anchor: middle; }
.fig .xlabel { text-anchor: end; }
.fig .note circle { fill: var(--mag); }
.fig .note text { font: 700 12px var(--sans); fill: #fff; text-anchor: middle; }
.fig .bars line { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.fig .expect { stroke: var(--mag); stroke-width: 1.4; stroke-dasharray: 4 4; }
.fig .lab { font: 700 13.5px var(--sans); fill: var(--mag); }
.fig .lab.sub { font-weight: 500; fill: var(--ink); font-size: 12.5px; }
.fig figcaption { font-size: .9rem; color: #3A4A53; line-height: 1.5; margin-top: 14px; }
.keys { margin: 0; padding: 0; list-style: none; counter-reset: k; display: grid; gap: 8px; }
.keys li { counter-increment: k; position: relative; padding-left: 32px; margin: 0; }
.keys li::before { content: counter(k); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--mag); color: #fff; font: 700 12px/22px var(--sans); text-align: center; }
.coa-sheet { border: 1px solid var(--rule-strong); border-radius: 8px; overflow: hidden; background: #FCFDFD; }
.coa-head { display: flex; justify-content: space-between; background: var(--ink); color: var(--paper); padding: 10px 14px; font-weight: 600; font-size: .92rem; }
.coa-head span:last-child { color: #A9B8B4; font-weight: 500; }
.coa-sheet table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.coa-sheet th, .coa-sheet td { text-align: left; padding: 8px 14px; border-top: 1px solid var(--tint); font-weight: 400; }
.coa-sheet th { color: var(--graphite); width: 38%; }
.coa-sheet td { font-weight: 500; }
.coa-sheet td.n { width: 40px; text-align: right; }
.coa-sheet td.n span { display: inline-block; width: 22px; height: 22px; border-radius: 50%; background: var(--mag); color: #fff; font: 700 12px/22px var(--sans); text-align: center; }
.bands { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bands li { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px 14px; border-radius: 10px; background: var(--paper); border-left: 6px solid; font-size: .94rem; }
.bands b { font-variant-numeric: tabular-nums; }
.bands .cold { border-color: #2E5B78; }
.bands .cool { border-color: #6F9AB0; }
.bands .room { border-color: #B9C6C2; }
.bands .hot { border-color: var(--amber); }

/* gate */
.gate { border: 0; padding: 0; border-radius: 16px; max-width: 470px; width: calc(100% - 32px); color: var(--ink); background: var(--surface); box-shadow: 0 24px 60px rgba(20, 34, 44, .28); }
.gate::backdrop { background: rgba(20, 34, 44, .55); }
.gate form { padding: 28px; }
.gate h2 { font-size: 1.35rem; margin-bottom: .6em; }
.gate p { color: #33444E; }
.tick { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 10px; background: var(--amber-bg); color: var(--amber-ink); font-weight: 500; cursor: pointer; }
.tick input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--mag); flex: none; }
.gate-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.gate-actions .btn:first-child { background: var(--mag); border-color: var(--mag); }

/* footer */
.foot { background: var(--tint); border-top: 1px solid var(--rule); padding: 56px 0 40px; font-size: .92rem; }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; }
.foot-brand p { color: #3A4A53; max-width: 44ch; margin-top: 14px; }
.foot-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.foot-nav h2 { font-size: .9rem; margin-bottom: 10px; }
.foot-nav a { display: block; text-decoration: none; color: #33444E; padding: 4px 0; }
.foot-nav a:hover { color: var(--mag); }
.foot-legal { grid-column: 1 / -1; border-top: 1px solid var(--rule-strong); padding-top: 22px; color: var(--graphite); font-size: .85rem; }
.foot-legal p { max-width: 90ch; }

/* responsive */
@media (max-width: 980px) {
  .hero-grid, .two { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { max-width: 20ch; }
  .file-grid { grid-template-columns: 1fr; gap: 32px; }
  .spec { position: static; order: -1; }
  .file-body { order: 1; }
  .guide-list, .guide-list.compact { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --gut: 16px; }
  body { font-size: 16px; }
  .ruo .wrap { align-items: flex-start; }
  .ruo svg { margin-top: 2px; }
  .top .wrap { min-height: 60px; }
  .nav a { padding: 8px 8px; font-size: .94rem; }
  .nav a[href$="how-we-review/"] { display: none; }
  .hero { padding: 36px 0 40px; }
  .hero-fig { padding: 14px 12px 12px; }
  .band { padding: 52px 0; }
  .checklist.cols { grid-template-columns: 1fr; }
  .guide-list, .guide-list.compact { grid-template-columns: 1fr; }
  .guide-item.lead { grid-column: auto; }
  .sheet, .sheet tbody, .sheet tr, .sheet td, .sheet tbody th { display: block; }
  .sheet { border: 0; background: transparent; overflow: visible; }
  .sheet thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sheet tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r); padding: 14px; margin-bottom: 10px; }
  .sheet tbody tr[hidden] { display: none; }
  .sheet td, .sheet tbody th { padding: 0; border: 0; }
  .sheet .who { grid-column: 1 / -1; padding-bottom: 10px; border-bottom: 1px solid var(--tint); }
  .sheet td[data-l]::before { content: attr(data-l); display: block; font-size: .76rem; color: var(--graphite); margin-bottom: 2px; }
  .sheet .sc { grid-column: auto; }
  .sheet .go { grid-column: 1 / -1; padding-top: 6px; border-top: 1px solid var(--tint); }
  .sheet .go a { display: block; text-align: center; padding: 6px 0 0; }
  .filters { padding: 12px; }
  .sort { margin-left: 0; }
  .file-title { gap: 14px; }
  .mono.lg { width: 52px; height: 52px; font-size: 1.15rem; border-radius: 12px; }
  .file-meta { padding-left: 0; gap: 16px; flex-wrap: wrap; }
  .head-visit { display: flex; width: 100%; margin-top: 4px; }
  .file-meta p { padding-left: 16px; }
  .check-table, .check-table tbody, .check-table tr, .check-table th, .check-table td { display: block; width: auto !important; }
  .check-table tr { padding: 12px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; }
  .check-table th, .check-table td { border: 0; padding: 0; }
  .check-table .nt { grid-column: 1 / -1; }
  .pc { grid-template-columns: 1fr; }
  .serif { font-size: 1.1rem; }
  .spec-card dl > div { grid-template-columns: 104px minmax(0, 1fr); }
  .bands li { grid-template-columns: 1fr; gap: 2px; }
  .foot .wrap, .foot-nav { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media print { .ruo, .top, .foot, .spec, .gate { display: none; } }
