/* Kolav static site. No webfonts, no images, no CDN: everything here is
   system fonts and CSS, so the pages work on any static host with no build
   step and no third party request. */

:root {
  --bg: #fbf9f7;
  --surface: #ffffff;
  --ink: #1c1a19;
  --ink-soft: #56504c;
  --ink-faint: #857d78;
  --line: #e7e1dc;
  --accent: #8a5a44;
  --accent-soft: #f3ebe6;
  --radius: 14px;
  --measure: 44rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141312;
    --surface: #1e1c1b;
    --ink: #f2efec;
    --ink-soft: #c3bcb7;
    --ink-faint: #948c87;
    --line: #322e2c;
    --accent: #d9a68a;
    --accent-soft: #2a2320;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", Rubik, Arial, "Helvetica Neue", Helvetica,
    system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.75;
}

.wrap {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 5rem;
}

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

header.site .wrap {
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: baseline;
  justify-content: space-between;
}

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

nav.site a {
  color: var(--ink-soft);
  text-decoration: none;
  margin-inline-end: 1rem;
  font-size: 0.95rem;
}

nav.site a:hover,
nav.site a:focus { color: var(--accent); text-decoration: underline; }

h1 {
  font-size: 2rem;
  line-height: 1.25;
  margin: 0 0 0.35rem;
}

h2 {
  font-size: 1.3rem;
  margin: 2.5rem 0 0.6rem;
  padding-top: 0.4rem;
  border-top: 1px solid var(--line);
}

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

p, ul, ol, table { margin: 0 0 1rem; }

ul, ol { padding-inline-start: 1.35rem; }

li { margin-bottom: 0.35rem; }

a { color: var(--accent); }

.updated {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--ink-faint);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 0.2rem 0.85rem;
  margin-bottom: 1.5rem;
}

.lead { font-size: 1.08rem; color: var(--ink-soft); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  margin: 0 0 1.25rem;
}

.card h3 { margin-top: 0; }

.note {
  border-inline-start: 3px solid var(--accent);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.table-scroll { overflow-x: auto; }

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
  min-width: 30rem;
}

th, td {
  border: 1px solid var(--line);
  padding: 0.5rem 0.7rem;
  text-align: start;
  vertical-align: top;
}

th { background: var(--accent-soft); font-weight: 600; }

.cta {
  display: inline-block;
  background: var(--accent);
  color: var(--surface);
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.65rem 1.6rem;
  margin: 0.4rem 0.6rem 0.4rem 0;
}

.cta:hover, .cta:focus { opacity: 0.88; }

.lang-en {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 3px double var(--line);
}

footer.site {
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-faint);
  font-size: 0.9rem;
}

footer.site .wrap { padding: 1.5rem 1.25rem; }

footer.site a { color: var(--ink-soft); margin-inline-end: 1rem; }

@media (max-width: 30rem) {
  body { font-size: 16px; }
  h1 { font-size: 1.6rem; }
  .wrap { padding: 1.75rem 1rem 3.5rem; }
}
