:root {
  color-scheme: dark;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #d9e8ef;
  background: #06131d;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 20rem;
  min-height: 100vh;
  margin: 0;
  background: radial-gradient(circle at 15% 0%, rgb(22 94 109 / 24%), transparent 30rem), #06131d;
}

a {
  color: #70e3ef;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #b0f7ff;
}

a:focus-visible,
select:focus-visible {
  outline: 2px solid #f6bd60;
  outline-offset: 3px;
}

.legal-header,
.legal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 0.9rem max(1rem, calc((100vw - 52rem) / 2));
  border-color: #173447;
  background: rgb(5 22 33 / 90%);
}

.legal-header {
  position: sticky;
  z-index: 1;
  top: 0;
  border-bottom: 1px solid #173447;
  backdrop-filter: blur(0.75rem);
}

.brand {
  color: #f4fbff;
  font-size: 1.05rem;
  font-weight: 750;
  text-decoration: none;
}

.brand span {
  color: #50dce9;
}

.language-control {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #9bb3c0;
  font-size: 0.8rem;
}

select {
  min-height: 2.25rem;
  padding: 0.35rem 1.8rem 0.35rem 0.65rem;
  border: 1px solid #285269;
  border-radius: 0.45rem;
  color: #e4f5fa;
  background: #0b2635;
  font: inherit;
}

main {
  width: min(52rem, calc(100% - 2rem));
  min-height: calc(100vh - 10rem);
  margin: 0 auto;
  padding: 3rem 0 4rem;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: #65d9e6;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2 {
  color: #f4fbff;
  line-height: 1.2;
}

h1 {
  margin: 0 0 2rem;
  font-size: clamp(2rem, 7vw, 3.5rem);
}

h2 {
  margin: 2.2rem 0 0.7rem;
  font-size: 1.15rem;
}

p,
li,
address {
  color: #b9ccd5;
  line-height: 1.7;
}

address {
  font-style: normal;
}

ul {
  padding-left: 1.25rem;
}

.legal-card {
  padding: 1.25rem 1.4rem;
  border: 1px solid #1d4053;
  border-radius: 0.75rem;
  background: rgb(9 34 48 / 76%);
}

.legal-card p:first-child,
.legal-card address:first-child {
  margin-top: 0;
}

.legal-card p:last-child,
.legal-card address:last-child {
  margin-bottom: 0;
}

.legal-footer {
  justify-content: center;
  border-top: 1px solid #173447;
  color: #7894a2;
  font-size: 0.78rem;
}

.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
}

[hidden] {
  display: none !important;
}

@media (max-width: 34rem) {
  .legal-header {
    position: static;
  }

  main {
    padding-top: 2rem;
  }
}
