:root {
  color-scheme: light;
  --ink: #111718;
  --muted: #526063;
  --paper: #f5f3ee;
  --surface: rgba(255, 255, 255, 0.92);
  --line: rgba(17, 23, 24, 0.16);
  --gold: #b88a39;
  --teal: #1b7d83;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #0e2428;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(120deg, rgba(8, 28, 32, 0.7), rgba(8, 28, 32, 0.24)),
    url("/assets/hero-slides/executive-support-09.webp") center / cover fixed;
}

a {
  color: inherit;
}

.legal-shell {
  display: grid;
  min-height: 100vh;
  grid-template-rows: auto 1fr auto;
}

.legal-header,
.legal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 72px);
  color: #fff;
  background: rgba(4, 13, 15, 0.78);
  backdrop-filter: blur(14px);
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.legal-brand__mark {
  display: grid;
  width: 46px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(224, 183, 99, 0.68);
  border-radius: 50%;
  color: #f0cf8d;
  font-family: Georgia, serif;
  font-size: 20px;
}

.legal-brand strong,
.legal-brand span {
  display: block;
}

.legal-brand span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.legal-language {
  display: inline-flex;
  gap: 6px;
}

.legal-language a {
  display: grid;
  width: 40px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.legal-language a[aria-current="page"] {
  border-color: #f0cf8d;
  color: #f0cf8d;
}

.legal-main {
  display: grid;
  place-items: center;
  padding: clamp(44px, 8vw, 110px) 20px;
}

.legal-card {
  width: min(860px, 100%);
  padding: clamp(30px, 6vw, 76px);
  border-top: 5px solid var(--gold);
  background: var(--surface);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(20px);
}

.legal-eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 8vw, 86px);
  font-weight: 400;
  line-height: 0.96;
}

.legal-intro {
  max-width: 640px;
  margin: 24px 0 42px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.legal-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.legal-details > div {
  min-height: 170px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.86);
}

.legal-details dt {
  margin-bottom: 13px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.legal-details dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}

.legal-domains {
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-domains a {
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}

.legal-footer {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.legal-footer a {
  color: #f0cf8d;
}

[data-language-content][hidden] {
  display: none;
}

@media (max-width: 680px) {
  body {
    background-attachment: scroll;
  }

  .legal-header,
  .legal-footer {
    align-items: flex-start;
  }

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

  .legal-details > div {
    min-height: 0;
  }
}
