/* EXSCO W2: "Sketch → Live". Ink and paper, one red accent (the line to draw now), big type,
   lots of space. One sans for everything (Geist, OFL); Relief single-line only for the small
   construction notes inside the drawings (drawn by live.js on canvas). */

@font-face { font-family: "Geist"; src: url("fonts/geist.woff2?v=ed9c3ef73a") format("woff2"); font-weight: 100 900; font-style: normal; font-display: optional; }
@font-face { font-family: "Relief"; src: url("fonts/relief-singleline.woff2?v=a490b59399") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --paper: #f5f5f2;
  --screen: #ffffff;
  --tile: #ebebe6;
  --ink: #121416;
  --ink-2: #5a6066;
  --guide: #8496a6;
  --line: #dcddd7;
  --line-2: #b9bcb5;
  --now: #d2382a;
  --now-text: #b42f22;
  --on-ink: #f5f5f2;
  --focus: #1f5fa3;
  --ok: #1f7a4a;

  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gut: max(16px, env(safe-area-inset-left, 0px));
  --wrap: 86rem;
  --sec: clamp(4rem, 8vw, 7rem);
  --r: 20px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0f1113;
    --screen: #1b1e22;
    --tile: #16191c;
    --ink: #eef0ec;
    --ink-2: #9ba3a9;
    --guide: #64798b;
    --line: #262a2e;
    --line-2: #3a4045;
    --now: #ff6a55;
    --now-text: #ff8a79;
    --on-ink: #0f1113;
    --focus: #8fbcef;
    --ok: #5fd39a;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.w2 {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.55 var(--sans); letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01" 0; overflow-wrap: break-word;
}
img, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, figure, fieldset { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--ink); color: var(--on-ink); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding-inline: max(var(--gut), clamp(16px, 4vw, 48px)); }

/* ---------- header ---------- */
.bar { position: relative; z-index: 2; }
.bar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; letter-spacing: 0.06em; font-size: 0.95rem; min-height: 44px; }
.brand svg { width: 26px; height: 26px; }
.brand .mk-i { stroke: var(--ink); stroke-width: 3.4; stroke-linecap: round; fill: none; }
.brand .mk-n { stroke: var(--now); stroke-width: 3.4; stroke-linecap: round; fill: none; }
.bar-nav { display: flex; align-items: center; gap: clamp(4px, 2vw, 28px); font-size: 0.95rem; }
.bar-nav a { text-decoration: none; color: var(--ink-2); padding: 10px 6px; min-height: 44px; display: inline-flex; align-items: center; }
.bar-nav a:hover { color: var(--ink); }
.bar-nav .lang { color: var(--ink); font-weight: 600; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px; min-height: 36px; }
@media (max-width: 520px) { .bar-nav a.opt-nav { display: none; } }

/* ---------- type ---------- */
h1 { font-size: clamp(3rem, 1rem + 6.6vw, 7.75rem); line-height: 0.96; letter-spacing: -0.035em; font-weight: 660; text-wrap: balance; }
h2 { font-size: clamp(2.25rem, 1.1rem + 3.4vw, 4rem); line-height: 1; letter-spacing: -0.03em; font-weight: 640; text-wrap: balance; }
h3 { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.5rem); line-height: 1.2; letter-spacing: -0.025em; font-weight: 620; }
.sub { text-wrap: pretty; font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem); line-height: 1.45; color: var(--ink-2); max-width: 30em; letter-spacing: -0.012em; }
.small { font-size: 0.9rem; color: var(--ink-2); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px;
  background: var(--ink); color: var(--on-ink); font: 600 1.05rem/1 var(--sans); letter-spacing: -0.01em; text-decoration: none; border: 0; cursor: pointer;
  transition: transform .2s ease, opacity .2s ease; }
.btn:hover { opacity: 0.88; }
.btn:active { transform: scale(0.98); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }

