/* Capsario - the layout. Every colour, size and space is a name from look.css; no colour value of its own. */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/fraunces-latin-400-normal.woff2") format("woff2"); }

:root {
  /* lines and soft surfaces, mixed from look.css's names - the same logic in both themes */
  --line: color-mix(in srgb, var(--fg) 12%, transparent);
  --line-strong: color-mix(in srgb, var(--fg) 24%, transparent);
  --band-line: color-mix(in srgb, var(--on-band) 16%, transparent);
  --warn-soft: color-mix(in srgb, var(--wait) 18%, var(--surface));
  --gutter: var(--s-3);
  --section: var(--s-6);
}
@media (min-width: 40rem) { :root { --gutter: var(--s-5); } }
@media (min-width: 60rem) { :root { --section: var(--s-7); } }

/* base */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 var(--t-m)/1.6 var(--sans);
  font-kerning: normal; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
/* short pages: the footer band reaches the bottom of the window */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
main { flex: 1 0 auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; text-decoration-color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
h1, h2 { font-family: var(--display); font-weight: 400; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: var(--t-2xl); line-height: 1.05; }
h2 { font-size: var(--t-xl); line-height: 1.1; }
h3 { font-size: var(--t-l); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
p { margin: 0 0 var(--s-3); text-wrap: pretty; }
ul, ol { margin: 0 0 var(--s-3); padding-left: 1.2em; }
li { margin: var(--s-1) 0; }
li::marker { color: var(--muted); }
[id] { scroll-margin-top: var(--s-3); }
.num { font-variant-numeric: tabular-nums lining-nums; }
.muted { color: var(--muted); }
.small { font-size: var(--t-s); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { display: flex; align-items: flex-start; gap: var(--s-2); font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: var(--s-4); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; margin-top: 0.4em; }
.lead { font-size: var(--t-l); line-height: 1.5; color: var(--muted); max-width: var(--measure); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round;
  stroke-linejoin: round; flex: none; }
.icon-s { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round;
  stroke-linejoin: round; flex: none; margin-top: 0.22em; }
.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: var(--s-3); top: var(--s-2); z-index: 10; background: var(--surface); color: var(--fg);
  padding: var(--s-2) var(--s-3); border: 2px solid var(--accent); border-radius: var(--r-s); }

/* draft marks - removed before the release (README) */
.draft { background: var(--warn-soft); border-bottom: 1px solid var(--wait); font-size: var(--t-s); }
.draft p { margin: 0; padding: var(--s-2) 0; }
.todo { background: var(--warn-soft); color: var(--fg); outline: 1px dashed var(--wait); padding: 0 0.2em; }

/* header */
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0 var(--s-5); min-height: 5rem; }
.brand { font-family: var(--display); font-size: 1.875rem; line-height: 1; color: var(--fg); text-decoration: none;
  letter-spacing: -0.01em; margin: 0 auto 0 0; }
.brand span { color: var(--accent); }
nav ul { list-style: none; display: flex; gap: var(--s-1) var(--s-5); margin: 0; padding: 0; }
nav li { margin: 0; }
nav a { color: var(--muted); text-decoration: none; font-size: var(--t-s); }
nav a:hover { color: var(--fg); }
/* tap targets of 44 px without a visible change: padding taken back by a negative margin */
nav a, a.brand { display: inline-block; padding-block: 0.625rem; margin-block: -0.625rem; }
.button.small { position: relative; }
.button.small::before { content: ""; position: absolute; inset: -0.5rem 0; }
@media (max-width: 48rem) {
  header.site .wrap { padding-top: var(--s-3); gap: var(--s-2) var(--s-3); min-height: 0; }
  header.site nav { order: 3; overflow-x: auto; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter); width: calc(100% + 2 * var(--gutter)); }
  header.site nav::-webkit-scrollbar { display: none; }
  header.site nav ul { gap: var(--s-4); padding: var(--s-2) 0 var(--s-3); white-space: nowrap; }
  /* the row scrolls, so it clips: the links reach only into the row's own padding */
  header.site nav a { padding-block: var(--s-2) var(--s-3); margin-block: calc(-1 * var(--s-2)) calc(-1 * var(--s-3)); }
  header.site nav a:focus-visible { outline-offset: -2px; }
}

