/* ==========================================================================
   CustomBill Studio — product site stylesheet
   A plain, documented software product site: white ground, one brand colour,
   IBM Plex Sans, hairline rules, real screenshots. No gradient ornament.
   CSP-strict: no inline style attributes and no CSSOM writes anywhere.
   ========================================================================== */

/* ── typefaces, served from this site ────────────────────────────────── */
/* The two families are hosted here as .woff2, so the page asks no other
   company for anything. The Latin subset only, which is what the site uses. */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-var.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-var.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-var.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-sans-var.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-500.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/ibm-plex-mono-600.woff2") format("woff2");
}

/* ── tokens ───────────────────────────────────────────────────────────── */
:root {
  --bg: #FFFFFF;
  --bg-2: #F5F7FA;
  --bg-3: #EDF1F7;
  --ink: #101828;
  --ink-2: #344054;
  --ink-3: #667085;
  --line: #E4E7EC;
  --line-2: #D0D5DD;
  --brand: #6345E8;
  --brand-dark: #4B2FCB;
  --brand-tint: #F2EFFE;
  --brand-line: #D8CFFB;
  --navy: #141D34;
  --navy-2: #1E2A47;
  --ok: #067647;
  --ok-bg: #ECFDF3;
  --warn: #B54708;
  --warn-bg: #FFFAEB;
  --bad: #B42318;
  --bad-bg: #FEF3F2;
  --info: #175CD3;
  --info-bg: #EFF8FF;
  --sans: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --r: 10px;
  --r-sm: 8px;
  --sh-1: 0 1px 2px rgba(16, 24, 40, .05);
  --sh-2: 0 10px 30px -12px rgba(16, 24, 40, .18);
  --wrap: 1160px;
}

/* ── reset & ground ────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font: 400 16px/1.65 var(--sans);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 640;
  letter-spacing: -.015em;
  line-height: 1.2;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(29px, 4vw, 41px); line-height: 1.12; }
h2 { font-size: clamp(21px, 2.5vw, 29px); }
h3 { font-size: 17px; font-weight: 620; letter-spacing: -.008em; }
h4 { font-size: 15px; font-weight: 620; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1rem; padding-left: 1.15rem; }
li { margin: 0 0 .38rem; }
strong, b { color: var(--ink); font-weight: 620; }
code, kbd {
  font: 500 .86em/1.4 var(--mono);
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: .1em .38em;
  color: var(--ink);
}
/* A 64-character checksum has to wrap by character, not by word, or it overflows the card. */
.hash { word-break: break-all; line-height: 1.8; margin: .35rem 0 0; }
.hash code { font-size: .74em; padding: .18em .45em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 3px; }
table { border-collapse: collapse; text-align: left; }
th, td { vertical-align: top; }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 60;
  background: var(--brand); color: #fff; padding: .7rem 1.1rem; border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ── layout ────────────────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 22px; }