/* ---------- hero: big type on top, the drawing large and central under it ---------- */
.hero2-text { display: grid; gap: 22px; padding-block: clamp(20px, 5vw, 56px) clamp(20px, 3vw, 36px); align-items: end; }
.hero2-side { display: grid; gap: 22px; justify-items: start; }
@media (min-width: 1100px) {
  .hero2-text { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; }
  .hero2-side { padding-bottom: 0.6rem; }
}
.stage-wrap { padding-bottom: clamp(24px, 4vw, 48px); }
.stage { position: relative; width: calc(100% + 32px); margin-inline: -16px; aspect-ratio: 4 / 5; } /* W4: 4:5 on phones */
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (min-width: 700px) {
  .stage { width: 100%; margin-inline: 0; aspect-ratio: 1250 / 640; }
}
@media (min-width: 1100px) { .hero2-text { padding-block: clamp(12px, 2vw, 32px) 8px; } .stage { max-height: max(380px, calc(100svh - 360px)); } }

/* the pen line: a thin red line draws down the page as you scroll (left edge; a top hairline on phones) */
.penline { display: none; position: fixed; z-index: 5; pointer-events: none; left: 0; right: 0; top: 0; height: 2px; }
.penline.on { display: block; }
.penline i { position: absolute; inset: 0; background: var(--now); transform: scaleX(0); transform-origin: 0 0; will-change: transform; }
.penline b { display: none; }
@media (min-width: 900px) {
  .penline { right: auto; left: max(18px, calc(50vw - 43rem - 34px)); top: 72px; bottom: 0; width: 1.5px; height: auto; }
  .penline i { transform: scaleY(0); }
  .penline b { opacity: 0; transition: opacity .3s; display: block; position: absolute; left: -3px; top: -3.5px; width: 7.5px; height: 7.5px; border-radius: 50%; background: var(--now); will-change: transform; }
}

/* ---------- sections ---------- */
.blk { padding-block: var(--sec) 0; }
.blk h2 { margin-bottom: clamp(32px, 5vw, 64px); max-width: 14em; }

/* what we build: a compact 2 x 2, Apps first */
.tiles { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.tile { background: var(--tile); border-radius: 16px; padding: 4px 14px 16px; display: flex; flex-direction: column; gap: 4px; overflow: hidden; }
.tile canvas { aspect-ratio: 4 / 3; margin: 0 -14px 4px; width: calc(100% + 28px); max-width: none; }
.tile h3 { font-size: 1.02rem; }
.tile p { color: var(--ink-2); font-size: 0.9rem; line-height: 1.4; text-wrap: pretty; }
@media (min-width: 700px) {
  .tiles { gap: 16px; }
  .tile { border-radius: var(--r); padding: 4px 28px 26px; gap: 6px; }
  .tile canvas { aspect-ratio: 16 / 10; margin: 0 -28px 6px; width: calc(100% + 56px); }
  .tile h3 { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.5rem); }
  .tile p { font-size: 1.0625rem; }
}

