﻿/* RuleMind showroom: design system for the storefront preview (1 Oct 2026).
   Direction: white and grey paper, near-black ink, one rare peach accent, serif display over a neutral sans.
   Proposed type: Canela (display) + Suisse Int'l (text). Neither is licensed here, so the preview uses
   Source Serif 4 and Inter (SIL OFL, self-hosted) as clearly named stand-ins. */

/* ------------------------------------------------------------------ fonts -- */
@font-face { font-family: "RM Display"; src: url("/assets/fonts/source-serif-4-opsz.woff2") format("woff2-variations"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "RM Display"; src: url("/assets/fonts/source-serif-4-opsz-italic.woff2") format("woff2-variations"); font-weight: 200 900; font-style: italic; font-display: swap; }
@font-face { font-family: "RM Text"; src: url("/assets/fonts/inter-opsz.woff2") format("woff2-variations"); font-weight: 100 900; font-style: normal; font-display: swap; }
/* Metric-matched fallbacks so the swap does not shift the layout (measured with fontTools against Georgia and Arial). */
@font-face { font-family: "RM Display Fallback"; src: local("Georgia"); size-adjust: 101.7%; ascent-override: 101.9%; descent-override: 32.9%; line-gap-override: 0%; }
@font-face { font-family: "RM Text Fallback"; src: local("Arial"); size-adjust: 108.2%; ascent-override: 89.5%; descent-override: 22.3%; line-gap-override: 0%; }

/* ----------------------------------------------------------------- tokens -- */
:root {
  --ink: #17191c;
  --ink-2: #3b3e45;
  --slate: #5d616c;          /* muted text: 6.1:1 on white, 5.5:1 on mist */
  --line: #e3e4e7;
  --line-2: #cfd1d6;
  --paper: #ffffff;
  --fog: #fafafb;
  --mist: #f2f2f3;
  --peach: #fbe1d1;          /* the one chromatic surface, once per page */
  --sienna: #5d2a1a;         /* ink on peach only */
  --red: #b3261e;            /* a state, never an accent */
  --amber-ink: #7a4a00; --amber-bg: #fbefd4;
  --green-ink: #1c6b3b; --green-bg: #e3f2e8;

  --f-display: "RM Display", "RM Display Fallback", Georgia, serif;
  --f-text: "RM Text", "RM Text Fallback", Arial, system-ui, sans-serif;

  --t-hero: clamp(2.5rem, 1.15rem + 5.6vw, 6.5rem);
  --t-h2: clamp(2.25rem, 1.6rem + 2.4vw, 4rem);
  --t-h3: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  --t-lede: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --t-body: 1.0625rem;
  --t-small: 0.9375rem;
  --t-label: 0.875rem;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px; --s-7: 32px;
  --s-8: 40px; --s-9: 64px; --s-10: 80px; --s-11: 128px;
  --section: clamp(4rem, 8vw, 8rem);
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;

  --r-card: 24px; --r-art: 16px; --r-input: 14px; --r-pill: 999px;
  --e-art: 0 0 0 1px rgba(4, 23, 43, 0.06), 0 20px 25px -5px rgba(17, 20, 28, 0.10), 0 8px 10px -6px rgba(17, 20, 28, 0.08);
  --e-pop: 0 0 0 1px rgba(4, 23, 43, 0.06), 0 8px 40px rgba(17, 20, 28, 0.12);

  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --hdr: 68px;

  /* names shop.js reads for its checkout dialog */
  --surface: var(--paper); --muted: var(--slate); --display: var(--f-display); --mono: var(--f-text); --accent: var(--red);

  /* scroll-craft engine roles */
  --sc-canvas: var(--paper); --sc-surface: var(--mist); --sc-ink: var(--ink); --sc-ink-soft: var(--slate);
  --sc-accent: var(--ink); --sc-accent-ink: var(--paper);
  --sc-font-display: var(--f-display); --sc-font-text: var(--f-text);
}

/* ------------------------------------------------------------------- base -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-text); font-size: var(--t-body); line-height: 1.55;
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
::selection { background: var(--ink); color: var(--paper); }
:root { caret-color: var(--ink); accent-color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.nums, table, .price, [data-sc-count] { font-variant-numeric: tabular-nums lining-nums; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r-pill); text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.band-fog { background: var(--fog); }
.band-mist { background: var(--mist); }

/* -------------------------------------------------------------- type ----- */
.display, .h2, .h3s {
  font-family: var(--f-display); font-weight: 300; margin: 0; color: var(--ink);
  text-wrap: balance; font-variant-numeric: lining-nums;
}
.display { font-size: var(--t-hero); line-height: 1.02; letter-spacing: -0.028em; }
.h2 { font-size: var(--t-h2); line-height: 1.06; letter-spacing: -0.018em; }
.h3s { font-size: var(--t-h3); line-height: 1.12; letter-spacing: -0.01em; font-weight: 350; }
.display em, .h2 em, .h3s em { font-style: italic; font-weight: 300; letter-spacing: -0.01em; }
.lede { font-size: var(--t-lede); line-height: 1.5; color: var(--ink-2); max-width: 46ch; margin: 0; text-wrap: pretty; }
.body { color: var(--ink-2); max-width: 64ch; margin: 0; text-wrap: pretty; }
.label { font-size: var(--t-label); line-height: 1.4; color: var(--slate); font-weight: 450; margin: 0; letter-spacing: 0; }
.small { font-size: var(--t-small); color: var(--slate); }
.sec-head { display: grid; gap: var(--s-4); margin-bottom: clamp(32px, 4vw, 56px); max-width: 46rem; }
.sec-head--split { max-width: none; grid-template-columns: minmax(0, 1fr); align-items: end; }
@media (min-width: 900px) { .sec-head--split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--s-8); } }

/* ------------------------------------------------------------ buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--paper); border: 1px solid var(--ink);
  font-size: 1rem; font-weight: 500; line-height: 1.1; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 140ms var(--ease), color 140ms var(--ease), transform 120ms var(--ease), border-color 140ms var(--ease);
}
.btn:hover { background: #2b2e33; border-color: #2b2e33; }
.btn:active { transform: translateY(1px) scale(0.985); }
.btn.alt { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.alt:hover { background: var(--ink); color: var(--paper); }
.btn.plain { background: none; border-color: transparent; color: var(--ink); padding: 0 4px; min-height: 44px; }
.btn.plain:hover { text-decoration: underline; }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: 0.9375rem; }
.btn[aria-disabled="true"] { background: var(--mist); border-color: var(--line-2); color: var(--slate); cursor: not-allowed; transform: none; }
.btn.alt[aria-disabled="true"] { background: transparent; }
.arrow::after { content: "\2192"; display: inline-block; transition: transform 160ms var(--ease); }
a:hover .arrow::after, .arrow:hover::after { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; }

/* ------------------------------------------------------------- header ---- */
.hdr { position: sticky; top: 0; z-index: 80; background: color-mix(in oklab, var(--paper) 92%, transparent); border-bottom: 1px solid transparent; transition: border-color 200ms var(--ease), background-color 200ms var(--ease); }
@supports (backdrop-filter: blur(1px)) { .hdr { backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); } }
.hdr.is-scrolled, .hdr.is-open { border-bottom-color: var(--line); background: var(--paper); }
.hdr__in { display: flex; align-items: center; gap: var(--s-6); height: var(--hdr); }
.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; flex: none; }
.brand svg { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav a, .nav button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: var(--r-pill); background: none; border: 0; text-decoration: none; font-size: 0.97rem; font-weight: 450; color: var(--ink); cursor: pointer; }
.nav a:hover, .nav button:hover, .nav button[aria-expanded="true"] { background: var(--mist); }
.nav a[aria-current="page"] { background: var(--mist); }
.chev { width: 10px; height: 10px; transition: transform 180ms var(--ease); }
[aria-expanded="true"] > .chev { transform: rotate(180deg); }
.hdr__right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.searchbtn { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 10px 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--paper); color: var(--slate); cursor: pointer; font-size: 0.9375rem; }
.searchbtn:hover { border-color: var(--ink); color: var(--ink); }
.searchbtn svg { width: 16px; height: 16px; }
.kbd { font: 500 0.75rem/1 var(--f-text); padding: 4px 6px; border-radius: 6px; background: var(--mist); color: var(--ink-2); }
.hdr__link { min-height: 44px; display: inline-flex; align-items: center; padding: 0 10px; text-decoration: none; font-size: 0.97rem; color: var(--ink); border-radius: var(--r-pill); }
.hdr__link:hover { background: var(--mist); }
.menubtn { display: none; }
@media (max-width: 1080px) {
  .nav, .hdr__link, .hdr__cta, .searchbtn .sb-text, .searchbtn .kbd { display: none; }
  .searchbtn { padding: 0; width: 44px; height: 44px; justify-content: center; }
  .menubtn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font-weight: 500; cursor: pointer; }
}

/* mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(17, 20, 28, 0.25); }
.mega[hidden] { display: none; }
.mega__in { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(0, 1.25fr); gap: 28px; padding-block: 28px 32px; }
.mega__col h2 { margin: 0 0 4px; font: 500 1rem/1.3 var(--f-text); }
.mega__col h2 a { text-decoration: none; }
.mega__col h2 a:hover { text-decoration: underline; }
.mega__col > p { margin: 0 0 12px; font-size: 0.875rem; line-height: 1.4; color: var(--slate); min-height: 2.8em; }
.mega__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega__col li a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; text-decoration: none; font-size: 0.9375rem; line-height: 1.3; border-top: 1px solid var(--line); }
.mega__col li a:hover .mi-name { text-decoration: underline; }
.mi-price { color: var(--slate); white-space: nowrap; font-size: 0.875rem; }
.mega__all { display: inline-block; margin-top: 10px; font-size: 0.9375rem; font-weight: 500; text-decoration: none; }
.mega__all:hover { text-decoration: underline; }
.mega__feat { background: var(--mist); border-radius: var(--r-card); padding: 18px; display: grid; gap: 10px; align-content: start; text-decoration: none; }
.mega__feat img { border-radius: 12px; box-shadow: var(--e-art); background: var(--paper); aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; height: auto; }
.mega__feat b { font-weight: 500; font-size: 1rem; }
.mega__feat span { font-size: 0.875rem; color: var(--slate); }
.mega__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.mega__foot a { text-decoration: none; font-weight: 500; }
.mega__foot a:hover { text-decoration: underline; }

/* mobile menu (native dialog) */
.mnav { border: 0; padding: 0; margin: 0 0 0 auto; width: min(100vw, 440px); max-width: 100vw; height: 100dvh; max-height: 100dvh; background: var(--paper); color: var(--ink); }
.mnav::backdrop { background: rgba(17, 20, 28, 0.4); }
.mnav__top { display: flex; align-items: center; justify-content: space-between; height: var(--hdr); padding-inline: var(--gutter); border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--paper); z-index: 1; }
.mnav__body { padding: 8px var(--gutter) 32px; }
.mnav details { border-bottom: 1px solid var(--line); }
.mnav summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 56px; font-weight: 500; font-size: 1.0625rem; cursor: pointer; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav details[open] summary .chev { transform: rotate(180deg); }
.mnav ul { list-style: none; margin: 0 0 14px; padding: 0; }
.mnav li a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; text-decoration: none; }
.mnav__links { display: grid; margin-top: 12px; }
.mnav__links a { min-height: 48px; display: flex; align-items: center; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.mnav .btn { width: 100%; margin-top: 20px; }
.iconbtn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--paper); cursor: pointer; }
.iconbtn:hover { border-color: var(--ink); }
.iconbtn svg { width: 18px; height: 18px; }

/* search dialog */
.sdlg { border: 0; padding: 0; width: min(680px, calc(100vw - 24px)); max-height: min(78dvh, 720px); margin: 10vh auto auto; border-radius: 20px; box-shadow: var(--e-pop); background: var(--paper); color: var(--ink); overflow: hidden; }
.sdlg::backdrop { background: rgba(17, 20, 28, 0.35); }
.sdlg__bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 18px; border-bottom: 1px solid var(--line); }
.sdlg__bar svg { width: 18px; height: 18px; color: var(--slate); flex: none; }
.sdlg__bar input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 1.125rem; min-height: 48px; background: transparent; }
.sdlg__res { overflow: auto; max-height: calc(min(78dvh, 720px) - 70px); padding: 8px; }
.sdlg__empty { padding: 18px 12px; color: var(--slate); margin: 0; }

/* result rows (search dialog and finder) */
.res { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.res a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 12px; border-radius: 12px; text-decoration: none; }
.res a:hover, .res a:focus-visible, .res a.is-active { background: var(--mist); outline-offset: -2px; }
.res b { font-weight: 500; }
.res .r-meta { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 0.875rem; color: var(--ink-2); white-space: nowrap; }
.res .r-task { font-size: 0.875rem; color: var(--slate); line-height: 1.4; }
.res .r-cat { font-size: 0.8125rem; color: var(--slate); }

/* ------------------------------------------------------- chips / tags ---- */
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--paper); font-size: 0.9375rem; font-weight: 450; color: var(--ink); cursor: pointer; text-decoration: none; white-space: nowrap; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"], .chip[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip .ct { margin-left: 8px; font-size: 0.8125rem; opacity: 0.7; font-variant-numeric: tabular-nums; }
.access { display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; font-weight: 500; color: var(--ink); }
.access::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.access.free::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }

/* ------------------------------------------------- product artifacts ---- */
.art { background: var(--paper); border-radius: var(--r-art); box-shadow: var(--e-art); overflow: hidden; }
.art img { width: 100%; height: auto; }
.shot { display: block; border-radius: var(--r-art); box-shadow: var(--e-art); background: var(--paper); overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }

