/* ===== Product description: the "Archive" layout ===========================
   Loaded only on product pages that have a structured description (inc/product-description.php).
   It also restyles those pages' hero summary, key-fact tiles, tab bar and Specifications tab.

   The spec-table rules are written "table.kg-spec-table": single-product.html carries its own
   <style> block for that table inside the page body, which comes after this file, so the extra
   type selector is what lets these rules win. */

/* ===== Archive Dossier =====================================================
   Type scale: 12 mono / 15 tables / 17 reading / 24 section heads / 26 lead / 33 timeline / 52 figures.
   Faces: Playfair Display for section heads, the lead, figures and timeline values; Inter for
   everything people read; JetBrains Mono only for metadata (numbers, column heads, captions) and
   true codes (SKU, M2560, 30G). Grid: the hero's 12 columns, 64px gutters. */

.kg-single{
  /* Readability pass (owner, 2026-10-14): text is black, labels a dark grey; violet stays as the
     accent only (section numbers, the current-row bar, list dots, focus rings). */
  --ar-ink:#111111; --ar-ink-2:#2e1065; --ar-accent:#6950a2;
  --ar-text:#1a1a1a; --ar-muted:#505050; --ar-faint:#8a8a8a;
  --ar-rule:#e2e8f0; --ar-rule-2:#cfc8da; --ar-tint:#f3f0fa; --ar-bg:#fcf9f8; --ar-band:#f1f3ff;
  --ar-surface:var(--ar-bg);
  --ar-serif:"Playfair Display",Georgia,"Times New Roman",serif;
  --ar-sans:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
  --ar-mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --ar-gap:64px;
}

/* ---- Hero summary: the same ruled, mono-labelled voice as the dossier ---- */
.kg-single span:has(+ h1){
  font-family:var(--ar-mono); font-size:12px; font-weight:400; line-height:1.4;
  letter-spacing:0; text-transform:none; color:var(--ar-muted);
}
.kg-single .kg-short{ color:var(--ar-text); }
.kg-single .kg-short p{ font-size:18px; line-height:1.6; }
/* spec tiles: a ruled 2 x 2 grid under a 1px ink rule */
.kg-single .kg-short + .grid{
  row-gap:0; column-gap:32px; padding-bottom:0; margin-bottom:36px;
  border-bottom:0; border-top:1px solid var(--ar-ink);
}
.kg-single .kg-short + .grid > div{ padding:13px 0 14px; border-bottom:1px solid var(--ar-rule); }
.kg-single .kg-short + .grid > div > p:first-child{
  font-family:var(--ar-mono); font-size:12px; font-weight:400; line-height:1.4;
  letter-spacing:0; text-transform:none; color:var(--ar-muted); margin-bottom:5px;
}
.kg-single .kg-short + .grid .kg-spec-val{ font-size:16px; line-height:1.4; font-weight:500; color:var(--ar-ink); }
.kg-single .kg-price > span:first-child{
  font-family:var(--ar-mono); font-size:12px; font-weight:400; letter-spacing:0;
  text-transform:none; color:var(--ar-muted); margin-bottom:6px;
}

/* ---- Tab bar: sentence case, an underline for the open tab ---- */
.kg-single .kg-tab-btn{
  font-family:var(--ar-sans); font-size:15px; font-weight:500; line-height:1.2;
  letter-spacing:0; text-transform:none; padding:18px 0 15px; margin-right:40px;
}
.kg-single .kg-tab-btn:focus-visible{ outline:2px solid var(--ar-accent); outline-offset:2px; }

/* ---- Specifications tab: same rail as the description ---- */
.kg-single table.kg-spec-table{ max-width:none; border-top:1px solid var(--ar-ink); border-bottom:1px solid var(--ar-ink); }
.kg-single table.kg-spec-table th{
  width:25%; padding:15px 24px 15px 0; /* 25% + the value's 16px inset = the rail (columns 1–3 + one gutter) */
  font-family:var(--ar-mono); font-size:12.5px; font-weight:400; letter-spacing:0; text-transform:none;
  color:var(--ar-muted); line-height:1.5;
}
.kg-single table.kg-spec-table td{ padding:14px 0 14px 16px; font-size:16px; line-height:1.5; color:var(--ar-ink); }
.kg-single table.kg-spec-table tr:last-child > *{ border-bottom:0; }