/* buttons: pills, one filled */
.actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0 var(--s-4);
  border-radius: var(--r-pill); font-weight: 600; font-size: var(--t-s); text-decoration: none; border: 1px solid transparent; line-height: 1.2; }
.button.primary { background: var(--accent); color: var(--on-accent); }
.button.primary:hover { background: color-mix(in srgb, var(--accent) 86%, var(--fg)); }
.button.quiet { color: var(--fg); border-color: var(--line-strong); }
.button.quiet:hover { border-color: var(--fg); }
.button.ink { background: var(--fg); color: var(--bg); }
.button.ink:hover { background: color-mix(in srgb, var(--fg) 84%, var(--bg)); }
.button.small { min-height: 2.5rem; padding: 0 var(--s-3); }
.button.large { min-height: 3.5rem; padding: 0 var(--s-5); font-size: var(--t-m); }

/* sections */
.section { padding: var(--section) 0; }
.section.tinted { background: var(--tint); }
.section-head { margin-bottom: var(--s-6); }
.section-head h2 { max-width: 20ch; }
.section-head .lead { margin: var(--s-4) 0 0; }
@media (min-width: 60rem) {
  /* the label in a left rail, the headline and its lead in the columns to the right */
  .section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-4); }
  .section-head .eyebrow { grid-column: 1 / 4; margin: 0.9em 0 0; align-self: start; }
  .section-head h2, .section-head .lead { grid-column: 4 / 12; }
}

/* hero */
.hero { overflow-x: hidden; overflow-x: clip; padding: var(--s-6) 0 var(--s-6); }
@media (min-width: 64rem) { .hero { min-height: calc(100svh - 5rem); display: grid; grid-template-rows: 1fr auto; align-items: center;
  padding-block: var(--s-6) var(--s-5); } }
.hero > .wrap { width: 100%; }
.hero-grid { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 64rem) { .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--s-6); } }
.hero h1 { margin-bottom: var(--s-4); }
.hero .lead { color: var(--fg); margin-bottom: var(--s-3); }
.hero .sub { color: var(--muted); max-width: var(--measure); margin: 0; }
.facts { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4);
  padding: var(--s-4) 0 0; margin: var(--s-6) 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: var(--t-s); line-height: 1.4; }
.facts li { margin: 0; }
.facts li + li { border-left: 1px solid var(--line); padding-left: var(--s-4); }
.facts strong { display: block; font-family: var(--display); font-weight: 400; color: var(--fg); font-size: var(--t-xl);
  line-height: 1; letter-spacing: -0.02em; margin-bottom: var(--s-2); }
@media (max-width: 30rem) {
  .hero .actions .button { flex: 1 1 100%; }
  .facts { grid-template-columns: 1fr; gap: var(--s-3); }
  .facts li, .facts li + li { display: flex; align-items: baseline; gap: var(--s-3); border-left: 0; padding-left: 0; }
  .facts strong { flex: none; width: 7.5rem; margin: 0; font-size: var(--t-d); }
}

/* the archive, drawn: a window that runs off the page's right edge */
.hero-art { --bleed: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); margin-right: calc(-1 * var(--bleed)); }
.app { background: var(--surface); border: 1px solid var(--line); border-right: 0; border-radius: var(--r-l) 0 0 var(--r-l);
  box-shadow: var(--shadow); font-size: var(--t-xs); line-height: 1.35; color: var(--fg); overflow: hidden; }
