/* =========================================
   PRIVACY POLICY – THEITALIANPOETRY
   Clean • Readable • GDPR Friendly
========================================= */

/* ---------- RESET ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(135deg, #f5fff9, #e9fbf1);
  color: #1f2f24;
  line-height: 1.7;
}

/* ---------- LAYOUT ---------- */
.privacy-container {
  max-width: 860px;
  margin: 4rem auto;
  padding: 3rem clamp(1.5rem, 4vw, 3rem);
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 
    0 18px 40px rgba(79, 190, 127, 0.18),
    inset 0 0 0 1px rgba(79, 190, 127, 0.12);
  border: 1px solid rgba(79, 190, 127, 0.22);
}

/* ---------- TITLES ---------- */
.privacy-container h1 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: #2f7d5c;
  margin-bottom: 0.5rem;
  letter-spacing: 0.3px;
}

.privacy-container h2 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  color: #3aa06b;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  position: relative;
}

.privacy-container h2::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  background: linear-gradient(180deg, #4fbe7f, #9ce5c1);
  border-radius: 4px;
}

/* ---------- TEXT ---------- */
.privacy-container p {
  margin: 0.75rem 0 1.1rem;
  font-size: 1.02rem;
  color: #1f2f24;
}

.privacy-container strong {
  color: #2f7d5c;
  font-weight: 700;
}

/* ---------- LISTS ---------- */
.privacy-container ul {
  margin: 1rem 0 1.5rem 1.2rem;
  padding: 0;
}

.privacy-container li {
  margin-bottom: 0.6rem;
  padding-left: 0.4rem;
}

/* ---------- LINKS ---------- */
.privacy-container a {
  color: #3aa06b;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dashed rgba(58, 160, 107, 0.5);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.privacy-container a:hover {
  color: #2f7d5c;
  border-bottom-color: #2f7d5c;
}

/* ---------- META INFO ---------- */
.privacy-meta {
  font-size: 0.9rem;
  color: #4d6254;
  margin-bottom: 2rem;
}

/* ---------- FOOTER NOTE ---------- */
.privacy-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px dashed rgba(79, 190, 127, 0.35);
  font-size: 0.95rem;
  color: #4d6254;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 640px) {
  .privacy-container {
    margin: 2.5rem 1rem;
    padding: 2rem 1.5rem;
    border-radius: 18px;
  }

  .privacy-container h1 {
    text-align: center;
  }
}

/* ---------- PRINT ---------- */
@media print {
  body {
    background: #fff;
  }

  .privacy-container {
    box-shadow: none;
    border: none;
    padding: 0;
    margin: 0;
  }

  a {
    color: #000;
    border: none;
  }
}
