:root {
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-border: rgba(255, 255, 255, 0.6);
  --text-primary: #2a3a40;
  --text-secondary: #5a7a85;
  --text-tertiary: #8aa5b0;
  --accent-aqua: #7ec8c8;
  --bg-gradient-1: #e8f0f4;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--text-primary);
  overflow-x: hidden;
  background: var(--bg-gradient-1);
  min-height: 100vh;
}

a {
  color: inherit;
}

.bg-environment {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(160deg, #e8f0f4 0%, #f0e8f2 40%, #e4f2ec 70%, #eef0f8 100%);
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: drift 20s ease-in-out infinite alternate;
}

.bg-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(126, 200, 200, 0.5), transparent 70%);
  top: -10%;
  left: -5%;
  animation-duration: 25s;
}

.bg-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(184, 169, 212, 0.4), transparent 70%);
  top: 40%;
  right: -10%;
  animation-duration: 30s;
  animation-delay: -5s;
}

@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
  100% { transform: translate(15px, -10px) scale(1.02); }
}

.content {
  position: relative;
  z-index: 1;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(232, 240, 244, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-primary);
}

.nav-logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.nav-wordmark {
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
}

.page-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.page-header h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.page-updated {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--text-tertiary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lang-switch {
  display: inline-flex;
  gap: 0.55rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.lang-pill:hover {
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--accent-aqua);
  color: var(--text-primary);
}

.lang-pill.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(126, 200, 200, 0.7);
}

.page-card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.4rem;
}

.page-card + .page-card {
  margin-top: 1.2rem;
}

.info-section + .info-section,
.policy-section + .policy-section {
  margin-top: 2rem;
}

.info-section h2,
.policy-section h2 {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 0.8rem;
}

.info-section p,
.policy-section p,
.policy-section li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.75;
}

.policy-section ul {
  list-style: none;
  margin: 0.55rem 0;
}

.policy-section li {
  position: relative;
  padding-left: 1.2rem;
}

.policy-section li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-aqua);
  opacity: 0.65;
}

.page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.page-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  padding: 0.6rem 1.25rem;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.page-links a:hover {
  background: rgba(255, 255, 255, 0.6);
  border-color: var(--accent-aqua);
  transform: translateY(-1px);
}

.page-note {
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
}

.page-note p {
  font-size: 0.84rem;
  color: var(--text-tertiary);
}

footer {
  padding: 2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  max-width: 1100px;
  margin: 4rem auto 0;
}

.footer-left {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  font-weight: 300;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  nav {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .page {
    padding: 7rem 1.2rem 3rem;
  }

  .page-card {
    padding: 1.7rem;
  }

  footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 2rem 1.5rem;
  }
}