/* the bezel stays visible on the dark card */
@media (prefers-color-scheme: dark) { .dev { border-color: #343a41; background: #343a41; } }
/* selected work: one project per row, a big visual, alternating sides; the same frame everywhere */
.rows { display: grid; gap: clamp(56px, 8vw, 112px); }
.row { display: grid; gap: clamp(24px, 4vw, 64px); align-items: center; }
@media (min-width: 900px) {
  .row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .row.flip .row-vis { order: 2; }
  .row.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
}
.row-vis { background: var(--tile); border-radius: var(--r); aspect-ratio: 6 / 5; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; padding-top: 9%; }
/* one bezel for every project: the phones stand on the card's bottom edge and run off it */
.duo { display: flex; gap: 5%; align-items: flex-end; justify-content: center; height: 100%; width: 100%; }
.dev { height: 100%; border-radius: 30px 30px 0 0; border: 7px solid #16181b; border-bottom: 0; background: #16181b; overflow: hidden; flex: none; }
.dev img { height: auto; width: 100%; max-width: none; border-radius: 23px 23px 0 0; }
.duo .dev { width: auto; }
.duo .dev img { height: 100%; width: auto; }
.dev.sk { width: 62%; height: 100%; background: #fbfaf5; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; gap: 12px; padding-top: 10%; }
.corgi { position: relative; aspect-ratio: 3 / 4; width: 82%; flex: none; }
.corgi img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border-radius: 0; opacity: 0; }
.corgi .st5 { opacity: 1; }
.dots { display: flex; gap: 6px; justify-content: center; }
.dots li { width: 7px; height: 7px; border-radius: 50%; background: #d5d6d0; position: relative; }
.dots li::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #c8372a; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .corgi .st5 { opacity: 0; }
  .corgi img, .dots li::after { animation: step 12.5s infinite both; animation-play-state: paused; }
  .run .corgi img, .run .dots li::after { animation-play-state: running; }
  .corgi .st2, .dots li:nth-child(2)::after { animation-delay: 2.5s; }
  .corgi .st3, .dots li:nth-child(3)::after { animation-delay: 5s; }
  .corgi .st4, .dots li:nth-child(4)::after { animation-delay: 7.5s; }
  .corgi .st5, .dots li:nth-child(5)::after { animation-delay: 10s; }
  .corgi .st1 { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .dots li:nth-child(5)::after { opacity: 1; } }
@keyframes step { 0% { opacity: 0; } 3% { opacity: 1; } 20% { opacity: 1; } 24% { opacity: 0; } 100% { opacity: 0; } }
.row-text { display: grid; gap: 14px; justify-items: start; align-content: center; }
.row-text h3 { display: flex; align-items: center; gap: 14px; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); letter-spacing: -0.03em; text-wrap: balance; }
.row-text h3 img { width: 44px; height: 44px; border-radius: 11px; }
.row-text > p { color: var(--ink-2); font-size: 1.1rem; max-width: 26em; text-wrap: pretty; }
.af { color: var(--ink-2); font-size: 0.92rem; font-variant-numeric: tabular-nums; }
.apps { display: grid; gap: 4px; width: 100%; margin-top: 6px; }
.apps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; border-top: 1px solid var(--line); padding-top: 10px; }
.apps li img { width: 44px; height: 44px; border-radius: 11px; }
.apps a { display: grid; gap: 1px; text-decoration: none; min-height: 44px; align-content: center; }
.apps .an { font-weight: 620; letter-spacing: -0.015em; }
.apps a:hover .an { color: var(--now-text); }
.ext { color: var(--ink-2); font-size: 0.85em; }
.go { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; min-height: 44px; align-items: center; }
.go:hover { color: var(--now-text); }
.src { font-size: 0.8rem; color: var(--ink-2); }

/* how we work */
.how { display: grid; gap: clamp(28px, 4vw, 48px); counter-reset: n; }
@media (min-width: 760px) { .how { grid-template-columns: repeat(3, 1fr); } }
.how li { display: grid; gap: 10px; align-content: start; border-top: 1px solid var(--line-2); padding-top: 20px; }
.num { width: 44px; height: 44px; border-radius: 50%; border: 1.5px dashed var(--guide); display: grid; place-items: center; color: var(--now-text); font-weight: 600; font-variant-numeric: tabular-nums; margin-bottom: 6px; }
.how p { color: var(--ink-2); max-width: 22em; text-wrap: pretty; }
/* W5 round 1: on phones each number stands beside its title, so the three steps take about half the height */
@media (max-width: 759px) {
  .how { gap: 20px; }
  .how li { grid-template-columns: 36px minmax(0, 1fr); column-gap: 14px; row-gap: 4px; padding-top: 16px; }
  .how .num { grid-row: span 2; width: 36px; height: 36px; margin: 0; }
}
.tile p, .proj-meta p { text-wrap: pretty; }

/* contact */
.contact { padding-bottom: var(--sec); }
.c-grid { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 960px) { .c-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; } }
.c-text { display: grid; gap: 16px; align-content: start; }
.c-text h2 { margin-bottom: 0; font-size: clamp(2.5rem, 1.2rem + 3.6vw, 4.25rem); }
.c-promise { color: var(--ink-2); font-size: 1.15rem; }
.c-mail a { font-size: clamp(1.3rem, 1rem + 1.2vw, 1.8rem); font-weight: 600; letter-spacing: -0.02em; text-decoration-thickness: 1.5px; text-underline-offset: 6px; text-decoration-color: var(--now); }
.form2 { display: grid; gap: 18px; background: var(--tile); border-radius: var(--r); padding: clamp(20px, 3vw, 36px); }
.fld { display: grid; gap: 6px; }
.fld label, .chips legend { font-size: 0.9rem; font-weight: 550; }
.row2 { display: grid; gap: 18px; }
@media (min-width: 600px) { .row2 { grid-template-columns: 1fr 1fr; } }
.form2 input[type=text], .form2 input[type=email], .form2 textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--screen); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; min-height: 50px; }
.form2 textarea { resize: vertical; min-height: 140px; }
.form2 input:focus-visible, .form2 textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: transparent; }
.form2 [aria-invalid="true"] { border-color: var(--now); }
.chips { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { padding: 0; margin-bottom: 10px; }
.opt { color: var(--ink-2); font-weight: 400; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--screen); font-weight: 550; font-size: 0.95rem; }
.chip input:checked + span { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.send .small a { color: var(--ink); }
.ferr { color: var(--now-text); font-size: 0.9rem; }
.notice { border-radius: 12px; padding: 12px 16px; font-weight: 550; }
.notice.ok { background: var(--screen); border: 1px solid var(--ok); }
.notice.err { background: var(--screen); border: 1px solid var(--now); }
.notice:focus { outline: 3px solid var(--focus); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
[hidden] { display: none !important; }

/* footer */
.foot2 { border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--ink-2); }
.foot2-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding-block: 20px 28px; }
.foot2 nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
.foot2 a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.foot2 a:hover { color: var(--ink); }