/* ---- Description: neutralise the theme's narrow column, list icons and type ---- */
.kg-single .kg-desc:has(> .archive){ max-width:none; }
.kg-single .kg-desc .archive{ font-family:var(--ar-sans); color:var(--ar-text); font-variant-numeric:lining-nums; }
.kg-single .kg-desc .archive p{ margin:0; }
.kg-single .kg-desc .archive ul,
.kg-single .kg-desc .archive ol{ list-style:none; margin:0; padding:0; }
.kg-single .kg-desc .archive li::before{ content:none; }
.kg-single .kg-desc .archive-li{ display:block; max-width:36em; text-wrap:pretty; }
.kg-single .kg-desc .archive-q{ white-space:nowrap; font-weight:500; color:var(--ar-ink); }

/* Section: a ruled row on the hero's 12-column grid */
.kg-single .kg-desc .archive-sec{
  display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:var(--ar-gap);
  padding:48px 0 60px; border-top:1px solid var(--ar-rule);
}
.kg-single .kg-desc .archive-sec:first-of-type{ border-top:0; padding-top:4px; }
.kg-single .kg-desc .archive-sec:last-child{ padding-bottom:8px; }

/* How to use: the one tinted band, full bleed, so the dose block is found at a glance */
.kg-single .kg-desc .archive-sec--use{
  --ar-surface:var(--ar-band);
  background:var(--ar-band); box-shadow:0 0 0 100vmax var(--ar-band); clip-path:inset(0 -100vmax);
  border-top-color:transparent; padding-top:60px; padding-bottom:68px;
}
.kg-single .kg-desc .archive-sec--use:first-of-type{ margin-top:-4px; }
.kg-single .kg-desc .archive-sec--use:last-child{ padding-bottom:68px; }
.kg-single .kg-desc .archive-sec--use + .archive-sec{ border-top-color:transparent; padding-top:60px; }

/* Section head: mono number and tick over a Playfair title — the site's eyebrow-over-heading voice */
.kg-single .kg-desc .archive-mark{
  grid-column:1 / span 3; align-self:start; position:sticky; top:140px; scroll-margin-top:136px;
  display:flex; flex-direction:column; align-items:flex-start; gap:12px; margin:0;
  font:inherit; color:var(--ar-ink);
}
.kg-single .kg-desc .archive-mark__n{
  display:flex; align-items:center; gap:12px;
  font-family:var(--ar-mono); font-size:12px; font-weight:400; line-height:1.4; letter-spacing:.02em;
  color:var(--ar-accent); transition:color .25s ease;
}
.kg-single .kg-desc .archive-mark__n::after{ content:none; }
.kg-single .kg-desc .archive-mark__t{
  font-family:var(--ar-serif); font-size:24px; font-weight:500; line-height:1.2; letter-spacing:-.005em;
  color:var(--ar-ink); text-wrap:balance;
}

/* Content: nine columns, same gutter, so inner splits stay on the hero grid */
.kg-single .kg-desc .archive-body{
  grid-column:4 / -1; min-width:0;
  display:grid; grid-template-columns:repeat(9,minmax(0,1fr)); column-gap:var(--ar-gap); row-gap:44px;
}
.kg-single .kg-desc .archive-body > *{ grid-column:1 / -1; min-width:0; }

/* Overview: the editorial lead, held to about 55–60 characters a line */
.kg-single .kg-desc .archive-lead{
  max-width:26em; font-family:var(--ar-serif); font-weight:400; font-size:26px; line-height:1.46;
  letter-spacing:-.004em; color:var(--ar-ink); text-wrap:pretty;
}

/* Typeset lists: rules run to the content edge, a short accent rule hangs at each row */
.kg-single .kg-desc .archive-list li{
  position:relative; margin:0; padding:13px 0 13px 30px; border-top:1px solid var(--ar-rule);
  font-size:17px; line-height:1.55; color:var(--ar-text);
}
.kg-single .kg-desc .archive-list li:first-child{ border-top:0; padding-top:2px; }
.kg-single .kg-desc .archive-list li::before{
  content:""; position:absolute; left:0; top:calc(13px + .78em); width:14px; height:1px;
  background:var(--ar-accent); font:inherit;
}
.kg-single .kg-desc .archive-list li:first-child::before{ top:calc(2px + .78em); }
.kg-single .kg-desc .archive-list--benefits li{ color:var(--ar-ink); }

/* Application areas: a ruled index in two columns, read down then across; plain rows, not chips */
.kg-single .kg-desc .archive-list--areas{ columns:2; column-gap:var(--ar-gap); }
.kg-single .kg-desc .archive-list--areas li,
.kg-single .kg-desc .archive-list--areas li:first-child{
  break-inside:avoid; padding:12px 0 13px; border-top:1px solid var(--ar-rule); color:var(--ar-ink);
}
.kg-single .kg-desc .archive-list--areas li::before{ content:none; }

