/* Shared legal page styles — My Little Circle */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal:       #00a99d;
  --teal-dark:  #006a62;
  --lavender:   #9395d3;
  --mint:       #e0f2f1;
  --on-surface:         #1a1c1e;
  --on-surface-variant: #3c4947;
  --surface:            #f9f9fc;
  --surface-low:        #f3f3f6;
  --surface-highest:    #e2e2e5;
  --outline-variant:    #bbc9c6;
  --inverse-surface:    #2f3133;
  --inverse-on-surface: #f0f0f3;
  --white: #ffffff;
  --r-md: 0.75rem; --r-lg: 1rem; --r-xl: 1.5rem; --r-full: 9999px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  color: var(--on-surface);
  background: var(--surface);
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 64px;
  background: rgba(249,249,252,0.8);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--outline-variant);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo img { width: 34px; height: 34px; border-radius: var(--r-md); }
.nav-logo span { font-weight: 800; font-size: 17px; color: var(--on-surface); letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { color: var(--on-surface-variant); text-decoration: none; font-size: 14px; font-weight: 600; transition: color 0.2s; }
.nav-links a:hover { color: var(--teal-dark); }
.nav-cta {
  background: var(--teal-dark); color: #fff !important;
  padding: 0.5rem 1.25rem; border-radius: var(--r-full);
  box-shadow: 0 2px 12px rgba(0,106,98,0.25); transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--teal) !important; }
@media (max-width: 768px) { nav { padding: 0 20px; } .nav-links { display: none; } }

/* PAGE HERO */
.page-hero {
  padding-top: 64px;
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 60%, var(--lavender) 100%);
  padding-bottom: 56px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.07) 0%, transparent 60%);
}
.page-hero-inner {
  max-width: 800px; margin: 0 auto; padding: 56px 24px 0;
  position: relative; z-index: 1;
}
.page-hero-inner .back {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 13px; font-weight: 600; margin-bottom: 1.5rem;
  transition: color 0.2s;
}
.page-hero-inner .back:hover { color: #fff; }
.page-hero-inner h1 {
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 800;
  letter-spacing: -0.02em; color: #fff; line-height: 1.15; margin-bottom: 0.75rem;
}
.page-hero-inner .meta {
  font-size: 13px; color: rgba(255,255,255,0.65); font-weight: 600;
}

/* CONTENT */
.content-wrap {
  max-width: 800px; margin: 0 auto; padding: 56px 24px 80px;
}

.section-block { margin-bottom: 2.5rem; }

.section-block h2 {
  font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em;
  color: var(--on-surface); margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--mint);
}

.section-block h3 {
  font-size: 1rem; font-weight: 700; color: var(--teal-dark);
  margin: 1.25rem 0 0.5rem;
}

.section-block p {
  font-size: 0.95rem; line-height: 1.75;
  color: var(--on-surface-variant); margin-bottom: 0.75rem;
}

.section-block ul {
  list-style: none; display: flex; flex-direction: column; gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.section-block ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.95rem; line-height: 1.65; color: var(--on-surface-variant);
}
.section-block ul li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); margin-top: 9px; flex-shrink: 0;
}

/* intro box */
.intro-box {
  background: var(--mint); border-radius: var(--r-lg);
  padding: 1.25rem 1.5rem; margin-bottom: 2.5rem;
  border-left: 4px solid var(--teal-dark);
}
.intro-box p { color: var(--on-surface); font-size: 0.95rem; line-height: 1.7; margin: 0; }

/* contact card */
.contact-card {
  background: var(--white); border: 1px solid var(--surface-highest);
  border-radius: var(--r-lg); padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,106,98,0.06); margin-top: 0.75rem;
}
.contact-card a { color: var(--teal-dark); font-weight: 700; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

/* values grid (community guidelines) */
.values-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 540px) { .values-grid { grid-template-columns: 1fr; } }
.value-card {
  background: var(--white); border: 1px solid var(--surface-highest);
  border-radius: var(--r-lg); padding: 1rem 1.25rem;
  box-shadow: 0 2px 8px rgba(0,106,98,0.04);
}
.value-card .icon { font-size: 1.4rem; margin-bottom: 0.4rem; }
.value-card h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.25rem; }
.value-card p { font-size: 0.82rem; color: var(--on-surface-variant); line-height: 1.5; margin: 0; }

/* FOOTER */
footer { background: var(--inverse-surface); padding: 48px 24px 28px; }
.footer-grid {
  max-width: 800px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { font-size: 0.82rem; color: rgba(240,240,243,0.5); line-height: 1.6; margin-top: 0.6rem; max-width: 200px; }
.footer-col h4 { font-weight: 700; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(240,240,243,0.4); margin-bottom: 0.75rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { color: rgba(240,240,243,0.65); text-decoration: none; font-size: 0.82rem; font-weight: 600; transition: color 0.2s; }
.footer-col a:hover { color: #59dacd; }
.footer-bottom {
  max-width: 800px; margin: 1.5rem auto 0;
  padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.07);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.78rem; color: rgba(240,240,243,0.35);
}
