/* Inkolia — public site. Plain HTML, no build step, no scripts, no
   third-party requests: the privacy page describes the app, and the site
   holds itself to the same standard. */

:root {
  color-scheme: light dark;
  --bg: #fbfaf7;
  --ink: #1b1a17;
  --ink-2: #5d5a52;
  --line: #e4e1d9;
  --accent: #2456c5;
  --accent-bg: #edf2ff;
  --measure: 42rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161514;
    --ink: #ece9e2;
    --ink-2: #a39f95;
    --line: #2d2b27;
    --accent: #8db0ff;
    --accent-bg: #1c2740;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-feature-settings: "kern", "liga";
}

main, header, footer {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 16px;
}

header { padding-top: 40px; }

nav a { margin-right: 18px; }

.brand {
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

h1 {
  font-size: 2.1rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 1.4em 0 0.4em;
}

h2 {
  font-size: 1.3rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 2.2em 0 0.5em;
}

h3 { font-size: 1.05rem; margin: 1.6em 0 0.3em; }

p, li { max-width: var(--measure); }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }

.lede { font-size: 1.25rem; color: var(--ink-2); margin-top: 0; }

.meta { color: var(--ink-2); font-size: 0.95rem; }

.promise {
  border-left: 3px solid var(--accent);
  background: var(--accent-bg);
  padding: 12px 16px;
  border-radius: 0 10px 10px 0;
  margin: 1.4em 0;
}

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  margin: 1.5em 0;
}

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}

.card h3 { margin-top: 0; }

table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: 0.95rem; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--ink-2); }

footer {
  margin-top: 64px;
  padding-top: 20px;
  padding-bottom: 48px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.9rem;
}

footer a { color: inherit; }

@media (prefers-reduced-motion: no-preference) {
  a { transition: color 120ms ease; }
}
