* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #090a0d;
  color: #e5e7eb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: #74d9b5;
  text-decoration: none;
}

a:hover {
  color: #9ff5d1;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.brand span span {
  color: #74d9b5;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: #9ca3af;
  font-size: 0.94rem;
}

.page {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 58px 0 72px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #74d9b5;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.35rem, 6vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.updated {
  margin: 18px 0 42px;
  color: #9ca3af;
}

section {
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1.25;
  letter-spacing: 0;
}

p {
  margin: 0 0 14px;
  color: #c6cad2;
}

ul {
  margin: 0;
  padding-left: 20px;
  color: #c6cad2;
}

li + li {
  margin-top: 8px;
}

.footer-note {
  margin-top: 34px;
  color: #9ca3af;
  font-size: 0.94rem;
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .page {
    padding-top: 42px;
  }
}

/* Custom styled native select for legal page language switching */
.legal-language-select {
  min-height: 28px;
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 6px;
  padding: 2px 24px 2px 8px;
  background: 
    linear-gradient(180deg, rgba(20, 23, 30, 0.92), rgba(10, 11, 14, 0.94)),
    url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%239ca3af' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 8px center / 10px 10px no-repeat;
  color: #f3f4f6;
  font-family: inherit;
  font-size: 0.75rem;
  outline: none;
  appearance: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.legal-language-select:hover {
  border-color: rgba(34, 211, 238, 0.45);
}

.legal-language-select:focus-visible {
  border-color: rgba(34, 211, 238, 0.52);
  box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.12);
}

.legal-language-select option {
  background: #101217;
  color: #f3f4f6;
}