/* Sub-heads inside How to use: decimal mono number + Inter */
.kg-single .kg-desc .archive-h3{
  display:flex; align-items:baseline; gap:12px; margin:0 0 14px;
  font-family:var(--ar-sans); font-size:16px; font-weight:600; line-height:1.4; letter-spacing:-.005em; color:var(--ar-ink);
}
.kg-single .kg-desc .archive-h3__n{
  flex:none; font-family:var(--ar-mono); font-size:12px; font-weight:400; letter-spacing:.02em; color:var(--ar-accent);
}

/* Data sheets. The wrapper scrolls on its own; edge shadows show when there is more to the side. */
.kg-single .kg-desc .archive-tablewrap{
  overflow-x:auto; -webkit-overflow-scrolling:touch;
  background:
    linear-gradient(90deg, var(--ar-surface) 30%, transparent) left center / 28px 100% no-repeat local,
    linear-gradient(270deg, var(--ar-surface) 30%, transparent) right center / 28px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(23,0,64,.16), rgba(23,0,64,0)) left center / 12px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(23,0,64,.16), rgba(23,0,64,0)) right center / 12px 100% no-repeat scroll;
}
.kg-single .kg-desc .archive-tablewrap:focus-visible{ outline:2px solid var(--ar-accent); outline-offset:4px; }
.kg-single .kg-desc .archive-block--table:not(.is-split) .archive-tablewrap--c2{ max-width:30rem; }
.kg-single .kg-desc .archive-table{
  width:100%; margin:0; border-collapse:separate; border-spacing:0;
  font-family:var(--ar-sans); font-size:15px; line-height:1.45; font-variant-numeric:lining-nums tabular-nums;
  border-top:1px solid var(--ar-ink); border-bottom:1px solid var(--ar-ink);
}
.kg-single .kg-desc .archive-table th,
.kg-single .kg-desc .archive-table td{
  padding:13px 28px 13px 0; text-align:left; vertical-align:baseline; background:none;
  border:0; border-bottom:1px solid var(--ar-rule); font-size:inherit; font-weight:400;
  letter-spacing:0; text-transform:none; color:var(--ar-text);
}
.kg-single .kg-desc .archive-table tr > :first-child{ padding-left:14px; }
.kg-single .kg-desc .archive-table tr > :last-child{ padding-right:14px; }
.kg-single .kg-desc .archive-table thead th{
  padding-top:11px; padding-bottom:10px; border-bottom:1px solid var(--ar-rule-2);
  font-family:var(--ar-mono); font-size:12px; font-weight:400; color:var(--ar-muted); white-space:nowrap;
}
.kg-single .kg-desc .archive-table tbody th{ font-weight:600; color:var(--ar-ink); }
.kg-single .kg-desc .archive-table tbody tr:last-child > *{ border-bottom:0; }
.kg-single .kg-desc .archive-table--dense tbody th,
.kg-single .kg-desc .archive-table--dense tbody td{ padding-top:8px; padding-bottom:8px; }
.kg-single .kg-desc .archive-table .is-r{ text-align:right; }
.kg-single .kg-desc .archive-table--data tr > :not(:first-child){ width:1%; white-space:nowrap; }
.kg-single .kg-desc .archive-table .is-num{ color:var(--ar-ink); white-space:nowrap; }
.kg-single .kg-desc .archive-table .is-code{
  font-family:var(--ar-mono); font-size:13.5px; font-weight:400; letter-spacing:-.01em; color:var(--ar-ink); white-space:nowrap;
}
.kg-single .kg-desc .archive-table tbody th.is-code{ font-weight:500; }
.kg-single .kg-desc .archive-table .is-nil{ color:var(--ar-faint); }
.kg-single .kg-desc .archive-table tr.is-current > *{ background:var(--ar-tint); }
.kg-single .kg-desc .archive-table tr.is-current > :first-child{ box-shadow:inset 2px 0 0 var(--ar-accent); }
.kg-single .kg-desc .archive-cur{
  display:block; margin-top:3px; font-family:var(--ar-mono); font-size:11.5px; font-weight:400;
  letter-spacing:0; color:var(--ar-accent); white-space:nowrap;
}

