/* schwupps.app, the company site, in the app's world: Nahbar (schwupps-app DESIGN.md, the system of 22 October 2026), set as a
   landing. A warm canvas (#f6f4f1) carries white cards with a hairline and a soft shadow; one coral acts (the button, the chosen
   door, the verb), with ink lettering on it; Petrol acts on the Business door with white lettering; Wupp stays coral wherever it
   stands. Geist in seven roles (caption 13, print 15, body 17, lead 19, title 24, head 32 to 40, display 36 to 72); radii 8 to 24,
   pills for chips and tabs; the photographs in colour; the app's own screens, captured on a phone, as the proof of what it does.
   Motion answers the hand (Emil Kowalski's curves): a press is scale 0.97 in 140 ms, entrances rise 16 px on a strong ease-out,
   the words of the one big statement light up one after another as they come into view; reduced motion keeps every state static.
   No framework; the page reads the same without its script (site.js adds the reveals and the request box's link). The tokens
   are the app's, copied by value: the site cannot import the app's packages. */

/* ---- the face: Geist (OFL-1.1, fonts/OFL.txt), self-hosted and preloaded. font-display swap (web-3, 24 October 2026): the
   text paints at once in the fallback, a face on Arial with Geist's advance and vertical metrics, and Geist takes over when it
   arrives, also on the first view; measured under Slow 4G with a CPU four times slower, the swap moves nothing (CLS 0 on the
   start page, the doors, Business and the privacy policy). With optional the first view never showed Geist */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/geist-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/geist-latin-wght-normal.woff2") format("woff2-variations");
  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;
}
/* Geist's advance and vertical metrics on Arial (or a face metric-compatible with it) */
@font-face {
  font-family: "Geist Fallback";
  src: local("Arial"), local("ArialMT"), local("Arimo"), local("Liberation Sans");
  size-adjust: 104.2%;
  ascent-override: 96.5%;
  descent-override: 28.3%;
  line-gap-override: 0%;
}

