:root {
  color-scheme: light;
  --bg: #f7f5ef;
  --ink: #17211c;
  --muted: #5e6a63;
  --line: #d8d4c9;
  --panel: #fffdf8;
  --accent: #0f7b6c;
  --accent-ink: #ffffff;
  --soft: #e9f4ef;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

.page {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.brand strong {
  display: block;
  font-size: 18px;
}

.brand span,
.site-footer {
  color: var(--muted);
  font-size: 14px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.nav a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 8px 14px;
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.hero {
  padding: 54px 0 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 16px;
  font-size: clamp(36px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.language-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.language-links a {
  border-radius: 999px;
  background: var(--soft);
  padding: 8px 14px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.section {
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 14px;
  font-size: 28px;
  letter-spacing: 0;
}

.section h3 {
  margin: 28px 0 10px;
  font-size: 20px;
  letter-spacing: 0;
}

.section p,
.section li {
  color: var(--muted);
}

.section ul {
  padding-left: 22px;
}

.callout {
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 18px;
}

.callout p {
  margin: 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.tile {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 18px;
}

.tile h3 {
  margin-top: 0;
}

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

@media (max-width: 760px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero {
    padding: 38px 0 28px;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