/* Key numbers: a typographic readout */
.kg-single .kg-desc .archive-readout{
  display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); column-gap:var(--ar-gap); margin:0;
  border-top:1px solid var(--ar-ink); border-bottom:1px solid var(--ar-rule);
}
.kg-single .kg-desc .archive-readout--n1{ grid-template-columns:minmax(0,1fr); }
.kg-single .kg-desc .archive-readout--n2{ grid-template-columns:repeat(2,minmax(0,1fr)); }
.kg-single .kg-desc .archive-readout--n4{ grid-template-columns:repeat(4,minmax(0,1fr)); column-gap:44px; }
.kg-single .kg-desc .archive-readout__item{ position:relative; padding:16px 0 24px; min-width:0; }
.kg-single .kg-desc .archive-readout__item + .archive-readout__item::before{
  content:""; position:absolute; top:0; bottom:0; left:calc(var(--ar-gap) / -2); width:1px; background:var(--ar-rule);
}
.kg-single .kg-desc .archive-readout--n4 .archive-readout__item + .archive-readout__item::before{ left:-22px; }
.kg-single .kg-desc .archive-readout dt{
  margin:0 0 18px; font-family:var(--ar-mono); font-size:12px; line-height:1.4; color:var(--ar-muted);
}
.kg-single .kg-desc .archive-readout{ --ar-fig:52px; }
.kg-single .kg-desc .archive-readout--n4{ --ar-fig:44px; }
.kg-single .kg-desc .archive-readout dd{ margin:0; line-height:1.1; color:var(--ar-ink); }
/* an invisible strut at figure size, so a word value ("Subcutaneous") shares the figures' baseline */
.kg-single .kg-desc .archive-readout dd::before{
  content:"\200b"; font-family:var(--ar-serif); font-size:var(--ar-fig); font-weight:500; line-height:1;
}
.kg-single .kg-desc .archive-fig__v{ white-space:nowrap; }
.kg-single .kg-desc .archive-fig__num{
  font-family:var(--ar-serif); font-size:var(--ar-fig); font-weight:500; line-height:1; letter-spacing:-.01em;
  font-variant-numeric:lining-nums; color:var(--ar-ink);
}
.kg-single .kg-desc .archive-fig__aux{
  font-family:var(--ar-sans); font-size:18px; font-weight:500; line-height:1.3; letter-spacing:-.005em; color:var(--ar-ink);
}
.kg-single .kg-desc .archive-fig__v .archive-fig__aux{ margin-left:.08em; }
.kg-single .kg-desc .archive-fig__x{
  display:block; margin-top:9px; font-family:var(--ar-sans); font-size:14.5px; font-weight:400; line-height:1.4; color:var(--ar-muted);
}
.kg-single .kg-desc .archive-fig__word{
  display:inline-block; font-family:var(--ar-serif); font-size:26px; font-weight:400; line-height:1.2; color:var(--ar-ink);
}

/* Method + dose table side by side: columns 4–8 | 9–12 of the hero grid */
.kg-single .kg-desc .archive-block--steps.is-split{ grid-column:1 / span 5; }
.kg-single .kg-desc .archive-block--table.is-split{ grid-column:6 / -1; }

.kg-single .kg-desc .archive-steps{ counter-reset:archive-step; border-top:1px solid var(--ar-ink); }
.kg-single .kg-desc .archive-steps > li{
  counter-increment:archive-step; display:grid; grid-template-columns:40px minmax(0,1fr); align-items:baseline;
  margin:0; padding:13px 0 14px; border-top:1px solid var(--ar-rule);
  font-size:17px; line-height:1.55; color:var(--ar-text); text-wrap:pretty;
}
.kg-single .kg-desc .archive-steps > li:first-child{ border-top:0; }
.kg-single .kg-desc .archive-steps > li::before{
  content:counter(archive-step, decimal-leading-zero); position:static; width:auto; height:auto; background:none;
  font-family:var(--ar-mono); font-size:12px; line-height:1; color:var(--ar-accent);
}

/* Full protocol (collapsible) */
.kg-single .kg-desc .archive-proto{ border-top:1px solid var(--ar-rule-2); border-bottom:1px solid var(--ar-rule); }
.kg-single .kg-desc .archive-body > .archive-proto:last-child{ border-bottom:0; }
.kg-single .kg-desc .archive-proto__s{
  list-style:none; cursor:pointer; display:flex; align-items:baseline; gap:12px; padding:16px 0;
  font-size:16px; font-weight:600; line-height:1.4; color:var(--ar-ink);
}
.kg-single .kg-desc .archive-proto__s::-webkit-details-marker{ display:none; }
.kg-single .kg-desc .archive-proto__s:hover .archive-proto__t{ color:var(--ar-accent); }
.kg-single .kg-desc .archive-proto__c{ margin-left:auto; font-family:var(--ar-mono); font-size:12px; font-weight:400; color:var(--ar-muted); }
.kg-single .kg-desc .archive-proto .archive-pm{ align-self:center; }
.kg-single .kg-desc .archive-proto .archive-steps{ border-top:1px solid var(--ar-rule); padding-bottom:4px; }
.kg-single .kg-desc .archive-proto__s:focus-visible,
.kg-single .kg-desc .archive-faq__q:focus-visible,
.kg-single .kg-desc .archive-jump__s:focus-visible,
.kg-single .kg-desc .archive-jump a:focus-visible{ outline:2px solid var(--ar-accent); outline-offset:4px; }