/* sheet / document previews rendered from each pack's example data */
.xl { background: var(--paper); border-radius: var(--r-art); box-shadow: var(--e-art); overflow: hidden; font-size: 0.875rem; line-height: 1.3; }
.xl__bar { display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: var(--fog); border-bottom: 1px solid var(--line); font-size: 0.8125rem; color: var(--slate); }
.xl__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); display: inline-block; }
.xl__bar i + i { margin-left: -2px; }
.xl__bar span { margin-left: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xl table { width: 100%; border-collapse: collapse; }
.xl th, .xl td { padding: 8px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.xl th { font-weight: 500; color: var(--slate); font-size: 0.8125rem; background: var(--paper); }
.xl tr:last-child td { border-bottom: 0; }
.xl .r { text-align: right; }
.xl .neg { color: var(--red); }
.xl .pos { color: var(--green-ink); }
.xl b { font-weight: 600; }
.st { display: inline-block; padding: 2px 8px; border-radius: var(--r-pill); font-size: 0.75rem; font-weight: 600; }
.st.ok { background: var(--green-bg); color: var(--green-ink); }
.st.warn { background: var(--amber-bg); color: var(--amber-ink); }
.st.over { background: #f9e1df; color: var(--red); }
.xl__doc { padding: 14px 16px 16px; font-size: 0.875rem; line-height: 1.5; color: var(--ink-2); }
.xl__doc b { color: var(--ink); }
.xl__doc mark { background: var(--amber-bg); color: var(--ink); padding: 0 2px; border-radius: 3px; }
.xl__folders { padding: 10px 14px 14px; display: grid; gap: 6px; }
.xl__folders span { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; }
.xl__folders span::before { content: ""; width: 16px; height: 12px; border-radius: 2px 3px 3px 3px; background: var(--mist); box-shadow: inset 0 0 0 1px var(--line-2); flex: none; }
.xl__check { padding: 12px 16px 14px; display: grid; gap: 8px; }
.xl__check span { display: flex; gap: 10px; align-items: center; font-size: 0.875rem; }
.xl__check span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--line-2); flex: none; }
.xl__check span.on::before { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='white' stroke-width='2'/%3E%3C/svg%3E") center / 12px no-repeat; box-shadow: none; }
.xl__inv { padding: 14px 16px 16px; display: grid; gap: 8px; font-size: 0.875rem; }
.xl__inv .row { display: flex; justify-content: space-between; gap: 12px; }
.xl__inv .line { border-top: 1px solid var(--line); padding-top: 8px; }

/* ---------------------------------------------------------- tool cards --- */
.tools { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.tool { position: relative; display: grid; grid-template-rows: auto 1fr; background: var(--mist); border-radius: var(--r-card); overflow: hidden; }
.tool__media { padding: 20px 20px 0; display: grid; align-items: end; min-height: 210px; }
.tool__media .shot { aspect-ratio: 16 / 10; }
.tool__media .xl { align-self: end; }
.tool__body { display: grid; gap: 10px; padding: 20px 22px 22px; align-content: start; }
.tool__name { margin: 0; font: 500 1.25rem/1.25 var(--f-text); letter-spacing: -0.01em; }
.tool__name a { text-decoration: none; }
.tool__name a::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: var(--r-card); }
.tool__name a:focus-visible { outline: none; }
.tool:has(.tool__name a:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.tool__task { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.5; text-wrap: pretty; }
.tool__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 6px; }
.tool__price { font-size: 1rem; font-weight: 500; }
.tool__price small { font-weight: 400; color: var(--slate); font-size: 0.875rem; }
.tool .actions { position: relative; z-index: 1; }
.tool__cat { position: relative; z-index: 1; }
.tool:hover .tool__name a { text-decoration: underline; text-decoration-thickness: 1px; }
@media (hover: hover) and (pointer: fine) {
  .tool .shot, .tool .xl { transition: transform 260ms var(--ease); }
  .tool:hover .shot, .tool:hover .xl { transform: translateY(-4px); }
}

/* featured grid on the home page: an asymmetric zigzag, never three equal columns */
.feat { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .feat { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .feat > :nth-child(1) { grid-column: span 7; }
  .feat > :nth-child(2) { grid-column: span 5; }
  .feat > :nth-child(3) { grid-column: span 5; }
  .feat > :nth-child(4) { grid-column: span 7; }
  .feat .tool__media { min-height: 300px; padding: 28px 28px 0; }
}

/* catalogue grid */
@media (min-width: 640px) { .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .tools--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tool[hidden] { display: none; }

/* compact rows for free tools */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows > li { border-bottom: 1px solid var(--line); }
.rows a.rowlink { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; align-items: center; padding: 18px 4px; text-decoration: none; }
.rows a.rowlink:hover .rl-name { text-decoration: underline; }
.rl-name { font-weight: 500; font-size: 1.0625rem; }
.rl-task { grid-column: 1; color: var(--ink-2); font-size: 0.9375rem; }
/* what a free entry is (free tool, free guide, free demo or sample), and where a tool applies (2 Oct 2026, evening) */
.rl-kind { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.75rem; font-weight: 500; line-height: 1.5; color: var(--ink-2); vertical-align: 2px; white-space: nowrap; }
.cover { display: inline-block; margin-left: 4px; padding: 0 7px; border-radius: 6px; background: var(--fog, #f2f2f3); font-size: 0.8125rem; font-weight: 500; line-height: 1.6; color: var(--ink); }
.rl-go { grid-column: 2; grid-row: 1 / span 2; font-weight: 500; font-size: 0.9375rem; white-space: nowrap; }
.rows > li[hidden] { display: none; }

/* --------------------------------------------------------------- hero ---- */
.hero { position: relative; isolation: isolate; overflow: clip; background: #ebe7e2; }
.hero__bed { position: absolute; inset: 0; z-index: 0; }
.hero__bed video, .hero__bed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__bed video { opacity: 0; transition: opacity 600ms var(--ease); }
.hero.has-video .hero__bed video { opacity: 1; }
.hero__wash { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(247, 245, 242, 0.94) 0%, rgba(247, 245, 242, 0.82) 30%, rgba(247, 245, 242, 0.35) 48%, rgba(247, 245, 242, 0) 60%); }
.hero__in { position: relative; z-index: 3; display: grid; min-height: min(calc(100svh - var(--hdr) - var(--pv, 0px)), 920px); align-content: center; padding-block: clamp(48px, 9vh, 120px); }
.hero__copy { display: grid; gap: 22px; max-width: 46rem; }
.hero__copy .display { max-width: 9.6em; font-size: clamp(2.5rem, 1rem + 4.9vw, 6rem); }
.hero__copy .lede { max-width: 34ch; color: var(--ink-2); }
.hero__arts { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero__stage { position: absolute; right: max(var(--gutter), 2.5vw); top: 50%; translate: 0 -46%; width: min(44vw, calc((100svh - var(--hdr) - var(--pv, 0px) - 40px) * 1.02), 700px); aspect-ratio: 1.02 / 1; }
.hero__art { position: absolute; width: var(--w); left: var(--x); top: var(--y); margin: 0; }
.hero__art .art, .hero__art .shot { box-shadow: 0 0 0 1px rgba(4, 23, 43, 0.06), 0 30px 50px -18px rgba(40, 30, 20, 0.35), 0 10px 18px -8px rgba(40, 30, 20, 0.18); }
.hero__art figcaption { margin-top: 8px; font-size: 0.8125rem; color: var(--ink-2); background: rgba(255, 255, 255, 0.86); width: fit-content; padding: 3px 9px; border-radius: var(--r-pill); }
.hero__ctl { position: absolute; z-index: 4; right: var(--gutter); bottom: 20px; }
.vidbtn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 12px; border-radius: var(--r-pill); border: 0; background: rgba(255, 255, 255, 0.88); color: var(--ink); font-size: 0.875rem; font-weight: 500; cursor: pointer; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 6px 18px -6px rgba(0,0,0,.25); }
.vidbtn:hover { background: var(--paper); }
.vidbtn svg { width: 14px; height: 14px; }
.hero__phone { display: none; }
@media (max-width: 900px) {
  .hero { background: var(--paper); }
  .hero__bed, .hero__wash, .hero__arts { display: none; }
  .hero__in { min-height: 0; padding-block: 28px 8px; }
  .hero__phone { display: block; position: relative; margin: 8px calc(var(--gutter) * -1) 0; }
  .hero__phone .pbed { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #ebe7e2; }
  .hero__phone video, .hero__phone img.pposter { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .hero__phone video { opacity: 0; transition: opacity 600ms var(--ease); }
  .hero.has-video .hero__phone video { opacity: 1; }
  .hero__phone .hero__art { position: absolute; }
  .hero__phone .hero__art--ph { left: 16px; bottom: 16px; width: min(62vw, 260px); margin: 0; }
  .hero__ctl { right: 12px; bottom: 12px; }
}
.vidbtn--ph { display: none; }   /* the film's own pause button, for phones only (home.css) */

/* ------------------------------------------------------- category index -- */
.cats { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cats > li { border-bottom: 1px solid var(--line); }
.cat { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 26px 0; text-decoration: none; position: relative; }
.cat__name { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.875rem, 1.3rem + 2vw, 3rem); line-height: 1.05; letter-spacing: -0.015em; }
.cat__for { font-size: 0.9375rem; color: var(--slate); }
.cat__what { color: var(--ink-2); max-width: 52ch; }
.cat__counts { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.9375rem; font-weight: 500; }
.cat__counts span { white-space: nowrap; }
.cat__go { font-weight: 500; }
.cat__thumb { display: none; }
@media (min-width: 900px) {
  .cat { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) 220px; gap: 12px 40px; align-items: center; padding: 30px 0; }
  .cat__head { grid-column: 1; }
  .cat__mid { grid-column: 2; display: grid; gap: 10px; }
  .cat__thumb { display: block; grid-column: 3; grid-row: 1; }
  .cat__thumb .shot, .cat__thumb .xl { transform: rotate(-1.2deg); }
  .cat:hover .cat__thumb .shot, .cat:hover .cat__thumb .xl { transform: rotate(0deg) translateY(-3px); }
  .cat__thumb .shot, .cat__thumb .xl { transition: transform 260ms var(--ease); }
}
.cat:hover .cat__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.12em; }
.cat__thumb .shot { aspect-ratio: 16 / 11; }
.cat__thumb .xl { font-size: 0.75rem; }
.cat__thumb .xl th, .cat__thumb .xl td { padding: 6px 8px; }

/* --------------------------------------------------------------- demo ---- */
.demo-quiet { padding-block: clamp(72px, 14vh, 160px) clamp(24px, 6vh, 64px); }
.demo-quiet p { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); line-height: 1.15; letter-spacing: -0.012em; max-width: 26ch; margin: 0; }
.demo { background: var(--fog); }
.demo .sc-stage, .demo [data-sc-stage] { display: grid; align-items: center; }
.demo__grid { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: center; }
@media (min-width: 960px) { .demo__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; } }
.demo__copy { display: grid; gap: 18px; align-content: center; }
.demo__steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.demo__steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--slate); transition: color 200ms var(--ease); }
.demo__steps li b { font-weight: 500; color: inherit; }
.demo__steps li .n { font-variant-numeric: tabular-nums; font-weight: 500; }
.demo__steps li.on { color: var(--ink); }
.demo__panel { position: relative; background: var(--paper); border-radius: var(--r-card); box-shadow: var(--e-art); padding: clamp(16px, 2.4vw, 28px); display: grid; gap: 16px; }
.demo__panelhead { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 0.875rem; color: var(--slate); }
.demo__panelhead b { color: var(--ink); font-weight: 600; font-size: 1rem; }
.demo__svg { width: 100%; height: auto; aspect-ratio: 16 / 10; }
.demo__svg .edge { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.demo__svg .edge.hid { stroke: var(--line-2); stroke-dasharray: 4 5; }
.demo__svg .face { fill: var(--peach); opacity: 0; }
.demo__svg .dim { stroke: var(--slate); stroke-width: 1; }
.demo__svg .dimt { font: 500 13px var(--f-text); fill: var(--ink); font-variant-numeric: tabular-nums; }
.demo__svg .dimbg { fill: var(--paper); }
.demo__fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.demo__fields label { display: grid; gap: 6px; font-size: 0.875rem; font-weight: 600; }
.demo__fields input { width: 100%; min-height: 48px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 10px; font-size: 1.0625rem; font-variant-numeric: tabular-nums; background: var(--paper); }
.demo__fields input:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.demo__out { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.demo__out div { border: 1.5px dashed var(--ink); border-radius: 10px; padding: 10px 12px; display: grid; gap: 2px; }
.demo__out b { font-weight: 600; font-size: 0.875rem; }
.demo__out output { font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.demo__out small { font-size: 0.75rem; color: var(--slate); line-height: 1.35; }
.demo__msg { min-height: 1.4em; margin: 0; font-size: 0.875rem; color: var(--red); }
.demo__note { margin: 0; font-size: 0.875rem; color: var(--slate); }
@media (max-width: 959px) {
  .demo__copy .demo__steps { display: none; }
  .demo__copy .lede { display: none; }
  .demo__out small { display: none; }
}
@media (max-width: 420px) { .demo__fields, .demo__out { gap: 6px; } .demo__fields input { padding: 0 8px; } }

/* ------------------------------------------------------------ bundles ---- */
.bundles { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .bundles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .bundles { grid-template-columns: repeat(12, minmax(0, 1fr)); } .bundles > .bundle { grid-column: span 4; } .bundles > .bundle--wide { grid-column: span 8; } }
.bundle { background: var(--mist); border-radius: var(--r-card); padding: 26px; display: grid; gap: 14px; align-content: start; }
.bundle--peach { background: var(--peach); color: var(--sienna); }
.bundle--peach .label, .bundle--peach .small, .bundle--peach li { color: var(--sienna); }
.bundle--peach .btn { background: var(--sienna); border-color: var(--sienna); }
.bundle--peach .btn:hover { background: #47200f; }
.bundle--peach .btn[aria-disabled="true"] { background: transparent; border-color: color-mix(in oklab, var(--sienna) 45%, transparent); color: var(--sienna); }
@media (min-width: 760px) { .bundle--wide ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; } }
@media (min-width: 760px) and (max-width: 1099px) { .bundle--wide { grid-column: 1 / -1; } }
.bundle__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.bundle__price b { font-family: var(--f-display); font-weight: 300; font-size: clamp(2.5rem, 2rem + 1.5vw, 3.25rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; }
.bundle__price s { color: var(--slate); text-decoration-thickness: 1px; }
.bundle--peach .bundle__price s { color: var(--sienna); opacity: 0.8; }
.bundle h3 { margin: 0; font: 500 1.25rem/1.25 var(--f-text); }
.bundle ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 0.9375rem; color: var(--ink-2); }
.bundle li { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid color-mix(in oklab, currentColor 14%, transparent); padding-top: 6px; }
.bundle li a { text-decoration: none; }
.bundle li a:hover { text-decoration: underline; }
.bundle .actions { margin-top: 4px; }
.combo { display: grid; gap: 14px; padding: 26px; border: 1px solid var(--line-2); border-radius: var(--r-card); }
@media (min-width: 900px) { .combo { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }

/* -------------------------------------------------------------- proof ---- */
.facts { display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line); }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; } }
.fact { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.fact h3 { margin: 0; font-family: var(--f-display); font-weight: 350; font-size: 1.625rem; line-height: 1.15; letter-spacing: -0.01em; }
.fact p { margin: 0; color: var(--ink-2); }
.fact a { font-weight: 500; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; min-height: 64px; padding: 14px 0; font-weight: 500; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 22px; height: 22px; flex: none; position: relative; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 4px; right: 4px; top: 10px; height: 1.5px; background: var(--ink); transition: transform 200ms var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0deg); }
.faq .ans { padding: 0 0 20px; color: var(--ink-2); max-width: 70ch; }
.faq .ans p { margin: 0 0 10px; }
.twocol { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .twocol { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 72px; } }

/* -------------------------------------------------------------- finder --- */
.finder { padding-block: var(--section) clamp(80px, 12vw, 140px); }
.finder__box { display: grid; gap: 22px; max-width: 54rem; }
.finder__field { position: relative; }
.finder__field svg { position: absolute; left: 22px; top: 50%; translate: 0 -50%; width: 22px; height: 22px; color: var(--slate); pointer-events: none; }
.finder__field input { width: 100%; min-height: 72px; padding: 0 24px 0 60px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--paper); font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 18px 40px -24px rgba(17,20,28,.25); }
.finder__field input:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.finder__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.finder__res { min-height: 1px; }
.finder__count { font-size: 0.9375rem; color: var(--slate); margin: 0; }

/* -------------------------------------------------------------- footer --- */
.ftr { background: var(--mist); padding-block: 64px 28px; font-size: 0.9375rem; }
.ftr__grid { display: grid; gap: 32px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; }
@media (min-width: 760px) { .ftr__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .ftr__grid { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.ftr__brand { display: grid; gap: 14px; max-width: 64ch; }
.ftr__brand p { margin: 0; color: var(--ink-2); font-size: 0.875rem; line-height: 1.55; }
.ftr h2 { font: 500 0.9375rem/1.3 var(--f-text); margin: 0 0 10px; }
.ftr h2 a { display: inline-block; padding: 4px 0; margin: -4px 0; }   /* 27px tap target, same look */
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.ftr li a { display: inline-block; padding: 5px 0; text-decoration: none; color: var(--ink-2); }
.ftr li a:hover { color: var(--ink); text-decoration: underline; }
.ftr__legal { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line-2); display: grid; gap: 10px; font-size: 0.8125rem; color: var(--slate); }
.ftr__legal a { color: var(--ink-2); }

/* --------------------------------------------------- preview banner ----- */
:root:has(.pvbar) { --pv: 40px; }
.pvbar { background: var(--ink); color: var(--paper); font-size: 0.875rem; }
.pvbar .wrap { display: flex; gap: 8px 16px; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: 40px; padding-block: 6px; }
.pvbar a { color: var(--paper); font-weight: 500; }

/* ------------------------------------------------------------ catalogue -- */
.page-head { padding-block: clamp(40px, 7vw, 96px) clamp(24px, 4vw, 48px); }
.page-head .display { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 5rem); max-width: 18ch; }
.page-head .label + .display { margin-top: 12px; }   /* the area name above a task heading never touches it */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.875rem; color: var(--slate); margin: 0 0 18px; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.filters { position: sticky; top: var(--hdr); z-index: 30; background: color-mix(in oklab, var(--paper) 94%, transparent); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(1px)) { .filters { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); } }
.filters__in { display: grid; gap: 10px; padding-block: 14px; }
.filters__row { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.filters__row::-webkit-scrollbar { display: none; }
.filters__q { position: relative; max-width: 520px; }
.filters__q input { width: 100%; min-height: 46px; border-radius: var(--r-pill); border: 1px solid var(--line-2); padding: 0 16px 0 44px; background: var(--paper); font-size: 1rem; }
.filters__q svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 17px; height: 17px; color: var(--slate); pointer-events: none; }
.filters__meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.filters__count { margin: 0; font-size: 0.9375rem; color: var(--ink-2); }
.catblock { padding-block: 48px 8px; }
.catblock + .catblock { border-top: 1px solid var(--line); }
.catblock__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; }
.catblock__head .h3s a { text-decoration: none; }
.catblock__head .h3s a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.catblock[hidden] { display: none; }
.subhead { margin: 32px 0 14px; font: 500 1rem/1.3 var(--f-text); color: var(--ink); }
.empty { padding: 48px 0; text-align: left; }
.empty[hidden] { display: none; }

