:root {
  color-scheme: dark;
  --background: #111411;
  --surface: #1e241b;
  --line: #414b3b;
  --text: #f0f3e9;
  --muted: #c0c8b8;
  --accent: #c6f65b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: system-ui, "Hiragino Sans", sans-serif;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.shell {
  max-width: 48rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

header { border-bottom: 1px solid var(--line); }

header .shell, footer .shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 1.5rem;
  padding-block: 1rem;
}

nav { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }

a { color: var(--accent); text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: .25rem; }

.brand {
  display: inline-flex;
  gap: .55rem;
  align-items: center;
  color: var(--text);
  font-weight: 850;
  letter-spacing: .09em;
  text-decoration: none;
}

.brand img {
  border-radius: .5rem;
  border: 1px solid var(--line);
}

main { padding-block: clamp(2rem, 7vw, 4rem); }
h1, h2 { line-height: 1.35; }
h1 { margin: 0; font-size: clamp(1.85rem, 5vw, 2.65rem); }
h2 { margin: 0; font-size: 1.25rem; }
p { margin-block: .65rem 0; }
.intro, footer { color: var(--muted); }

section {
  margin-top: 1.25rem;
  padding: clamp(1rem, 4vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
}

footer { border-top: 1px solid var(--line); }