/* Plus / minus drawn in rules */
.kg-single .kg-desc .archive-pm{ position:relative; flex:none; width:13px; height:13px; }
.kg-single .kg-desc .archive-pm::before,
.kg-single .kg-desc .archive-pm::after{
  content:""; position:absolute; left:0; top:6px; width:13px; height:1px; background:var(--ar-accent);
  transition:transform .2s ease;
}
.kg-single .kg-desc .archive-pm::after{ transform:rotate(90deg); }
.kg-single .kg-desc details[open] > summary .archive-pm::after{ transform:rotate(0deg); }

/* Results timeline: a horizontal axis when the points are stages in time ... */
.kg-single .kg-desc .archive-axis{
  display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); grid-template-rows:repeat(4,auto);
}
.kg-single .kg-desc .archive-axis__pt{
  display:grid; grid-row:span 4; grid-template-rows:subgrid; margin:0; padding:0 36px 0 0; min-width:0;
}
.kg-single .kg-desc .archive-axis__label{
  align-self:end; padding-bottom:16px; font-family:var(--ar-mono); font-size:12px; line-height:1.4; color:var(--ar-muted);
}
.kg-single .kg-desc .archive-axis__mark{ position:relative; display:block; height:11px; margin-right:-36px; }
.kg-single .kg-desc .archive-axis__mark::before{
  content:""; position:absolute; left:0; right:0; top:5px; height:1px; background:var(--ar-ink);
}
.kg-single .kg-desc .archive-axis__pt:last-child{ padding-right:0; }
.kg-single .kg-desc .archive-axis__pt:last-child .archive-axis__mark{ margin-right:0; }
.kg-single .kg-desc .archive-axis--time .archive-axis__pt:last-child .archive-axis__mark::after{
  content:""; position:absolute; right:1px; top:1px; width:8px; height:8px;
  border-top:1px solid var(--ar-ink); border-right:1px solid var(--ar-ink); transform:rotate(45deg);
}
.kg-single .kg-desc .archive-axis__dot{
  position:absolute; left:0; top:0; width:11px; height:11px; border-radius:50%;
  background:var(--ar-ink); box-shadow:0 0 0 5px var(--ar-surface);
}
/* ... and parallel columns, each under its own ink rule, when they are variants (no arrow, no line through) */
.kg-single .kg-desc .archive-axis--set .archive-axis__mark,
.kg-single .kg-desc .archive-axis--set .archive-axis__pt:last-child .archive-axis__mark{ height:1px; margin-right:0; }
.kg-single .kg-desc .archive-axis--set .archive-axis__mark::before{ top:0; }
.kg-single .kg-desc .archive-axis--set .archive-axis__dot{ display:none; }
.kg-single .kg-desc .archive-axis__value{
  padding-top:20px; font-family:var(--ar-serif); font-size:33px; font-weight:400; line-height:1.12;
  letter-spacing:-.005em; color:var(--ar-ink); text-wrap:balance;
}
.kg-single .kg-desc .archive-axis--set .archive-axis__value{ padding-top:16px; }
.kg-single .kg-desc .archive-axis__note{
  padding-top:10px; max-width:22em; font-size:15px; line-height:1.5; color:var(--ar-muted);
}

/* FAQ: a ruled accordion */
.kg-single .kg-desc .archive-faq{ border-top:1px solid var(--ar-ink); }
.kg-single .kg-desc .archive-faq__item{ border-bottom:1px solid var(--ar-rule); }
.kg-single .kg-desc .archive-faq__q{
  list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:24px;
  padding:19px 0; font-family:var(--ar-sans); font-size:17.5px; font-weight:500; line-height:1.45; color:var(--ar-ink);
  transition:color .2s ease;
}
.kg-single .kg-desc .archive-faq__q::-webkit-details-marker{ display:none; }
.kg-single .kg-desc .archive-faq__q:hover{ color:var(--ar-accent); }
.kg-single .kg-desc .archive-faq__a{ padding:0 48px 24px 0; }
.kg-single .kg-desc .archive-faq__a p{ max-width:36em; font-size:17px; line-height:1.65; color:var(--ar-text); text-wrap:pretty; }

/* Compact contents: only where the rail is gone (below 900px) */
.kg-single .kg-desc .archive-jump{ display:none; }

