/* Hindsight Solutions · hindsightsolutions.com */
@font-face { font-family: "Archivo"; src: url(fonts/archivo-latin.woff2) format("woff2"); font-weight: 400 700; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Mona Sans"; src: url(fonts/mona-sans.woff2) format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(fonts/plex-mono-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --ff-display: "Archivo", "Mona Sans", Arial, sans-serif;
  --ff-text: "Mona Sans", Arial, sans-serif;
  --ff-mono: "Plex Mono", ui-monospace, monospace;
  --t-h2: clamp(2rem, 3.6vw, 3.4rem);
  --t-h3: clamp(1.3rem, 1.9vw, 1.7rem);
  --t-lede: clamp(1.1rem, 1.35vw, 1.3rem);
  --t-small: .875rem;
  --wrap: 1320px;
  --gut: clamp(16px, 4vw, 56px);
  --radius: 4px;
  --sheet: #0A1513; --panel: #10201D; --ink: #EEF1EE; --ink-2: #AFC0BB; --ink-3: #8FA2A0;
  --accent: #3DBFA6; --accent-ink: #04130F; --line: rgba(238,241,238,.12); --line-strong: rgba(238,241,238,.26);
  --grid: rgba(61,191,166,.06); --glow: rgba(61,191,166,.32); --card-lit: rgba(61,191,166,.10);
  --paper: #EEF2EF; --paper-ink: #13211E; --paper-2: #45534F; --paper-3: #55625E; --paper-line: rgba(19,33,30,.14);
}
* { box-sizing: border-box; }
html { background: var(--sheet); color: var(--ink); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font: 400 1.0625rem/1.55 var(--ff-text); background: var(--sheet); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: var(--radius); z-index: 60; }
.skip:focus { left: 8px; }

body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

