body.legal-static-shell {
  min-height: 100vh;
  margin: 0;
  background-color: #fffaf0;
  background-image: radial-gradient(rgba(200, 162, 97, 0.35) 1px, transparent 1px);
  background-size: 24px 24px;
  color: #2b2554;
}

.legal-static-shell .global-navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  min-height: 84px;
  margin: 0;
  padding: 14px 32px;
  border-bottom: 1px solid rgba(200, 162, 97, 0.25);
  background: rgba(255, 250, 240, 0.9);
  backdrop-filter: blur(12px);
}

.legal-static-shell .logo-text a {
  gap: 10px;
}

.legal-static-shell .navbar-ganesha {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.legal-static-shell .nav-auth {
  min-width: 54px;
  justify-content: flex-end;
}

.legal-static-shell .profile-avatar-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(43, 37, 84, 0.08);
  border-radius: 999px;
  background: #fff;
  color: #2b2554;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(43, 37, 84, 0.1);
}

.legal-page {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
  padding: 20px 0 0;
}

.legal-hero {
  border-bottom: 1px solid rgba(200, 162, 97, 0.25);
  margin-bottom: clamp(28px, 5vw, 56px);
  padding: clamp(26px, 5vw, 56px) 0 clamp(24px, 4vw, 40px);
}

.legal-eyebrow {
  color: #b23b33;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.legal-page h1 {
  color: #21174e;
  max-width: 820px;
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 850;
  line-height: 0.95;
  margin: 0 0 22px;
}

.legal-page h2 {
  color: #21174e;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 850;
  line-height: 1.2;
  margin: 0 0 12px;
}

.legal-page p {
  max-width: 820px;
  color: #70664f;
  font-size: 1rem;
  line-height: 1.7;
}

.legal-updated {
  margin-top: 18px;
  font-size: 0.92rem;
  font-weight: 750;
}

.legal-document-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.legal-document {
  display: grid;
}

.legal-policy-nav {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 10px;
  border-left: 2px solid rgba(200, 162, 97, 0.45);
  padding-left: 18px;
}

.legal-policy-nav span {
  color: #b23b33;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.legal-policy-nav a {
  display: block;
  min-height: auto;
  padding: 4px 0;
  color: #665e4a;
  font-weight: 750;
  line-height: 1.35;
  text-decoration: none;
}

.legal-policy-nav a:hover,
.legal-policy-nav a.active,
.legal-contact-link:hover {
  color: #b23b33;
}

.legal-section {
  border-top: 1px solid rgba(200, 162, 97, 0.25);
  padding: 30px 0;
}

.legal-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.legal-section p + p {
  margin-top: 12px;
}

.legal-contact-panel {
  border-top: 1px solid rgba(200, 162, 97, 0.25);
  padding-top: 28px;
  margin-top: 12px;
}

.legal-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 18px;
}

.legal-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #21174e;
  font-weight: 800;
  text-decoration: none;
}

.legal-contact-link svg {
  flex: 0 0 18px;
}

.legal-section--contact {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #21174e;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(112, 102, 79, 0.26);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.78);
  color: #21174e;
  font: inherit;
  padding: 12px 14px;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  border: 0;
  border-radius: 6px;
  background: #241955;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  padding: 13px 20px;
}

.contact-form-note {
  margin: 0;
  max-width: 520px;
}

.legal-static-shell .app-footer {
  width: 100%;
  margin: 64px 0 0;
  background-color: rgb(241, 217, 161);
  color: rgb(51, 51, 44);
}

.legal-static-shell .footer-grid {
  max-width: 1200px;
  margin: 0 auto;
}

.legal-static-shell .footer-col h3 {
  color: #21174e;
}

.legal-static-shell .quick-links-list a,
.legal-static-shell .social-icon,
.legal-static-shell .logo-text-top,
.legal-static-shell .logo-text-bottom,
.legal-static-shell .community-text {
  color: rgb(71, 65, 50);
}

.legal-static-shell .footer-bottom {
  text-align: center;
}

@media (max-width: 900px) {
  .legal-document-layout,
  .legal-section--contact {
    grid-template-columns: 1fr;
  }

  .legal-policy-nav {
    position: static;
    border-left: 0;
    border-bottom: 1px solid rgba(200, 162, 97, 0.25);
    padding: 0 0 18px;
  }
}

@media (max-width: 680px) {
  .legal-static-shell .global-navbar {
    min-height: 64px;
    padding: 8px 12px;
  }

  .legal-static-shell .nav-links {
    display: none;
  }

  .legal-static-shell .navbar-ganesha {
    width: 38px;
    height: 38px;
  }

  .legal-page {
    width: min(100% - 24px, 1180px);
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .legal-page h1 {
    font-size: clamp(2rem, 14vw, 3rem);
  }
}