/* ------------------------------------------------------- product page ---- */
.ph { padding-block: clamp(28px, 5vw, 72px) clamp(40px, 6vw, 88px); }
.ph__grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 980px) { .ph__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.ph__copy { display: grid; gap: 20px; }
.ph__copy .display { font-size: clamp(2.5rem, 1.6rem + 3.2vw, 4.75rem); max-width: 14ch; }
/* headings that state the task and its result (2 Oct 2026, evening) are sentences, so they set a little smaller and
   wider than a product name, and the buttons stay in the first screen */
.display.display--task { font-size: clamp(2.125rem, 1.35rem + 2.5vw, 3.875rem); max-width: 17ch; line-height: 1.04; }
.ph__buy { display: grid; gap: 14px; padding-top: 6px; }
.tiers { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.tier { display: grid; gap: 2px; }
.tier b { font-family: var(--f-display); font-weight: 300; font-size: 2.5rem; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; }
.tier span { font-size: 0.875rem; color: var(--slate); }
.ph__media { position: relative; }
.ph__media .shot { aspect-ratio: auto; }
.ph__media .shot img { height: auto; }
.ph__media--phone { max-width: 360px; margin-inline: auto; }
.ph__media .xl { font-size: 0.9375rem; }
.ph__media .xl th, .ph__media .xl td { padding: 11px 16px; }
.ph__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.9375rem; color: var(--ink-2); }
.ph__meta span { display: inline-flex; align-items: center; gap: 8px; }
.ph__meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ink-2); }
.pp-sec { padding-block: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line); }
.pp-grid { display: grid; gap: 32px 64px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .pp-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.ticks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.ticks li::before { content: ""; width: 16px; height: 16px; margin-top: 4px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2.5 8.5l3.5 3.5 7.5-8' fill='none' stroke='%2317191c' stroke-width='1.8'/%3E%3C/svg%3E") center / contain no-repeat; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 0; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.steps li::before { content: counter(s); font-family: var(--f-display); font-size: 1.5rem; line-height: 1; color: var(--ink); font-variant-numeric: lining-nums; }
.shots { display: grid; gap: 16px; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); overflow-x: auto; padding: 6px 2px 18px; scroll-snap-type: x mandatory; }
.shots figure { margin: 0; scroll-snap-align: start; display: grid; gap: 8px; }
.shots .shot img { height: auto; }
.shots figcaption { font-size: 0.875rem; color: var(--slate); }
.compare { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.compare th, .compare td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { font-weight: 500; color: var(--ink); border-bottom-color: var(--ink); }
.compare td.c, .compare th.c { text-align: center; }
.compare tbody th { font-weight: 400; color: var(--ink-2); }
.tablewrap { overflow-x: auto; }
.limit { background: var(--fog); border-radius: var(--r-card); padding: 22px 24px; display: grid; gap: 6px; }
.limit p { margin: 0; color: var(--ink-2); }

/* ------------------------------------------------- checkout dialog skin -- */
.rmbuy { background: rgba(17, 20, 28, 0.45) !important; }
.rmbuy .box { border-radius: 20px !important; border: 0 !important; box-shadow: var(--e-pop); padding: 26px !important; }
.rmbuy h2 { font-family: var(--f-display) !important; font-weight: 300 !important; font-size: 30px !important; letter-spacing: -0.015em !important; }
.rmbuy .pr { font-family: var(--f-text) !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 15px !important; color: var(--ink-2) !important; }
.rmbuy .row .btn { min-height: 48px; }

/* ------------------------------------------------------ reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; }
  .tool:hover .shot, .tool:hover .xl { transform: none; }
}

/* the flagship card: two real phone screens */
.phones { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; width: min(100%, 520px); margin-inline: auto; }
.phones .phone { aspect-ratio: 3 / 4; border-radius: 18px 18px 0 0; box-shadow: var(--e-art); }
.phones .phone img { height: 100%; object-fit: cover; object-position: top; }
.phones .phone:nth-child(2) { transform: translateY(-22px); }
@media (hover: hover) and (pointer: fine) { .tool:hover .phones .phone:nth-child(2) { transform: translateY(-28px); } .tool:hover .phones .phone:nth-child(1) { transform: translateY(-4px); } }
.tool__media { align-items: center; }
.tool__media:has(.phones), .tool__media:has(.shot) { align-items: end; }
.tool__media .shot:not(.phone) { aspect-ratio: auto; }
.tool__media .shot:not(.phone) img { height: auto; object-fit: contain; }
.cat__thumb .shot { aspect-ratio: auto; }
.cat__thumb .shot img { height: auto; }

/* compact filter bar */
.filters__meta { flex-wrap: nowrap; }
.filters__q { flex: 1 1 420px; max-width: 560px; }
.filters__aud { display: flex; gap: 8px; align-items: center; font-size: 0.9375rem; color: var(--slate); white-space: nowrap; }
.filters__aud select { min-height: 42px; border-radius: var(--r-pill); border: 1px solid var(--line-2); padding: 0 12px; background: var(--paper); color: var(--ink); }
.filters__count { margin-left: auto; white-space: nowrap; }
.filters__row { align-items: center; }
.filters__grp { display: flex; gap: 8px; flex: none; }
.filters__sep { width: 1px; height: 26px; background: var(--line-2); flex: none; margin-inline: 6px; }
/* 2 Oct 2026, evening: the chips say what each filter is in full ("Free demos and samples", "Money and budgeting"),
   so the area chips and the free-or-paid chips each get a row of their own instead of running off the edge. */
#filters .filters__row { flex-wrap: wrap; overflow: visible; row-gap: 8px; }
#filters .filters__grp { flex: 1 1 100%; flex-wrap: wrap; }
#filters .filters__sep { display: none; }
/* below 1200px the chips take three rows, too tall to keep over the list: the bar scrolls away with the page */
@media (max-width: 1199px) { #filters { position: static; } }
/* product names in full on the buy buttons ("Buy Landlord records and letters bundle — £29"): a bundle card keeps its
   contents inside its own width, and a long button label wraps inside the button rather than running past the card */
.bundle { grid-template-columns: minmax(0, 1fr); }
.bundle .btn, .tool__foot .btn, .combo .btn, .ph__buy .btn, #pricing .actions .btn { white-space: normal; text-align: center; text-wrap: balance; }
.filters .chip { min-height: 38px; padding: 0 14px; }
@media (max-width: 760px) {
  .filters__meta { flex-wrap: wrap; }
  .filters__q { flex-basis: 100%; max-width: none; }
  .filters__count { margin-left: 0; }
}
/* sheet previews inside narrow cards wrap instead of clipping */
.tools .xl th, .tools .xl td { padding: 8px 9px; white-space: normal; }
.tools .xl .st { white-space: nowrap; }
/* product page phone screenshots */
.ph__media--phone .shot { max-height: min(78vh, 720px); }
.ph__media--phone .shot img { height: 100%; object-fit: cover; object-position: top; }
.ph__copy .display br + em { font-style: italic; }
.page-head + .wrap > .catblock:first-child { padding-top: 8px; }
input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.demo__out output { white-space: nowrap; font-size: clamp(1rem, 0.78rem + 1.1vw, 1.5rem); }
/* tick lists hold mixed text and links: position the tick instead of using a grid */
.ticks li { display: block; position: relative; padding: 14px 0 14px 34px; }
.ticks li::before { position: absolute; left: 0; top: 18px; margin: 0; }
.tools .xl .st { white-space: normal; }
.bundles--one > .bundle { grid-column: 1 / -1 !important; }
@media (min-width: 760px) { .bundle--wide ul { column-gap: 48px !important; } }

/* ===================================================== pictures (1 Oct 2026, refinement) ==
   Three kinds, kept apart: real screens (.shot), real files (.win) and context photographs (.lay__bg, .pl--photo).
   Movement: html.rm-live is set by showroom.js only when motion is allowed. --rm (0..1) comes from each element's
   place in the viewport, so every effect below is a pure function of scroll position and reverses exactly.
   Only translate, scale, rotate, opacity and clip-path move; every picture has its space reserved. */

/* real file renders in a window frame */
.win { background: var(--paper); border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px rgba(4, 23, 43, 0.07), 0 24px 40px -18px rgba(40, 30, 20, 0.35), 0 8px 14px -8px rgba(40, 30, 20, 0.18); }
.win__bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: var(--fog); border-bottom: 1px solid var(--line); font-size: 0.75rem; color: var(--slate); }
.win__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); flex: none; }
.win__bar span { margin-left: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win img { width: 100%; height: auto; }
.shot.det { border-radius: 14px; }
.shot.det img { height: auto; object-fit: contain; }

/* cards: the job's photograph; apps add their real screen in its corner, packs show their sample rows under it */
.tool--lay .tool__media { padding: 0; min-height: 0; display: block; }
.lay { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: #e9e4dd; }
.lay__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lay__fg { position: absolute; left: 8%; right: 8%; bottom: 7%; display: flex; justify-content: center; align-items: flex-end; }
.lay__fg > * { width: 100%; }
/* Packs (Ade's choice, 1 Oct 2026): nothing over the photograph. Two whole sample rows from the file sit in a slim
   strip under it, lined up with the card's text; never a part row, a part line or a column cut sideways. */
.tool--lay { grid-template-columns: minmax(0, 1fr); }   /* wide content never stretches a card past its column */
.tool__file { padding: 16px 22px 0; container-type: inline-size; }
.tool__file .xl { font-size: 0.75rem; border-radius: 12px; box-shadow: 0 0 0 1px rgba(4, 23, 43, 0.06), 0 10px 20px -16px rgba(30, 22, 14, 0.35); }
.tool__file .xl__bar { gap: 6px; padding: 7px 10px; font-size: 0.75rem; }
.tool__file .xl__bar i { width: 7px; height: 7px; }
.tools .tool__file .xl th, .tools .tool__file .xl td, .tool__file .xl th, .tool__file .xl td { padding: 5px 10px; font-size: inherit; }
.tool__file .xl th { font-size: 0.6875rem; }
.tool__file .xl .st { padding: 1px 7px; font-size: 0.6875rem; }
.tool__file .xl .st, .tool__file .xl .r { white-space: nowrap; }   /* words may wrap if they must; amounts and chips never */
.tool__file .xl tbody tr:nth-child(n+3) { display: none; }
.tool__file .xl tr > :nth-child(3):nth-last-child(2) { display: none; }   /* four columns: the third gives way */
.tool__file .xl__folders span:nth-of-type(n+4), .tool__file .xl__check span:nth-of-type(n+4) { display: none; }
.tool__file .xl__inv { padding: 10px 12px; font-size: 0.75rem; }
.tool__file .xl__folders, .tool__file .xl__check { padding: 9px 12px; gap: 5px; }
.tool__file .xl__folders span, .tool__file .xl__check span { font-size: 0.75rem; }
/* three whole lines then an ellipsis: no bottom padding, or the fourth line would show through it (spacing is margin) */
.tool__file .xl .xl__doc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; padding: 10px 12px 0; margin-bottom: 10px; font-size: 0.75rem; }
@container (max-width: 270px) {   /* narrow cards (two across on a tablet, small phones): a size smaller, still whole.
                                     After the rules above on purpose: a container query adds no weight, order decides. */
  .tool__file .xl { font-size: 0.6875rem; }
  .tools .tool__file .xl th, .tools .tool__file .xl td, .tool__file .xl th, .tool__file .xl td { padding: 4px 7px; }
  .tool__file .xl th { font-size: 0.625rem; }
  .tool__file .xl .st { padding: 1px 6px; font-size: 0.625rem; }
}
.lay--survey .lay__fg, .lay--snag .lay__fg { left: auto; right: 8%; width: 36%; bottom: 7%; }
.lay .shot { aspect-ratio: auto; }
.lay .shot img { height: auto; }
.lay .shot.phone { border-radius: 14px; box-shadow: 0 0 0 1px rgba(4, 23, 43, 0.08), 0 26px 40px -16px rgba(30, 22, 14, 0.5); }
.lay--rams .lay__fg { left: auto; right: 6%; width: 64%; bottom: 7%; }
.lay--rams .shot { box-shadow: 0 0 0 1px rgba(4, 23, 43, 0.08), 0 22px 34px -14px rgba(30, 22, 14, 0.45); }
/* free tools: their own screen, cropped to the same shape on every card */
.tool__media .shot.ui { aspect-ratio: 16 / 10; }
.tool__media .shot.ui img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.tool__media .shot.phone.solo { width: min(58%, 230px); margin-inline: auto; aspect-ratio: 3 / 4; border-radius: 18px 18px 0 0; }
.tool__media .shot.phone.solo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* list rows and search results carry a close-up of the real screen */
.rows a.rowlink:has(.rl-th) { grid-template-columns: 120px minmax(0, 1fr) auto; column-gap: 20px; }
.rl-th { grid-column: 1; grid-row: 1 / span 2; width: 120px; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; background: var(--mist); box-shadow: 0 0 0 1px rgba(4, 23, 43, 0.07), 0 6px 14px -8px rgba(30, 22, 14, 0.3); }
.rl-th img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.rows a.rowlink:has(.rl-th) .rl-name, .rows a.rowlink:has(.rl-th) .rl-task { grid-column: 2; }
.rows a.rowlink:has(.rl-th) .rl-go { grid-column: 3; grid-row: 1 / span 2; }
@media (hover: hover) and (pointer: fine) { .rl-th img { transition: scale 260ms var(--ease); } .rows a.rowlink:hover .rl-th img { scale: 1.05; } }
@media (max-width: 600px) {
  .rows a.rowlink:has(.rl-th) { grid-template-columns: 84px minmax(0, 1fr); column-gap: 14px; }
  .rl-th { width: 84px; grid-row: 1 / span 3; align-self: start; }
  .rows a.rowlink:has(.rl-th) .rl-go { grid-column: 2; grid-row: 3; margin-top: 4px; }
}
.res a:has(.r-th) { grid-template-columns: 64px minmax(0, 1fr) auto; column-gap: 14px; }
.r-th { grid-column: 1; grid-row: 1 / span 3; align-self: center; width: 64px; height: 44px; border-radius: 8px; overflow: hidden; background: var(--mist); }
.r-th img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.res a:has(.r-th) b, .res a:has(.r-th) .r-task, .res a:has(.r-th) .r-cat { grid-column: 2; }
.res a:has(.r-th) .r-meta { grid-column: 3; grid-row: 1 / span 3; }

/* bundles: what is inside, as a fan of the packs' pictures that opens as the card arrives */
.fan { position: relative; height: 92px; margin: 0 0 4px; container-type: inline-size; --f: 1; }
.fan__card { position: absolute; left: 0; bottom: 0; width: 88px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--mist);
  box-shadow: 0 0 0 1px rgba(4, 23, 43, 0.06), 0 10px 18px -8px rgba(40, 30, 20, 0.35); transform-origin: 50% 100%;
  translate: calc(var(--i) * (14px + var(--f) * (min(58px, (100cqi - 88px) / max(var(--n) - 1, 1)) - 14px))) calc((1 - var(--f)) * 8px);
  rotate: calc((var(--i) - (var(--n) - 1) / 2) * var(--f) * 2.4deg); }
