/* lettlab.no. The workshop binder in daylight: slate ink on a clean canvas, steel rules, one teal for "do this", coral only
   for what is late. The customer pages (cardboard tags, receipts) stay physical objects in their own colours; the tool marks
   hang on a key rail. One typeface, Schibsted Grotesk, carries everything. */
:root {
  --bg: #f8fafc;
  --bench: #eef2f6;
  --ink: #0f172a;
  --muted: #475569;
  --rule: #cbd5e1;
  --steel: #e2e8f0;
  --paper: #ffffff;
  --card: #f1e6cb;
  --card-edge: #d9c89d;
  --stamp: #b5281e;
  --coral: #e11d48;
  --teal: #0d9488;
  --teal-ink: #0f766e;
  --ok: #2e6b48;
  --cobalt: #1f52c4;
  --hv: #f4a100;
  --slate: #0f172a;
  --font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0b1220; --bench: #111a2b; --ink: #e2e8f0; --muted: #94a3b8; --rule: #2b3a52; --steel: #1e293b; --paper: #111a2b;
    --teal: #14b8a6; --teal-ink: #5eead4; --coral: #fb7185; --slate: #020617; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #0b1220; --bench: #111a2b; --ink: #e2e8f0; --muted: #94a3b8; --rule: #2b3a52; --steel: #1e293b; --paper: #111a2b;
  --teal: #14b8a6; --teal-ink: #5eead4; --coral: #fb7185; --slate: #020617; color-scheme: dark; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 18px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.015em; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- header: logo, the customer's way in, languages, theme, log in, and everything else behind Menu */
.site-head { max-width: var(--wrap); margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; gap: 6px 18px; position: relative; }
.logo { font-weight: 800; font-size: 22px; text-decoration: none; letter-spacing: -0.02em; margin-right: auto; display: flex; align-items: center; }
.head-find { font-weight: 600; font-size: 16px; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.head-find:hover, .page-find .head-find { border-color: var(--ink); }
.langpick { position: relative; }
.langpick summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 14px; padding: 9px 10px; border: 1.5px solid var(--rule); border-radius: 6px; user-select: none; }
.langpick summary::-webkit-details-marker { display: none; }
.langpick summary::after { content: " ▾"; font-size: 11px; color: var(--muted); }
.langpick[open] summary { border-color: var(--ink); }
.langs-pop { position: absolute; z-index: 31; right: 0; top: calc(100% + 4px); min-width: 170px; display: grid; padding: 6px; background: var(--paper);
  border: 2px solid var(--ink); border-radius: 8px; box-shadow: 0 18px 40px -24px rgba(2, 6, 23, .5); }
.langs-pop a { display: flex; gap: 10px; align-items: baseline; text-decoration: none; font-size: 15px; padding: 8px 10px; border-radius: 6px; color: var(--muted); }
.langs-pop a b { width: 24px; color: var(--ink); font-size: 13px; }
.langs-pop a:hover, .langs-pop a[aria-current] { background: var(--steel); color: var(--ink); }
.theme { width: 40px; height: 40px; border: 1.5px solid var(--rule); border-radius: 6px; background: transparent; color: var(--ink); font-size: 18px; cursor: pointer; }
.login { font-weight: 700; font-size: 16px; text-decoration: none; padding: 9px 16px; border-radius: 6px; background: var(--ink); color: var(--bg); }
.menu { position: static; }
.menu summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 16px; padding: 8px 14px; border: 1.5px solid var(--ink); border-radius: 6px; user-select: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::before { content: "☰ "; }
.menu[open] summary { background: var(--ink); color: var(--bg); }
.menu-tray { position: absolute; z-index: 30; left: 16px; right: 16px; top: calc(100% + 2px); background: var(--paper); border: 2px solid var(--ink); border-radius: 10px;
  padding: 18px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 18px 28px; box-shadow: 0 24px 60px -30px rgba(2, 6, 23, .5); }
.menu-langs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 14px; border-bottom: 1px solid var(--steel); }
.menu-langs a { display: flex; gap: 8px; align-items: baseline; text-decoration: none; font-size: 15px; padding: 8px 12px; border: 1.5px solid var(--rule); border-radius: 6px; color: var(--muted); }
.menu-langs a b { color: var(--ink); font-size: 13px; }
.menu-langs a[aria-current] { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.menu-langs a[aria-current] b { color: var(--bg); }
.menu-h { font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.menu-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 14px; }
.menu-tools a { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 6px; border-radius: 6px; }
.menu-tools a:hover, .menu-tools a[aria-current] { background: var(--steel); }
.menu-tools svg { width: 30px; height: 30px; flex: none; }
.menu-tools span { display: grid; font-size: 13px; color: var(--muted); line-height: 1.25; }
.menu-tools b { color: var(--ink); font-size: 16px; }
.menu-col { display: grid; align-content: start; gap: 2px; }
.menu-col > a { text-decoration: none; font-weight: 600; padding: 8px 6px; border-radius: 6px; }
.menu-col > a:hover { background: var(--steel); }
@media (max-width: 760px) {
  .site-head { gap: 8px; }
  .head-find, .theme { display: none; }  /* the language stays on the bar: its only place */
  .login { padding: 8px 12px; font-size: 15px; }
  .langpick summary, .menu summary, .login { white-space: nowrap; }
  .langpick summary, .menu summary { padding-left: 10px; padding-right: 10px; }
  .menu-tray { grid-template-columns: minmax(0, 1fr); left: 8px; right: 8px; max-height: calc(100vh - 80px); overflow-y: auto; }
  .menu-tools { grid-template-columns: minmax(0, 1fr); }
}

.site-main { max-width: var(--wrap); margin: 0 auto; padding: 0 16px 64px; }
.btn, .wait button, .demo-form button {
  font: inherit; font-weight: 700; font-size: 17px; min-height: 52px; padding: 0 22px; border-radius: 6px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
  border: 2px solid var(--ink); background: transparent; color: var(--ink);
}
.btn.primary, .primary-form button { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn.quiet { border-color: var(--rule); }
.btn:hover, .demo-form button:hover { border-color: var(--ink); }
.btn.primary:hover, .primary-form button:hover { background: var(--teal-ink); border-color: var(--teal-ink); }
.demo-form { display: inline; margin: 0; }
.hero-acts, .tool-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.price-line { color: var(--muted); font-size: 16px; }

/* ---- the two doors: customer on the canvas, business on slate with the key rail */
.bigsearch { display: flex; gap: 0; margin-top: 8px; border: 2px solid var(--ink); border-radius: 8px; overflow: hidden; background: var(--paper); max-width: 560px; }
.bigsearch input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 19px; padding: 0 16px; min-height: 60px; outline: none; }
.bigsearch input::placeholder { color: #64748b; }
.bigsearch button { border: 0; background: var(--ink); color: var(--bg); font: inherit; font-weight: 700; font-size: 17px; padding: 0 22px; cursor: pointer; }
.bigsearch:focus-within { box-shadow: 0 0 0 3px var(--teal); }
.scan { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; border: 2px dashed var(--ink); border-radius: 8px;
  background: transparent; color: var(--ink); font: inherit; font-weight: 700; font-size: 17px; cursor: pointer; }
.scan svg { width: 24px; height: 24px; }
.scan:hover { border-style: solid; }
.door-chips, .trade-chips { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: auto; padding-top: 12px; }
.door-chips a, .trade-chips a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 6px 12px; border: 1.5px solid var(--rule); border-radius: 999px; }
.door-chips a:hover, .trade-chips a:hover { border-color: var(--ink); }
.trade-chips a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* the key rail: every tool's mark hangs from a steel bar like keys in a workshop */
.swing { position: relative; display: grid; justify-items: center; gap: 4px; transform-origin: 50% -22px; transform: rotate(calc((var(--i) - 4.5) * 1.6deg));
  transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.swing::before { content: ""; position: absolute; top: -21px; left: 50%; width: 2px; height: 23px; background: #94a3b8; }
/* a capability page: the old tool name, small, under the heading */
.was { margin: -6px 0 10px; font-size: 13px; color: var(--muted, #64748b); }
@media (prefers-reduced-motion: reduce) { .swing { transition: none; } }

@media (max-width: 900px) {
  .door-chips { margin-top: 4px; }
}
@media (max-width: 420px) {
  .bigsearch input { font-size: 16px; padding: 0 12px; }
  .bigsearch button { padding: 0 14px; }
}

/* ---- QR scanner */
.scanner { border: 2px solid var(--ink); border-radius: 12px; padding: 16px; width: min(440px, calc(100vw - 24px)); background: var(--paper); color: var(--ink); }
.scanner::backdrop { background: rgba(2, 6, 23, .6); }
.scanner video { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: #000; margin: 10px 0; }
.scan-t { font-weight: 700; }
.scanner form { display: flex; justify-content: flex-end; }

/* ---- the customer side */
.find { padding-top: 16px; }
.find-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; justify-items: start; padding: 24px 0 28px; border-bottom: 2px solid var(--ink); }
.find-head > * { max-width: 100%; }
.find-head h1 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 800; letter-spacing: -0.03em; max-width: 20ch; }
.find-head .lead { color: var(--muted); max-width: 56ch; }
.find-head .bigsearch { width: 100%; }
.find-head .trade-chips { margin-top: 6px; padding-top: 0; }
.notice { border-left: 4px solid var(--coral); padding: 8px 12px; background: var(--paper); font-weight: 600; max-width: 60ch; }
.find h2 { font-size: 24px; font-weight: 800; margin: 32px 0 6px; }
.empty { color: var(--muted); padding: 22px 0; max-width: 60ch; }
.muted { color: var(--muted); }
.biz-list { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.biz { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.biz > svg { width: 52px; height: 52px; }
.biz h3 { font-size: 21px; font-weight: 800; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.biz-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: 16px; margin-top: 2px; }
.biz-meta .town::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  border: 2px solid currentColor; vertical-align: 1px; }
.biz-note { margin-top: 6px; max-width: 62ch; font-size: 16px; }
.biz-acts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.biz-acts .btn { min-height: 46px; font-size: 16px; padding: 0 16px; }
.stamp { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 1px 7px; border: 2px solid var(--coral);
  color: var(--coral); border-radius: 3px; transform: rotate(-3deg); }
@media (max-width: 700px) {
  .biz { grid-template-columns: 44px minmax(0, 1fr); }
  .biz > svg { width: 44px; height: 44px; }
  .biz-acts { grid-column: 1 / -1; justify-content: flex-start; }
}
.pre { margin-top: 24px; }
.pre-list { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.pre-list li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.day { display: grid; justify-items: center; border: 2px solid var(--ink); border-radius: 6px; overflow: hidden; line-height: 1; }
.day b { font-size: 26px; font-weight: 800; padding: 8px 0 4px; font-variant-numeric: tabular-nums; }
.day span { width: 100%; text-align: center; font-size: 12px; font-weight: 700; padding: 3px 0; background: var(--ink); color: var(--bg); }
.pre-text { display: grid; gap: 1px; }
.pre-text span { color: var(--muted); font-size: 16px; }
.pre-text .until { color: var(--ink); font-weight: 600; font-size: 15px; }
@media (max-width: 600px) {
  .pre-list li { grid-template-columns: 56px minmax(0, 1fr); }
  .pre-list .btn { grid-column: 1 / -1; }
}

/* ---- miniature customer pages */
.mini { width: 200px; font-size: 12.5px; line-height: 1.3; color: #182420; display: grid; gap: 4px; position: relative; padding: 14px; box-shadow: 0 10px 22px -16px #182420cc; }
.mini .m-shop { color: var(--muted); font-weight: 600; }
.mini .m-no { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.mini .m-item { font-weight: 700; font-size: 14px; }
.mini-kvitt { background: var(--card); border: 1px solid var(--card-edge); border-radius: 6px; padding-top: 34px; }
.mini-kvitt .hole { position: absolute; left: 50%; top: 10px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--bench); box-shadow: 0 0 0 2px #e3d6b4 inset; }
.mini-kvitt .hole::before { content: ""; position: absolute; left: 5px; bottom: 10px; width: 1.5px; height: 30px; background: #8a7f66; transform: rotate(8deg); }
.mini-kvitt .m-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; margin-top: 4px; }
.mini-kvitt .m-bar i { height: 5px; border-radius: 3px; background: #dccfa9; }
.mini-kvitt .m-bar i:nth-child(-n+2) { background: var(--ok); }
.mini-kvitt .m-bar i.now { background: var(--stamp); }
.mini-kvitt .m-state { font-weight: 800; font-size: 17px; }
.mini-kvitt .m-stamp { position: absolute; right: 10px; bottom: 16px; color: var(--stamp); border: 2px solid var(--stamp); border-radius: 4px; padding: 1px 7px;
  font-weight: 800; font-size: 13px; transform: rotate(-12deg); opacity: .85; }
.mini-okei { background: var(--paper); border-radius: 0 0 4px 4px; }
.mini-okei::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 6px;
  background: radial-gradient(circle at 5px -1px, transparent 3.5px, var(--paper) 4px); background-size: 10px 6px; }
.mini-okei .m-notes { list-style: none; margin: 6px 0 0; padding: 0 0 0 26px; position: relative; display: grid; gap: 8px; }
.mini-okei .m-notes::before { content: ""; position: absolute; left: 9px; top: 0; bottom: 0; width: 2px; background: var(--cobalt); opacity: .55; }
.mini-okei .m-notes li { position: relative; font-weight: 600; }
.mini-okei .m-notes i { position: absolute; left: -26px; top: -2px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center;
  font-style: normal; font-size: 11px; font-weight: 800; background: var(--paper); border: 2px solid var(--cobalt); color: var(--cobalt); }
.mini-okei .m-notes li.ok i { background: var(--ok); border-color: var(--ok); color: #fff; }
.mini-handov { background: var(--paper); border: 1.5px solid var(--ink); border-radius: 3px; }
.mini-handov .m-stubs { display: grid; gap: 6px; margin-top: 4px; }
.mini-handov .m-stubs span { display: grid; grid-template-columns: 1fr 26px 26px; gap: 4px; align-items: center; border: 1.5px solid var(--ink); padding: 3px 6px; font-weight: 800; }
.mini-handov .m-stubs span.open { background: var(--hv); }
.mini-handov .m-stubs i { height: 18px; background: #cfd8d2; border-radius: 2px; }

/* ---- sections ruled like a job board */
.rule-head { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; padding: 16px 0 12px; border-top: 2px solid var(--ink); margin-top: 24px; }
.tool-mini { display: block; padding: 10px 0 14px; text-decoration: none; color: var(--ink); }

.soon-hint { color: var(--muted); font-size: 16px; margin: -4px 0 14px; max-width: 60ch; }
.soon { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.soon-item { padding: 18px 18px 22px; border-left: 1px solid var(--rule); display: grid; gap: 8px; align-content: start; }
.soon-item:first-child { border-left: 0; padding-left: 0; }
.soon-item h3 { font-size: 19px; color: var(--muted); }
.soon-item p { font-size: 15.5px; color: var(--muted); }
.wait { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.wait input { flex-basis: 140px; }
.wait input { flex: 1; min-width: 0; font: inherit; font-size: 15px; min-height: 44px; padding: 0 10px; border: 1.5px solid var(--rule); border-radius: 6px; background: var(--bg); color: var(--ink); }
.wait input:focus { border-color: var(--ink); outline: none; }
.wait button { min-height: 44px; font-size: 15px; padding: 0 14px; }
.joined { color: var(--ok) !important; font-weight: 600; }
@media (max-width: 1000px) {
  .soon { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .soon-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .soon-item:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 560px) {
  .soon { grid-template-columns: 1fr; }
  .soon-item { border-left: 0; padding-left: 0; padding-right: 0; border-top: 1px solid var(--rule); }
  .soon-item:first-child { border-top: 0; }
}


/* ---- tool page: text left, live phone right */
.product { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 0 56px; padding-top: 32px; }
.p-head { grid-column: 1; }
.p-more { grid-column: 1; }
.p-phone { grid-column: 2; grid-row: 1 / span 2; }
.p-phone .phone { position: sticky; top: 24px; }
.crumbs { font-size: 15px; color: var(--muted); margin-bottom: 18px; }
.product h1 { font-size: clamp(36px, 4.5vw, 52px); font-weight: 800; }
.product .lead { font-size: 20px; margin: 16px 0 14px; max-width: 46ch; }
.product .who { color: var(--muted); font-size: 17px; margin-bottom: 22px; }
.product .price-line { margin-top: 12px; }
.p-more h2 { font-size: 24px; margin: 44px 0 14px; padding-top: 14px; border-top: 1.5px solid var(--ink); }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(s); font-weight: 800; font-size: 22px; font-variant-numeric: tabular-nums; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 16px; color: var(--muted); max-width: 62ch; }
.phone { background: #0f172a; border-radius: 36px; padding: 12px; box-shadow: 0 24px 40px -28px #182420; }
.phone iframe { display: block; width: 100%; height: 720px; border: 0; border-radius: 26px; background: var(--bg); }
.caption { font-size: 14px; color: var(--muted); margin-top: 10px; text-align: center; }
@media (max-width: 960px) {
  .product { grid-template-columns: 1fr; }
  .p-phone { grid-column: 1; grid-row: auto; margin-top: 28px; }
  .p-phone .phone { position: static; max-width: 400px; margin: 0 auto; }
  .phone iframe { height: 640px; }
}

.site-foot { max-width: var(--wrap); margin: 0 auto; padding: 22px 16px 40px; border-top: 2px solid var(--ink); color: var(--muted); font-size: 15px; display: grid; gap: 6px; }

.mini-plukk { background: #fbfaf6; text-align: center; padding-top: 30px; border-radius: 2px; }
.mini-plukk .punch { position: absolute; left: 50%; top: 10px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--bench); box-shadow: inset 0 1px 2px #18242040; }
.mini-plukk .m-no { color: #70405f; font-size: 26px; }
.mini-plukk .m-state { font-weight: 800; }
.mini-plukk .m-lines { list-style: none; margin: 6px 0 0; padding: 6px 0 0; border-top: 2px dashed #d9d5ca; text-align: left; display: grid; gap: 2px; }
.mini-vada { background: #fdfcf8; padding-left: 32px; background-image: linear-gradient(90deg, transparent 24px, #c7a9a3 24px, #c7a9a3 25px, transparent 25px); }
.mini-vada .ring { position: absolute; left: 7px; top: 22px; width: 10px; height: 10px; border-radius: 50%; background: var(--bench); box-shadow: inset 0 1px 2px #18242040; }
.mini-vada .ring.r2 { top: auto; bottom: 22px; }
.mini-vada table { border-collapse: collapse; margin-top: 4px; width: 100%; }
.mini-vada td { padding: 4px 0; border-bottom: 1px solid #d8dcd6; font-weight: 600; }
.mini-vada td:last-child { text-align: right; }
.mini-vada s { text-decoration: none; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 3px; }
.mini-vada s.av { background: #1b5b66; color: #fff; }
.mini-vada s.res { border: 1.5px solid #1b5b66; color: #1b5b66; }

.mini-minne { background: #f4f5f2; border-top: 3px solid #526b7a; clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%); }
.mini-minne .m-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #d3d8d2; margin-top: 4px; }
.mini-minne .m-ba i { height: 56px; background: linear-gradient(#dfe4e6 0 60%, #7d8f6e 60%); position: relative; }
.mini-minne .m-ba i::after { content: ""; position: absolute; left: 32%; top: 18%; width: 36%; height: 50%; background: #9aa0a3; }
.mini-minne .m-ba i.a::before { content: ""; position: absolute; left: 46%; top: 58%; width: 8%; height: 12%; background: #c27a2b; z-index: 1; }
.mini-minne .m-check { color: #2e6b48; font-weight: 600; }
.mini-vakt { background: #fffdf8; padding-top: 24px; }
.mini-vakt::before { content: ""; position: absolute; left: 10px; right: 10px; top: 8px; height: 8px; background: radial-gradient(circle, var(--bench) 3px, transparent 3.5px) 0 0 / 16px 8px repeat-x; }
.mini-vakt .m-time { display: grid; grid-template-columns: auto; justify-items: start; gap: 0; margin-top: 4px; }
.mini-vakt .m-time b { font-weight: 800; }
.mini-vakt .m-time i { width: 2px; height: 16px; background: #182420; margin-left: 16px; }
.mini-vakt .m-time s { text-decoration: none; margin-top: 4px; font-size: 11px; font-weight: 700; color: #fff; background: #8a6b2f; padding: 1px 7px; border-radius: 999px; }
.mini-saldo { background: #fff; border-top: 4px solid #2f4f6f; }
.mini-saldo .m-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.mini-saldo .m-row i { height: 6px; background: #d3d8d2; border-radius: 3px; }
.mini-saldo .m-row i.short { width: 60%; }
.mini-saldo .m-row s { text-decoration: none; font-weight: 600; }
.mini-saldo .m-sum { display: flex; justify-content: space-between; border-top: 1.5px solid #182420; padding-top: 4px; margin-top: 2px; }
.mini-saldo .m-paid { justify-self: start; font-size: 11px; font-weight: 800; color: #2e6b48; border: 1.5px solid #2e6b48; padding: 1px 6px; border-radius: 3px; transform: rotate(-3deg); }
.feats { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
.feats li { display: grid; gap: 2px; }
.feats li span { color: var(--muted); font-size: 15.5px; }
@media (max-width: 640px) { .feats { grid-template-columns: 1fr; } }
.product-saldo .note { color: var(--muted); font-size: 15px; border-left: 3px solid var(--rule); padding-left: 12px; margin: 18px 0; }
.mini-tikk { background: #fff; border: 1px solid #2e5c46; outline: 1px solid #2e5c46; outline-offset: 3px; border-radius: 8px; padding-top: 22px; margin: 4px; }
.mini-tikk .hole { position: absolute; top: 7px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #2e5c46; }
.mini-tikk .m-ok { display: flex; align-items: center; gap: 6px; font-weight: 700; color: #2e5c46; border-top: 1px solid #d3d8d2; padding-top: 6px; margin-top: 2px; }
.mini-tikk .m-ok i { width: 10px; height: 10px; border-radius: 50%; background: #2e5c46; }
.mini-tikk .m-next { color: var(--muted); }
.mini-tikk .m-next b { color: #182420; }
.mini-serva { background: #fffefc; border-left: 4px solid #6b3439; }
.mini-serva .m-last { color: var(--muted); }
.mini-serva .m-stub { border-top: 2px dashed #d3d8d2; padding-top: 8px; margin-top: 4px; }
.mini-serva .m-stub s { text-decoration: none; display: inline-block; font-weight: 800; font-size: 15px; color: #6b3439; border: 2px solid #6b3439; border-radius: 3px;
  padding: 1px 8px; transform: rotate(-2deg); }
.mini-vakt .m-task { color: var(--muted); }
.logo svg { width: 30px; height: 30px; margin-right: 8px; }
.with-mark { display: flex; align-items: center; gap: 10px; }
.with-mark svg { width: 34px; height: 34px; flex: none; }
h1.with-mark svg { width: 56px; height: 56px; }
.trade-links { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.trade-links a { padding: 6px 12px; border: 1.5px solid var(--rule); border-radius: 999px; text-decoration: none; color: inherit; font-weight: 600; }
.trade-links a:hover { border-color: currentColor; }
.trade-tools { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.trade-tools a { text-decoration: none; color: inherit; }
.chips-list { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.chips-list li { padding: 3px 10px; background: var(--paper, #fff); border: 1px solid var(--rule); border-radius: 4px; font-size: 15px; }
.product-trade h3 { font-size: 16px; margin: 18px 0 8px; }
.trade-combo { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 10px 14px; border-left: 3px solid currentColor; background: var(--paper, #fff); }
.trade-combo svg { width: 28px; height: 28px; flex: none; }
.trade-combo svg + svg { margin-left: -4px; }
.trade-tools li.muted { padding: 4px 0 0; font-size: 15px; }

/* the miniature customer pages are paper objects: they keep their own ink in both themes */
.mini { --ink: #182420; --muted: #5b655e; --bench: #dde2da; --paper: #ffffff; }

/* ---- screenshots: the phone's screen changes every few seconds (tools/shots.py makes them) */
.shots { position: relative; aspect-ratio: 1 / 2; overflow: hidden; border-radius: 26px; background: var(--bench); }
.shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; }
.shots img:first-child { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .shots img { animation: shot calc(var(--n) * 4s) infinite; animation-delay: calc(var(--i) * 4s); }
  .shots img:first-child { opacity: 0; }
}
@keyframes shot { 0% { opacity: 0; } 4% { opacity: 1; } 30% { opacity: 1; } 34% { opacity: 0; } 100% { opacity: 0; } }
.shots.small { width: 168px; border-radius: 18px; border: 6px solid #0f172a; }
.tool-mini .shots.small { margin: 0 0 4px; }
.p-phone .phone .shots { border-radius: 26px; }
.caption a { color: inherit; }

/* ---- while the demo is being prepared */
.demo-wait { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; gap: 18px; align-content: center; background: rgba(2, 6, 23, .82); color: #f8fafc; padding: 20px; }
.demo-wait .shots { width: min(260px, 60vw); border: 8px solid #0f172a; box-shadow: 0 30px 60px -20px #000; }
.demo-wait p { font-size: 20px; font-weight: 700; }
.demo-wait p::after { content: ""; display: inline-block; width: 1.2em; text-align: left; animation: dots 1.2s steps(4) infinite; }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }

/* ---- every trade in its group, each with its tools and a demo */
.trade-hint { color: var(--muted); max-width: 64ch; margin: -4px 0 16px; }
.trade-groups { columns: 3 300px; column-gap: 32px; }
.tg { break-inside: avoid; margin: 0 0 22px; }
.tg h3 { font-size: 17px; font-weight: 800; padding-bottom: 6px; border-bottom: 2px solid var(--ink); margin-bottom: 4px; }
.tg ul { list-style: none; margin: 0; padding: 0; }
.tg li { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--steel); }
.tg-name { flex: 1; min-width: 0; text-decoration: none; font-weight: 600; font-size: 16px; }
.tg-name:hover { text-decoration: underline; }
.tg-tools { display: flex; gap: 2px; flex: none; }
.tg-tools svg { width: 20px; height: 20px; }
.tg .tg-demo button { min-height: 0; line-height: 1.2; font: inherit; font-size: 13px; font-weight: 700; padding: 4px 10px; border: 1.5px solid var(--teal); color: var(--teal); background: transparent; border-radius: 999px; cursor: pointer; }
.tg .tg-demo button:hover { background: var(--teal); color: #fff; }
.trade-pick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; max-width: 100%; }
.trade-pick label { min-width: 0; max-width: 100%; flex: 1 1 200px; }
.trade-pick select { width: 100%; }
.trade-pick select { font: inherit; font-size: 16px; min-height: 48px; padding: 0 12px; border: 2px solid var(--ink); border-radius: 8px; background: var(--paper); color: var(--ink); max-width: 100%; }
.trade-pick .btn { min-height: 48px; }

/* the catalogue as a tree: a search, groups that open, subgroups inside */
.tg-search { width: 100%; max-width: 520px; min-height: 48px; margin: 6px 0 16px; padding: 0 14px; font: inherit; font-size: 17px; border: 2px solid var(--ink); border-radius: 8px; background: transparent; color: inherit; }
.trade-groups.tree { columns: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 0 28px; align-items: start; }
.trade-groups.tree .tg { margin: 0; border-bottom: 1px solid var(--steel); }
.trade-groups.tree .tg > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; min-height: 52px; font-size: 17px; font-weight: 800; }
.trade-groups.tree .tg > summary::-webkit-details-marker { display: none; }
.trade-groups.tree .tg > summary span:first-child { flex: 1; }
.tg-n { font-size: 13px; font-weight: 700; color: var(--muted, #667); border: 1px solid var(--steel); border-radius: 999px; padding: 1px 9px; }
.tg-sub h4 { margin: 10px 0 2px; font-size: 13px; font-weight: 700; color: var(--muted, #667); }
.tg-near { list-style: none; padding: 0; columns: 2 240px; }
.tg-near li { display: flex; gap: 8px; padding: 5px 0; break-inside: avoid; }
.trade-groups [hidden], .tg-sub[hidden] { display: none !important; }

/* ================================================================ home (2026-11): hero, one stage, the customer's door
   Layout: a left-aligned hero with the hanging cardboard tag; then ONE dark pegboard panel where the capabilities take turns
   (list on the left, words in the middle, two phones on the right); then the quieter sections on the canvas. */
.page-home { --stage: #0f172a; --stage-2: #172033; --stage-ink: #f1f5f9; --stage-muted: #a8b5c7; --stage-rule: rgba(148, 163, 184, .22); --glow: #2dd4bf; }
.page-home .site-main { padding-bottom: 80px; }

/* ---- hero */
/* the customer's cardboard tag, hanging from the top on its string */

/* ---- the stage */
.stage { position: relative; display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 18px 34px; padding: 30px 30px 32px; border-radius: 26px; color: var(--stage-ink);
  background-color: var(--stage); background-image: radial-gradient(circle at 1px 1px, rgba(148, 163, 184, .2) 1.3px, transparent 1.8px), linear-gradient(160deg, var(--stage-2), var(--stage) 55%);
  background-size: 24px 24px, auto; box-shadow: 0 40px 70px -50px rgba(2, 6, 23, .8); border: 1px solid var(--stage-rule); overflow: hidden; }
.st-head { grid-column: 1 / -1; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--stage-rule); }
.st-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -0.025em; }
.st-head p { margin-top: 6px; color: var(--stage-muted); font-size: 16px; max-width: 60ch; }
.st-pause { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--stage-rule); background: transparent; color: var(--stage-ink); cursor: pointer; display: grid; place-items: center; }
.st-pause:hover { border-color: var(--stage-ink); }
.st-pause span { width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.st-pause.off span { width: 0; height: 0; border: 8px solid transparent; border-left: 13px solid currentColor; border-right: 0; margin-left: 3px; }
.st-tabs { display: grid; gap: 2px; align-content: start; }
.st-tab { position: relative; display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 6px 12px; border-radius: 12px; overflow: hidden;
  color: var(--stage-muted); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.2; transition: background .25s, color .25s; }
.st-tab svg { width: 30px; height: 30px; flex: none; transform-origin: 38% 0; filter: drop-shadow(0 4px 4px rgba(0, 0, 0, .35)); }
.st-tab:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.st-tab.on { color: #fff; background: rgba(255, 255, 255, .09); }
.st-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--glow); border-radius: 0 3px 3px 0; }
.st-tab.on .st-bar { width: 100%; }
.st-panels { display: grid; min-width: 0; }
.st-panel { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; min-width: 0;
  opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s linear .4s; }
.st-panel.on { opacity: 1; visibility: visible; transition: opacity .45s ease .12s, visibility 0s; }
.st-copy { display: grid; gap: 14px; align-content: center; min-width: 0; }
.st-copy h3 { font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; text-wrap: balance; }
.st-tag { font-size: 20px; font-weight: 600; color: #e2e8f0; max-width: 34ch; }
.st-who { font-size: 16px; color: var(--stage-muted); max-width: 44ch; }
.st-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.stage .btn, .stage .demo-form button { border-color: rgba(241, 245, 249, .55); color: var(--stage-ink); border-radius: 10px; }
.stage .demo-form button { background: var(--teal); border-color: var(--teal); color: #fff; }
.stage .btn:hover { border-color: #fff; }
.stage .demo-form button:hover { background: #0f766e; border-color: #0f766e; color: #fff; }
.st-phones { position: relative; width: 404px; height: 492px; perspective: 1100px; }
.st-phone { position: absolute; margin: 0; transition: transform .7s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
.st-phone img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 2; object-fit: cover; object-position: top; border-radius: 26px; border: 7px solid #060b16;
  background: #1e293b; box-shadow: 0 0 0 1px rgba(148, 163, 184, .3), 0 34px 50px -30px #000; }
.st-phone figcaption { position: absolute; left: 12px; top: -12px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; white-space: nowrap;
  background: var(--stage-ink); color: var(--stage); box-shadow: 0 6px 14px -8px #000; }
.st-phone.front { left: 0; bottom: 0; width: 218px; z-index: 2; transform: translateY(26px); }
.st-phone.back { right: 0; top: 14px; width: 184px; z-index: 1; transform: translate(26px, 14px) rotate(7deg); }
.st-phone.back figcaption { left: auto; right: 12px; background: var(--glow); color: #06221f; }
.st-panel.on .st-phone.front { transform: translateY(0) rotateY(calc(var(--ry, 0) * 1deg)) rotateX(calc(var(--rx, 0) * 1deg)); }
.st-panel.on .st-phone.back { transform: translate(0, 0) rotate(4deg) rotateY(calc(var(--ry, 0) * 1.6deg)) rotateX(calc(var(--rx, 0) * 1.6deg)); }
.st-phones > .mini { margin: 60px auto; }

/* ---- the quieter sections */
.hm-sec { margin-top: 64px; }
.hm-sec > h2, .hm-facts h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -0.025em; }
.hm-hint { color: var(--muted); max-width: 64ch; margin: 8px 0 18px; }
.hm-facts { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 34px; align-items: start; }
.hm-points { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 0; }
.hm-points li { position: relative; padding: 16px 0 16px 38px; border-top: 1px solid var(--rule); font-size: 19px; font-weight: 600; }
.hm-points li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 16px; height: 9px; border-left: 3px solid var(--teal); border-bottom: 3px solid var(--teal); transform: rotate(-45deg); }
.hm-pricecard { padding: 28px; border-radius: 22px; background: var(--stage, #0f172a); color: #f1f5f9; display: grid; gap: 14px; justify-items: start; border: 1px solid var(--stage-rule); }
.hm-pricecard p { color: #cbd5e1; }

/* ---- motion: one entrance, the stage's turns, a slow swing; nothing moves for people who asked for less */
@media (prefers-reduced-motion: no-preference) {
  .stage { animation: hm-rise .9s cubic-bezier(.2, .7, .2, 1) .28s both; }
  .stage.run .st-tab.on .st-bar { width: 0; animation: st-fill var(--st-ms, 7000ms) linear forwards; }
  .stage.run:focus-within .st-tab.on .st-bar { animation-play-state: paused; }
  @media (hover: hover) { .stage.run:hover .st-tab.on .st-bar { animation-play-state: paused; } }
  .st-tab.on svg { animation: st-tagswing 1.1s cubic-bezier(.3, 1.4, .5, 1); }
  .st-panel .st-copy > * { transform: translateY(14px); opacity: 0; transition: transform .6s cubic-bezier(.2, .7, .2, 1), opacity .5s ease; }
  .st-panel.on .st-copy > * { transform: none; opacity: 1; }
  .st-panel.on .st-copy > :nth-child(1) { transition-delay: .14s; } .st-panel.on .st-copy > :nth-child(2) { transition-delay: .2s; }
  .st-panel.on .st-copy > :nth-child(3) { transition-delay: .26s; } .st-panel.on .st-copy > :nth-child(4) { transition-delay: .32s; }
}
@keyframes hm-rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes hm-drop { from { opacity: 0; transform: translateY(-60px); } }
@keyframes hm-swing { from { transform: rotate(3deg); } to { transform: rotate(-2.2deg); } }
@keyframes st-fill { to { width: 100%; } }
@keyframes st-tagswing { 0% { transform: rotate(0); } 30% { transform: rotate(-16deg); } 60% { transform: rotate(9deg); } 100% { transform: rotate(0); } }

/* ---- narrower screens: the list becomes a row to swipe, then everything stacks */
@media (max-width: 1040px) {
  .stage { grid-template-columns: minmax(0, 1fr); padding: 24px 20px 26px; }
  .st-tabs { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin: 0 -20px; padding: 2px 20px 6px; }
  .st-tabs::-webkit-scrollbar { display: none; }
  .st-tab { flex: none; scroll-snap-align: center; border: 1px solid var(--stage-rule); white-space: nowrap; }
}
@media (max-width: 860px) {
  .hm-facts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .st-panel { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .st-phones { justify-self: center; width: 300px; height: 426px; }
  .st-phone.front { width: 188px; } .st-phone.back { width: 158px; }
  .st-head p { font-size: 15px; }
}

/* ---- the top bar stays in reach while scrolling: a full-width band in the page colour, a rule once the page moved */
.site-head { --gut: max(16px, calc((100% - var(--wrap)) / 2 + 16px)); position: sticky; top: 0; z-index: 40; max-width: none; padding-left: var(--gut); padding-right: var(--gut);
  background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-head.stuck { border-bottom-color: var(--rule); }
.site-head .menu-tray { left: var(--gut); right: var(--gut); }
.menu-tray, .langs-pop { max-height: calc(100vh - 90px); overflow-y: auto; }
[id] { scroll-margin-top: 84px; }

/* ---- footer */
.site-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-links a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.foot-copy { font-size: 14px; }

/* ---- write to us */
.ct { max-width: 620px; padding: 28px 0 40px; }
.ct h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.ct-lead { margin-top: 14px; font-size: 19px; color: var(--muted); }
.ct-form { margin-top: 26px; display: grid; gap: 16px; }
.ct-form label { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
.ct-form input, .ct-form textarea { font: inherit; font-weight: 400; font-size: 17px; color: var(--ink); background: var(--paper); border: 1.5px solid var(--rule);
  border-radius: 10px; padding: 12px 14px; min-height: 52px; }
.ct-form textarea { resize: vertical; min-height: 160px; }
.ct-form input:focus, .ct-form textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.ct-form .btn { justify-self: start; min-height: 56px; padding: 0 28px; border-radius: 10px; }
.ct-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ct-note { margin-top: 22px; padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.ct-note.ok { background: color-mix(in srgb, var(--teal) 14%, transparent); border: 1px solid var(--teal); }
.ct-note.bad { background: color-mix(in srgb, #dc2626 12%, transparent); border: 1px solid #dc2626; }

/* second look (Gemini): the customer's screen less hidden, a hint that the tab row scrolls, no repeated name on narrow screens */
@media (max-width: 1040px) {
  .st-tabs { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, transparent 0, #000 20px, #000 calc(100% - 44px), transparent); }
  .st-copy h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .st-tag { font-size: 22px; font-weight: 700; color: #fff; }
}
@media (max-width: 720px) {

  .st-phone.front { width: 176px; } .st-phone.back { width: 150px; }
}

/* a narrow phone: logo, language, log in and the menu all fit on one line */
@media (max-width: 420px) {
  .site-head { gap: 6px; }
  .logo { font-size: 19px; }
  .logo svg { width: 26px; height: 26px; margin-right: 6px; }
  .login { padding: 8px 10px; }
}

/* ---- the top of the home page: one receipt in two halves along its perforation. The business keeps one half, the customer
   holds the other, the same way a real repair receipt is torn. The card colour stays light in dark mode, like the paper it is. */
.hm-top { padding: 30px 0 8px; }
.hm-top h1 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; max-width: 22ch; margin-bottom: 26px; }
.tk { --tk: var(--card); --tk-ink: #182420; --tk-muted: #4d5850; display: grid; grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr);
  filter: drop-shadow(0 26px 30px rgba(15, 23, 42, .16)) drop-shadow(0 2px 3px rgba(15, 23, 42, .12)); }
.tk-half { background: var(--tk); color: var(--tk-ink); padding: 30px 32px 30px; display: flex; flex-direction: column; gap: 12px; min-width: 0;
  --ink: #182420; --bg: var(--tk); --muted: var(--tk-muted); }
.tk-biz { border-radius: 18px 0 0 18px; padding-right: 22px; }
.tk-cust { border-radius: 0 18px 18px 0; padding-left: 22px; }
.tk-half h2 { font-size: clamp(24px, 2.5vw, 32px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.tk-text, .tk-q { font-size: 17.5px; color: var(--tk-muted); max-width: 44ch; }
.tk-q2 { margin-top: 6px; color: var(--tk-ink); font-weight: 700; font-size: 16px; }
.tk-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.tk-acts .btn { min-height: 54px; border-radius: 10px; border-color: var(--tk-ink); color: var(--tk-ink); }
.tk-acts .btn.primary { background: #0f766e; border-color: #0f766e; color: #fff; }
.tk-acts .btn.primary:hover { background: #115e59; border-color: #115e59; }
.tk-price { margin-top: 4px; padding-top: 12px; font-size: 15px; color: var(--tk-muted); border-top: 1px dashed var(--card-edge); }
.tk-cust .bigsearch { margin-top: 0; background: #fffdf6; }
.tk-cust .bigsearch input { color: var(--tk-ink); }
.tk-cust .scan { border-color: var(--tk-ink); color: var(--tk-ink); background: transparent; }
.tk-cust .door-chips { margin-top: 0; padding-top: 0; }
.tk-cust .door-chips a { background: #fffdf6; border-color: var(--card-edge); color: var(--tk-ink); }
.tk-cust .door-chips a:hover { border-color: var(--tk-ink); }
/* the perforation: the card continues, two half-holes bite into its edges and a row of dashes runs between them */
.tk-perf { position: relative; background: var(--tk);
  -webkit-mask: radial-gradient(circle at 50% 0, transparent 13px, #000 13.5px) top / 100% 51% no-repeat,
                radial-gradient(circle at 50% 100%, transparent 13px, #000 13.5px) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle at 50% 0, transparent 13px, #000 13.5px) top / 100% 51% no-repeat,
                radial-gradient(circle at 50% 100%, transparent 13px, #000 13.5px) bottom / 100% 51% no-repeat; }
.tk-perf::after { content: ""; position: absolute; left: calc(50% - 1px); top: 22px; bottom: 22px; border-left: 2px dashed var(--card-edge); }

/* ---- how a job travels from one half to the other */
.flow { list-style: none; margin: 30px 0 46px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: fl; }
.flow li { position: relative; counter-increment: fl; padding: 0 34px 0 46px; }
.flow li::before { content: counter(fl); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 15px; background: var(--ink); color: var(--bg); }
.flow li.fl-cust::before { background: var(--card); color: #182420; box-shadow: inset 0 0 0 2px var(--card-edge); }
.flow li:not(:last-child)::after { content: ""; position: absolute; right: 8px; top: 13px; width: 14px; height: 14px; border-top: 2px solid var(--rule); border-right: 2px solid var(--rule); transform: rotate(45deg); }
.flow p { margin: 0; font-size: 17px; line-height: 1.35; }
.fl-who { display: block; font-weight: 800; font-size: 15px; margin-bottom: 2px; }

@media (prefers-reduced-motion: no-preference) {
  .hm-top h1 { animation: hm-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .tk { animation: hm-rise .8s cubic-bezier(.2, .7, .2, 1) .08s both; }
  .tk-cust { animation: tk-tear .9s cubic-bezier(.2, .8, .2, 1) .5s both; transform-origin: 0 100%; }
  .flow li { animation: hm-rise .6s cubic-bezier(.2, .7, .2, 1) both; }
  .flow li:nth-child(1) { animation-delay: .7s; } .flow li:nth-child(2) { animation-delay: .82s; } .flow li:nth-child(3) { animation-delay: .94s; }
}
@keyframes tk-tear { 0% { transform: none; } 45% { transform: rotate(.9deg) translate(4px, 2px); } 100% { transform: none; } }

@media (max-width: 760px) {
  .hm-top { padding-top: 18px; }
  .tk { grid-template-columns: minmax(0, 1fr); }
  .tk-half { padding: 24px 20px; }
  .tk-biz { border-radius: 16px 16px 0 0; padding-bottom: 18px; }
  .tk-cust { border-radius: 0 0 16px 16px; padding-top: 18px; }
  .tk-perf { height: 28px;
    -webkit-mask: radial-gradient(circle at 0 50%, transparent 13px, #000 13.5px) left / 51% 100% no-repeat,
                  radial-gradient(circle at 100% 50%, transparent 13px, #000 13.5px) right / 51% 100% no-repeat;
            mask: radial-gradient(circle at 0 50%, transparent 13px, #000 13.5px) left / 51% 100% no-repeat,
                  radial-gradient(circle at 100% 50%, transparent 13px, #000 13.5px) right / 51% 100% no-repeat; }
  .tk-perf::after { left: 22px; right: 22px; top: calc(50% - 1px); bottom: auto; border-left: 0; border-top: 2px dashed var(--card-edge); }
  .tk-acts .btn { flex: 1 1 auto; }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 18px; margin: 26px 0 36px; }
  .flow li { padding-right: 0; }
  .flow li:not(:last-child)::after { right: auto; left: 11px; top: 38px; width: 8px; height: 8px; transform: rotate(135deg); }
}

/* the receipt the business hands over, small, at the foot of its half */
.tk-mini { margin-top: auto; padding-top: 14px; display: flex; justify-content: flex-end; }
.tk-mini .mini { width: 210px; transform: rotate(-3deg) translateY(6px); box-shadow: 0 14px 24px -14px rgba(24, 36, 32, .55); background: #fffdf6; }
.tk-mini .m-stamp { display: none; }
@media (max-width: 760px) { .tk-mini { display: none; } }
