/* ===== Skuppy Wuppies — legal.css =====
   Shared stylesheet for privacy.html and terms-of-service.html */

.legal-page {
  background-color: #0D1015;
  color: #E6EEF2;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

.legal-page * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.legal-page a {
  color: #22D3EE;
  text-decoration: none;
}

.legal-page a:hover {
  color: #A5F3FC;
  text-decoration: underline;
}

/* Scope isolation — keep legal content sections transparent */
.legal-page .legal-content section {
  background-color: transparent !important;
}

/* ============ LEGAL HEADER (div/header, NOT section) ============ */
.legal-header {
  background: linear-gradient(180deg, #082F3A 0%, #0A0D11 100%);
  border-bottom: 3px solid #22D3EE;
  padding: 34px 0 30px;
}

.legal-header .wrap {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-header .brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.legal-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-brand .paw-mini {
  position: relative;
  width: 28px;
  height: 25px;
  flex: none;
}

.legal-brand .paw-mini .pad {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 13px;
  background: #22D3EE;
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
}

.legal-brand .paw-mini .toe {
  position: absolute;
  width: 8px;
  height: 10px;
  background: #06B6D4;
  border-radius: 50%;
}

.legal-brand .paw-mini .toe-1 { left: 0; top: 3px; }
.legal-brand .paw-mini .toe-2 { left: 6px; top: 0; }
.legal-brand .paw-mini .toe-3 { right: 6px; top: 0; }
.legal-brand .paw-mini .toe-4 { right: 0; top: 3px; }

.legal-brand span {
  font-weight: 700;
  font-size: 1.05rem;
  color: #E6EEF2;
}

.back-home {
  font-weight: 600;
  color: #22D3EE;
}

.legal-header h1 {
  color: #A5F3FC;
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

.legal-header .legal-meta {
  color: #B8C7D1;
  font-size: 0.95rem;
}

/* ============ LAYOUT ============ */
.legal-layout {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 24px 0;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
}

/* Table of contents */
.legal-page .toc {
  align-self: start;
  position: sticky;
  top: 24px;
  background-color: #0A0D11;
  border: 1px solid #14202B;
  border-radius: 14px;
  padding: 20px;
}

.legal-page .toc h2 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #22D3EE;
  margin-bottom: 12px;
}

.legal-page .toc ol {
  list-style: none;
}

.legal-page .toc li {
  margin-bottom: 8px;
}

.legal-page .toc a {
  color: #B8C7D1;
  font-size: 0.9rem;
}

.legal-page .toc a:hover {
  color: #A5F3FC;
}

/* Content */
.legal-content {
  min-width: 0;
}

.legal-page .legal-content section {
  margin-bottom: 40px;
  padding-bottom: 8px;
  border-bottom: 1px solid #14202B;
}

.legal-page .legal-content h2 {
  color: #67E8F9;
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.legal-page .legal-content h3 {
  color: #A5F3FC;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 18px 0 10px;
}

.legal-page .legal-content p {
  color: #C9D6DE;
  margin-bottom: 14px;
}

.legal-page .legal-content ul {
  margin: 0 0 16px 22px;
  color: #C9D6DE;
}

.legal-page .legal-content li {
  margin-bottom: 6px;
}

/* ============ LEGAL FOOTER ============ */
.legal-footer {
  border-top: 3px solid #22D3EE;
  background-color: #0A0D11;
  margin-top: 24px;
  padding: 32px 0;
}

.legal-footer .wrap {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.legal-footer p {
  color: #B8C7D1;
  font-size: 0.9rem;
}

.legal-footer .footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.legal-footer .footer-links a {
  color: #B8C7D1;
  font-size: 0.9rem;
}

.legal-footer .footer-links a:hover {
  color: #22D3EE;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 800px) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-page .toc {
    position: static;
  }

  .legal-header h1 {
    font-size: 1.7rem;
  }
}
