.legal-page { background: radial-gradient(circle at 10% 5%, rgba(111,94,80,.09), transparent 28rem), var(--paper); }
.legal-page .site-header { position: static; }
.legal-header-link { min-height: 44px; display: inline-flex; align-items: center; color: var(--ink); font-size: 10px; font-weight: 700; letter-spacing: .09em; text-decoration: none; text-transform: uppercase; }
.legal-hero { width: min(820px, calc(100% - 40px)); margin: 0 auto; padding: clamp(72px, 10vw, 128px) 0 clamp(45px, 7vw, 74px); text-align: center; }
.legal-hero .eyebrow { margin-bottom: 16px; }
.legal-hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(58px, 9vw, 100px); font-weight: 400; letter-spacing: -.05em; line-height: .92; }
.legal-hero h1 em { color: var(--brown); font-weight: 400; }
.legal-hero > p:last-child { max-width: 600px; margin: 26px auto 0; color: var(--muted); font-size: 14px; }
.legal-l




/* WEDSMINT PREVIEW MODAL & BADGE STYLING */

.wedsmint-demo-badge {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 9998;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
}

.wedsmint-preview-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
  border: none;
  border-radius: 999px;
  padding: 14px 21px;
  background: #111;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wedsmint-preview-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
}

.wedsmint-cta-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.wedsmint-cta-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.wedsmint-cta-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.wedsmint-cta-card {
  position: relative;
  z-index: 1;
  width: min(390px, 100%);
  padding: 38px 28px 28px;
  border-radius: 22px;
  background: #f8f5ef;
  color: #171717;
  text-align: center;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
  transform: translateY(15px) scale(0.97);
  transition: transform 0.3s ease;
}

.wedsmint-cta-modal.is-open .wedsmint-cta-card {
  transform: translateY(0) scale(1);
}

.wedsmint-cta-close {
  position: absolute;
  top: 12px;
  right: 15px;
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  color: #222;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.wedsmint-cta-eyebrow {
  display: block;
  margin-bottom: 12px;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.wedsmint-cta-card h3 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 500;
}

.wedsmint-cta-card p {
  margin: 0 auto 25px;
  max-width: 310px;
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1.65;
  color: #666;
}

.wedsmint-instagram-btn {
  display: block;
  padding: 14px 20px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.wedsmint-instagram-btn:hover {
  transform: translateY(-1px);
}



/* MOBILE RESPONSIVENESS ENHANCEMENTS */

@media (max-width: 480px) {
  .theme-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  
  .theme-card h3 {
    font-size: 26px !important;
  }
  
  .hero h1 {
    font-size: clamp(42px, 14vw, 62px) !important;
  }
  
  .hero__actions {
    width: 100%;
  }

  .hero__actions .button {
    width: 100%;
    justify-content: center;
  }
  
  .wedsmint-preview-cta {
    bottom: 16px !important;
    right: 16px !important;
    padding: 12px 18px !important;
    font-size: 12px !important;
  }

  .wedsmint-cta-card {
    padding: 30px 20px 22px !important;
  }

  .wedsmint-cta-card h3 {
    font-size: 22px !important;
  }
}



/* ==================== ENHANCED LEGAL PAGES PADDING & LAYOUT ==================== */
.legal-layout {
  width: min(1080px, calc(100% - 48px)) !important;
  margin: 0 auto clamp(50px, 8vw, 100px) !important;
  padding: 0 24px !important;
  display: grid !important;
  grid-template-columns: 260px 1fr !important;
  gap: 40px !important;
  box-sizing: border-box !important;
}

.legal-hero {
  width: min(900px, calc(100% - 48px)) !important;
  margin: 0 auto !important;
  padding: clamp(60px, 8vw, 100px) 24px clamp(35px, 5vw, 60px) !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

.legal-document {
  background: rgba(253, 250, 245, 0.95) !important;
  border: 1px solid rgba(32, 36, 31, 0.14) !important;
  border-radius: 18px !important;
  padding: clamp(28px, 4.5vw, 54px) clamp(24px, 4.5vw, 48px) !important;
  box-shadow: 0 12px 45px rgba(32, 36, 31, 0.04) !important;
  box-sizing: border-box !important;
}

.legal-summary {
  background: rgba(253, 250, 245, 0.95) !important;
  border: 1px solid rgba(32, 36, 31, 0.14) !important;
  border-radius: 18px !important;
  padding: 30px 24px !important;
  height: fit-content !important;
  box-shadow: 0 12px 45px rgba(32, 36, 31, 0.04) !important;
  box-sizing: border-box !important;
}

@media (max-width: 850px) {
  .legal-layout {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    padding: 0 18px !important;
    width: min(1000px, calc(100% - 32px)) !important;
  }

  .legal-hero {
    padding: clamp(48px, 8vw, 70px) 18px clamp(28px, 4vw, 45px) !important;
  }

  .legal-document {
    padding: 28px 20px !important;
  }

  .legal-summary {
    padding: 22px 18px !important;
  }
}
