:root {
  color: #1b2a4a;
  background: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
}

main {
  min-height: 100vh;
}

section {
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 24px 88px;
}

.logo img {
  display: block;
  width: auto;
  height: 40px;
}

.legal-header {
  display: flex;
  align-items: center;
}

.legal-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
}

.page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.page-nav a {
  color: #64748b;
  font-size: 15px;
  text-decoration: none;
}

.page-nav a:hover {
  text-decoration: underline;
}

.intro {
  max-width: 816px;
  margin-top: 48px;
}

.language-control {
  display: inline-flex;
  align-items: center;
  margin: 0;
  color: #64748b;
  font-size: 15px;
  font-weight: 600;
}

.language-control select {
  min-height: 40px;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  background: #ffffff;
  color: #1b2a4a;
  font: inherit;
  padding: 8px 36px 8px 14px;
}

.content {
  margin-top: 56px;
}

.locale-block {
  display: none;
  border-top: 1px solid #e5e7eb;
  padding-top: 42px;
}

html[data-kipo-locale="en"] .locale-block[data-locale="en"],
html[data-kipo-locale="pt"] .locale-block[data-locale="pt"] {
  display: block;
}

article + article {
  margin-top: 34px;
}

h1 {
  margin: 0;
  color: #1b2a4a;
  font-size: clamp(40px, 6vw, 56px);
  line-height: 1.05;
  font-weight: 600;
}

h2 {
  margin: 0;
  color: #1b2a4a;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 600;
}

h3 {
  margin: 0;
  color: #1b2a4a;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
}

p,
li {
  color: #64748b;
  font-size: 18px;
  line-height: 1.7;
}

p {
  margin: 18px 0 0;
}

ul {
  margin: 18px 0 0;
  padding-left: 28px;
}

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

a {
  color: #06c975;
}

.meta {
  color: #94a3b8;
  font-size: 16px;
}

.card {
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 24px;
}

@media (max-width: 640px) {
  section {
    padding: 32px 20px 72px;
  }

  .legal-nav-row {
    align-items: flex-start;
    flex-direction: column-reverse;
  }

  .intro {
    margin-top: 36px;
  }
}