.app p { margin: 0; }
.app-bar { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-2) var(--s-3); border-bottom: 1px solid var(--line); }
.app-dots { display: flex; gap: 6px; }
.app-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.app-url { display: inline-flex; align-items: center; gap: var(--s-2); padding: var(--s-1) var(--s-3); border-radius: var(--r-pill);
  background: var(--bg); color: var(--muted); }
.app-body { display: grid; grid-template-columns: 9.5rem minmax(0, 1.25fr) minmax(0, 1fr); min-height: 24rem; }
.app-side { padding: var(--s-3) var(--s-2); border-right: 1px solid var(--line); background: color-mix(in srgb, var(--tint) 45%, var(--surface)); }
.app-side-item { display: flex; justify-content: space-between; padding: var(--s-2) var(--s-2); border-radius: var(--r-s); color: var(--muted); }
.app-side-item.on { background: var(--surface); color: var(--fg); font-weight: 600; box-shadow: 0 0 0 1px var(--line); }
.app-side-item b { font-weight: 600; color: var(--fg); }
.app-main { padding: var(--s-3); }
.app-search { display: flex; align-items: center; gap: var(--s-2); padding: var(--s-2) var(--s-3); border: 1.5px solid var(--fg);
  border-radius: var(--r-pill); font-size: var(--t-s); margin-bottom: var(--s-3); }
.app-q { font-weight: 600; }
.app-q::after { content: ""; display: inline-block; width: 1.5px; height: 1em; background: var(--fg); margin-left: 2px; vertical-align: -0.15em; }
.app-count { margin-left: auto; color: var(--muted); font-size: var(--t-xs); }
.app-results { list-style: none; margin: 0; padding: 0; }
.app-results li { display: flex; align-items: center; gap: var(--s-3); margin: 0; padding: var(--s-2); border-radius: var(--r-s); }
.app-results li + li { border-top: 1px solid var(--line); border-radius: 0; }
.app-results li.hit { background: var(--bg); box-shadow: 0 0 0 1px var(--line-strong); border-radius: var(--r-s); }
.app-results li.hit + li { border-top-color: transparent; }
.app-thumb { width: 28px; height: 36px; border-radius: 3px; flex: none; background: var(--surface); box-shadow: 0 0 0 1px var(--line-strong);
  background-image: linear-gradient(var(--line-strong) 2px, transparent 2px); background-size: 16px 6px; background-position: 6px 8px;
  background-repeat: repeat-y; }