/* 404 */
.lost2 { padding-bottom: var(--sec); }
.two2 { display: grid; gap: 48px; }
@media (min-width: 900px) { .two2 { grid-template-columns: 1fr 1fr; } }
.two2 > div { display: grid; gap: 20px; justify-items: start; }
.eyebrow2 { color: var(--now-text); font-weight: 600; }
.h1like { font-size: clamp(2.2rem, 1.2rem + 4vw, 4.2rem); line-height: 1; letter-spacing: -0.035em; font-weight: 640; }

@media (forced-colors: active) { .btn, .chip input:checked + span { border: 1px solid CanvasText; } }

/* =====================================================================================
   Content pages (Sketchlight, its legal texts, the Impressum and privacy): the same ink,
   paper and red, the same type; ported from W1 onto the W2 tokens.
   ===================================================================================== */
:root { --print: #fbfaf5; --measure: 42rem; }
.brand-sub { color: var(--ink-2); font-weight: 500; letter-spacing: 0.02em; padding-left: 10px; margin-left: 2px; border-left: 1px solid var(--line-2); }
.foot-home { color: var(--ink-2); }
@media (max-width: 599px) { .brand-sub { display: none; } }
@media (max-width: 379px) { .bar-nav a.opt-sk { display: none; } }
.langbar { background: var(--ink); color: var(--on-ink); font-size: 0.95rem; }
.langbar a { color: var(--on-ink); font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
.langbar :focus-visible { outline-color: var(--on-ink); }
body.w2 a:not(.btn):not(.brand):not(.lang):hover { color: var(--now-text); }
body.w2 .bar-nav a:hover, body.w2 .foot2 a:hover { color: var(--ink); }
.nw { white-space: nowrap; }

/* sections */
.sheet { padding-block: clamp(3.5rem, 8vw, 7rem) 0; }
.sheet h2 { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.4rem); }
.sec-head { display: grid; gap: 1rem; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); max-width: 48rem; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.01em; color: var(--ink-2); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--now); border-radius: 2px; flex: none; }
.lede { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem); color: var(--ink-2); max-width: var(--measure); line-height: 1.5; text-wrap: pretty; }
.lede.strong { color: var(--ink); font-weight: 550; }
.muted { color: var(--ink-2); }
.stack { display: grid; gap: 1rem; }
.stack.loose { gap: 1.5rem; }
.sec-foot { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.more { font-weight: 600; text-decoration: none; }
.more::after { content: " →"; content: " →" / ""; color: var(--now); }

/* the Sketchlight hero */
.hero { padding-block: clamp(1rem, 4vw, 3rem) 0; }
.hero h1 { font-size: clamp(3rem, 1.4rem + 5.4vw, 6rem); }
.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1, .legal-main h1 { overflow-wrap: anywhere; }
@media (min-width: 861px) {
  .split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
  .sk-hero { grid-template-areas: "text phones" "help phones"; row-gap: 1.25rem; }
  .sk-hero > .stack { grid-area: text; align-self: end; }
  .sk-hero > .phones, .sk-hero > .sk-vig { grid-area: phones; }
  .sk-hero > .quickhelp { grid-area: help; align-self: start; }
}
.appname { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; }
.appname img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 0 0 1px var(--line); }
.appname .chip { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.3rem 0.8rem; border-radius: 999px; border: 1px solid var(--line-2); font-size: 0.9rem; font-weight: 550; }
.appname .chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--now); flex: none; }
.quick { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.quick a { display: inline-flex; align-items: center; min-height: 44px; padding: 0.3rem 1rem; border: 1px solid var(--line-2); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.quick a:hover { border-color: var(--ink); }
.quickhelp { display: grid; gap: 0.35rem; }
.quickhelp .quick a { border: 0; padding-inline: 0 1rem; text-decoration: underline; text-decoration-color: var(--now); text-underline-offset: 4px; }
.phones { display: flex; gap: clamp(0.75rem, 2vw, 1.5rem); justify-content: center; align-items: flex-end; background: var(--tile); border-radius: var(--r); padding: clamp(1.5rem, 4vw, 3rem) 1rem; }
.phone { width: min(44%, 240px); border-radius: 30px; border: 7px solid #16181b; background: #16181b; overflow: hidden; }
.phone img { width: 100%; height: auto; border-radius: 23px; }
.phone.lift { transform: translateY(-1.5rem); }

/* steps strip, how it works, features, plans */
.stepfig { background: var(--print); border-radius: var(--r); padding: clamp(0.75rem, 2vw, 1.25rem); max-width: calc(990px + 2.5rem); }
.stepfig img { width: 100%; max-width: 990px; margin-inline: auto; border-radius: 6px; }
.steplabels { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 990px; margin: 0.5rem auto 0; text-align: center; font-size: clamp(0.78rem, 1.5vw, 0.95rem); line-height: 1.2; color: #4c5359; }
.steplabels li { padding-inline: 2px; hyphens: manual; overflow-wrap: normal; }
@media (prefers-color-scheme: dark) { .stepfig img { filter: brightness(0.88); } }
.product { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 861px) { .product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.howto { display: grid; gap: 1.5rem; counter-reset: h; }
.howto li { counter-increment: h; display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); gap: 0.25rem 1rem; }
.howto li::before { content: counter(h); grid-row: span 2; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1.5px dashed var(--guide); display: grid; place-items: center; color: var(--now-text); font-weight: 600; font-variant-numeric: tabular-nums; }
.howto p, .features p { color: var(--ink-2); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.75rem 2.5rem; }
.features > div { display: grid; gap: 0.35rem; align-content: start; border-top: 1px solid var(--line-2); padding-top: 1rem; }
.note { border-left: 2px solid var(--guide); padding-left: 1rem; color: var(--ink-2); max-width: var(--measure); }
.plans { display: grid; gap: 1rem; }
@media (min-width: 761px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plan { border-radius: var(--r); padding: clamp(1.25rem, 3vw, 2rem); background: var(--tile); display: grid; gap: 0.75rem; align-content: start; }
.plan.studio { background: var(--ink); color: var(--on-ink); }
.plan.studio .small, .plan.studio .price { color: var(--on-ink); opacity: 0.8; }
.plan ul { list-style: disc; padding-left: 1.2rem; display: grid; gap: 0.35rem; }
.principle { margin-top: clamp(2rem, 4vw, 3rem); font-weight: 650; font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem); letter-spacing: -0.02em; }

/* help: FAQ on the right of a sticky heading */
@media (min-width: 1024px) {
  .wrap.track { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(2rem, 5vw, 5rem); align-items: start; }
  .wrap.track > .sec-head { position: sticky; top: 2rem; margin: 0; }
  .track-body { max-width: 46rem; }
  .track-body .faq { max-width: none; }
}
.faq { display: grid; max-width: 48rem; border-bottom: 1px solid var(--line-2); }
.faq details { border-top: 1px solid var(--line-2); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 0; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; content: "+" / ""; font-size: 1.4rem; line-height: 1; color: var(--now); flex: none; }
.faq details[open] summary::after { content: "–"; content: "–" / ""; }
.faq-a { padding-bottom: 1.1rem; display: grid; gap: 0.6rem; max-width: var(--measure); color: var(--ink-2); }
.faq-a p { margin: 0; }
.faq-a a, .faq-a strong { color: var(--ink); }
.help-mail { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
.mail { font-weight: 600; font-size: clamp(1.15rem, 1rem + 0.8vw, 1.45rem); overflow-wrap: anywhere; text-decoration-color: var(--now); text-underline-offset: 5px; }
.copy { font: inherit; font-size: 0.9rem; padding: 0.35rem 0.9rem; min-height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); cursor: pointer; }
.copy:hover { color: var(--ink); border-color: var(--ink); }
#help { padding-bottom: clamp(3.5rem, 8vw, 7rem); }

/* legal texts */
.legal-main { hyphens: auto; -webkit-hyphens: auto; max-width: 46rem; padding-block: clamp(1rem, 3vw, 2rem) clamp(3.5rem, 8vw, 6rem); }
.legal-main h1 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4rem); margin: 0.5rem 0 1.25rem; }
.legal-main h2 { font-size: 1.35rem; letter-spacing: -0.02em; margin: 2.4rem 0 0.6rem; }
.legal-main h3 { font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }
.legal-main p, .legal-main ul, .legal-main ol, .legal-main address, .legal-main table { margin: 0 0 1rem; }
.legal-main address { font-style: normal; }
.legal-main ul { list-style: disc; padding-left: 1.2rem; }
.legal-main ol { list-style: decimal; padding-left: 1.4rem; }
.legal-main li { margin-bottom: 0.4rem; }
.legal-main a { text-decoration-color: var(--now); text-underline-offset: 3px; overflow-wrap: anywhere; }
.tablebox { overflow-x: auto; margin-bottom: 1rem; }
.legal-main table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.legal-main th, .legal-main td { text-align: left; vertical-align: top; border-top: 1px solid var(--line-2); padding: 0.6rem 0.75rem 0.6rem 0; }
.toc { margin: 1.5rem 0 2rem; padding: 1rem 1.25rem; border-left: 2px solid var(--guide); }
.legal-main .toc .toc-h { font-size: 1.1rem; margin: 0 0 0.5rem; }
.toc ol { margin: 0; columns: 2 16rem; column-gap: 2rem; }
.toc li { margin-bottom: 0.2rem; break-inside: avoid; }
.toc-back { font-size: 0.9rem; margin: 0.5rem 0 0; }
mark.todo { background: #ffe58a; color: #1b1e21; padding: 0 0.2em; border-radius: 3px; }

/* print: clean on paper */
@media print {
  :root { --paper: #fff; --tile: #fff; --ink: #000; --ink-2: #333; --line: #bbb; --line-2: #bbb; }
  body.w2 { font-size: 11pt; background: #fff; color: #000; }
  .bar-nav, .langbar, .skip, .penline, .copy, .toc-back, .foot2 nav { display: none !important; }
  .legal-main { max-width: none; padding: 0; }
  .legal-main a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; color: #333; }
  .faq details > *:not(summary) { display: block; }
  h1, h2, h3 { break-after: avoid; }
  table, address { break-inside: avoid; }
}
@media (forced-colors: active) {
  .eyebrow::before, .appname .chip .dot { background: CanvasText; }
  .brand .mk-i { stroke: CanvasText; }
  .brand .mk-n { stroke: Highlight; }
}

/* =====================================================================================
   W3: the work vignettes. One card style for all four (the series); the canvas fills it,
   the scene inside keeps 6 % air on every side (docs/w3/ART.md §4).
   ===================================================================================== */
.vrow .row-vis.vgw { display: block; position: relative; aspect-ratio: 2 / 1; padding: 0; overflow: hidden; }
/* W4: below 600 px every vignette has its own 4:5 phone composition (live.js picks it by the stage's shape) */
@media (max-width: 599px) { .vrow .row-vis.vgw, .vgw.sk-vig { aspect-ratio: 4 / 5; } }
.vgw canvas { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .25s ease-out; }
/* a restart (live.js): the old picture fades out, the pencil sketch fades in, then the story plays */
.vgw canvas.vg-out { opacity: 0; }
/* W4, the row system (decided): every work is one wide stage across the content width, and one caption row
   below it (left: icon, name, one line; right: the facts and the link). No alternating sides: one series. */
.vrow { display: block; }
.cap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 40px; margin-top: clamp(14px, 2vw, 22px); }
.cap-l { display: grid; gap: 6px; min-width: 0; }
.cap-l h3 { display: flex; align-items: center; gap: 14px; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); letter-spacing: -0.03em; }
.cap-l h3 img { width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 0 0 1px var(--line-2); } /* W5 round 4: a tile edge in light mode too (phone-only reviewer) */
.cap-l p { color: var(--ink-2); font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); text-wrap: pretty; }
.cap-r { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 20px; }
.cap-r .af { margin: 0; }
@media (max-width: 599px) { .cap-r .af { color: var(--ink); font-size: 0.95rem; } } /* W5 round 2: the facts readable on phones */
.chip-st { margin: 0; display: inline-flex; align-items: center; gap: 7px; font-size: 0.92rem; color: var(--ink-2); } /* W5: the status as plain text with a small dot, not a button */
.chip-st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--now); }
.cap-stack { flex-direction: column; align-items: flex-start; gap: 8px; } /* the public feature: everything under its name */
/* note 19: on desktop the public product's caption stands in the stage's empty left third (the vignette composes
   into the right two thirds); phones and tablets keep it under the stage */
