/* Positura — legal pages */

:root {
  --primary: #00639a;
  --background: #f9f9fe;
  --card: #ffffff;
  --text: #1a1c1f;
  --text-secondary: #404750;
  --separator: rgba(26, 28, 31, 0.08);
  --max-width: 42rem;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  background: var(--background);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(249, 249, 254, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--separator);
}

.legal-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 52rem;
  margin: 0 auto;
  padding: 0.875rem 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  color: var(--primary);
  text-decoration: none;
}

.logo-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.625rem;
  flex-shrink: 0;
  overflow: hidden;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.logo:hover {
  text-decoration: none;
}

.legal-back {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.legal-main {
  max-width: 52rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 4rem;
}

.legal-card {
  max-width: var(--max-width);
  background: var(--card);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 8px 24px rgba(26, 28, 31, 0.06);
}

.legal-card h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.legal-meta {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--separator);
}

.legal-card h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 1.75rem 0 0.75rem;
}

.legal-card p,
.legal-card li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.legal-card ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}
