/* Kassenbuch: readable like a club ledger, with the working app as the visual focus. */
:root {
  --ink: #172c2b;
  --text: #435957;
  --paper: #f7f8f4;
  --white: #ffffff;
  --rule: #d8e1db;
  --teal: #08776e;
  --deep: #113e3a;
  --soft: #d9efdf;
  --radius: 8px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--teal);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}
button, summary {
  font: inherit;
}
button, a, summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 5px;
}
h1, h2, h3, p, figure {
  margin: 0;
}
h1, h2, h3 {
  text-wrap: balance;
}
h1 {
  font-size: clamp(36px, 4.1vw, 56px);
  line-height: 1.09;
  letter-spacing: -0.038em;
  font-weight: 750;
}
h2 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.028em;
  font-weight: 730;
}
h3 {
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
p {
  max-width: 68ch;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
.wrap {
  width: min(100%, 1232px);
  padding-inline: 40px;
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  padding: 12px 20px;
  background: var(--white);
  z-index: 200;
}
.skip-link:focus {
  top: 12px;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.03em;
}
.logo img {
  width: 32px;
  height: 32px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav-links > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}
.nav-links > a:hover {
  color: var(--teal);
  text-decoration: underline;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 650;
  font-size: 16px;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
}
a.btn:hover {
  text-decoration: none;
}
.btn-primary {
  color: var(--white);
  background: var(--teal);
}
.btn-primary:hover {
  background: var(--deep);
}
.btn-secondary {
  color: var(--ink);
  border-color: var(--rule);
  background: var(--white);
}
.btn-secondary:hover {
  border-color: var(--teal);
}
.nav-links > .btn {
  color: var(--white);
  padding: 10px 18px;
  min-height: 44px;
}
.nav-links > .btn:hover {
  color: var(--white);
  text-decoration: none;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.hero {
  padding-block: 62px 50px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.12fr;
  gap: 48px;
  align-items: center;
}
.hero-kicker {
  margin-bottom: 16px;
  color: var(--teal);
  font-size: 15px;
  font-weight: 650;
}
.hero h1 {
  max-width: 17ch;
}
.lead {
  font-size: 19px;
  color: var(--text);
  line-height: 1.55;
  margin-top: 22px;
  max-width: 49ch;
}
.hero .actions {
  margin-top: 28px;
}
.trial-note {
  font-size: 15px;
  margin-top: 17px;
}
.trial-note strong {
  font-weight: 650;
}
.platform-link {
  display: inline-block;
  font-size: 14px;
  margin-top: 10px;
  min-height: 32px;
}
.hero-media {
  min-width: 0;
}
.image-link {
  display: block;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.image-link:hover {
  border-color: var(--teal);
}
.image-link img {
  width: 100%;
}
.hero-media .image-link {
  box-shadow: 0 16px 36px -22px rgba(17, 62, 58, 0.32);
}
figcaption {
  color: var(--text);
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
}
.proof-line {
  margin-top: 40px;
  border-top: 1px solid var(--rule);
  padding-top: 22px;
  display: flex;
  gap: 12px 30px;
  flex-wrap: wrap;
  color: var(--text);
  font-size: 15px;
}
.proof-line span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.proof-line span::before {
  content: "✓";
  color: var(--teal);
}
.section {
  padding-block: 68px;
  border-top: 1px solid var(--rule);
}
.section-white {
  background: var(--white);
}
.section-heading {
  max-width: 680px;
  margin-bottom: 34px;
}
.section-heading p {
  margin-top: 16px;
  color: var(--text);
}
.workflow {
  list-style: none;
  padding: 0;
  margin: 0;
}
.workflow > li {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 54px;
  align-items: center;
  padding-block: 30px;
}
.workflow > li + li {
  border-top: 1px solid var(--rule);
}
.step-number {
  display: block;
  color: var(--teal);
  font-size: 15px;
  font-weight: 650;
  margin-bottom: 12px;
}
.workflow h3 {
  font-size: 26px;
}
.workflow p {
  margin-top: 14px;
  color: var(--text);
  font-size: 17px;
}
.workflow .text-link {
  display: inline-block;
  margin-top: 18px;
}
.workflow figure {
  min-width: 0;
}
.workflow .image-link {
  max-height: 370px;
}
.workflow .image-link img {
  object-fit: cover;
  object-position: top;
}
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 38px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.feature-list h3 {
  font-size: 18px;
}
.feature-list p {
  font-size: 16px;
  margin-top: 10px;
  color: var(--text);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.split p {
  color: var(--text);
  margin-top: 18px;
}
.split h3 {
  margin-top: 28px;
}
.scope-note {
  margin-top: 28px;
  padding-left: 20px;
  border-left: 2px solid var(--rule);
  color: var(--text);
  font-size: 16px;
}
.price-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 90px;
}
.price-layout p {
  color: var(--text);
  margin-top: 18px;
}
.price-details {
  border-left: 1px solid var(--rule);
  padding-left: 48px;
}
.price-amount {
  font-size: clamp(58px, 6vw, 80px);
  line-height: 1;
  font-weight: 740;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.price-details > p {
  margin-top: 8px;
}
.price-details .actions {
  margin-top: 28px;
}
.included {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.included li {
  padding-block: 8px;
  padding-left: 25px;
  position: relative;
}
.included li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
}
.small {
  font-size: 14px;
}
.faq-layout {
  display: grid;
  grid-template-columns: 0.6fr 1fr;
  gap: 80px;
}
.faq-intro p {
  color: var(--text);
  margin-top: 18px;
}
.faq {
  border-top: 1px solid var(--rule);
}
.faq:last-child {
  border-bottom: 1px solid var(--rule);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 650;
  padding: 20px 36px 20px 0;
  position: relative;
  line-height: 1.4;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 16px;
  font-size: 25px;
  color: var(--teal);
}
.faq[open] summary::after {
  content: "−";
}
.faq p {
  color: var(--text);
  padding-bottom: 22px;
  font-size: 16px;
}
.download-section {
  background: var(--deep);
  color: var(--white);
  padding-block: 64px;
}
.download-section :focus-visible {
  outline-color: var(--soft);
}
.download-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}
.download-heading p {
  color: #d1e2db;
  margin-top: 15px;
}
.release-link {
  color: #d1e2db;
  font-size: 14px;
  flex-shrink: 0;
}
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 34px;
}
.download-option {
  border-top: 1px solid #52746b;
  padding-top: 22px;
}
.download-option.is-current {
  border-top: 3px solid #d9efdf;
  padding-top: 20px;
}
.download-option h3 {
  font-size: 23px;
}
.download-option .system {
  font-size: 14px;
  margin-top: 8px;
  color: #d1e2db;
}
.download-option .actions {
  margin-top: 18px;
  gap: 10px;
}
.download-option .btn {
  background: var(--white);
  color: var(--deep);
  border-color: var(--white);
}
.download-option .btn:hover {
  background: var(--soft);
  border-color: var(--soft);
}
.download-option p.install {
  font-size: 14px;
  line-height: 1.55;
  color: #d1e2db;
  margin-top: 18px;
}
.download-option p.install strong {
  color: var(--white);
}
.download-option a:not(.btn) {
  color: var(--white);
}
.mobile-note {
  color: #d1e2db;
  margin-top: 20px;
}
.download-bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #52746b;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.download-bottom a {
  color: var(--white);
  font-size: 15px;
}
.foot {
  padding-block: 30px;
  border-top: 1px solid var(--rule);
  background: var(--paper);
}
.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 14px;
  padding-bottom: 24px;
}
/* Native dialog: keyboard focus, Escape, and a plain image-link fallback without JS. */
.image-dialog {
  width: min(1380px, 96vw);
  max-height: 94dvh;
  padding: 20px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
}
.image-dialog::backdrop {
  background: rgba(17, 62, 58, 0.8);
}
.dialog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
}
.dialog-toolbar h2 {
  font-size: 20px;
}
.dialog-image {
  max-height: 72dvh;
  margin: auto;
  width: auto;
}
.dialog-original {
  display: inline-block;
  margin-top: 16px;
}
/* Supporting guides share the navigation and typography with the homepage. */
.article-hero {
  padding-block: 54px;
}
.article-hero h1 {
  max-width: 22ch;
}
.breadcrumb {
  font-size: 15px;
  margin-bottom: 20px;
}
.article-layout {
  max-width: 900px;
}
.article-layout .section-heading {
  max-width: 720px;
}
.article-steps {
  list-style: none;
  padding: 0;
  margin: 28px 0;
  counter-reset: guide;
}
.article-steps li {
  position: relative;
  border-top: 1px solid var(--rule);
  padding: 22px 0 22px 52px;
  counter-increment: guide;
}
.article-steps li::before {
  content: counter(guide) ".";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-size: 24px;
  font-weight: 650;
}
.article-steps p {
  margin-top: 10px;
  color: var(--text);
}
.article-layout figure {
  margin-block: 30px;
}
.article-layout .faq-list {
  margin-top: 28px;
}
.article-layout > h2 {
  margin-top: 48px;
}
.article-layout > p {
  margin-top: 18px;
  color: var(--text);
}
.article-cta .actions {
  margin-top: 24px;
}
.article-cta .lead {
  color: #d1e2db;
}
@media (max-width: 1000px) {
  .wrap {
    padding-inline: 28px;
  }
  .hero-grid {
    gap: 28px;
    grid-template-columns: 1fr 1fr;
  }
  .nav-links {
    gap: 20px;
  }
  .workflow > li {
    gap: 30px;
    grid-template-columns: 0.8fr 1.2fr;
  }
  .split, .price-layout, .faq-layout {
    gap: 40px;
  }
  .price-details {
    padding-left: 30px;
  }
  .download-grid {
    gap: 22px;
  }
}
@media (max-width: 760px) {
  .wrap {
    padding-inline: 22px;
  }
  .nav-inner {
    min-height: 70px;
    flex-wrap: wrap;
    gap: 0;
    padding-block: 12px 0;
  }
  .logo {
    font-size: 20px;
  }
  .nav-links {
    display: contents;
  }
  .nav-links > a:not(.btn) {
    order: 3;
    width: 33.333%;
    justify-content: center;
    font-size: 14px;
    min-height: 42px;
  }
  .nav-links > .btn {
    font-size: 14px;
  }
  html {
    scroll-padding-top: 128px;
  }
  .hero {
    padding-block: 30px 36px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero h1 {
    max-width: 20ch;
  }
  .hero-kicker {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .lead {
    font-size: 18px;
    margin-top: 18px;
  }
  .hero .actions {
    margin-top: 22px;
  }
  .trial-note {
    font-size: 14px;
  }
  .proof-line {
    margin-top: 28px;
    gap: 8px 18px;
    font-size: 14px;
  }
  .section {
    padding-block: 44px;
  }
  .section-heading {
    margin-bottom: 20px;
  }
  .workflow > li {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 28px;
  }
  .workflow .image-link {
    max-height: 300px;
  }
  .workflow h3 {
    font-size: 23px;
  }
  .feature-list {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 22px;
    padding-top: 26px;
  }
  .split, .price-layout, .faq-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .split h2 {
    max-width: 22ch;
  }
  .price-details {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--rule);
    padding-top: 28px;
  }
  .download-section {
    padding-block: 44px;
  }
  .download-heading {
    align-items: start;
    flex-direction: column;
    gap: 16px;
  }
  .download-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .download-option .actions {
    margin-top: 14px;
  }
  .download-option p.install {
    margin-top: 14px;
  }
  .download-bottom {
    margin-top: 26px;
  }
  .image-dialog {
    padding: 14px;
  }
  .dialog-toolbar {
    align-items: start;
    gap: 12px;
  }
  .dialog-toolbar h2 {
    font-size: 17px;
  }
  .dialog-toolbar .btn {
    font-size: 14px;
    min-height: 44px;
    padding: 8px 12px;
  }
  .article-hero {
    padding-block: 32px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .btn {
    transition: background-color 0.15s, border-color 0.15s;
  }
}
