:root {
  color-scheme: light dark;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #eef2f8;
  --text: #172033;
  --muted: #5c667a;
  --line: #dce2ec;
  --accent: #596b20;
  --accent-strong: #3e4c12;
  --accent-soft: #eef2dc;
  --shadow: 0 18px 50px rgba(31, 45, 78, 0.1);
  --radius: 20px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(160, 174, 76, 0.2), transparent 34rem),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

a:hover {
  color: var(--accent-strong);
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: blur(14px);
}

.header-inner,
.page,
.footer-inner {
  width: min(100% - 2rem, 960px);
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-logo {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  filter: drop-shadow(0 5px 10px rgba(54, 67, 20, 0.2));
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem 1rem;
  font-size: 0.94rem;
}

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

.top-nav a:hover {
  color: var(--accent);
}

.page {
  padding-block: 3.5rem 5rem;
}

.hero {
  padding: clamp(2rem, 7vw, 5.3rem) 0 3rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2.25rem, 8vw, 4.7rem);
}

.legal-title {
  max-width: none;
  font-size: clamp(2.15rem, 6vw, 3.9rem);
}

.lead {
  max-width: 64ch;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 3vw, 1.25rem);
}

.hero-visual {
  overflow: hidden;
  margin: 2.5rem 0 0;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  border-radius: 28px;
  background: #273215;
  box-shadow: 0 25px 70px rgba(48, 58, 22, 0.2);
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.25rem;
}

.card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--text);
  text-decoration: none;
}

.card:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  color: var(--text);
  transform: translateY(-2px);
}

.card h2 {
  margin: 0.8rem 0 0.45rem;
  font-size: 1.2rem;
}

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

.card .arrow {
  margin-top: auto;
  padding-top: 1.1rem;
  color: var(--accent);
  font-weight: 700;
}

.card.is-muted {
  box-shadow: none;
  opacity: 0.75;
}

.language-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 2rem 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.language-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.language-switch {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.3rem;
  border-radius: 12px;
  background: var(--surface-soft);
}

.language-switch button {
  padding: 0.52rem 0.8rem;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.language-switch button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--accent);
  box-shadow: 0 2px 8px rgba(31, 45, 78, 0.12);
}

.legal-content {
  padding: clamp(1.25rem, 5vw, 2.6rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.legal-content h2 {
  margin: 2.4rem 0 0.8rem;
  padding-top: 0.2rem;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  margin: 1.65rem 0 0.5rem;
  font-size: 1.08rem;
}

.legal-content p,
.legal-content ul {
  margin-top: 0.6rem;
}

.legal-content li + li {
  margin-top: 0.35rem;
}

.address {
  font-style: normal;
}

.note {
  margin: 1.5rem 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: var(--accent-soft);
}

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

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 80px;
}

.footer-links {
  display: flex;
  gap: 1rem;
}

[hidden] {
  display: none !important;
}

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

  .header-inner,
  .footer-inner {
    padding-block: 1rem;
  }

  .top-nav {
    justify-content: flex-start;
  }

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

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1420;
    --surface: #171d2a;
    --surface-soft: #202839;
    --text: #edf1fb;
    --muted: #aeb8cc;
    --line: #30394c;
    --accent: #c0cf75;
    --accent-strong: #dce5aa;
    --accent-soft: #293319;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
  }
}

@media print {
  .site-header,
  .site-footer,
  .language-toolbar {
    display: none;
  }

  body,
  .legal-content {
    background: #fff;
    color: #000;
    box-shadow: none;
  }

  .page {
    width: 100%;
    padding: 0;
  }
}
