/* DataPeep — peepdata.dizipeep.com */

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/lato-latin-400.woff2") format("woff2");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/lato-latin-700.woff2") format("woff2");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("/fonts/lato-latin-900.woff2") format("woff2");
}

:root {
  --bg: #121214;
  --surface: #1b1b1f;
  --border: #2a2a30;
  --fg: #F2E6D0;
  --muted: #8A8A93;
  --accent: #3FC1C9;
  --accent-ink: #0b1a1b;
  --radius: 14px;
  --max: 960px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0) env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0);
}

a { color: var(--accent); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.5em 1em;
  border-radius: 8px;
  font-weight: 700;
  z-index: 10;
}
.skip-link:focus { top: 16px; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.brand svg { width: 40px; height: auto; }
.word-data { color: var(--fg); }
.word-peep { color: var(--accent); }
.site-header nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 16px;
  font-size: 0.95rem;
}
.site-header nav a:hover { color: var(--fg); }

/* Hero */
.hero {
  text-align: center;
  padding: 48px 0 56px;
}
.hero-logo { width: min(220px, 60vw); height: auto; }
.hero h1 {
  font-size: clamp(2.6rem, 11vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 12px 0 8px;
}
.tagline {
  font-size: clamp(1.15rem, 4.5vw, 1.45rem);
  margin: 0 0 8px;
}
.lede {
  color: var(--muted);
  max-width: 34em;
  margin: 0 auto 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
  padding: 0.85em 1.5em;
  border-radius: 999px;
}
.btn:hover { filter: brightness(1.08); }
.btn svg { width: 1.2em; height: 1.2em; }

/* Sections */
section { padding: 40px 0; }
section h2 {
  font-size: 1.6rem;
  font-weight: 900;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

.cards {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.card svg { width: 36px; height: 36px; margin-bottom: 8px; }
.card h3 { margin: 0 0 6px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); }

.note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px;
}
.note p { margin: 0 0 0.6em; }
.note p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }

/* Legal / prose pages */
.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px 56px;
}
.prose a { overflow-wrap: anywhere; }
.prose h1 {
  font-size: clamp(2rem, 8vw, 2.6rem);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 4px;
}
.prose h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2em 0 0.4em;
}
.prose li { margin-bottom: 0.4em; }
.prose .effective { color: var(--muted); margin-top: 0; }

/* 404 */
.not-found {
  text-align: center;
  padding: 56px 20px 72px;
}
.not-found svg { width: 160px; height: auto; }
.not-found h1 { font-size: 2.2rem; font-weight: 900; margin: 8px 0; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 24px;
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.95rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--fg); }
.site-footer p { margin: 0; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
