/* Kibo Garden site. Plain CSS, no external files. Follows the device's light or dark mode. */
:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --surface: #f2f7f3;
  --text: #1a1a1a;
  --muted: #4f5652;
  --green: #17724a;
  --border: #d9e3dc;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1411;
    --surface: #17211b;
    --text: #eef2ef;
    --muted: #b3bdb6;
    --green: #7ad6a2;
    --border: #2a372f;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.1875rem;
  line-height: 1.6;
}

.page {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

header.top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

header.top img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.65rem;
}

header.top a {
  color: var(--text);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

h2 {
  font-size: 1.4rem;
  line-height: 1.3;
  margin: 2rem 0 0.5rem;
  color: var(--green);
}

h3 {
  font-size: 1.2rem;
  line-height: 1.35;
  margin: 1.75rem 0 0.35rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--green);
  text-underline-offset: 0.15em;
}

.updated,
.lead {
  color: var(--muted);
}

.contact {
  background: var(--surface);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.contact p {
  margin: 0;
}

.links {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 0.75rem;
}

.links a {
  display: block;
  background: var(--surface);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  font-weight: 600;
  text-decoration: none;
}

.hero {
  text-align: center;
  padding: 1.5rem 0 0.5rem;
}

.hero img {
  width: 6rem;
  height: 6rem;
  border-radius: 1.4rem;
}

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 1rem;
}

footer a {
  margin-right: 1rem;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  overflow-wrap: anywhere;
}
