/* One look for every information page (Lukas, 2026-10-28: "each has different spacing"). A page's own <style>
   holds only what is its own; everything shared is here. */
:root { --ink: #111827; --soft: #4b5563; --line: #e5e7eb; --bg: #ffffff; --card: #f9fafb; --accent: #1d4ed8; --green: #16a34a; --amber: #f97316; --red: #ef4444; --blue: #3b82f6; }
/* dark: the device's choice, unless the switch in the top bar said otherwise (site.js, data-theme) */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ink: #f3f4f6; --soft: #9ca3af; --line: #374151; --bg: #111827; --card: #1f2937; --accent: #93c5fd; } }
:root[data-theme="dark"] { --ink: #f3f4f6; --soft: #9ca3af; --line: #374151; --bg: #111827; --card: #1f2937; --accent: #93c5fd; }
:root { color-scheme: light dark; } :root[data-theme="light"] { color-scheme: light; } :root[data-theme="dark"] { color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
main { max-width: 880px; margin: 0 auto; padding: 28px 16px 56px; }
h1 { font-size: 34px; margin: 0 0 8px; line-height: 1.15; letter-spacing: -.02em; }
h1 span { color: var(--accent); }
h2 { font-size: 23px; margin: 40px 0 10px; line-height: 1.25; letter-spacing: -.01em; }
h3 { font-size: 17px; margin: 18px 0 4px; }
p, li { color: var(--soft); }
b { color: var(--ink); }
a { color: var(--accent); }
ul, ol { padding-left: 22px; }
li { margin: 4px 0; }
.lead { font-size: 19px; line-height: 1.5; color: var(--ink); margin: 10px 0 16px; }
.meta { font-size: 14px; color: var(--soft); margin: 0 0 18px; }
.box { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin: 14px 0; }
.go { display: inline-block; background: #166534; color: #fff !important; font-weight: 800; text-decoration: none; border-radius: 12px; padding: 12px 20px; }

/* screenshots in a row */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 14px 0; }
@media (min-width: 640px) { .shots { grid-template-columns: repeat(4, minmax(0, 1fr)); } .shots.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.shots figure { margin: 0; }
.shots img { width: 100%; height: auto; display: block; border-radius: 14px; border: 1px solid var(--line); }
.shots figcaption { font-size: 13px; color: var(--soft); margin-top: 4px; }

/* the live numbers (api /api/numbers) */
.nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 24px 0 0; }
@media (min-width: 640px) { .nums { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.nums div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.nums b { display: block; font-size: 26px; letter-spacing: -.02em; }
.nums span { font-size: 14px; color: var(--soft); }
.nums[hidden] { display: none; }

/* the phone with a screenshot */
.phone { margin: 0 auto; width: 240px; max-width: 70%; border-radius: 30px; padding: 8px; background: #111827; box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.phone img { display: block; width: 100%; height: auto; border-radius: 23px; }
@media (max-width: 639px) { .phone { width: 190px; } }

/* the footer */
footer { margin-top: 48px; font-size: 14px; color: var(--soft); border-top: 1px solid var(--line); padding-top: 14px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 8px; }

/* the top bar (Lukas, 2026-10-28: "when in detail it does not let me go back") */
.fnav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid #e5e7eb; }
.fnav > div { max-width: 880px; margin: 0 auto; padding: 8px 16px; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 4px 12px; }
.fnav-theme { width: 38px; height: 38px; border-radius: 10px; border: 1px solid #e5e7eb; background: transparent; color: #111827; font-size: 18px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0; }
.fnav a { text-decoration: none; }
.fnav-brand { display: flex; align-items: center; gap: 8px; font: 800 20px system-ui, sans-serif; color: #111827; }
.fnav-brand img { width: 28px; height: 28px; }
.fnav nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.fnav nav::-webkit-scrollbar { display: none; }
.fnav nav a { white-space: nowrap; padding: 6px 10px; border-radius: 9px; color: #374151; font: 600 15px system-ui, sans-serif; }
.fnav nav a:hover { background: #f3f4f6; }
.fnav nav a[aria-current="page"] { background: #e0e7ff; color: #1d4ed8; }
.fnav-go { background: #166534; color: #fff; font: 800 15px system-ui, sans-serif; padding: 8px 14px; border-radius: 10px; white-space: nowrap; }
@media (max-width: 699px) { .fnav > div { grid-template-columns: 1fr auto auto; } .fnav nav { grid-column: 1 / -1; grid-row: 2; margin: 0 -6px; } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .fnav { background: rgba(17,24,39,.94); border-color: #374151; } :root:not([data-theme="light"]) .fnav-brand { color: #f3f4f6; } :root:not([data-theme="light"]) .fnav nav a { color: #d1d5db; } :root:not([data-theme="light"]) .fnav nav a:hover { background: #1f2937; } :root:not([data-theme="light"]) .fnav nav a[aria-current="page"] { background: #1e3a8a; color: #dbeafe; } :root:not([data-theme="light"]) .fnav-theme { border-color: #374151; color: #f3f4f6; } }
:root[data-theme="dark"] .fnav { background: rgba(17,24,39,.94); border-color: #374151; } :root[data-theme="dark"] .fnav-brand { color: #f3f4f6; } :root[data-theme="dark"] .fnav nav a { color: #d1d5db; } :root[data-theme="dark"] .fnav nav a:hover { background: #1f2937; } :root[data-theme="dark"] .fnav nav a[aria-current="page"] { background: #1e3a8a; color: #dbeafe; } :root[data-theme="dark"] .fnav-theme { border-color: #374151; color: #f3f4f6; }

/* the top of a page: headline and text, the button and the QR, the phone with a real screen */
.hero { display: grid; gap: 24px; align-items: start; margin: 12px 0 8px; }
@media (min-width: 700px) { .hero { grid-template-columns: minmax(0, 1fr) 240px; } }
.cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.qr { display: flex; gap: 10px; align-items: center; }
.qr svg { width: 100px; height: 100px; display: block; border-radius: 8px; background: #fff; padding: 4px; }
.qr small { color: var(--soft); font-size: 13px; max-width: 150px; line-height: 1.35; }
@media (max-width: 699px) { .qr { display: none; } }
.dots { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0 14px; }
.dots span { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.dots i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
