:root {
  color-scheme: dark;
  --navy: #071425;
  --panel: #0d2137;
  --teal: #26d6c5;
  --sky: #52a8ff;
  --violet: #8b6cff;
  --text: #effbff;
  --muted: #9db7c7;
  --line: rgba(139, 226, 220, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 5%, rgba(112, 79, 235, 0.28), transparent 30%),
    radial-gradient(circle at 4% 36%, rgba(31, 208, 187, 0.14), transparent 28%),
    linear-gradient(150deg, #05111f, #071a2c 52%, #080f25);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
select {
  font: inherit;
}

.legal-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  width: min(1180px, calc(100% - 36px));
  min-height: 82px;
  align-items: center;
  gap: 24px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.legal-brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 11px;
}

.legal-brand > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(128, 241, 230, 0.55);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal), var(--sky) 58%, var(--violet));
  box-shadow: 0 12px 34px rgba(34, 207, 202, 0.2);
  font-size: 13px;
  font-weight: 900;
}

.legal-brand p,
.legal-footer p {
  margin: 0;
}

.legal-brand b,
.legal-brand small {
  display: block;
}

.legal-brand b {
  font-size: 17px;
}

.legal-brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.19em;
}

.legal-header > nav {
  display: flex;
  gap: 22px;
}

.legal-header > nav a {
  color: #bad0dc;
  font-size: 12px;
}

.legal-header > nav a:hover {
  color: var(--teal);
}

.legal-language {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  gap: 7px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.legal-language span {
  color: var(--teal);
}

.legal-language select {
  min-width: 96px;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.legal-language option {
  color: #071425;
  background: #fff;
}

.legal-header + main {
  width: min(1080px, calc(100% - 36px));
  margin: 0 auto;
}

.legal-hero {
  padding: clamp(72px, 10vw, 132px) 0 clamp(54px, 8vw, 94px);
}

.legal-hero > a {
  display: inline-flex;
  margin-bottom: 48px;
  color: #87e9df;
  font-size: 12px;
}

.legal-hero > p {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.23em;
}

.legal-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(44px, 7.6vw, 92px);
  line-height: 0.97;
  letter-spacing: -0.065em;
}

.legal-hero > div {
  max-width: 750px;
  margin-top: 27px;
  color: #aec5d1;
  font-size: clamp(15px, 1.8vw, 19px);
  line-height: 1.72;
}

.legal-sections {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 29px;
  background: linear-gradient(150deg, rgba(16, 41, 64, 0.75), rgba(7, 23, 42, 0.84));
  box-shadow: 0 28px 88px rgba(0, 7, 18, 0.3);
  backdrop-filter: blur(24px);
}

.legal-sections article {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 26px;
  padding: clamp(28px, 5vw, 52px);
  border-bottom: 1px solid var(--line);
}

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

.legal-sections article > span {
  color: rgba(102, 231, 220, 0.54);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.legal-sections h2 {
  margin: -4px 0 17px;
  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: -0.035em;
}

.legal-sections p {
  max-width: 800px;
  margin: 0 0 13px;
  color: #a9c0cd;
  font-size: 14px;
  line-height: 1.78;
}

.legal-sections p:last-child {
  margin-bottom: 0;
}

.legal-sections p a {
  color: #70dfd5;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  width: min(1180px, calc(100% - 36px));
  gap: 20px;
  margin: 70px auto 0;
  padding: 36px 0 42px;
  border-top: 1px solid var(--line);
}

.legal-footer div b,
.legal-footer div span {
  display: block;
}

.legal-footer div span {
  max-width: 540px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}

.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
}

.legal-footer nav a {
  color: #bad0da;
  font-size: 11px;
}

.legal-footer > p {
  grid-column: 1 / -1;
  padding-top: 18px;
  color: rgba(169, 195, 205, 0.5);
  font-size: 10px;
  text-align: center;
}

@media (max-width: 780px) {
  .legal-header {
    grid-template-columns: 1fr auto;
  }

  .legal-header > nav {
    display: none;
  }

  .legal-hero {
    padding-top: 67px;
  }

  .legal-hero > a {
    margin-bottom: 38px;
  }

  .legal-sections article {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .legal-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .legal-footer nav {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .legal-header,
  .legal-header + main,
  .legal-footer {
    width: min(100% - 24px, 1180px);
  }

  .legal-brand p {
    display: none;
  }

  .legal-language {
    padding-right: 7px;
    padding-left: 7px;
  }

  .legal-language select {
    min-width: 86px;
  }

  .legal-hero h1 {
    font-size: 45px;
  }

  .legal-sections {
    border-radius: 22px;
  }

  .legal-sections article {
    padding: 25px 20px;
  }
}

.private-email-button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(84, 224, 211, 0.42);
  border-radius: 12px;
  color: #06252a;
  background: linear-gradient(135deg, #72eadc, #70b8ff);
  box-shadow: 0 10px 28px rgba(20, 166, 170, 0.18);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.private-email-button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.legal-footer nav button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.legal-footer nav button:hover {
  color: #6fe5da;
}

.legal-cookie-consent {
  position: fixed;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 200;
  display: flex;
  width: min(940px, calc(100vw - 44px));
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: auto;
  padding: 17px 18px;
  border: 1px solid rgba(105, 232, 220, 0.46);
  border-radius: 20px;
  color: #efffff;
  background: rgba(5, 23, 40, 0.97);
  box-shadow: 0 24px 70px rgba(0, 8, 22, 0.45);
  backdrop-filter: blur(22px);
}

.legal-cookie-consent b {
  display: block;
  font-size: 14px;
}

.legal-cookie-consent p {
  max-width: 680px;
  margin: 5px 0 0;
  color: rgba(226, 247, 248, 0.76);
  font-size: 11px;
  line-height: 1.55;
}

.legal-cookie-consent > div:last-child {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.legal-cookie-consent button {
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid rgba(110, 234, 222, 0.32);
  border-radius: 11px;
  color: #e8ffff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
}

.legal-cookie-consent button.accept {
  color: #062126;
  background: linear-gradient(135deg, #72ebdd, #70b9ff);
}

@media (max-width: 680px) {
  .legal-cookie-consent {
    align-items: stretch;
    flex-direction: column;
  }

  .legal-cookie-consent > div:last-child button {
    flex: 1;
  }
}

/* SiteRoam v3: room for longer language names */
.legal-language select {
  min-width: 145px;
}

@media (max-width: 480px) {
  .legal-language select {
    min-width: 120px;
  }
}