/* ---- the tokens (packages/ui/styles/v2.css of schwupps-app, by value) ------------------------------------------------------ */
:root {
  --canvas: #f6f4f1;
  --surface: #ffffff;
  --surface-2: #f1eee9;
  --surface-3: #e8e4de;
  --ink: #17171a;
  --ink-2: #5d5b58;
  --ink-3: #8b8884;
  --line: #e7e3dd;
  --line-strong: #cbc6be;
  --coral: #ee5a2e;
  --coral-deep: #d94d22;
  --coral-text: #c2431a;
  --coral-soft: #fdeee7;
  --on-coral: #17171a;
  --petrol: #0a6a6c;
  --petrol-deep: #07585a;
  --petrol-text: #0a6a6c;
  --petrol-soft: #e6f2f2;
  --on-petrol: #ffffff;
  --ok-text: #137a3f;
  --ok-soft: #e3f6ea;
  --wait-text: #915500;
  --wait-soft: #fff3d6;
  --shadow-card: 0 1px 2px rgb(23 23 26 / 0.05), 0 1px 1px rgb(23 23 26 / 0.03);
  --shadow-pop: 0 6px 20px rgb(23 23 26 / 0.1), 0 1px 3px rgb(23 23 26 / 0.06);
  --shadow-media: 0 1px 1px rgb(23 23 26 / 0.04), 0 4px 8px rgb(23 23 26 / 0.05), 0 16px 32px rgb(23 23 26 / 0.08), 0 32px 64px rgb(23 23 26 / 0.08);
  --glass: color-mix(in srgb, var(--surface) 94%, transparent);
  --photo-edge: rgb(0 0 0 / 0.1);
  /* the door's ink: coral acts on the client's and the pro's pages, Petrol on Business */
  --act: var(--coral);
  --act-deep: var(--coral-deep);
  --act-text: var(--coral-text);
  --act-soft: var(--coral-soft);
  --on-act: var(--on-coral);
  --select: var(--coral-soft);
  --sans: "Geist", "Geist Fallback", ui-sans-serif, system-ui, sans-serif;
  /* the roles */
  --t-caption: 0.875rem;
  --t-print: 0.9375rem;
  --t-body: 1.0625rem;
  --t-lead: 1.1875rem;
  --t-title: 1.5rem;
  --t-head: 2rem;
  --t-display-s: 2.25rem;
  --t-display: clamp(2.5rem, 1.6rem + 3.8vw, 4.5rem);
  --t-tag: clamp(1.75rem, 1rem + 3vw, 3.75rem);
  /* motion (the animate skill's tokens) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --tap: 44px;
  --roof: 112px;
  color-scheme: light;
}
@media (min-width: 900px) { :root { --t-head: 2.25rem; --t-display-s: 3rem; --roof: 72px; } }
@media (min-width: 1200px) { :root { --t-head: 2.5rem; --t-display-s: 3.5rem; } }
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #0f0f11;
    --surface: #19191c;
    --surface-2: #232327;
    --surface-3: #2d2d32;
    --ink: #f3f2ef;
    --ink-2: #a7a5a1;
    --ink-3: #7b7975;
    --line: #2a2a2f;
    --line-strong: #3d3d44;
    --coral: #ff6a3d;
    --coral-deep: #ee5a2e;
    --coral-text: #ff8f69;
    --coral-soft: #33190f;
    --petrol: #1aa3a6;
    --petrol-deep: #0f8c8f;
    --petrol-text: #6fd3d4;
    --petrol-soft: #0e2a2b;
    --on-petrol: #0b1f20;
    --ok-text: #52d68c;
    --ok-soft: #10301f;
    --wait-text: #ffc266;
    --wait-soft: #33260a;
    --shadow-card: 0 1px 2px rgb(0 0 0 / 0.4), 0 0 0 1px rgb(255 255 255 / 0.03);
    --shadow-pop: 0 8px 24px rgb(0 0 0 / 0.5), 0 0 0 1px rgb(255 255 255 / 0.06);
    --shadow-media: 0 1px 1px rgb(0 0 0 / 0.3), 0 8px 16px rgb(0 0 0 / 0.3), 0 24px 48px rgb(0 0 0 / 0.4), 0 0 0 1px rgb(255 255 255 / 0.06);
    --glass: color-mix(in srgb, var(--surface) 92%, transparent);
    --photo-edge: rgb(255 255 255 / 0.1);
    color-scheme: dark;
  }
}
body[data-door="business"] { --act: var(--petrol); --act-deep: var(--petrol-deep); --act-text: var(--petrol-text); --act-soft: var(--petrol-soft); --on-act: var(--on-petrol); --select: var(--petrol-soft); }

/* ---- the sheet ------------------------------------------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { background: var(--canvas); color: var(--ink); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-color: var(--line-strong) var(--canvas); scroll-padding-top: calc(var(--roof) + 16px); }
body { background: var(--canvas); color: var(--ink); font-family: var(--sans); font-size: var(--t-body); font-weight: 400; line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; caret-color: var(--act); overflow-wrap: break-word; -webkit-tap-highlight-color: transparent; }
::selection { background: var(--select); color: var(--ink); }
:focus-visible { outline: 2px solid var(--act); outline-offset: 3px; border-radius: 4px; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; text-decoration-color: var(--line-strong); transition: text-decoration-color 150ms var(--ease-out), color 150ms var(--ease-out); }
@media (hover: hover) { a:hover { text-decoration-color: currentColor; } }
b, strong { font-weight: 600; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
p { text-wrap: pretty; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.vh, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 30; background: var(--ink); color: var(--canvas); padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 8px; }
.icon { width: 18px; height: 18px; flex: none; }
.print, .fine, .note, .cite, .byline { font-size: var(--t-print); line-height: 1.45; color: var(--ink-2); }
/* the column clears the notch and the rounded corners in landscape (viewport-fit=cover in the head) */
.wrap { max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
@media (min-width: 900px) { .wrap { padding-left: 40px; padding-right: 40px; padding-left: max(40px, env(safe-area-inset-left)); padding-right: max(40px, env(safe-area-inset-right)); } }
@media (min-width: 1200px) { .wrap { padding-left: 48px; padding-right: 48px; padding-left: max(48px, env(safe-area-inset-left)); padding-right: max(48px, env(safe-area-inset-right)); } }
/* a tap is a tap: no double-tap zoom delay on what acts; a long press on a control does not select its words or open a callout */
a, button, summary, label, input, textarea { touch-action: manipulation; }
.btn, .door, .lang a, .box-suggest a, .faq summary, .testbuild-more summary { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
/* Wupp, the brand's figure (24 October 2026: the coral splash, his resting outline in the sprite): coral wherever it stands */
.wm { color: var(--coral); width: 34px; height: 34px; flex: none; overflow: visible; }

/* the card: white, a hairline, the soft shadow, radius 16 (DESIGN.md, Cards); the rows inside carry inset hairlines, the last none */
.card, .ledger, .lines, .rows, .faq, .defs, .care, .entries > li, .ruled, .steps-n, .timeline, .house-card, .close, .testbuild, .before-after, .paper-sheet, .box, .phones > div, .pair > div, .ruled-list {
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-card);
}
.ruled-list { padding: 4px 16px; }
.pair > div, .phones > div { padding: 20px 16px; }
.pair .ruled-list, .phones .ruled-list { background: transparent; border: 0; box-shadow: none; border-radius: 0; padding: 0; }

/* ---- the roof: a translucent bar that stays, the lockup, the three doors as a segmented control, the languages ------------- */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.bar { display: flex; flex-wrap: wrap; align-items: center; column-gap: 16px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; min-height: var(--tap); text-decoration: none; }
.brand img { width: 124px; height: auto; }
.lang { margin-left: auto; display: flex; gap: 2px; }
.lang a { display: grid; place-items: center; min-width: 40px; min-height: 40px; border-radius: 10px; font-size: var(--t-print); font-weight: 500; color: var(--ink-2); text-decoration: none; }
.lang a[aria-current] { color: var(--ink); background: var(--surface-2); }
@media (hover: hover) { .lang a:hover { color: var(--ink); } }
.doors { order: 3; flex-basis: 100%; display: flex; align-items: center; gap: 2px; padding: 0 0 10px; }
.door-app { display: contents; }
.door { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: transparent; color: var(--ink-2); font-size: var(--t-print); font-weight: 500; line-height: 1.2; white-space: nowrap; text-decoration: none; border: 1px solid transparent; transition: background-color 150ms var(--ease-out), color 150ms var(--ease-out), transform 140ms var(--ease-out); }
.door[aria-current] { color: var(--ink); background: var(--surface); border-color: var(--line); box-shadow: var(--shadow-card); font-weight: 600; }
@media (hover: hover) { .door:not([aria-current]):hover { color: var(--ink); background: var(--surface-2); } }
.door:active { transform: scale(0.97); }
.key { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.key.petrol { background: var(--petrol); }
.bracket { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.door-biz { margin-left: auto; }
/* on a phone the Business door says Business; its full name stays in the link for every reader, and shows from 900 px */
@media (max-width: 899px) { .door-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } .door { padding: 0 12px; } }
@media (min-width: 900px) {
  .bar { min-height: 72px; flex-wrap: nowrap; }
  .brand img { width: 140px; }
  .doors { order: 2; flex-basis: auto; margin: 0 0 0 auto; padding: 4px; border-radius: 999px; background: var(--surface-2); overflow: visible; }
  .door-app { display: flex; gap: 4px; }
  .door { font-size: var(--t-body); min-height: 40px; padding: 0 16px; }
  .door-biz { margin-left: 4px; }
  .lang { order: 3; margin-left: 16px; }
}

/* ---- the first screen: the question, the line, the request box, the app beside it ---------------------------------------- */
.first { display: grid; gap: 40px; padding-top: 32px; }
.first > *, .page-top-grid > * { min-width: 0; }
/* the pros' first screen (web-3): the ledger takes half the desk, so its rows stay on one line and its act stands in the first screen */
@media (min-width: 900px) { .first-pro .first-main { grid-column: 1 / 7; } .first-pro .first-side { grid-column: 7 / 13; } }
.page-top { padding-top: 28px; }
@media (min-width: 900px) { .page-top { padding-top: 56px; } .first { padding-top: 64px; } }
.page-top h1, .first h1:not(.display) { font-size: var(--t-display-s); line-height: 1.06; letter-spacing: -0.025em; max-width: 18ch; }
.page-top-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .page-top-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; } .page-top-text { grid-column: 1 / 8; } .page-top-grid > .page-photo { grid-column: 9 / 13; align-self: start; margin-top: 56px; } }
.page-photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; outline: 1px solid var(--photo-edge); outline-offset: -1px; }
@media (min-width: 900px) { .first { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; } .first-main { grid-column: 1 / 8; } .first-side { grid-column: 9 / 13; } }
.crumbs ol { display: flex; flex-wrap: wrap; column-gap: 6px; font-size: var(--t-print); color: var(--ink-2); }
.crumbs li { display: flex; align-items: center; min-height: 32px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; }
@media (hover: hover) { .crumbs a:hover { color: var(--ink); } }
.display { font-size: var(--t-display); line-height: 1; letter-spacing: -0.03em; max-width: 12ch; }
.display-s { font-size: var(--t-display-s); line-height: 1.06; letter-spacing: -0.025em; max-width: 18ch; }
.line { margin-top: 16px; font-size: var(--t-lead); line-height: 1.45; color: var(--ink-2); max-width: 40ch; }
.lead { margin-top: 16px; font-size: var(--t-lead); line-height: 1.45; color: var(--ink-2); max-width: 40ch; }
.title-line { margin-top: 18px; font-size: var(--t-title); font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; }
.act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 24px; }
.act .print { max-width: 40ch; }
.act-note { margin-top: 12px; }
.second { margin-top: 18px; }
.second a { display: inline-flex; align-items: center; min-height: var(--tap); font-weight: 500; }
.first-main > .print { margin-top: 20px; }

