:root {
  --bg: #faf8f5;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6a66;
  --line: #e7e2dc;
  --accent: #7a4f33;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --surface: #1c1c1e;
    --ink: #f2f2f2;
    --muted: #a19c97;
    --line: #2e2c2a;
    --accent: #d9a27c;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
}

a { color: var(--accent); text-underline-offset: 0.18em; }

.wrap { max-width: 44rem; margin: 0 auto; padding: 0 1rem; }

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  text-decoration: none;
  font: 600 1.15rem/1 var(--serif);
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px var(--line);
}

.lang { font-size: 0.9rem; color: var(--muted); }
.lang a { color: var(--muted); }

main { padding: 1rem 0 3rem; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.25; }
h1 { font-size: clamp(2rem, 6vw, 2.6rem); margin: 0.6rem 0 0.2rem; }
h2 { font-size: 1.3rem; margin: 2.2rem 0 0.5rem; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 0.4rem; }

p, ul { margin: 0 0 1rem; }
ul { padding-left: 1.2rem; }
li { margin-bottom: 0.35rem; }

.updated { color: var(--muted); margin-bottom: 2rem; }

.box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
}

.box p:last-child, .box ul:last-child { margin-bottom: 0; }

address { font-style: normal; }

/* Start page */
.hero { text-align: center; padding: 2.5rem 0 1rem; }
.hero img {
  width: 132px;
  height: 132px;
  border-radius: 30px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px var(--line);
}
.hero h1 { font-size: clamp(2.4rem, 8vw, 3.2rem); margin-top: 1.4rem; }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 30rem; margin: 0.4rem auto 1.4rem; }
.pill {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.95rem;
}

.features { display: grid; gap: 0.9rem; margin: 2.5rem 0; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(3, 1fr); } }
.features .box { margin: 0; }
.features h3 { margin-top: 0; }
.features p { color: var(--muted); font-size: 0.97rem; }

footer.site {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}
footer.site nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; margin-bottom: 0.6rem; }
footer.site a { color: var(--muted); }
