:root {
  --bone:      #F7F6F2;
  --paper:     #FFFFFF;
  --ink:       #131312;
  --ink-2:     #2B2A26;
  --ink-deep:  #0B0B0A;
  --sage:      #5E7355;
  --sage-deep: #43543C;
  --sage-bg:   #EEF1E6;
  --sub:       #7A7A72;
  --rule:      #E4E1D8;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bone); }
body {
  background: var(--bone);
  color: var(--ink);
  font-family: 'Geist', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.45;
}
::selection { background: var(--sage); color: #fff; }
a { color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,246,242,0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(228,225,216,0.7);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.brand-name { font-size: 17px; font-weight: 600; letter-spacing: -0.018em; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  text-decoration: none; color: var(--sub);
  font-size: 14px; font-weight: 500;
  letter-spacing: -0.005em;
  padding: 8px 12px; white-space: nowrap;
}
.nav-link:hover { color: var(--ink); }
.lang-select {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--sage-deep);
  background: var(--sage-bg);
  border: 0;
  border-radius: 999px;
  padding: 8px 28px 8px 12px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2343543C' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.lang-select:hover { color: var(--ink); }
.lang-select:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 22px; border-radius: 14px;
  background: var(--ink); color: #fff;
  font-family: inherit; font-weight: 600; font-size: 15px;
  letter-spacing: -0.005em;
  text-decoration: none; border: 0; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 8px 20px -10px rgba(0,0,0,0.4);
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 14px 28px -12px rgba(0,0,0,0.5);
}
.btn .arr { opacity: .55; font-size: 13px; font-weight: 500; margin-left: 4px; }
.btn-ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--rule);
}
.btn-ghost:hover { background: rgba(0,0,0,0.03); transform: none; }
.btn-small { padding: 10px 16px; font-size: 13px; border-radius: 999px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sage-bg); color: var(--sage-deep);
  padding: 6px 12px; border-radius: 999px;
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, monospace;
  font-size: 11px; letter-spacing: 0.06em; font-weight: 600;
  margin-bottom: 22px;
}
.pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sage); display: inline-block;
  flex-shrink: 0;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink-deep);
  color: rgba(247,246,242,0.5);
  padding: 36px 0 48px;
  border-top: 1px solid rgba(247,246,242,0.08);
}
.footer-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 18px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-name { font-size: 13px; letter-spacing: -0.005em; white-space: nowrap; }
.footer-links { display: flex; gap: 22px; font-size: 13px; }
.footer-links a { color: inherit; text-decoration: none; }
.footer-links a:hover { color: var(--bone); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

@media (max-width: 640px) {
  .container { padding: 0 22px; }
  .nav-row { padding: 12px 22px; }
  .hide-mobile { display: none; }
  .footer-row {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .footer-links { justify-content: center; }
}