/* the act: the coral button with ink lettering (Petrol with white on Business), 52 px, a pill; the line button for an act that does not bind */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; background: var(--act); color: var(--on-act); font: 600 var(--t-body)/1.3 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 150ms var(--ease-out), transform 140ms var(--ease-out), box-shadow 150ms var(--ease-out); }
@media (hover: hover) { .btn:hover { background: var(--act-deep); color: var(--on-act); } }
.btn:active { transform: scale(0.97); }
.btn-line { background: var(--surface); color: var(--ink); border-color: var(--line-strong); min-height: 48px; font-weight: 500; }
@media (hover: hover) { .btn-line:hover { background: var(--surface-2); color: var(--ink); } }
@media (max-width: 599px) { .box .btn, .act .btn { width: 100%; } }

/* ---- the request box: the app's line as a card. A link built by site.js, never a form --------------------------------------- */
.box { margin-top: 24px; padding: 16px; border-radius: 20px; box-shadow: var(--shadow-pop); transition: box-shadow 200ms var(--ease-out), border-color 200ms var(--ease-out); }
.box:focus-within { border-color: var(--act); box-shadow: var(--shadow-pop), 0 0 0 4px var(--act-soft); }
.box-label { display: block; font-size: var(--t-title); font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; margin-bottom: 8px; }
.box-lane { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: start; min-height: 56px; padding: 6px 0 12px; }
.box-lane .wm { width: 44px; height: 44px; margin-top: 2px; }
.box-field { display: block; width: 100%; min-height: 2.7em; border: 0; border-radius: 0; resize: none; background: transparent; color: var(--ink); font: 500 var(--t-lead)/1.4 var(--sans); letter-spacing: -0.005em; field-sizing: content; }
.box-field:focus-visible { outline: none; }
.box-field::placeholder { color: var(--ink-3); opacity: 1; }
.box-row { display: grid; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
@media (min-width: 600px) { .box-row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 16px; } }
.box-kiez label { display: block; font-size: var(--t-caption); font-weight: 500; color: var(--ink-2); margin-bottom: 4px; }
.box-kiez input { display: block; width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--ink); font: 400 1rem/1.3 var(--sans); transition: border-color 150ms var(--ease-out), box-shadow 150ms var(--ease-out); }
.box-kiez input:focus-visible { outline: none; border-color: var(--act); box-shadow: 0 0 0 3px var(--act-soft); }
.box-kiez input::placeholder { color: var(--ink-3); opacity: 1; }
@media (min-width: 600px) { .box-kiez { max-width: 14rem; } }
.box-free { margin-top: 16px; font-size: var(--t-lead); font-weight: 600; line-height: 1.35; letter-spacing: -0.005em; }
.box-trust { margin-top: 4px; font-size: var(--t-print); line-height: 1.45; color: var(--ink-2); max-width: 52ch; }
.box-suggest { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; overscroll-behavior-x: contain; }
@media (max-width: 599px) { .box-suggest { flex-wrap: nowrap; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 2px; scroll-padding-left: 16px; scroll-snap-type: x proximity; scrollbar-width: none; } .box-suggest li { flex: none; scroll-snap-align: start; } }
.box-suggest::-webkit-scrollbar { display: none; }
@media (min-width: 600px) { .box-suggest { max-width: 29rem; } }
.box-suggest a, .fills a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--surface-2); color: var(--ink); font-size: var(--t-print); font-weight: 500; text-decoration: none; transition: background-color 150ms var(--ease-out), transform 140ms var(--ease-out); }
@media (hover: hover) { .box-suggest a:hover, .fills a:hover { background: var(--surface-3); } }
.box-suggest a:active, .fills a:active { transform: scale(0.97); }
.fills { display: flex; flex-wrap: wrap; gap: 8px; }

