/* Klarheft site styles.
   Concept: a clear Austrian exercise book ("Heft"): squared paper, a red margin rule,
   royal-blue ink, a text marker and the Austrian school script (Playwrite AT).
   Every element is styled in its final state first. Motion is added only inside
   "prefers-reduced-motion: no-preference" blocks, so reduced motion and no-JS users
   always see complete content. */

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fraunces-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/hanken-grotesk-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
/* Subset to Latin letters, digits and punctuation (see the commit that added it). */
@font-face {
  font-family: "Playwrite AT";
  src: url("/assets/playwrite-at-subset.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fcfcfa;
  --sheet: #ffffff;
  --grid: rgb(35 66 160 / .065);
  --ink: #141a33;
  --ink-2: #454c69;
  --ink-3: #596079;
  --line: #e0e3ec;
  --blue: #2342d6;
  --blue-deep: #1a31a8;
  --blue-soft: #e9edfd;
  --red: #c8302a;
  --red-rule: #e2564b;
  --marker: #ffe45c;
  --navy: #0e1430;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --hand: "Playwrite AT", "Segoe Script", "Bradley Hand", cursive;
  --max: 1200px;
  --pad: clamp(20px, 4vw, 48px);
  --header: 72px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-padding-top: calc(var(--header) + 24px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3, ul, ol, dl, figure { margin-top: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--marker); color: var(--ink); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--pad));
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* The red margin rule of an exercise book. It also shows the reading progress. */
.margin-rule {
  position: fixed;
  inset-block: 0;
  left: max(12px, calc(50% - var(--max) / 2 - 28px));
  width: 2px;
  background: rgb(226 86 75 / .25);
  pointer-events: none;
}
.margin-rule span {
  display: block;
  height: 100%;
  background: var(--red-rule);
  transform-origin: 50% 0;
}
main, .site-footer { position: relative; z-index: 1; }

/* ---------- Type ---------- */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-optical-sizing: auto;
  color: var(--ink);
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.6rem, 1.4rem + 6.2vw, 6.4rem);
  line-height: .95;
  letter-spacing: -.035em;
  margin-bottom: 28px;
}
h2 {
  font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.25rem);
  line-height: 1;
  letter-spacing: -.03em;
  margin-bottom: 24px;
}
h3 {
  font-size: clamp(1.35rem, 1.15rem + .6vw, 1.7rem);
  line-height: 1.15;
  letter-spacing: -.015em;
  margin-bottom: 10px;
}

/* A text marker stroke behind words. */
.marker {
  background-image: linear-gradient(var(--marker), var(--marker));
  background-repeat: no-repeat;
  background-position: 0 86%;
  background-size: 100% 42%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  border-radius: .12em .3em .2em .35em;
  padding-inline: .04em;
  margin-inline: -.04em;
}