h1, h2, h3 { font-family: var(--ff-display); font-weight: 600; margin: 0; font-stretch: 112%; }
h1 { font-size: clamp(33px, 4.5vw, 66px); line-height: .98; letter-spacing: -.035em; }
h2 { font-size: var(--t-h2); line-height: 1.03; letter-spacing: -.03em; }
h3 { font-size: var(--t-h3); line-height: 1.1; letter-spacing: -.015em; }
p { margin: 0; }
.lede { font-size: var(--t-lede); line-height: 1.5; color: var(--ink-2); max-width: 36em; }
.mono { font-family: var(--ff-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.mono .sep { padding: 0 .55em; opacity: .7; }
.accent { color: var(--accent); }
.small { font-size: var(--t-small); color: var(--ink-3); }
.eyebrow { display: block; margin-bottom: 16px; }

/* header */
.top { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--sheet) 86%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.top .logo { display: block; padding: 8px 0; }
.top .logo img { height: 30px; width: auto; }
.top nav { display: flex; gap: 24px; margin-left: auto; font-size: .95rem; color: var(--ink-2); }
.top nav a { text-decoration: none; padding: 12px 0; white-space: nowrap; }
.top nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: .5em; font: 500 .95rem/1 var(--ff-text); padding: .95em 1.25em; border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink); text-decoration: none; border: 1px solid var(--accent); white-space: nowrap; cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.sm { padding: .85em 1.1em; font-size: .875rem; }
.menu { display: none; font: 400 .8rem/1 var(--ff-mono); letter-spacing: .12em; color: var(--ink-2); background: none; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 12px 14px; cursor: pointer; }

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 80px 80px; mask-image: radial-gradient(ellipse 70% 80% at 70% 45%, #000 20%, transparent 75%); }
.hero .hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; min-height: 600px; padding-top: 56px; padding-bottom: 40px; }
.hero .copy { display: grid; gap: 26px; align-content: center; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .stage { position: relative; display: grid; place-items: center; }
.hero .stage img { width: 100%; height: auto; }
.hero .stage::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: 4%; height: 16%; border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow), transparent); filter: blur(14px); z-index: -1; }
.four { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.four > a { padding: 26px 22px 30px 0; text-decoration: none; display: grid; gap: 10px; align-content: start; }
.four > a + a { padding-left: 22px; border-left: 1px solid var(--line); }
.four h2 { font-size: 1.3rem; line-height: 1.15; letter-spacing: -.015em; }
.four p { color: var(--ink-2); font-size: .98rem; }
.four > a:hover h2 { color: var(--accent); }

/* sections */
section { padding: clamp(72px, 9vw, 128px) 0; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.panel { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* cards */
.card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.card .media { position: relative; height: var(--mh, 320px); padding: 28px; background: radial-gradient(ellipse 60% 55% at 50% 60%, var(--card-lit), transparent 70%); }
.card .media img { width: 100%; height: 100%; object-fit: contain; }
.card .body { padding: 22px 24px 26px; display: grid; gap: 10px; align-content: start; border-top: 1px solid var(--line); }
.card .body h3 { font-size: 1.3rem; }
.card .body p { color: var(--ink-2); font-size: .96rem; }
.agents { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.agents .media { --mh: 260px; --mh-m: 200px; }
.agent-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.note { margin-top: 24px; color: var(--ink-2); font-size: .98rem; }
.note a { color: var(--accent); }

/* order */
.order { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.order h2 { margin-bottom: 20px; }

/* forms */
.form { display: grid; gap: 14px; }
.form label { min-width: 0; display: grid; gap: 6px; font-size: .85rem; color: var(--ink-2); }
.form input, .form select, .form textarea { font: inherit; font-size: 1rem; color: var(--ink); background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: .8em .9em; width: 100%; min-width: 0; min-height: 48px; }
.form select option { color: #13211E; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .btn { justify-self: start; }
.form.card { padding: 28px; display: grid; grid-template-rows: none; }
.form label[hidden], .known-m[hidden] { display: none; } .form .row:has(> label[hidden]) { grid-template-columns: 1fr; }
/* a remembered machine stands in for the System and Serial number fields (site.js foldIn) */
.known-m { display: flex; gap: 8px 14px; align-items: center; flex-wrap: wrap; margin: 0; max-width: none; font-size: .95rem; color: var(--ink); } .chat-act .known-m { grid-column: 1 / -1; font-size: .85rem; }
/* service page: the one visit form */
.svc-cta .chat-cta, .sub-cta .chat-cta { margin-top: 0; }
.svc-form { max-width: 760px; margin-top: 20px; scroll-margin-top: 90px; } .sub .svc-form h2 { margin: 0; font-size: clamp(1.3rem, 2vw, 1.7rem); } .svc-form textarea { resize: vertical; } .sub .calc.card > p { max-width: none; margin: 0; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 56px 0 40px; color: var(--ink-2); font-size: .9rem; }
footer .wrap { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
footer .brand img { height: 28px; width: auto; margin-bottom: 16px; }
footer h2 { font: 400 .74rem/1 var(--ff-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 8px; font-stretch: 100%; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; }
footer a { text-decoration: none; display: inline-block; padding: 9px 0; }
footer a:hover { color: var(--ink); }
footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }

/* sub-pages */
.sub { padding: 40px 0 96px; }
.crumbs { font: 400 .74rem/1 var(--ff-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 40px; }
.crumbs a { text-decoration: none; } .crumbs span { padding: 0 .5em; }
.sub-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; margin-bottom: 48px; }
.sub-head h1 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 20px; }
.sub-head img { max-height: 360px; width: auto; justify-self: center; }
.sub h2 { font-size: clamp(1.4rem, 2.2vw, 2rem); margin: 56px 0 16px; }
.sub h2 .mono { margin-left: 12px; }
.sub p { color: var(--ink-2); max-width: 46em; } .sub p a, .sub .specs a { color: var(--accent); }
.sub .dl { max-width: 720px; }
.sub-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 56px; }
.jump { margin-bottom: 8px; }
.parts-table tbody th { font: 500 .98rem/1.35 var(--ff-text); font-stretch: 100%; }
.parts-table tbody th span { display: block; font-weight: 400; font-size: .86rem; color: var(--ink-3); margin-top: 2px; }
.parts-table td { white-space: nowrap; font-family: var(--ff-mono); font-size: .8rem; }
.card h3 a, .matrix th a { text-decoration: none; }
.card h3 a:hover, .matrix th a:hover { color: var(--accent); }

/* detail lists, table */
.specs { margin: 4px 0 6px; display: grid; grid-template-columns: 150px 1fr; border-top: 1px solid var(--line); font-size: .95rem; }
.specs dt { font: 400 .72rem/1.9 var(--ff-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.specs dd { margin: 0; color: var(--ink-2); padding: 10px 0; border-bottom: 1px solid var(--line); }
.specs.wide { margin: 0 0 28px; }
.matrix-wrap { overflow-x: auto; margin-top: 8px; border: 1px solid var(--line); border-radius: var(--radius); }
.matrix { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .95rem; }
.matrix caption { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.matrix th, .matrix td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-weight: 400; }
.matrix thead th { font: 400 .72rem/1.4 var(--ff-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.matrix tbody th { color: var(--ink); font: 600 1rem/1.2 var(--ff-display); font-stretch: 112%; }
.matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-bottom: 0; }

/* part pictures */
.pt { width: 72px; height: 72px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #e9eeec; display: block; flex: none; }
.pt.none { background: radial-gradient(circle at 50% 50%, transparent 0 22%, #c3cdca 22% 25%, transparent 25% 38%, #c3cdca 38% 41%, transparent 41%), linear-gradient(160deg, #f4f7f6, #dde3e1); }
.pt { width: 44px; height: 44px; border-radius: 6px; object-fit: cover; }
.pt-row { display: flex; align-items: center; gap: 12px; } .pt-row > div { min-width: 0; }

/* team (.team-head is for the held team block in tools/about_fragments.json) */
.team-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin: 56px 0 20px; padding-top: 28px; border-top: 1px solid var(--line); }
.team-head p { color: var(--ink-2); max-width: 34em; }
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px 14px; }
.team li { display: grid; gap: 3px; align-content: start; }
.team img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: var(--radius); border: 1px solid var(--line); margin-bottom: 8px; }
.team b { font: 600 .98rem/1.25 var(--ff-display); font-stretch: 112%; }
.team .mono { font-size: .64rem; letter-spacing: .08em; line-height: 1.5; }
.team .lead .mono { color: var(--accent); }
.team .small { font-size: .8rem; }

.dl { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.dl li { border-bottom: 1px solid var(--line); }
.dl a { display: grid; gap: 2px; padding: 14px 28px 14px 0; text-decoration: none; position: relative; }
.dl a::after { content: "↓"; position: absolute; right: 4px; top: 14px; color: var(--accent); font-family: var(--ff-mono); }
.dl a:hover b { color: var(--accent); }
.dl b { font-weight: 500; }
.dl .meta { font: 400 .72rem/1.6 var(--ff-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.specs dd a, .lede a { color: var(--accent); }

/* chat */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 45; font: 500 .95rem/1 var(--ff-text); padding: 1em 1.3em; border-radius: 999px; background: var(--accent); color: var(--accent-ink); border: 0; cursor: pointer; box-shadow: 0 8px 28px rgba(0,0,0,.45); }
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 46; width: min(380px, calc(100vw - 24px)); max-height: min(560px, calc(100vh - 40px)); display: grid; grid-template-rows: auto 1fr auto auto; background: #0E1B18; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 10px; box-shadow: 0 16px 48px rgba(0,0,0,.6); overflow: hidden; }
.chat[hidden] { display: none; }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.chat-head div { display: grid; gap: 2px; margin-right: auto; }
.chat-head .lorin { width: 36px; height: 36px; margin-right: 12px; image-rendering: pixelated; }
.chat-fab { display: inline-flex; align-items: center; gap: 10px; }
.chat-fab[hidden] { display: none; }
.chat-fab img { width: 22px; height: 22px; image-rendering: pixelated; background: #0A1513; border-radius: 4px; padding: 2px; box-sizing: content-box; }
.chat-head .mono { font-size: .66rem; color: var(--accent); }
.chat-x { background: none; border: 0; color: var(--ink-2); font-size: 1.6rem; line-height: 1; width: 44px; height: 44px; cursor: pointer; }
.chat-log { overflow-y: auto; padding: 16px; display: grid; gap: 10px; align-content: start; min-height: 220px; font-size: .95rem; }
.chat-log p { padding: 10px 12px; border-radius: 10px; max-width: 88%; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-log .bot { background: rgba(238,241,238,.07); justify-self: start; }
.chat-log .me { background: var(--accent); color: var(--accent-ink); justify-self: end; }
.chat-form { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-form input { font: inherit; font-size: 1rem; color: var(--ink); background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: .7em .8em; min-width: 0; min-height: 44px; }
.chat-note { font-size: .72rem; color: var(--ink-3); padding: 0 14px 12px; }

@media (max-width: 1200px) { .team { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) {
  .card .media { height: var(--mh-m, 240px); }
  .menu { display: block; margin-left: auto; }
  .top .wrap { height: 60px; }
  .top .logo img { height: 22px; }
  header.top .btn { display: none; }

  .top nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--sheet); border-bottom: 1px solid var(--line); padding: 8px var(--gut) 16px; gap: 0; font-size: 1.05rem; }
  .top.open nav { display: grid; }
  .top nav a { padding: 14px 0; border-top: 1px solid var(--line); }
  .top nav a:first-child { border-top: 0; }
  .hero .hero-grid { grid-template-columns: 1fr; min-height: 0; padding-top: 36px; gap: 28px; }
  .four { grid-template-columns: 1fr; }
  .four > a, .four > a + a { padding: 20px 0; border-left: 0; }
  .four > a + a { border-top: 1px solid var(--line); }
  .sec-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 36px; }
  .agents, .order { grid-template-columns: 1fr; }
  .order { gap: 28px; }
  .form .row { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; }
   .sub-head { grid-template-columns: 1fr; gap: 28px; }
  .sub-head img { max-height: 240px; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .chat { right: 12px; bottom: 12px; }
  .chat-fab { right: 12px; bottom: 12px; }
  .specs dt { border-bottom: 0; padding-bottom: 0; }
  .specs dd { padding-top: 2px; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  footer .brand { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---- v8: shop by machine, upgrades, shop, legal, notice, motion ---- */
.card .media.can { height: 340px; padding: 24px; } .card .media.can img { object-fit: contain; }
.machines { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.machine { background: var(--sheet); border: 1px solid var(--line); border-radius: 10px; padding: 22px; display: grid; gap: 10px; grid-template-rows: 240px auto auto 1fr; transition: transform .2s ease, border-color .2s ease; }
.machine:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.machine .m-art { display: grid; place-items: end center; }
.machine .m-art img { max-height: 220px; width: auto; max-width: 100%; }
.machine h3 { font-size: 1.5rem; } .machine .mono { font-size: .66rem; letter-spacing: .08em; line-height: 1.6; }
.up-art { display: grid; place-items: center; padding: 28px 12px; background: radial-gradient(ellipse 70% 55% at 50% 60%, rgba(86,190,110,.22), transparent 70%); }
.up-art img { max-height: 380px; width: auto; }
.up-art.photo { padding: 0; background: none; } .up-art.photo img { width: 100%; height: 260px; max-height: none; object-fit: cover; }
.up-body { padding: 28px; display: grid; gap: 14px; align-content: start; }
.up-body h3 { font-size: clamp(1.4rem, 2.1vw, 1.9rem); } .up-body p { color: var(--ink-2); }
.tiles { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 8px; }
.tiles li { border: 1px solid rgba(126,214,154,.25); border-radius: 8px; padding: 12px 14px; display: grid; grid-template-columns: 150px 1fr; gap: 12px; align-items: baseline; background: rgba(126,214,154,.05); }
.tiles b { font: 600 .98rem/1.2 var(--ff-display); font-stretch: 112%; color: #C9F2D6; } .tiles span { font-size: .84rem; color: var(--ink-2); line-height: 1.4; }
.up-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.note.chem { border-left: 2px solid #F9B12A; padding-left: 14px; font-size: .9rem; color: var(--ink-2); max-width: 60em; }
.man-link { grid-column: 1 / -1; margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 22px 24px; border: 1px solid var(--line-strong); border-radius: 10px; text-decoration: none; background: var(--sheet); }
.man-link div { display: grid; gap: 4px; } .man-link b { font: 600 1.1rem/1.3 var(--ff-display); font-stretch: 112%; }
.man-link:hover { border-color: var(--accent); }
 .chat-cta { margin-top: 22px; }
.sub-head.one { grid-template-columns: 1fr; max-width: 900px; } .sub-cta.top { margin-top: 22px; }
  .sub .team { margin-top: 20px; }
/* shop */
.shop-head { padding: 8px 0 12px; max-width: 900px; } .shop-head h1 { font-size: clamp(2.2rem, 4.6vw, 4rem); margin-bottom: 18px; } .shop-head .lede { margin-bottom: 26px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips button { font: 500 .9rem/1 var(--ff-text); color: var(--ink-2); background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; padding: .8em 1.15em; cursor: pointer; min-height: 44px; transition: background .15s, color .15s, border-color .15s; }
.chips button:hover { border-color: var(--accent); color: var(--ink); }
.chips [aria-checked=true] { background: var(--ink); color: var(--sheet); border-color: var(--ink); }

.shop-sec { padding: 56px 0 0; } .shop-sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; } .shop-sec-head h2 { margin: 0; } .shop-sec-head .small { max-width: 34em; }
.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.p-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: grid; grid-template-rows: 210px 1fr; transition: transform .2s ease, border-color .2s ease; }
.p-card[hidden] { display: none; } .p-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.p-art { display: grid; place-items: center; padding: 18px; background: radial-gradient(ellipse 60% 60% at 50% 60%, var(--card-lit), transparent 72%); }
.p-art img { max-height: 174px; width: auto; } .p-art.glyph { color: var(--accent); } .p-art.glyph svg { width: 96px; height: 96px; opacity: .85; }
.p-body { padding: 20px; display: grid; gap: 12px; align-content: start; border-top: 1px solid var(--line); }
.p-body h3 { font-size: 1.2rem; } .p-body .mono { font-size: .66rem; letter-spacing: .08em; }

.p-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }

.shop-search input { font: inherit; font-size: 1.05rem; color: var(--ink); background: var(--panel); border: 1px solid var(--line-strong); border-radius: 10px; padding: 1em 1.1em; width: 100%; min-height: 56px; }
.empty { color: var(--ink-2); padding: 20px 0; } main.sub .note.chem { margin-top: 48px; }

/* legal */
.legal-doc { max-width: 820px; } .legal-doc h2 { margin: 48px 0 12px; } .legal-doc h3 { font-size: 1.1rem; margin: 26px 0 8px; letter-spacing: 0; }
.legal-doc p, .legal-doc li { color: var(--ink-2); max-width: none; } .legal-doc p + p { margin-top: 10px; } .legal-doc ul { padding-left: 1.2em; display: grid; gap: 6px; } .legal-doc .matrix-wrap { margin: 14px 0; } .legal-doc .matrix tbody th { font: 400 .95rem/1.4 var(--ff-text); font-stretch: 100%; }
.draft { border: 1px dashed #F9B12A; background: rgba(249,177,42,.08); color: #F9B12A; padding: 12px 16px; border-radius: 6px; font-size: .9rem; max-width: 820px; margin-bottom: 8px; }
/* storage notice */
.notice { position: fixed; left: 16px; bottom: 16px; z-index: 44; max-width: 440px; display: flex; gap: 14px; align-items: center; background: #0E1B18; border: 1px solid var(--line-strong); border-radius: 10px; padding: 14px 16px; box-shadow: 0 12px 36px rgba(0,0,0,.5); font-size: .86rem; color: var(--ink-2); }
.notice a { color: var(--accent); } .notice p { margin: 0; }
/* motion */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; } .reveal.in { opacity: 1; transform: none; }
.btn { transition: filter .15s ease, transform .15s ease; } .btn:active { transform: translateY(1px); }
.card { transition: transform .2s ease, border-color .2s ease; } .card:hover { border-color: var(--line-strong); }
@media (max-width: 1100px) { .machines { grid-template-columns: repeat(2, 1fr); } .p-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
  .p-grid, .tiles { grid-template-columns: 1fr; }
  .machines { grid-template-columns: 1fr 1fr; gap: 10px; } .machine { padding: 14px; grid-template-rows: 150px auto auto 1fr; } .machine .m-art img { max-height: 140px; } .machine h3 { font-size: 1.2rem; }
   .up-art img { max-height: 240px; }
     .p-foot { flex-wrap: wrap; }
  .notice { left: 12px; right: 12px; bottom: 12px; max-width: none; }

}
/* motion */
@keyframes hs-drift { from { transform: translateY(0) scale(1); } to { transform: translateY(-8px) scale(1.012); } }
@keyframes hs-slide { from { transform: translateX(28px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes hs-fade { from { opacity: 0; } to { opacity: 1; } }

.hero .stage img { animation: hs-drift 9s ease-in-out infinite alternate; will-change: transform; }

.four > a { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.card, .machine, .p-card { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, opacity .5s ease; }
@media (hover: hover) {
  .card:not(.form):hover, .machine:hover, .p-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: 0 14px 34px rgba(0,0,0,.28); }
}
img.pt { transition: opacity .35s ease; }
img.ld { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .machine, .p-card, .card, .btn, .four > a, img.pt { transition: none; }
  .hero .stage img { animation: none; }
  .card:not(.form):hover, .machine:hover, .p-card:hover { transform: none; }
  img.ld { opacity: 1; }
}

 .chat-cta[hidden], .chat-fab[hidden] { display: none; }
@media (max-width: 900px) { .tiles li { grid-template-columns: 1fr; gap: 4px; } }

/* forms that send from the page */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: .95rem; color: var(--ink-2); margin: 0; min-width: 0; overflow-wrap: anywhere; } .form-status:empty { display: none; }
.form-status.ok { color: var(--ink); font-weight: 500; padding: 14px 16px; border: 1px solid var(--accent); border-radius: var(--radius); }
.form-status a { color: var(--accent); }

[data-send][hidden], [data-send-note][hidden], [data-mail-note][hidden] { display: none; }

/* Lorin: chips under an answer and the hand-off form */
.chat-x-row { display: flex; flex-wrap: wrap; gap: 6px; margin: -2px 0 4px; }
.chat .chip { font: 500 .78rem/1.25 var(--ff-text); color: var(--ink); background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; padding: .5em .8em; text-decoration: none; cursor: pointer; text-align: left; }
.chat .chip:hover { border-color: var(--accent); color: var(--accent); }
.chat-hand { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 12px; border: 1px solid var(--line-strong); border-radius: 10px; margin: 2px 0 6px; }
.chat-hand label { grid-column: 1 / -1; font-size: .85rem; color: var(--ink-2); } .chat-hand label a { color: var(--accent); }
.chat-hand input { font: inherit; font-size: .95rem; min-width: 0; min-height: 40px; padding: .5em .7em; color: var(--ink); background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.chat-hand-st { grid-column: 1 / -1; margin: 0; font-size: .85rem; color: var(--ink); } .chat-hand-st:empty { display: none; }
.chat-hand [hidden] { display: none; }

.chat-human { justify-self: start; margin: 0 16px 6px; padding: 6px 0; font: 500 .85rem/1.2 var(--ff-text); color: var(--accent); background: none; border: 0; cursor: pointer; text-align: left; text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }
.chat-human:hover { color: var(--ink); }
.chat { grid-template-rows: auto 1fr auto auto auto; }

/* photo thumbnails (Lorin's photo box) */
.match-thumbs { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; flex-wrap: wrap; } .match-thumbs:empty { display: none; }
.match-thumbs li { position: relative; } .match-thumbs img { width: 88px; height: 88px; object-fit: cover; border-radius: 8px; border: 1px solid var(--paper-line); display: block; }
.match-thumbs button { position: absolute; top: -8px; right: -8px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--paper-line); background: #fff; color: var(--paper-ink); font-size: 1rem; line-height: 1; cursor: pointer; }

/* service page: cards and forms (the priced page adds tools/service_calc.css) */
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; align-items: start; }
.calc.card { padding: 28px; display: grid; gap: 16px; grid-template-rows: none; grid-template-columns: minmax(0, 1fr); }
.sub .calc h2 { margin: 0; font-size: clamp(1.3rem, 2vw, 1.7rem); } .calc .eyebrow { margin-bottom: 0; }
.calc form { display: grid; gap: 14px; } :where(.calc form) { grid-template-columns: minmax(0, 1fr); }
.calc [hidden] { display: none !important; }
.calc-send { grid-template-columns: 1fr 1fr; padding-top: 16px; border-top: 1px solid var(--line); } .calc-send .btn, .calc-send .form-status { grid-column: 1 / -1; }
.svc-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
@media (max-width: 900px) { .calc-grid { grid-template-columns: 1fr; } .calc-send { grid-template-columns: 1fr; } .calc.card { padding: 20px; } }

/* service page, simplified */
.cover-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.cover-list li { position: relative; padding-left: 28px; color: var(--ink); }
.cover-list li::before { content: ""; position: absolute; left: 2px; top: .35em; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.calc-grid { margin-top: 8px; }

/* service page: three cards */
.calc-grid.three { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
.calc-grid.three .calc-send { grid-template-columns: 1fr; }
.calc .cover-list { font-size: .95rem; }
@media (max-width: 1100px) { .calc-grid.three { grid-template-columns: 1fr; } }

/* document library */
.lib-tools { display: grid; gap: 14px; margin-bottom: 10px; } .sub .dl.lib { max-width: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; border-top: 0; }
.dl.lib li { border-top: 1px solid var(--line); border-bottom: 0; } .lib-cat[hidden], .dl.lib li[hidden] { display: none; }
.sub .lib-cat h2 { margin-top: 44px; }
@media (max-width: 900px) { .sub .dl.lib { grid-template-columns: 1fr; } }

/* support page */
.sup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; margin-top: 8px; }
.sup-grid textarea { font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: .8em .9em; width: 100%; resize: vertical; }
.err-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.err-list > li { border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; display: grid; gap: 8px; }
.err-head { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; } .err-head b { font: 600 1.2rem/1 var(--ff-mono); } .err-head .meta { font: 400 .72rem/1.5 var(--ff-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.sub .err-d { color: var(--ink); max-width: none; } .err-what { font-size: .85rem; color: var(--ink-2); margin-top: 4px; } .err-list ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: .95rem; } .err-note { color: var(--ink-2); }
.err-list .btn { justify-self: start; }
.dx-out { border-top: 2px solid var(--ink); padding-top: 14px; display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); } .dx-out[hidden] { display: none; }
.sub .dx-out h3 { font-size: 1.05rem; margin-top: 8px; } .sub .dx-out p { max-width: none; color: var(--ink); font-size: .97rem; white-space: pre-wrap; }
.dx-links { display: flex; gap: 8px; flex-wrap: wrap; } .dx-links .btn { white-space: normal; text-align: left; } .dx-out .calc-send { grid-template-columns: 1fr; margin-top: 10px; }
@media (max-width: 900px) { .sup-grid { grid-template-columns: 1fr; } }

/* my machine bar */
.machine-bar { margin: 0 0 16px; padding: 14px 18px; border: 1px dashed var(--line-strong); border-radius: 10px; }
.machine-bar form { display: flex; gap: 10px 14px; align-items: end; flex-wrap: wrap; } .machine-bar label { display: grid; gap: 6px; font-size: .85rem; color: var(--ink-2); flex: 1 1 260px; }
.machine-bar input { font: inherit; font-size: 1rem; min-height: 44px; padding: .6em .8em; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; color: #13211E; }
.machine-bar .small { flex-basis: 100%; display: block; } .machine-bar .small:has(button) { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .machine-bar .small:empty { display: none; }
.machine-bar.known { border-style: solid; border-color: var(--accent); display: flex; gap: 10px 16px; align-items: center; flex-wrap: wrap; } .machine-bar.known b { font-weight: 600; flex: 1 1 auto; }

.sub .dx-machine { font: 400 .78rem/1.5 var(--ff-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }

/* hero: ask Lorin box */
.hero .stage { grid-template-columns: 1fr; gap: 22px; }
.hero-ask { justify-self: stretch; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 16px 18px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--panel); box-shadow: 0 10px 30px rgba(19,33,30,.10); position: relative; z-index: 1; }
.hero-ask > img { width: 40px; height: 40px; image-rendering: pixelated; background: #0A1513; border-radius: 8px; padding: 5px; box-sizing: border-box; animation: none; }
.hero-ask label { display: grid; gap: 2px; } .hero-ask label b { font: 600 1.1rem/1.2 var(--ff-display); font-stretch: 112%; color: var(--ink); } .hero-ask label span { font-size: .88rem; color: var(--ink-2); }
.hero-ask-body { display: grid; gap: 10px; min-width: 0; } .hero-ask-row { display: flex; gap: 8px; }
.hero-ask input { flex: 1; min-width: 0; font: inherit; font-size: 1rem; min-height: 46px; padding: .6em .8em; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.hero .stage > img { animation: hs-drift 9s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) { .hero .stage > img { animation: none; } }
@media (max-width: 560px) { .hero-ask { grid-template-columns: 1fr; } .hero-ask > img { display: none; } }
.hero .stage .hero-ask > img { animation: none; width: 40px; }

.dx-qs { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: .97rem; } .sub .dx-stop { border-left: 2px solid #B77400; padding-left: 12px; color: var(--ink); } .dx-out > .btn { justify-self: start; }

/* Lorin, powered by Thinking Humans */
.by-th { display: inline-flex; align-items: center; gap: 7px; font: 400 .7rem/1 var(--ff-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.by-th img { width: 14px; height: 16px; background: none; padding: 0; border-radius: 0; image-rendering: auto; animation: none; }
.by-th .th-word { letter-spacing: .22em; color: var(--ink); text-transform: none; } .by-th .th-word b { font-weight: 700; }
.chat-head .by-th { color: var(--ink-2); }

@media (max-width: 420px) { .by-th { white-space: normal; flex-wrap: wrap; } }

.chip.pick { border-color: var(--accent) !important; color: var(--accent) !important; font-weight: 600 !important; }

/* exact fit */
.fit { display: inline-block; margin-top: 4px; font: 500 .72rem/1 var(--ff-text); padding: .4em .7em; border-radius: 999px; }
.fit.yes { background: rgba(11,111,94,.12); color: #0B5E50; } .fit.no { background: rgba(183,116,0,.14); color: #7A4E00; }
.err-part { display: flex; gap: 8px 12px; align-items: center; flex-wrap: wrap; font-size: .95rem; } .sub .err-part { max-width: none; color: var(--ink); }

/* my machine page */
.mm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 8px 0 32px; align-items: start; }
.mm-grid .specs { margin: 0; } .mm-grid .calc p { max-width: none; } .mm-grid .form { display: grid; gap: 10px; } .mm-grid .form .btn { justify-self: start; }
.mm-grid .form input { background: #fff; color: #13211E; } .mm-grid .svc-cta { margin-top: 6px; align-items: center; }
@media (max-width: 900px) { .mm-grid { grid-template-columns: 1fr; } }

.chips [aria-checked=true]:hover { color: var(--sheet); }

.tiles.plain li { border-color: var(--line); background: transparent; } .tiles.plain b { color: var(--ink); }
main .tiles.plain b { color: var(--ink); }

/* automation video and steps */
.up-art.photo.video { position: relative; } .up-art.photo video { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; background: #0E1512; }
.vid-btn { position: absolute; right: 10px; bottom: 10px; font: 600 12px/1 var(--mono, ui-monospace, monospace); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: rgba(14,21,18,.72); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 8px 12px; cursor: pointer; }
.vid-btn:hover, .vid-btn:focus-visible { background: #0E1512; }
.steps-row { list-style: none; counter-reset: st; margin: 18px 0 10px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.steps-row li { counter-increment: st; font-size: 14px; line-height: 1.4; border-top: 2px solid currentColor; padding-top: 8px; }
.steps-row li b { display: block; } .steps-row li b::before { content: counter(st) " · "; opacity: .6; } .steps-row li span { opacity: .8; }
@media (max-width: 720px) { .steps-row { grid-template-columns: 1fr 1fr; } }
.auto-vid { margin: 8px 0 34px; border-radius: 14px; overflow: hidden; }
.steps-row.wide { margin: 18px 0 34px; gap: 20px; } .steps-row.wide li { font-size: 15px; }
.tiles.plain.three { grid-template-columns: repeat(3, 1fr); } @media (max-width: 720px) { .tiles.plain.three { grid-template-columns: 1fr; } }
.auto-vid { max-width: 960px; }
.sub-cta.top { background: none; border: 0; backdrop-filter: none; position: static; }
/* automation: cell layout */
.cell-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: start; margin: 22px 0 40px; }
.cell-plan { margin: 0; } .cell-sheet { background: #0B1512; color: #5FD0D0; border-radius: 12px; padding: 18px; } .cell-svg { display: block; width: 100%; height: auto; }
.cell-key { list-style: none; counter-reset: ck; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 16px 0 8px; padding: 0; font-size: 15px; }
.cell-key li { counter-increment: ck; display: flex; align-items: center; gap: 10px; }
.cell-key li::before { content: counter(ck); display: grid; place-items: center; width: 26px; height: 26px; border: 1.5px solid #0B6F5E; color: #0B6F5E; border-radius: 50%; font: 600 12px/1 ui-monospace, monospace; }
.cell-steps { list-style: none; margin: 0; padding: 0; } .cell-steps li { border-top: 1px solid var(--line); padding: 16px 0 18px; } .cell-steps li:first-child { border-top: 2px solid #0B6F5E; }
.cell-steps b { display: block; font-size: 18px; margin-bottom: 4px; } .cell-steps span { display: block; opacity: .85; } .cell-steps .meta { font-size: 13.5px; opacity: .65; margin-top: 6px; }
@media (max-width: 860px) { .cell-grid { grid-template-columns: 1fr; gap: 22px; } }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.team .li-link { display: inline-block; margin-top: 6px; font-size: 14px; font-weight: 600; color: #0B6F5E; text-decoration: underline; text-underline-offset: 3px; }

.sub > .wrap > p + p { margin-top: 12px; }

/* ---- audit fixes, 20 Nov 2026 ---- */
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.machines { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .machines { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hero-ask, .hero-ask * { min-width: 0; }
.notice { z-index: 47; }
.chat-fab { background: #0B6F5E; color: #fff; transition: opacity .15s, transform .15s; }
.chat-fab.aside, body:has(.top.open) .chat-fab { opacity: 0; pointer-events: none; transform: translateY(8px); }

main { scroll-margin-top: 80px; } main [id] { scroll-margin-top: 84px; }
footer { padding-bottom: 72px; }
@media (max-width: 720px) {
  .chat-fab { width: 52px; height: 52px; padding: 0; justify-content: center; border-radius: 50%; } .chat-fab .fab-t { display: none; } .chat-fab img { width: 26px; height: 26px; }
  .notice { left: 10px; right: 10px; bottom: 10px; max-width: none; }
}
.pt-find { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: end; margin: 14px 0; } .pt-find label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; } .pt-find input { min-width: min(320px, 80vw); padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 8px; font: inherit; background: #fff; color: #13211E; }
.parts-table .pt-buy { white-space: nowrap; text-align: right; }
.err-all { margin: 28px 0; } .err-all summary { cursor: pointer; font-weight: 600; } .err-all ul { list-style: none; padding: 0; margin: 14px 0 0; columns: 2 320px; gap: 28px; font-size: 14.5px; } .err-all li { padding: 4px 0; break-inside: avoid; }
@media (max-width: 720px) { .parts-table { min-width: 0 !important; width: 100%; } .parts-table th:nth-child(3), .parts-table td:nth-child(3) { display: none; } .parts-table td:nth-child(2) { font-size: 12px; word-break: break-all; }  .parts-table .pt-row .pt.none { display: none; } }
@media (min-width: 1101px) and (max-width: 1280px) { .top nav { gap: 16px; font-size: .88rem; } }
@media (min-width: 1101px) and (max-width: 1180px) { .top nav { gap: 12px; font-size: .82rem; } }
@media (max-width: 720px) {
  .parts-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .parts-table, .parts-table tbody { display: block; } .parts-table tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .parts-table tr[hidden] { display: none !important; }
  .parts-table th[scope=row] { grid-column: 1 / -1; padding: 0; border: 0; } .parts-table td { padding: 0; border: 0; } .parts-table .pt-buy { text-align: right; }
  .matrix-wrap:has(.parts-table) { overflow: visible; border: 0; }
}
@font-face { font-family: "Plex Mono"; src: url(fonts/plex-mono-600.woff2) format("woff2"); font-weight: 600 700; font-display: swap; }
.by-th { text-transform: none; letter-spacing: .06em; } .by-th .th-word { letter-spacing: .2em; } .by-th .th-word b { font-weight: 700; margin-left: -.1em; }
main .btn:not(.ghost):not(.added) { background: #0B6F5E; border-color: #0B6F5E; color: #fff; } main .btn:not(.ghost):not(.added):hover { background: #095A4C; border-color: #095A4C; }
::placeholder { color: #5A6763; opacity: 1; }
.chat-form input::placeholder, .chat-hand input::placeholder { color: #AFC0BB; opacity: 1; }
main.sub section.lib-cat { padding: 0; margin: 30px 0; }
.haz { font-size: 13.5px; line-height: 1.45; margin: 10px 0; padding: 8px 10px; border-left: 3px solid #B7791F; background: rgba(183,121,31,.08); color: #13211E; } .haz.danger { border-left-color: #B42318; background: rgba(180,35,24,.07); } .haz a { color: inherit; }
.mm-alt { margin-top: 14px; } .mm-alt summary { cursor: pointer; font-size: 14px; color: #0B6F5E; text-decoration: underline; text-underline-offset: 3px; } .mm-alt form { margin-top: 12px; } #mm-code { margin-top: 12px; }
/* Lorin on light backgrounds: dark figure, no tile */
.hero-ask > img, .hero .stage .hero-ask > img { background: none; padding: 0; border-radius: 0; }
.chat-fab img { background: none; padding: 0; border-radius: 0; image-rendering: pixelated; }
/* Ask Lorin: suggestion pills and photo box */

 .chat-start .chip { background: #fff; }
.chip.photo { border-style: dashed !important; border-color: #0B6F5E !important; color: #0B6F5E !important; font-weight: 600 !important; }
.chip.photo::before { content: ""; display: inline-block; width: 12px; height: 9px; margin-right: 6px; border: 1.5px solid currentColor; border-radius: 2px; vertical-align: -1px; box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 3.5px currentColor; }
.photo-box { display: grid; gap: 10px; padding: 12px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; color: #13211E; justify-self: stretch; }
.photo-drop { display: grid; gap: 2px; text-align: center; padding: 16px 12px; border: 1.5px dashed #0B6F5E; border-radius: 10px; cursor: pointer; color: #0B6F5E; font-size: 14px; } .photo-drop span { color: #45534F; font-size: 12.5px; }
.photo-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; } .photo-drop:focus-within { outline: 2px solid #0B6F5E; outline-offset: 2px; }
.photo-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; } .photo-row label { flex: 1 1 180px; display: grid; gap: 4px; font-size: 13px; font-weight: 600; } .photo-row input { padding: 9px 10px; border: 1px solid var(--line-strong); border-radius: 8px; font: inherit; background: #fff; color: #13211E; min-width: 0; }
.photo-box .small { margin: 0; font-size: 12.5px; color: #45534F; } .photo-box .form-status { margin: 0; color: #45534F; } .photo-box .form-status.ok { color: #12211D; border-color: #0B6F5E; } .photo-box .form-status a { color: #0B6F5E; }
.chat .photo-box { background: #fff; } .chat .photo-box .match-thumbs img { width: 64px; height: 64px; }
.photo-box .match-thumbs img { width: 72px !important; height: 72px !important; max-width: none; object-fit: cover; animation: none; }
.photo-box .photo-drop b { font: 600 14px/1.3 var(--ff-text) !important; letter-spacing: 0; color: #0B6F5E; }
.photo-box .photo-drop span { font: 400 12.5px/1.3 var(--ff-text) !important; }
.photo-box .btn { background: #0B6F5E !important; border-color: #0B6F5E !important; color: #fff !important; } .photo-box .photo-row label { color: #13211E; }
.chat .chat-start .chip { background: transparent; } .chat .chip.photo { border-color: #7CCBA6 !important; color: #7CCBA6 !important; } .chat .chip.photo::before { box-shadow: inset 0 0 0 2px #0E1B18, inset 0 0 0 3.5px currentColor; }

/* ---- re-audit fixes, 21 Nov 2026 ---- */
/* header: the logo keeps its size; MENU from 1100 down */
.top .logo, .top .logo img { flex: none; }
@media (max-width: 1100px) {
  .menu { display: block; margin-left: auto; }
  header.top .btn { display: none; }

  .top nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--sheet); border-bottom: 1px solid var(--line); padding: 8px var(--gut) 16px; gap: 0; font-size: 1.05rem; margin-left: 0; max-height: calc(100vh - 68px); overflow-y: auto; }
  .top.open nav { display: grid; }
  .top nav a { padding: 14px 0; border-top: 1px solid var(--line); }
  .top nav a:first-child { border-top: 0; }
}
@media (max-width: 480px) { .top .wrap { gap: 10px; } .top .logo img { height: 18px; } .menu { padding: 12px 10px; letter-spacing: .05em; } }
@media (max-width: 379px) { .top .wrap { gap: 8px; } .top .logo img { height: 16px; }  .menu { padding: 12px 7px; } }
@media (max-width: 339px) { .top .logo img { height: 14px; } }

/* chat button, cookie notice and page end on small screens */
@media (max-width: 900px) {
  body:has(.notice) .chat-fab { bottom: 132px; }
  body:has(.notice) footer { padding-bottom: 200px; }
  body:has(.chat:not([hidden])) .notice { display: none; }
}
@media (max-width: 360px) { body:has(.notice) .chat-fab { bottom: 148px; } }

/* chat panel: one green for filled buttons and the visitor's bubble */
.chat .btn:not(.ghost), .notice .btn:not(.ghost) { background: #0B6F5E; border-color: #0B6F5E; color: #fff; }
.chat .btn:not(.ghost):hover, .notice .btn:not(.ghost):hover { background: #095A4C; border-color: #095A4C; filter: none; }
.chat-log .me { background: #0B6F5E; color: #fff; }
.photo-row input { border-color: rgba(19,33,30,.30); }
.photo-box input::placeholder { color: #5A6763; }

/* keyboard focus */
.chip:focus-visible, .chips button:focus-visible, .match-thumbs button:focus-visible, .parts-table .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.photo-box :focus-visible, .photo-box .match-thumbs button:focus-visible { outline-color: #0B6F5E; }

/* tap targets */
.chip { display: inline-flex; align-items: center; min-height: 28px; }
@media (max-width: 720px) { .chip { min-height: 32px; } .match-thumbs button { width: 32px; height: 32px; } .parts-table .btn { min-height: 40px; } }

/* cards end level */
.agents .card .body { display: flex; flex-direction: column; } .agents .agent-foot { margin-top: auto; padding-top: 8px; }
.p-body { display: flex; flex-direction: column; } .p-foot { margin-top: auto; }
@media (min-width: 1101px) {
  .calc-grid.three { align-items: stretch; }
  .calc-grid.three > .calc.card { display: flex; flex-direction: column; } .calc-grid.three > .calc.card > .calc-send { margin-top: auto; }
}

/* smallest labels up to 11px */
.team .mono, .machine .mono, .p-body .mono, .chat-head .mono { font-size: .69rem; }

/* chat hand-off stacks on small phones */
@media (max-width: 400px) { .chat-hand { grid-template-columns: minmax(0, 1fr); } }
/* analytics consent banner (analytics.js) */
.cc { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 440px; margin-left: auto; background: #fff; color: #13211E; border: 1px solid #C9CFCB; border-radius: 12px; box-shadow: 0 8px 28px rgba(16,21,19,.18); padding: 16px 18px; font-size: 15px; line-height: 1.45; }
.cc p { margin: 0 0 12px; } .cc a { color: #0B6F5E; } .cc-row { display: flex; gap: 8px; flex-wrap: wrap; }
.cc .btn.sm { background: #0B6F5E; border-color: #0B6F5E; color: #fff; } .cc .btn.sm.ghost { background: #fff; color: #0B6F5E; }
/* custom racks page */
.rk-fig { margin: 0; } .rk-fig img { display: block; width: 100%; height: auto; border-radius: 12px; background: #DCE3DF; }
.rk-fig figcaption { margin-top: 8px; font-size: 14px; color: #45534F; } .rk-fig figcaption .mono { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #5A6763; border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px 8px; margin-right: 6px; }
.sub > .wrap > .rk-fig { max-width: 960px; margin: 8px 0 34px; }
.rk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 18px 0 34px; }
@media (max-width: 720px) { .rk-grid { grid-template-columns: 1fr; } }
  .team .li-link + .li-link { margin-top: 2px; } .team .li-link { word-break: break-word; }

/* sub-headings inside a section of a sub page (Pure upgrade, 22 Nov 2026) */
.sub > .wrap > h3 { margin: 34px 0 8px; font-size: 22px; }

/* a request the visitor finishes inside the chat: visit or quote (Joseph, 22 Nov 2026) */
.chat-act { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; padding: 14px; border: 1px solid var(--line-strong); border-radius: 10px; margin: 2px 0 6px; max-width: 460px; }
.chat-act .act-t { grid-column: 1 / -1; font-size: 1rem; } .chat-act label { display: grid; gap: 4px; font-size: .82rem; color: var(--ink-2); min-width: 0; } .chat-act label.wide, .chat-act .btn, .chat-act .act-note, .chat-act .chat-hand-st { grid-column: 1 / -1; }
.chat-act input, .chat-act select, .chat-act textarea { font: inherit; font-size: .95rem; min-width: 0; width: 100%; min-height: 40px; padding: .45em .6em; color: var(--ink); background: var(--panel, transparent); border: 1px solid var(--line-strong); border-radius: var(--radius); }
.chat-act textarea { resize: vertical; } .chat-act .btn { justify-self: start; } .chat-act .act-note { margin: 0; font-size: .8rem; color: var(--ink-2); } .chat-act [hidden] { display: none; }

@media (max-width: 400px) { .chat-act { grid-template-columns: minmax(0, 1fr); } }
.chat-log .chat-act p { padding: 0; background: none; max-width: none; }

/* home page anchors that other pages link to (#parts, #match) */
.anchor { display: block; height: 0; scroll-margin-top: 90px; }

/* ---- simpler home page, header and footer (22 Nov 2026) ---- */
.top nav { align-items: center; } header.top nav a.btn { display: inline-flex; padding: .7em 1em; color: var(--accent-ink); }
@media (max-width: 1100px) { header.top nav a.btn { justify-content: center; margin-top: 12px; padding: .95em 1em; border: 1px solid var(--accent); } }
footer .foot-row { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 0 22px; align-content: start; justify-content: flex-end; }
@media (max-width: 900px) { footer .foot-row { grid-column: 1 / -1; justify-content: flex-start; } }
.agents.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } .agents.three .specs { grid-template-columns: 1fr; } .agents.three .specs dt { border-bottom: 0; padding-bottom: 0; } .agents.three .specs dd { padding-top: 2px; }
.agents.three .card .media.can { height: 260px; } .agents.three .specs dd a { display: inline-block; padding: 6px 4px; }
@media (max-width: 1000px) { .agents.three { grid-template-columns: 1fr; } }
a.machine { grid-template-rows: 240px auto; text-decoration: none; color: inherit; } a.machine .m-art { display: grid; place-items: end center; } a.machine:hover h3 { color: var(--accent); }
@media (max-width: 900px) { a.machine { grid-template-rows: 150px auto; } }
.svc-links { margin-top: 14px; color: var(--ink-2); } .svc-links a { color: var(--accent); display: inline-block; padding: 6px 0; }
.up-strip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--panel); scroll-margin-top: 90px; }
@media (max-width: 800px) { .up-strip { grid-template-columns: 1fr; } }
#contact { scroll-margin-top: 90px; } .order-mail { margin-top: 22px; } .order .mail { font: 600 clamp(1.05rem, 2.2vw, 1.4rem)/1.2 var(--ff-display); font-stretch: 112%; color: var(--accent); overflow-wrap: anywhere; }
.order .man-link { margin-top: 0; }
/* /manuals: "Other languages" fold in the safety data sheets; /shop: the one line that points to the parts list */
.dl.lib .lib-fold { grid-column: 1 / -1; } .lib-fold summary { cursor: pointer; display: grid; gap: 2px; padding: 14px 28px 14px 0; position: relative; list-style: none; } .lib-fold summary::-webkit-details-marker { display: none; }
.lib-fold summary::after { content: "+"; position: absolute; right: 4px; top: 14px; color: var(--accent); font-family: var(--ff-mono); } .lib-fold details[open] > summary::after { content: "−"; }
.lib-fold summary:hover b { color: var(--accent); } .lib-fold summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; } .lib-fold details > ul { margin: 0 0 12px; padding-left: 16px; }
.shop-parts { margin-top: 40px; font-size: 1.05rem; }
.pt-row .fit { display: block; width: fit-content; }
/* Lorin in one window (22 Nov 2026): a photo button beside Send, and the window fills a phone screen */
.chat-form { grid-template-columns: minmax(0, 1fr) auto auto; }
.chat-photo { font: 500 .85rem/1 var(--ff-text); color: #7CCBA6; background: transparent; border: 1px dashed #7CCBA6; border-radius: var(--radius); padding: 0 .9em; min-height: 44px; cursor: pointer; }
.chat-photo:hover { color: #fff; border-color: #fff; } .chat-photo:focus-visible { outline: 2px solid #7CCBA6; outline-offset: 2px; }
.chat-act:focus { outline: none; } .chat-act:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (min-width: 721px) { .chat { width: min(400px, calc(100vw - 24px)); max-height: min(720px, calc(100vh - 40px)); } }   /* room for the quote and visit forms */
@media (max-width: 720px) {
  .chat { inset: 0; width: auto; height: 100vh; height: 100dvh; max-height: none; border: 0; border-radius: 0; }
  .chat-head { padding-top: max(14px, env(safe-area-inset-top)); } .chat-note { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
}

/* Light theme (20 Nov 2026). Header and footer stay dark; everything in <main>, hero included, is light.
   These rules come last so they win over the dark values above. */
main {
  --sheet: #F5F7F5; --panel: #FFFFFF; --ink: #13211E; --ink-2: #45534F; --ink-3: #5A6763;
  --accent: #0B6F5E; --accent-ink: #FFFFFF; --line: rgba(19,33,30,.12); --line-strong: rgba(19,33,30,.30);
  --grid: rgba(11,111,94,.05); --glow: rgba(11,111,94,.14); --card-lit: rgba(11,111,94,.08);
  --paper: #E9EEEB; --paper-ink: #13211E; --paper-2: #45534F; --paper-3: #55625E;
  background: var(--sheet); color: var(--ink);
}
/* hero is light too (Joseph, 20 Nov) */
main .hero { background: linear-gradient(180deg, #FFFFFF, var(--sheet)); }
main .hero .stage::after { background: radial-gradient(closest-side, rgba(19,33,30,.30), transparent); filter: blur(12px); }
main :focus-visible { outline-color: var(--accent); }
main .card, main .machine, main .p-card, main .form.card { box-shadow: 0 1px 2px rgba(19,33,30,.05); }
main .machine { background: var(--panel); }
main .btn:hover { filter: brightness(1.12); }
main .form select, main .form input, main .form textarea, main .shop-search input { background: #FFFFFF; color: var(--ink); }
main .note.chem { border-left-color: #B77400; }

main .pt { background: #FFFFFF; }
@media (hover: hover) {
  main .card:not(.form):hover, main .machine:hover, main .p-card:hover { box-shadow: 0 14px 30px rgba(19,33,30,.12); }
}
main .tiles b { color: #1E6B3C; }
main .draft { color: #6B4400; border-color: #B77400; background: #FFF6E0; }

main.sub p a.btn:not(.ghost), main .sub p a.btn:not(.ghost), main .sub .specs a.btn:not(.ghost) { color: var(--accent-ink); }
/* white canisters need a darker backdrop than a white card */
main .card .media:not(.bleed), main .p-art:not(.glyph), main .up-art:not(.photo) { background: linear-gradient(165deg, #B4C5BF, #8FA6A0); }
main .p-art.glyph { background: linear-gradient(165deg, #EEF3F0, #E1E9E5); }
main .sub-head img[src*="/can-"] { background: linear-gradient(165deg, #B4C5BF, #8FA6A0); border-radius: 12px; padding: 28px 56px; box-sizing: content-box; }
main .sub-cta.top { background: none; border: 0; backdrop-filter: none; }

/* hero line-up: each machine is a link with a call-out (Joseph, 22 Nov 2026). The drift moves the whole line-up so the links stay on the machines. */
.hero .stage .lineup { position: relative; width: 100%; animation: hs-drift 9s ease-in-out infinite alternate; will-change: transform; }
.hero .stage .lineup img { animation: none; display: block; }
.lineup .hot { position: absolute; top: 0; bottom: 0; left: var(--l); width: var(--w); border-radius: 12px; -webkit-tap-highlight-color: transparent; }
.lineup .hot:focus-visible { outline: 2px solid #0B6F5E; outline-offset: 2px; }
.lineup .call { position: absolute; left: 50%; top: var(--t); transform: translate(-50%, 8px); display: grid; gap: 2px; padding: 9px 13px; border-radius: 10px; background: #13211E; color: #fff; font-size: .82rem; line-height: 1.25; white-space: nowrap; text-align: left; opacity: 0; pointer-events: none; box-shadow: 0 8px 24px rgba(19,33,30,.22); transition: opacity .15s ease, transform .15s ease; }
.lineup .call b { font-size: .95rem; } .lineup .call span { color: #CFE3DC; }
.lineup .hot:hover .call, .lineup .hot:focus-visible .call { opacity: 1; transform: translate(-50%, 0); }
/* no hover (phones): the names stay on, small, under each machine */
@media (hover: none) { .lineup .call { opacity: 1; top: auto; bottom: -6px; transform: translate(-50%, 0); padding: 4px 8px; background: #fff; color: #13211E; border: 1px solid rgba(19,33,30,.25); box-shadow: none; } .lineup .call span { display: none; } .lineup .call b { font-size: .78rem; } .hero .stage .lineup { margin-bottom: 14px; } }
@media (prefers-reduced-motion: reduce) { .hero .stage .lineup { animation: none; } .lineup .call { transition: none; } }

/* phones and touch screens (Joseph, 22 Nov 2026: "make sure mobile is optimised"): tap targets of at least 44px, no zoom on focus, readable small labels */
@media (max-width: 720px), (pointer: coarse) {
  header.top .menu { min-width: 48px; min-height: 44px; }
  header.top .logo { display: inline-flex; align-items: center; min-height: 44px; }
  .btn.sm, .chip, .vid-btn, .chat-x, .cc button, .notice button { min-height: 44px; }
  .crumbs a, footer a, .li-link, .legal a, .foot-row a, td a:not(.btn), dd a:not(.btn), .small a { display: inline-block; padding-block: 11px; margin-block: -11px; }
  .crumbs { font-size: 12px; line-height: 2; }
  summary { padding-block: 11px; }
  .team .li-link { display: block; margin-block: 0; padding-block: 11px; }
  .card h3 a, .card dd a, .specs dd a, section p > a:only-child { display: inline-block; padding-block: 12px; margin-block: -12px; }
}
@media (max-width: 720px) {
  input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea { font-size: 16px !important; }   /* under 16px iOS zooms the page when a field is focused */
  .team .mono, .machine .mono, .p-body .mono, .chat-head .mono, .chat-note, .rk-fig figcaption .mono, .specs:not(.faq) dt, th, .meta, .eyebrow { font-size: 12px; }
  table th, .meta, span.meta { font-size: 12px !important; }
}

/* phones: swipe sideways (Joseph, 22 Nov 2026). The menu is a strip you swipe under the logo, with no MENU button to open,
   and stacks of cards become rows you swipe, with the next card showing at the edge. */
@media (max-width: 720px) {
  header.top .wrap { flex-wrap: wrap; row-gap: 0; }
  header.top .menu { display: none; }
  header.top nav, header.top.open nav { display: flex; position: static; order: 3; flex: 0 0 calc(100% + 2 * var(--gut)); margin: 0 calc(-1 * var(--gut)); padding: 0 34px 0 calc(var(--gut) - 10px); gap: 2px; align-items: center; max-height: none; overflow-x: auto; overflow-y: hidden; border: 0; background: none; font-size: .95rem; white-space: nowrap; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 34px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 34px), transparent); }
  header.top nav::-webkit-scrollbar, .swipe::-webkit-scrollbar, .four::-webkit-scrollbar, .agents.three::-webkit-scrollbar, #p-grid::-webkit-scrollbar, .calc-grid.three::-webkit-scrollbar, .chips::-webkit-scrollbar, .jump::-webkit-scrollbar { display: none; }
  header.top nav a { flex: none; padding: 12px 10px; border: 0; }
  header.top nav a.btn { display: inline-flex; align-items: center; min-height: 44px; margin-top: 0; margin-left: 8px; padding: 0 14px; }
  /* card rows */
  .four, .agents.three, #p-grid, .calc-grid.three { display: flex; grid-template-columns: none; gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scroll-padding-inline: var(--gut); scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
  .four > *, .agents.three > *, #p-grid > *, .calc-grid.three > * { flex: 0 0 84%; scroll-snap-align: start; min-width: 0; }
  .four > * { flex-basis: 58%; }
  #p-grid > [hidden] { display: none; }
  /* filter chips and jump links: one line, swiped */
  .chips, .jump { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); }
  .chips > *, .jump > * { flex: none; }
}

/* phones, second pass: findings of the phone review, 22 Nov 2026 */
@media (max-width: 720px) {
  /* the swipe menu sits inside the dark header */
  header.top .wrap { height: auto; padding-top: 6px; }
  header.top nav a { color: var(--ink-2, #C6CFCB); } header.top nav a.btn { color: var(--accent-ink, #04130F); }
  /* less empty space */
  section { padding: 44px 0; }
  .crumbs { margin-bottom: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sub h2 { margin-top: 32px; }
  .four .mono { display: none; } .four > a { padding-block: 14px; }
  .agents.three .card .media.can { height: 150px; padding: 14px; }
  .sub-head > img { max-height: 180px; width: auto; justify-self: start; }
  .p-art { height: 150px; } .p-art img { max-height: 126px; } .p-art.glyph { height: 84px; padding: 10px; } .p-art.glyph svg { width: 48px; height: 48px; }
  .sub p + .specs.wide { margin-top: 14px; }
  .tiles.plain { gap: 0; } .tiles.plain li { border: 0; border-top: 1px solid var(--line-strong); border-radius: 0; padding: 10px 0; background: none; }
  /* photo groups: a row you swipe */
  .rk-grid { display: flex; grid-template-columns: none; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scroll-padding-inline: var(--gut); scrollbar-width: none; }
  .rk-grid::-webkit-scrollbar { display: none; } .rk-grid > * { flex: 0 0 80%; scroll-snap-align: start; }
  .svc-links { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 0; } .svc-links a { font-size: 1rem; }
  /* notices: short, and never over the chat */
  .notice { padding: 10px 12px; gap: 10px; font-size: .82rem; }
  body:has(.cc) .notice { display: none; }
  body:has(.cc) .chat-fab { bottom: 190px; }
  body:has(.chat:not([hidden])) .cc { display: none; }
  html:has(.chat:not([hidden])) { overflow: hidden; }
  .chat-human { min-height: 44px; display: inline-flex; align-items: center; font-size: .9rem; }
  .chat:has(input:focus, textarea:focus) .chat-note { display: none; }
  /* long lists: the filter stays in reach, the jump links step aside while filtering */
  .pt-find, .lib-tools .shop-search { position: sticky; top: 104px; z-index: 5; background: var(--paper, #F4F6F4); padding: 8px 0; }
  .pt-filtering .jump, .lib-filtering .jump { display: none; }
  [data-pt-count], #lib-count { scroll-margin-top: 170px; }
  /* error code list: the whole row is the link */
  .err-all ul { columns: 1; } .err-all li { position: relative; padding: 11px 0; border-bottom: 1px solid var(--line-strong); } .err-all li a::after { content: ""; position: absolute; inset: 0; }
  /* legal tables: one row becomes one block */
  .legal-doc .matrix { min-width: 0; } .legal-doc .matrix thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .legal-doc .matrix tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line-strong); } .legal-doc .matrix th, .legal-doc .matrix td { display: block; padding: 2px 0; border: 0; text-align: left; }
  .mm-grid .svc-cta { margin-top: 18px; }
}
@media (max-width: 480px) { .steps-row { grid-template-columns: 1fr; gap: 10px; } .chat .chat-start { display: grid; grid-template-columns: 1fr 1fr; } }
.chat-log { overscroll-behavior: contain; }
@media (max-width: 720px) { [id] { scroll-margin-top: 112px; } .sub-cta { gap: 8px; } }

/* phone numbers beside the quote form and in the company block (Joseph, 24 Nov 2026) */
.phones { margin: 16px 0 0; display: grid; gap: 2px; } .phones dt { font: 500 12px/1.4 var(--ff-mono, ui-monospace, monospace); letter-spacing: .08em; text-transform: uppercase; color: #5A6763; margin-top: 10px; } .phones dd { margin: 0; font-size: 1.05rem; } .phones a { color: #0B6F5E; }
@media (max-width: 720px), (pointer: coarse) { .phones dd a { display: inline-block; padding-block: 11px; margin-block: -6px; } }

/* register your machine, home page (Joseph, 25 Nov 2026) */
#reg [hidden] { display: none; } #reg h3 { margin: 0 0 8px; font-size: 1.05rem; } #reg .specs { margin: 0; grid-template-columns: 130px 1fr; } #reg .specs dt { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); } #reg .specs dd { padding: 10px 0; }
#reg .tick { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink); } #reg .tick input { width: 20px; height: 20px; min-height: 0; flex: none; margin: 2px 0 0; padding: 0; accent-color: #0B6F5E; }
.reg-pure { margin: 0; padding: 14px 16px; border: 1px solid var(--line-strong); border-left: 3px solid #B4541A; border-radius: var(--radius); color: var(--ink); } .reg-pure a { color: #0B6F5E; overflow-wrap: anywhere; }
.reg-note { margin: 0; padding: 12px 16px; border: 1px solid var(--line-strong); border-left: 3px solid #0B6F5E; border-radius: var(--radius); color: var(--ink); } #reg-done a { color: #0B6F5E; } #reg-done .btn { display: flex; margin-top: 12px; } #reg-st .btn { margin: 4px 6px 0 0; }

/* two agent cards on the home page: the SFX cartridge card is off (Joseph, 25 Nov 2026) */
@media (min-width: 1001px) { .agents.three.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* home sections take turns between the page color and white, and the robot upgrade is its own section (Joseph, 25 Nov 2026) */
#service .sec-head { margin-bottom: 0; } #register .form.card { background: var(--sheet); }
/* chat: pages named in an answer are links, and documents are download buttons */
.chat .chip.dl { border-color: var(--accent); color: var(--accent); font-weight: 600; } .chat-log p a { color: var(--accent); }

/* Service page, simpler layout (Joseph, 25 Nov 2026): the jobs as one list beside the form, then equal cards */
.svc-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: start; margin-top: 8px; }
.svc-top h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0 0 18px; } .svc-top .lede { max-width: 34em; }
.svc-jobs { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line-strong); }
.svc-jobs li { border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.svc-jobs a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 18px; row-gap: 2px; align-items: center; padding: 15px 6px 15px 2px; text-decoration: none; color: var(--ink); }
.svc-jobs b { font-weight: 600; font-size: 1.08rem; } .svc-jobs span { grid-column: 1; color: var(--ink-2); font-size: .95rem; line-height: 1.45; }
.svc-jobs i { grid-column: 2; grid-row: 1 / span 2; font-style: normal; color: #0B6F5E; transition: transform .15s ease; }
.svc-jobs a:hover b, .svc-jobs a:focus-visible b { color: #0B6F5E; } .svc-jobs a:hover i { transform: translateX(4px); }
.sub .svc-form { max-width: none; margin: 0; padding: 30px; position: sticky; top: 92px; }
.svc-sec { margin-top: 80px; } .sub .svc-sec > h2 { margin: 0 0 6px; } .svc-sub { margin: 0 0 24px; color: var(--ink-2); }
.svc-grid { display: grid; gap: 18px; } .svc-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } .svc-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 1px 2px rgba(19,33,30,.05); }
.sub .svc-card h2, .sub .svc-card h3 { margin: 0; font-size: clamp(1.25rem, 1.8vw, 1.5rem); } .svc-card .cover-list { font-size: .98rem; gap: 12px; }
.sub .svc-card .svc-links { margin: auto 0 0; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; max-width: none; } .svc-card .svc-links a:not(.btn) { color: #0B6F5E; font-size: .95rem; }
.svc-racks { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 36px; align-items: center; } .svc-racks > div:first-child { display: flex; flex-direction: column; gap: 18px; }
.svc-racks .rk-grid { margin: 0; gap: 16px; } .svc-racks .rk-fig figcaption { font-size: 13px; }
@media (max-width: 960px) {
  .svc-top { grid-template-columns: 1fr; gap: 36px; } .sub .svc-form { position: static; padding: 22px; }
  .svc-grid.three, .svc-grid.two, .svc-racks { grid-template-columns: 1fr; } .svc-sec { margin-top: 56px; } .svc-card { padding: 22px; }
}
@media (max-width: 720px) { .svc-racks .rk-grid { display: grid; grid-template-columns: 1fr; margin-inline: 0; padding-inline: 0; overflow: visible; } .svc-racks .rk-grid > * { flex: none; } .svc-jobs a { padding-block: 14px; } .sub .svc-form { scroll-margin-top: 124px; } }

/* chat: register form (Joseph, 25 Nov 2026) */
.chat-act .act-tick { display: flex; gap: 8px; align-items: flex-start; font-size: .85rem; } .chat-act .act-tick input { width: 18px; height: 18px; min-height: 0; flex: none; margin: 1px 0 0; padding: 0; } .chat-act label[hidden], .chat-act button[hidden] { display: none; } .chat-act .act-note a { color: var(--accent); } .chat-act .act-note .chip { margin: 4px 6px 0 0; }

/* chat: My machine card (Joseph, 25 Nov 2026) */
.chat-act .chat-x-row.wide { grid-column: 1 / -1; margin: 0; } .chat-act .btn[hidden], .chat-act .chat-x-row[hidden] { display: none; } .chat-act .btn.ghost { justify-self: start; }

/* home: one Get a quote button where the quote form was (Joseph, 25 Nov 2026) */
.quote-cta { padding: 28px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; grid-template-rows: none; } .quote-cta h3 { margin: 0; font-size: 1.3rem; } .quote-cta p { margin: 0; color: var(--ink-2); } main .quote-cta { box-shadow: 0 1px 2px rgba(19,33,30,.05); }

/* pre-production audit, 25 Nov 2026: field borders and placeholders readable, touch sizes in the chat forms, short screens */
.chat-act ::placeholder { color: #AFC0BB; opacity: 1; }
main .form input, main .form select, main .form textarea, main .shop-search input, main .hero-ask input { border-color: rgba(19,33,30,.55); }
.chat-form input, .chat-hand input, .chat-act input, .chat-act select, .chat-act textarea { border-color: rgba(238,241,238,.42); }
@media (max-width: 720px), (pointer: coarse) { .chat-act input, .chat-act select, .chat-act textarea, .chat-hand input { min-height: 44px; } .chat-act .act-tick input { min-height: 0; } .svc-card .svc-links a:not(.btn) { padding-block: 11px; } }
@media (max-height: 520px) { .chat-log { min-height: 0; } }

/* hero: quick examples under the Ask Lorin box (Joseph, 25 Nov 2026) */
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; } .hero-chips[hidden] { display: none; }
.hero-chips button { font: 500 .85rem/1.2 var(--ff-text); color: var(--ink); background: #fff; border: 1px solid rgba(19,33,30,.4); border-radius: 999px; padding: .55em .95em; min-height: 36px; cursor: pointer; }
.hero-chips button:hover, .hero-chips button:focus-visible { border-color: #0B6F5E; color: #0B6F5E; }
@media (max-width: 720px), (pointer: coarse) { .hero-chips button { min-height: 44px; } }

/* SEO, 25 Nov 2026: part numbers on system pages, links in ledes and shop card headings */
.pn { font: 400 .78em/1 var(--ff-mono); letter-spacing: .04em; color: var(--ink-3); white-space: nowrap; } .sub-head .lede a, .svc-top .lede a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(11,111,94,.5); } .p-card h3 a { color: inherit; text-decoration: none; } .p-card h3 a:hover { color: #0B6F5E; text-decoration: underline; }

/* error codes reference page (26 Nov 2026): the description wraps and reads as text */
.codes-table td:nth-child(2) { white-space: normal; font: 400 .95rem/1.45 var(--ff-text); color: var(--ink-2); } .codes-table tbody th { font-family: var(--ff-mono); white-space: nowrap; }
@media (max-width: 720px) { .codes-table tr { grid-template-columns: minmax(0, 1fr) auto; } .codes-table th[scope=row] { grid-column: 1; } .codes-table td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: .92rem; word-break: normal; } .codes-table .pt-buy { grid-column: 2; grid-row: 1; } }