/* the start page's first screen (web-3): one act. The question in two lines, the line, the box; on the desk the three stand
   centred as one column, the box's own words left aligned */
.first-one { padding-top: 24px; }
.first-one .display { max-width: 14ch; }
@media (min-width: 900px) {
  .first-one { display: block; padding-top: 88px; text-align: center; }
  .first-one .display, .first-one .line { margin-left: auto; margin-right: auto; }
  .first-one .box { max-width: 760px; margin-left: auto; margin-right: auto; text-align: left; }
}

/* ---- the one big statement: the words light up one after another as they scroll into view (site.js); static without it ------ */
.tag { margin-top: 96px; }
@media (min-width: 900px) { .tag { margin-top: 144px; } }
.tag p { font-size: var(--t-tag); font-weight: 600; line-height: 1.12; letter-spacing: -0.025em; max-width: 24ch; text-wrap: balance; }
.tag .w { display: inline-block; color: var(--ink); transition: color 500ms var(--ease-out); }
.js .tag .w:not(.in) { color: color-mix(in srgb, var(--ink) 28%, transparent); }

/* ---- the sections: the heading in the margin at the desk, the body in cards -------------------------------------------- */
.sec, .part { margin-top: 80px; }
@media (min-width: 900px) { .sec, .part { margin-top: 128px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; } .sec-h, .part > h2 { grid-column: 1 / 5; padding-right: 24px; } .sec-b, .part-body { grid-column: 5 / 13; } .sec.wide .sec-h, .sec.wide .sec-b { grid-column: 1 / 13; } .sec.wide .sec-h { padding-right: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; } }
.part > h2, .h { font-size: var(--t-head); line-height: 1.1; letter-spacing: -0.025em; }
.part-body, .sec-b { margin-top: 20px; }
@media (min-width: 900px) { .part-body, .sec-b { margin-top: 6px; } .sec.wide .sec-b { margin-top: 28px; } }
.part-body > p, .sec-b > p { max-width: 62ch; }
.part-body > * + *, .sec-b > * + * { margin-top: 16px; }
.part-body > p + .go, .sec-b > p + .go { margin-top: 8px; }
.sec-h .print { margin-top: 10px; max-width: 36ch; }
.sec.wide .sec-h .print { margin-top: 0; }
/* how it works: the one real sequence of the house, so its parts carry their numbers */
.how-parts { counter-reset: how; }
.how-parts > .part:not(.part-close) { counter-increment: how; }
.how-parts > .part:not(.part-close) > h2::before { content: counter(how, decimal-leading-zero); display: block; margin-bottom: 8px; font-size: var(--t-print); font-weight: 500; letter-spacing: 0.02em; color: var(--act-text); font-variant-numeric: tabular-nums; }
.big { font-size: var(--t-lead); font-weight: 500; line-height: 1.4; letter-spacing: -0.01em; max-width: 36ch; }
.go a { display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); font-weight: 600; color: var(--act-text); text-decoration: none; }
@media (hover: hover) { .go a:hover { text-decoration: underline; text-decoration-color: currentColor; } }
.go a + a { margin-left: 20px; }
.go .icon { width: 16px; height: 16px; }