.fan__card img { width: 100%; height: 100%; object-fit: cover; }
.bundle--peach .fan__card { box-shadow: 0 0 0 1px rgba(93, 42, 26, 0.12), 0 10px 18px -8px rgba(93, 42, 26, 0.35); }

/* catalogue blocks: each category's photograph beside its name */
.catblock__head--pic { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: end; }
.catblock__text { display: grid; gap: 6px; justify-items: start; }
@media (min-width: 900px) { .catblock__head--pic { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; } }
.catban { position: relative; aspect-ratio: 21 / 8; border-radius: var(--r-card); overflow: hidden; background: #e9e4dd; }
.catban img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; }

/* category pages: the category's photograph beside the title */
.page-head--cat { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: end; }
@media (min-width: 980px) { .page-head--cat { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }
.page-head__pic { position: relative; aspect-ratio: 3 / 2; border-radius: var(--r-card); overflow: hidden; background: #e9e4dd; }
.page-head__pic img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }

/* product pages: photograph, real file or screen, and sample rows as separate planes */
.ph__side { display: grid; gap: 12px; }
.ph__media--lay, .ph__media--app { position: relative; }
.ph__media--lay { aspect-ratio: 1 / 0.9; }
.pl { position: absolute; }
.pl--photo { inset: 0 0 20% 14%; border-radius: var(--r-card); overflow: hidden; background: #e9e4dd; }
.pl--photo img { width: 100%; height: 100%; object-fit: cover; }
.pl--file { left: 0; bottom: 0; width: 80%; }
.pl--file .win img { max-height: 340px; object-fit: cover; object-position: top left; }
/* sample rows take the width they need (within limits): text may wrap, amounts and status chips never break or clip */
.pl--xl { right: 0; top: 7%; width: auto; min-width: 46%; max-width: 70%; }
.pl--xl .xl th, .pl--xl .xl td { white-space: normal; padding: 9px 10px; }
.pl--xl .xl .st, .pl--xl .xl .r { white-space: nowrap; }
.ph__note { margin: 0 2px; }
.ph__media--app { aspect-ratio: 1 / 0.92; }
.ph__media--app .pl--photo { inset: 0 10% 8% 0; }
.ph__media--app .pl--fg { right: 3%; bottom: 0; width: 41%; }
.ph__media--app .shot.phone { border-radius: 22px; box-shadow: 0 0 0 1px rgba(4, 23, 43, 0.08), 0 34px 60px -24px rgba(30, 22, 14, 0.55); }
.ph__media--app .shot.phone img { height: auto; }
.ph__media--rams .pl--fg { right: 0; bottom: 3%; width: 76%; }
.ph__media--rams .shot { box-shadow: 0 0 0 1px rgba(4, 23, 43, 0.08), 0 30px 50px -22px rgba(30, 22, 14, 0.5); }
@media (max-width: 560px) {
  .ph__media--lay { aspect-ratio: 1 / 1.08; }
  .pl--xl { max-width: 100%; top: 4%; }   /* compact, so the file below stays in view; full width only if it must */
  .ph__media .pl--xl .xl { font-size: 0.78125rem; }
  .ph__media .pl--xl .xl th, .ph__media .pl--xl .xl td { padding: 6px 8px; }
  .pl--file { width: 94%; }
  .ph__media--app { aspect-ratio: 1 / 1.1; }
  .ph__media--app .pl--fg { width: 48%; }
}

/* inside the free example file: each tab at the size it opens on screen (cells about 13px), one under another.
   A tab wider than the page scrolls sideways (drag, swipe, shift and the wheel, or the arrow keys) instead of
   shrinking until nothing can be read; within 10% of fitting, it fits. showroom.js marks .is-wide and .at-end. */
.files { display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr); }
.file { margin: 0; display: grid; gap: 8px; min-width: 0; }
.file figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; font-size: 0.875rem; color: var(--slate); }
.file__hint { display: none; }
.file.is-wide .file__hint { display: inline; }
.file.is-wide .file__hint::after { content: " \2192"; }
.sheet { overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; background: #fff; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.sheet img { display: block; width: max(min(100%, var(--w)), calc(var(--w) * 0.9)); max-width: none; height: auto; }
.file.fit .sheet img { width: 100%; }
.file.is-wide .sheet { cursor: grab; }
.file.is-wide .sheet.is-drag { cursor: grabbing; user-select: none; }
.sheet:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.file.is-wide:not(.at-end) .sheet { -webkit-mask-image: linear-gradient(to left, transparent, #000 56px); mask-image: linear-gradient(to left, transparent, #000 56px); }
.shots--wide { grid-auto-columns: minmax(280px, 420px); }

/* ----------------------------------------------------- scroll-linked motion -- */
@media (prefers-reduced-motion: no-preference) {
  html.rm-live .lay__bg { translate: 0 calc((var(--rm, 0.5) - 0.5) * 9%); scale: 1.1; }
  html.rm-live .lay__fg { translate: 0 calc((var(--rm, 0.5) - 0.5) * -14%); }
  html.rm-live .fan { --f: clamp(0, calc((var(--rm, 1) - 0.06) / 0.3), 1); }
  html.rm-live .catban { --m: clamp(0, calc(var(--rm, 1) / 0.34), 1); clip-path: inset(0 calc((1 - var(--m)) * 26%) 0 0 round var(--r-card)); }
  html.rm-live .catban img { translate: 0 calc((var(--rm, 0.5) - 0.5) * -16%); }
  html.rm-live .page-head__pic img { translate: 0 calc((var(--rm, 0.5) - 0.5) * -14%); scale: calc(1.02 + var(--rm, 0.5) * 0.06); }
  html.rm-live .ph__media--lay .pl--photo img, html.rm-live .ph__media--app .pl--photo img { translate: 0 calc((var(--rm, 0.5) - 0.5) * 10%); scale: 1.12; }
  html.rm-live .ph__media--lay .pl--file, html.rm-live .ph__media--app .pl--fg { translate: 0 calc((var(--rm, 0.5) - 0.5) * -12%); }
  html.rm-live .ph__media--lay .pl--xl { translate: 0 calc((var(--rm, 0.5) - 0.5) * -30%); }
  html.rm-live .file { --m: clamp(0, calc(var(--rm, 1) / 0.12), 1); }   /* fully open before it is far onto the screen */
  html.rm-live .file .win { clip-path: inset(0 0 calc((1 - var(--m)) * 42%) 0 round 12px); translate: 0 calc((1 - var(--m)) * 30px); }
}

.nw { white-space: nowrap; }

/* ------------------------------------------------------------- /charges/ directory (third pass, 1 Oct 2026) --
   Grouped by type, car price or a status tag on every row, a filter box and nation chips. Replaces the flat A to Z. */
.page-head--dir { padding-bottom: clamp(24px, 3vw, 40px); }
.dir-head { display: grid; gap: 28px; }
@media (min-width: 980px) { .dir-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; } }
.dir-head__text .display { max-width: 14ch; }
.dir-checked { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 18px 0 0; }
.dir-tag { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 0 11px; border-radius: var(--r-pill); font: 500 0.8125rem/1 var(--f-text); white-space: nowrap; }
.dir-tag svg { width: 13px; height: 13px; }
.dir-tag--ok { background: var(--green-bg); color: var(--green-ink); }
.dir-tag--warn { background: var(--amber-bg); color: var(--amber-ink); }
.dir-tag--quiet { background: var(--mist); color: var(--slate); }
.dir-head__side { display: grid; gap: 12px; }
.dir-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dir-stats a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-art); background: var(--paper); text-decoration: none; color: var(--ink); }
.dir-stats a:hover { border-color: var(--ink); }
.dir-stats b { font: 300 1.875rem/1 var(--f-display); }
.dir-stats span { font-size: 0.875rem; color: var(--slate); }
.dir-map { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-radius: var(--r-art); background: var(--ink); color: var(--paper); text-decoration: none; }
.dir-map > span { display: flex; flex-direction: column; gap: 2px; }
.dir-map .small { color: #c9cbd1; }
.dir-map svg { width: 20px; height: 20px; flex: none; }
.dir-map:hover { background: #2b2e33; }
.dir-filters { position: sticky; top: var(--hdr); z-index: 30; background: color-mix(in oklab, var(--paper) 94%, transparent); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(1px)) { .dir-filters { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); } }
.dir-filters__in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-block: 12px; }
.dir-filters .filters__q { flex: 1 1 320px; max-width: 460px; }
.dir-filters .filters__grp { flex: 1 1 auto; min-width: 0; flex-wrap: wrap; }
.dir-filters .chip { min-height: 38px; padding: 0 14px; }
.dir-jumps { display: flex; gap: 16px; margin-left: auto; font-size: 0.875rem; }
.dir-jumps a { display: inline-block; padding: 6px 0; margin: -6px 0; color: var(--slate); text-decoration: none; white-space: nowrap; }
.dir-jumps a:hover { color: var(--ink); text-decoration: underline; }
.dir-jumps .ct { opacity: 1; color: var(--slate); }
.dir-filters .filters__count { flex-basis: 100%; margin: 0; }
.dir-filters .filters__count:empty { display: none; }
@media (max-width: 760px) { .dir-jumps { margin-left: 0; overflow-x: auto; scrollbar-width: none; width: 100%; } .dir-jumps::-webkit-scrollbar { display: none; } }
.dir-body { padding-top: 8px; }
.dir-group { padding-top: 28px; }
.dir-group[hidden] { display: none; }
.dir-group__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.dir-group__head .small { margin: 0; }
.dir-count { font: 400 0.9375rem/1 var(--f-text); color: var(--slate); margin-left: 6px; }
.dir-list { list-style: none; margin: 0; padding: 0; display: grid; }
@media (min-width: 900px) { .dir-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; } }
.dir-item[hidden] { display: none; }
.dir-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 6px; margin: 0 -6px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); border-radius: 10px; }
.dir-row:hover { background: var(--fog); }
.dir-row:hover .dir-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.dir-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dir-name { font-weight: 500; }
.dir-sub { font-weight: 400; color: var(--slate); }
.dir-line { font-size: 0.875rem; color: var(--slate); line-height: 1.4; }
.dir-row--quiet { color: var(--slate); }
.dir-price { font: 400 1.3125rem/1 var(--f-display); white-space: nowrap; }
.dir-price small { font: 400 0.8125rem/1 var(--f-text); color: var(--slate); }
.dir-row .dir-tag { align-self: center; }
@media (max-width: 480px) { .dir-row { flex-wrap: wrap; } .dir-row .dir-tag, .dir-row .dir-price { order: 3; } }

