/* =========================================================
   PRIVACY POLICY – ALIGN HERO + BODY (FIX MOBILE MISALIGN)
========================================================= */

.policy-page{
  padding: 0 0 clamp(2.25rem, 4vw, 4.5rem);
  color: var(--color-primary);
  font-size: 0.9rem;
  line-height: 1.6;

  /* single source of truth for alignment */
  --policy-max: 760px;
  --policy-gutter: var(--space-sm, 1rem);
}

/* Avoid double-gutters if your layout uses a global .container */
.policy-page .container{
  padding-left: 0;
  padding-right: 0;
}

.policy-page p,
.policy-page li,
.policy-page a,
.policy-page strong,
.policy-page em,
.policy-page h1,
.policy-page h2,
.policy-page h3{
  color: var(--color-primary);
}

/* Shared column rules: SAME for hero + body */
.policy-page .policy-content,
.policy-page .policy-hero-inner{
  max-width: var(--policy-max);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--policy-gutter);
  padding-right: var(--policy-gutter);
  box-sizing: border-box;
}

/* Keep container but control reading width */
.policy-page .policy-content{
  margin-top: -0.5rem;
}

/* =========================================================
   PRIVACY POLICY HERO
========================================================= */

.policy-hero{
  background: linear-gradient(
    to bottom,
    #FFF5F5 0%,
    #FFF5F5 55%,
    #FFFCEF 100%
  );
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
}

.policy-hero::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(43, 15, 71, 0.15),
    transparent
  );
}

.policy-hero-title{
  margin: 0 0 0.6rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 600;
}

.policy-hero-updated{
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.8;
}

/* Intro */
.policy-intro{
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.95;
  max-width: 62ch;
  margin-top: clamp(1.25rem, 2vw, 2rem);
  margin-bottom: clamp(1.25rem, 2vw, 1.75rem);
}

.policy-intro p{
  margin: 0 0 0.6rem;
}

/* =========================================================
   POLICY BODY SPACING
========================================================= */

.policy-body p{
  margin: 0 0 0.75rem;
}

.policy-body ul,
.policy-body ol{
  margin: 0.55rem 0 0.85rem;
}

.policy-body > *:last-child{
  margin-bottom: 0.3rem;
}

.policy-body p:empty{
  display: none;
}

/* Wrapper spacing */
.policy-sections{
  margin-top: 0.6rem;
}

/* SAFETY: cancel global section padding ONLY inside policy */
.policy-page .policy-sections > section,
.policy-page .policy-contact{
  padding: 0;
}

/* =========================================================
   POLICY SECTIONS – RHYTHM
========================================================= */

.policy-page .policy-sections > section.policy-section{
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 199, 217, 0.55);
}

.policy-page .policy-sections > section.policy-section:first-of-type{
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

/* Headings */
.policy-section h2{
  margin: 0 0 0.35rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-size: 1.05rem;
  font-weight: 400;
}

.policy-page h3{
  font-weight: 500;
  font-size: 0.95rem;
  margin: 0.85rem 0 0.4rem;
}

/* Lists + pink bullets */
.policy-page ul,
.policy-page ol{
  margin: 0.6rem 0 1rem;
  padding-left: 1.05rem;
}

.policy-page li{
  margin: 0.25rem 0;
}

.policy-page ul li::marker{
  color: var(--color-blush);
  font-size: 1.05em;
}

/* Links */
.policy-page a{
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

/* =========================================================
   CONTACT PANEL
========================================================= */

.policy-section.policy-contact{
  margin-top: 1.35rem;
  border-top: 0;

  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 199, 217, 0.9);
  border-radius: 14px;
  background: rgba(255, 199, 217, 0.12);
}

.policy-contact h2{
  margin: 0 0 0.5rem;
  font-size: 1rem;
  line-height: 1.2;
}

.policy-contact .policy-body p{
  margin: 0.2rem 0;
  line-height: 1.45;
}

.policy-contact p{
  margin: 0.25rem 0 0;
}

.policy-contact a{
  word-break: break-word;
}

/* Mobile */
@media (max-width: 520px){
  .policy-page .policy-content{
    max-width: 100%;
  }

  .policy-section.policy-contact{
    padding: 0.9rem 1rem;
    border-radius: 12px;
  }
}