.app-res { display: grid; min-width: 0; }
.app-res b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-res small { font-size: 0.75rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-results .chip { margin-left: auto; }
mark { background: var(--mark); color: inherit; border-radius: 3px; padding: 0 2px; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px var(--s-2); border-radius: var(--r-pill); font-size: 0.75rem;
  background: var(--tint); color: var(--fg); white-space: nowrap; }
.app-card { padding: var(--s-3); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: var(--s-3); }
.app-page { height: 7.5rem; border-radius: var(--r-s); background: var(--bg); box-shadow: inset 0 0 0 1px var(--line);
  padding: var(--s-3); display: grid; align-content: start; gap: 6px; }
.app-page i { height: 4px; border-radius: 2px; background: var(--line-strong); }
.app-page i:nth-child(1) { width: 45%; height: 6px; background: var(--muted); opacity: 0.5; margin-bottom: 6px; }
.app-page i:nth-child(3) { width: 80%; } .app-page i:nth-child(5) { width: 60%; } .app-page i:nth-child(6) { width: 30%; }
.app-title { font-weight: 600; font-size: var(--t-s); }
.app-fields { margin: 0; display: grid; gap: var(--s-2); }
.app-fields div { display: grid; gap: 2px; }
.app-fields dt { color: var(--muted); font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.08em; }
.app-fields dd { margin: 0; }
.app-remind { display: flex; align-items: center; gap: var(--s-2); padding: var(--s-2) var(--s-3); border-radius: var(--r-s);
  background: var(--mark); font-weight: 600; margin-top: auto; }
@media (max-width: 80rem) { .app-side { display: none; } .app-body { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
@media (max-width: 40rem) {
  .app-body { grid-template-columns: 1fr; min-height: 0; }
  .app-card { border-left: 0; border-top: 1px solid var(--line); }
  .app-page { display: none; }
  .app-fields { grid-template-columns: 1fr 1fr; }
}

/* the four steps of a document - a full-width band */
.steps-band { background: var(--tint); }
.flowrow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.flowrow li { margin: 0; padding: var(--s-5) var(--s-4) var(--s-5) 0; color: var(--muted); font-size: var(--t-s); line-height: 1.5; }
.flowrow li + li { padding-left: var(--s-4); border-left: 1px solid var(--line); }
.flowrow span { display: block; font-size: var(--t-l); font-weight: 600; line-height: 1; color: var(--muted); margin-bottom: var(--s-3); }
.flowrow strong { display: block; color: var(--fg); font-size: var(--t-m); margin-bottom: var(--s-1); }
@media (max-width: 56rem) {
  .flowrow { grid-template-columns: 1fr 1fr; }
  .flowrow li { padding: var(--s-4) var(--s-3) var(--s-4) 0; }
  .flowrow li + li { padding-left: 0; border-left: 0; }
  .flowrow li:nth-child(even) { padding-left: var(--s-3); border-left: 1px solid var(--line); }
  .flowrow li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 30rem) {
  .flowrow { grid-template-columns: 1fr; }
  .flowrow li, .flowrow li:nth-child(even) { display: grid; grid-template-columns: 3rem 1fr; padding: var(--s-3) 0; border-left: 0; }
  .flowrow li + li { border-top: 1px solid var(--line); }
  .flowrow span { grid-row: span 2; margin: 0.15em 0 0; }
}

/* problems: today and with Capsario, as rows */
.pairs { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.pairs > li { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: var(--s-5);
  align-items: start; padding: var(--s-5) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 60rem) { .pairs > li { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-4); }
  .pairs .before { grid-column: 1 / 6; } .pairs .arrow { grid-column: 6 / 7; justify-self: center; } .pairs .after-state { grid-column: 7 / 13; } }
.pairs h3 { font-family: var(--display); font-weight: 400; font-size: var(--t-d); line-height: 1.15;
  letter-spacing: -0.01em; margin-bottom: var(--s-3); }
.pairs p { margin: 0; color: var(--muted); max-width: 34rem; }
.pairs .before h3 { color: var(--muted); }
.tag-line { display: block; font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: var(--s-3); color: var(--muted); }
.after-state .tag-line { color: var(--accent); }
.arrow { width: 40px; height: 40px; margin-top: var(--s-5); fill: none; stroke: var(--fg); stroke-width: 1.5; stroke-linecap: round;
  stroke-linejoin: round; padding: var(--s-2); border: 1px solid var(--line-strong); border-radius: 50%; }
@media (max-width: 48rem) {
  .pairs > li { grid-template-columns: 1fr; gap: var(--s-3); }
  .arrow { transform: rotate(90deg); margin: 0; width: 32px; height: 32px; padding: var(--s-2); }
  .pairs h3 { font-size: 1.5rem; }
}

/* the start in 2 weeks: a track, the two weeks of our work drawn as a bar */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.timeline li { margin: 0; position: relative; padding: var(--s-5) var(--s-4) 0 0; color: var(--muted); font-size: var(--t-s); line-height: 1.5; }
.timeline li::before { content: ""; position: absolute; top: 8px; left: 0; right: 0; height: 1px; background: var(--line-strong); }
.timeline li.week::before { top: 4px; height: 8px; background: var(--fg); }
.timeline li.week + li.week::before { left: -1px; }
.timeline .dot { position: absolute; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--tint);
  border: 1.5px solid var(--fg); z-index: 1; }
.timeline li.week .dot { display: none; }
.timeline strong { display: block; font-weight: 600; color: var(--fg); font-size: var(--t-l); line-height: 1.2; margin-bottom: var(--s-2); }
@media (max-width: 56rem) {
  .timeline { grid-template-columns: 1fr; }
  .timeline li { padding: 0 0 var(--s-4) var(--s-5); }
  .timeline li::before { top: 8px; bottom: -8px; left: 8px; right: auto; width: 1px; height: auto; }
  .timeline li.week::before { top: 0; bottom: 0; left: 4px; width: 8px; height: auto; }
  .timeline li.week + li.week::before { left: 4px; top: 0; }
  .timeline li:last-child::before { display: none; }
}

/* what you get: three columns, each with a piece of the product */
.features { display: grid; gap: var(--s-5) var(--s-4); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature h3 { display: flex; align-items: baseline; gap: var(--s-3); margin: var(--s-4) 0 var(--s-3); }
.feature h3 .num { font-size: var(--t-s); color: var(--muted); }
.feature p { color: var(--muted); margin: 0; }
@media (max-width: 60rem) { .features { grid-template-columns: 1fr; } .tile { max-width: 34rem; } }
.tile { background: var(--tint); border-radius: var(--r-l); padding: var(--s-5) var(--s-4); height: 15rem; display: flex;
  flex-direction: column; justify-content: center; gap: var(--s-3); font-size: var(--t-xs); overflow: hidden; }
.mini-url { display: flex; align-items: center; gap: var(--s-2); align-self: flex-start; padding: var(--s-2) var(--s-3);
  background: var(--surface); border-radius: var(--r-pill); box-shadow: var(--shadow); font-weight: 600; }
.mini-rows { display: grid; gap: var(--s-2); background: var(--surface); border-radius: var(--r-m); padding: var(--s-3); }
.mini-row { display: flex; align-items: center; gap: var(--s-2); }
.mini-row .app-thumb { width: 16px; height: 20px; background-size: 8px 4px; background-position: 4px 5px; }
.mini-row b { font-weight: 600; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-row small { color: var(--muted); font-size: 0.75rem; }
.mini-row + .mini-row { border-top: 1px solid var(--line); padding-top: var(--s-2); }
.mini-file { display: flex; align-items: center; gap: var(--s-2); align-self: flex-start; padding: var(--s-2) var(--s-3);
  background: var(--surface); border-radius: var(--r-s); box-shadow: var(--shadow); font-weight: 600; }
.mini-file .i { font-size: 1.1rem; }
.mini-arrow { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
  transform: rotate(90deg); margin-left: var(--s-3); }
.mini-chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.mini-chips .chip { background: var(--surface); box-shadow: 0 0 0 1px var(--line); padding: var(--s-1) var(--s-3); font-size: var(--t-xs); }
.mini-mail { display: grid; grid-template-columns: 1fr auto; gap: var(--s-1) var(--s-3); background: var(--surface); border-radius: var(--r-m);
  padding: var(--s-3); box-shadow: var(--shadow); }
.mini-from { font-weight: 600; } .mini-date { color: var(--muted); }
.mini-mail b { grid-column: 1 / -1; font-weight: 400; color: var(--muted); }
.mini-mail .chip { grid-column: 1 / -1; justify-self: start; background: var(--mark); font-weight: 600; padding: var(--s-1) var(--s-3); font-size: var(--t-xs); }
.checklist { margin-top: var(--s-7); }
.checklist h3 { margin-bottom: var(--s-4); }
@media (min-width: 60rem) { .checklist { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-4); }
  .checklist h3 { grid-column: 1 / 4; } #leistungen .checklist > ul { grid-column: 4 / 13; grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.checklist ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--s-5);
  border-top: 1px solid var(--line); }
.checklist li { margin: 0; display: flex; gap: var(--s-3); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); font-size: var(--t-s); }
@media (max-width: 60rem) { .checklist ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 40rem) { .checklist ul { grid-template-columns: 1fr; border-top: 0; } .checklist li { padding: var(--s-2) 0; border-bottom: 0; } }

/* prices */
.plans { display: grid; gap: var(--s-3); grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; padding-top: var(--s-3); }
@media (max-width: 56rem) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r-l);
  padding: var(--s-5) var(--s-4) var(--s-4); }
