/* =====================================================================
   MarginGuard homepage, "In the margin".

   Black is your paperwork. Colour is MarginGuard's hand on it:
     the pen          notes and marks, in the margin
     the highlighter  money: what was overcharged, held or found
     the stamp        a status: Held, Blocked, Recovered
   Columns 10-12 of a 12-column grid are the margin. It is tinted, and a
   rule in the pen's colour runs down the page beside it.

   Text and records never move. Only the hand does, once (see "Motion").
   ===================================================================== */

/* ---------- type: three families, self-hosted, SIL Open Font License (see fonts/) ---------- */
@font-face{font-family:"Besley";font-style:normal;font-weight:400 700;font-display:swap;
  src:url(fonts/besley-latin.woff2) format("woff2")}
@font-face{font-family:"Castoro";font-style:normal;font-weight:400;font-display:swap;
  src:url(fonts/castoro-latin.woff2) format("woff2")}
@font-face{font-family:"Castoro";font-style:italic;font-weight:400;font-display:swap;
  src:url(fonts/castoro-italic-latin.woff2) format("woff2")}
@font-face{font-family:"Source Sans 3";font-style:normal;font-weight:400 700;font-display:swap;
  src:url(fonts/source-sans-3-latin.woff2) format("woff2")}
/* Stand-ins with the same width and height as the real faces, so nothing shifts when the real ones arrive. */
@font-face{font-family:"Besley standin";src:local("Georgia");size-adjust:114.6%;ascent-override:109.1%;descent-override:37.1%;line-gap-override:0%}
@font-face{font-family:"Castoro standin";src:local("Georgia");size-adjust:100.4%;ascent-override:75.2%;descent-override:24.4%;line-gap-override:0%}
@font-face{font-family:"Source Sans standin";src:local("Arial");size-adjust:91.3%;ascent-override:112.2%;descent-override:43.8%;line-gap-override:0%}

:root{
  /* Oxblood on white. The deep tone, #3A141C, is the colour the owner picked. */
  --paper:#FFFFFF;      /* the page */
  --margin:#F9F4F2;     /* the margin column */
  --sheet:#FFFFFF;      /* a document lying on the page */
  --ink:#1D1719;        /* print */
  --ink2:#655C5B;       /* captions and small print */
  --rn:#756B69;         /* row numbers in the sample files */
  --pen:#7A1F32;        /* the pen: MarginGuard's notes and marks */
  --pen-line:#D0B0B3;   /* the margin rule */
  --hi:#F4CF6E;         /* the highlighter: counted money only */
  --held:#7A1F32;       /* stamp: Held, Blocked */
  --ok:#27505B;         /* stamp: Recovered */
  --deep:#3A141C;       /* index tabs, the button, the film's room, the back cover, headings */
  --deep-2:#52202B;
  --on-deep:#FBF7F4; --on-deep-2:#E4D9D6; --on-deep-mute:#C9B8B6;
  --head:#3A141C;       /* headings */
  --rule:#3A141C;       /* the heavy rule that opens a section */
  --hair:#E2DAD6;       /* lines between rows of a table */
  --edge:#D3CBC7;       /* the edge of a sheet of paper */
  --field:#857A77;      /* the edge of a form field (3:1 on white) */
  --display:"Besley","Besley standin",Georgia,serif;                   /* a Clarendon: the face of invoices and ledgers */
  --text:"Castoro","Castoro standin",Georgia,"Times New Roman",serif;  /* reading text and the margin notes */
  --sans:"Source Sans 3","Source Sans standin",Arial,sans-serif;       /* records, tables, labels */
  --gut:24px;
  --side:64px;
  --ease:cubic-bezier(.22,.8,.24,1);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;overflow-x:clip;scroll-behavior:auto}
/* the dark bands are 100vw wide, which is wider than the page when a scrollbar takes room: clipping on the body as well
   as on the root keeps that from becoming a few pixels of sideways scroll (the root's value goes to the window) */
body{margin:0;overflow-x:clip;background:var(--paper);color:var(--ink);font-family:var(--text);font-size:19px;line-height:1.55;
  font-synthesis:none;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
::selection{background:color-mix(in srgb,var(--hi) 55%,transparent)}
img{display:block;max-width:100%;height:auto}
picture{display:block}
[hidden]{display:none !important}   /* contact.js hides the fields once a request is sent */
a{color:inherit;text-decoration-thickness:1px;text-underline-offset:.2em}
a:hover{text-decoration-thickness:2px}
:focus-visible{outline:2px solid var(--pen);outline-offset:3px}
p{margin:0 0 .85em}
h1,h2,h3{margin:0;font-weight:500}
[id]{scroll-margin-top:96px}
.num{font-variant-numeric:tabular-nums lining-nums;text-align:right;white-space:nowrap}
.nw{white-space:nowrap}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip{position:absolute;left:-999px;top:0}
.skip:focus{left:var(--side);top:8px;background:var(--paper);padding:8px 12px;z-index:60}
.text-link{text-decoration:underline}

.page{position:relative;max-width:1440px;margin:0 auto}
.wrap{padding-inline:var(--side)}
.grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gut)}

/* ---------- masthead: stays at the top of the window ---------- */
.mast{position:sticky;top:0;z-index:40;background:var(--paper)}
/* on windows wider than the page, the masthead's paper still reaches both edges, so nothing shows beside it while scrolling */
.mast::before{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:calc(50% - 50vw);right:calc(50% - 50vw);background:var(--paper)}
.mast-row{position:relative;display:flex;align-items:center;gap:28px;padding:16px 0 13px;border-bottom:2px solid var(--rule)}
.brand{display:flex;align-items:center;gap:10px;margin-right:auto;text-decoration:none;font-family:var(--sans);font-weight:650;font-size:22px;line-height:1;letter-spacing:-.022em;color:var(--ink)}
.brand svg{width:27px;height:27px;flex:none}
.brand svg .v{stroke:var(--pen)}
.mast-nav{display:flex;align-items:center;gap:28px;font-family:var(--sans);font-size:15px;font-weight:500}
.mast-nav a{text-decoration:none;padding:8px 0}
.mast-nav a:hover{text-decoration:underline}
.mast-nav .in-menu,.menu-button{display:none}
.btn{position:relative;display:inline-block;font-family:var(--sans);font-weight:600;font-size:16px;line-height:1;padding:14px 20px 15px;
  background:var(--deep);color:var(--on-deep);text-decoration:none;border:0;border-radius:0;cursor:pointer}
.btn::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--hi);transform:scaleX(0);transform-origin:0 50%}
.btn:hover,.btn:focus-visible{background:var(--deep-2)}
.btn:hover::after,.btn:focus-visible::after{transform:none}
.btn[disabled]{opacity:.6;cursor:default}
.mast .btn{font-size:14.5px;padding:11px 15px 12px}
.dateline{font-family:var(--sans);font-size:13.5px;line-height:1.4;color:var(--ink2);padding-top:9px}

/* ---------- the margin ----------
   In a 12-column grid, the middle of the gutter before column 10 is at 75% + a quarter gutter.
   The band runs from there to the edge of the window; the rule is its left edge. */
.below{position:relative}
.below::after,.below::before{content:"";position:absolute;z-index:0;top:0;bottom:0;
  left:calc(var(--side) + (100% - 2*var(--side))*.75 + var(--gut)/4)}
.below::after{right:calc(50% - 50vw);background:var(--margin)}
.below::before{width:1px;background:var(--pen-line);z-index:1}
.below>*{position:relative;z-index:2}

/* ---------- the hand: pen, highlighter, stamp ---------- */
.mnote{grid-column:10 / span 3;color:var(--pen);font-size:15.5px;line-height:1.42;margin:0}
.mnote p{margin:0 0 .7em}
.mnote a{color:inherit}
.k{position:relative;z-index:1;font-family:var(--sans);font-weight:700;font-size:.72em;color:var(--pen);margin-left:2px;vertical-align:.55em;line-height:0}
.tk{display:inline-block;width:11px;height:9px;margin-left:5px;color:var(--pen);vertical-align:.02em}
.tk path{fill:none;stroke:currentColor;stroke-width:1.7;stroke-dasharray:15}
/* the highlighter: one stroke behind a figure, cut a little unevenly at each end */
.hl{position:relative;display:inline-block;isolation:isolate;padding:0 .24em;margin:0 -.24em}
.hl::before{content:"";position:absolute;z-index:-1;left:0;right:0;top:9%;bottom:4%;background:var(--hi);opacity:.9;transform-origin:0 50%;
  clip-path:polygon(0 16%,2.5% 0,98% 5%,100% 20%,99% 86%,96.5% 100%,1.5% 95%,0 80%)}
