/* Lotdesk — the public site. One ink on catalog stock (docs/identity.md): ruled entries, the number in a plate
   at the margin, the estimate in its bracket, Bodoni Moda over Karla. Standalone and scoped: every rule hangs
   off body.site, so nothing here can reach the desk. Mobile first; print rules at the foot. */
@font-face {
  font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/bodoni-moda-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Karla"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/karla-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
body.site {
  --paper: #f7f4ed; --card: #fffdf9; --ink: #181310; --ink-2: #5a5148; --rule: #ded6c8; --rule-strong: #b7ab98;
  --accent: #8c1220; --accent-deep: #6d0d18; --warn: #7a4200; --warn-bg: #fdf2e0; --ok: #1c5c3a; --ok-bg: #eef4ef;
  --display: "Bodoni Moda", "Bodoni MT", Didot, "Times New Roman", serif;
  --text: "Karla", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Roboto Mono", SFMono-Regular, Menlo, Consolas, monospace;
  margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--text); overflow-wrap: break-word;
}
.site *, .site *::before, .site *::after { box-sizing: border-box; }
.site a { color: var(--accent-deep); text-decoration-thickness: 1px; text-underline-offset: 2px; }
.site a:hover { color: var(--accent); }
.site :focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.site h1, .site h2, .site h3 { font-family: var(--display); font-weight: 600; line-height: 1.15; letter-spacing: -0.005em; margin: 0; }
.site h1 { font-size: clamp(1.75rem, 7.2vw, 2.7rem); }
.site h2 { font-size: 1.35rem; margin-bottom: .55rem; }
.site h3 { font-size: 1.08rem; margin: 1.1rem 0 .3rem; }
.site p { margin: .55rem 0; }
.site ul, .site ol { margin: .45rem 0; padding-left: 1.2rem; }
.site li { margin: .3rem 0; }
.site code { font: .9em var(--mono); background: #f1ece2; padding: 0 .25em; overflow-wrap: anywhere; }
.site img { max-width: 100%; height: auto; }
.s-wrap { max-width: 68rem; margin: 0 auto; padding: 0 1rem; }
.s-skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff !important; padding: .6rem 1rem; z-index: 10; }
.s-skip:focus { left: 0; }

/* the masthead: the house's name over a double rule */
.s-top { background: var(--card); border-bottom: 3px double var(--rule-strong); }
.s-top-in { display: flex; flex-wrap: wrap; gap: .1rem 1rem; align-items: center; justify-content: space-between; padding-top: .35rem; padding-bottom: .35rem; }
.site .s-brand { font: 600 1.28rem/1 var(--display); letter-spacing: .01em; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.s-mark { display: inline-block; width: .58em; height: .58em; margin-right: .4em; background: var(--accent); }
.s-top nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .15rem; }
.s-top nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .5rem; font-size: .97rem; }
.site .s-top .s-cta { border: 2px solid var(--accent); color: var(--accent-deep); font-weight: 600; margin-left: .2rem; }

