:root {
  --ink: #17211d;
  --muted: #627069;
  --paper: #f7f3ea;
  --surface: #ffffff;
  --surface-soft: #eef4ee;
  --line: #d7ddd5;
  --accent: #0f7c70;
  --accent-strong: #0a514c;
  --warm: #d75e38;
  --sun: #f0c84b;
  --blue: #2f67b1;
  --shadow: 0 20px 50px rgba(18, 31, 28, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: linear-gradient(180deg, #fbf8ef 0%, var(--paper) 42%, #e8f0ec 100%);
  font-family: "Aptos", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

.shell {
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
}

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

.site-header {
  min-height: 78px;
  padding-block: 18px 12px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 22px 36px;
  color: var(--muted);
}

.site-footer a {
  color: var(--accent-strong);
  font-weight: 800;
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 23px;
  font-weight: 900;
  text-decoration: none;
}

.language-list {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.language-link {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.language-link.is-active {
  color: var(--surface);
  background: var(--ink);
  border-color: var(--ink);
}

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

  .language-list {
    justify-content: flex-start;
  }
}