.band { padding: 68px 0; border-top: 1px solid var(--line); background: var(--bg); }
.band-alt { background: var(--bg-2); }
.band-paper { background: var(--bg-3); }
.band-tight { padding: 42px 0; }
.band-flow { background: var(--navy); border-top: 0; color: #C8D2E6; }
.band-flow h2, .band-flow h3 { color: #fff; }
.band-intro { max-width: 720px; }
.band-more { margin-top: 26px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.grid { display: grid; gap: 18px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cards { gap: 16px; }
.sec-head { max-width: 780px; margin-bottom: 30px; }
.sec-head p:last-child { margin-bottom: 0; }
.page { min-height: 60vh; }

/* ── type helpers ──────────────────────────────────────────────────────── */
.kicker {
  color: var(--brand-dark); font-size: 12.5px; font-weight: 640; letter-spacing: .07em;
  margin: 0 0 10px; text-transform: uppercase;
}
.band-flow .kicker { color: #A9B6F5; }
.lede { color: var(--ink-2); font-size: 17.5px; line-height: 1.6; max-width: 68ch; }
.fine { color: var(--ink-3); font-size: 13px; line-height: 1.55; }
.limited { color: var(--warn); }
.updated { color: var(--ink-3); font-size: 13px; }
.bullets { list-style: none; padding: 0; margin: 0; }
.bullets li { padding-left: 20px; position: relative; margin-bottom: .5rem; }
.bullets li::before {
  content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px;
  border-radius: 50%; background: var(--brand);
}
.dashes { list-style: none; padding: 0; margin: 0; }
.dashes li { padding-left: 18px; position: relative; }
.dashes li::before { content: "—"; position: absolute; left: 0; color: var(--ink-3); }
.note-warn {
  background: var(--warn-bg); border: 1px solid #FDB022; border-left-width: 3px;
  border-radius: var(--r-sm); color: #7A4104; font-size: 14px; padding: 12px 14px;
}
.promise { font-size: 15px; }
.aside { font-size: 14px; color: var(--ink-3); }

/* ── header ────────────────────────────────────────────────────────────── */
.bezel {
  position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.bezel-inner { align-items: center; display: flex; gap: 26px; min-height: 64px; }
.brand { align-items: center; color: var(--ink); display: flex; gap: 9px; }
.brand img { border-radius: 6px; }
.brand:hover { text-decoration: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name b { font-size: 15.5px; font-weight: 660; letter-spacing: -.01em; }
.brand-name i { color: var(--ink-3); font-size: 10.5px; font-style: normal; letter-spacing: .13em; text-transform: uppercase; }
.nav { display: flex; gap: 3px; margin-left: auto; }
.nav a {
  border-radius: 6px; color: var(--ink-2); font-size: 14px; font-weight: 500;
  padding: 8px 11px; white-space: nowrap;
}
.nav a:hover { background: var(--bg-2); color: var(--ink); text-decoration: none; }
.nav a[aria-current="page"] { background: var(--brand-tint); color: var(--brand-dark); font-weight: 620; }
.bezel-cta { display: flex; gap: 8px; align-items: center; }
.nav-toggle {
  display: none; margin-left: auto; align-items: center; gap: 8px; background: var(--bg);
  border: 1px solid var(--line-2); border-radius: var(--r-sm); color: var(--ink);
  font: 500 14px/1 var(--sans); padding: 10px 13px;
}
.nav-toggle-box { border-top: 1.5px solid currentColor; height: 7px; width: 15px; position: relative; }
.nav-toggle-box::before, .nav-toggle-box::after {
  border-top: 1.5px solid currentColor; content: ""; left: 0; position: absolute; width: 15px;
}
.nav-toggle-box::before { top: -3.5px; }
.nav-toggle-box::after { top: 0; }

/* ── breadcrumbs ───────────────────────────────────────────────────────── */
.crumbs { padding-top: 16px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 0; padding: 0; font-size: 13px; }
.crumbs li { margin: 0; }
.crumbs li + li::before { color: var(--ink-3); content: "/"; margin-right: 7px; }
.crumbs li[aria-current="page"] { color: var(--ink-3); }

/* ── buttons ───────────────────────────────────────────────────────────── */
.btn {
  align-items: center; border: 1px solid transparent; border-radius: var(--r-sm);
  display: inline-flex; font: 600 14.5px/1 var(--sans); gap: 8px; justify-content: center;
  padding: 12px 18px; text-decoration: none; transition: background .14s ease, border-color .14s ease, color .14s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost, .btn.line, .btn.ghost { background: var(--bg); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover, .btn.line:hover, .btn.ghost:hover { border-color: var(--brand-line); background: var(--brand-tint); color: var(--brand-dark); }
.btn-lg { font-size: 15.5px; padding: 14px 22px; }
.btn-sm { font-size: 13.5px; padding: 9px 13px; }
.btn.ghost { font-weight: 500; }
.get-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ── cards ─────────────────────────────────────────────────────────────── */
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-1); padding: 22px;
}
.card:hover { border-color: var(--line-2); }
.card h3 { margin-bottom: 6px; }
.card p { font-size: 14.6px; }
.card-idx {
  color: var(--brand-dark); font: 600 12px/1 var(--mono); letter-spacing: .06em;
  display: block; margin-bottom: 10px;
}
.band-alt .card:hover, .band-paper .card:hover { background: var(--bg); }
.badge {
  background: var(--bg-3); border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2);
  display: inline-block; font: 600 11.5px/1 var(--sans); letter-spacing: .03em; padding: 5px 9px;
  text-transform: uppercase;
}
.badge.part { background: var(--info-bg); border-color: #B2DDFF; color: var(--info); }
.badge.yes { background: var(--ok-bg); border-color: #ABEFBB; color: var(--ok); }
.badge.no { background: var(--bad-bg); border-color: #FECDCA; color: var(--bad); }
.badge.due { background: var(--bad-bg); border-color: #FECDCA; color: var(--bad); }
.badge.ok { background: var(--ok-bg); border-color: #ABEFBB; color: var(--ok); }
.r { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.yes { color: var(--ok); }
.no { color: var(--bad); }
.ok { color: var(--ok); }
.warn { color: var(--warn); }
.refused { color: var(--bad); }
.free { color: var(--ok); font-weight: 620; }
.flag {
  background: var(--warn-bg); border: 1px solid #FDB022; border-left-width: 3px;
  border-radius: var(--r-sm); color: #7A4104; font-size: 14px; padding: 14px 16px;
}
.flag h3 { color: #7A4104; }
.fill-flag {
  background: var(--warn-bg); border: 1px solid #FDB022; border-radius: 999px; color: #7A4104;
  display: inline-block; font: 600 10.5px/1 var(--sans); letter-spacing: .06em; margin-right: 7px;
  padding: 4px 8px; text-transform: uppercase; white-space: nowrap;
}
.csp-box {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-sm);
  font: 400 12.5px/1.7 var(--mono); overflow-wrap: anywhere; padding: 14px 16px; color: var(--ink-2);
}
.review-box {
  background: var(--info-bg); border: 1px solid #B2DDFF; border-radius: var(--r);
  color: #194185; font-size: 14.5px; padding: 16px 18px;
}
.review-box h3 { color: #175CD3; }

/* ── hero ──────────────────────────────────────────────────────────────── */
.hero { background: var(--bg); padding: 54px 0 62px; }
.hero-grid { align-items: center; display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); }
.hero-copy { max-width: 560px; }
.hero h1 { margin-bottom: 14px; }
.hero h1 em { color: var(--brand-dark); font-style: normal; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 11px; margin: 24px 0 0; }
.hero-meta { border-top: 1px solid var(--line); display: grid; gap: 14px 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 30px; padding-top: 22px; }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta b { color: var(--ink); font-size: 15px; font-weight: 640; }
.hero-meta span { color: var(--ink-3); font-size: 13px; }
.hero-visual { min-width: 0; }

/* sub-page hero */
.page-hero { background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 34px 0 36px; }
.page-hero h1 { margin-bottom: 10px; }
.page-hero .lede { max-width: 76ch; }

/* ── screenshots ───────────────────────────────────────────────────────── */
.shot {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-2); margin: 0; overflow: hidden;
}
.shot img { display: block; width: 100%; }
.shot figcaption, .paper figcaption { color: var(--ink-3); font-size: 13px; margin-top: 10px; padding: 0 14px 12px; text-align: center; }
/* The A4 and A5 renders share one scale: the columns are 893 and 630 fractional
   units, which is exactly the ratio of the two sheets. */
.shot-grid { align-items: start; display: grid; gap: 20px; grid-template-columns: minmax(0, 893fr) minmax(0, 630fr); }

/* ── facts strip ───────────────────────────────────────────────────────── */
.facts { background: var(--bg-2); border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); }
.facts ul { display: grid; gap: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
.facts li { border-left: 1px solid var(--line); margin: 0; padding: 20px 0 20px 22px; }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts b { color: var(--ink); display: block; font-size: 21px; font-weight: 660; letter-spacing: -.02em; }
.facts span { color: var(--ink-3); font-size: 13.5px; }

/* ── numbers band ──────────────────────────────────────────────────────── */
.numbers .num-grid { display: grid; gap: 1px; grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.num { background: var(--bg); padding: 22px; }
.num b { color: var(--ink); display: block; font: 660 27px/1.1 var(--sans); letter-spacing: -.02em; }
.num span { color: var(--ink-3); display: block; font-size: 13.5px; margin-top: 6px; }
.num-note { color: var(--ink-3); font-size: 14px; margin: 20px 0 0; max-width: 88ch; }

/* ── steps ─────────────────────────────────────────────────────────────── */
.steps { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.step {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-1); display: grid; gap: 14px; grid-template-columns: 34px minmax(0, 1fr); padding: 20px;
}
.step h3 { margin-bottom: 5px; }
.step p { font-size: 14.6px; margin: 0; }
.step-badge {
  align-items: center; background: var(--brand-tint); border: 1px solid var(--brand-line);
  border-radius: var(--r-sm); color: var(--brand-dark); display: flex; font: 640 13px/1 var(--mono);
  height: 34px; justify-content: center; width: 34px;
}
.step-num { color: var(--ink-3); font: 500 12px/1 var(--mono); }
.flow-steps { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.flow-step { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.band-flow .flow-step { background: var(--navy-2); border-color: #2B3A5E; }
.flow-step h3 { font-size: 15.5px; }
.flow-step p { font-size: 14px; margin: 0; }
.band-flow .flow-step p { color: #A9B6CE; }
.band-flow .flow-step h3 { color: #fff; }

/* ── feature rows / index ──────────────────────────────────────────────── */
.feat-layout { display: grid; gap: 40px; grid-template-columns: 232px minmax(0, 1fr); }
.feat-index { list-style: none; margin: 0; padding: 0; position: sticky; top: 88px; }
.feat-index li { margin: 0 0 2px; }
.feat-index a { border-radius: 6px; color: var(--ink-2); display: block; font-size: 14px; padding: 7px 10px; }
.feat-index a:hover { background: var(--bg-2); color: var(--ink); text-decoration: none; }
.feat-index a[aria-current="true"] { background: var(--brand-tint); color: var(--brand-dark); font-weight: 620; }
.feat-block { border-top: 1px solid var(--line); padding: 30px 0; scroll-margin-top: 90px; }
.feat-block:first-child { border-top: 0; padding-top: 0; }
.toc { list-style: none; margin: 0 0 26px; padding: 0; }
.toc li { display: inline-block; margin: 0 4px 6px 0; }
.toc a { background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); display: block; font-size: 13px; padding: 6px 12px; }
.toc a:hover { border-color: var(--brand-line); background: var(--brand-tint); color: var(--brand-dark); text-decoration: none; }

/* ── trades ───────────────────────────────────────────────────────────── */
.trade-card { color: var(--ink-2); display: flex; flex-direction: column; gap: 8px; padding: 20px; }
.trade-card:hover { border-color: var(--brand-line); box-shadow: var(--sh-2); text-decoration: none; }
.trade-card h3, .trade-card h4 { margin: 0; }
.trade-card p { font-size: 14.2px; margin: 0; }
.trade-meta { color: var(--ink-3); font-size: 13px; }
.trades { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trade-panel { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); padding: 22px; }
.trade-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.trade-tabs button {
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2);
  font: 500 13px/1 var(--sans); padding: 8px 13px;
}
.trade-tabs button[aria-selected="true"], .trade-tabs button[aria-pressed="true"], .trade-tabs button.on {
  background: var(--brand); border-color: var(--brand); color: #fff;
}
.trade-bill { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.trade-notes { font-size: 14.5px; }
.trade-cmp { font-size: 14px; width: 100%; }
.tb-retail { --brand: #6345E8; }
.tb-hotel { --brand: #0E7C86; }
.tb-restaurant { --brand: #B54708; }
.tb-pharmacy { --brand: #067647; }
.tb-electronics { --brand: #175CD3; }
.tb-garments { --brand: #C11574; }
.tb-hardware { --brand: #7A5E12; }
.tb-services { --brand: #4B2FCB; }
.tb-education { --brand: #026AA2; }
.tb-auto { --brand: #92400E; }
.tb-other { --brand: #475467; }

/* ── the live sample bill (trade switcher, designs papers) ──────────────── */
.tb-head { align-items: center; border-bottom: 2px solid var(--ink); display: flex; gap: 10px; margin-bottom: 12px; padding-bottom: 10px; }
.tb-head img { border-radius: 4px; }
.tb-head div { min-width: 0; }
.tb-head div b { color: var(--ink); display: block; font-size: 14px; font-weight: 660; }
.tb-head div span { color: var(--ink-3); display: block; font-size: 11.5px; }
.tb-type {
  background: var(--brand-tint); border: 1px solid var(--brand-line); border-radius: 4px; color: var(--brand-dark);
  flex: 0 0 auto; font: 600 10.5px/1 var(--mono); letter-spacing: .08em; margin-left: auto; padding: 6px 8px;
}
.tb-grid { display: grid; gap: 10px 14px; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); margin-bottom: 12px; }
.tb-grid > div { border-top: 1px solid var(--line); padding-top: 6px; }
.tb-grid label { color: var(--ink-3); display: block; font: 600 10px/1.3 var(--sans); letter-spacing: .05em; margin: 0 0 2px; text-transform: uppercase; }
.tb-grid span { color: var(--ink); display: block; font: 500 12px/1.4 var(--mono); overflow-wrap: anywhere; }
table.tb-table { font-size: 11.5px; width: 100%; }
.tb-table th { background: var(--bg-3); border-bottom: 1px solid var(--line-2); color: var(--ink-3); font: 600 10px/1.3 var(--sans); letter-spacing: .04em; padding: 6px 7px; text-transform: uppercase; }
.tb-table td { border-bottom: 1px solid var(--bg-3); color: var(--ink-2); padding: 7px; vertical-align: top; }
.tb-table td i { color: var(--ink-3); display: block; font-size: 10.5px; font-style: normal; }
.tb-table .r { color: var(--ink); font: 500 11.5px/1.4 var(--mono); }
.tb-foot { border-top: 2px solid var(--ink); color: var(--ink); font-size: 12px; margin-top: 10px; padding-top: 10px; }

/* ── bill paper ────────────────────────────────────────────────────────── */
/* The three sample bills share one scale: their columns are 210, 58 and 148
   fractional units, so a 58 mm roll reads as a roll next to an A4 folio. */
.papers { display: grid; gap: 22px; grid-template-columns: minmax(0, 210fr) minmax(0, 58fr) minmax(0, 148fr); align-items: start; }
.paper {
  background: #fff; border: 1px solid var(--line); border-radius: 4px; box-shadow: var(--sh-2);
  color: var(--ink); font-size: 12px; margin: 0; overflow: hidden; padding: 18px;
}
.paper .p-letterhead { align-items: flex-start; border-bottom: 2px solid var(--ink); display: flex; gap: 12px; justify-content: space-between; margin-bottom: 12px; padding-bottom: 10px; }
.paper .p-letterhead span { color: var(--ink); display: block; font-size: 14.5px; font-weight: 660; }
.paper .p-letterhead small { color: var(--ink-3); display: block; font-size: 11px; }
.paper .p-rows { font-size: 11.5px; width: 100%; }
.paper .p-rows th { border-bottom: 1px solid var(--line-2); color: var(--ink-3); font-size: 10px; font-weight: 600; letter-spacing: .04em; padding: 5px 6px; text-transform: uppercase; }
.paper .p-rows td { border-bottom: 1px solid var(--bg-3); color: var(--ink-2); overflow-wrap: anywhere; padding: 6px; }
.paper .p-rows td i { color: var(--ink-3); display: block; font-size: 10.5px; font-style: normal; }
.paper .p-total { align-items: center; border-top: 2px solid var(--ink); display: flex; font-size: 13px; font-weight: 660; justify-content: space-between; margin-top: 10px; padding-top: 10px; }
.paper .p-total.due { color: var(--bad); }
.paper .p-note { color: var(--ink-3); font-size: 10.5px; margin: 10px 0 0; }
.paper-cap { color: var(--ink-3); font-size: 12.5px; line-height: 1.4; margin-top: 10px; text-align: center; }
/* The roll is drawn at the same scale as the A4 next to it, so its type has to
   shrink the way a thermal driver's does. */
.paper-roll { font-size: 9.5px; padding: 12px; }
.paper-roll .p-letterhead { display: block; margin-bottom: 8px; padding-bottom: 7px; }
.paper-roll .p-letterhead span { font-size: 11px; }
.paper-roll .p-letterhead small { font-size: 8.5px; }
.paper-roll .p-rows th { font-size: 8px; padding: 4px; }
.paper-roll .p-rows td { font-size: 9.5px; padding: 4px; }
.paper-roll .p-rows td i { font-size: 8.5px; }
.paper-roll .p-total { font-size: 10.5px; margin-top: 7px; padding-top: 7px; }
.paper-roll .p-note { font-size: 8.5px; }
.paper-roll .paper-cap { font-size: 10px; }
.paper-sizes { display: grid; gap: 1px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.paper-sizes div { background: var(--bg); border: 1px solid var(--line); padding: 14px; text-align: center; }
.paper-sizes b { color: var(--ink); display: block; font: 640 15px/1.2 var(--sans); }
.paper-sizes span { color: var(--ink-3); display: block; font: 400 12px/1.4 var(--mono); margin-top: 4px; }
.paper .p-perf { border-top: 1px dashed var(--line-2); margin-top: 12px; }

/* ── data tables ───────────────────────────────────────────────────────── */
.table-scroll { overflow-x: auto; max-width: 100%; }
.dues-table, .spec, .cmp { font-size: 14.5px; width: 100%; }
.dues-table caption, .spec caption, .cmp caption { caption-side: bottom; color: var(--ink-3); font-size: 13px; padding-top: 10px; text-align: left; }
.dues-table th, .spec th, .cmp th {
  background: var(--bg-2); border-bottom: 1px solid var(--line-2); color: var(--ink-3);
  font: 600 11.5px/1.4 var(--sans); letter-spacing: .05em; padding: 11px 12px; text-transform: uppercase;
}
.dues-table td, .spec td, .cmp td { border-bottom: 1px solid var(--line); color: var(--ink-2); padding: 12px; }
.dues-table tbody tr:last-child td, .spec tbody tr:last-child td, .cmp tbody tr:last-child td { border-bottom: 0; }
.dues-table td:first-child, .spec td:first-child { color: var(--ink); font-weight: 560; }
.dues-table .due { color: var(--bad); font-variant-numeric: tabular-nums; }
.spec th:first-child, .spec td:first-child { width: 34%; }
.cmp td:nth-child(n+2), .cmp th:nth-child(n+2) { text-align: center; }
.cmp .yes, .cmp .no { font-weight: 660; }
.amt { font-variant-numeric: tabular-nums; white-space: nowrap; }
.leaders { list-style: none; margin: 0; padding: 0; }
.leaders li { align-items: baseline; display: flex; gap: 8px; margin: 0 0 8px; }
.leaders .fill { border-bottom: 1px dotted var(--line-2); flex: 1; min-width: 20px; }
.leaders .amt { color: var(--ink); font-weight: 620; }
.req { list-style: none; padding: 0; }
.req div { align-items: baseline; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px 10px; padding: 9px 0; }
.req div:last-child { border-bottom: 0; }
.req b { color: var(--ink); flex: 0 0 auto; font-weight: 600; }
.req .fill { border-bottom: 1px dotted var(--line-2); flex: 1; min-width: 16px; }
.req span:last-child { color: var(--ink-2); }
.ticks { list-style: none; padding: 0; }
.ticks li { padding-left: 24px; position: relative; }
.ticks li::before {
  background: var(--ok-bg); border: 1px solid #ABEFBB; border-radius: 50%; color: var(--ok);
  content: "✓"; font-size: 11px; font-weight: 700; height: 16px; left: 0; line-height: 15px;
  position: absolute; text-align: center; top: .28em; width: 16px;
}
.bar-key { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; margin-top: 12px; }
.bar-key span { display: inline-flex; align-items: center; gap: 6px; }
.k { background: var(--brand); border-radius: 2px; display: inline-block; height: 10px; width: 10px; }
.bar-key .k { background: none; display: inline-flex; height: auto; width: auto; }
.bar-key .k::before { background: var(--brand); border-radius: 2px; content: ""; height: 10px; width: 10px; }
.k-shelf { background: #12B76A; }
.k-wh { background: #F79009; }
.bar-key .k-shelf::before { background: #12B76A; }
.bar-key .k-wh::before { background: #F79009; }
.seg-shelf, .seg-taken-shelf { fill: #12B76A; }
.seg-wh, .seg-taken-wh { fill: #F79009; }
.seg-rest-shelf, .seg-rest-wh { fill: #D0D5DD; }

/* ── stock calculator (features) ───────────────────────────────────────── */
.calc { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); overflow: hidden; }
.calc-head { background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 16px 20px; }
.calc-head h3 { margin: 0; }
.calc-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 20px; }
.calc-bar { display: block; height: 12px; margin: 12px 0; overflow: hidden; width: 100%; }
.calc-out { background: var(--bg-2); border-radius: var(--r-sm); padding: 14px 16px; }
.calc-out dl { display: grid; gap: 10px 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 12px 0 0; }
.calc-out dl div { align-items: baseline; display: flex; gap: 12px; justify-content: space-between; }
.calc-out dt { color: var(--ink-3); font-size: 13.5px; }
.calc-out dd { color: var(--ink); font: 620 13.5px/1.5 var(--mono); margin: 0; text-align: right; }
.calc-out .fine { margin-top: 12px; }
.calc-msg { color: var(--ink-2); font-size: 14px; margin-top: 10px; }
.calc-msg[data-state="ok"] { color: var(--ok); }
.calc-msg[data-state="warn"] { color: var(--bad); }
.calc-grid label span { display: block; margin-bottom: 5px; }
.calc-grid .wide { grid-column: 1 / -1; }
input[type="number"], input[type="search"], input[type="text"], select {
  background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-sm); color: var(--ink);
  font: 400 15px/1.3 var(--sans); padding: 10px 12px; width: 100%;
}
input:focus, select:focus { border-color: var(--brand); outline: 2px solid var(--brand-tint); }
label { color: var(--ink-2); display: block; font-size: 13.5px; font-weight: 560; margin-bottom: 5px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 14px; padding: 0; }
.swatches li, .swatches button, .sw { background: var(--sw, var(--brand)); border: 1px solid rgba(16, 24, 40, .12); border-radius: 6px; height: 30px; width: 30px; }
.sw1 { --sw: #6345E8; } .sw2 { --sw: #175CD3; } .sw3 { --sw: #0E7C86; }
.sw4 { --sw: #067647; } .sw5 { --sw: #B54708; } .sw6 { --sw: #C11574; }
.sw7 { --sw: #4B2FCB; } .sw8 { --sw: #101828; } .sw9 { --sw: #7A5E12; }
.sw10 { --sw: #026AA2; } .sw11 { --sw: #92400E; } .sw12 { --sw: #475467; }
.design-tools { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.limits-card { border-left: 3px solid var(--warn); }
.lock { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.lock h3 { margin-bottom: 6px; }
.lock p { font-size: 14.5px; margin: 0; }
.lock-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* ── pricing ───────────────────────────────────────────────────────────── */
.plans { align-items: start; display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plan { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); padding: 26px; }
.plan-head { border-bottom: 1px solid var(--line); margin-bottom: 16px; padding-bottom: 14px; }
.plan-head h3 { margin: 0 0 4px; }
.plan-head .amt { color: var(--ink); font: 660 27px/1.15 var(--sans); letter-spacing: -.02em; }
.plan-hi { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint), var(--sh-1); position: relative; }
.plan-hi::before {
  background: var(--brand); border-radius: var(--r) var(--r) 0 0; color: #fff; content: "Recommended";
  font: 600 11px/1 var(--sans); left: -1px; letter-spacing: .06em; padding: 6px 11px; position: absolute;
  text-transform: uppercase; top: -1px;
}
.plan-hi .plan-head { padding-top: 14px; }
/* The trial card spans the row under the two plans, so its note and its list share the
   width instead of leaving a half-empty card. */
.plan-wide { display: grid; gap: 0 34px; grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.plan-wide .plan-head { grid-column: 1 / -1; }
.plan ul { list-style: none; margin: 0 0 18px; padding: 0; }
.plan li { font-size: 14.5px; padding: 7px 0 7px 24px; position: relative; }
.plan li + li { border-top: 1px solid var(--bg-3); }
.plan li::before { color: var(--ok); content: "✓"; font-weight: 700; left: 2px; position: absolute; }
.plan li.no::before { color: var(--ink-3); content: "—"; }

/* ── download ──────────────────────────────────────────────────────────── */
.get {
  align-items: start; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-1); display: grid; gap: 34px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding: 26px;
}
.get h2 { margin-bottom: 8px; }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq { max-width: 900px; }
.qa-toolbar { align-items: center; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.qa-toolbar input[type="search"] { flex: 1 1 260px; }
.skip-label { flex: 0 0 auto; margin: 0; }
.qa-count { color: var(--ink-3); font-size: 13.5px; margin-left: auto; }
.qa { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 10px; padding: 0; }
.qa h3 { margin: 0; }
.qa details { padding: 0; }
.qa summary { color: var(--ink); cursor: pointer; font: 600 15.5px/1.4 var(--sans); list-style: none; padding: 16px 44px 16px 18px; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { color: var(--brand-dark); content: "+"; font: 400 20px/1 var(--sans); position: absolute; right: 18px; top: 14px; }
.qa details[open] summary::after { content: "–"; }
.qa .a { border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15px; padding: 16px 18px; }
.qa .a p { margin-bottom: .7rem; }

/* ── legal prose ───────────────────────────────────────────────────────── */
.legal-layout { align-items: start; display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr) 248px; }
.legal { max-width: 78ch; }
.legal h2 { margin-top: 2.2rem; scroll-margin-top: 90px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 15.5px; margin-top: 1.5rem; }
.legal p, .legal li { color: var(--ink-2); font-size: 15.4px; line-height: 1.68; }
.legal ol, .legal ul { padding-left: 1.3rem; }
.legal table { font-size: 14.5px; margin: 1rem 0; width: 100%; }
.legal th { background: var(--bg-2); }
.legal-layout .aside { display: grid; gap: 16px; position: sticky; top: 88px; }
.legal-layout .aside .card { padding: 18px; }
.legal-layout .aside h3 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.legal-layout .aside .toc { margin: 0; }
.legal-layout .aside .toc li { display: block; margin: 0; }
.legal-layout .aside .toc a { border: 0; border-radius: 0; background: none; font-size: 13.5px; padding: 4px 0; }
.legal-layout .aside ul { font-size: 14px; list-style: none; margin: 0; padding: 0; }
.legal-layout .aside li { margin: 0 0 7px; }

/* ── closing / next page ───────────────────────────────────────────────── */
.closing { background: var(--navy); border-top: 0; color: #C8D2E6; padding: 60px 0; }
.closing h2 { color: #fff; }
.closing p { color: #A9B6CE; max-width: 62ch; }
.close-grid { align-items: center; display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr) auto; }
.close-cta { display: flex; flex-wrap: wrap; gap: 11px; }
.closing .btn-ghost { background: transparent; border-color: #3B4C74; color: #E4E9F4; }
.closing .btn-ghost:hover { border-color: #6B82B8; background: var(--navy-2); color: #fff; }
.next-strip { background: var(--bg-2); border-top: 1px solid var(--line); padding: 30px 0; }
.next-strip .wrap { align-items: center; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; }
.next-link { font-weight: 620; }
.runs { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.get .runs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.runs li { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-sm); list-style: none; padding: 16px; }
.runs b { color: var(--ink); display: block; font-size: 14.5px; font-weight: 620; margin-bottom: 5px; }
.runs span { color: var(--ink-3); font-size: 13.5px; line-height: 1.5; }

/* ── footer ────────────────────────────────────────────────────────────── */
.foot { background: var(--navy); color: #A9B6CE; font-size: 14px; padding: 52px 0 26px; }
.foot h3 { color: #fff; font: 620 12px/1.4 var(--sans); letter-spacing: .09em; margin: 0 0 14px; text-transform: uppercase; }
.foot-grid { display: grid; gap: 34px; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; }
.foot a { color: #C8D2E6; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot nav { display: grid; gap: 8px; }
.foot-brand p { color: #A9B6CE; font-size: 13.5px; line-height: 1.6; margin: 12px 0 0; }
.foot-brand b { color: #fff; display: block; font-size: 15px; font-weight: 640; }
.foot-brand span { display: block; margin-top: 5px; }
.foot-brand .foot-dev { color: #8A97B1; font-size: 13px; }
.foot-brand .foot-dev b { color: #E4E9F4; display: inline; font-size: 13px; font-weight: 620; }
.foot-brand img { border-radius: 7px; }
.foot-note { font-size: 13px; line-height: 1.6; }
.foot-base { border-top: 1px solid #263452; display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; margin-top: 34px; padding-top: 22px; }
.foot-base p { color: #7E8CAA; font-size: 12.5px; margin: 0; }
.foot-base b { color: #C8D2E6; }
.foot-base a { color: #A9B6CE; }

/* ── reveal (kept subtle) ──────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1160px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero-copy { max-width: 680px; }
  .feat-layout, .legal-layout { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .feat-index { position: static; display: flex; flex-wrap: wrap; gap: 4px; }
  .legal-layout .aside { order: -1; position: static; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 30px; }
}
@media (max-width: 980px) {
  .g-3, .papers, .design-tools, .runs, .flow-steps, .trades { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numbers .num-grid, .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .paper-sizes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .bezel { position: static; }
  .nav-toggle { display: inline-flex; min-height: 44px; }
  .nav { background: var(--bg); border-top: 1px solid var(--line); display: none; flex-basis: 100%;
    flex-direction: column; gap: 2px; left: 0; order: 3; padding: 10px 22px 16px; position: absolute; right: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 11px 10px; }
  .bezel-inner { flex-wrap: wrap; }
  .bezel-cta { margin-left: auto; }
  .band { padding: 48px 0; }
  .plans, .lock-grid, .shot-grid, .calc-grid, .steps, .get { grid-template-columns: minmax(0, 1fr); }
  .plan-wide { grid-template-columns: minmax(0, 1fr); }
  .shot-grid .shot:last-child { max-width: 71%; }
}
@media (max-width: 620px) {
  .g-2, .g-3, .papers, .grid, .design-tools, .runs, .flow-steps, .close-grid, .trades { grid-template-columns: minmax(0, 1fr); }
  .numbers .num-grid, .facts ul, .paper-sizes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li { border-left: 0; padding-left: 0; }
  .hero { padding: 34px 0 44px; }
  .hero-meta { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .btn-lg { font-size: 14.5px; padding: 13px 17px; }
  .req div, .leaders li { flex-wrap: wrap; }
  .req .fill, .leaders .fill { display: none; }
  .req b, .leaders .amt { flex: 1 1 100%; }
  .leaders .amt { white-space: normal; }
  .close-cta, .hero-cta { flex-direction: column; align-items: stretch; }
  .dues-table, .spec, .cmp { font-size: 13.5px; }
  .dues-table th, .dues-table td, .spec th, .spec td { padding: 9px 8px; }
  /* A wide table scrolls inside its own box; it never widens the page.
     On a phone the columns are squeezed to the width of the screen
     instead, so nothing is cut off and the page itself stays still. */
  .table-scroll { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
  .dues-table, .cmp.trade-cmp { table-layout: fixed; width: 100%; }
  .dues-table th, .dues-table td, .cmp.trade-cmp th, .cmp.trade-cmp td {
    padding: 8px 5px; overflow-wrap: anywhere; word-break: break-word; font-size: 12.5px;
  }
}

/* ── print ─────────────────────────────────────────────────────────────── */
@media print {
  .bezel, .foot, .nav-toggle, .get-cta, .hero-cta, .close-cta, .next-strip, .crumbs, .toc { display: none; }
  body { color: #000; font-size: 11.5pt; }
  .band, .card, .shot { border: 0; box-shadow: none; padding: 12px 0; }
  a { color: #000; text-decoration: none; }
}