/* the steps of how it goes: four cards with the calendar's words, in a row at the desk */
.entries { display: grid; gap: 12px; }
@media (min-width: 700px) { .entries { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
@media (min-width: 1100px) { .sec.wide .entries { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.entries > li { display: grid; gap: 6px; padding: 20px 20px 22px; }
.entries .t { font-size: var(--t-print); font-weight: 600; color: var(--act-text); letter-spacing: 0; }
.entries .t.waits { color: var(--wait-text); }
.entries .w { font-size: var(--t-title); font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; text-wrap: balance; }
.entries .d { color: var(--ink-2); max-width: 44ch; }
.entries .d:only-child, .entries .t + .d { color: var(--ink); }
.part-body .entries > li { grid-template-columns: 1fr; }
/* how it goes on the start page (web-3): three steps, each with the screen of the app that proves it, side by side from 900 px */
.steps { display: grid; gap: 48px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); column-gap: 32px; row-gap: 0; } }
.step { display: grid; gap: 6px; align-content: start; }
/* from 900 px the steps share their rows (subgrid), so the three screens start on one line whatever the length of the words */
@media (min-width: 900px) { .step { grid-row: span 4; grid-template-rows: subgrid; row-gap: 6px; } }
.step .t { font-size: var(--t-print); font-weight: 600; color: var(--act-text); }
.step .t.waits { color: var(--wait-text); }
.step .w { font-size: var(--t-title); font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; }
.step .d { color: var(--ink-2); max-width: 40ch; }
.step .shot { margin-top: 18px; max-width: 320px; }

/* money as a ledger card: the terms and the figures, a double rule under the sum */
.ledger { padding: 4px 20px 16px; }
.ledger-h { font-size: var(--t-title); line-height: 1.25; letter-spacing: -0.015em; padding-top: 14px; padding-bottom: 6px; }
.ledger dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.ledger dt { max-width: 34ch; }
.ledger dt small { display: block; font-size: var(--t-print); color: var(--ink-2); }
.ledger dd { font-weight: 500; white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.ledger dl > .sum { border-bottom: 3px double var(--ink); font-weight: 600; }
.ledger .sum dd { font-weight: 600; font-size: var(--t-lead); }
.ledger .src { margin-top: 14px; }
.ledger .kontakt { margin-top: 14px; font-weight: 500; max-width: 52ch; }
.ledger .act { margin-top: 16px; }
.ledger .act .btn { width: 100%; }
/* the one proof of the start: what Schwupps costs the client, on the soft coral ground */
.ledger.proof { background: var(--act-soft); border-color: transparent; }
.ledger.proof dl > div { border-bottom-color: color-mix(in srgb, var(--ink) 12%, transparent); }
.ledger.proof dl > .sum { border-bottom-color: var(--ink); }
.ledger.proof .sum dd { font-size: var(--t-title); }
.ledger > .print:last-child { margin-top: 10px; }

/* lines of trust and definitions, as rows of a card */
.lines > li { padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: var(--t-lead); font-weight: 500; line-height: 1.4; letter-spacing: -0.005em; }
.lines > li:last-child { border-bottom: 0; }
.lines small { display: block; margin-top: 4px; font-size: var(--t-print); font-weight: 400; color: var(--ink-2); letter-spacing: 0; }
.defs > div, .care > div { display: grid; gap: 4px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.defs > div:last-child, .care > div:last-child { border-bottom: 0; }
.defs dt, .care dt { font-weight: 600; }
.defs dd, .care dd { max-width: 60ch; color: var(--ink-2); }
@media (min-width: 900px) { .defs > div, .care > div { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; } }
.pair { display: grid; gap: 16px; }
@media (min-width: 700px) { .pair { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pair h3, .phones h3 { font-size: var(--t-title); line-height: 1.25; letter-spacing: -0.015em; padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.ruled-list > li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.ruled-list > li:last-child { border-bottom: 0; }
.ruled-list.never > li { color: var(--ink-2); }
.ruled-list.never > li::before { content: "\2715"; display: inline-block; width: 1.4em; color: var(--ink-3); font-size: 0.85em; }

/* links as rows of a card (categories, Kieze, prices, businesses, proofs) */
.ruled > li, .rows > li { border-bottom: 1px solid var(--line); }
.ruled > li:last-child, .rows > li:last-child { border-bottom: 0; }
.ruled a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; align-items: center; padding: 16px 20px; min-height: var(--tap); text-decoration: none; transition: background-color 150ms var(--ease-out); }
@media (hover: hover) { .ruled a:hover { background: var(--surface-2); } }
.ruled > li:first-child a { border-radius: 15px 15px 0 0; }
.ruled > li:last-child a { border-radius: 0 0 15px 15px; }
.ruled-name { grid-column: 1; font-size: var(--t-lead); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.ruled-line, .ruled-facts { grid-column: 1; font-size: var(--t-print); color: var(--ink-2); }
.ruled .icon { grid-column: 2; grid-row: 1 / span 3; color: var(--ink-3); }
.rows > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; align-items: baseline; padding: 16px 20px; }
.rows .rt { font-size: var(--t-lead); font-weight: 600; letter-spacing: -0.01em; }
.rows .rt a { display: inline-flex; min-height: var(--tap); align-items: center; }
.rows .rv { text-align: right; font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.rows .rs { grid-column: 1 / -1; font-size: var(--t-print); color: var(--ink-2); }
.plain-list { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--t-print); font-weight: 500; }
.plain-list > li { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 999px; background: var(--surface-2); }
.cost-job { margin-top: 28px; }
.cost-job h3 { font-size: var(--t-title); line-height: 1.25; letter-spacing: -0.015em; }
.cost-job p { margin-top: 6px; max-width: 52ch; }
.cost-job .print { margin-top: 10px; }
.kiez-row { display: grid; gap: 8px; margin-top: 20px; }
@media (min-width: 700px) { .kiez-row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; } }
.empty { font-size: var(--t-body); font-weight: 500; color: var(--ink-2); padding: 16px 20px; background: var(--surface); border: 1px dashed var(--line-strong); border-radius: 16px; }

/* the house: two apps, who pays what; a table at the desk, two cards on a phone */
.house { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-card); overflow: hidden; }
.house th { font-size: var(--t-caption); font-weight: 500; color: var(--ink-2); text-align: left; padding: 12px 20px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.house td { padding: 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.house tr:last-child td { border-bottom: 0; }
.house .app { display: flex; align-items: baseline; gap: 10px; font-size: var(--t-title); font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; }
.house .app small { display: block; font-size: var(--t-print); font-weight: 400; color: var(--ink-2); letter-spacing: 0; }
.house .pay { font-weight: 500; }
.house .pay.petrol { color: var(--petrol-text); }
.house td a { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); white-space: nowrap; font-weight: 600; color: var(--act-text); text-decoration: none; }
.house td a + a { margin-left: 20px; }
@media (max-width: 759px) {
  .house, .house tbody { display: block; background: transparent; border: 0; box-shadow: none; overflow: visible; }
  .house thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .house tr, .house td { display: block; }
  .house tr { padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-card); }
  .house tr + tr { margin-top: 12px; }
  .house td { padding: 0; border: 0; }
  .house td + td { margin-top: 8px; }
}

/* the steps of a real sequence, numbered in the door's ink */
.steps-n { counter-reset: s; }
.steps-n > li { counter-increment: s; display: grid; grid-template-columns: 2.4em minmax(0, 1fr); gap: 4px 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.steps-n > li:last-child { border-bottom: 0; }
.steps-n > li::before { content: counter(s, decimal-leading-zero); grid-row: 1 / span 2; font-size: var(--t-print); line-height: 1.7; font-weight: 600; color: var(--act-text); font-variant-numeric: tabular-nums; }
.steps-n .w { font-size: var(--t-lead); font-weight: 600; line-height: 1.3; }
.steps-n .d { grid-column: 2; max-width: 58ch; color: var(--ink-2); }

/* the stamp's impression, as the app presses it: the site shows it once, on how it works */
.impression { display: inline-flex; align-items: center; min-height: 32px; margin-top: 12px; padding: 0 14px; border: 2px solid var(--coral-text); border-radius: 999px; color: var(--coral-text); font-size: var(--t-print); font-weight: 700; letter-spacing: 0.01em; transform: rotate(-4deg); transform-origin: left center; }

/* questions: open without a script */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 12px 20px; font-size: var(--t-lead); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; cursor: pointer; list-style: none; transition: background-color 150ms var(--ease-out); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--ink-3); transition: transform 220ms var(--ease-in-out); }
.faq details[open] summary .icon { transform: rotate(90deg); }
@media (hover: hover) { .faq summary:hover { background: var(--surface-2); } }
.faq details:first-child summary { border-radius: 15px 15px 0 0; }
.faq details:last-child:not([open]) summary { border-radius: 0 0 15px 15px; }
.faq details p { padding: 0 20px 20px; max-width: 62ch; color: var(--ink-2); }

/* photographs: in colour, a hairline edge, generous radius */
.plate { margin-top: 80px; }
.plate img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 24px; outline: 1px solid var(--photo-edge); outline-offset: -1px; }
.plate figcaption { margin-top: 12px; font-size: var(--t-print); color: var(--ink-2); max-width: 60ch; }
@media (min-width: 900px) { .plate { margin-top: 128px; } .plate img { aspect-ratio: 21 / 9; } }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-card); overflow: hidden; display: flex; flex-direction: column; transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out); }
@media (hover: hover) { .tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-pop); } }
.tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tile > a { display: block; text-decoration: none; }
.tile-name, .tile .ruled-name { display: block; padding: 12px 14px 0; font-size: var(--t-body); font-weight: 600; line-height: 1.3; }
.tile .ruled-line { display: block; padding: 2px 14px 14px; }
.tile-acts { display: flex; flex-wrap: wrap; gap: 0 14px; padding: 2px 14px 10px; font-size: var(--t-print); }
.tile-acts a { display: inline-flex; align-items: center; min-height: 36px; font-weight: 600; color: var(--act-text); text-decoration: none; }
.tile-acts a:first-child { color: var(--ink); }
@media (hover: hover) { .tile-acts a:hover { text-decoration: underline; } }
@media (max-width: 599px) { .tile-name, .tile .ruled-name { font-size: var(--t-print); } }