.plan h3 { font-size: var(--t-l); }
.plan .for { color: var(--muted); font-size: var(--t-s); margin: var(--s-1) 0 var(--s-4); }
@media (min-width: 36rem) { .plan .for { min-height: 3em; } }
.price { display: flex; align-items: baseline; gap: var(--s-2); margin: 0; font-family: var(--display); font-size: var(--t-2xl); line-height: 1;
  letter-spacing: -0.02em; }
.price .cur { font-family: var(--sans); font-size: var(--t-s); font-weight: 600; letter-spacing: 0; color: var(--muted); align-self: flex-start; margin-top: 0.5em; }
.price .per { font-family: var(--sans); font-size: var(--t-s); letter-spacing: 0; color: var(--muted); }
.setup { font-size: var(--t-s); color: var(--muted); margin: var(--s-3) 0 var(--s-4); padding-bottom: var(--s-4); border-bottom: 1px solid var(--line); }
.setup strong { color: var(--fg); font-weight: 600; white-space: nowrap; }
.checks { list-style: none; padding: 0; margin: 0; font-size: var(--t-s); }
.checks li { display: flex; gap: var(--s-2); margin: var(--s-2) 0; }
.plan.featured { background: var(--band); color: var(--on-band); }
.plan.featured .for, .plan.featured .price .cur, .plan.featured .price .per, .plan.featured .setup { color: var(--band-muted); }
.plan.featured .setup strong { color: var(--on-band); }
.plan.featured .setup { border-color: var(--band-line); }
.plan.featured .icon-s { stroke: var(--band-muted); }
.badge { position: absolute; top: var(--s-4); right: var(--s-4); margin: 0; font-size: var(--t-xs); font-weight: 600;
  background: var(--accent); color: var(--on-accent); border-radius: var(--r-pill); padding: var(--s-1) var(--s-3); }
