/* Keld Growth holding page. System fonts only. */

:root {
  --bg: #faf7f2;      /* warm off-white */
  --ink: #1f2b24;     /* text: green-charcoal */
  --soft: #4b5750;    /* secondary text */
  --green: #24402f;   /* links, wordmark */
  --accent: #9a5a3c;  /* muted clay */
  --line: #e3dacc;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
}

main {
  max-width: 38rem;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 4.5rem;
}

@media (min-width: 48rem) {
  main { padding: 7rem 2rem 6rem; }
}

h1, h2, .wordmark {
  font-family: var(--serif);
  font-weight: normal;
  line-height: 1.15;
  color: var(--green);
}

h1 { margin: 0 0 0.5em; font-size: 2.25rem; }
h2 { margin: 2em 0 0.5em; font-size: 1.5rem; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.25rem; }
li { margin-bottom: 0.35em; }

a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Wordmark: the big one on the home page, the small one at the top of other pages */

.wordmark {
  display: inline-block;
  margin: 0 0 2rem;
  padding-bottom: 0.9rem;
  border-bottom: 2px solid var(--accent);
  font-size: clamp(2.5rem, 10vw, 3.5rem);
  line-height: 1;
}

.wordmark-small {
  margin-bottom: 3rem;
  padding-bottom: 0.6rem;
  font-size: 1.5rem;
  text-decoration: none;
}

.wordmark-small:hover { color: var(--green); }

/* Home page */

.lede { font-size: clamp(1.25rem, 4vw, 1.4375rem); line-height: 1.5; }

.details {
  margin: 2.5rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.details li { margin-bottom: 0.6em; }

.button {
  display: inline-block;
  margin: 0.4rem 0 0.2rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  background: var(--green);
  color: var(--bg);
  font-weight: 600;
  text-decoration: none;
}

.button:hover { background: #182c20; color: var(--bg); }

/* Text pages */

.updated { color: var(--soft); }
