/* Peplify Legal — shared stylesheet */

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

:root {
  --bg:      #0A0A0F;
  --surface: #111118;
  --border:  rgba(255, 255, 255, 0.08);
  --fg:      #E8E8F0;
  --muted:   #888899;
  --accent:  #00F0FF;
  --max-w:   680px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Header ──────────────────────────────────────────────── */
header {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
}

.wordmark {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: -0.01em;
}

/* ── Main content ────────────────────────────────────────── */
main {
  flex: 1;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.35rem;
}

.meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 2.75rem;
}

/* Legal sections */
.section {
  border-bottom: 1px solid var(--border);
  padding: 1.75rem 0;
}
.section:first-of-type { padding-top: 0; }
.section:last-of-type  { border-bottom: none; }

h2 {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.9rem;
}

p {
  color: rgba(232, 232, 240, 0.85);
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}
p:last-child { margin-bottom: 0; }

/* ── Links ───────────────────────────────────────────────── */
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Footer ──────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
}

footer nav {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

footer nav a {
  font-size: 0.82rem;
  color: var(--muted);
}
footer nav a:hover { color: var(--fg); }

footer p {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
}

/* ── Index card grid ─────────────────────────────────────── */
.hero {
  margin-bottom: 2.5rem;
}
.hero p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  text-decoration: none;
  display: block;
  transition: border-color 0.15s, background 0.15s;
}
.card:hover {
  border-color: rgba(0, 240, 255, 0.3);
  background: rgba(0, 240, 255, 0.03);
  text-decoration: none;
}

.card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.card h2 {
  font-size: 1rem;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 0.3rem;
  color: var(--fg);
}

.card p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
}

/* ── Support page ────────────────────────────────────────── */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  margin: 0.5rem 0 2.5rem;
}

.contact-card h2 {
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.contact-card a {
  font-size: 0.95rem;
}

.faq-list { list-style: none; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.faq-item:last-child { border-bottom: none; padding-bottom: 0; }

.faq-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.45rem;
}

.faq-item p {
  font-size: 0.9rem;
  margin: 0;
}

.disclaimer-box {
  background: rgba(0, 240, 255, 0.04);
  border: 1px solid rgba(0, 240, 255, 0.14);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-top: 2.5rem;
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 480px) {
  h1 { font-size: 1.6rem; }
  main { padding: 2rem 1.25rem 4rem; }
  .card-grid { grid-template-columns: 1fr; }
}
