:root {
  --bg-brand: #ff6565;
  --white: #ffffff;
  --black: #1a1a1e;
  --muted: #71717a;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.15);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-brand);
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  min-height: 100vh;
  padding: max(24px, env(safe-area-inset-top)) 20px max(32px, env(safe-area-inset-bottom));
}

.page {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.site-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.back-link {
  align-self: flex-start;
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.back-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.logo-pin {
  width: 64px;
  height: auto;
  margin-top: 4px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.brand-name {
  font-family: 'Fredoka', sans-serif;
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1;
}

.brand-tagline {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.95;
}

.card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.legal-card {
  padding: 28px 24px 32px;
}

.legal-content {
  color: var(--black);
  text-align: left;
  line-height: 1.6;
}

.legal-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
  line-height: 1.2;
}

.legal-meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

.legal-content h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--black);
  margin-top: 28px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.legal-content p,
.legal-content li {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}

.legal-content ul {
  margin: 0 0 16px 20px;
}

.legal-content strong {
  color: var(--black);
  font-weight: 600;
}

.legal-content a {
  color: var(--bg-brand);
  font-weight: 600;
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  margin-top: 4px;
}

.footer-link {
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-links-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