.plans-note { color: var(--muted); font-size: var(--t-s); margin: var(--s-4) 0 0; max-width: var(--measure); }
.options-wrap { margin-top: var(--s-6); }
@media (min-width: 60rem) { .options-wrap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-4); }
  .options-wrap .sub-head { grid-column: 1 / 4; } .options-wrap .options { grid-column: 4 / 13; } }
.sub-head { margin-bottom: var(--s-3); }
.options { border-collapse: collapse; width: 100%; }
.options th, .options td { padding: var(--s-3) 0; border-bottom: 1px solid var(--line-strong); vertical-align: top; text-align: left; }
.options th { font-weight: 400; }
.options tr:first-child th, .options tr:first-child td { border-top: 1px solid var(--line-strong); }
.options th + td { padding-left: var(--s-4); text-align: right; white-space: nowrap; font-weight: 600; }
@media (max-width: 40rem) {
  .options, .options tbody, .options tr, .options th, .options td { display: block; width: auto; }
  .options tr { padding: var(--s-3) 0; border-bottom: 1px solid var(--line-strong); }
  .options tr:first-child { border-top: 1px solid var(--line-strong); }
  .options th, .options td, .options tr:first-child th, .options tr:first-child td { border: 0; padding: 0; }
  .options th + td { padding-left: 0; text-align: left; white-space: normal; }
}

