/* PrintCtrl marketing site
   Theme: white ground, slate bands, near-black text. Lime is the mark's lit
   slot: lime-400 on dark surfaces, lime-700 on light ones. No gradients.
   Layout: compact 1040px container, modest type scale, tight sections. */

:root {
  /* from the mark: slate-900 feed bar, slate-800 machine, lime-400 lit slot, slate-300 output */
  --bg:        #FFFFFF;
  --bg-2:      #F1F5F9;   /* slate-100 band                                   */
  --bg-3:      #E2E8F0;   /* slate-200                                        */
  --ink:       #0F172A;   /* slate-900                                        */
  --ink-2:     #334155;
  --muted:     #5B6B80;
  --line:      #E2E8F0;
  --line-2:    #CBD5E1;
  --accent:    #4D7C0F;   /* lime-700, readable on white                      */
  --accent-2:  #3F6212;
  --accent-soft: #F1F8E6;
  --accent-line: #C7E29A;
  --lime:      #A3E635;   /* lime-400, dark surfaces only                     */
  --lime-2:    #BEF264;
  --lime-band: #F4F9EA;
  --lime-band-line: #DCEBC2;
  --dark:      #0F172A;   /* slate-900                                        */
  --dark-2:    #1E293B;   /* slate-800                                        */
  --dark-line: rgba(203,213,225,.14);
  --on-dark:   #CBD5E1;   /* slate-300                                        */
  --on-dark-2: #94A3B8;
  --shadow:    0 1px 2px rgba(15,23,42,.05), 0 12px 32px -14px rgba(15,23,42,.25);
  --on-accent: #FFFFFF;
  --err-bg:    #FEF2F2;  --err-line: #FECACA;  --err-text: #991B1B;
  --vendor:    #1D4ED8;

  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --r: 8px;
  --r-sm: 6px;
  --wrap: 1040px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));

  color-scheme: light;
}

/* Dark mode: the app's own dark palette (frontend/src/index.css), graphite
   rather than navy, lime-400 as the accent. The slate bands sit one step
   darker than the page so the header, hero and CTA still read as bands. */
