:root {
  color-scheme: light;
  --paper: #faf9f6;
  --ink: #242c2b;
  --muted: #52605d;
  --line: #dddeda;
  --accent: #25584f;
  --card: #eef1eb;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  font-size: 17px;
}
body[data-app="companion"] {
  --accent: #912623;
  --card: #f5ece7;
}
body[data-app="geischtliweg"] {
  --accent: #5a4377;
  --card: #eeeaf5;
}
body[data-app="savili"] {
  --accent: #27576c;
  --card: #eaf0f3;
}
a {
  color: var(--accent);
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
  border-radius: 2px;
}
img {
  display: block;
}
.site-header {
  max-width: 1240px;
  margin: auto;
  min-height: 114px;
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 650;
  font-size: 21px;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}
.brand img {
  border-radius: 12px;
}
.contact-link {
  font-size: 14px;
  white-space: nowrap;
}
.layout {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 64px;
  padding: 64px 48px 72px;
}
aside nav {
  position: sticky;
  top: 32px;
  max-height: calc(100vh - 64px);
  overflow: auto;
  padding: 2px 8px 12px 2px;
}
.nav-label,
.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 650;
  color: var(--accent);
}
.nav-label {
  margin: 0 0 16px;
}
nav ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
nav a {
  font-size: 14px;
  line-height: 1.45;
  display: block;
  text-decoration: none;
  color: var(--muted);
}
nav a:hover {
  color: var(--accent);
  text-decoration: underline;
}
main {
  max-width: 720px;
  min-width: 0;
}
.eyebrow {
  margin: 0 0 20px;
}
h1 {
  font-size: clamp(38px, 5.2vw, 64px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1.08;
  margin: 0 0 28px;
}
h2 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.3;
  margin: 0 0 20px;
}
p {
  margin: 0 0 18px;
}
.lead {
  font-size: 20px;
  line-height: 1.65;
  color: var(--muted);
}
.updated {
  font-size: 13px;
  color: var(--muted);
  margin-top: 28px;
}
.intro {
  padding-bottom: 38px;
}
section {
  border-top: 1px solid var(--line);
  padding: 34px 0 22px;
}
section ul {
  padding-left: 24px;
  margin: 0 0 20px;
}
section li {
  padding-left: 5px;
  margin-bottom: 10px;
}
section p,
section li {
  overflow-wrap: anywhere;
}
.references {
  font-size: 14px;
  list-style: none;
  padding-left: 0;
}
.references li {
  padding: 0;
  margin-bottom: 6px;
}
.contact-card {
  background: var(--card);
  border-radius: 14px;
  padding: 28px 30px;
  margin-top: 20px;
}
.contact-card p {
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--muted);
}
.contact-card a {
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 550;
  overflow-wrap: anywhere;
}
footer {
  max-width: 1144px;
  border-top: 1px solid var(--line);
  margin: 0 auto;
  padding: 26px 0 36px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  padding: 10px 16px;
  background: var(--paper);
  z-index: 3;
}
.skip-link:focus {
  top: 12px;
}
@media (max-width: 850px) {
  .site-header {
    padding: 22px 28px;
    min-height: 92px;
  }
  .layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 38px 28px 56px;
  }
  aside {
    order: 2;
    border-top: 1px solid var(--line);
    padding-top: 24px;
  }
  aside nav {
    position: static;
    max-height: none;
  }
  nav ol {
    grid-template-columns: 1fr 1fr;
    gap: 14px 20px;
  }
  main {
    max-width: none;
  }
  h1 {
    font-size: 48px;
  }
  .intro {
    padding-bottom: 24px;
  }
  footer {
    margin: 0 28px;
  }
  .lead {
    font-size: 18px;
  }
}
@media (max-width: 430px) {
  body {
    font-size: 16px;
  }
  .site-header {
    padding: 20px;
    gap: 12px;
  }
  .brand {
    font-size: 18px;
    gap: 10px;
  }
  .brand img {
    width: 36px;
    height: 36px;
  }
  .contact-link {
    font-size: 12px;
  }
  .layout {
    padding: 32px 20px 48px;
  }
  h1 {
    font-size: 42px;
  }
  h2 {
    font-size: 22px;
  }
  .updated {
    font-size: 12px;
  }
  footer {
    margin: 0 20px;
    flex-direction: column;
    gap: 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
@media print {
  body {
    background: white;
    color: black;
    font-size: 11pt;
  }
  .site-header {
    padding: 12px 0;
  }
  .contact-link,
  aside,
  .skip-link,
  footer a {
    display: none;
  }
  .layout {
    display: block;
    padding: 24px 0;
  }
  main {
    max-width: none;
  }
  h1 {
    font-size: 30pt;
  }
  h2 {
    break-after: avoid;
  }
  section {
    break-inside: auto;
  }
  .contact-card {
    border: 1px solid #bbb;
    background: white;
  }
  footer {
    padding: 12px 0;
  }
  a {
    color: inherit;
  }
}
