/* Guides at /ratgeber/ and /en/guides/ (scripts/build-guides.ts): the landing page's paper, ink and aubergine. */
@font-face { font-family: 'Manrope'; font-weight: 500; font-display: swap; src: url('/brand/fonts/manrope-500.woff2') format('woff2'); }
:root { color-scheme: light; --page: #ededea; --surface: #f7f7f4; --ink: #202123; --ink-2: #4a4b52; --muted: #76767d; --line: #dddcd6; --brand: #706088; --pill: #202123; --pill-ink: #fafaf7; }
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; --page: #191a1e; --surface: #24232c; --ink: #fafaf7; --ink-2: #cfccd5; --muted: #9a97a3; --line: #33323d; --brand: #a99cbd; --pill: #fafaf7; --pill-ink: #191a1e; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--page); color: var(--ink); font: 1.0625rem/1.65 -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-underline-offset: 2px; }
main, .top, .foot { max-width: 46rem; margin: 0 auto; padding: 0 1.25rem; }
.top { display: flex; align-items: center; justify-content: space-between; min-height: 4.5rem; }
.top a { display: inline-flex; align-items: center; min-height: 44px; }
.brand { gap: 0.5rem; color: var(--ink); text-decoration: none; font-family: Manrope, sans-serif; font-size: 1.15rem; }
.crumbs { margin: 0.5rem 0 0; font-size: 0.9rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
h1, h2, h3 { font-family: Manrope, -apple-system, BlinkMacSystemFont, sans-serif; font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; }
h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); margin: 1rem 0 0.75rem; }
h2 { font-size: 1.4rem; margin: 2.5rem 0 0.5rem; }
h3 { font-size: 1.1rem; margin: 1.5rem 0 0.25rem; }
.lede { font-size: 1.2rem; color: var(--ink-2); }
li { margin: 0.35rem 0; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 1rem 1.25rem; font-family: ui-monospace, Menlo, monospace; font-size: 0.95rem; }
.box p { margin: 0.2rem 0; }
.box-title { font-weight: 700; }
.cta { margin: 3rem 0 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 1.5rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0; }
.btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.25rem; border-radius: 999px; background: var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.btn.primary { background: var(--pill); color: var(--pill-ink); }
.store-badge { display: inline-flex; border-radius: 9px; }
.store-badge img { display: block; height: 44px; width: auto; }
.more ul, .cards { list-style: none; padding: 0; }
.more li a { display: inline-flex; align-items: center; min-height: 44px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1rem; margin: 1.5rem 0 3rem; }
.cards li { display: grid; }
.cards a { display: grid; align-content: start; gap: 0.35rem; padding: 0 0 1.25rem; overflow: hidden; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.cards img { display: block; width: 100%; height: auto; margin-bottom: 0.75rem; background: var(--line); }
.cards strong, .cards span, .cards small { padding: 0 1.5rem; }
.cards strong { font-family: Manrope, sans-serif; font-weight: 500; font-size: 1.2rem; }
.cards small { color: var(--muted); font-size: 0.85rem; }
.cards span { color: var(--muted); font-size: 0.95rem; }
.foot { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 3rem; padding-top: 1.25rem; padding-bottom: 3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.foot a { color: var(--muted); }
/* App screens from the store screenshots; the device frame is part of the image. */
.shot { margin: 2rem auto; text-align: center; }
.shot img { display: block; width: 100%; height: auto; margin: 0 auto; border-radius: 18px; }
.shot.iphone img { max-width: 18rem; }
.shot figcaption { margin-top: 0.5rem; font-size: 0.9rem; color: var(--muted); }
/* Byline under the h1: author, last change, reading time. */
.byline { margin: 0 0 1rem; font-size: 0.9rem; color: var(--muted); }
.byline a { color: var(--muted); }
/* Tables: templates, grids and budgets. Wide ones scroll inside their box, never the page. */
.table { margin: 1.5rem 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.table table { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.45; }
.table caption { caption-side: top; text-align: left; padding: 0.85rem 1rem 0.5rem; font-weight: 600; }
.table th, .table td { padding: 0.5rem 1rem; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.table thead th { font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.table tbody th { font-weight: 600; }
.sources { padding-left: 1.25rem; }
.sources a { overflow-wrap: anywhere; }
