:root {
  color-scheme: dark;
  --bg: #16120f;
  --surface: #231d18;
  --line: #3a3028;
  --text: #f4ece0;
  --dim: #c8bfb3;
  --accent: #f2a84c;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

main, header, footer {
  width: min(100%, 720px);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

header { padding-top: 28px; }

nav { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; }

.brand { color: var(--text); font-family: Georgia, "Times New Roman", serif; font-size: 20px; font-weight: 700; margin-right: auto; }

main { padding-top: 44px; padding-bottom: 36px; }

h1 { margin: 0 0 12px; font: 700 clamp(32px, 7vw, 44px)/1.12 Georgia, "Times New Roman", serif; }

h2 { margin: 36px 0 8px; font-size: 20px; line-height: 1.3; }

p, ul { margin: 0 0 12px; color: var(--dim); }

ul { padding-left: 22px; }

li { margin-bottom: 6px; }

strong { color: var(--text); font-weight: 600; }

a { color: var(--accent); text-underline-offset: 3px; overflow-wrap: anywhere; }

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

.lead { font-size: 19px; }

.contact { margin: 26px 0 8px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }

.contact p:last-child { margin-bottom: 0; }

footer { padding-top: 18px; padding-bottom: 36px; color: var(--dim); font-size: 14px; }

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