/* Shared design tokens + site chrome (header / footer).
   Linked before each page's own stylesheet on default, support,
   privacy and 404. The menu page has its own layout and does not
   use this file. */
:root {
  --cream: #fff7ec;
  --surface: #fffcf7;
  --surface-2: #fff3e3;
  --cream-soft: #ffe9cc;
  --ink: #1f1a14;
  --ink-soft: #4a4036;
  --ink-muted: #8a7f73;
  --maroon: #5e1902;
  --maroon-dark: #3d0e00;
  --green: #58b03a;
  --green-soft: #e8f5e1;
  --border: rgba(31, 26, 20, 0.1);
  --shadow: 0 6px 22px rgba(31, 26, 20, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  line-height: 1.6;
  background-color: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

/* ===== Site header / nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  background-color: rgba(255, 247, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--maroon);
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.site-nav a:hover {
  background-color: var(--surface-2);
  color: var(--maroon);
}

/* ===== Site footer ===== */
.site-footer {
  background-color: var(--maroon);
  color: var(--cream);
  text-align: center;
  padding: 32px 22px;
}

.footer-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cream);
  text-decoration: none;
  opacity: 0.9;
  transition: background-color 0.15s ease, opacity 0.15s ease;
}

.footer-links a:hover {
  background-color: rgba(255, 247, 236, 0.14);
  opacity: 1;
}

.copyright {
  margin: 16px 0 0;
  font-size: 13px;
  color: rgba(255, 247, 236, 0.65);
}

/* ===== Language selector ===== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.lang-select {
  position: relative;
}

.lang-select summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  background-color: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  user-select: none;
}

.lang-select summary::-webkit-details-marker {
  display: none;
}

.lang-select summary svg {
  width: 16px;
  height: 16px;
}

.lang-select[open] summary {
  color: var(--maroon);
  border-color: var(--maroon);
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 150px;
  display: flex;
  flex-direction: column;
  padding: 6px;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  z-index: 40;
}

.lang-option {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}

.lang-option:hover {
  background-color: var(--surface-2);
}

.lang-option.active {
  color: var(--maroon);
  font-weight: 700;
  background-color: var(--cream-soft);
}

@media (max-width: 600px) {
  .site-header {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .site-nav a,
  .lang-select summary {
    padding: 6px 10px;
    font-size: 13px;
  }
}