:root[data-theme="dark"] {
  --bg:        #101317;
  --bg-2:      #171B21;
  --bg-3:      #232931;
  --ink:       #EFF1F3;
  --ink-2:     #C9CED5;
  --muted:     #939BA6;
  --line:      #232931;
  --line-2:    #333A44;
  --accent:    #A6D451;
  --accent-2:  #C2E07F;
  --accent-soft: rgba(166,212,81,.13);
  --accent-line: rgba(166,212,81,.35);
  --lime-band: #141A11;
  --lime-band-line: #26301C;
  --dark:      #0A0C0F;
  --dark-2:    #171B21;
  --dark-line: rgba(201,206,213,.10);
  --shadow:    0 1px 3px rgba(0,0,0,.4), 0 12px 32px -14px rgba(0,0,0,.6);
  --on-accent: #101317;
  --err-bg:    rgba(180,35,35,.16);  --err-line: rgba(236,116,116,.35);  --err-text: #F2A3A3;
  --vendor:    #6AA6EE;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .001ms !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4 { margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; letter-spacing: -.02em; line-height: 1.15; font-weight: 600; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) + var(--gutter-r));
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ----- type ---------------------------------------------------------- */
.h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.08; }
.h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.h3 { font-size: 1.125rem; }
.lede { font-size: 1.1rem; color: var(--muted); line-height: 1.55; max-width: 44ch; }
.muted { color: var(--muted); }
.kicker { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.nums { font-variant-numeric: tabular-nums; }

/* ----- buttons ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px;
  border-radius: var(--r-sm);
  font-weight: 600; font-size: 15px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-sm { height: 34px; padding: 0 12px; font-size: 14px; }
.btn-lg { height: 46px; padding: 0 20px; font-size: 16px; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-2); }
.btn-secondary { background: var(--bg); color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--ink-2); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark-2); }
/* on dark surfaces the primary action is the lit slot */
.btn-lime { background: var(--lime); color: var(--dark); }
.btn-lime:hover { background: var(--lime-2); }
.btn-ghost { border-color: rgba(255,255,255,.28); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn .arrow { width: 15px; height: 15px; }

.link { color: var(--accent); font-weight: 600; }
.link:hover { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }

/* ----- header -------------------------------------------------------- */
/* The header follows the theme, like the app's top bar: white in light mode,
   graphite in dark. The mark is drawn by .brand below, so it is the same mark
   as the footer and the favicon in either theme. */
:root {
  --hd-bg: #FFFFFF; --hd-ink: #0F172A; --hd-muted: #334155; --hd-line: #E2E8F0;
  --hd-hover: rgba(15,23,42,.05); --hd-current: rgba(15,23,42,.08);
  --hd-cta: #4D7C0F; --hd-cta-hover: #3F6212; --hd-cta-ink: #FFFFFF; --hd-focus: #4D7C0F;
}
:root[data-theme="dark"] {
  --hd-bg: #0A0C0F; --hd-ink: #FFFFFF; --hd-muted: #CBD5E1; --hd-line: rgba(201,206,213,.10);
  --hd-hover: rgba(255,255,255,.07); --hd-current: rgba(255,255,255,.12);
  --hd-cta: #A3E635; --hd-cta-hover: #BEF264; --hd-cta-ink: #0F172A; --hd-focus: #A3E635;
}
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--hd-bg);
  color: var(--hd-ink);
  border-bottom: 1px solid var(--hd-line);
}
.site-header > .wrap { display: flex; align-items: center; height: 58px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.brand svg { width: 24px; height: 24px; }
/* one mark everywhere: brand/logo.svg in light mode, brand/logo-dark.svg in dark */
[data-theme="dark"] .brand svg rect:nth-child(1) { fill: #E2E8F0; }
[data-theme="dark"] .brand svg rect:nth-child(2) { fill: #F8FAFC; }
[data-theme="dark"] .brand svg rect:nth-child(3) { fill: #65A30D; }
[data-theme="dark"] .brand svg rect:nth-child(4) { fill: #94A3B8; }
.site-header :focus-visible, .mobile-nav :focus-visible { outline-color: var(--hd-focus); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { padding: 7px 11px; border-radius: var(--r-sm); font-size: 14.5px; font-weight: 500; color: var(--hd-muted); }
.nav a:hover { color: var(--hd-ink); background: var(--hd-hover); }
.nav a[aria-current="page"] { color: var(--hd-ink); background: var(--hd-current); }
.theme-btn { margin-left: auto; width: 34px; height: 34px; border-radius: var(--r-sm); display: inline-grid; place-items: center; color: var(--hd-muted); flex: none; }
.theme-btn:hover { color: var(--hd-ink); background: var(--hd-hover); }
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .i-sun, [data-theme="dark"] .theme-btn .i-moon { display: none; }
[data-theme="dark"] .theme-btn .i-sun { display: block; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .login { font-size: 14.5px; font-weight: 500; color: var(--hd-muted); padding: 7px 11px; border-radius: var(--r-sm); }
.header-actions .login:hover { color: var(--hd-ink); background: var(--hd-hover); }
.site-header .btn-lime, .mobile-nav .btn-lime { background: var(--hd-cta); color: var(--hd-cta-ink); }
.site-header .btn-lime:hover, .mobile-nav .btn-lime:hover { background: var(--hd-cta-hover); }
.mobile-nav .btn-ghost { border-color: var(--line-2); color: var(--hd-ink); }
.mobile-nav .btn-ghost:hover { border-color: var(--hd-ink); background: var(--hd-hover); }
.menu-btn { display: none; width: 38px; height: 38px; border-radius: var(--r-sm); align-items: center; justify-content: center; color: var(--hd-ink); }
.menu-btn:hover { background: var(--hd-hover); }
.mobile-nav { display: none; border-bottom: 1px solid var(--hd-line); background: var(--hd-bg); color: var(--hd-ink); }
.mobile-nav[data-open="true"] { display: block; }
.mobile-nav .wrap { display: grid; gap: 2px; padding-block: 10px 16px; }
.mobile-nav a { padding: 11px 10px; border-radius: var(--r-sm); font-weight: 500; color: var(--hd-muted); }
.mobile-nav a:hover { background: var(--hd-hover); color: var(--hd-ink); }
.mobile-nav .row { display: flex; gap: 8px; padding-top: 8px; }
.mobile-nav .row .btn { flex: 1; }

/* menus: Product, Resources and Company open on click (site.js), not on hover */
.nav-item { position: relative; }
.nav-btn { display: inline-flex; align-items: center; gap: 5px; padding: 7px 11px; border-radius: var(--r-sm); font-size: 14.5px; font-weight: 500; color: var(--hd-muted); }
.nav-btn:hover { color: var(--hd-ink); background: var(--hd-hover); }
.nav-btn.is-current, .nav-btn[aria-expanded="true"] { color: var(--hd-ink); background: var(--hd-current); }
.chev { width: 12px; height: 12px; flex: none; transition: transform .15s; }
.nav-btn[aria-expanded="true"] .chev, .m-group[open] > summary .chev { transform: rotate(180deg); }
.nav-panel {
  position: absolute; top: calc(100% + 11px); left: -6px; z-index: 60;
  width: 230px; padding: 6px; display: grid; gap: 2px;
  background: var(--hd-bg); color: var(--hd-ink);
  border: 1px solid var(--hd-line); border-radius: var(--r);
  box-shadow: 0 1px 2px rgba(15,23,42,.06), 0 18px 40px -18px rgba(15,23,42,.35);
}
[data-theme="dark"] .nav-panel { border-color: rgba(201,206,213,.16); box-shadow: 0 1px 3px rgba(0,0,0,.5), 0 18px 40px -18px rgba(0,0,0,.8); }
.nav-panel[hidden] { display: none; }
.np-wide { width: min(700px, calc(100vw - 180px)); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 190px; gap: 0; padding: 8px; }
.np-col { display: grid; gap: 2px; align-content: start; padding: 4px; min-width: 0; }
.np-label { font-size: 12px; font-weight: 600; color: var(--muted); padding: 6px 10px 4px; }
.nav .np-item { display: grid; gap: 1px; padding: 8px 10px; border-radius: var(--r-sm); color: var(--hd-ink); }
.nav .np-item:hover, .nav .np-item[aria-current="page"] { background: var(--hd-hover); }
.np-item b { font-size: 14px; font-weight: 600; }
.np-item span { font-size: 13px; line-height: 1.4; color: var(--muted); }
.np-side { margin: 4px; padding: 12px; border-radius: var(--r-sm); background: var(--bg-2); display: grid; gap: 8px; align-content: start; }
.np-side .np-label { padding: 0; }
.nav .np-side a { padding: 0; font-size: 14px; font-weight: 500; color: var(--hd-ink); background: none; }
.nav .np-side a:hover, .nav .np-side a[aria-current="page"] { color: var(--accent); background: none; }
.np-price { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--muted); }
.np-price b { color: var(--ink); font-weight: 600; }
.np-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; margin-top: 4px; padding: 10px 14px 4px; border-top: 1px solid var(--hd-line); font-size: 13px; color: var(--muted); }
.nav .np-foot a { padding: 0; font-size: 13px; font-weight: 600; color: var(--accent); background: none; }
.nav .np-foot a:hover { background: none; text-decoration: underline; text-underline-offset: 3px; }

/* mobile: each menu is a <details>; the list scrolls inside the sticky header */
.mobile-nav[data-open="true"] { max-height: calc(100dvh - 58px); overflow-y: auto; overscroll-behavior: contain; }
.m-group { border-bottom: 1px solid var(--hd-line); }
.m-group > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 12px 10px; font-weight: 600; color: var(--hd-ink); border-radius: var(--r-sm); }
.m-group > summary::-webkit-details-marker { display: none; }
.m-group > summary .chev { width: 14px; height: 14px; color: var(--muted); }
.m-group[open] { padding-bottom: 8px; }
.mobile-nav .m-group a { display: block; padding: 8px 10px 8px 20px; font-size: 15px; }
.mobile-nav a[aria-current="page"] { color: var(--hd-ink); background: var(--hd-current); }
.m-label { font-size: 12px; font-weight: 600; color: var(--muted); padding: 10px 10px 2px 20px; }
.mobile-nav .m-top { padding: 12px 10px; font-weight: 600; color: var(--hd-ink); border-bottom: 1px solid var(--hd-line); border-radius: 0; }
@media (prefers-reduced-motion: reduce) { .chev { transition: none; } }
@media (max-width: 820px) {
  .nav, .header-actions { display: none; }
  .menu-btn { display: inline-flex; }
  .site-header > .wrap { gap: 6px; }
}

/* ----- hero ---------------------------------------------------------- */
/* the banner is the machine body: flat slate-900, like the mark */
.hero {
  --hero-tail: 200px;
  padding-top: 48px;
  /* the screenshot sits across the bottom edge: dark above, page below */
  background: linear-gradient(var(--dark) 0 calc(100% - var(--hero-tail)), var(--bg) 0);
  color: #fff;
}
.hero-copy { display: grid; gap: 14px; justify-items: center; text-align: center; max-width: 780px; margin-inline: auto; }
.hero-copy .h1 { max-width: 18ch; font-size: clamp(2.2rem, 5vw, 3.4rem); }
.hero-copy .kicker { color: var(--lime); }
.hero-copy .lede { color: var(--on-dark); max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.hero-fine { font-size: 14px; color: var(--on-dark-2); }
.hero-shot { margin-top: 34px; }
.hero-shot .shot { max-width: 1000px; margin-inline: auto; }
@media (max-width: 820px) { .hero { --hero-tail: 80px; padding-top: 40px; } .hero-shot { margin-top: 32px; } }


/* ----- sections ------------------------------------------------------ */
.section { padding-block: 56px; }
.section.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.band-lime { background: var(--lime-band); border-color: var(--lime-band-line); }
.section-head { display: grid; gap: 10px; max-width: 620px; margin-bottom: 28px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head .lede { font-size: 1.05rem; }
@media (max-width: 820px) { .section { padding-block: 44px; } }


/* ----- product pictures: screenshots of the real dashboard and tray app ----
   Taken from the app with a demo account, in both themes. Each <figure.shot>
   holds a light and a dark image; the one for the other theme stays hidden and,
   being loading="lazy", is never fetched. */
.shot { margin: 0; min-width: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg-2); box-shadow: 0 1px 2px rgba(15,23,42,.05), 0 12px 32px -18px rgba(15,23,42,.28); }
.shot img { width: 100%; height: auto; }
.shot .on-dark { display: none; }
[data-theme="dark"] .shot .on-dark { display: block; }
[data-theme="dark"] .shot .on-light { display: none; }
[data-theme="dark"] .shot { box-shadow: 0 12px 32px -18px rgba(0,0,0,.7); }
.hero .shot { border-color: rgba(255,255,255,.12); box-shadow: 0 24px 60px -24px rgba(0,0,0,.6); }
/* the tray panel is a small window beside the clock, so it is shown at about its real size */
.shot.tray-shot { width: 100%; max-width: 320px; justify-self: center; border-radius: 8px; }
.shot figcaption { padding: 9px 14px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); background: var(--bg); }

/* page hero (inner pages) */
.page-hero {
  padding-block: 44px 40px;
  background: var(--dark);
  color: #fff;
}
.page-hero .wrap { display: grid; gap: 12px; }
.page-hero .kicker { color: var(--lime); }
.crumb { font-size: 14px; color: var(--on-dark-2); }
.crumb a { color: var(--on-dark); }
.crumb a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.page-hero .lede { color: var(--on-dark); }
.page-hero .h1 { max-width: 18ch; font-size: clamp(1.8rem, 3.8vw, 2.6rem); }

/* cards */
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 820px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.cols > * { border-top: 2px solid var(--ink); padding-top: 14px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.cols .h3 { font-size: 1.05rem; }
.cols p { color: var(--muted); font-size: 15px; }
.cols code, .split code, .feature-row code { font-family: var(--mono); font-size: 12.5px; background: var(--bg); border: 1px solid var(--line); padding: 2px 6px; border-radius: 4px; color: var(--ink); overflow-wrap: anywhere; }
.cols.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.cols.cols-2 .h3 { font-size: 1.25rem; }
.cols.cols-2 p { font-size: 16px; }
@media (max-width: 820px) { .cols, .cols.cols-2 { grid-template-columns: 1fr; gap: 24px; } }

/* changelog: date on the left, what changed on the right */
.log > li { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 8px 40px; padding-block: 22px; border-top: 1px solid var(--line-2); }
.log > li:first-child { border-top: 0; padding-top: 0; }
.log time { font-weight: 600; font-variant-numeric: tabular-nums; }
.log ul { display: grid; gap: 8px; }
.log ul li { display: flex; gap: 10px; align-items: start; color: var(--ink-2); font-size: 15.5px; max-width: 64ch; }
.log ul li::before { content: ""; width: 10px; height: 2px; background: var(--accent); flex: none; margin-top: .72em; }
.log ul li b { color: var(--ink); font-weight: 600; }
.log.prices > li { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; }
.log.prices > li > span:last-child { text-align: right; }
@media (max-width: 820px) { .log > li { grid-template-columns: 1fr; } .log.prices > li { grid-template-columns: minmax(0, 1fr) auto; } }

/* guides: one reading column */
.article { padding-block: 40px 24px; }
.article .docs-body { max-width: 72ch; }
.article .docs-body .table-wrap { overflow-x: auto; }

/* heading on the left, a ruled list on the right */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 56px; align-items: start; }
.split .section-head { margin-bottom: 0; position: sticky; top: 90px; }
.split-list > li { display: grid; gap: 6px; padding-block: 20px; border-top: 1px solid var(--line-2); }
.split-list > li:first-child { border-top: 0; padding-top: 0; }
.split-list > li:last-child { padding-bottom: 0; }
.split-list .h3 { font-size: 1.1rem; }
.split-list p { color: var(--muted); font-size: 15.5px; max-width: 52ch; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split .section-head { position: static; } }

/* steps: the one list on the site where order matters */
.steps { counter-reset: s; }
.steps > li::before { counter-increment: s; content: counter(s); font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--accent); }

/* feature rows (product page) */
.feature-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; padding-block: 36px; border-top: 1px solid var(--line); }
.feature-row:first-of-type { border-top: 0; padding-top: 0; }
.feature-row .copy { display: grid; gap: 10px; }
.feature-row .copy p { color: var(--muted); max-width: 46ch; }
.feature-row .copy ul { display: grid; gap: 6px; margin-top: 4px; font-size: 15px; }
.feature-row .copy ul li { display: flex; gap: 10px; align-items: start; }
.feature-row .copy ul li::before, .contact-side li::before { content: ""; width: 10px; height: 2px; background: var(--accent); flex: none; margin-top: .72em; }
.feature-row.flip .copy { order: 2; }
.feature-row[id], .section[id] { scroll-margin-top: 76px; }
/* a wide, short screenshot reads better under its text, at the size it was taken */
.feature-row.stack { grid-template-columns: minmax(0, 1fr); gap: 24px; }
.feature-row.stack .copy p { max-width: 64ch; }
.feature-row.stack .shot { max-width: 750px; }
@media (max-width: 820px) { .feature-row { grid-template-columns: 1fr; gap: 20px; padding-block: 28px; } .feature-row.flip .copy { order: 0; } }

/* ----- pricing ------------------------------------------------------- */
.price-teaser { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.price-teaser .big { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.price-teaser .big .n { font-size: clamp(3rem, 7vw, 4.5rem); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.price-teaser .big .n sup { font-size: .4em; vertical-align: top; margin-top: .35em; display: inline-block; color: var(--muted); }
.price-teaser .big .per { color: var(--muted); line-height: 1.3; }
.price-teaser .big .per b { color: var(--ink); display: block; font-weight: 600; }
.price-teaser .plus { margin-top: 10px; font-size: 1.05rem; }
.price-teaser .plus b { font-weight: 600; }
.price-teaser ul { display: grid; gap: 10px; }
.price-teaser ul li { display: flex; gap: 10px; align-items: start; font-size: 15.5px; }
.price-teaser ul li svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }
@media (max-width: 820px) { .price-teaser { grid-template-columns: 1fr; gap: 24px; } }

.plan-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 16px; align-items: start; }
@media (max-width: 820px) { .plan-grid { grid-template-columns: 1fr; } }

.plan-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.plan-card .top { padding: 24px; border-bottom: 1px solid var(--line); display: grid; gap: 14px; }
.plan-card .name { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.plan-card .name .h3 { font-size: 1.15rem; }
.plan-card .amount { display: grid; grid-template-columns: auto auto auto; gap: 8px 18px; align-items: end; justify-content: start; }
.plan-card .amount .n { font-size: 2.6rem; font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.plan-card .amount .n sup { font-size: .45em; vertical-align: top; margin-top: .3em; display: inline-block; color: var(--muted); }
.plan-card .amount .n small { font-size: 1rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan-card .amount .l { font-size: 13px; color: var(--muted); }
.plan-card .amount .plusmark { font-size: 1.4rem; color: var(--muted); align-self: start; padding-top: .45rem; }
.rates { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.rates th { text-align: left; font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 0 12px 8px; border-bottom: 1px solid var(--line-2); }
.rates td { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.rates th:last-child, .rates td:last-child { text-align: right; }
.rates td:last-child { font-weight: 600; }
.rates tr.is-current td { background: var(--accent-soft); }
.rates tr.is-current td { font-weight: 600; color: var(--ink); }
.rates-note { font-size: 14px; color: var(--muted); line-height: 1.5; }
.plan-card .actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-top: 2px; }
.plan-card .actions .fine { font-size: 14px; color: var(--muted); }
.plan-card .incl { padding: 20px 24px 24px; display: grid; gap: 14px; }
.plan-card .incl h3 { font-size: 1rem; color: var(--ink); font-weight: 600; }
.incl-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.incl-list li { display: flex; gap: 9px; align-items: start; font-size: 15px; }
.incl-list li svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 4px; }
@media (max-width: 560px) { .incl-list { grid-template-columns: 1fr; } .plan-card .top, .plan-card .incl { padding-inline: 18px; } }

.calc { background: var(--dark); border: 1px solid var(--dark-line); color: #fff; border-radius: var(--r); padding: 22px; display: grid; gap: 18px; }
.calc .k { font-size: 14.5px; color: #CBD5E1; font-weight: 500; }
.calc .count { display: flex; align-items: baseline; gap: 8px; }
.calc .count input { width: 4.6ch; background: transparent; color: inherit; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; padding: 4px 8px; width: 5.6ch; font: inherit; font-size: 2.2rem; font-weight: 600; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.calc .count input::-webkit-outer-spin-button, .calc .count input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc .count input:hover { border-color: rgba(255,255,255,.4); }
.calc .count input:focus { outline: none; border-color: #A3E635; box-shadow: 0 0 0 3px rgba(163,230,53,.25); }
.calc .count output { font-size: 2.2rem; font-weight: 600; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc .count span { color: #94A3B8; font-size: 14px; }
.calc input[type="range"] { width: 100%; accent-color: #A3E635; height: 26px; margin: 0; }
.calc .scale { position: relative; height: 15px; font-size: 12px; color: #94A3B8; margin: -8px 8px 0; }
.calc .scale span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.calc .scale span:first-child { transform: none; margin-left: -8px; }
.calc .scale span:last-child { transform: translateX(-100%); margin-left: 8px; }
.calc .total { border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; display: grid; gap: 4px; }
.calc .total .amt { font-size: 2rem; font-weight: 600; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc .total .amt small { font-size: 14px; font-weight: 500; color: #94A3B8; letter-spacing: 0; margin-left: 6px; }
.calc .total p { color: #94A3B8; font-size: 13.5px; }
.calc .total .trial { color: #BEF264; font-weight: 500; }

/* feature checklist (product page): six compact groups */
.fgrid { columns: 3; column-gap: 36px; }
.fgroup { border-top: 2px solid var(--ink); padding: 12px 0 4px; min-width: 0; break-inside: avoid; margin-bottom: 22px; }
.fgroup h3 { font-size: 1.02rem; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.fgroup ul { display: grid; }
.fgroup li { display: block; align-items: start; font-size: 14px; line-height: 1.35; padding: 4px 0; border-top: 1px solid var(--line); }
.fgroup li:first-child { border-top: 0; }
@media (max-width: 900px) { .fgrid { columns: 2; } }
@media (max-width: 560px) { .fgrid { columns: 1; } }

/* FAQ */
.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; align-items: center; gap: 16px; padding: 16px 0; font-weight: 600; font-size: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; flex: none; color: var(--muted); transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .a { padding: 0 0 18px; color: var(--muted); max-width: 62ch; font-size: 15px; }

/* ----- CTA ----------------------------------------------------------- */
.cta { padding-block: 56px; }
.cta .box {
  background: var(--dark);
  border: 1px solid var(--dark-line);
  box-shadow: 0 18px 40px -24px rgba(15,23,42,.45);
  color: #fff; border-radius: var(--r); padding: 36px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 32px; align-items: center;
}
.cta .box .h2 { max-width: 20ch; }
.cta .box p { color: var(--on-dark-2); margin-top: 6px; font-size: 15px; }
.cta .box .row { display: flex; flex-wrap: wrap; gap: 10px; }
.cta .btn-light { background: var(--lime); color: var(--dark); }
.cta .btn-light:hover { background: var(--lime-2); }
@media (max-width: 820px) { .cta .box { grid-template-columns: 1fr; padding: 26px; } }

/* ----- footer -------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-block: 32px 28px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(5, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 960px) { .site-footer .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); } .site-footer .wrap > div:first-child { grid-column: 1 / -1; } }
.site-footer .brand { color: var(--ink); }
.site-footer .tagline { margin-top: 10px; max-width: 30ch; }
.site-footer h4 { font-size: .875rem; letter-spacing: 0; color: var(--ink-2); margin-bottom: 10px; font-weight: 600; }
.site-footer ul { display: grid; gap: 7px; }
.site-footer ul a { color: var(--ink-2); }
.site-footer ul a:hover { color: var(--accent); }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; }
@media (max-width: 640px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .site-footer .wrap > div:first-child { grid-column: 1 / -1; } }

/* ----- docs ---------------------------------------------------------- */
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; padding-block: 36px 64px; align-items: start; }
.docs-nav { position: sticky; top: 74px; display: grid; gap: 2px; font-size: 14px; max-height: calc(100vh - 92px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; padding-right: 4px; }
.docs-nav .k { font-size: 13px; color: var(--muted); font-weight: 600; padding: 12px 10px 4px; }
.docs-nav .k:first-child { padding-top: 0; }
.docs-nav a { padding: 6px 10px; border-radius: var(--r-sm); color: var(--ink-2); }
.docs-nav a:hover { background: var(--bg-2); color: var(--ink); }
.docs-nav a[aria-current="page"], .docs-nav a[aria-current="location"] { background: var(--accent-soft); color: var(--accent-2); font-weight: 600; }
/* the body uses the full column so the supported-printers table fits; prose
   keeps a reading width. min-width:0 stops the table stretching the grid on a
   phone, so only its own box scrolls sideways. */
.docs > * { min-width: 0; }
.docs-body { display: grid; gap: 40px; }
.docs-body section { min-width: 0; }
.docs-body section > :not(.support-wrap):not(.table-wrap):not(table):not(pre):not(figure) { max-width: 36rem; }
.docs-body section { display: grid; gap: 12px; scroll-margin-top: 80px; }
.docs-body h2 { font-size: 1.5rem; padding-top: 8px; }
.docs-body h3 { font-size: 1.05rem; margin-top: 6px; }
.docs-body p, .docs-body li { color: var(--ink-2); font-size: 15.5px; }
.docs-body ul, .docs-body ol { display: grid; gap: 6px; padding-left: 20px; list-style: disc; }
.docs-body ol { list-style: decimal; }
.docs-body code { font-family: var(--mono); font-size: 13px; background: var(--bg-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 4px; color: var(--ink); }
.docs-body pre { margin: 0; background: var(--dark); color: #E2E8F0; border-radius: var(--r-sm); padding: 14px 16px; font-size: 13px; line-height: 1.5; overflow-x: auto; }
.docs-body pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
.docs-body .note { border: 1px solid var(--accent-line); background: var(--accent-soft); padding: 10px 14px; border-radius: var(--r-sm); font-size: 14.5px; }
.docs-body table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.docs-body th, .docs-body td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.docs-body th { font-size: 13.5px; color: var(--ink-2); font-weight: 600; }
.docs-body td:first-child { font-weight: 600; white-space: nowrap; }
#ai-assistants td:first-child { white-space: normal; overflow-wrap: normal; font-family: var(--mono); font-size: 12.5px; font-weight: 500; }
.docs-body .copy-inline { font: inherit; font-size: 12.5px; margin-left: 6px; padding: 1px 8px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--bg); color: var(--ink-2); cursor: pointer; vertical-align: 1px; }
.docs-body .copy-inline:hover { border-color: var(--ink-2); }
.docs-body kbd { font-family: var(--mono); font-size: 12px; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 4px; padding: 0 5px; background: var(--bg); }
.docs-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.docs-cards a { border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; display: grid; gap: 4px; background: var(--bg); }
.docs-cards a:hover { border-color: var(--line-2); }
.docs-cards a b { font-weight: 600; }
.docs-cards a span { color: var(--muted); font-size: 14px; }
@media (max-width: 820px) {
  .docs { grid-template-columns: 1fr; gap: 24px; padding-block: 24px 48px; }
  .docs-nav { position: static; max-height: none; overflow: visible; grid-template-columns: 1fr 1fr; gap: 2px 12px; border: 1px solid var(--line); border-radius: var(--r); padding: 10px; }
  .docs-nav .k { grid-column: 1 / -1; padding-top: 8px; }
  .docs-cards { grid-template-columns: 1fr; }
}

/* ----- home: the five steps from one computer to every office -------------
   Stacked on phones: number and title, a line or two, the screen under it.
   On wider screens site.js turns it into a list of steps beside one big
   screenshot, the step you pick showing its text and its screen. */
.flow { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 40px; }
.flow-step { display: grid; gap: 16px; min-width: 0; }
.flow-text h3 { display: flex; gap: 12px; align-items: baseline; font-size: 1.15rem; letter-spacing: -.01em; }
.flow-text .n { font-family: var(--mono); font-size: 13px; font-weight: 500; color: var(--accent); flex: none; }
.flow-text p { color: var(--muted); font-size: 15.5px; max-width: 60ch; margin-top: 6px; }
.flow-text p b { color: var(--ink); font-weight: 600; }
.flow .shot { max-height: 420px; }
.flow-more { margin-top: 32px; }
@media (min-width: 900px) {
  .flow.is-tabs { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: repeat(5, auto) 1fr; gap: 0 48px; }
  .flow.is-tabs .flow-step { display: contents; }
  .flow.is-tabs .flow-text { grid-column: 1; padding: 14px 18px; border-left: 2px solid var(--line-2); cursor: pointer; border-radius: 0 8px 8px 0; }
  .flow.is-tabs .flow-text h3 { color: var(--muted); font-size: 1.05rem; }
  .flow.is-tabs .flow-text:hover h3 { color: var(--ink); }
  .flow.is-tabs .flow-text p { display: none; }
  .flow.is-tabs .is-active .flow-text { border-left-color: var(--accent); background: var(--bg); }
  .flow.is-tabs .is-active .flow-text h3 { color: var(--ink); }
  .flow.is-tabs .is-active .flow-text p { display: block; }
  /* one frame height for every step, so the page doesn't jump when you switch */
  .flow.is-tabs .shot { grid-column: 2; grid-row: 1 / -1; align-self: start; display: none; height: 372px; max-height: none; background: var(--bg); }
  .flow.is-tabs .is-active .shot { display: block; }
}

/* a tall screenshot in a feature row is cut at a sensible height */
.shot.shot-tall { max-height: 520px; }

/* ----- home: how PrintCtrl differs, as a ruled two-column list ----------- */
.diff { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 44px; }
.diff > div { border-top: 1px solid var(--line-2); padding: 16px 0 20px; display: grid; gap: 6px; align-content: start; }
.diff h3 { font-size: 1.02rem; }
.diff p { color: var(--muted); font-size: 15px; }
@media (min-width: 1000px) { .diff { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; } }
@media (max-width: 820px) { .diff { grid-template-columns: 1fr; } }

/* ----- legal pages (terms, privacy, DPA, subprocessors) -------------------
   Same two columns as the docs. Clause numbers are written into the text, not
   generated, so "section 14.3" in an email always points at the same words. */
.legal-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 14px; font-size: 14px; color: var(--on-dark-2); }
.legal-meta a { color: var(--lime-2); }
.legal-meta a:hover { text-decoration: underline; }
.legal-body { display: grid; gap: 34px; }
.legal-body section { display: grid; gap: 12px; scroll-margin-top: 80px; min-width: 0; }
.legal-body section > * { max-width: 37rem; }
.legal-body section > .table-wrap { max-width: none; }
.legal-body h2 { font-size: 1.3rem; padding-top: 6px; display: flex; gap: 10px; }
.legal-body h2 .n { color: var(--muted); font-weight: 500; min-width: 1.6em; }
.legal-body h3 { font-size: 1rem; margin-top: 4px; }
.legal-body p, .legal-body li, .legal-body dd { color: var(--ink-2); font-size: 15.5px; line-height: 1.62; }
.legal-body p.cl { display: grid; grid-template-columns: 2.6em minmax(0, 1fr); }
.legal-body p.cl > b:first-child { font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.legal-body ul { display: grid; gap: 6px; padding-left: 20px; list-style: disc; }
.legal-body ol { display: grid; gap: 6px; padding-left: 22px; list-style: lower-alpha; }
.legal-body dl { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr); gap: 14px 20px; max-width: 46rem; }
.legal-body dt { font-weight: 600; color: var(--ink); }
.legal-body dd { margin: 0; text-wrap: pretty; }
@media (max-width: 640px) { .legal-body dl { grid-template-columns: minmax(0, 1fr); gap: 2px; } .legal-body dd { margin-bottom: 12px; } }
.legal-body .caps { font-weight: 600; color: var(--ink); }
.legal-body .lead { font-size: 16.5px; color: var(--ink); }
.legal-body a:not(.btn) { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal-body .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.legal-body table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.legal-body th, .legal-body td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.legal-body tr:last-child td { border-bottom: 0; }
.legal-body th { font-size: 13.5px; color: var(--ink-2); font-weight: 600; background: var(--bg-2); }
.legal-body td:first-child { font-weight: 600; color: var(--ink); }
.legal-body .contact-block { border-top: 1px solid var(--line); padding-top: 16px; font-size: 15px; color: var(--ink-2); font-style: normal; line-height: 1.6; }
.legal-body .history td:first-child { white-space: nowrap; }
/* a fact still to be supplied before publishing; hard to miss on purpose */
mark.fill { background: #FEF08A; color: #713F12; padding: 0 4px; border-radius: 3px; font-weight: 600; }
.legal-nav a { font-size: 13.5px; }
@media print {
  .site-header, .site-footer, .legal-nav, .mobile-nav { display: none !important; }
  .page-hero { background: none !important; padding: 0 0 12px !important; }
  .page-hero .h1, .page-hero .lede, .legal-meta { color: #000 !important; }
  .docs { display: block; padding: 0; }
  .legal-body p, .legal-body li, .legal-body td { color: #000; font-size: 11pt; }
  .legal-body a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  .legal-body section { break-inside: auto; }
}

/* cookie choice for EEA/UK/Swiss visitors (assets/js/analytics.js); both buttons
   look the same on purpose, so declining is as easy as accepting */
.consent { position: fixed; z-index: 60; left: 16px; bottom: 16px; max-width: 380px; background: var(--dark); color: var(--on-dark);
  border: 1px solid var(--dark-line); border-radius: 12px; padding: 16px 18px; box-shadow: 0 18px 50px -12px rgba(0,0,0,.55); font-size: 14px; line-height: 1.5; }
.consent a { color: var(--lime-2); text-decoration: underline; }
.consent-actions { display: flex; gap: 8px; margin-top: 12px; }
.consent-actions .btn { flex: 1; justify-content: center; }
@media (max-width: 520px) { .consent { left: 12px; right: 12px; bottom: 12px; max-width: none; } }

/* API reference page: the embedded reference takes the rest of the viewport */
.api-intro { padding-block: 24px 20px; border-bottom: 1px solid var(--line); }
.api-intro .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; }
.api-intro p { color: var(--muted); font-size: 15px; max-width: 70ch; }
.api-intro .meta { display: flex; flex-wrap: wrap; gap: 8px; }
.api-intro .meta span { font-size: 13px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; color: var(--ink-2); }
@media (max-width: 820px) { .api-intro .wrap { grid-template-columns: 1fr; } }
.api-ref { min-height: 70vh; }

/* ----- contact ------------------------------------------------------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; padding-block: 40px 64px; align-items: start; }
.contact-side { display: grid; gap: 22px; }
/* Sales or support: radios at the top; CSS shows the matching side text and fields */
.topic-switch { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border: 0; padding: 0; margin: 0; min-width: 0; }
.topic-switch label { position: relative; display: block; cursor: pointer; }
.topic-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.topic-switch span { display: grid; grid-template-columns: 18px 1fr; column-gap: 12px; row-gap: 2px; align-items: center; height: 100%; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg); transition: border-color .15s, background-color .15s; }
.topic-switch span::before { content: ''; grid-row: 1 / 3; width: 18px; height: 18px; box-sizing: border-box; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--bg); }
.topic-switch b { font-weight: 600; font-size: 15.5px; color: var(--ink); }
.topic-switch small { grid-column: 2; font-size: 14px; color: var(--muted); }
.topic-switch label:hover span { border-color: var(--muted); }
.topic-switch input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.topic-switch input:checked + span::before { border: 5px solid var(--accent); }
.topic-switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.contact:has(.topic-switch [value=support]:checked) .for-sales,
.contact:not(:has(.topic-switch [value=support]:checked)) .for-support { display: none; }

.contact-side p { color: var(--muted); font-size: 15.5px; max-width: 40ch; }
.contact-side ul { display: grid; gap: 10px; }
.contact-side li { display: flex; gap: 10px; align-items: start; font-size: 15px; }
.contact-side .alt { border-top: 1px solid var(--line); padding-top: 18px; font-size: 14.5px; color: var(--muted); }
.contact-side .alt b { color: var(--ink); font-weight: 600; }
.form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 9px 12px; width: 100%; min-width: 0;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.form .actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form .fine { font-size: 13px; color: var(--muted); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--r-sm); padding: 12px 14px; font-size: 14.5px; }
.form-status.ok { background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent-2); }
.form-status.err { background: var(--err-bg); border: 1px solid var(--err-line); color: var(--err-text); }
@media (max-width: 820px) { .contact { grid-template-columns: 1fr; gap: 28px; padding-block: 28px 48px; } .topic-switch { gap: 8px; } .topic-switch span { grid-template-columns: 1fr; padding: 12px 14px; } .topic-switch span::before { display: none; } .topic-switch small { grid-column: 1; font-size: 13.5px; } .form .row2 { grid-template-columns: 1fr; } .form { padding: 20px; } }

/* ----- 404 ----------------------------------------------------------- */
.notfound { min-height: 50vh; display: grid; align-content: center; gap: 14px; justify-items: start; padding-block: 64px; }
.support-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.docs-body .support-table { font-size: 13.5px; min-width: 720px; table-layout: fixed; }
.docs-body .support-table th { background: var(--bg-2); font-size: 12px; letter-spacing: 0; text-transform: none; line-height: 1.3; vertical-align: bottom; padding: 10px 1px; color: var(--ink-2); }
.docs-body .support-table th:first-child { width: 30%; padding-left: 12px; }
.docs-body .support-table td { padding: 10px 6px; }
.docs-body .support-table th:not(:first-child) { text-align: center; }
.docs-body .support-table td:first-child { white-space: normal; font-weight: 400; padding-left: 10px; }
.docs-body .support-table td:first-child b { font-weight: 600; color: var(--ink); }
.support-table .sub { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.45; margin-top: 2px; }
.support-table .cap { text-align: center; }
.support-table tr:last-child td { border-bottom: 0; }
.support-legend { font-size: 14px; }
.support-table .yes, .support-legend .yes { color: var(--accent); font-weight: 700; }
.support-table .vendor, .support-legend .vendor { color: var(--vendor); font-weight: 700; }
.support-table .no, .support-legend .no { color: var(--line-2); }

/* centered page header (Product, Pricing), matching the home hero */
.page-hero.center .wrap { text-align: center; display: grid; justify-items: center; }
.page-hero.center .h1 { margin-inline: auto; }
.page-hero.center .lede { margin-inline: auto; }

/* pricing: the note under the plan */
.volume-note { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }

/* ----- step-by-step guides (/docs/getting-started/, /docs/end-users/) ------
   One column of numbered steps beside an "On this page" list. Screenshots are
   real, shown at about their real size, with numbered callouts in one color
   (--callout) that the text repeats as .cn badges. */
:root { --callout: #C026D3; }
:root[data-theme="dark"] { --callout: #E879F9; }
.guide-head { background: var(--dark); color: #fff; padding-block: 36px 34px; }
.guide-head .wrap { display: grid; gap: 12px; justify-items: start; }
.guide-head .h1 { font-size: clamp(1.8rem, 3.8vw, 2.5rem); max-width: 22ch; }
.guide-head .lede { color: var(--on-dark); max-width: 64ch; }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--on-dark-2); }
.crumbs a { color: var(--on-dark); }
.crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 0; font-size: 14px; color: var(--on-dark-2); }
.guide-meta span + span::before { content: "\00B7"; margin: 0 9px; }
.guide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 4px; }
.guide-actions span { font-size: 14px; color: var(--on-dark-2); }

.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 56px; padding-block: 36px 72px; align-items: start; }
.guide-toc { order: 2; position: sticky; top: 84px; display: grid; gap: 2px; font-size: 14px; border-left: 1px solid var(--line); padding-left: 14px; }
.guide-toc .k { font-size: 13.5px; color: var(--ink); font-weight: 600; padding-bottom: 6px; }
.guide-toc a { color: var(--ink-2); padding: 4px 0; line-height: 1.35; }
.guide-toc a:hover { color: var(--accent); }
.guide-body { display: grid; gap: 8px; max-width: 760px; min-width: 0; }
.guide-body section { scroll-margin-top: 84px; min-width: 0; }
.guide-body p, .guide-body li { color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.guide-body b { color: var(--ink); font-weight: 600; }
.guide-body em { font-style: normal; color: var(--ink); text-decoration: underline dotted var(--line-2); text-underline-offset: 4px; }
.guide-body code { font-family: var(--mono); font-size: 13.5px; background: var(--bg-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 4px; color: var(--ink); overflow-wrap: anywhere; }
.guide-body kbd { font-family: var(--mono); font-size: 12.5px; border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 4px; padding: 0 6px; background: var(--bg); color: var(--ink); }

.guide-box { border: 1px solid var(--line); border-radius: var(--r); padding: 18px 22px; background: var(--bg-2); display: grid; gap: 8px; margin-bottom: 8px; }
.guide-box h2 { font-size: 1.05rem; }
.guide-box ul { display: grid; gap: 4px; padding-left: 20px; list-style: disc; }

.phase { display: grid; gap: 14px; padding-top: 32px; margin-top: 8px; border-top: 1px solid var(--line); }
.phase:first-of-type { border-top: 0; }
.phase h2 { display: flex; align-items: center; gap: 12px; font-size: 1.45rem; letter-spacing: -.015em; }
.phase-n { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--dark); color: var(--lime); font: 600 15px/1 var(--mono); }
:root[data-theme="dark"] .phase-n { background: var(--bg-3); }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 22px; }
.steps > li { counter-increment: step; position: relative; padding-left: 42px; display: grid; gap: 12px; min-width: 0; }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 1px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--line-2); background: var(--bg); color: var(--ink); font: 600 13px/1 var(--mono); }
.steps .sub { list-style: lower-alpha; padding-left: 22px; display: grid; gap: 6px; margin: 0; }
.cn { display: inline-grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: var(--callout); color: #fff; font: 700 11px/1 system-ui, sans-serif; vertical-align: 2px; margin: 0 1px; }

.gshot { margin: 4px 0 0; min-width: 0; max-width: 680px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--bg-2);
  box-shadow: 0 1px 2px rgba(15,23,42,.05), 0 10px 28px -18px rgba(15,23,42,.3); }
.gshot img { width: 100%; height: auto; display: block; }
.gshot .on-dark { display: none; }
[data-theme="dark"] .gshot .on-dark { display: block; }
[data-theme="dark"] .gshot .on-light { display: none; }
.gshot.narrow { max-width: 320px; }
.gshot.tall { max-height: 460px; }
.gshot figcaption { padding: 8px 12px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); background: var(--bg); }

.guide-body .tip, .guide-body .result { font-size: 15px; border-radius: var(--r-sm); padding: 11px 15px; }
.guide-body .tip { border: 1px solid var(--line); background: var(--bg-2); }
.guide-body .result { border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--ink); }

.split-shot { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 28px; align-items: start; }
.legend-list { display: grid; gap: 10px; padding-left: 20px; list-style: disc; }
.icon-row { display: flex; align-items: center; gap: 12px; }
.icon-row img { border-radius: 8px; border: 1px solid var(--line); flex: none; }
.icon-row p { margin-left: 6px; }

.guide-body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.guide-body th, .guide-body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.guide-body th { font-size: 14px; color: var(--ink-2); font-weight: 600; }
.guide-body td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }

.guide-next { padding-top: 32px; margin-top: 8px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.guide-next h2 { font-size: 1.45rem; }
.next-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.next-cards a { border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; display: grid; gap: 4px; background: var(--bg); transition: border-color .15s; }
.next-cards a:hover { border-color: var(--accent); }
.next-cards b { font-weight: 600; color: var(--ink); }
.next-cards span { color: var(--muted); font-size: 14px; }

/* the docs hub: the two guides, above the reference */
.guide-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.guide-cards a { border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; display: grid; gap: 6px; background: var(--bg); transition: border-color .15s; }
.guide-cards a:hover { border-color: var(--accent); }
.guide-cards .k { font-size: 13.5px; color: var(--muted); font-weight: 500; }
.guide-cards b { font-size: 1.1rem; color: var(--ink); font-weight: 600; }
.guide-cards span:not(.k) { color: var(--muted); font-size: 14.5px; }

@media (max-width: 1000px) {
  .guide-layout { grid-template-columns: 1fr; gap: 24px; padding-block: 24px 56px; }
  .guide-toc { order: 0; position: static; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
}
@media (max-width: 700px) {
  .split-shot { grid-template-columns: 1fr; }
  .next-cards, .guide-cards { grid-template-columns: 1fr; }
  .steps > li { padding-left: 36px; }
  .guide-body td:first-child { white-space: normal; }
}

/* the staff guide prints as its PDF (tools/docs/staff-pdf.js) */
@media print {
  .guide-head { background: none !important; color: #000; padding: 0 0 10px !important; border-bottom: 2px solid #0F172A; }
  .guide-head .h1, .guide-head .lede, .guide-meta span { color: #000 !important; }
  .guide-meta span { border-color: #CBD5E1; }
  .crumbs, .guide-actions, .guide-toc, .consent { display: none !important; }
  .guide-layout { display: block; padding: 14px 0 0; }
  .guide-body { max-width: none; gap: 0; }
  .phase { padding-top: 14px; margin-top: 4px; gap: 8px; break-inside: avoid; }
  .phase h2 { font-size: 15pt; }
  .guide-body p, .guide-body li, .guide-body td { font-size: 10.5pt; color: #111; }
  .gshot { box-shadow: none; max-width: 230px !important; }
  .gshot.narrow { max-width: 210px !important; }
  .split-shot { grid-template-columns: 210px 1fr; gap: 18px; }
  .steps { gap: 10px; }
  .steps .gshot.narrow { max-width: 165px !important; }
}

.gshot > a { display: block; }

/* the wordmark, as the app draws it: "Print" in slate, "Ctrl" in the brand green */
.wordmark { font-weight: 800; letter-spacing: -.025em; }
.wordmark .wm-print { color: #1E293B; }
.wordmark .wm-ctrl { color: #67961D; }
[data-theme="dark"] .wordmark .wm-print { color: #E1E4E8; }
[data-theme="dark"] .wordmark .wm-ctrl { color: #A6D451; }

/* ----- docs pages with the docs sidebar (tools/docs/nav.js) ---------------
   Left: every docs page. Middle: the article. Right: "On this page". The
   right column goes under 1180px, the left one turns into a <details> block
   above the article under 900px. */
.guide-layout.has-side { grid-template-columns: 200px minmax(0, 1fr) 190px; gap: 44px; }
.guide-layout.has-side .guide-toc { order: 3; }
.docs-side { position: sticky; top: 84px; font-size: 14px; }
.docs-side summary { display: none; }
.docs-side nav { display: grid; gap: 1px; }
.docs-side .k { font-size: 13px; color: var(--muted); font-weight: 600; padding: 14px 10px 4px; }
.docs-side .k:first-child { padding-top: 0; }
.docs-side a { padding: 5px 10px; border-radius: var(--r-sm); color: var(--ink-2); line-height: 1.35; }
.docs-side a:hover { background: var(--bg-2); color: var(--ink); }
.docs-side a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-2); font-weight: 600; }
.guide-body h3 { font-size: 1.1rem; margin-top: 10px; }
.guide-body section > ul:not(.steps), .guide-body section > ol:not(.steps) { display: grid; gap: 6px; padding-left: 20px; list-style: disc; }
.guide-body section > ol:not(.steps) { list-style: decimal; }
.guide-body .table-wrap { overflow-x: auto; }
.gshot.wide { max-width: 760px; }
@media (max-width: 1180px) {
  .guide-layout.has-side { grid-template-columns: 200px minmax(0, 1fr); }
  .guide-layout.has-side .guide-toc { display: none; }
}
@media (max-width: 900px) {
  .guide-layout.has-side { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 20px; }
  .docs-side { position: static; border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; }
  .docs-side summary { display: block; cursor: pointer; font-weight: 600; color: var(--ink); }
  .docs-side[open] summary { margin-bottom: 8px; }
  .docs-side:not([open]) nav { display: none; }
}
.wrap.guide-layout.has-side { max-width: 1340px; }
.guide-layout.has-side .guide-body { max-width: 820px; }
.guide-layout.has-side .gshot { max-width: 100%; }
.feature-row.stack.wide-shot .shot { max-width: 1048px; }

/* Home hero: the admin view with the staff tray panel over its corner, both
   real screenshots. The panel sits inside the frame on narrow screens. */
.hero-pair { position: relative; max-width: 1000px; margin-inline: auto; padding: 0 0 40px; }
.hero-pair > .shot { max-width: none; }
.hero-pair .tray-over { position: absolute; right: -36px; bottom: 0; width: 290px; }
.hero-pair .tray-over .shot { border-radius: 10px; }
.tray-label { position: absolute; left: 14px; top: -13px; z-index: 1; font-size: 12.5px; font-weight: 600; line-height: 1;
  padding: 6px 10px; border-radius: 999px; background: var(--dark); color: #fff; border: 1px solid rgba(255,255,255,.18); }
@media (max-width: 1100px) { .hero-pair .tray-over { right: 16px; } }
/* Phones: the panel goes under the list at a readable size instead of over it. */
@media (max-width: 640px) {
  .hero-pair { padding-bottom: 0; }
  .hero-pair .tray-over { position: relative; right: auto; bottom: auto; width: min(300px, 82%); margin: 34px auto 0; }
}

/* Home: cropped hero list, price table. */
.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 15.5px; }
.price-table th, .price-table td { padding: 10px 4px; border-bottom: 1px solid var(--lime-band-line); text-align: right; }
.price-table th { font-size: 13px; font-weight: 500; color: var(--muted); }
.price-table th:first-child, .price-table td:first-child { text-align: left; }
.price-table td:last-child { font-weight: 600; }
.hero-pair.is-crop { max-width: 1010px; padding-right: 300px; }
.hero-pair.is-crop .tray-over { right: 0; }
@media (max-width: 860px) {
  .hero-pair.is-crop { padding-right: 0; padding-bottom: 0; }
  .hero-pair.is-crop .tray-over { position: relative; right: auto; bottom: auto; width: min(300px, 82%); margin: 28px auto 0; }
}
/* Marketing pages that use .docs-body beside a heading: tighter rhythm and the
   site's short bar bullets instead of browser discs. */
.wrap.split > .docs-body { gap: 14px; }
.wrap.split > .docs-body ul { list-style: none; padding-left: 0; gap: 6px; }
.wrap.split > .docs-body ul li { position: relative; padding-left: 20px; }
.wrap.split > .docs-body ul li::before { content: ""; position: absolute; left: 0; top: .78em; width: 10px; height: 2px; background: var(--accent); }

/* Home: the five setup steps, each with a real example from the demo account,
   joined by moving arrows. The highlight walks through the steps in turn. */
.setup-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 28px; counter-reset: sf; }
.setup-flow > li { counter-increment: sf; position: relative; display: grid; gap: 8px; align-content: start; min-width: 0; }
.setup-flow > li::before { content: "0" counter(sf); font: 500 13px var(--mono); color: var(--accent); }
.setup-flow h3 { font-size: 1rem; font-weight: 600; margin-top: 6px; }
.setup-flow p { color: var(--muted); font-size: 15px; }
.sf-node { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 12px; min-height: 64px; background: var(--bg); border: 1.5px solid var(--line-2); border-radius: 8px; animation: sf-on 10s infinite; }
.sf-node > div { display: grid; gap: 2px; min-width: 0; }
.sf-node b { font-size: 14px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.sf-ic { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sf-node span { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.setup-flow > li:nth-child(2) .sf-node { animation-delay: 2s; }
.setup-flow > li:nth-child(3) .sf-node { animation-delay: 4s; }
.setup-flow > li:nth-child(4) .sf-node { animation-delay: 6s; }
.setup-flow > li:nth-child(5) .sf-node { animation-delay: 8s; }
/* Desktop: line the boxes, titles and text up across all five steps. */
@media (min-width: 861px) {
  .setup-flow { grid-template-rows: repeat(4, auto); }
  .setup-flow > li { grid-row: span 4; grid-template-rows: subgrid; }
}
@keyframes sf-on {
  0%, 16% { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
  22%, 100% { border-color: var(--line-2); box-shadow: none; }
}
/* the arrow from one step's box to the next */
.setup-flow > li:not(:last-child) .sf-node::after {
  content: ""; position: absolute; left: calc(100% + 4px); top: 50%; width: 20px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 5px, transparent 5px 9px);
  animation: sf-flow .9s linear infinite;
}
.setup-flow > li:not(:last-child) .sf-node::before {
  content: ""; position: absolute; left: calc(100% + 22px); top: calc(50% - 4px);
  border-left: 6px solid var(--accent); border-top: 5px solid transparent; border-bottom: 5px solid transparent;
}
@keyframes sf-flow { to { background-position: 9px 0; } }
@media (max-width: 860px) {
  .setup-flow { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .sf-node { max-width: 340px; }
  .setup-flow > li:not(:last-child) .sf-node::after, .setup-flow > li:not(:last-child) .sf-node::before { display: none; }
}
@media (prefers-reduced-motion: reduce) { .sf-node, .setup-flow > li:not(:last-child) .sf-node::after { animation: none; } }

/* Home hero: a recording of the real dashboard, cut off at the bottom of the
   dark band. The video for the other theme is never loaded (preload none, and
   site.js only plays the visible one). */
.hero.has-video { --hero-tail: 0px; }
.hero-video { position: relative; max-width: 960px; margin-inline: auto; aspect-ratio: 1280 / 680; overflow: hidden;
  border: 1px solid rgba(255,255,255,.14); border-bottom: 0; border-radius: 12px 12px 0 0; background: var(--bg); }
.hero-video video { display: block; width: 100%; height: auto; }
.hero-video .on-dark { display: none; }
[data-theme="dark"] .hero-video .on-dark { display: block; }
[data-theme="dark"] .hero-video .on-light { display: none; }
.hv-toggle { position: absolute; right: 12px; bottom: 12px; font: 600 12.5px var(--font); color: #fff; background: rgba(15,23,42,.72); border: 0; border-radius: 6px; padding: 6px 11px; cursor: pointer; }
.hv-toggle:hover { background: rgba(15,23,42,.88); }
.hv-toggle:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
@media (max-width: 640px) { .hero-video { aspect-ratio: 1280 / 720; border-radius: 10px 10px 0 0; } }

/* Home: the MCP setup for each assistant, as the app and docs give it. */
.mcp-setup { display: grid; gap: 10px; min-width: 0; }
.mcp-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.mcp-tabs button { font: 500 13.5px var(--font); color: var(--muted); background: none; border: 0; border-radius: 6px; padding: 6px 10px; cursor: pointer; }
.mcp-tabs button:hover { color: var(--ink); }
.mcp-tabs button[aria-selected="true"] { color: var(--ink); font-weight: 600; background: var(--bg); box-shadow: 0 0 0 1px var(--line); }
.mcp-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.mcp-panel { display: grid; gap: 10px; }
.mcp-panel[hidden] { display: none; }
.mcp-panel pre { margin: 0; background: var(--dark); color: #e2e8f0; border-radius: 10px; padding: 16px 18px; font: 13px/1.6 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.mcp-panel pre code { background: none; border: 0; padding: 0; color: inherit; font: inherit; }
.mcp-panel p { font-size: 14.5px; color: var(--muted); max-width: 52ch; }
.mcp-panel p b { color: var(--ink); font-weight: 600; }
.mcp-panel p code { font-family: var(--mono); font-size: 12.5px; background: var(--bg); border: 1px solid var(--line); padding: 1px 6px; border-radius: 4px; color: var(--ink); }

/* Home, printer status: the demo printer's real 24-hour response-time line
   drifts behind the heading, faded out on the left where the text sits. The
   second copy is mirrored so the ends meet. Reduced motion holds it still. */
.mon-section { position: relative; overflow: hidden; }
.mon-section > .wrap { position: relative; }
.mon-live { position: absolute; inset: 30px 0 auto 0; height: 110px; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 42%, #000 68%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent 0, transparent 42%, #000 68%, #000 92%, transparent); }
.mon-track { display: flex; width: 200%; height: 100%; animation: mon-drift 90s linear infinite; }
.mon-track svg { width: 50%; height: 100%; flex: none; overflow: visible; }
.mon-track .mon-mirror { transform: scaleX(-1); }
.mon-area { fill: var(--accent); opacity: .08; }
.mon-avg { fill: none; stroke: var(--accent); stroke-width: 1.5; opacity: .6; vector-effect: non-scaling-stroke; }
@keyframes mon-drift { to { transform: translateX(-50%); } }
.shot figcaption.mon-cap { display: flex; align-items: center; gap: 10px; }
.mon-cap i { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.mon-cap i::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; animation: mon-ping 2s ease-out infinite; }
@keyframes mon-ping { 0% { transform: scale(.4); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
@media (max-width: 820px) { .mon-live { inset: auto 0 0 0; height: 56px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); } .mon-track { animation-duration: 45s; } .mon-avg { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .mon-track, .mon-cap i::after { animation: none; } }

/* Docs: let tables inside steps scroll in their own box at phone width
   instead of widening the page. */
.phase > *, .steps, .steps > li { min-width: 0; }
.steps, .steps > li { grid-template-columns: minmax(0, 1fr); }
.guide-body pre { margin: 0; max-width: 100%; background: var(--dark); color: #E2E8F0; border-radius: var(--r-sm); padding: 14px 16px; font: 13px/1.5 var(--mono); overflow-x: auto; }
.guide-body pre code { background: none; border: 0; padding: 0; color: inherit; font: inherit; }

/* Home, tray: a corner of a Windows desktop with the real panel above the
   taskbar. Three frames from tools/screenshots/tray-add-capture.js cross-fade
   while a cursor selects Add: offered, adding, on this computer. 12s loop;
   reduced motion shows the first frame only. */
:root { --td-desk: linear-gradient(160deg, #E2E8F0 0%, #D3DCE6 60%, #CBD5E1 100%); --td-bar: rgba(243,243,243,.94); --td-bar-ink: #1F1F1F; --td-bar-line: rgba(0,0,0,.08); }
:root[data-theme="dark"] { --td-desk: linear-gradient(160deg, #1B2129 0%, #151A21 60%, #11151B 100%); --td-bar: rgba(32,32,32,.95); --td-bar-ink: #F3F3F3; --td-bar-line: rgba(255,255,255,.07); }
.tray-desk { position: relative; margin: 0; width: 100%; max-width: 440px; height: 400px; justify-self: center; border-radius: 12px; overflow: hidden; background: var(--td-desk); border: 1px solid var(--line); }
.td-panel { position: absolute; right: 12px; bottom: 56px; width: 288px; }
.td-f { position: absolute; inset: auto 0 0 0; opacity: 0; animation: 12s infinite; }
.td-f img { width: 100%; height: auto; border-radius: 8px; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 16px 36px -14px rgba(0,0,0,.4); }
.td-f0 { position: relative; opacity: 1; animation-name: td-f0; }
.td-f1 { animation-name: td-f1; }
.td-f2 { animation-name: td-f2; }
@keyframes td-f0 { 0%, 34% { opacity: 1 } 36%, 96% { opacity: 0 } 100% { opacity: 1 } }
@keyframes td-f1 { 0%, 34% { opacity: 0 } 36%, 62% { opacity: 1 } 64%, 100% { opacity: 0 } }
@keyframes td-f2 { 0%, 62% { opacity: 0 } 64%, 94% { opacity: 1 } 96%, 100% { opacity: 0 } }
/* the cursor's tip lands on Add: 43.5px from the right, 128px from the bottom */
.td-cursor { position: absolute; right: 25.5px; bottom: 104px; width: 18px; height: 24px; pointer-events: none; animation: td-cur 12s infinite; filter: drop-shadow(0 1px 1px rgba(0,0,0,.35)); }
.td-cursor path { fill: #FFFFFF; stroke: #111111; stroke-width: 1.3; stroke-linejoin: round; }
@keyframes td-cur { 0% { transform: translate(-140px, 70px); opacity: 0 } 10% { opacity: 1 } 26%, 32% { transform: translate(0, 0) scale(1) } 34% { transform: translate(0, 0) scale(.86) } 36% { transform: translate(0, 0) scale(1) } 52% { transform: translate(-60px, 50px); opacity: 1 } 60%, 100% { transform: translate(-60px, 50px); opacity: 0 } }
.td-bar { position: absolute; inset: auto 0 0 0; height: 44px; display: flex; align-items: center; justify-content: flex-end; gap: 2px; padding-right: 8px; background: var(--td-bar); border-top: 1px solid var(--td-bar-line); color: var(--td-bar-ink); }
.td-ic { width: 32px; height: 36px; display: grid; place-items: center; border-radius: 5px; }
.td-ic svg { width: 15px; height: 15px; }
.td-me { background: rgba(127,127,127,.18); }
.td-clock { font: 11.5px/1.3 "Segoe UI", system-ui, sans-serif; text-align: right; padding: 0 6px; }
@media (max-width: 420px) { .tray-desk { height: 380px; } .td-panel { right: 50%; transform: translateX(50%); } .td-cursor { display: none; } }
@media (prefers-reduced-motion: reduce) { .td-f, .td-cursor { animation: none; } .td-f1, .td-f2, .td-cursor { display: none; } }
.td-f .on-dark { display: none; }
[data-theme="dark"] .td-f .on-dark { display: block; }
[data-theme="dark"] .td-f .on-light { display: none; }
/* The adding frame is captured without its spinner; this one turns in its
   place, as the tray's own .spinner does (16px at 294,272 in the panel,
   here at 90%). */
:root { --td-spin-track: rgba(0,0,0,.06); --td-spin-arc: #005FB8; }
:root[data-theme="dark"] { --td-spin-track: rgba(255,255,255,.08); --td-spin-arc: #60CDFF; }
.td-spin { position: absolute; left: 257.4px; top: 237.6px; width: 14.4px; height: 14.4px; border-radius: 50%; border: 1.8px solid var(--td-spin-track); border-top-color: var(--td-spin-arc); animation: td-spin .8s linear infinite; }
@keyframes td-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .td-spin { animation-duration: 2s; } }

/* Polish pass from the home page critique (Nov 29, 2026). */

/* Browser surfaces: selection, form accents and wrapping take the palette */
:root { accent-color: var(--accent); }
::selection { background: rgba(163,230,53,.38); color: var(--ink); }
p, li, figcaption, td { text-wrap: pretty; }

/* Skip link: off screen until it has focus */
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; padding: 8px 14px; border-radius: var(--r-sm); background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 14px; }
.skip:focus { top: 10px; }

/* Hero on phones: the recording zooms into the working area so its text reads, in a taller frame */
@media (max-width: 600px) {
  .hero-shot { margin-top: 28px; padding-inline: 0; }
  .hero-video { aspect-ratio: 4 / 3; border-radius: 0; border-inline: 0; }
  .hero-video video { transform: scale(1.45); transform-origin: 14.5% 0; }
  .hv-toggle { right: 8px; bottom: 8px; padding: 4px 9px; font-size: 11.5px; }
}

/* Dark mode keeps the bands: the hero gets an edge, the price band goes neutral, the CTA box lifts */
:root[data-theme="dark"] { --dark: #07090B; --lime-band: var(--bg-2); --lime-band-line: rgba(166,212,81,.24); }
[data-theme="dark"] .hero { border-bottom: 1px solid var(--line-2); }
[data-theme="dark"] .cta .box { background: var(--bg-3); border-color: var(--line-2); box-shadow: none; }

/* MCP commands: a copy button on each block */
.mcp-panel .pre-wrap { position: relative; }
.mcp-copy { position: absolute; top: 8px; right: 8px; font: 600 12px var(--font); color: #e2e8f0; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 6px; padding: 4px 9px; cursor: pointer; }
.mcp-copy:hover { background: rgba(255,255,255,.16); }
.mcp-copy:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.mcp-panel .pre-wrap pre { padding-right: 72px; }

/* ----- sweep pass (2026-11-29): reading width, phone tables, legal contents -----
   Guides keep tables and screenshots at the column width; running text stops
   near 80 characters (DM Sans is wide, so ch-based caps ran past 100). */
.guide-body p, .guide-body section > ul:not(.steps) > li, .guide-body section > ol:not(.steps) > li, .guide-body .steps > li > p { max-width: 38rem; }
.guide-body p, .guide-body li, .legal-body p, .legal-body li { text-wrap: pretty; }
/* Price examples stack on a phone so the count and the price both fit. */
@media (max-width: 560px) {
  .log.prices > li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .log.prices > li > span:last-child { text-align: left; }
}
/* Tables of three or more columns become one block per row on a phone; site.js
   copies each column heading into data-label. Without the script they scroll. */
@media (max-width: 640px) {
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: auto; }
  table.stack thead, table.stack tr.hd { display: none; }
  table.stack tr { padding: 10px 12px; border-bottom: 1px solid var(--line); }
  table.stack tr:last-child { border-bottom: 0; }
  .guide-body table.stack tr, .docs-body table.stack tr { padding-inline: 0; }
  table.stack td { border: 0 !important; padding: 2px 0 !important; white-space: normal !important; }
  table.stack td[data-label]::before { content: attr(data-label); display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--muted); font-family: var(--font); }
  table.stack td:first-child::before { display: none; }
  table.stack td:first-child { font-weight: 600; color: var(--ink); }
  .legal-body .table-wrap:has(table.stack) { overflow: visible; }
}
/* Legal contents on a phone: site.js puts the sidebar in a closed <details>. */
.legal-toc { border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; }
.legal-toc summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.legal-toc[open] summary { margin-bottom: 8px; }
.legal-toc .docs-nav { border: 0; padding: 0; }
/* Subprocessors: the safeguard text is the same on every row, so give it room. */
#list table th:nth-child(1) { width: 17%; } #list table th:nth-child(4) { width: 14%; } #list table th:nth-child(5) { width: 27%; }

/* Subpage heroes: the trial button sits under the lede, left-aligned like the copy. */
.page-hero .hero-actions { justify-content: flex-start; margin-top: 8px; }
/* One-paragraph sections: heading above, text at reading width, no empty left column. */
.wrap.solo { display: grid; gap: 12px; }
.wrap.solo > p { color: var(--ink-2); font-size: 17px; line-height: 1.6; max-width: 40rem; }
/* About: each problem beside what PrintCtrl does about it. */
.pairs { display: grid; border-top: 2px solid var(--ink); }
.pairs-head, .pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 48px; }
.pairs-head { padding: 12px 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.pair { padding: 20px 0; border-top: 1px solid var(--line-2); }
.pair > div { display: grid; gap: 6px; align-content: start; }
.pair p { color: var(--muted); font-size: 15.5px; max-width: 40ch; }
.pair > div:last-child p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 700px) {
  .pairs-head { display: none; }
  .pair { grid-template-columns: minmax(0, 1fr); }
  .pair > div:last-child::before { content: "What PrintCtrl does"; font-size: 13px; font-weight: 600; color: var(--accent); }
}
/* Developers: code beside its copy. */
.code-row { align-items: start; }
pre.code { margin: 0; min-width: 0; background: var(--dark); color: #E2E8F0; border: 1px solid var(--dark-line); border-radius: var(--r); padding: 16px 18px; font: 13px/1.55 var(--mono); overflow-x: auto; }
pre.code code { font: inherit; background: none; border: 0; padding: 0; color: inherit; }
[data-theme="dark"] pre.code { background: var(--bg-3); border-color: var(--line-2); }
/* Pricing questions: heading above one reading-width list. */
.faq-wrap { display: grid; gap: 18px; max-width: 760px; }
.calc .count { margin-top: 8px; }
/* 404: a ruled list of places to go, and the address that failed. */
.nf-links { display: grid; border-top: 1px solid var(--line-2); }
.nf-links a { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 4px 20px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.nf-links a:hover b { color: var(--accent); }
.nf-links b { font-weight: 600; color: var(--ink); }
.nf-links span { color: var(--muted); }
@media (max-width: 560px) { .nf-links a { grid-template-columns: minmax(0, 1fr); } }
.page-hero code.nf-path { font: 500 .92em var(--mono); color: #fff; background: rgba(255,255,255,.08); padding: 1px 6px; border-radius: 4px; overflow-wrap: anywhere; }
/* Contact: required note, invalid fields, the sent state, and the form first on a phone. */
.form .form-note { font-size: 13.5px; color: var(--muted); margin-bottom: -4px; }
.field [aria-invalid="true"] { border-color: var(--err-line); background: var(--err-bg); }
.field [aria-invalid="true"]:focus { outline-color: var(--err-text); }
.form.is-sent > :not(.form-status):not(.hp) { display: none; }
.form-status .link-btn { font: inherit; font-weight: 600; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.cf-turnstile:empty { display: none; }
@media (max-width: 820px) {
  .contact > .topic-switch { order: 0; }
  .contact > .form { order: 1; }
  .contact > .contact-side { order: 2; }
  .topic-switch span { grid-template-columns: 18px 1fr; }
  .topic-switch span::before { display: block; width: 16px; height: 16px; }
  .topic-switch small { grid-column: 2; }
}
.code-row { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.code-row.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.code-row.flip .copy { order: 2; }
pre.code { font-size: 12.5px; }
@media (max-width: 820px) { .code-row, .code-row.flip { grid-template-columns: minmax(0, 1fr); } .code-row.flip .copy { order: 0; } }
/* Audience-page heroes end on one real screenshot that sits across the band's
   bottom edge, the way the home recording does. */
.page-hero.with-shot { --tail: 120px; padding-bottom: 0; background: linear-gradient(var(--dark) 0 calc(100% - var(--tail)), var(--bg) 0); }
.page-hero .page-shot { margin-top: 34px; }
.page-hero .page-shot .shot { max-width: 880px; border-color: rgba(255,255,255,.12); box-shadow: 0 24px 60px -24px rgba(0,0,0,.55); }
.page-hero.with-shot + .section { padding-top: 48px; }
@media (max-width: 820px) { .page-hero.with-shot { --tail: 60px; } .page-hero .page-shot { margin-top: 26px; } }

/* ----- docs pass (2026-11-29) --------------------------------------------- */
/* Steps are plain numbers; the filled circle is kept for the phases only. */
.steps > li::before { content: counter(step) "."; border: 0; background: none; border-radius: 0; width: 28px; height: auto; display: block; text-align: right;
  color: var(--muted); font: 600 15.5px/1.6 var(--font); top: 0; }
.steps > li { padding-left: 40px; }
@media (max-width: 700px) { .steps > li { padding-left: 34px; } .steps > li::before { width: 24px; } }
.guide-next.first { border-top: 0; padding-top: 0; margin-top: 0; }
.guide-head .lede a.link { color: var(--lime-2); }
/* Copy buttons on docs code blocks (site.js). */
.guide-body .pre-wrap { position: relative; }
.guide-body .pre-wrap pre { padding-right: 72px; }
/* "On this page" folded above the article below 1180px (site.js). */
.toc-box { border: 1px solid var(--line); border-radius: var(--r); padding: 10px 14px; margin-bottom: 12px; }
.toc-box summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.toc-box[open] summary { margin-bottom: 8px; }
.toc-box .guide-toc, .guide-layout.has-side .toc-box .guide-toc { display: grid; position: static; border: 0; padding: 0; order: 0; }
.toc-box .guide-toc .k { display: none; }
/* Docs search in the sidebar. */
.docs-search { position: relative; margin-bottom: 14px; }
.docs-search input { width: 100%; font: inherit; font-size: 14px; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 7px 30px 7px 10px; }
.docs-search input::placeholder { color: var(--muted); }
.docs-search input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.docs-search input::-webkit-search-cancel-button { display: none; }
.docs-search kbd { position: absolute; right: 8px; top: 7px; font: 500 11.5px/1 var(--mono); color: var(--muted); border: 1px solid var(--line-2); border-radius: 4px; padding: 3px 5px; background: var(--bg-2); pointer-events: none; }
.docs-search input:focus ~ kbd, .docs-search input:not(:placeholder-shown) ~ kbd { display: none; }
.docs-results { position: absolute; z-index: 30; left: 0; top: calc(100% + 6px); width: max(100%, 320px); max-width: calc(100vw - 32px); background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: var(--shadow); padding: 6px; display: grid; gap: 1px; }
.docs-results a { display: grid; gap: 1px; padding: 7px 9px; border-radius: var(--r-sm); color: var(--ink); }
.docs-results a b { font-weight: 600; font-size: 14px; }
.docs-results a span { font-size: 12.5px; color: var(--muted); }
.docs-results a:hover, .docs-results a.is-active { background: var(--accent-soft); }
.docs-results .none { padding: 8px 9px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 900px) { .docs-results { position: static; width: 100%; margin-top: 6px; box-shadow: none; } }
.api-noscript { padding-block: 24px; }
.guide-head .guide-meta code { font: 500 13px var(--mono); color: #fff; }
.guide-head .guide-meta a { color: var(--lime-2); }
/* Windows driver guide: the article beside its own "On this page". */
.article.has-toc { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 56px; align-items: start; }
.article.has-toc .guide-toc { order: 2; position: sticky; top: 84px; }
.page-hero .crumbs { margin-bottom: 4px; }
@media (max-width: 1179px) { .article.has-toc { grid-template-columns: minmax(0, 1fr); gap: 0; } }
.docs-results[hidden] { display: none; }
/* Docs overview: the page is the index, so no sidebar; search on top, guides grouped. */
.guide-layout.overview { grid-template-columns: minmax(0, 1fr); }
.guide-layout.overview .guide-body { max-width: 880px; }
.docs-search-top { max-width: 480px; margin-bottom: 20px; }
.docs-search-top input { font-size: 15px; padding: 10px 34px 10px 12px; }
.docs-search-top kbd { top: 10px; }
.docs-index { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.di-group h3 { font-size: 1rem; margin: 0 0 4px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.di-group ul { list-style: none; padding: 0; margin: 0; display: grid; }
.di-group li { border-bottom: 1px solid var(--line); }
.di-group a { display: grid; gap: 2px; padding: 10px 0; }
.di-group a b { color: var(--accent); font-weight: 600; }
.di-group a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.di-group a span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 760px) { .docs-index { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .docs-search-top .docs-results { position: absolute; box-shadow: var(--shadow); } }
