/* =========================================
   SISILY INTERNATIONAL — LEGAL PAGES
   Works together with index.css
   ========================================= */

.legal-page {
  min-height: 100vh;
  padding: 150px 20px 80px;
  position: relative;
  z-index: 2;
}

.legal-shell {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

.legal-hero {
  text-align: center;
  margin: 0 auto 34px;
}

.legal-hero .gold-subtitle {
  margin-bottom: 14px;
}

.legal-hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: 1.04;
  margin: 0 0 18px;
}

.legal-intro {
  max-width: 800px;
  margin: 0 auto;
  color: #ddd4cf;
  font-size: 1.14rem;
  line-height: 1.65;
}

.legal-updated {
  margin-top: 18px;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ad9784;
}

.legal-card {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.035), rgba(0,0,0,0.26)),
    rgba(0,0,0,0.16);
  border: 1px solid rgba(212, 163, 115, 0.28);
  border-radius: 6px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.34);
  padding: clamp(28px, 5vw, 62px);
  position: relative;
  overflow: hidden;
}

.legal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,163,115,.72), transparent);
}

.legal-card section + section {
  margin-top: 38px;
  padding-top: 32px;
  border-top: 1px solid rgba(212,163,115,.14);
}

.legal-card h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  letter-spacing: 1.5px;
  margin: 0 0 16px;
}

.legal-card h3 {
  font-family: var(--font-heading);
  color: #e1b98f;
  text-transform: none;
  letter-spacing: .8px;
  font-size: 1.38rem;
  margin: 24px 0 9px;
}

.legal-card p,
.legal-card li {
  color: #d7d1ce;
  font-size: 1.08rem;
  line-height: 1.75;
}

.legal-card ul,
.legal-card ol {
  padding-left: 1.35rem;
  margin: 12px 0 0;
}

.legal-card li + li {
  margin-top: 8px;
}

.legal-card a {
  color: var(--gold-text);
  text-decoration-color: rgba(212,163,115,.45);
  text-underline-offset: 3px;
}

.legal-card a:hover,
.legal-card a:focus-visible {
  color: #f0c89c;
}

.legal-note {
  margin-top: 26px;
  padding: 18px 20px;
  border-left: 2px solid rgba(212,163,115,.72);
  background: rgba(212,163,115,.055);
}

.deletion-steps {
  counter-reset: deletion-step;
  list-style: none;
  padding: 0 !important;
  margin: 22px 0 0 !important;
}

.deletion-steps li {
  counter-increment: deletion-step;
  position: relative;
  padding: 0 0 20px 56px;
  min-height: 40px;
}

.deletion-steps li::before {
  content: counter(deletion-step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212,163,115,.58);
  border-radius: 50%;
  color: var(--gold-text);
  font-family: var(--font-ui);
  font-size: .8rem;
}

.legal-back {
  margin: 34px auto 0;
  text-align: center;
}

.legal-back a {
  display: inline-block;
  width: auto !important;
  min-width: 240px;
  text-decoration: none;
  color: var(--gold-text) !important;
}

.legal-back a:hover {
  color: var(--bg-burgundy) !important;
}

@media (max-width: 1000px) {
  .legal-page {
    padding: 112px 14px 56px;
  }

  .legal-shell {
    width: 100%;
  }

  .legal-card {
    padding: 26px 20px;
  }

  .legal-card p,
  .legal-card li {
    font-size: 1rem;
    line-height: 1.68;
  }

  .legal-card h2 {
    font-size: 1.7rem;
  }

  .legal-card h3 {
    font-size: 1.22rem;
  }

  .legal-intro {
    font-size: 1.03rem;
  }
}