/* security: the dark band */
.section.dark { background: var(--band); color: var(--on-band); }
.dark .eyebrow, .dark .lead, .dark p { color: var(--band-muted); }
.dark .eyebrow::before { background: var(--band-accent); }
.dark .icon-s { stroke: var(--on-band); }
.dark :focus-visible { outline-color: var(--band-accent); }
.proof-figures { list-style: none; padding: 0; margin: 0 0 var(--s-6); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--band-line); }
.proof-figures li { margin: 0; padding: var(--s-5) var(--s-4) var(--s-5) 0; color: var(--band-muted); font-size: var(--t-s); }
.proof-figures li + li { padding-left: var(--s-4); border-left: 1px solid var(--band-line); }
.proof-figures strong { display: block; font-weight: 400; color: var(--on-band); font-size: var(--t-xl);
  line-height: 1; letter-spacing: -0.03em; margin-bottom: var(--s-3); }
@media (max-width: 48rem) {
  .proof-figures { grid-template-columns: 1fr; }
  .proof-figures li, .proof-figures li + li { padding: var(--s-4) 0; border-left: 0; }
  .proof-figures li + li { border-top: 1px solid var(--band-line); }
}
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6) var(--s-5); }
.trust-item { border-top: 1px solid var(--band-line); padding-top: var(--s-4); }
.trust-item .icon { color: var(--band-muted); margin-bottom: var(--s-3); }
.trust-item h3 { margin-bottom: var(--s-2); }
.trust-item p { margin: 0; }
@media (max-width: 60rem) { .trust-grid { grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-4); } }
@media (max-width: 36rem) { .trust-grid { grid-template-columns: 1fr; }
  .trust-item { display: grid; grid-template-columns: auto 1fr; column-gap: var(--s-3); }
  .trust-item .icon { grid-row: span 2; margin: 0; width: 24px; height: 24px; } }

/* what lies outside Switzerland, and the service levels */
.split { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 60rem) { .split { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s-4); }
  .honest { grid-column: 1 / 6; } .levels { grid-column: 7 / 13; } }
.honest h3, .levels h3 { font-family: var(--display); font-weight: 400; font-size: var(--t-d); line-height: 1.15; letter-spacing: -0.01em; margin-bottom: var(--s-3); }
.honest ul + h3 { margin-top: var(--s-5); }
.honest ul { color: var(--muted); list-style: none; padding: 0; border-top: 1px solid var(--line); }
.honest li { margin: 0; padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
.honest .muted { font-size: var(--t-s); margin: var(--s-4) 0 0; }
.figures { border-collapse: collapse; width: 100%; }
.figures th, .figures td { padding: var(--s-3) 0; border-bottom: 1px solid var(--line); vertical-align: baseline; text-align: left; }
.figures tr:first-child th, .figures tr:first-child td { border-top: 1px solid var(--line); }
.figures th { font-weight: 600; font-size: var(--t-m); line-height: 1.4; color: var(--fg); white-space: nowrap;
  padding-right: var(--s-4); width: 1%; }
.figures td { color: var(--muted); font-size: var(--t-s); }
@media (max-width: 30rem) {
  .figures, .figures tbody, .figures tr, .figures th, .figures td { display: block; width: auto; }
  .figures tr { padding: var(--s-3) 0; border-bottom: 1px solid var(--line); }
  .figures tr:first-child { border-top: 1px solid var(--line); }
  .figures th, .figures td, .figures tr:first-child th, .figures tr:first-child td { border: 0; padding: 0; }
}

/* questions: on the same rail as every section head */
@media (min-width: 60rem) { .faq { margin-left: calc((100% + var(--s-4)) * 3 / 12); } }
.faq { border-top: 1px solid var(--line-strong); }
details { border-bottom: 1px solid var(--line-strong); }
summary { cursor: pointer; padding: var(--s-4) 0; font-weight: 600; font-size: var(--t-m); list-style: none; display: flex;
  justify-content: space-between; align-items: center; gap: var(--s-3); min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; content: "+" / ""; flex: none; width: 2rem; height: 2rem; border-radius: 50%;
  border: 1px solid var(--line-strong); display: grid; place-items: center; font-weight: 400; font-size: 1.25rem; line-height: 1; }
details[open] summary::after { content: "\2212"; content: "\2212" / ""; background: var(--fg); color: var(--bg); border-color: var(--fg); }
summary:hover::after { border-color: var(--fg); }
details > div { padding: 0 var(--s-6) var(--s-4) 0; color: var(--muted); }
details > div p:last-child, details > div ul:last-child, details > div ol:last-child { margin-bottom: 0; }
@media (max-width: 40rem) { details > div { padding-right: 0; } }

/* contact: the last screen, one action */
.cta { text-align: center; }
.section.dark.cta { padding-bottom: var(--s-7); }
.dark .cta-note, .dark .cta-list { color: var(--band-muted); }
.cta-inner { max-width: 60rem; }
.cta .eyebrow { justify-content: center; }
.cta h2 { font-size: var(--t-2xl); line-height: 1.05; margin: 0 auto var(--s-4); max-width: 14ch; }
.cta .lead { margin: 0 auto; }
.cta .actions { justify-content: center; }
@media (max-width: 30rem) { .cta .button { flex: 1 1 100%; } }
.cta-note { color: var(--muted); font-size: var(--t-s); margin: var(--s-5) 0 0; }
.cta-list { list-style: none; padding: 0; margin: var(--s-2) 0 0; color: var(--muted); font-size: var(--t-s); }

/* legal pages */
.prose > * { max-width: 46rem; }
.prose h1 { margin-bottom: var(--s-4); }
.prose h2 { margin: var(--s-5) 0 var(--s-3); font-size: var(--t-d); line-height: 1.15; }
@media (min-width: 60rem) {
  .prose { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--s-4); align-items: start; }
  .prose > * { grid-column: 4 / 11; max-width: none; }
  .prose h1 { grid-column: 1 / 13; margin-bottom: var(--s-5); }
  .prose h2 { grid-column: 1 / 4; margin: var(--s-5) 0 0; }
  .prose h2 + * { margin-top: var(--s-5); }
}
address { font-style: normal; margin-bottom: var(--s-3); }

