:root {
  --ink: #303a37;
  --brand: #4b5653;
  --muted: #68726f;
  --paper: #fff;
  --cream: #f6f4ef;
  --mist: #e2e9ee;
  --rose: #ef6a86;
  --line: rgba(48, 58, 55, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.container {
  width: min(980px, calc(100% - 40px));
  margin-inline: auto;
}

.legal-header {
  border-bottom: 1px solid var(--line);
  background: rgba(246, 244, 239, 0.94);
}

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

.legal-logo {
  display: block;
  width: 124px;
  height: auto;
  mix-blend-mode: multiply;
}

.home-link {
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.home-link:hover {
  color: var(--rose);
}

.legal-hero {
  padding: 76px 0 42px;
}

.legal-kicker {
  margin: 0 0 14px;
  color: var(--rose);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.05em;
}

.last-updated {
  color: var(--muted);
  font-size: 14px;
}

.legal-card {
  margin-bottom: 72px;
  padding: clamp(28px, 6vw, 62px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(47, 58, 55, 0.09);
}

.legal-card section + section {
  margin-top: 38px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 13px;
  font-size: 21px;
  line-height: 1.3;
}

p,
li,
td,
th {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding-left: 22px;
}

.legal-card a {
  color: var(--ink);
  font-weight: 750;
}

.cookie-table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

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

th {
  color: var(--ink);
  background: var(--mist);
  font-size: 13px;
}

.settings-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 12px;
  padding: 0 20px;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.settings-button:hover {
  background: var(--rose);
}

.legal-footer {
  padding: 28px 0 34px;
  border-top: 1px solid var(--line);
}

.legal-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 980px);
  }

  .legal-header__inner {
    min-height: 68px;
  }

  .legal-logo {
    width: 108px;
  }

  .legal-hero {
    padding: 54px 0 30px;
  }

  .legal-card {
    margin-bottom: 52px;
    border-radius: 22px;
  }

  .legal-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