/* search results in two groups: tools and the driving charge pages */
.res__h { margin: 10px 12px 2px; font: 500 0.75rem/1.3 var(--f-text); letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate); }
.res + .res__h { margin-top: 14px; }
.r-th--icon { display: flex; align-items: center; justify-content: center; color: var(--slate); }
.r-th--icon svg { width: 24px; height: 24px; }

/* /purchases/ facts are the page's h2s now */
.fact h2 { margin: 0; font-family: var(--f-display); font-weight: 350; font-size: 1.625rem; line-height: 1.15; letter-spacing: -0.01em; }
.page-head__pic--band { aspect-ratio: 16 / 7; margin-top: 28px; }
@media (min-width: 900px) { .page-head__pic--band { aspect-ratio: 4 / 1; margin-top: 36px; } }

/* ======================================================== phones (2 Oct 2026, evening) ==
   One phone for every app screen (gen.py device()). A dark frame; a screen that clips everything inside it to its
   own rounded shape, so nothing can leak past the frame; and the screenshot shown whole, at the screen's full width
   and its own proportions (no cover cropping at the sides, no stretching). A strip above and below the screenshot,
   in the colours of its own top and bottom rows, keeps the logo, the menu button and the bottom buttons clear of the
   rounded corners. Every size is a share of the phone's own width, so a phone of any size has the same shape;
   --dev-ar is the whole phone's width / height for its screenshot (gen.py device_ar). */