.kicker {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 22px;
  color: var(--ink-3);
  font: 600 .8125rem/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.kicker-num {
  color: var(--blue);
  font: 300 1.25rem/1 var(--hand);
  letter-spacing: 0;
}
.lead, .section-lead {
  color: var(--ink-2);
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  line-height: 1.6;
  max-width: 34em;
}
.hand { font-family: var(--hand); font-weight: 300; }
.nobr { white-space: nowrap; }
.cta-short { display: none; }

/* ---------- Buttons and links ---------- */

.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  --btn-bd: var(--blue);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border: 1.5px solid var(--btn-bd);
  border-radius: 12px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 1rem/1.2 var(--sans);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { --btn-bg: var(--blue-deep); --btn-bd: var(--blue-deep); }
.btn svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.btn .arrow { width: 18px; height: 18px; }
/* Large buttons may wrap: "Partnergespräch anfragen" is wider than the partner panel on a 320 px screen,
   and the panel clips its overflow, so a nowrap label is cut off without any page scroll. */
.btn-lg { min-height: 56px; padding: 15px 26px; font-size: 1.0625rem; border-radius: 14px; white-space: normal; text-align: center; }
.btn-sm { min-height: 44px; padding: 10px 16px; font-size: .9375rem; }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn-ghost:hover { --btn-bg: var(--blue-soft); --btn-fg: var(--blue-deep); --btn-bd: var(--blue-soft); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--blue-deep); --btn-bd: #fff; }
.btn-light:hover { --btn-bg: var(--marker); --btn-fg: var(--ink); --btn-bd: var(--marker); }
.btn-outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgb(255 255 255 / .55); }
.btn-outline-light:hover { --btn-bg: rgb(255 255 255 / .12); --btn-bd: #fff; }
.btn.is-done { --btn-bg: var(--marker); --btn-fg: var(--ink); --btn-bd: var(--marker); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 6px;
  text-decoration-color: rgb(20 26 51 / .3);
}
.link-arrow:hover { color: var(--blue); text-decoration-color: currentColor; }
.text-link {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}
.text-link:hover { color: var(--blue-deep); text-decoration-thickness: 2.5px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(252 252 250 / .92);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  backdrop-filter: blur(14px) saturate(1.5);
}
.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--line);
  box-shadow: 0 6px 24px rgb(20 26 51 / .08);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-word { font: 500 1.6rem/1 var(--serif); letter-spacing: -.03em; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  color: var(--ink-2);
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
}
.main-nav a:hover { color: var(--ink); background: rgb(35 66 214 / .07); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--sheet);
}
.lang a {
  display: grid;
  place-items: center;
  min-width: 40px;
  min-height: 36px;
  border-radius: 8px;
  color: var(--ink-3);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
}
.lang a:hover { color: var(--ink); }
.lang a[aria-current="page"] { background: var(--ink); color: #fff; }

/* ---------- Hero ---------- */

.hero { padding-block: clamp(40px, 7vw, 96px) clamp(48px, 7vw, 88px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--sheet);
  color: var(--ink-2);
  font-size: .875rem;
  font-weight: 600;
}
.flag {
  width: 20px;
  height: 14px;
  flex: none;
  border-radius: 3px;
  background: linear-gradient(var(--red) 33.3%, #fff 33.3% 66.6%, var(--red) 66.6%);
  box-shadow: inset 0 0 0 1px rgb(20 26 51 / .12);
}
.hero .lead { margin-bottom: 34px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.cta-note {
  margin: 22px 0 0;
  color: var(--ink-3);
  font-size: .9375rem;
}
.cta-note::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 12px 1px 4px;
  border-radius: 50%;
  background: #1f9d55;
  box-shadow: 0 0 0 4px rgb(31 157 85 / .16);
}

/* Hero illustration: drawn with HTML, scaled with container query units. */
.hero-art { position: relative; margin: 0; }
.art {
  position: relative;
  aspect-ratio: 1 / .98;
  container-type: inline-size;
  transform: perspective(1400px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}
.sheet {
  position: absolute;
  border-radius: 1.4cqi;
  background: var(--sheet);
  box-shadow: 0 .2cqi 0 rgb(20 26 51 / .05), 0 4cqi 7cqi -3cqi rgb(20 26 51 / .3);
}
.sheet-ledger {
  left: 0;
  top: 2%;
  width: 45%;
  padding: 4.4cqi 4.2cqi 3.8cqi;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 3.2cqi 3.2cqi;
  font-size: 2.2cqi;
  transform: rotate(-5deg);
}
.ledger-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1em;
  margin-bottom: 1.4em;
}
.ledger-month { color: var(--blue); font-size: 1.3em; white-space: nowrap; }
.tag {
  padding: .3em .7em;
  border-radius: 99px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  font-size: .82em;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ledger-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .6em;
  padding: .62em 0;
  border-bottom: 1px dashed #cfd4e2;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.ledger-row .in { color: var(--ink); font-weight: 600; }
.ledger-row .out { color: var(--red); font-weight: 600; }
.ledger-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 1em;
  font-weight: 600;
}
.ledger-total b { font: 500 1.5em/1 var(--serif); font-variant-numeric: tabular-nums; }

.sheet-invoice {
  right: 0;
  top: 9%;
  width: 57%;
  padding: 4.8cqi 4.8cqi 8.4cqi;
  font-size: 2.3cqi;
  transform: rotate(2.5deg);
}
.inv-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1em;
  padding-bottom: 1.1em;
  border-bottom: 1px solid var(--line);
}
.inv-from b { display: block; font: 500 1.35em/1.1 var(--serif); }
.inv-from span { color: var(--ink-3); font-size: .86em; }
.inv-logo { width: 2.6em; height: 2.6em; border-radius: .6em; background: var(--ink); flex: none; position: relative; }
.inv-logo::after { content: ""; position: absolute; inset: .7em; border-radius: 50%; border: .22em solid var(--marker); }
.inv-title { display: flex; justify-content: space-between; align-items: baseline; gap: 1em; margin: 1.2em 0 .5em; }
.inv-title b { font: 500 1.9em/1 var(--serif); letter-spacing: -.02em; }
.inv-title span { color: var(--ink-3); font-size: .86em; font-variant-numeric: tabular-nums; }
.inv-to { margin-bottom: 1.2em; color: var(--ink-2); }
.inv-to span { margin-right: .4em; color: var(--ink-3); font-size: .8em; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.inv-item, .inv-sums div {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  font-variant-numeric: tabular-nums;
}
.inv-item { padding: .66em 0; border-bottom: 1px solid #edf0f5; }
.inv-sums { width: 64%; margin: .9em 0 0 auto; }
.inv-sums div { padding: .26em 0; color: var(--ink-2); }
.inv-sums .inv-total { margin-top: .4em; padding-top: .6em; border-top: 1px solid var(--ink); color: var(--ink); }
.inv-total b { position: relative; font: 500 1.45em/1 var(--serif); }
/* Accounting convention: a double rule under the final total. */
.inv-total b::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.32em;
  height: .32em;
  border-block: 1.5px solid var(--ink);
  transform-origin: 100% 50%;
}
.inv-thanks {
  position: absolute;
  right: 4.8cqi;
  bottom: 2.2cqi;
  color: var(--blue);
  font: 300 3.2cqi/1 var(--hand);
  transform: rotate(-6deg);
}
.stamp {
  position: absolute;
  left: 4%;
  bottom: 19%;
  padding: .3em .7em;
  border: .22em double var(--red);
  border-radius: .45em;
  color: var(--red);
  font: 700 2.3cqi/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  transform: rotate(-14deg);
  mix-blend-mode: multiply;
  opacity: .92;
}
.folder {
  position: absolute;
  left: 3%;
  top: 58%;
  display: flex;
  align-items: center;
  gap: 2.4cqi;
  width: 40%;
  padding: 2.8cqi 3.2cqi;
  border: 1px solid var(--line);
  border-radius: 2.4cqi;
  background: rgb(255 255 255 / .92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 3cqi 6cqi -3cqi rgb(20 26 51 / .35);
  font-size: 2.1cqi;
  transform: rotate(-1.5deg);
}
.folder svg { width: 7.4cqi; height: auto; flex: none; fill: var(--marker); stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.folder b { display: block; font-size: 1.15em; }
.folder span { display: block; color: var(--ink-3); font-size: .92em; line-height: 1.45; }
.art-note {
  position: absolute;
  left: 7%;
  bottom: 2%;
  margin: 0;
  color: var(--blue);
  font: 300 3.5cqi/1.2 var(--hand);
  transform: rotate(-4deg);
}
.art-arrow {
  position: absolute;
  left: 27%;
  bottom: 8%;
  width: 9cqi;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-art figcaption { margin-top: 18px; color: var(--ink-3); font-size: .8125rem; text-align: right; }

/* ---------- Facts ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-block: 1px solid var(--line);
  background: rgb(255 255 255 / .6);
}
.facts li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 20px;
  color: var(--ink);
  font-weight: 600;
  font-size: .9375rem;
  line-height: 1.35;
}
.facts li + li { border-left: 1px solid var(--line); }
.facts svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(80px, 11vw, 150px); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }

/* Features: four sheets in a bento grid. */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.card {
  position: relative;
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--sheet);
  box-shadow: 0 1px 0 rgb(20 26 51 / .04);
}
.card:nth-child(1), .card:nth-child(4) { grid-column: span 7; }
.card:nth-child(2), .card:nth-child(3) { grid-column: span 5; }
.card-body { padding: 26px 28px 30px; }
.card-kicker { margin-bottom: 10px; color: var(--blue); font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.card p:last-child { margin-bottom: 0; color: var(--ink-2); }
.card-art {
  position: relative;
  height: 232px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-color: #f8f9fc;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 20px 20px;
}

/* Card art 1: invoice and its templates. */
.mini-sheet {
  position: absolute;
  width: 210px;
  padding: 18px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 30px -18px rgb(20 26 51 / .45), 0 0 0 1px rgb(20 26 51 / .05);
  font-size: 12px;
}
.mini-sheet.back { left: calc(50% - 150px); top: 36px; transform: rotate(-8deg); opacity: .7; }
.mini-sheet.mid { left: calc(50% - 125px); top: 30px; transform: rotate(-3deg); opacity: .85; }
.mini-sheet.front { left: calc(50% - 95px); top: 24px; transform: rotate(3deg); }
.mini-title { margin-bottom: 10px; font: 500 17px/1 var(--serif); }
.mini-bar { display: block; height: 6px; margin: 10px 0; border-radius: 3px; background: #e3e6ee; }
.mini-bar.short { width: 60%; }
.mini-line { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid #eef0f5; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.mini-line:last-of-type { border: 0; font-weight: 700; color: var(--ink); }
.pdf-badge {
  position: absolute;
  right: -14px;
  top: -12px;
  padding: 6px 9px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font: 800 11px/1 var(--sans);
  letter-spacing: .08em;
  box-shadow: 0 8px 16px -8px rgb(200 48 42 / .8);
}

/* Card art 2: income and expenses with a clipped receipt. */
.mini-ledger {
  position: absolute;
  z-index: 1;
  left: 28px;
  right: 22%;
  top: 56px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 30px -18px rgb(20 26 51 / .45), 0 0 0 1px rgb(20 26 51 / .05);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.mini-ledger div { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px dashed #d6dbe7; }
.mini-ledger div:last-child { border: 0; }
.mini-ledger .in { font-weight: 700; color: var(--ink); }
.mini-ledger .out { font-weight: 700; color: var(--red); }
.receipt {
  position: absolute;
  right: 7%;
  top: 22px;
  width: 92px;
  height: 120px;
  padding: 14px 12px;
  border-radius: 4px 4px 0 0;
  background: #fffdf4;
  box-shadow: 0 10px 24px -14px rgb(20 26 51 / .5), 0 0 0 1px rgb(20 26 51 / .06);
  transform: rotate(7deg);
  transform-origin: 50% 0;
}
.receipt::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -10px;
  width: 12px;
  height: 30px;
  margin-left: -6px;
  border: 2px solid #8b93ab;
  border-radius: 6px;
}
.receipt i { display: block; height: 4px; margin: 6px 0; border-radius: 2px; background: #dfe2ea; }
.receipt i:nth-child(2) { width: 70%; }
.receipt i:nth-child(4) { width: 55%; }

/* Card art 3: the data folder. */
.mini-folder { position: absolute; left: 50%; top: 40px; width: 176px; height: 150px; margin-left: -88px; }
.mini-folder .file {
  position: absolute;
  left: 32px;
  top: 6px;
  width: 112px;
  height: 120px;
  padding: 16px 14px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 0 1px rgb(20 26 51 / .08), 0 10px 20px -14px rgb(20 26 51 / .5);
  font: 700 10px/1 var(--sans);
  letter-spacing: .08em;
  color: var(--ink-3);
}
.mini-folder .file:nth-child(1) { transform: rotate(-10deg) translate(-14px, 4px); }
.mini-folder .file:nth-child(2) { transform: rotate(8deg) translate(14px, 2px); }
.mini-folder .file b { display: inline-block; padding: 4px 6px; border-radius: 4px; background: var(--blue-soft); color: var(--blue-deep); }
.mini-folder .file:nth-child(2) b { background: #fde8e6; color: var(--red); }
.folder-front {
  position: absolute;
  inset: 52px 0 0;
  border-radius: 6px 14px 14px 14px;
  background: var(--marker);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .6), 0 18px 30px -18px rgb(20 26 51 / .55);
}
.folder-front::before {
  content: "";
  position: absolute;
  left: 0;
  top: -14px;
  width: 70px;
  height: 18px;
  border-radius: 6px 10px 0 0;
  background: var(--marker);
}
.folder-front span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  color: var(--ink);
  font: 700 12px/1 var(--sans);
}

/* Card art 4: the language switch. */
.mini-lang { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 22px; }
.switch {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 168px;
  padding: 5px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 1px rgb(20 26 51 / .08), 0 14px 26px -16px rgb(20 26 51 / .5);
  font: 800 14px/1 var(--sans);
  letter-spacing: .08em;
}
.switch::before {
  content: "";
  position: absolute;
  inset: 5px auto 5px 5px;
  width: calc(50% - 5px);
  border-radius: 10px;
  background: var(--ink);
}
.switch span { position: relative; padding: 12px 0; text-align: center; color: #fff; }
.switch span + span { color: var(--ink-3); }
.word-pair { position: relative; height: 1.1em; font: 500 34px/1.1 var(--serif); letter-spacing: -.02em; }
.word-pair span { display: block; text-align: center; }
.word-pair span + span { position: absolute; inset: 0; opacity: 0; }

/* ---------- Demo ---------- */

.demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: start;
  gap: clamp(40px, 6vw, 96px);
}
.steps { display: grid; gap: 26px; margin: 44px 0 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; }
.steps h3 { margin-bottom: 6px; font-size: 1.375rem; }
.steps p { margin: 0; color: var(--ink-2); }
.step-num {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: var(--blue);
  font: 300 1.5rem/1 var(--hand);
}
.step-num svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.6;
  stroke-linecap: round;
}

.mail { position: relative; }
.mail-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--sheet);
  box-shadow: 0 50px 90px -50px rgb(20 26 51 / .45), 0 1px 0 rgb(20 26 51 / .04);
}
.mail-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  background: #f5f6fa;
  color: var(--ink-3);
  font-size: .875rem;
  font-weight: 600;
}
.mail-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d8dce8; }
.mail-bar b { margin-left: 10px; font-weight: 600; }
.mail-fields { margin: 0; padding: 0 22px; }
.mail-fields div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.mail-fields dt { color: var(--ink-3); font-size: .9375rem; }
.mail-fields dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
/* Ruled lines, like a lined exercise book page. The text sits on the lines. */
.mail-body {
  padding: 18px 22px 10px;
  background-image: linear-gradient(transparent 24px, #e2e6f0 24px, #e2e6f0 25px, transparent 25px);
  background-size: 100% 32px;
  background-position: 0 18px;
  line-height: 32px;
}
.mail-body p { margin: 0 0 32px; }
.mail-body p:last-child { margin-bottom: 0; }
.mail-body .fill { color: var(--ink-3); }
.caret {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  margin-left: 2px;
  vertical-align: -.15em;
  background: var(--blue);
  opacity: 0;
}
.mail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 18px 22px 22px;
  border-top: 1px solid var(--line);
  background: #fbfbfd;
}
.mail-hand {
  position: absolute;
  right: -6px;
  top: -40px;
  margin: 0;
  color: var(--blue);
  font: 300 1.5rem/1 var(--hand);
  transform: rotate(-5deg);
}

/* ---------- Partner (tax advisers) ---------- */

.partner {
  position: relative;
  z-index: 1;
  width: calc(100% - 2 * clamp(8px, 2vw, 24px));
  max-width: 1320px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: clamp(22px, 3vw, 36px);
  background-color: var(--navy);
  background-image:
    radial-gradient(60% 80% at 100% 0%, rgb(35 66 214 / .45), transparent 70%),
    linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .035) 1px, transparent 1px);
  background-size: auto, 24px 24px, 24px 24px;
  color: #dfe3f3;
}
.partner .container {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
  padding-block: clamp(64px, 9vw, 120px);
}
.partner h2 { color: #fff; }
.partner .kicker { color: #b9c0dc; }
.partner .kicker-num { color: var(--marker); }
.partner :focus-visible { outline-color: var(--marker); }
/* On dark ground the marker becomes an underline, so the text stays light. */
.partner .marker { background-position: 0 100%; background-size: 100% .16em; border-radius: 0; }
.partner p { color: #dfe3f3; }
.partner-body { padding-top: 8px; }
.checks { display: grid; gap: 14px; margin: 28px 0 34px; padding: 0; list-style: none; }
.checks li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; color: #fff; font-weight: 500; }
.checks svg { width: 24px; height: 24px; margin-top: 2px; fill: none; stroke: var(--marker); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- FAQ ---------- */

.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); }
.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 48px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font: 500 clamp(1.2rem, 1.1rem + .4vw, 1.4rem)/1.25 var(--serif);
  letter-spacing: -.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--blue); }
.plus { position: relative; width: 36px; height: 36px; flex: none; border: 1px solid var(--line); border-radius: 50%; background: var(--sheet); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 1px; background: currentColor; }
.plus::after { transform: rotate(90deg); }
details[open] .plus { background: var(--ink); border-color: var(--ink); color: #fff; }
details[open] .plus::after { transform: rotate(0deg); }
.faq-a { padding: 0 56px 24px 0; color: var(--ink-2); }
.faq-a p { margin: 0; }

/* ---------- Cover (final call to action) ---------- */

.cover {
  position: relative;
  z-index: 1;
  width: calc(100% - 2 * clamp(8px, 2vw, 24px));
  max-width: 1320px;
  margin: 0 auto clamp(48px, 7vw, 96px);
  overflow: hidden;
  border-radius: clamp(22px, 3vw, 36px);
  background-color: var(--blue);
  background-image:
    radial-gradient(50% 70% at 0% 100%, rgb(14 20 48 / .45), transparent 70%),
    linear-gradient(rgb(255 255 255 / .06) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / .06) 1px, transparent 1px);
  background-size: auto, 24px 24px, 24px 24px;
  color: #fff;
}
.cover .container {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
  padding-block: clamp(64px, 9vw, 120px);
}
.cover h2 { color: #fff; font-size: clamp(2.4rem, 1.3rem + 4.4vw, 5rem); }
.cover p { max-width: 30em; color: #e6eafe; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); }
.cover .cta-row { margin-top: 34px; }
.cover :focus-visible { outline-color: var(--marker); }
.cover-mail { margin: 22px 0 0; font-size: 1rem !important; }
.cover-mail a { color: #fff; font-weight: 600; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
/* The name label of an Austrian exercise book cover. */
.label {
  justify-self: center;
  width: min(100%, 340px);
  padding: 26px 26px 18px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 6px rgb(255 255 255 / .18), 0 30px 60px -30px rgb(14 20 48 / .8);
  color: var(--ink);
  transform: rotate(3deg);
}
.label-title { margin-bottom: 14px; color: var(--ink-3); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.label-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0 8px;
  border-bottom: 1.5px dotted #b5bccf;
}
.label-row span { width: 3.4em; flex: none; color: var(--ink-3); font-size: .875rem; font-weight: 600; }
.label-row b { color: var(--blue); font: 300 1.3rem/1.2 var(--hand); }

/* ---------- Footer ---------- */

.site-footer { padding-block: 8px 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  padding-block: 40px;
  border-top: 1px solid var(--line);
}
.footer-grid p { max-width: 26em; margin: 14px 0 0; color: var(--ink-2); font-size: .9375rem; }
.footer-title { margin-bottom: 10px; color: var(--ink-3); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer-links { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ink); text-decoration: none; }
.footer-links a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  color: var(--ink-3);
  font-size: .875rem;
}
/* The vertical padding gives the small footer links a target of at least 24 px (WCAG 2.5.8). */
.footer-base a { display: inline-block; padding-block: 4px; color: inherit; text-underline-offset: 3px; }
.footer-base a:hover { color: var(--ink); }

/* ---------- Legal pages ---------- */

.legal { padding-block: clamp(36px, 6vw, 72px) clamp(48px, 8vw, 96px); }
.legal-sheet {
  max-width: 760px;
  padding: clamp(24px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--sheet);
  /* Long German compounds such as "Unternehmensgegenstand" must break on 320 px screens. */
  hyphens: auto;
}
/* Headings use only the soft hyphens in the markup: the browser dictionary breaks "Datenschutz-erklärung" as "Datenschut-zerklärung".
   The 1.9rem minimum lets "Datenschutz-" fit on a 320 px screen. */
.legal h1 { font-size: clamp(1.9rem, 1.4rem + 2.6vw, 3.4rem); line-height: 1.05; margin-bottom: 12px; hyphens: manual; }
.legal h2 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); line-height: 1.15; letter-spacing: -.015em; margin: 40px 0 12px; }
.legal p, .legal li, .legal dd, .legal address { color: var(--ink-2); }
.legal address { margin-bottom: 20px; font-style: normal; }
/* A fixed label column keeps the values of all lists on one line. 12.5em fits "Unternehmensgegenstand". */
.legal dl { display: grid; grid-template-columns: 12.5em minmax(0, 1fr); gap: 10px 24px; margin-bottom: 0; }
.legal dt { color: var(--ink); font-weight: 600; }
.legal dd { margin: 0; overflow-wrap: anywhere; }
.legal ul { padding-left: 1.2em; }
.legal a { color: var(--blue-deep); text-underline-offset: 3px; }
.legal a:hover { color: var(--blue); }
.legal-meta { color: var(--ink-3); font-size: .9375rem; }

@media (max-width: 560px) {
  .legal dl { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .legal dd { margin-bottom: 12px; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .main-nav { display: none; }
  .header-actions { margin-left: auto; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 900px) {
  .hero-grid, .demo-grid, .faq-grid, .partner .container, .cover .container { grid-template-columns: minmax(0, 1fr); }
  .hero-art { max-width: 560px; }
  .card, .card:nth-child(n) { grid-column: 1 / -1; }
  .label { justify-self: start; }
  .mail-hand { right: 10px; }
  .mail { margin-top: 28px; }
}

@media (max-width: 760px) {
  :root { --header: 64px; }
  .container { padding-left: 34px; padding-right: 20px; }
  .margin-rule { left: 14px; }
  .brand-word { font-size: 1.45rem; }
  .brand-mark { width: 26px; height: 26px; }
  .header-inner { gap: 12px; }
  .header-actions { gap: 8px; }
  .lang a { min-width: 36px; }
  .btn-sm { padding: 10px 12px; font-size: .875rem; }
  .cta-row .btn-lg { width: 100%; }
  .eyebrow { padding: 0; border: 0; border-radius: 0; background: none; align-items: flex-start; }
  .flag { margin-top: 3px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .faq-a { padding-right: 0; }
  .card-art { height: 210px; }
}

@media (max-width: 420px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts li + li { border-left: 0; border-top: 1px solid var(--line); }
  .cta-long { display: none; }
  .cta-short { display: inline; }
}

/* Below 360 px the header cannot hold the word mark, the language switch and the demo button.
   Hide the word mark: the language switch is the only quick way to the other language. */
@media (max-width: 359px) {
  .site-header .brand-word { display: none; }
}

@media (forced-colors: active) {
  .marker { background: none; text-decoration: underline; }
  .margin-rule { display: none; }
  .btn { border-color: ButtonText; }
  /* Forced colors paint backgrounds as Canvas. Without these rules the FAQ plus/minus and the active language disappear. */
  .plus::before, .plus::after { forced-color-adjust: none; background: CanvasText; }
  .lang a[aria-current="page"] { outline: 2px solid CanvasText; outline-offset: -2px; }
}

/* ---------- Motion (only when the visitor has not asked for less) ---------- */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  @view-transition { navigation: auto; }

  .btn, .link-arrow, .text-link, .main-nav a, .lang a, .footer-links a {
    transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease), text-decoration-color .25s var(--ease);
  }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgb(26 49 168 / .7); }
  .btn:active { transform: translateY(0) scale(.98); }
  .btn .arrow { transition: transform .35s var(--spring); }
  .btn:hover .arrow, .link-arrow:hover .arrow { transform: translateX(4px); }
  .link-arrow .arrow { transition: transform .35s var(--spring); }

  /* Hero: one orchestrated entrance on load. The headline stays still, so it paints at once. */
  .hero .eyebrow { animation: rise .8s var(--ease) both; }
  .hero .lead { animation: rise .8s var(--ease) .12s both; }
  .hero .cta-row { animation: rise .8s var(--ease) .22s both; }
  .hero .cta-note { animation: rise .8s var(--ease) .32s both; }
  .hero h1 .marker { animation: sweep 1s var(--ease) .45s both; }
  .art { transition: transform .8s var(--ease); }
  .sheet-ledger { animation: ledger-in 1.1s var(--ease) .1s both; }
  .sheet-invoice { animation: invoice-in 1.1s var(--ease) .3s both; }
  .inv-item { animation: write 0.6s var(--ease) both; animation-delay: calc(.85s + var(--i) * .14s); }
  .inv-total b::after { animation: rule .6s var(--ease) 1.35s both; }
  .stamp { animation: stamp .55s var(--spring) 1.7s both; }
  .inv-thanks { animation: write 1s ease-out 2s both; }
  .folder { animation: chip-in .9s var(--ease) 1.05s both; }
  .art-note { animation: write 1.1s ease-out 2.25s both; }
  .art-arrow path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .9s var(--ease) 2.5s both; }

  /* Reveal on scroll. site.js arms only elements below the fold. */
  [data-reveal].is-armed { opacity: 0; transform: translateY(28px); }
  [data-reveal].is-armed.is-in {
    opacity: 1;
    transform: none;
    transition: opacity .9s var(--ease), transform .9s var(--ease);
    transition-delay: var(--d, 0s);
  }
  .is-armed .marker { background-size: 0% 42%; }
  .partner .is-armed .marker { background-size: 0% .16em; }
  .is-armed.is-in .marker { background-size: 100% 42%; transition: background-size 1s var(--ease) .35s; }
  .partner .is-armed.is-in .marker { background-size: 100% .16em; }
  .is-armed .step-num path { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .is-armed.is-in .step-num path { animation: draw 1s var(--ease) both; animation-delay: calc(.2s + var(--d, 0s)); }
  .is-armed .mail-body p { opacity: 0; transform: translateY(8px); }
  .is-armed.is-in .mail-body p { animation: rise .6s var(--ease) both; animation-delay: calc(.5s + var(--i) * .35s); }
  .is-armed.is-in .caret { animation: blink 1s steps(1) 2.2s 4; }
  .is-armed .mail-hand { opacity: 0; }
  .is-armed.is-in .mail-hand { opacity: 1; animation: write 1.1s ease-out 2.3s both; }
  .is-armed .checks path { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .is-armed.is-in .checks path { animation: draw .6s var(--ease) both; animation-delay: calc(.4s + var(--i) * .18s); }
  .is-armed .label { opacity: 0; transform: translateY(40px) rotate(9deg); }
  .is-armed.is-in .label { opacity: 1; transform: rotate(3deg); transition: opacity .9s var(--ease) .2s, transform 1.1s var(--spring) .2s; }
  .is-armed .label-row b { clip-path: inset(-20% 100% -20% 0); }
  .is-armed.is-in .label-row b { animation: write .9s ease-out both; animation-delay: calc(.9s + var(--i) * .35s); }

  /* Feature cards react to the pointer. */
  .card { transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s var(--ease); }
  .card:hover { transform: translateY(-6px); border-color: #cfd5e6; box-shadow: 0 30px 60px -36px rgb(20 26 51 / .45); }
  .mini-sheet, .pdf-badge, .receipt, .mini-folder .file, .switch::before, .switch span, .word-pair span {
    transition: transform .6s var(--spring), opacity .4s var(--ease), color .4s var(--ease);
  }
  .card:hover .mini-sheet.back { transform: rotate(-12deg) translate(-12px, 6px); }
  .card:hover .mini-sheet.mid { transform: rotate(-5deg) translate(-4px, 2px); }
  .card:hover .mini-sheet.front { transform: rotate(0deg) translateY(-8px); }
  .card:hover .pdf-badge { transform: scale(1.18) rotate(-6deg); }
  .card:hover .receipt { transform: rotate(-4deg) translateY(-14px); }
  .card:hover .mini-folder .file:nth-child(1) { transform: rotate(-18deg) translate(-34px, -14px); }
  .card:hover .mini-folder .file:nth-child(2) { transform: rotate(16deg) translate(34px, -16px); }
  .card:hover .switch::before { transform: translateX(calc(100% + 0px)); }
  .card:hover .switch span:first-child { color: var(--ink-3); }
  .card:hover .switch span + span { color: #fff; }
  .card:hover .word-pair span:first-child { opacity: 0; transform: translateY(-12px); }
  .card:hover .word-pair span + span { opacity: 1; transform: translateY(0); }
  .word-pair span + span { transform: translateY(12px); }

  .plus::after { transition: transform .35s var(--ease); }
  .plus { transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease); }

  /* Smooth open and close for the FAQ, where the browser can animate to "auto". */
  @supports (interpolate-size: allow-keywords) {
    :root { interpolate-size: allow-keywords; }
    .faq-list details::details-content {
      height: 0;
      overflow: clip;
      transition: height .45s var(--ease), content-visibility .45s allow-discrete;
    }
    .faq-list details[open]::details-content { height: auto; }
  }

  /* Scroll-linked effects. Browsers without scroll timelines show the static design. */
  @supports (animation-timeline: scroll()) {
    .margin-rule span { animation: progress linear both; animation-timeline: scroll(root block); }
    .site-header::after { animation: header-line linear both; animation-timeline: scroll(root block); animation-range: 0 160px; }
    .partner, .cover { animation: panel-in linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    .hero-art { animation: drift linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  }
}

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes sweep { from { background-size: 0% 42%; } to { background-size: 100% 42%; } }
@keyframes ledger-in { from { opacity: 0; transform: translate(-8%, 12%) rotate(-14deg); } to { opacity: 1; transform: rotate(-5deg); } }
@keyframes invoice-in { from { opacity: 0; transform: translate(6%, 16%) rotate(10deg); } to { opacity: 1; transform: rotate(2.5deg); } }
@keyframes write { from { clip-path: inset(-20% 100% -20% 0); } to { clip-path: inset(-20% 0 -20% 0); } }
@keyframes rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes stamp {
  0% { opacity: 0; transform: rotate(-32deg) scale(2.3); }
  65% { opacity: .92; transform: rotate(-12deg) scale(.94); }
  100% { opacity: .92; transform: rotate(-14deg) scale(1); }
}
@keyframes chip-in { from { opacity: 0; transform: translateY(30%) rotate(-6deg); } to { opacity: 1; transform: rotate(-1.5deg); } }
/* Paths use pathLength="1", so one keyframe draws any of them. */
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes blink { 50% { opacity: 1; } }
@keyframes progress { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes header-line { from { opacity: 0; } to { opacity: 1; } }
/* Scale only: an opacity change here would lower text contrast while the panel enters. */
@keyframes panel-in { from { transform: scale(.94); } to { transform: none; } }
@keyframes drift { to { transform: translateY(-48px); } }
