* {
  box-sizing: border-box;
}

:root {
  --bg: #ffffff;
  --surface: #f7f8f7;
  --text: #1c1f1d;
  --muted: #666d68;
  --line: #e3e7e4;
  --accent: #3b6f52;
  --max: 1040px;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.compact {
  max-width: 760px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .01em;
  margin-right: auto;
}

.brand-mark {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.top-nav a,
.footer-links a {
  text-decoration: none;
  color: var(--muted);
}

.top-nav a:hover,
.footer-links a:hover {
  color: var(--text);
}

.language-switch {
  white-space: nowrap;
  font-size: .9rem;
  color: var(--muted);
}

.language-switch button {
  border: 0;
  background: transparent;
  padding: 4px 5px;
  cursor: pointer;
  font: inherit;
  color: var(--muted);
}

.language-switch button.active {
  color: var(--text);
  font-weight: 700;
}

.hero {
  padding: 110px 0 90px;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .82rem;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: -.055em;
  margin-bottom: 26px;
}

.lead {
  max-width: 720px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--muted);
}

.section {
  padding: 82px 0;
}

.section.alt {
  background: var(--surface);
}

.section h2 {
  font-size: 1.9rem;
  letter-spacing: -.025em;
  margin-bottom: 30px;
}

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

.card {
  display: block;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  background: var(--bg);
  transition: transform .15s ease, border-color .15s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: #c9d2cc;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.site-footer {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  font-size: .9rem;
  color: var(--muted);
}

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

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

.legal-page {
  padding: 80px 0 100px;
}

.legal-page h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 42px;
}

.legal-page h2 {
  font-size: 1.2rem;
  margin-top: 42px;
  margin-bottom: 12px;
}

.legal-page p {
  color: var(--muted);
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 64px;
    flex-wrap: wrap;
    padding: 12px 0;
    gap: 12px 18px;
  }

  .top-nav {
    order: 3;
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
    font-size: .9rem;
  }

  .hero {
    padding: 76px 0 64px;
  }

  .section {
    padding: 62px 0;
  }

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

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