.s-top .s-opt { display: none; }
.s-main { padding-top: 1.4rem; padding-bottom: 3rem; }
.s-intro { margin: 0 0 1.2rem; padding-bottom: .9rem; border-bottom: 3px double var(--rule-strong); max-width: 48rem; }
.s-lede { font-size: 1.1rem; color: var(--ink-2); margin: .6rem 0 0; }
.s-crumbs ol { list-style: none; padding: 0; margin: 0 0 .7rem; display: flex; flex-wrap: wrap; font-size: .86rem; color: var(--ink-2); }
.s-crumbs li { margin: 0; }
.s-crumbs li + li::before { content: "/"; margin: 0 .45rem; color: var(--rule-strong); }
.s-sec { margin: 0 0 1.7rem; max-width: 48rem; }
.s-sec.s-wide { max-width: none; }
.s-sec > h2 { padding-top: .7rem; border-top: 1px solid var(--rule-strong); }
.s-sec-first > h2 { border-top: 0; padding-top: 0; }
.s-fine { font-size: .9rem; color: var(--ink-2); }
.s-cta-row { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 .3rem; }
.site .btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .65rem 1.05rem;
  font: 600 1rem/1.2 var(--text); background: var(--card); color: var(--accent-deep); border: 2px solid var(--accent); text-decoration: none; cursor: pointer; text-align: center;
}
.site .btn-buy { background: var(--accent); color: #fff; }
.site .btn-buy:hover { background: var(--accent-deep); color: #fff; }
.site .btn-quiet { color: var(--ink); border-color: var(--rule-strong); }

/* ---- the landing: one screen that sells ----------------------------------------------------- */
.s-hero { display: grid; gap: 1.1rem; margin: 0 0 1.4rem; }
.s-hero-text h1 { max-width: 20ch; }
.s-hero-text .s-lede { max-width: 38rem; }
.s-price-line { margin: .9rem 0 0; font-size: .98rem; color: var(--ink-2); }
.s-price-line .est { vertical-align: baseline; margin-right: .35rem; }
.est { display: inline-flex; align-items: stretch; font: 600 1.05rem/1.6 var(--mono); color: var(--accent-deep); white-space: nowrap; }
.est-bracket { display: inline-block; width: .5rem; border-left: 2px solid var(--accent); border-top: 2px solid var(--accent); border-bottom: 2px solid var(--accent); }
.est-bracket:last-child { border-left: 0; border-right: 2px solid var(--accent); }
.est-figure { padding: .1rem .3rem; }
.s-demo { margin: 0; }
.s-demo-frame { position: relative; border: 1px solid var(--rule-strong); border-top: 3px solid var(--accent); background: #fff; aspect-ratio: 8 / 5; overflow: hidden; }
.s-demo video { display: block; width: 100%; height: 100%; object-fit: cover; background: #fff; }
.s-demo-toggle { position: absolute; right: .5rem; bottom: .5rem; min-height: 44px; padding: 0 .9rem; font: 600 .92rem var(--text); background: var(--card); color: var(--ink); border: 2px solid var(--ink); cursor: pointer; }
.s-demo-toggle[hidden] { display: none; }
.s-demo figcaption { font-size: .88rem; color: var(--ink-2); margin-top: .45rem; }
.s-demo-steps { counter-reset: step; list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: .25rem .8rem; font-size: .88rem; color: var(--ink-2); }
.s-demo-steps li { counter-increment: step; margin: 0; }
.s-demo-steps li::before { content: counter(step); display: inline-block; min-width: 1.4rem; margin-right: .4rem; text-align: center; font: 600 .8rem/1.5 var(--mono); border: 1px solid var(--rule-strong); border-bottom-width: 2px; color: var(--accent-deep); background: #fff; }
.s-plates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; margin: 0 0 .3rem; padding: 0; list-style: none; }
.s-plate { margin: 0; position: relative; }
.site .s-sec.pricing, .site .pricing { margin: 0 0 1.7rem; }
.s-plate-img { display: block; aspect-ratio: 1; background: #f1eee8; border: 1px solid var(--rule); box-shadow: 0 1px 0 var(--rule-strong); overflow: hidden; }
.s-plate-img img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.s-plate-no { position: absolute; left: .4rem; top: .4rem; font: 600 .95rem/1.6 var(--mono); color: var(--accent-deep); background: #fff; border: 1px solid var(--rule-strong); border-bottom-width: 2px; min-width: 2.2rem; text-align: center; }
.s-plate-title { display: block; font: 1rem/1.25 var(--display); margin-top: .35rem; }
.s-credit { font-size: .82rem; color: var(--ink-2); margin: .4rem 0 0; }

.s-jobs { list-style: none; padding: 0; margin: 0; }
.s-job { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 0 .85rem; border-top: 1px solid var(--rule-strong); padding: .95rem 0; margin: 0; }
.s-job:last-child { border-bottom: 1px solid var(--rule-strong); }
.s-job-no { align-self: start; font: 600 1.05rem/1.7 var(--mono); color: var(--accent-deep); border: 1px solid var(--rule-strong); border-bottom-width: 2px; background: #fff; text-align: center; }
.s-job h3 { margin: 0 0 .15rem; font-size: 1.2rem; }
.s-job p { margin: .25rem 0; }
.s-chips { list-style: none; padding: 0; margin: .5rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.s-chips li { margin: 0; }
.s-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .8rem; border: 1px solid var(--rule-strong); border-bottom-width: 2px; background: #fff; font-weight: 600; text-decoration: none; }
.site .pricing, .s-price-block { background: var(--card); border: 1px solid var(--rule); border-top: 3px double var(--accent); padding: 1.1rem 1.1rem 1.2rem; max-width: 48rem; }
.s-price-fig { font: 600 2.3rem/1.2 var(--display); margin: .1rem 0; }
.s-price-unit { font: 1rem/1.4 var(--text); color: var(--ink-2); margin-left: .4rem; }
.s-scope { list-style: none; padding: 0; margin: .3rem 0; }
.s-scope li { border-top: 1px solid var(--rule); padding: .55rem 0; margin: 0; }
.s-scope li:first-child { border-top: 0; }
.s-faq details { border-top: 1px solid var(--rule); padding: .1rem 0; }
.s-faq summary { cursor: pointer; padding: .6rem 0; min-height: 44px; font-weight: 600; }
.s-faq details p { margin: 0 0 .8rem; }
.s-cols { display: grid; gap: 1rem; }
.s-card { background: var(--card); border: 1px solid var(--rule); border-top: 2px solid var(--rule-strong); padding: .8rem .95rem 1rem; }
.s-card h3 { margin-top: 0; }
.s-card p { margin: .3rem 0; }

/* ---- reference pages: tables, steps, status ------------------------------------------------- */
.s-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: .6rem 0; }
.site table { border-collapse: collapse; width: 100%; font-size: .93rem; background: #fff; }
.site th, .site td { text-align: left; padding: .45rem .55rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.site th { font: 600 .78rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); white-space: nowrap; background: #fbf9f3; }
.site td.n, .site th.n { white-space: nowrap; }
.s-steps { list-style: none; counter-reset: s; padding: 0; margin: .6rem 0; }
.s-steps li { counter-increment: s; position: relative; padding: .5rem 0 .5rem 2.9rem; margin: 0; border-top: 1px solid var(--rule); }
.s-steps li::before { content: counter(s); position: absolute; left: 0; top: .55rem; width: 2.2rem; text-align: center; font: 600 .95rem/1.6 var(--mono); color: var(--accent-deep); border: 1px solid var(--rule-strong); border-bottom-width: 2px; background: #fff; }
.s-tag { display: inline-block; font: 600 .74rem/1.6 var(--mono); padding: 0 .4rem; border: 1px solid; white-space: nowrap; background: #fff; }
.s-tag-d { color: var(--ok); border-color: var(--ok); }
.s-tag-v { color: var(--warn); border-color: var(--warn); }
.s-tag-u { color: var(--accent-deep); border-color: var(--accent); border-style: dashed; }
.s-note { background: var(--warn-bg); border: 1px solid #edd9b6; padding: .7rem .85rem; margin: .8rem 0; font-size: .95rem; }
.s-note p { margin: .25rem 0; }
.s-ok { background: var(--ok-bg); border: 1px solid #cfe3d6; padding: .7rem .85rem; margin: .8rem 0; font-size: .95rem; }
.s-shots { display: grid; gap: .9rem; margin: .6rem 0; }
.s-shot { margin: 0; }
.s-shot img { display: block; width: 100%; border: 1px solid var(--rule-strong); border-top: 3px solid var(--accent); background: #fff; }
.s-shot figcaption { font-size: .88rem; color: var(--ink-2); margin-top: .35rem; }

/* ---- the footer ----------------------------------------------------------------------------- */
.s-foot { background: var(--card); border-top: 3px double var(--rule-strong); padding: 1.3rem 0 2.4rem; font-size: .93rem; color: var(--ink-2); }
.s-foot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .2rem 1rem; }
.s-foot-col h2 { font: 600 .78rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); margin: .8rem 0 .15rem; }
.s-foot-col ul { list-style: none; padding: 0; margin: 0; }
.s-foot-col li { margin: 0; }
.s-foot-col a { display: inline-block; padding: .3rem 0; min-height: 36px; }
.s-foot-line { margin: 1rem 0 0; padding-top: .8rem; border-top: 1px solid var(--rule); }

@media (min-width: 40rem) {
  .s-top .s-opt { display: inline-flex; }
  .s-plates { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .s-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .s-demo-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 62rem) {
  .s-hero { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2rem; align-items: start; }
  .s-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .s-foot-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .s-main { padding-top: 2rem; }
}

/* ---- the free printable templates ----------------------------------------------------------- */
.tpl-sheet { background: #fff; border: 1px solid var(--rule-strong); padding: 1.2rem 1.1rem; max-width: 48rem; }
.tpl-sheet h2 { font-size: 1.25rem; border-top: 0; padding-top: 0; margin-top: 1rem; }
.tpl-title { font: 600 1.6rem/1.15 var(--display); margin: 0 0 .2rem; }
.tpl-grid { display: grid; gap: .5rem 1.2rem; margin: .7rem 0; }
.tpl-field { display: block; font: 600 .76rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); }
.tpl-field span { display: block; border-bottom: 1px solid var(--ink); min-height: 2.1rem; }
.tpl-field.tall span { min-height: 4.6rem; }
.tpl-field.xtall span { min-height: 7.5rem; }
.tpl-boxes { list-style: none; padding: 0; margin: .3rem 0; display: grid; gap: .3rem 1rem; }
.tpl-boxes li { margin: 0; display: flex; gap: .5rem; align-items: baseline; }
.tpl-boxes li::before { content: ""; flex: none; width: .95rem; height: .95rem; border: 1.5px solid var(--ink); transform: translateY(.15rem); }
.tpl-boxes small { color: var(--ink-2); }
.tpl-lines td { height: 2.3rem; }
.tpl-note { border: 1px dashed var(--ink-2); padding: .6rem .8rem; margin: .8rem 0; font-size: .92rem; }
.tpl-sign { display: grid; gap: .6rem 2rem; margin-top: 1.4rem; }
.tpl-example { border-left: 3px solid var(--accent); padding: .1rem 0 .1rem .8rem; margin: .8rem 0; }
.tpl-example p { margin: .2rem 0; }
@media (min-width: 40rem) { .tpl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tpl-boxes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tpl-sign { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tpl-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

@media print {
  body.site { background: #fff; font-size: 10.5pt; }
  .site .s-top, .site .s-foot, .site .no-print, .site .s-crumbs, .site .s-skip { display: none !important; }
  .site .s-wrap { max-width: none; padding: 0; }
  .site .s-main { padding: 0; }
  .site a { color: var(--ink); text-decoration: none; }
  .tpl-sheet { border: 0; padding: 0; max-width: none; }
  .tpl-page .s-intro, .tpl-page .s-sec.no-print { display: none; }
  .tpl-sheet h2, .tpl-boxes, .tpl-sign, .tpl-note { break-inside: avoid; }
  .site table { background: none; }
  @page { margin: 14mm; }
}
