:root {
  --bg: #f8f6f2;
  --surface: #ffffff;
  --surface-alt: #f1ede6;
  --text: #1c1917;
  --text-muted: #57534e;
  --accent: #b45309;
  --accent-bright: #ef6c00;
  --accent-soft: rgba(239, 108, 0, 0.12);
  --green: #2e7d32;
  --green-soft: rgba(46, 125, 50, 0.12);
  --border: #e7e2d8;
  --radius: 18px;
  --shadow: 0 8px 28px rgba(28, 25, 23, 0.06);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141210;
    --surface: #1e1b18;
    --surface-alt: #28231e;
    --text: #f5f3ef;
    --text-muted: #a8a29e;
    --accent: #f59e0b;
    --accent-bright: #fb923c;
    --accent-soft: rgba(245, 158, 11, 0.16);
    --green: #4ade80;
    --green-soft: rgba(74, 222, 128, 0.14);
    --border: #302a24;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-bright);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  flex-wrap: wrap;
}

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

.brand:hover {
  text-decoration: none;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2d241c, #4a3520);
  font-size: 1.15rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.94rem;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
}

.lang-btn.active {
  background: var(--accent-bright);
  color: #ffffff;
}

.hero {
  padding: 56px 0 36px;
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-soft);
  color: var(--accent-bright);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero p {
  max-width: 640px;
  margin: 0 auto 28px;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-bright);
  color: #ffffff;
}

.btn-primary:hover {
  opacity: 0.92;
  text-decoration: none;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--surface-alt);
  text-decoration: none;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin: 28px 0 48px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.legal-doc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 40px);
  margin: 32px 0 48px;
  box-shadow: var(--shadow);
}

.legal-doc h1 {
  margin: 0 0 6px;
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.legal-doc h2 {
  margin: 26px 0 10px;
  font-size: 1.2rem;
}

.legal-doc p,
.legal-doc li {
  color: var(--text-muted);
  font-size: 0.96rem;
}

.legal-doc ul {
  padding-left: 20px;
}

.callout {
  background: var(--green-soft);
  border-left: 4px solid var(--green);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 18px 0;
  font-size: 0.94rem;
}

.callout-warn {
  background: var(--accent-soft);
  border-left-color: var(--accent-bright);
}

footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
