
:root {
  --bg: #f7f4ef;
  --surface: #fffdf9;
  --text: #2f3b35;
  --muted: #68746e;
  --accent: #7b927f;
  --accent-dark: #50665a;
  --border: rgba(80, 102, 90, 0.18);
  --shadow: 0 20px 60px rgba(47, 59, 53, 0.10);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(123, 146, 127, .13), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
}

a { color: var(--accent-dark); }

a:hover { opacity: .8; }

.legal-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 244, 239, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.legal-header__inner,
.legal-main,
.legal-footer__inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.legal-header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.legal-logo {
  color: var(--text);
  text-decoration: none;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 600;
}

.legal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-btn,
.home-btn {
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 8px 14px;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lang-btn.is-active {
  background: var(--accent-dark);
  color: #fff;
  border-color: var(--accent-dark);
}

.legal-main {
  padding: 76px 0 90px;
}

.legal-hero {
  max-width: 820px;
  margin-bottom: 38px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .76rem;
  font-weight: 600;
}

h1, h2 {
  font-family: "Cormorant Garamond", serif;
  line-height: 1.14;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2.65rem, 7vw, 5rem);
  font-weight: 600;
}

.lead {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
}

.updated {
  margin-top: 18px;
  color: var(--muted);
  font-size: .9rem;
}

.legal-card {
  background: rgba(255, 253, 249, .94);
  border: 1px solid var(--border);
  border-radius: 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.legal-section {
  padding: 34px clamp(24px, 5vw, 58px);
  border-bottom: 1px solid var(--border);
}

.legal-section:last-child { border-bottom: 0; }

.legal-section h2 {
  margin: 0 0 14px;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 600;
}

.legal-section p {
  margin: 0 0 12px;
}

.legal-section p:last-child,
.legal-section ul:last-child {
  margin-bottom: 0;
}

.legal-section ul {
  margin: 10px 0 18px;
  padding-left: 22px;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  font-size: .94rem;
}

.cookie-table th,
.cookie-table td {
  text-align: left;
  vertical-align: top;
  padding: 14px;
  border-bottom: 1px solid var(--border);
}

.cookie-table th {
  color: var(--accent-dark);
  font-weight: 600;
}

.note {
  margin-top: 18px;
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  background: rgba(123, 146, 127, .09);
  border-radius: 0 12px 12px 0;
}

.legal-footer {
  border-top: 1px solid var(--border);
}

.legal-footer__inner {
  min-height: 110px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: .92rem;
}

.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

[hidden] { display: none !important; }

@media (max-width: 680px) {
  .legal-header__inner {
    min-height: 70px;
  }

  .home-btn {
    display: none;
  }

  .legal-main {
    padding-top: 48px;
  }

  .cookie-table,
  .cookie-table tbody,
  .cookie-table tr,
  .cookie-table td {
    display: block;
    width: 100%;
  }

  .cookie-table thead { display: none; }

  .cookie-table tr {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .cookie-table td {
    border: 0;
    padding: 5px 0;
  }

  .cookie-table td::before {
    content: attr(data-label);
    display: block;
    color: var(--accent-dark);
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
  }
}