/* ---- Rail screens: the section in view gets an ink marker ---- */
@media (min-width:900px){
  .kg-single .kg-desc .archive-sec.is-active .archive-mark__n{ color:var(--ar-ink); }
}

/* ---- Medium screens: narrower rail; steps and table stack ---- */
@media (max-width:1023px){
  .kg-single{ --ar-gap:32px; }
  .kg-single .kg-desc .archive-sec{ grid-template-columns:168px minmax(0,1fr); column-gap:40px; }
  .kg-single .kg-desc .archive-mark{ grid-column:1; }
  .kg-single .kg-desc .archive-mark__t{ font-size:21px; }
  .kg-single .kg-desc .archive-body{ grid-column:2; }
  .kg-single .kg-desc .archive-block--steps.is-split,
  .kg-single .kg-desc .archive-block--table.is-split{ grid-column:1 / -1; }
  .kg-single .kg-desc .archive-block--table.is-split .archive-tablewrap--c2{ max-width:30rem; }
  .kg-single .kg-desc .archive-lead{ font-size:23px; }
  .kg-single .kg-desc .archive-readout--n4{ grid-template-columns:repeat(2,minmax(0,1fr)); row-gap:0; }
  .kg-single .kg-desc .archive-readout--n4 .archive-readout__item:nth-child(3)::before{ display:none; }
  .kg-single .kg-desc .archive-readout--n4 .archive-readout__item:nth-child(n+3){ border-top:1px solid var(--ar-rule); }
  .kg-single .kg-desc .archive-readout--n4 .archive-readout__item + .archive-readout__item::before{ left:-16px; }
  .kg-single table.kg-spec-table th{ width:168px; }
  .kg-single table.kg-spec-table td{ padding-left:40px; }
}

/* ---- Below 900px: one column; the section head becomes a running head ---- */
@media (max-width:899px){
  .kg-single .kg-desc .archive-sec{ display:block; padding:36px 0 44px; }
  .kg-single .kg-desc .archive-sec:first-of-type{ padding-top:32px; }
  .kg-single .kg-desc .archive-sec--use,
  .kg-single .kg-desc .archive-sec--use:last-child{ padding-top:44px; padding-bottom:52px; }
  .kg-single .kg-desc .archive-sec--use:first-of-type{ margin-top:0; }
  .kg-single .kg-desc .archive-sec--use + .archive-sec{ padding-top:44px; }
  .kg-single .kg-desc .archive-sec:last-child:not(.archive-sec--use){ padding-bottom:8px; }
  .kg-single .kg-desc .archive-mark{ position:static; gap:10px; margin:0 0 24px; scroll-margin-top:128px; }
  .kg-single .kg-desc .archive-mark__t{ font-size:22px; }
  .kg-single .kg-desc .archive-body{ display:flex; flex-direction:column; gap:36px; }
  .kg-single table.kg-spec-table th{ width:36%; padding-right:16px; }
  .kg-single table.kg-spec-table td{ padding-left:16px; }

  .kg-single .kg-desc .archive-jump{ display:block; border-top:1px solid var(--ar-ink); border-bottom:1px solid var(--ar-rule); }
  .kg-single .kg-desc .archive-jump__s{
    list-style:none; cursor:pointer; display:flex; align-items:baseline; gap:12px; padding:14px 0;
    font-size:15px; font-weight:600; line-height:1.4; color:var(--ar-ink);
  }
  .kg-single .kg-desc .archive-jump__s::-webkit-details-marker{ display:none; }
  .kg-single .kg-desc .archive-jump__c{ margin-left:auto; font-family:var(--ar-mono); font-size:12px; font-weight:400; color:var(--ar-muted); }
  .kg-single .kg-desc .archive-jump .archive-pm{ align-self:center; }
  .kg-single .kg-desc .archive-jump__list{ padding-bottom:6px; }
  .kg-single .kg-desc .archive-jump__list li{ margin:0; padding:0; }
  .kg-single .kg-desc .archive-jump__list a{
    display:grid; grid-template-columns:36px minmax(0,1fr); align-items:baseline; padding:10px 0;
    border-top:1px solid var(--ar-rule); font-size:16px; line-height:1.4; color:var(--ar-ink); text-decoration:none;
  }
  .kg-single .kg-desc .archive-jump__n{ font-family:var(--ar-mono); font-size:12px; color:var(--ar-accent); }
}

