/* Shared styles for every KalDev LLC page. Each app can set --accent on <body>. */
:root {
  --bg: #ffffff;
  --ink: #16181a;
  --mute: #5c6268;
  --line: #e3e6e8;
  --soft: #f4f6f7;
  --accent: #1f4f8f;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111315;
    --ink: #eceff1;
    --mute: #a3abb2;
    --line: #2a2f33;
    --soft: #1a1e21;
    --accent: #7fb0f0;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
.wrap { max-width: 720px; margin: 0 auto; padding: 32px 20px 64px; }
.site { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 32px; font-size: 15px; }
.site a { color: var(--ink); font-weight: 700; text-decoration: none; }
.site nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site nav a { font-weight: 500; color: var(--mute); }
.site nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }
.app { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.app img { width: 64px; height: 64px; border-radius: 15px; flex: none; }
h1 { font-size: 32px; line-height: 1.2; margin: 0; }
h2 { font-size: 21px; margin: 36px 0 8px; }
h3 { font-size: 17px; margin: 22px 0 4px; }
p, ul { margin: 0 0 14px; }
li { margin-bottom: 6px; }
.meta { color: var(--mute); font-size: 15px; margin: 4px 0 24px; }
.summary { background: var(--soft); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin: 24px 0; }
.summary p:last-child { margin: 0; }
.apps { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.apps li { display: flex; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin: 0; }
.apps img { width: 56px; height: 56px; border-radius: 13px; flex: none; }
.apps strong { display: block; font-size: 18px; }
.apps .links { font-size: 15px; display: flex; gap: 14px; flex-wrap: wrap; }
footer { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--mute); font-size: 14px; }
