/* Comilo's public pages. Deliberately one small stylesheet rather than a build
   step: these are three static documents that must outlive any tooling choice.
   The palette is the app's, transcribed from KalCore's tokens. */
:root {
  color-scheme: light dark;
  --ground: #F6F8F6;
  --panel: #FFFFFF;
  --ink: #16211B;
  --ink2: #5F6B64;
  --ink3: #6E756F;
  --accent: #256645;
  --edge: rgba(22, 33, 27, 0.10);
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #121614;
    --panel: #1A1F1C;
    --ink: #F0F3EE;
    --ink2: #B3BCB4;
    --ink3: #909A91;
    --accent: #7DD4A0;
    --edge: rgba(255, 255, 255, 0.12);
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  padding: 32px 20px 64px;
  background: var(--ground);
  color: var(--ink);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
}
main { max-width: 680px; margin: 0 auto; }
header { margin-bottom: 36px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: inherit;
}
.mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent); color: var(--ground);
  display: grid; place-items: center;
  font-weight: 600; font-size: 22px; line-height: 1;
}
.wordmark { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: 28px; line-height: 1.25; margin: 28px 0 6px; letter-spacing: -0.02em; }
/* Questions on the support page are h3 under the "Common questions" h2, so the
   heading tree a screen reader announces matches the page. They are meant to read
   at the same weight, so both levels share one rule. */
h2, h3 { font-size: 18px; margin: 32px 0 8px; letter-spacing: -0.01em; }
.updated { color: var(--ink3); font-size: 13px; margin: 0 0 8px; }
p, li { color: var(--ink2); }
li { margin-bottom: 6px; }
strong { color: var(--ink); font-weight: 600; }
a { color: var(--accent); }
.card {
  background: var(--panel); border: 1px solid var(--edge);
  border-radius: 16px; padding: 18px 20px; margin: 20px 0;
}
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
footer {
  margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--edge);
  color: var(--ink3); font-size: 13px;
}
footer a { color: var(--ink3); }
