/* ============================================================
   ParentalPrivacy.com — Global Stylesheet
   Deep Blue Guardian + Swiss Design System
   Phase 2: Stealth Hub (May 2026 – November 2026)
   ============================================================ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

/* ── Design Tokens ── */
:root {
  /* Palette */
  --slate-50:   #f8fafc;
  --slate-100:  #f1f5f9;
  --slate-200:  #e2e8f0;
  --slate-400:  #94a3b8;
  --slate-500:  #64748b;
  --slate-700:  #334155;
  --slate-900:  #0f172a;
  --indigo-50:  #eef2ff;
  --indigo-100: #e0e7ff;
  --indigo-200: #c7d2fe;
  --indigo-600: #4f46e5;
  --indigo-700: #4338ca;
  --emerald-50: #ecfdf5;
  --emerald-600:#059669;
  --white:      #ffffff;

  /* Typography */
  --font-serif: 'Lora', Georgia, serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(15,23,42,0.08);
  --shadow-md:  0 4px 16px rgba(15,23,42,0.10);
  --shadow-lg:  0 20px 48px rgba(15,23,42,0.14);

  /* Spacing */
  --radius:     10px;
  --max-w:      1060px;
  --max-w-text: 680px;
}

/* ── Base ── */
body {
  font-family: var(--font-sans);
  background: var(--slate-50);
  color: var(--slate-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo-600); text-decoration: none; }
a:hover { color: var(--indigo-700); }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--slate-900);
}

/* ── Layout Helpers ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container--text {
  max-width: var(--max-w-text);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,250,252,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  height: 58px;
  display: flex; align-items: center;
}
.nav__inner {
  width: 100%; max-width: var(--max-w);
  margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo {
  font-family: var(--font-serif);
  font-size: 1.05rem; font-weight: 700;
  color: var(--slate-900); text-decoration: none;
  letter-spacing: -0.01em;
}
.nav__logo span { color: var(--indigo-600); }
.nav__cta {
  font-size: 0.8rem; font-weight: 600;
  color: var(--white); background: var(--indigo-600);
  padding: 0.45rem 1.1rem; border-radius: 6px;
  text-decoration: none; transition: background 0.18s;
  letter-spacing: 0.01em;
}
.nav__cta:hover { background: var(--indigo-700); color: var(--white); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; font-family: var(--font-sans);
  font-weight: 600; border: none; cursor: pointer;
  border-radius: 8px; transition: background 0.18s, transform 0.1s;
  text-decoration: none; letter-spacing: 0.01em;
}
.btn:active { transform: scale(0.99); }
.btn--primary {
  background: var(--indigo-600); color: var(--white);
  padding: 0.9rem 1.5rem; font-size: 0.95rem;
}
.btn--primary:hover { background: var(--indigo-700); color: var(--white); }
.btn--outline {
  background: transparent; color: var(--indigo-600);
  border: 1.5px solid var(--indigo-600);
  padding: 0.85rem 1.4rem; font-size: 0.9rem;
}
.btn--outline:hover { background: var(--indigo-50); }
.btn--full { width: 100%; }

/* ── FORM ELEMENTS ── */
.form-field {
  width: 100%; padding: 0.8rem 1rem;
  border: 1.5px solid var(--slate-200);
  border-radius: 8px; font-family: var(--font-sans);
  font-size: 0.9rem; color: var(--slate-900);
  background: var(--white); outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  display: block; margin-bottom: 0.65rem;
}
.form-field:focus {
  border-color: var(--indigo-600);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.12);
}
.form-field::placeholder { color: var(--slate-400); }
.form-field--error { border-color: #ef4444; }

/* Checkbox */
.checkbox-row {
  display: flex; align-items: flex-start; gap: 0.75rem;
  margin-bottom: 1rem;
}
.checkbox-row input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0;
  margin-top: 2px; accent-color: var(--indigo-600);
  cursor: pointer;
}
.checkbox-row label {
  font-size: 0.8rem; color: var(--slate-700);
  line-height: 1.5; cursor: pointer;
}