/* ---- Phones ---- */
@media (max-width:699px){
  .kg-single div:has(> .kg-tab-btn){ flex-direction:row; gap:28px; }
  .kg-single .kg-tab-btn{ padding:14px 0 12px; margin-right:0; }
  .kg-single .kg-short + .grid{ column-gap:20px; }
  .kg-single .kg-desc .archive-sec{ padding:32px 0 40px; }
  .kg-single .kg-desc .archive-sec:first-of-type{ padding-top:28px; }
  .kg-single .kg-desc .archive-sec--use,
  .kg-single .kg-desc .archive-sec--use:last-child{ padding-top:40px; padding-bottom:44px; }
  .kg-single .kg-desc .archive-sec--use + .archive-sec{ padding-top:40px; }
  .kg-single .kg-desc .archive-mark{ margin-bottom:20px; }
  .kg-single .kg-desc .archive-mark__t{ font-size:21px; }
  .kg-single .kg-desc .archive-body{ gap:32px; }
  .kg-single .kg-desc .archive-lead{ font-size:21px; line-height:1.48; }
  .kg-single .kg-desc .archive-list li,
  .kg-single .kg-desc .archive-steps > li,
  .kg-single .kg-desc .archive-faq__a p{ font-size:16px; }
  .kg-single .kg-desc .archive-list--areas{ columns:1; }
  .kg-single .kg-desc .archive-list--areas li:first-child{ border-top:0; padding-top:2px; }
  .kg-single .kg-desc .archive-steps > li{ grid-template-columns:34px minmax(0,1fr); }

  /* readout becomes a ledger: label left, figure right */
  .kg-single .kg-desc .archive-readout{ display:block; }
  .kg-single .kg-desc .archive-readout > .archive-readout__item:nth-child(n){
    display:flex; align-items:baseline; justify-content:space-between; gap:20px; padding:14px 0 15px;
    border-top:1px solid var(--ar-rule);
  }
  .kg-single .kg-desc .archive-readout > .archive-readout__item:first-child{ border-top:0; }
  .kg-single .kg-desc .archive-readout__item + .archive-readout__item::before{ display:none; }
  .kg-single .kg-desc .archive-readout dt{ flex:1 1 auto; max-width:46%; margin:0; }
  .kg-single .kg-desc .archive-readout dd{ flex:0 1 auto; text-align:right; }
  .kg-single .kg-desc .archive-readout,
  .kg-single .kg-desc .archive-readout--n4{ --ar-fig:34px; }
  .kg-single .kg-desc .archive-fig__aux{ font-size:16px; }
  .kg-single .kg-desc .archive-fig__x{ margin-top:6px; font-size:13.5px; }
  .kg-single .kg-desc .archive-fig__word{ font-size:21px; }

  /* tables: scroll inside their box, the row-header column stays put */
  .kg-single .kg-desc .archive-table{ font-size:14.5px; }
  .kg-single .kg-desc .archive-table th,
  .kg-single .kg-desc .archive-table td{ padding-right:22px; }
  .kg-single .kg-desc .archive-table--c3{ min-width:460px; }
  .kg-single .kg-desc .archive-table--c4,
  .kg-single .kg-desc .archive-table--c5{ min-width:580px; }
  .kg-single .kg-desc .archive-table.archive-table--data{ min-width:0; } /* packed figures: as wide as they need, no wider */
  .kg-single .kg-desc .archive-table--c3 tr > :first-child,
  .kg-single .kg-desc .archive-table--c4 tr > :first-child,
  .kg-single .kg-desc .archive-table--c5 tr > :first-child{
    position:sticky; left:0; z-index:1; background:var(--ar-surface); box-shadow:inset -1px 0 0 var(--ar-rule-2);
  }
  .kg-single .kg-desc .archive-table--c3 tr.is-current > :first-child,
  .kg-single .kg-desc .archive-table--c4 tr.is-current > :first-child,
  .kg-single .kg-desc .archive-table--c5 tr.is-current > :first-child{
    background:var(--ar-tint); box-shadow:inset 2px 0 0 var(--ar-accent), inset -1px 0 0 var(--ar-rule-2);
  }

  /* timeline turns vertical */
  .kg-single .kg-desc .archive-axis{ display:block; }
  .kg-single .kg-desc .archive-axis__pt{ display:block; position:relative; padding:0 0 28px 30px; }
  .kg-single .kg-desc .archive-axis__pt:last-child{ padding-bottom:0; }
  .kg-single .kg-desc .archive-axis > li.archive-axis__pt::before{
    content:""; position:absolute; left:5px; top:8px; bottom:-8px; width:1px; background:var(--ar-ink);
  }
  .kg-single .kg-desc .archive-axis > li.archive-axis__pt:last-child::before{ display:none; }
  .kg-single .kg-desc .archive-axis__label{ display:block; padding-bottom:6px; }
  .kg-single .kg-desc .archive-axis__mark{ position:absolute; left:0; top:3px; width:11px; margin:0; }
  .kg-single .kg-desc .archive-axis__mark::before,
  .kg-single .kg-desc .archive-axis--time .archive-axis__pt:last-child .archive-axis__mark::after{ display:none; }
  .kg-single .kg-desc .archive-axis__value{ display:block; padding-top:0; font-size:26px; }
  .kg-single .kg-desc .archive-axis__note{ display:block; padding-top:6px; }
  .kg-single .kg-desc .archive-axis__note:empty{ display:none; }
  /* variants: a ledger of ink-ruled rows, no connecting line */
  .kg-single .kg-desc .archive-axis--set > li.archive-axis__pt{ padding:14px 0 22px; border-top:1px solid var(--ar-ink); }
  .kg-single .kg-desc .archive-axis--set > li.archive-axis__pt:last-child{ padding-bottom:0; }
  .kg-single .kg-desc .archive-axis--set > li.archive-axis__pt::before,
  .kg-single .kg-desc .archive-axis--set .archive-axis__mark{ display:none; }
  .kg-single .kg-desc .archive-axis--set .archive-axis__value{ padding-top:0; }

  .kg-single .kg-desc .archive-faq__q{ font-size:16.5px; padding:16px 0; }
  .kg-single .kg-desc .archive-faq__a{ padding-right:0; }
  .kg-single table.kg-spec-table th{ width:42%; }
  .kg-single table.kg-spec-table td{ padding-left:0; }
}