@media (min-width: 1024px) {
  .vrow.feature { position: relative; }
  .vrow.feature .cap { position: absolute; inset: 0 auto 0 0; width: 33.3%; margin: 0; padding: 0 clamp(28px, 3.2vw, 56px); justify-content: center; gap: 14px; }
  .vrow.feature .cap-l p { max-width: 15em; font-size: clamp(1.2rem, 0.9rem + 0.5vw, 1.45rem); }
  .vrow.feature .cap-r { flex-direction: column; align-items: flex-start; gap: 10px; }
  /* W6 (round 4: designer, client; visitor, client): a larger name and line, and a shorter stage (12:5) so the
     stage fits a laptop screen with room above; live.js composes the scene into its right two thirds */
  .vrow.feature .cap-l h3 { font-size: clamp(2rem, 1.2rem + 1.4vw, 2.75rem); gap: 16px; }
  .vrow.feature .cap-l h3 img { width: 52px; height: 52px; border-radius: 13px; }
  .vrow.feature .cap-r .af { font-size: 1rem; color: var(--ink); }
  .vrow.feature .row-vis.vgw { aspect-ratio: 12 / 5; }
}
.cap-r a { font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.cap-r a:hover { color: var(--now-text); }
@media (max-width: 599px) { .cap { flex-direction: column; align-items: flex-start; gap: 4px; } }
/* "Eigenes Produkt" opens the Sketchlight case: more room above it than below (round 7, visitor) */
.grp-own { margin-top: clamp(24px, 5vw, 64px); }
.grp { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; border-bottom: 1px solid var(--line-2); padding-bottom: 12px; margin-bottom: clamp(-24px, -2vw, -8px); }
.grp-h { font-weight: 640; font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.9rem); letter-spacing: -0.025em; line-height: 1.15; text-wrap: balance; }
.grp-h a { text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
.grp-role { margin: 8px 0 0; color: var(--ink); font-size: 1.1rem; } /* the lead line of the group (round 6, client) */
.grp-role span { display: inline-block; } /* each sentence stays whole while it fits; it may wrap inside on very narrow screens */
.grp .src { margin: 0; }

/* W3 polish (audit) */
@media (max-width: 420px) { .tile h3 { font-size: 0.95rem; text-wrap: balance; } .foot2 nav { gap: 0 14px; font-size: 0.85rem; } }
@media (min-width: 960px) { .c-text { padding-top: clamp(8px, 2vw, 28px); } }

/* the Sketchlight page: its hero is the flow vignette (no screenshot, no dog photo) */
.sk-vig { width: 100%; border-radius: var(--r); background: var(--tile); }

/* W3 (note 13): the services as one slim strip under the hero */
.strip { padding-block: 0 clamp(28px, 5vw, 64px); }
.svc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; border-top: 1px solid var(--line-2); padding-top: 18px; }
@media (min-width: 760px) { .svc { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.svc li { display: grid; gap: 2px; align-content: start; }
.svc canvas { width: 100%; aspect-ratio: 4 / 3; margin-bottom: 8px; }
.svc strong { font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.2rem); font-weight: 620; letter-spacing: -0.015em; }
.svc span { color: var(--ink-2); font-size: 0.92rem; line-height: 1.4; }
@media (max-width: 599px) { .svc span { color: var(--ink); font-size: 0.95rem; } } /* W5: readable captions on phones */
