:root {
  --bg-1: #f6f2e9;
  --bg-2: #efe5d4;
  --ink: #1f1e1b;
  --muted: #5f5b54;
  --card: rgba(255, 251, 244, 0.85);
  --line: rgba(31, 30, 27, 0.14);
  --accent: #be5a2f;
  --accent-2: #1f7a6d;
  --shadow: 0 22px 45px rgba(15, 15, 15, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(190, 90, 47, 0.18), transparent 28%),
    radial-gradient(circle at 90% 16%, rgba(31, 122, 109, 0.18), transparent 26%),
    linear-gradient(160deg, var(--bg-1), var(--bg-2));
  min-height: 100vh;
  line-height: 1.65;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

.orb-1 {
  width: 280px;
  height: 280px;
  background: #d38f5a;
  left: -80px;
  top: 260px;
  animation: drift 16s ease-in-out infinite;
}

.orb-2 {
  width: 340px;
  height: 340px;
  background: #68b3a8;
  right: -120px;
  top: 80px;
  animation: drift 19s ease-in-out infinite reverse;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(31, 30, 27, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31, 30, 27, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  z-index: 0;
  pointer-events: none;
}

.policy-wrap {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 2rem));
  margin: 2rem auto 3rem;
}

.hero {
  background: linear-gradient(130deg, rgba(255, 250, 242, 0.92), rgba(249, 238, 216, 0.92));
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 2rem clamp(1.2rem, 2.2vw, 2.3rem);
  box-shadow: var(--shadow);
  animation: rise 0.7s ease;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--accent-2);
  font-size: 0.8rem;
}

h1,
h2,
h3 {
  font-family: "Merriweather", Georgia, serif;
}

h1 {
  margin: 0.25rem 0 0;
  font-size: clamp(2rem, 4.8vw, 3rem);
  line-height: 1.15;
}

.subtitle {
  margin: 0.45rem 0 0;
  color: var(--accent);
  font-weight: 700;
}

.language-switcher {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}

.lang-link {
  display: inline-block;
  text-decoration: none;
  color: var(--muted);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.lang-link:hover {
  color: var(--ink);
  background: rgba(190, 90, 47, 0.12);
}

.lang-link.active {
  color: #fff;
  background: linear-gradient(120deg, var(--accent), #d67247);
}

.meta-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.intro {
  margin: 1.1rem 0 0;
  max-width: 70ch;
}

.card {
  margin-top: 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem clamp(1rem, 2vw, 1.6rem);
  box-shadow: 0 12px 28px rgba(15, 15, 15, 0.08);
  backdrop-filter: blur(2px);
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.55s ease forwards;
}

.card:nth-of-type(2) { animation-delay: 80ms; }
.card:nth-of-type(3) { animation-delay: 140ms; }
.card:nth-of-type(4) { animation-delay: 200ms; }
.card:nth-of-type(5) { animation-delay: 260ms; }
.card:nth-of-type(6) { animation-delay: 320ms; }
.card:nth-of-type(7) { animation-delay: 380ms; }
.card:nth-of-type(8) { animation-delay: 440ms; }
.card:nth-of-type(9) { animation-delay: 500ms; }
.card:nth-of-type(10) { animation-delay: 560ms; }
.card:nth-of-type(11) { animation-delay: 620ms; }
.card:nth-of-type(12) { animation-delay: 680ms; }
.card:nth-of-type(13) { animation-delay: 740ms; }
.card:nth-of-type(14) { animation-delay: 800ms; }

h2 {
  margin: 0;
  font-size: clamp(1.1rem, 2.8vw, 1.45rem);
}

h3 {
  margin: 1rem 0 0.35rem;
  font-size: 1.02rem;
  color: var(--accent-2);
}

p,
ul {
  margin: 0.6rem 0 0;
}

ul {
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.3rem;
}

.contact-box {
  border: 1px dashed rgba(31, 30, 27, 0.28);
  background: rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  padding: 0.9rem 1rem;
}

.footnote {
  color: #7d7266;
  font-size: 0.9rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-16px) translateX(10px);
  }
}

@media (max-width: 600px) {
  .policy-wrap {
    width: calc(100% - 1rem);
    margin-top: 0.75rem;
  }

  .hero,
  .card {
    border-radius: 14px;
  }

  .meta-row {
    gap: 0.4rem 0.9rem;
    font-size: 0.88rem;
  }

  .language-switcher {
    width: 100%;
    justify-content: space-between;
  }
}