/* ===== Readability pass (owner feedback, 2026-10-14) =====================
   Goal: easier to read and scan. Black text; labels in Inter at 13px instead of 12px grey mono
   (mono stays only for codes such as SKUs, and for section and step numbers); the overview in
   Inter rather than a long serif paragraph; dots instead of dashes on lists; slightly larger
   tables; a little less empty space between sections. */
.kg-single h1, .kg-single .kg-price-amount{ color:var(--ar-ink); }
/* Section titles stay in the brand purple (owner, 2026-10-14); everything people read is black. */
.kg-single .kg-desc .archive-mark__t{ color:var(--ar-accent); }
.kg-single .kg-short + .grid > div > p:first-child,
.kg-single .kg-price > span:first-child,
.kg-single .kg-desc .archive-table thead th,
.kg-single .kg-desc .archive-readout dt,
.kg-single .kg-desc .archive-axis__label,
.kg-single .kg-desc .archive-proto__c,
.kg-single .kg-desc .archive-jump__c{
  font-family:var(--ar-sans); font-size:13px; font-weight:500; letter-spacing:0; color:var(--ar-muted);
}
.kg-single table.kg-spec-table th{ font-family:var(--ar-sans); font-size:14px; font-weight:500; color:var(--ar-muted); }
.kg-single .kg-desc .archive-lead{
  max-width:36em; font-family:var(--ar-sans); font-size:19px; font-weight:400; line-height:1.65;
  letter-spacing:0; color:var(--ar-text);
}
.kg-single .kg-desc .archive-list li::before{
  width:6px; height:6px; border-radius:50%; top:calc(13px + .58em);
}
.kg-single .kg-desc .archive-list li:first-child::before{ top:calc(2px + .58em); }
.kg-single .kg-desc .archive-mark__n{ font-size:12.5px; }
.kg-single .kg-desc .archive-table{ font-size:16px; }
.kg-single .kg-desc .archive-sec{ padding:40px 0 48px; }
.kg-single .kg-desc .archive-sec:first-of-type{ padding-top:4px; }
.kg-single .kg-desc .archive-sec--use,
.kg-single .kg-desc .archive-sec--use:last-child{ padding-top:52px; padding-bottom:56px; }
.kg-single .kg-desc .archive-sec--use + .archive-sec{ padding-top:52px; }
@media (max-width:1023px){ .kg-single .kg-desc .archive-lead{ font-size:18.5px; } }
@media (max-width:899px){ .kg-single .kg-desc .archive-sec{ padding:32px 0 40px; } }
@media (max-width:699px){
  .kg-single .kg-desc .archive-lead{ font-size:18px; line-height:1.6; }
  .kg-single .kg-desc .archive-table{ font-size:15px; }
  .kg-single .kg-desc .archive-sec{ padding:28px 0 36px; }
}

@media (prefers-reduced-motion:reduce){
  .kg-single .kg-desc .archive-pm::before,
  .kg-single .kg-desc .archive-pm::after,
  .kg-single .kg-desc .archive-faq__q,
  .kg-single .kg-desc .archive-mark__n,
  .kg-single .kg-desc .archive-mark__n::after{ transition:none; }
}