/* the pen circles what is set aside to check (not counted, so not highlighted) */
.ring{position:relative;display:inline-block}
.ring svg{position:absolute;left:-10px;top:-6px;width:calc(100% + 20px);height:calc(100% + 11px);overflow:visible;pointer-events:none}
.ring path{fill:none;stroke:var(--pen);stroke-width:2.5;stroke-linecap:round;stroke-dasharray:1}
.ring+.k{margin-left:11px}
/* the pen underlines what a flagged figure was compared with */
.ref{position:relative;display:inline-block}
.ref::after{content:"";position:absolute;left:-1px;right:-1px;bottom:-3px;height:2px;background:var(--pen);transform-origin:0 50%}
/* a rubber stamp: the only capitals on the page */
.stamp{--r:-3deg;display:inline-block;flex:none;font-family:var(--display);font-weight:700;font-size:12.5px;line-height:1;letter-spacing:.09em;text-transform:uppercase;
  color:var(--held);border:2px solid currentColor;outline:1px solid currentColor;outline-offset:2px;border-radius:2px;
  padding:5px 8px 4px 9px;margin:0 3px;white-space:nowrap;transform:rotate(var(--r));filter:url(#ink)}
.stamp.ok{--r:2.2deg;color:var(--ok)}
.stamp.alt{--r:-1.4deg}
.callouts .stamp{display:block;width:max-content;margin:-3px 0 7px 3px}

/* ---------- opening ---------- */
.open{padding-top:58px;padding-bottom:92px}
h1{grid-column:1 / span 9;font-family:var(--display);font-size:50px;line-height:1.08;letter-spacing:-.016em;margin-bottom:44px;text-wrap:balance;color:var(--head)}
.open .mnote.first{align-self:start;padding-top:10px;font-size:16.5px}
.lede{grid-column:1 / span 4}
.standfirst{font-size:20.5px;line-height:1.5;margin:0 0 28px}
.small{font-family:var(--sans);font-size:14px;line-height:1.45;color:var(--ink2)}
.lede .small{margin:14px 0 0;max-width:26em}
.toc{margin:44px 0 0;padding:14px 0 0;border-top:1px solid var(--ink);font-family:var(--sans);font-size:14.5px;line-height:1.3}
.toc h2{font-family:var(--sans);font-weight:600;font-size:13.5px;margin-bottom:6px}
.toc ol{list-style:none;margin:0;padding:0}
.toc li{display:grid;grid-template-columns:22px 1fr}
.toc li span{color:var(--ink2);font-variant-numeric:tabular-nums;padding:4px 0}
.toc a{text-decoration:none;padding:4px 0}
.toc a:hover{text-decoration:underline}

/* ---------- exhibits ---------- */
.ex{margin:0}
.ex-head{font-family:var(--sans);font-size:14.5px;line-height:1.35;padding:9px 0 12px;border-top:1px solid var(--ink);margin:0}
.ex-head b{font-weight:700;margin-right:10px}
.source{font-family:var(--sans);font-size:13.5px;line-height:1.45;color:var(--ink2);margin:12px 0 0}

/* Exhibit 1: three files and the marks on them */
.ex1{grid-column:5 / span 8;display:grid;grid-template-columns:subgrid;align-content:start}
.ex1 .ex-head{grid-column:1 / span 5}
.ex1 .key{grid-column:6 / span 3;font-family:var(--sans);font-size:13.5px;line-height:1.35;margin:0;padding:10px 0 0;color:var(--ink2)}
.ex1 .key b{font-weight:600;color:var(--ink)}
.ex1 .key b.c{color:var(--pen)}
.sheet{background:var(--sheet);border:1px solid var(--edge);font-family:var(--sans);font-size:14.5px;line-height:1.3}
.sheet .cap{font-weight:600;font-size:12.5px;padding:9px 14px 0;height:30px}
.sheet .cap span{font-weight:400;color:var(--ink2);margin-left:6px}
.row{display:grid;grid-template-columns:24px 1.2fr 1.2fr 1.25fr .7fr 1fr;column-gap:10px;padding-inline:14px;align-items:baseline}
.row>*{min-width:0}
.row.hd{font-size:12.5px;color:var(--ink2);height:27px;align-items:end;padding-bottom:6px;position:relative}
.row.hd::after{content:"";position:absolute;left:14px;right:14px;bottom:0;border-bottom:1px solid var(--ink)}
.row .rn{color:var(--rn);font-size:12.5px;font-variant-numeric:tabular-nums}
.row small{display:block;font-size:12.5px;color:var(--ink2);white-space:nowrap;margin-top:2px}
.sheet .row.ln{min-height:36px;padding-top:9px;padding-bottom:8px;position:relative}
.sheet .row.ln+.row.ln::before,.invgrid .row.ln.sep::before{content:"";position:absolute;left:14px;right:14px;top:0;border-top:1px solid var(--hair)}
.sheet.po,.sheet.grn{grid-column:1 / span 5;margin-top:12px}
.sheet.po .row{grid-template-columns:24px 1.05fr 1.55fr 1.05fr .7fr 1fr}
.sheet .typ{color:var(--ink2);text-align:right}

.invgrid{grid-column:1 / -1;display:grid;grid-template-columns:subgrid;grid-template-rows:30px 27px;position:relative}
/* five of the figure's eight columns: 62.5% less three-eighths of a gutter */
.invgrid::before{content:"";position:absolute;left:0;top:0;bottom:0;width:calc(62.5% - var(--gut)*.375);background:var(--sheet);border:1px solid var(--edge)}
.invgrid .cap,.invgrid .row{grid-column:1 / span 5;font-family:var(--sans);font-size:14.5px;line-height:1.3;position:relative}
.invgrid .cap{grid-row:1;font-weight:600;font-size:12.5px;padding:9px 15px 0}
.invgrid .cap span{font-weight:400;color:var(--ink2);margin-left:6px}
.invgrid .row{padding-inline:15px}
.invgrid .row.hd{grid-row:2;font-size:12.5px}
.invgrid .row.hd::after{left:15px;right:15px}
.invgrid .row.ln{padding-top:10px;padding-bottom:10px;min-height:60px;align-items:start}
.invgrid .row.ln.sep::before{left:15px;right:15px}
.mark{grid-column:6 / span 3;position:relative;color:var(--pen);font-size:15px;line-height:1.36;padding:7px 0 8px}
.mark b{display:block;font-family:var(--sans);font-weight:600;font-size:13.5px;line-height:1.3;margin-bottom:1px}
.mark p{margin:0}
.mark::before,.callouts li::before{position:absolute;left:calc(var(--gut)/-2);top:8px;transform:translateX(-50%);width:20px;height:20px;border-radius:50%;
  background:var(--pen);color:#fff;font-family:var(--sans);font-weight:700;font-size:12px;line-height:20px;text-align:center}
.mark::before{content:attr(data-k)}
.mark::after{content:"";position:absolute;top:18px;height:1px;background:var(--pen);left:calc(var(--gut)*-1);width:calc(var(--gut)/2 - 10px)}
/* the money found */
.tally{grid-column:6 / span 3;grid-row:span 2;align-self:start;color:var(--pen);font-family:var(--sans);margin-top:12px}
.found{margin:0;padding-top:11px;border-top:1px solid var(--pen)}
.found .lab{display:block;font-weight:600;font-size:14px;line-height:1.3;margin-bottom:5px}
.found .amt{display:block;font-family:var(--display);font-weight:500;font-size:40px;line-height:1.12;letter-spacing:-.012em}
.found .amt .hl{padding:0 .16em;margin:0 -.16em}
.look{display:flex;justify-content:space-between;gap:16px;margin:14px 0 0;padding:8px 0 7px;border-top:1px solid var(--pen-line);border-bottom:1px solid var(--pen-line);font-size:15.5px;line-height:1.3}
.tally .tick-key{font-size:13.5px;line-height:1.35;margin:12px 0 0}
.tally .tick-key .tk{margin:0 6px 0 0}
.ex1 .source{grid-column:1 / span 5}

/* ---------- sections: each opens with a rule and an index tab ---------- */
.sec{padding-top:0;padding-bottom:96px}
.sec-head{border-top:2px solid var(--rule);margin-bottom:30px;align-items:start}
.sec-head .no{grid-column:1 / span 2}
.sec-head .no i{display:grid;place-items:center;width:48px;height:48px;padding-bottom:2px;background:var(--deep);color:var(--hi);
  font-family:var(--display);font-style:normal;font-weight:500;font-size:26px;line-height:1}
.sec-head h2{grid-column:3 / span 7;padding-top:17px;font-family:var(--display);font-size:30px;line-height:1.15;letter-spacing:-.012em;color:var(--head)}
.sec-head .no:empty{min-height:1px}
.text{grid-column:3 / span 6}
.main{grid-column:3 / span 7}
.sec .grid>.mnote{padding-top:4px}
.sec .text+.mnote+.main,.sec .text+.main{margin-top:18px}
.gap{margin-top:40px}
h3.sub{font-family:var(--display);font-size:21px;line-height:1.25;letter-spacing:-.006em;color:var(--head);margin-bottom:10px}

/* tables set as statements */
.ledger{width:100%;border-collapse:collapse;font-family:var(--sans);font-size:15.5px;line-height:1.38}
.ledger th{font-weight:600;font-size:13px;text-align:left;vertical-align:bottom;padding:0 0 7px;border-bottom:1px solid var(--ink)}
.ledger td,.ledger tbody th{padding:10px 0 10px;border-bottom:1px solid var(--hair);vertical-align:top}
.ledger tbody th{font-size:inherit}
.ledger th+th,.ledger td+td,.ledger th+td{padding-left:22px}
.ledger th.num,.ledger td.num{text-align:right}
.ledger tr.total td{font-weight:600;border-top:1px solid var(--ink);border-bottom:3px double var(--ink)}
.checks tbody th{width:21%;white-space:nowrap}
.checks td:last-child{width:23%;color:var(--ink2)}
/* a sideline: the margin rule thickens beside the rows a note is about */
.checks tr.shown td:last-child{position:relative}
.checks tr.shown td:last-child::after{content:"";position:absolute;top:-1px;bottom:0;width:3px;right:calc(var(--gut)/-2 - 1.5px);background:var(--pen);transform-origin:50% 0}
.mnote.split{display:flex;flex-direction:column;justify-content:space-between;margin-top:18px}
.mnote.split p:first-child{margin-top:31px}
.mnote.split p:last-child{margin-bottom:.7em}
.files td:last-child{color:var(--ink2);text-align:right;white-space:nowrap}

/* 1: the free scan, three steps */
.steps{grid-column:3 / span 7;display:grid;grid-template-columns:subgrid;list-style:none;margin:0;padding:0;counter-reset:s}
.steps li{grid-column:1 / -1;display:grid;grid-template-columns:subgrid;padding:15px 0 6px;border-top:1px solid var(--hair);counter-increment:s}
.steps li:first-child{border-top:1px solid var(--ink)}
.steps h4{margin:0;font-weight:500;grid-column:1 / span 2;position:relative;padding-left:22px;font-family:var(--display);font-size:19.5px;line-height:1.3;letter-spacing:-.005em;color:var(--head)}
.steps h4::before{content:counter(s);position:absolute;left:0;top:.28em;font-family:var(--sans);font-weight:400;font-size:15px;line-height:1.3;color:var(--ink2);font-variant-numeric:tabular-nums}
.steps p{grid-column:3 / span 5;font-size:18px;line-height:1.5}

/* screens with notes in the margin */
.shot{grid-column:3 / span 10;display:grid;grid-template-columns:subgrid;margin-top:20px}
.shot .ex-head{grid-column:1 / span 7}
.plate{grid-column:1 / -1;display:grid;grid-template-columns:subgrid}
.mount{grid-column:1 / span 7;position:relative;border:1px solid color-mix(in srgb,var(--ink) 30%,transparent);background:var(--sheet)}
.shot.narrow .mount{grid-column:1 / span 6}
.mount img{width:100%}
.pins{display:none}
.callouts{grid-column:8 / span 3;position:relative;list-style:none;margin:0;padding:0;counter-reset:c;color:var(--pen);font-size:15px;line-height:1.36}
.callouts li{position:absolute;left:0;right:0;top:calc(var(--y)*1%);margin-top:-18px;padding-top:8px;counter-increment:c}
.callouts li::before{content:counter(c)}
.callouts li::after{content:"";position:absolute;top:18px;height:1px;background:var(--pen);transform-origin:0 50%;
  left:calc(var(--gut)*-1 - var(--reach,0px));width:calc(var(--gut)/2 - 10px + var(--reach,0px))}
.shot.narrow .callouts li{--reach:calc((100% - 2*var(--gut))/3 + var(--gut))}

/* ---------- the film ---------- */

/* ---------- Exhibit 4: a ledger on the page grid ---------- */
.book{grid-column:3 / span 10;display:grid;grid-template-columns:subgrid;margin-top:0;font-family:var(--sans);font-size:15.5px;line-height:1.35}
.book .ex-head{grid-column:1 / span 7}
.book .r{grid-column:1 / -1;display:grid;grid-template-columns:subgrid;align-items:baseline;border-bottom:1px solid var(--hair);padding:9px 0 9px}
.book .r>*{min-width:0}
.book .r.hd{font-weight:600;font-size:13px;border-bottom:1px solid var(--ink);padding:0 0 7px;align-items:end}
.book .r .inv{grid-column:1 / span 2}
.book .r .st{grid-column:8 / span 3;color:var(--pen);font-family:var(--text);font-size:15px;line-height:1.36;display:flex;align-items:center;gap:12px}
.book .r.hd .st{font-family:var(--sans);font-size:13px;font-weight:600;line-height:inherit}
.book .r.grp{border-bottom:0;padding:20px 0 4px;font-weight:600}
.book .r.grp span{grid-column:1 / span 7}
.book .r.grp em{font-style:normal;font-weight:400;color:var(--ink2)}
.book .r.tot{font-weight:600;border-top:1px solid var(--ink);border-bottom:0;padding-top:11px;margin-top:-1px;font-size:16.5px}
.book .r.of{border-bottom:0;padding:3px 0}
.book .r.of .lab{grid-column:1 / span 6;padding-left:22px;color:var(--ink2)}
.book .r.tot .lab{grid-column:1 / span 6}
.book .r.end{border-bottom:3px double var(--ink);padding-bottom:9px}
.book .r.end .lab{color:var(--ink)}
.book .dash{color:var(--ink2)}

/* ---------- a list beside a small table ---------- */
.two{grid-column:3 / span 7;display:grid;grid-template-columns:subgrid;margin-top:8px}
.two .a{grid-column:1 / span 3}
.two .b{grid-column:4 / span 4;margin:0}
.plain{margin:0;padding:0 0 0 1.05em;font-size:18px;line-height:1.5}
.plain li{margin-bottom:5px;padding-left:2px}

/* ---------- what it doesn't do ---------- */
.nots p{margin:0 0 .95em}
.nots b{font-family:var(--display);font-weight:500;font-size:.97em;letter-spacing:-.005em;margin-right:.15em;color:var(--head)}

/* ---------- price and the founder ---------- */
.terms{width:100%;border-collapse:collapse;font-family:var(--sans);font-size:16px;line-height:1.4;margin-bottom:26px}
.terms th{font-weight:600;text-align:left;vertical-align:top;white-space:nowrap;padding:10px 26px 10px 0;border-bottom:1px solid var(--hair);width:1%}
.terms td{padding:10px 0;border-bottom:1px solid var(--hair)}
.terms tr:first-child th,.terms tr:first-child td{border-top:1px solid var(--ink)}
.act{display:flex;align-items:center;flex-wrap:wrap;gap:12px 22px;font-family:var(--sans);font-size:15.5px;margin-bottom:44px}
.letter p{font-size:19.5px;line-height:1.55}
.sig{font-family:var(--sans);font-size:15.5px;line-height:1.45;margin:26px 0 0}
.sig b{display:block;font-family:var(--display);font-weight:500;font-size:21px;margin-bottom:2px;color:var(--head)}

/* the contact form: a sheet to fill in */
.contact-form{display:grid;gap:16px;padding:22px 24px 24px;background:var(--sheet);border:1px solid var(--edge);font-family:var(--sans)}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:16px 20px}
.contact-form label{display:block;font-size:14px;font-weight:600;line-height:1.3}
.contact-form .optional{font-weight:400;color:var(--ink2)}
.contact-form input,.contact-form select,.contact-form textarea{display:block;width:100%;min-height:44px;margin-top:6px;padding:9px 11px;
  border:1px solid var(--field);border-radius:0;background:#fff;color:var(--ink);font:400 16px/1.4 var(--sans)}
.contact-form textarea{min-height:112px;resize:vertical}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{outline:2px solid var(--pen);outline-offset:0;border-color:var(--pen)}
.contact-form [aria-invalid="true"]{border-color:var(--pen);box-shadow:inset 3px 0 0 var(--pen)}
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.no-script{font-size:17.5px;margin:0}
html.js .no-script,html:not(.js) .contact-form{display:none}   /* the form posts through contact.js; without scripts, show the address instead */
.form-foot{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px}
.form-note{margin:0;font-size:14px;color:var(--ink2)}
.form-status{margin:0;font-size:16px;line-height:1.45}
.form-status:empty{display:none}
.form-status[data-tone="error"]{color:var(--pen);font-weight:600}
.form-status[data-tone="success"]{padding:14px 16px;background:var(--margin);border-left:3px solid var(--pen);font-family:var(--text);font-size:18px}

/* ---------- questions ---------- */
.faq{grid-column:3 / span 6;border-top:1px solid var(--ink)}
.faq details{border-bottom:1px solid var(--hair)}
.faq summary{display:flex;justify-content:space-between;align-items:baseline;gap:20px;cursor:pointer;list-style:none;padding:14px 0 13px;
  font-family:var(--display);font-weight:500;font-size:19.5px;line-height:1.3;letter-spacing:-.005em;color:var(--head)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";flex:none;font-family:var(--sans);font-weight:400;font-size:22px;line-height:1;color:var(--ink2)}
.faq details[open] summary::after{content:"\2212"}
.faq details>p,.faq details>ul{margin:0 0 16px;font-size:18px;line-height:1.55;max-width:34em}
.faq details>ul{padding-left:1.05em}
.faq li{margin-bottom:4px}

/* ---------- what's new: a dated log ---------- */
.change-list{grid-column:1 / span 9;display:grid;grid-template-columns:subgrid;list-style:none;margin:0;padding:0}
.change-list li{grid-column:1 / -1;display:grid;grid-template-columns:subgrid;align-items:baseline;padding:14px 0 4px;border-top:1px solid var(--hair)}
.change-list li:first-child{border-top:0;padding-top:0}
.change-list small{grid-column:1 / span 2;font-family:var(--sans);font-size:13.5px;line-height:1.4;color:var(--ink2)}
.change-list li>div{grid-column:3 / span 6}
.change-list h2{font-family:var(--sans);font-weight:600;font-size:17px;line-height:1.35;margin-bottom:3px}
.change-list p{font-size:17.5px;line-height:1.5}
.sec.last{padding-bottom:88px}

/* ---------- colophon: the back cover ---------- */

/* =====================================================================
   Motion. Text and records never move. Three things do, each once:

   1. The hand. When an exhibit comes into view, MarginGuard's marks are
      made in reading order: a tick is drawn, the highlighter is pulled
      across a figure, the pen underlines or circles, a note is written
      beside it, a stamp is pressed, a total is written out.
   2. The film. Its opening frame eases in, and four frames follow.
   3. The index tab at the head of each section slides out.

   With reduced motion (or ?motion=off) none of this is applied and the
   page is complete and still from the first paint. The class "m" on
   <html> switches it on; home.js starts each score.

   --d  when a mark is made, in ms from the start of its exhibit
   --k  pace: 1 on a first visit, shorter afterwards
   --t  used only to freeze the score at one moment (?t=1500), for stills
   ===================================================================== */
@media (prefers-reduced-motion:no-preference){
  html.m [data-a],html.m .hl::before,html.m .ref::after,html.m .tk path,html.m .ring path,html.m .ch,html.m .stamp,
  html.m .mark,html.m .mark::before,html.m .callouts li,html.m .callouts li::before,html.m .callouts li::after,
  html.m .book [data-step] .st,html.m .shown td:last-child::after{
    animation-duration:.45s;animation-timing-function:var(--ease);animation-fill-mode:both;animation-play-state:paused;
    animation-delay:calc(var(--d,0ms)*var(--k,1) - var(--t,0ms))}
  html.m .go [data-a],html.m .go .hl::before,html.m .go .ref::after,html.m .go .tk path,html.m .go .ring path,html.m .go .ch,html.m .go .stamp,
  html.m .go .mark,html.m .go .mark::before,html.m .go .callouts li,html.m .go .callouts li::before,html.m .go .callouts li::after,
  html.m .go [data-step] .st,html.m .go .shown td:last-child::after{animation-play-state:running}

  /* 1. the hand */
  html.m .tk path{animation-name:draw;animation-duration:.28s}                /* a tick */
  html.m .hl::before{animation-name:sweep;animation-duration:.42s}            /* the highlighter */
  html.m .hl.glow::before{animation-name:sweep,glow;animation-duration:.42s,.95s;animation-timing-function:var(--ease),ease-in-out;
    animation-delay:calc(var(--d,0ms)*var(--k,1) - var(--t,0ms)),calc(var(--g,0ms)*var(--k,1) - var(--t,0ms))} /* ...answers once when the total lands */
  html.m .ref::after{animation-name:sweep;animation-duration:.3s}             /* the pen underlines */
  html.m .ring path{animation-name:circle;animation-duration:.62s;animation-timing-function:cubic-bezier(.4,.1,.3,1)} /* the pen goes round once */
  html.m [data-a="fade"],html.m .mark,html.m .callouts li,html.m .book [data-step] .st{animation-name:fade;animation-duration:.4s} /* a note is written */
  html.m .mark::before,html.m .callouts li::before{animation-name:bead;animation-duration:.32s;
    animation-delay:calc((var(--d,0ms) + 90ms)*var(--k,1) - var(--t,0ms))}
  html.m .callouts li::after{animation-name:sweep;animation-duration:.34s}    /* a line is ruled from the picture to its note */
  html.m .ch{animation-name:fade;animation-duration:.24s;                       /* a total, written figure by figure (kept inline, so the figures keep their spacing) */
    animation-delay:calc((var(--d,0ms) + var(--i,0)*58ms)*var(--k,1) - var(--t,0ms))}
  html.m .stamp{animation-name:press;animation-duration:.5s;animation-timing-function:cubic-bezier(.2,.9,.25,1); /* a stamp is pressed */
    animation-delay:calc((var(--d,0ms) + var(--sd,300ms))*var(--k,1) - var(--t,0ms))}
  html.m .book [data-step] .st{animation-delay:calc((var(--d,0ms) + 130ms)*var(--k,1) - var(--t,0ms))}
  html.m .book .stamp{--sd:300ms}
  html.m .book .tot .hl::before{animation-delay:calc((var(--d,0ms) + 430ms)*var(--k,1) - var(--t,0ms))}
  html.m .shown td:last-child::after{animation-name:rule;animation-duration:.2s;animation-timing-function:linear} /* the sideline is ruled downwards */
  html.m .shown:nth-child(1) td:last-child::after{--d:250ms}
  html.m .shown:nth-child(2) td:last-child::after{--d:450ms}
  html.m .shown:nth-child(3) td:last-child::after{--d:650ms}
  html.m .faq .hl::before{animation:none}                                      /* inside a closed answer: simply there when it is opened */
  /* 2. the film */
  html.m [data-a="push"]{animation-name:push;animation-duration:1.6s;animation-timing-function:cubic-bezier(.16,.7,.2,1)}
  /* 3. the index tab */
  html.m [data-a="slide"]{animation-name:slide}

  @keyframes draw{from{stroke-dashoffset:15}to{stroke-dashoffset:0}}
  @keyframes sweep{from{transform:scaleX(0)}to{transform:none}}
  @keyframes glow{0%,100%{scale:1;filter:none}45%{scale:1.05 1.24;filter:saturate(1.3) brightness(1.03)}}
  @keyframes circle{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
  @keyframes fade{from{opacity:0}to{opacity:1}}
  @keyframes bead{from{opacity:0;transform:translateX(-50%) scale(.3)}to{opacity:1;transform:translateX(-50%)}}
  @keyframes press{0%{opacity:0;transform:rotate(var(--r,-3deg)) scale(1.5)}55%{opacity:1;transform:rotate(var(--r,-3deg)) scale(.96)}100%{opacity:1;transform:rotate(var(--r,-3deg))}}
  @keyframes rule{from{transform:scaleY(0)}to{transform:none}}
  @keyframes push{from{opacity:0;transform:scale(1.06)}to{opacity:1;transform:none}}
  @keyframes slide{from{opacity:0;transform:translateX(-14px)}to{opacity:1;transform:none}}

  /* things that answer the pointer */
  .btn{transition:background-color .2s var(--ease)}
  .btn::after{transition:transform .32s var(--ease)}

  .mount{transition:border-color .25s var(--ease)}

  .mark::before,.callouts li::before{transition:scale .2s var(--ease)}
  .mark,.book .r{transition:background-color .2s var(--ease)}
  .ring path{transition:stroke-width .2s var(--ease)}
}
@media print{*,*::before,*::after{animation:none !important}.mast{position:static}}
@media (hover:hover){
  .shot:hover .mount{border-color:var(--pen)}

  .callouts li:hover::before,.mark:hover::before{scale:1.18}
  .callouts li:hover::after{height:2px;top:17.5px}
  /* a note and the figures it is about answer each other */
  .ex1:has(.mark[data-k="a"]:hover) .row [data-k="a"],.ex1:has(.mark[data-k="b"]:hover) .row [data-k="b"]{outline:1.5px solid var(--pen);outline-offset:3px}
  .ex1:has(.mark[data-k="c"]:hover) .ring path{stroke-width:3.4}
  .ex1:has(.row [data-k="a"]:hover) .mark[data-k="a"],.ex1:has(.row [data-k="b"]:hover) .mark[data-k="b"],.ex1:has(.row [data-k="c"]:hover) .mark[data-k="c"]{background:color-mix(in srgb,var(--hi) 34%,transparent)}
  .book .r[data-step]:hover{background:color-mix(in srgb,var(--hi) 16%,transparent)}
}

/* =====================================================================
   1280 and narrower desktops
   ===================================================================== */
@media (max-width:1360px){
  :root{--side:56px}
  h1{font-size:44px;margin-bottom:38px}
  .standfirst{font-size:19.5px}
  .sheet,.invgrid .row{font-size:14px}
  .mark,.callouts,.book .r .st{font-size:14.5px}
  .mnote{font-size:15px}
  .found .amt{font-size:36px}

  .mast-nav{gap:22px}
}

/* =====================================================================
   Below 1100: one column. The margin folds into the text: each note
   becomes a slip of the margin's paper with a piece of its rule. The
   masthead's links move behind a Menu button.
   ===================================================================== */
@media (max-width:1099px){
  :root{--side:40px;--gut:20px}
  .below::before,.below::after{display:none}
  .page{max-width:820px}
  .mast{max-width:none}
  .grid,.shot,.plate,.book,.two,.invgrid,.steps,.steps li,.change-list,.change-list li{display:block}
  .mast-row{gap:14px}
  .menu-button{display:inline-block;font-family:var(--sans);font-weight:600;font-size:14.5px;line-height:1;padding:11px 13px 12px;min-height:40px;
    background:none;color:var(--ink);border:1px solid var(--ink);border-radius:0;cursor:pointer}
  html:not(.js) .menu-button{display:none}
  .mast-nav{display:none;position:absolute;left:calc(var(--side)*-1);right:calc(var(--side)*-1);top:100%;margin-top:2px;padding:6px var(--side) 18px;
    background:var(--paper);border-bottom:2px solid var(--rule);font-size:16.5px;max-height:calc(100vh - 70px);overflow:auto}
  .mast-nav.is-open{display:block}
  .mast-nav a,.mast-nav .in-menu{display:block;padding:12px 0 11px;border-bottom:1px solid var(--hair)}
  .ex1{display:flex;flex-direction:column}
  .ex1 .tally{order:2}
  .ex1 .source{order:3}
  .mnote{background:var(--margin);border-left:2px solid var(--pen-line);padding:11px 14px 4px;margin:18px 0 22px}
  .sec .grid>.mnote{padding-top:11px}
  .mnote.split{display:block}
  .mnote.split p:first-child{margin-top:0}
  .checks tr.shown td:last-child::after{display:none}
  h1{font-size:40px;margin-bottom:26px}
  .open{padding-top:40px;padding-bottom:72px}
  .lede{margin-bottom:44px}
  .toc{display:none}
  .invgrid{background:var(--sheet);border:1px solid var(--edge)}
  .invgrid::before{display:none}
  .invgrid .cap{height:30px}
  .invgrid .row.hd{height:27px}
  .invgrid .row.ln{min-height:0;padding-bottom:10px}
  .mark{margin:0 15px;padding:0 0 12px 30px;border-top:0}
  .mark::before{left:0;top:0;transform:none}
  .mark::after{display:none}
  .ex1 .key{padding:0 0 12px}
  .tally{margin-top:18px;align-self:stretch;background:var(--margin);border-left:2px solid var(--pen-line);padding:0 14px 12px}
  .found{border-top:0}
  .sec{padding-bottom:76px}
  .sec-head{display:flex;align-items:flex-start;gap:16px;margin-bottom:22px}
  .sec-head .no i{width:42px;height:42px;font-size:23px}
  .sec-head h2{padding-top:12px}
  .sec-head .no:empty{display:none}
  .steps h4{margin-bottom:4px}
  .shot,.book{margin-top:22px}
  .mount{margin-right:14px}
  .pins{display:block}
  .pins i{position:absolute;right:-11px;top:calc(var(--y)*1%);transform:translateY(-50%);width:21px;height:21px;border-radius:50%;background:var(--pen);color:#fff;
    font:700 12px/21px var(--sans);text-align:center;font-style:normal}
  .callouts{margin-top:14px;font-size:15.5px}
  .callouts li{position:relative;top:auto;margin:0 0 8px;padding:0 0 0 32px}
  .callouts li::before{left:0;top:0;transform:none}
  .callouts li::after{display:none}

  .book .r{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr 1fr 1.2fr;column-gap:10px}
  .book .r .inv{grid-column:auto}
  .book .r .st{grid-column:1 / -1;padding-top:5px}
  .book .r.hd .st{display:none}
  .book .r.grp span,.book .r .lab,.book .r.tot .lab,.book .r.of .lab{grid-column:1 / span 5}
  .two .b{margin-top:26px}
  .change-list small{display:block;margin-bottom:3px}

  /* stacked, the beads sit still, so their little animation must not carry the desktop offset */
  @keyframes bead{from{opacity:0;scale:.3}to{opacity:1;scale:1}}
}
/* phone */
@media (max-width:700px){
  :root{--side:18px;--gut:16px}
  body{font-size:18px}
  [id]{scroll-margin-top:78px}
  .mast-row{gap:10px;padding:11px 0 9px}
  .brand{font-size:20px;gap:8px}
  .brand svg{width:24px;height:24px}
  .mast .btn{font-size:14px;padding:12px 12px 13px}
  .menu-button{font-size:14px;padding:11px 11px 12px}
  .dateline{font-size:12.5px}
  .open{padding-top:30px;padding-bottom:60px}
  h1{font-size:31px;line-height:1.12;letter-spacing:-.012em;margin-bottom:18px}
  .open .mnote.first{font-size:15.5px;margin:0 0 22px}
  .standfirst{font-size:18.5px;margin-bottom:22px}
  .sheet,.invgrid .row{font-size:13.5px}
  .row{grid-template-columns:16px 1.15fr 1.15fr 1.3fr .6fr .95fr;column-gap:7px;padding-inline:10px}
  .invgrid .row{padding-inline:10px}
  .sheet.po .row{grid-template-columns:16px 1.05fr 1.95fr 1.25fr .5fr .8fr}
  .sheet.grn .row{grid-template-columns:16px 1.15fr 1.15fr 1.3fr .5fr 1.05fr}
  .sheet .cap,.invgrid .cap{padding-inline:10px}
  .row.hd::after,.invgrid .row.hd::after,.sheet .row.ln+.row.ln::before,.invgrid .row.ln.sep::before{left:10px;right:10px}
  .mark{margin:0 10px}
  .found .amt{font-size:36px}
  .sec{padding-bottom:60px}
  .sec-head{gap:13px}
  .sec-head .no i{width:38px;height:38px;font-size:21px}
  .sec-head h2{font-size:25px;padding-top:9px}
  .steps p{font-size:17px}
  .ledger{font-size:14.5px}
  .checks thead{display:none}
  .checks,.checks tbody,.checks tr,.checks td,.checks tbody th{display:block;width:auto !important}
  .checks tr{border-bottom:1px solid var(--hair);padding:10px 0}
  .checks tr:first-child{border-top:1px solid var(--ink)}
  .checks td,.checks tbody th{border:0;padding:0 !important;white-space:normal !important}
  .checks td:last-child{font-size:13.5px;margin-top:2px}

  .book{font-size:14px}
  .book .r .dt{display:none}
  .book .r{grid-template-columns:1.5fr .9fr .9fr .9fr 1fr;column-gap:6px}
  .book .r.tot{font-size:15px}
  .book .r.grp span,.book .r .lab,.book .r.tot .lab,.book .r.of .lab{grid-column:1 / span 4}
  .book .r.of .lab{padding-left:12px}
  .book .x{display:none}
  .book .r.hd{white-space:nowrap}
  .plain{font-size:17px}
  .terms,.terms tbody,.terms tr,.terms th,.terms td{display:block;width:auto}
  .terms th{border:0;padding:10px 0 0}
  .terms td{padding:2px 0 10px}
  .terms tr:first-child td{border-top:0}
  .letter p{font-size:18px}
  .contact-form{padding:16px 14px 18px}
  .field-row{grid-template-columns:1fr}
  .faq summary{font-size:18px}
  .faq details>p,.faq details>ul{font-size:17px}
  .change-list p{font-size:17px}
  .pins i{top:calc(var(--ym,var(--y))*1%)}
  .wide{display:none}
  /* a hidden first note still counts, so the numbers under the picture match the pins on it */
  .callouts li.wide:first-child{display:block;visibility:hidden;height:0;margin:0;padding:0;overflow:hidden}
}
/* the narrowest phones: the masthead keeps the name and the menu; the button is just below it on the page */
@media (max-width:359px){
  .mast .btn{display:none}
}

/* =====================================================================
   Second edition, 27 Nov 2026: the compact homepage, the product menu
   and the smaller pages (how it works, pricing, what's new, security).
   Every name below is new; nothing above was renamed.

   Two traps to remember when adding to this file:
   - --t, --d and --k are the motion clock. A mark's position on a
     picture uses --mx --my --mw --mh, never --t.
   - Short class names clash. Check that a new name is not taken.
   ===================================================================== */

/* ---------- the product menu ---------- */
.caret{display:inline-block;width:7px;height:7px;margin:0 0 3px 7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
.mast-nav .product-button[aria-expanded="true"],.mast-nav a[aria-current="page"]{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.5em;text-decoration-color:var(--pen)}
.product-button[aria-expanded="true"] .caret{transform:rotate(-135deg);margin-bottom:-2px}
/* the same eight things as the grid on the homepage, without the pictures */
.mega{position:absolute;left:0;right:0;top:100%;background:var(--paper)}
.mega::before{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:calc(50% - 50vw);right:calc(50% - 50vw);background:var(--paper)}
.mega-in{border-bottom:2px solid var(--rule);padding:6px 0 18px}
.mega-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:var(--gut);list-style:none;margin:0;padding:0}
.mega-list a{display:block;height:100%;padding:15px 0 14px;border-bottom:1px solid var(--hair);text-decoration:none}
.mega-list b{display:block;font-family:var(--display);font-weight:500;font-size:18.5px;line-height:1.25;color:var(--head);margin-bottom:3px}
.mega-list span{display:block;font-family:var(--sans);font-size:14.5px;line-height:1.4;color:var(--ink2)}
.mega-list a:hover b{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.18em;text-decoration-color:var(--pen)}
.mega-foot{display:flex;gap:28px;margin:0;padding-top:16px;font-family:var(--sans);font-size:14.5px;font-weight:600}
.mega-foot a{text-decoration:none}
.mega-foot a::after{content:"\2192";margin-left:6px}
.mega-foot a:hover{text-decoration:underline}

/* a link that leads on: used at the end of rows and section heads */
.more{font-family:var(--sans);font-size:15px;font-weight:600;white-space:nowrap;text-decoration:none}
.more::after{content:"\2192";margin-left:7px}
.more:hover{text-decoration:underline}
.more[aria-expanded="true"]::after{content:"\2193"}
.lead-on{margin:22px 0 0}

/* ---------- homepage hero: one line, one sub-line, one button, and the worked example made small ---------- */

.act small{font-family:var(--sans);font-size:14.5px;line-height:1.35;color:var(--ink2)}

/* the worked example: your records on white sheets, MarginGuard's margin beside them */

/* ---------- the product, as eight tiles ---------- */

/* the hand marks one thing on each screen: the highlighter for money, the pen for a name.
   --mx --my --mw --mh say where that thing sits in the picture, in percent. */

/* ---------- the film as one band (the homepage) ---------- */
   /* per side: the shorthand would wipe the band's side padding */

/* ---------- the rest of the homepage, as short rows ---------- */
.rows{border-top:2px solid var(--rule);font-size:18px;line-height:1.45}
.rows .item{display:grid;grid-template-columns:subgrid;grid-column:1 / -1;align-items:baseline;padding:18px 0 17px;border-bottom:1px solid var(--hair)}
.rows h2{grid-column:1 / span 2;font-family:var(--display);font-size:21px;line-height:1.25;letter-spacing:-.006em;color:var(--head)}
.rows .item>p{grid-column:3 / span 7;margin:0}
.rows .item>.more{grid-column:10 / span 3;justify-self:end}
/* the contact form opens in place under "The founder" */
.contact-panel{grid-column:3 / span 7;padding:20px 0 6px}
html.js .contact-panel:not(.is-open){display:none}
.contact-panel>p{margin:0 0 16px}

/* ---------- the smaller pages ---------- */
.page-head{padding-top:54px;padding-bottom:46px}
.page-head h1{margin-bottom:20px}
.page-head h1:only-child{margin-bottom:0}
.page-head .standfirst{grid-column:1 / span 6;margin:0}
.page-head .mnote{grid-row:1;align-self:start;padding-top:10px;font-size:16.5px}
.ruled{border-top:2px solid var(--rule);padding-top:28px}
/* where a table of terms comes first, the rule above it is its top edge */
.ruled.abut{padding-top:5px}
.abut .terms tr:first-child th,.abut .terms tr:first-child td{border-top:0}
.doc-toc{grid-column:1 / span 2;align-self:start;position:sticky;top:96px;font-family:var(--sans);font-size:14.5px;line-height:1.3}
.doc-toc h2{font-family:var(--sans);font-weight:600;font-size:13.5px;margin-bottom:6px}
.doc-toc ol{list-style:none;margin:0;padding:0}
.doc-toc a{display:block;padding:4px 0;text-decoration:none}
.doc-toc a:hover{text-decoration:underline}
.doc{grid-column:3 / span 6}
.doc article{padding:24px 0 8px;border-top:1px solid var(--hair)}
.doc article:first-child{border-top:0;padding-top:0}
.doc h2{font-family:var(--display);font-size:24px;line-height:1.2;letter-spacing:-.008em;color:var(--head);margin-bottom:10px}
.doc ul{margin:0 0 .85em;padding-left:1.05em}
.doc li{margin-bottom:6px;padding-left:2px}
.doc strong{font-family:var(--display);font-weight:500;font-size:.97em;letter-spacing:-.005em;color:var(--head)}

/* ---------- motion for the new marks (the same rule as above: only the hand moves, once) ---------- */

/* ---------- narrower desktops ---------- */

/* ---------- below 1100: one column; two tiles a row; the menu goes behind its button ---------- */
@media (max-width:1099px){
  .mast-nav .product-button,.mega{display:none}

  .rows .item{display:block;padding:16px 0 15px}
  .rows h2{margin-bottom:4px}
  .rows .item>.more{display:inline-block;margin-top:8px}
  .contact-panel{padding-top:16px}
  .page-head{padding-top:40px;padding-bottom:40px}
  .page-head .mnote{margin:18px 0 0}
  .doc-toc{position:static;margin-bottom:28px}
  .doc-toc ol{columns:2;column-gap:var(--gut)}
}
/* ---------- phones ---------- */
@media (max-width:700px){

  .more{font-size:14px}

  .rows{font-size:17px}
  .rows h2{font-size:19px}
  .page-head{padding-top:30px;padding-bottom:32px}
  .page-head h1{margin-bottom:14px}
  .doc h2{font-size:21px}
  .doc-toc ol{columns:1}
}

/* =====================================================================
   Third edition of the homepage (27 Nov 2026): full-width bands, a larger opening with a product card that
   assembles once, the "How it works" scroll story, the product showcase, the numbers, the film as a dark room,
   and a full footer on every page.
   Motion: transform and opacity only, once, and none with reduced motion (html.m is the gate, as above).
   ===================================================================== */
:root{--warm:#F6F1EE;--night:#170C10}

/* ---------- bands: white, warm grey, one deep oxblood, and the film's dark room; each runs the full width ---------- */
.band{position:relative;isolation:isolate;padding-block:112px}
.band::before{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:calc(50% - 50vw);right:calc(50% - 50vw);background:var(--paper)}
.band-warm::before{background:var(--warm)}
.band-deep{color:var(--on-deep)}
.band-deep::before{background:var(--deep)}
.cinema{color:var(--on-deep)}
.cinema::before{background:var(--night)}
.kicker{font-family:var(--sans);font-size:14px;font-weight:600;letter-spacing:.01em;color:var(--pen);margin:0 0 14px}
.band-head{max-width:860px;margin-bottom:56px}
.band-head-split{max-width:none;display:flex;justify-content:space-between;align-items:flex-end;gap:32px}
.band-head h2,.cinema-head h2,.closing h2{font-family:var(--display);font-size:clamp(32px,3.5vw,52px);line-height:1.06;letter-spacing:-.018em;color:var(--head);text-wrap:balance}
.btn-big{font-size:17px;padding:18px 26px 19px}
.act>span{color:var(--ink2)}
.count{display:inline-block;font-variant-numeric:tabular-nums lining-nums}

/* ---------- the opening ---------- */
.opening{position:relative;padding-block:64px 104px}
.opening .grid{align-items:center;row-gap:48px}
.opening-text{grid-column:1 / span 6}
.opening h1{grid-column:auto;font-size:clamp(42px,5.2vw,78px);line-height:1.02;letter-spacing:-.024em;margin:0 0 28px}
.opening .standfirst{font-size:clamp(19px,1.6vw,24px);line-height:1.45;max-width:28em;margin:0 0 36px}
.opening .act{margin:0 0 14px}
.opening .small{margin:0}

/* the product card: the free scan's sample files, marked */
.pcard{grid-column:7 / span 6;margin:0}
.pc-win{background:var(--sheet);border:1px solid var(--edge);
  box-shadow:0 34px 70px -38px rgba(58,20,28,.34),0 2px 8px rgba(58,20,28,.05)}
.pc-bar{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:13px 22px 12px;border-bottom:1px solid var(--hair);
  font-family:var(--sans);font-size:13.5px;color:var(--ink2)}
.pc-bar b{font-weight:600;color:var(--head)}
.pc-body{padding:16px 22px 22px}
.pc-table .pc-row{display:grid;grid-template-columns:1.1fr 1.05fr 1.2fr .55fr .9fr;column-gap:10px;align-items:baseline;padding:11px 0 10px;
  border-bottom:1px solid var(--hair);font-family:var(--sans);font-size:15.5px;line-height:1.3;white-space:nowrap}
.pc-table .pc-hd{padding-top:2px;font-size:12.5px;color:var(--ink2);border-bottom-color:var(--ink)}
.pc-ref{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 18px;margin:12px 0 0;font-family:var(--sans);font-size:13.5px;line-height:1.45;color:var(--ink2)}
.pc-ref .ref{color:var(--ink)}
.pc-finds{list-style:none;margin:18px 0 0;padding:0;border-top:1px solid var(--pen-line)}
.pc-finds li{display:flex;justify-content:space-between;align-items:baseline;gap:18px;padding:11px 0 10px;border-bottom:1px solid var(--hair)}
.finding-title{margin:0;font-family:var(--sans);font-weight:600;font-size:15px;line-height:1.3;color:var(--pen)}
.pc-why{margin:2px 0 0;font-family:var(--sans);font-size:13.5px;line-height:1.4;color:var(--ink2)}
.pc-amt{flex:none;font-family:var(--sans);font-weight:600;font-size:16px;font-variant-numeric:tabular-nums;color:var(--ink)}
.pc-look{font-weight:400;color:var(--ink2)}
.pc-total{display:grid;grid-template-columns:1fr auto;align-items:end;column-gap:16px;margin-top:16px;padding-top:14px;border-top:2px solid var(--pen);color:var(--pen)}
.pc-total .lab{font-family:var(--sans);font-weight:600;font-size:14.5px}
.pc-total .also{grid-row:2;font-family:var(--sans);font-size:13.5px}
.pc-total .amt{grid-column:2;grid-row:1 / span 2;font-family:var(--display);font-weight:500;font-size:clamp(34px,3.3vw,48px);line-height:1;letter-spacing:-.012em}
.pc-total .amt .hl{padding:0 .14em;margin:0 -.14em}
.pc-cap{margin:14px 0 0;font-family:var(--sans);font-size:13.5px;line-height:1.45;color:var(--ink2)}
.pc-cap a{white-space:nowrap}

/* ---------- how it works: the screen stays while the steps go by ---------- */
.story-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gut)}
.story-steps{grid-column:1 / span 4;list-style:none;margin:0;padding:0}
.story-step{min-height:62vh;display:flex;flex-direction:column;justify-content:center;padding:36px 0}
.story-step:first-child{min-height:44vh;justify-content:flex-start;padding-top:24px}
html.js .story-step{opacity:.34}
html.js .story-step.is-on{opacity:1}
.story-no{display:grid;place-items:center;width:44px;height:44px;margin-bottom:18px;background:var(--deep);color:var(--hi);
  font-family:var(--display);font-weight:500;font-size:23px;line-height:1}
.story-step h3{font-family:var(--display);font-size:clamp(26px,2.3vw,34px);line-height:1.1;letter-spacing:-.012em;color:var(--head);margin:0 0 12px}
.story-step p{font-size:18.5px;line-height:1.5;margin:0;max-width:26em}
.story-shot{display:none}
.story-stage{grid-column:6 / span 7;grid-row:1;align-self:start;position:sticky;top:max(96px,calc(50vh - 270px))}
.story-screen{position:relative;aspect-ratio:16/10;overflow:hidden;background:var(--sheet);border:1px solid var(--edge);
  box-shadow:0 34px 70px -38px rgba(58,20,28,.3)}
.story-screen picture{position:absolute;inset:0;opacity:0}
.story-screen picture.is-on{opacity:1}
.story-screen img,.show-shot img,.story-shot img{width:100%;height:100%;object-fit:cover;object-position:50% 0}
.story-progress{display:flex;gap:8px;margin-top:18px}
.story-progress i{flex:1;height:3px;background:var(--edge)}
.story-progress i.is-on{background:var(--pen)}
.story-stage .source{margin-top:10px}

/* ---------- the product showcase: one large screen, eight tabs ---------- */
.show-tabs{display:flex;flex-wrap:wrap;gap:0 30px;border-bottom:1px solid var(--edge);margin-bottom:40px}
.show-tabs [role="tab"]{appearance:none;background:none;border:0;border-bottom:3px solid transparent;margin:0 0 -1px;padding:14px 0 12px;cursor:pointer;
  font-family:var(--sans);font-weight:600;font-size:16px;line-height:1.2;color:var(--ink2)}
.show-tabs [role="tab"]:hover{color:var(--ink)}
.show-tabs [role="tab"][aria-selected="true"]{color:var(--head);border-bottom-color:var(--pen)}
.show-tabs [role="tab"]:focus-visible{outline:2px solid var(--pen);outline-offset:2px}
html:not(.js) .show-tabs{display:none}
.show-panels{display:grid}
.show-panel{grid-area:1 / 1;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--gut);align-items:center}
.show-panel:focus-visible{outline:2px solid var(--pen);outline-offset:8px}
html.js .show-panel{opacity:0;visibility:hidden}
html.js .show-panel.is-on{opacity:1;visibility:visible}
html:not(.js) .show-panel{grid-area:auto;margin-bottom:64px}
.show-shot{grid-column:1 / span 8;margin:0;aspect-ratio:16/10;overflow:hidden;background:var(--sheet);border:1px solid var(--edge);
  box-shadow:0 34px 70px -38px rgba(58,20,28,.3)}
.show-copy{grid-column:9 / span 4}
.show-copy h3{font-family:var(--display);font-size:clamp(26px,2.3vw,34px);line-height:1.1;letter-spacing:-.012em;color:var(--head);margin:0 0 14px}
.show-copy p{font-size:18.5px;line-height:1.5;margin:0 0 18px}

/* ---------- the numbers ---------- */
.facts{padding-block:100px}
.facts-head{font-family:var(--display);font-size:clamp(26px,2.4vw,34px);line-height:1.15;letter-spacing:-.012em;color:var(--on-deep);margin:0 0 48px}
.facts-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:40px var(--gut)}
.facts-list li{border-top:1px solid rgba(251,247,244,.3);padding-top:24px}
.facts-n{display:block;font-family:var(--display);font-weight:500;font-size:clamp(52px,5.4vw,86px);line-height:1;letter-spacing:-.024em;color:var(--on-deep)}
.facts-l{display:block;margin-top:16px;font-family:var(--sans);font-weight:600;font-size:17px;line-height:1.35;color:var(--on-deep)}
.facts-s{display:block;margin-top:8px;font-family:var(--sans);font-size:14.5px;line-height:1.45;color:var(--on-deep-mute)}

/* ---------- the film, in a dark room ---------- */
.cinema{padding-block:104px 72px}
.cinema-head{max-width:760px;margin-bottom:40px}
.cinema-head .kicker{color:var(--hi)}
.cinema-head h2{color:var(--on-deep);margin-bottom:12px}
.cinema-head p{font-size:20px;line-height:1.5;color:var(--on-deep-2);margin:0}
.cinema .gold{color:var(--hi)}
.cinema-frame{position:relative;margin:0;aspect-ratio:1920/824;overflow:hidden;background:#000}
.cinema-frame.playing{aspect-ratio:16/9}
.cinema-frame picture{position:absolute;left:0;right:0;top:-6%;bottom:-6%}
.cinema-frame img{width:100%;height:100%;object-fit:cover}
.cinema-frame video{display:block;width:100%;height:100%;background:#000;object-fit:contain}
.cinema-play{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:16px;text-decoration:none;color:var(--on-deep);
  background:linear-gradient(180deg,rgba(10,4,6,0) 35%,rgba(10,4,6,.5))}
.cinema-disc{display:grid;place-items:center;width:104px;height:104px;border-radius:50%;background:var(--hi);color:var(--deep)}
.cinema-disc svg{width:26px;height:30px;margin-left:6px}
.cinema-label{font-family:var(--sans);font-weight:600;font-size:16px;text-shadow:0 1px 8px rgba(0,0,0,.6)}
.cinema-play:focus-visible{outline:none}
.cinema-play:focus-visible .cinema-disc{outline:3px solid var(--on-deep);outline-offset:5px}
.cinema-fine{margin:16px 0 0;font-family:var(--sans);font-size:13.5px;line-height:1.45;color:var(--on-deep-mute)}

/* ---------- the last word ---------- */
.closing{padding-block:120px;text-align:center}
.closing>.wrap>p{font-size:20px;line-height:1.5;max-width:34em;margin:18px auto 32px;color:var(--ink2)}
.closing .act{justify-content:center;margin:0}

/* ---------- the footer, on every page ---------- */
.site-foot{position:relative;isolation:isolate;padding-block:72px 36px}
.site-foot::before{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:calc(50% - 50vw);right:calc(50% - 50vw);background:var(--warm);border-top:2px solid var(--deep)}
.foot-top{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:40px var(--gut)}
.foot-brand{grid-column:1 / span 4}
.foot-name{display:inline-flex;align-items:center;gap:10px;text-decoration:none;font-family:var(--sans);font-weight:650;font-size:21px;line-height:1;letter-spacing:-.02em;color:var(--head)}
.foot-name svg{width:26px;height:26px;flex:none}
.foot-name svg .v{stroke:var(--pen)}
.foot-brand p{font-family:var(--sans);font-size:15px;line-height:1.5;color:var(--ink2);max-width:24em;margin:16px 0 0}
.foot-brand .btn{margin-top:6px}
.foot-cols{grid-column:6 / span 7;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px var(--gut)}
.foot-h{font-family:var(--sans);font-weight:600;font-size:13.5px;letter-spacing:.02em;color:var(--head);margin:0 0 14px}
.foot-cols ul{list-style:none;margin:0;padding:0}
.foot-cols li{margin:0 0 9px;font-family:var(--sans);font-size:15px;line-height:1.35}
.foot-cols a{color:var(--ink);text-decoration:none;overflow-wrap:anywhere}
.foot-cols a:hover{text-decoration:underline}
.foot-base{display:flex;flex-wrap:wrap;gap:6px 28px;margin-top:56px;padding-top:20px;border-top:1px solid var(--edge);font-family:var(--sans);font-size:13.5px;line-height:1.45;color:var(--ink2)}
.foot-base p{margin:0}

/* ---------- motion: once, transform and opacity only ---------- */
@media (prefers-reduced-motion:no-preference){
  html.m [data-rise]{opacity:0;transform:translate3d(0,34px,0);transition:opacity .8s var(--ease),transform 1s var(--ease);transition-delay:calc(var(--i,0) * 110ms)}
  html.m [data-rise].in{opacity:1;transform:none}
  html.m .pc-row{opacity:0;transform:translate3d(-14px,0,0)}
  html.m .pc-finds .pc-row,html.m .pc-total.pc-row{transform:translate3d(0,10px,0)}
  html.m .pcard.go .pc-row{opacity:1;transform:none;transition:opacity .5s var(--ease),transform .65s var(--ease);transition-delay:calc(var(--d,0ms) * var(--k,1))}
  html.m .story-step{transition:opacity .45s var(--ease)}
  html.m .story-screen picture{transition:opacity .65s var(--ease)}
  html.m .story-progress i{transition:background-color .45s var(--ease)}
  html.m .show-panel{transition:opacity .45s var(--ease),visibility 0s linear .45s}
  html.m .show-panel.is-on{transition:opacity .5s var(--ease) .06s,visibility 0s}
  html.m .show-panel .show-shot img{transform:scale(1.015);transition:transform 1.1s var(--ease)}
  html.m .show-panel.is-on .show-shot img{transform:none}
  html.m .cinema-frame img{transform:translate3d(0,var(--py,0px),0);will-change:transform}
  .cinema-disc{transition:transform .35s var(--ease)}
  .show-tabs [role="tab"]{transition:color .2s var(--ease),border-color .25s var(--ease)}
}
@media (prefers-reduced-motion:no-preference) and (hover:hover){
  .zoom img{transition:transform 1.2s var(--ease)}
  .zoom:hover img,html.js .show-panel.is-on .zoom:hover img{transform:scale(1.03)}
  .cinema-play:hover .cinema-disc{transform:scale(1.07)}
}

/* ---------- narrower desktops ---------- */
@media (max-width:1360px){
  .band{padding-block:96px}
  .pc-table .pc-row{font-size:14.5px}
  .foot-brand{grid-column:1 / span 5}
  .foot-cols{grid-column:6 / span 7}
}
/* ---------- below 1100: one column; the story becomes a plain stack of steps with their screens ---------- */
@media (max-width:1099px){
  .band{padding-block:80px}
  .opening{padding-block:40px 80px}
  .opening-text,.pcard{grid-column:1 / -1}
  .pcard{margin-top:40px}
  .opening h1{font-size:clamp(38px,6.4vw,58px)}
  .band-head{margin-bottom:40px}
  .band-head-split{display:block}
  .band-head-split .more{display:inline-block;margin-top:14px}
  .story-grid{display:block}
  .story-stage{display:none}
  html.js .story-step{opacity:1}
  .story-step,.story-step:first-child{min-height:0;display:block;padding:0 0 56px}
  .story-step:last-child{padding-bottom:0}
  .story-shot{display:block;margin:22px 0 0;aspect-ratio:16/10;overflow:hidden;background:var(--sheet);border:1px solid var(--edge)}
  .show-tabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;gap:0 24px;margin-inline:calc(var(--side) * -1);padding-inline:var(--side);margin-bottom:28px}
  .show-tabs::-webkit-scrollbar{display:none}
  .show-tabs [role="tab"]{flex:none}
  .show-panel{display:block}
  .show-copy{margin-top:24px}
  .facts{padding-block:80px}
  .facts-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cinema{padding-block:80px 56px}
  .closing{padding-block:88px}
  .foot-brand,.foot-cols{grid-column:1 / -1}
}
/* ---------- phones ---------- */
@media (max-width:700px){
  .band{padding-block:64px}
  .opening{padding-block:28px 64px}
  .opening h1{font-size:clamp(34px,9.6vw,44px);line-height:1.05;margin-bottom:18px}
  .opening .standfirst{font-size:18.5px;margin-bottom:24px}
  .btn-big{font-size:16px;padding:16px 22px 17px}
  .pc-bar{padding:11px 14px 10px}
  .pc-body{padding:10px 14px 16px}
  .pc-table .pc-row{grid-template-columns:1.15fr 1.1fr 1.2fr .55fr .95fr;column-gap:6px;font-size:13px;padding:9px 0 8px}
  .pc-table .pc-hd{font-size:11.5px}
  .pc-ref{font-size:12.5px}
  .finding-title{font-size:14.5px}
  .pc-why{font-size:13px}
  .pc-amt{font-size:15px}
  .story-step h3,.show-copy h3{font-size:26px}
  .story-step p,.show-copy p{font-size:17.5px}
  .facts{padding-block:64px}
  .facts-list{gap:32px 16px}
  .facts-l{font-size:15.5px}
  .facts-s{font-size:13.5px}
  .cinema{padding-block:64px 44px}
  .cinema .wrap{padding-inline:0}
  .cinema-head,.cinema-fine{padding-inline:var(--side)}
  .cinema-frame{aspect-ratio:16/10}
  .cinema-disc{width:76px;height:76px}
  .cinema-disc svg{width:20px;height:24px;margin-left:5px}
  .cinema-head p,.closing>.wrap>p{font-size:18px}
  .closing{padding-block:72px}
  .foot-cols{grid-template-columns:repeat(2,minmax(0,1fr))}
  .foot-base{flex-direction:column;margin-top:40px}
}

/* =====================================================================
   MarginGuard for Sellers on the site (27 Nov 2026): the buyers / sellers switch, the Sellers band, sellers.html
   ===================================================================== */

.doc code{font-family:Consolas,"Courier New",monospace;font-size:.86em;padding:1px 5px;background:var(--paper);border:1px solid var(--edge);white-space:nowrap}

/* sellers.html */

.doc .act{margin:18px 0 6px}

/* =====================================================================
   Two product lines (27 Nov 2026): the switcher above every masthead, and the MarginGuard for Sellers homepage
   ===================================================================== */
.lines{position:relative;font-family:var(--sans);font-size:15px;line-height:1.2}
.lines::after{content:"";position:absolute;left:calc(50% - 50vw);right:calc(50% - 50vw);bottom:0;height:1px;background:var(--hair)}
.lines nav{display:flex;gap:32px}
.lines a{position:relative;display:flex;align-items:baseline;gap:8px;padding:14px 0 12px;text-decoration:none;font-weight:600;color:var(--ink2)}
.lines a span{font-weight:400;font-size:13.5px}
.lines a:hover{color:var(--ink)}
.lines a[aria-current]{color:var(--head)}
.lines a[aria-current]::after{content:"";position:absolute;z-index:1;left:0;right:0;bottom:0;height:3px;background:var(--pen)}
.lines a:focus-visible{outline:2px solid var(--pen);outline-offset:2px}
.brand-sub{margin-left:7px;font-weight:500;font-size:.7em;letter-spacing:0;color:var(--pen)}
.foot-switch{font-size:14.5px}

/* the Sellers homepage: its screens are 3:2 */
.story-screen.ratio-32,.show-shot.ratio-32,.story-shot.ratio-32,.pc-win.ratio-32{aspect-ratio:3/2}
.sl-hero{grid-column:7 / span 6;margin:0}
.sl-hero .pc-win{overflow:hidden}
.sl-hero img{width:100%;height:100%;object-fit:cover;object-position:0 0}
.band-deep .band-head h2{color:var(--on-deep)}
.band-deep .kicker{color:var(--hi)}
.with-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px var(--gut)}
.with-list li{border-top:1px solid rgba(251,247,244,.3);padding-top:22px;font-size:18px;line-height:1.5;color:var(--on-deep-2)}
.with-list b{display:block;margin-bottom:10px;font-family:var(--display);font-weight:500;font-size:clamp(22px,1.9vw,28px);line-height:1.15;letter-spacing:-.008em;color:var(--on-deep)}
.with-list code{font-family:Consolas,"Courier New",monospace;font-size:.86em;padding:1px 5px;background:rgba(251,247,244,.1);border:1px solid rgba(251,247,244,.3);color:var(--on-deep);white-space:nowrap}
.with-note{margin:48px 0 0;max-width:46em;font-family:var(--sans);font-size:15.5px;line-height:1.5;color:var(--on-deep-mute)}
.with-note a{color:var(--on-deep)}

@media (max-width:1099px){
  .sl-hero{grid-column:1 / -1;margin-top:40px}
  .with-list{grid-template-columns:1fr}
}
@media (max-width:700px){
  .lines nav{gap:20px}
  .lines a{font-size:13.5px}
  .lines a span{display:none}
  .brand-sub{display:none}
  .mast .btn{white-space:nowrap}
  .with-list li{font-size:17px}
}