.device { container-type: inline-size; position: relative; display: block; width: 100%; aspect-ratio: var(--dev-ar, 0.479); }
.device__frame { position: absolute; inset: 0; padding: 2.6cqw; border-radius: 15cqw; background: #0e1726;
  box-shadow: 0 34px 60px -24px rgba(20, 16, 10, 0.5), 0 12px 20px -10px rgba(20, 16, 10, 0.28); }
.device__screen { position: relative; height: 100%; overflow: hidden; border-radius: 12.4cqw; background: #fff; isolation: isolate; }
.device__shot { container-type: inline-size; display: flex; flex-direction: column; width: 100%; height: 100%; background: var(--scr-bot, #fff); }
.device__shot::before { content: ""; flex: none; height: 7.384cqw; background: var(--scr-top, #0b1322); }
.device__shot img { flex: none; display: block; width: 100%; height: auto; }
.device__shot::after { content: ""; flex: 1 1 auto; min-height: 0; background: var(--scr-bot, #fff); }

/* ================================================== phones: one thing under another (2 Oct 2026) ==
   Ade: make the site fit iPhones and other phones and keep the desktop design; fix overlapping pictures, floating
   cards and text; on small screens stack them, fit pictures to the screen, and space things so nothing overlaps or
   scrolls sideways. Everything in this block is under 600px only: 600px and wider are exactly as they were. */
.file__zoom { display: none; }   /* made by showroom.js on phones, for example-file tabs wider than the screen */
@media (max-width: 599px) {
  /* bundles: the packs inside as a tidy grid of their pictures instead of an overlapping fan */
  .fan { height: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .fan .fan__card { position: static; width: auto; translate: none; rotate: none; }

  /* app cards (Survey, Snag list, RAMS): the real screen under the photograph, as the packs' sample rows are */
  .lay:has(.lay__fg) { aspect-ratio: auto; display: grid; overflow: visible; background: none; }
  .lay:has(.lay__fg) .lay__bg { position: static; display: block; width: 100%; height: auto; aspect-ratio: 16 / 11; }
  html.rm-live .lay:has(.lay__fg) .lay__bg { translate: none; scale: none; }
  .lay .lay__fg, .lay--survey .lay__fg, .lay--snag .lay__fg, .lay--rams .lay__fg { position: static; width: auto; margin: 16px 22px 0; }
  html.rm-live .lay__fg { translate: none; }
  .lay--survey .lay__fg > *, .lay--snag .lay__fg > * { width: min(60%, 220px); }

  /* product pages: the photograph, then the real file or screen, then the sample rows, one under another */
  .ph__media--lay, .ph__media--app { aspect-ratio: auto; display: grid; gap: 12px; }
  .ph__media--lay .pl, .ph__media--app .pl { position: static; width: auto; min-width: 0; max-width: none; }
  .ph__media--lay .pl--photo, .ph__media--app .pl--photo { aspect-ratio: 16 / 10; }
  html.rm-live .ph__media--lay .pl--file, html.rm-live .ph__media--lay .pl--xl, html.rm-live .ph__media--app .pl--fg { translate: none; }
  .ph__media--app .pl--fg { display: flex; justify-content: center; }
  .ph__media--survey .pl--fg > .shot, .ph__media--snag .pl--fg > .shot,
  .ph__media--survey .pl--fg > .device, .ph__media--snag .pl--fg > .device { width: min(64%, 250px); }

  /* filter bars scroll away with the page instead of riding over the list, and their chips wrap */
  .filters, .dir-filters { position: static; background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .filters__row { flex-wrap: wrap; overflow: visible; row-gap: 8px; }
  .filters__grp { flex: 1 1 100%; flex-wrap: wrap; }
  .filters__sep { display: none; }
  .dir-jumps { flex-wrap: wrap; overflow: visible; gap: 2px 16px; }

  /* screens from the apps: two to a row (the builder's wide screens one to a row), not a sideways strip */
  .shots { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; scroll-snap-type: none; padding: 4px 0 0; }
  .shots--wide { grid-template-columns: minmax(0, 1fr); }

  /* the plan table: each feature on a line of its own, its values in columns under the plan names */
  .tablewrap:has(.compare) { overflow: visible; }
  .compare, .compare thead, .compare tbody { display: block; }
  .compare tr { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); column-gap: 10px; border-bottom: 1px solid var(--line); }
  .compare thead tr { border-bottom-color: var(--ink); }
  .compare th, .compare td { border-bottom: 0; padding: 10px 0; }
  .compare thead th:first-child { display: none; }
  .compare tbody th { grid-column: 1 / -1; padding-bottom: 0; color: var(--ink); }

  /* example-file galleries: each tab fits the screen; "Zoom in to read" shows it at its own size (showroom.js) */
  .file.phone-fit .sheet img { width: 100%; }
  .file.phone-fit .sheet { cursor: zoom-in; }
  .file__zoom { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; margin: 2px 0 0; border: 1px solid var(--line-2); border-radius: var(--r-pill);
    background: var(--paper); color: var(--ink); font: 500 0.875rem/1 var(--f-text); cursor: pointer; }
  .file__zoom:hover { border-color: var(--ink); }
  .file.is-zoomed .file__hint { display: inline; }
}

/* last checked line and reviews (Oct 2026) */
.checked { margin: 14px 0 0; color: var(--ink-2, #3B3E45); }
.checked time { font-weight: 600; }
.revs__none, .revs__sum { margin: 0; }
.revs__list { list-style: none; margin: 18px 0 14px; padding: 0; display: grid; gap: 18px; }
.revs__list li { border-top: 1px solid var(--line, #E3E4E7); padding-top: 16px; }
.revs__stars { margin: 0 0 6px; color: #B7791F; letter-spacing: 2px; font-size: 18px; }
.revs__stars span { color: var(--line-2, #CFD1D6); }
.revs__text { margin: 0 0 6px; }
.revs__by { margin: 0; font-size: 14px; color: var(--muted, #5D616C); }
.revform { max-width: 640px; display: grid; gap: 6px; }
.revform input[type=text], .revform input:not([type]), .revform textarea { width: 100%; min-height: 48px; font: inherit; padding: 10px 12px; border: 1px solid var(--line-2, #cfd1d6); border-radius: 10px; background: #fff; margin-top: 6px; }
.revform fieldset { border: 0; padding: 0; margin: 8px 0; }
.rv-stars { display: grid; gap: 4px; margin-top: 8px; }
.rv-stars label, .rv-check { display: flex; gap: 10px; align-items: center; min-height: 44px; }
.rv-stars input, .rv-check input { width: 22px; height: 22px; flex: none; }
.ph__buy .value { margin: 12px 0 0; max-width: 52ch; }
.kitnav { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.kitnav a { font-weight: 600; }
.kitpart .files { margin-top: 24px; }
.tc { display: grid; gap: 10px; justify-items: start; padding: 22px; border: 1px solid var(--line, #e3e4e7); border-radius: 16px; background: #fff; }
.tc__list { margin: 6px 0 14px; padding-left: 1.2em; }
.regtable { overflow-x: auto; }
.srcs li { margin: 6px 0; }
.tag { display: inline-block; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; background: #e3f2e8; color: #1c6b3b; font-weight: 600; }
.tag--draft { background: #fbefd4; color: #7a4a00; }
.lh__reg { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.lh__reg th, .lh__reg td { text-align: left; padding: 10px 8px; border-top: 1px solid var(--line, #e3e4e7); }
.lh__reg thead th { font-size: 12px; color: var(--slate, #5d616c); text-transform: uppercase; letter-spacing: .04em; border-top: 0; }
.lh__reg tbody th { font-weight: 600; }
@media (max-width: 599px) { .lh__reg { font-size: 14px; } .lh__reg th, .lh__reg td { padding: 9px 5px; } }
/* long buy labels wrap on phones instead of running off the screen */
@media (max-width: 560px) { .btn { white-space: normal; max-width: 100%; text-align: center; padding-top: 10px; padding-bottom: 10px; } }
.warnbox { margin: 18px 0 0; padding: 14px 16px; border: 1px solid #E3C97A; border-left-width: 4px; border-radius: 10px; background: #FFF8E6; color: var(--ink); max-width: 62ch; }
.warnbox p { margin: 0; line-height: 1.55; }
.warnbox a { color: inherit; }
.freeform { margin-top: 16px; max-width: 560px; display: grid; gap: 10px; }
.freeform label[for] { font-weight: 600; }
.freeform__row { display: flex; gap: 10px; flex-wrap: wrap; }
.freeform__row input { flex: 1 1 220px; min-height: 48px; padding: 0 14px; font: inherit; font-size: 16px; border: 1px solid var(--line-2, #c9cbd1); border-radius: 10px; background: #fff; }
.freeform__opt { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; line-height: 1.45; }
.freeform__opt input { width: 22px; height: 22px; margin-top: 1px; flex: none; }
.freeform__msg { min-height: 1.4em; margin: 0; font-weight: 500; }
.notebox { margin: 18px 0 0; padding: 14px 16px; border: 1px solid var(--line, #e3e4e7); border-left: 4px solid var(--ink, #17191c); border-radius: 10px; background: var(--surface, #fafafb); max-width: 62ch; }
.notebox p { margin: 0; line-height: 1.55; }
.notebox a { color: inherit; }
.mnav li.mnav__sub { margin: 12px 0 2px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--ink-2, #3b3e45); text-transform: uppercase; }
