:root {
  color-scheme: light dark;
  --canvas: #fcf9f4;
  --surface: #fff8f0;
  --ink: #171512;
  --muted: #716c65;
  --accent: #b9825a;
  --hairline: #e8ded2;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", sans-serif;
  line-height: 1.72;
}

main {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 96px;
}

header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--hairline);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-weight: 700;
}

.mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff8f0;
  font-family: Georgia, serif;
}

h1 {
  margin: 32px 0 8px;
  font-size: clamp(34px, 7vw, 52px);
  line-height: 1.12;
  letter-spacing: -.035em;
}

h2 { margin: 44px 0 10px; font-size: 22px; line-height: 1.3; }
p, li { font-size: 16px; }
.meta, .muted { color: var(--muted); }
a { color: #8d5f40; text-underline-offset: 3px; }
.language { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--hairline); }
.contact {
  margin-top: 36px;
  padding: 20px 22px;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: var(--surface);
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #151412;
    --surface: #1e1b18;
    --ink: #f5efe7;
    --muted: #b9b0a6;
    --accent: #d3a077;
    --hairline: #37312b;
  }
  a { color: #f1d1b5; }
}