/* ── BADGES ── */
.badge {
  display: inline-block; font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.2rem 0.65rem; border-radius: 99px;
}
.badge--indigo { background: var(--indigo-100); color: var(--indigo-700); }
.badge--emerald { background: var(--emerald-50); color: var(--emerald-600); }

/* ── FOOTER ── */
.site-footer {
  background: var(--slate-900);
  padding: 2.5rem 1.5rem;
}
.site-footer__inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: flex-start;
  justify-content: space-between; flex-wrap: wrap; gap: 1.5rem;
}
.site-footer__logo {
  font-family: var(--font-serif);
  font-size: 1rem; font-weight: 700; color: var(--white);
}
.site-footer__logo span { color: var(--indigo-200); }
.site-footer__links {
  display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center;
}
.site-footer__links a {
  font-size: 0.78rem; color: var(--slate-500);
  text-decoration: none; transition: color 0.18s;
}
.site-footer__links a:hover { color: var(--slate-400); }
.site-footer__disclaimer {
  width: 100%; padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.7rem; color: var(--slate-700);
  line-height: 1.65;
}

/* ── LEGAL PAGES ── */
.legal-page { padding: 80px 0; }
.legal-page h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 0.5rem;
}
.legal-page .last-updated {
  font-size: 0.78rem; color: var(--slate-500);
  margin-bottom: 2.5rem;
}
.legal-page h2 {
  font-family: var(--font-sans);
  font-size: 1rem; font-weight: 700;
  color: var(--slate-900); margin: 2rem 0 0.5rem;
}
.legal-page p {
  font-size: 0.9rem; color: var(--slate-700);
  line-height: 1.8; margin-bottom: 1rem;
}
.legal-page ul {
  margin: 0.5rem 0 1rem 1.25rem;
}
.legal-page ul li {
  font-size: 0.9rem; color: var(--slate-700);
  line-height: 1.8; margin-bottom: 0.35rem;
}

/* ── ABOUT PAGE ── */
.about-page { padding: 80px 0; }
.about-page .eyebrow {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--indigo-600); margin-bottom: 0.75rem;
}
.about-page h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1.25rem;
}
.about-page p {
  font-size: 1rem; color: var(--slate-700);
  line-height: 1.85; margin-bottom: 1.25rem;
}

/* ── 404 PAGE ── */
.error-page {
  min-height: 70vh; display: flex;
  align-items: center; justify-content: center;
  text-align: center; padding: 4rem 1.5rem;
}
.error-page__code {
  font-family: var(--font-serif);
  font-size: 6rem; font-weight: 700;
  color: var(--indigo-100); line-height: 1;
  margin-bottom: 1rem;
}
.error-page h1 {
  font-size: 1.5rem; margin-bottom: 0.75rem;
}
.error-page p {
  font-size: 0.95rem; color: var(--slate-500);
  margin-bottom: 2rem;
}

/* ── SUCCESS STATE ── */
.success-state {
  display: none; background: var(--emerald-50);
  border: 1.5px solid #6ee7b7; border-radius: 8px;
  padding: 1rem; text-align: center; margin-top: 0.5rem;
}
.success-state__icon { font-size: 1.5rem; margin-bottom: 0.35rem; }
.success-state__text {
  font-size: 0.88rem; font-weight: 600; color: #065f46;
}
.success-state__sub {
  font-size: 0.78rem; color: #047857; margin-top: 0.2rem;
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  padding: 0.85rem 1.5rem;
}
.trust-bar__inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center;
  justify-content: center; flex-wrap: wrap;
  gap: 0.5rem 2rem;
}
.trust-item {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; color: var(--slate-500);
}
.trust-item__check {
  width: 16px; height: 16px;
  background: var(--emerald-50); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; color: var(--emerald-600); flex-shrink: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav__logo { font-size: 0.95rem; }
  .site-footer__inner { flex-direction: column; }
}