/* footer: the ink band */
footer.site { background: var(--band); color: var(--band-muted); padding: var(--s-6) 0; font-size: var(--t-s); }
/* after the ink Kontakt band the footer continues it, a hairline apart */
main:has(> .dark.cta:last-child) + footer.site { padding-top: 0; }
main:has(> .dark.cta:last-child) + footer.site .wrap { border-top: 1px solid var(--band-line); padding-top: var(--s-6); }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: var(--s-4) var(--s-5); }
footer.site .wrap > div { max-width: 34rem; }
footer.site .brand { color: var(--on-band); font-size: var(--t-xl); margin-bottom: var(--s-3); }
footer.site .brand span { color: var(--band-accent); }
footer.site p { margin: 0; }
footer.site nav a { color: var(--on-band); }
footer.site nav ul { gap: var(--s-1) var(--s-4); }
footer.site :focus-visible { outline-color: var(--band-accent); }

/* motion: one reveal on scroll, CSS only, never for those who ask for less */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 24rem) { header.site nav ul { gap: var(--s-3); } }

/* round 3: the weight as a token, figures back in the display face (its 1 is no longer an l), the badge on the ink band */
h1, h2, .facts strong, .pairs h3, .honest h3, .levels h3, .price, .brand, .prose h2 { font-weight: var(--display-w); }
.price .per { font-weight: 400; }
.proof-figures strong { font-family: var(--display); font-weight: var(--display-w); }
.plan.featured .badge { background: var(--band-accent); color: var(--band); }
@media (max-width: 30rem) { .facts strong { width: 9.5rem; white-space: nowrap; } }
/* the final call on the ink band (hidden in the preview, same pair as the badge): a deep accent falls under 3:1 against the band */
.dark .button.primary { background: var(--band-accent); color: var(--band); }
.dark .button.primary:hover { background: color-mix(in srgb, var(--band-accent) 86%, var(--on-band)); }