/* the interface pictures: real captures of the live app, on a phone's glass. On a phone the frames stand in a strip that
   scrolls on its own; the page never scrolls sideways */
.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 8px 16px 24px; scrollbar-width: none; }
.shots::-webkit-scrollbar { display: none; }
.shots > .shot { flex: 0 0 min(300px, 82vw); scroll-snap-align: start; }
@media (min-width: 700px) { .shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; overflow-x: visible; margin: 0; padding: 8px 0 0; } .shots > .shot { flex: none; } }
@media (min-width: 1100px) { .shots.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } .shots.two { max-width: 760px; } }
.shot { display: block; }
.shot img { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 28px; background: var(--surface); box-shadow: var(--shadow-media); }
.shot figcaption { margin-top: 14px; padding: 0 4px; }
.shot-what { display: block; font-weight: 600; line-height: 1.35; text-wrap: pretty; }
.shot-note { display: block; margin-top: 2px; font-size: var(--t-caption); color: var(--ink-2); }
.phones { display: grid; gap: 16px; }
@media (min-width: 700px) { .phones { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.phones h4 { font-size: var(--t-body); font-weight: 600; margin-top: 18px; }
.phones .ruled-list { margin-top: 4px; }
.phones .shot { margin-top: 8px; }

/* the statement of the house, the honest lines of a price page */
.statement { font-size: var(--t-title); font-weight: 500; line-height: 1.3; letter-spacing: -0.015em; max-width: 32ch; }
.honest { margin-top: 18px; max-width: 52ch; }
.byline { margin-top: 12px; }
.close { margin-top: 80px; padding: 28px 20px 24px; text-align: left; }
@media (min-width: 900px) { .close { margin-top: 128px; padding: 48px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; } .close > * { grid-column: 1 / 8; } .close .go, .close .act { grid-column: 9 / 13; justify-self: end; margin-top: 0; } }
.close .h { margin-bottom: 8px; }
.close > p:not(.go):not(.act) { color: var(--ink-2); max-width: 44ch; }
.close .go { margin-top: 20px; }
.close .go a { min-height: 52px; padding: 0 24px; border-radius: 999px; background: var(--act); color: var(--on-act); font-weight: 600; transition: background-color 150ms var(--ease-out), transform 140ms var(--ease-out); }
@media (hover: hover) { .close .go a:hover { background: var(--act-deep); text-decoration: none; } }
.close .go a:active { transform: scale(0.97); }
.close .act { margin-top: 20px; }
.close .print { margin-top: 10px; }
.close a:not(.btn):not(.go a), .lines small a { display: inline-flex; align-items: center; min-height: var(--tap); }

/* before and after, on Business: two columns of one card */
.before-after > li { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.before-after > li:last-child { border-bottom: 0; }
.before-after-head { font-size: var(--t-caption); font-weight: 500; color: var(--ink-2); background: var(--surface-2); border-radius: 15px 15px 0 0; }
.before-after > li > span:first-child { color: var(--ink-2); }
.before-after > li:not(.before-after-head) > span:last-child { font-weight: 500; }
.crew-light { margin-top: 48px; }

/* where we stand: the stations, today in ink and the others grey, a dot on the rail */
.timeline > li { position: relative; display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 2px 16px; padding: 18px 20px 18px 44px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.timeline > li:last-child { border-bottom: 0; }
.timeline > li::before { content: ""; position: absolute; left: 20px; top: 26px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--surface); }
.timeline > li[aria-current] { color: var(--ink); }
.timeline > li[aria-current]::before { background: var(--act); border-color: var(--act); }
.timeline .when { font-size: var(--t-print); padding-top: 3px; }
.timeline h3 { font-size: var(--t-lead); line-height: 1.3; }
.timeline p:not(.when) { grid-column: 2; }
@media (max-width: 599px) { .timeline > li { grid-template-columns: minmax(0, 1fr); } .timeline p:not(.when) { grid-column: 1; } }

/* ---- the Android test build -------------------------------------------------------------------------------------- */
.testbuild { padding: 20px; }
@media (min-width: 900px) { .testbuild { padding: 28px; } }
.testbuilds .testbuild + .testbuild { margin-top: 24px; }
.testbuild-h { font-size: var(--t-title); line-height: 1.25; }
.testbuild-name { margin-top: 8px; }
.testbuild-name span { color: var(--ink-2); }
.testbuild-get { margin-top: 16px; }
.testbuild-more { margin-top: 16px; border-top: 1px solid var(--line); }
.testbuild-more summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: var(--tap); padding-top: 8px; font-weight: 600; cursor: pointer; list-style: none; }
.testbuild-more summary::-webkit-details-marker { display: none; }
.testbuild-more summary .icon { color: var(--ink-3); transition: transform 220ms var(--ease-in-out); }
.testbuild-more[open] summary .icon { transform: rotate(90deg); }
.testbuild-facts { margin-top: 18px; }
.testbuild-facts > div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.testbuild-facts > div:last-child { border-bottom: 0; }
.testbuild-facts dt { font-size: var(--t-print); color: var(--ink-2); padding-top: 2px; }
.testbuild-facts code { display: block; font-family: inherit; font-size: var(--t-print); overflow-wrap: anywhere; }
.testbuild-facts dd a { display: inline-flex; align-items: center; min-height: var(--tap); font-size: var(--t-print); }
.testbuild-notes { margin-top: 18px; }
.testbuild-notes > li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.testbuild-notes > li:last-child { border-bottom: 0; }
.testbuild-stores { margin-top: 14px; color: var(--ink-2); }
.testbuild-was, .testbuild-same { margin-top: 18px; }
.product-name { display: flex; align-items: center; gap: 12px; font-size: var(--t-title); line-height: 1.2; letter-spacing: -0.015em; }
.sec.testbuild { display: block; }
@media (min-width: 900px) { .sec.testbuild { display: grid; } }
.sec.testbuild .sec-b { margin-top: 16px; }
@media (min-width: 900px) { .sec.testbuild .sec-b { margin-top: 0; } }

/* ---- the colophon --------------------------------------------------------------------------------------------------- */
.site-footer { margin-top: 128px; border-top: 1px solid var(--line); padding-top: 40px; padding-bottom: 48px; padding-bottom: max(48px, calc(env(safe-area-inset-bottom) + 24px)); }
.foot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
@media (min-width: 700px) { .foot-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .foot-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.foot-h { font-size: var(--t-caption); font-weight: 600; color: var(--ink); margin-bottom: 4px; letter-spacing: 0.01em; }
.foot-grid li a { display: inline-flex; align-items: center; min-height: 36px; font-size: var(--t-print); color: var(--ink-2); text-decoration: none; }
@media (hover: hover) { .foot-grid li a:hover { color: var(--ink); } }
.imprint { display: grid; gap: 14px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: var(--t-print); color: var(--ink-2); }
@media (min-width: 900px) { .imprint { grid-template-columns: auto minmax(0, 1fr); column-gap: 32px; align-items: center; } }
.imprint .brand img { width: 112px; }
.imprint a { color: var(--ink-2); }
.imprint .mail { display: inline-flex; align-items: center; min-height: var(--tap); }

/* ---- the legal pages: the words untouched, set for reading on one sheet ------------------------------------------------- */
.paper { padding-top: 24px; padding-left: 16px; padding-right: 16px; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
@media (min-width: 900px) { .paper { padding-top: 48px; } }
.paper-sheet { max-width: 46rem; margin-left: auto; margin-right: auto; padding: 24px 20px 32px; overflow-wrap: break-word; }
@media (min-width: 700px) { .paper-sheet { padding: 48px 56px 56px; border-radius: 24px; } }
.paper-sheet h1 { font-size: var(--t-display-s); line-height: 1.06; letter-spacing: -0.025em; margin-top: 12px; }
.paper-sheet h2 { font-size: var(--t-title); line-height: 1.25; letter-spacing: -0.015em; margin-top: 44px; padding-top: 16px; border-top: 1px solid var(--line); }
.paper-sheet h3 { font-size: var(--t-body); margin-top: 28px; }
.paper-sheet p, .paper-sheet ul, .paper-sheet ol, .paper-sheet dl, .paper-sheet address, .paper-sheet table { margin-top: 14px; }
.paper-sheet ul { list-style: disc; padding-left: 1.25rem; }
.paper-sheet ol { list-style: decimal; padding-left: 1.5rem; }
.paper-sheet li + li { margin-top: 6px; }
.paper-sheet address { font-style: normal; }
.paper-sheet code { font-family: inherit; font-size: 0.9375em; }
.paper-sheet hr { border: 0; border-top: 1px solid var(--line); margin-top: 32px; margin-bottom: 32px; }
.paper-sheet dt { font-weight: 600; margin-top: 12px; }
.paper-sheet dd { margin-top: 2px; }
.paper-sub, .paper-note, .paper-foot { color: var(--ink-2); }
.paper-note { font-size: var(--t-print); }
.paper-langs { margin-top: 24px; padding: 12px 16px; background: var(--surface-2); border-radius: 12px; font-size: var(--t-print); }
.paper-langs p + p { margin-top: 8px; }
.paper-langs p:first-child { margin-top: 0; }
.paper-short { padding: 12px 16px; background: var(--surface-2); border-radius: 12px; }
.paper-box { padding: 10px 16px; border: 1px solid var(--line); border-radius: 12px; }
.paper-toc { margin-top: 24px; padding-top: 12px; border-top: 1px solid var(--line); }
.paper-toc ol { margin-top: 6px; }
.paper-toc a { display: inline-flex; align-items: center; min-height: var(--tap); }
.paper-en { margin-top: 48px; }
.paper-nav { display: flex; flex-wrap: wrap; column-gap: 20px; margin-top: 48px; padding-top: 12px; border-top: 1px solid var(--line); }
.paper-nav a { display: inline-flex; align-items: center; min-height: var(--tap); }
.paper-foot { margin-top: 40px; }
.paper-sheet .small { font-size: var(--t-print); }
.tablewrap { overflow-x: auto; margin-top: 14px; }
.paper-sheet table { border-collapse: collapse; width: 100%; font-size: var(--t-print); }
.paper-sheet th, .paper-sheet td { padding: 8px 12px 8px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.paper-sheet th { font-weight: 600; }
@media (max-width: 599px) { .paper-sheet table { table-layout: fixed; } .paper-sheet th, .paper-sheet td { overflow-wrap: anywhere; hyphens: auto; } }
.is-lost .from { display: flex; gap: 12px; font-size: var(--t-print); color: var(--ink-2); }
.paper-sheet .lost-links { list-style: none; padding-left: 0; display: flex; flex-wrap: wrap; column-gap: 24px; }
.lost-links a { display: inline-flex; align-items: center; min-height: var(--tap); }

/* ---- the entrances: on load the start page's line and box rise once, 8 px in 300 ms on the strong ease-out, the box 60 ms
   after the line (the question stands, so it paints at once); a section that starts below the fold rises 16 px as it scrolls
   into view (site.js marks it). The figure stands still until a person turns to the box (site.js, the slot). Nothing moves
   under reduced motion ------------------------------------------------------------------------------------------------- */
@keyframes rise-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: no-preference) {
  .first-one .line, .first-one .box { animation: rise-in 300ms var(--ease-out) both; }
  .first-one .box { animation-delay: 60ms; }
  .js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
  .js [data-reveal].in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .tag .w:not(.in) { color: var(--ink); }
}

/* ---- printing: the workers' page fits one A4 sheet for the object folder ------------------------------------------------- */
@media print {
  .site-header, .site-footer, .skip, .crumbs, .hero-shot { display: none; }
  body { font-size: 11pt; line-height: 1.4; background: #fff; color: #000; }
  .card, .ledger, .lines, .rows, .faq, .defs, .care, .entries > li, .ruled, .steps-n, .timeline, .close, .testbuild, .box { box-shadow: none; }
  .sec { margin-top: 18pt; }
  .first { padding-top: 0; }
}

@media (forced-colors: active) {
  .key, .door[aria-current] { forced-color-adjust: none; }
  .btn, .close .go a { border: 2px solid ButtonText; }
  .door[aria-current] { border: 2px solid CanvasText; }
  .card, .ledger, .lines, .rows, .faq, .defs, .care, .entries > li, .ruled, .steps-n, .timeline, .close, .testbuild, .box, .tile, .house { border: 1px solid CanvasText; }
}
