/* Shared styles for Coreva Queue's legal pages (privacy.php, terms.php).
   Extracted from what used to be two byte-for-byte identical inline <style>
   blocks — keep both pages visually and structurally in sync by editing
   only this file. */

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

:root {
  --navy:      #0F172A;
  --navy-2:    #1E293B;
  --accent:    #2FB7EC;
  --accent-d:  #0284C7;
  --accent-10: rgba(47,183,236,0.10);
  --text-1:    #0F172A;
  --text-2:    #334155;
  --text-3:    #64748B;
  --border:    #E2E8F0;
  --bg:        #F8FAFC;
  --surface:   #FFFFFF;
  --font:      'Inter', -apple-system, sans-serif;
  --radius:    10px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text-1); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }

/* ── Nav ── */
.nav {
  background: var(--navy);
  height: 56px;
  display: flex; align-items: center;
  padding: 0 24px;
  justify-content: space-between;
  position: sticky; top: 0; z-index: 100;
}
.nav__brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700; color: #fff;
}
.nav__brand img { height: 28px; }
.nav__back {
  font-size: 13px; color: rgba(255,255,255,.6);
  transition: color .15s; display: flex; align-items: center; gap: 6px;
}
.nav__back:hover { color: #fff; }
.nav__back svg { width: 14px; height: 14px; }

/* ── Language switcher ── */
.nav__langs { display:flex; align-items:center; gap:4px; }
.nav__lang-btn {
  font-size:12px; font-weight:600; color:rgba(255,255,255,.5);
  padding:3px 8px; border-radius:4px; text-decoration:none;
  transition:color .15s, background .15s;
}
.nav__lang-btn:hover { color:#fff; background:rgba(255,255,255,.1); }
.nav__lang-btn.is-active { color:#fff; background:rgba(255,255,255,.15); }
.nav__lang-sep { color:rgba(255,255,255,.25); font-size:11px; }

/* ── Page wrapper ── */
.page-wrapper {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* ── Header ── */
.page-header {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.page-header h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: -.025em;
  margin-bottom: 8px;
}
.page-header__meta {
  font-size: 13px;
  color: var(--text-3);
}

/* ── Content sections ── */
.section { margin-bottom: 36px; }
.section h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 10px;
}
.section h2 .section-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent-10); color: var(--accent);
  font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.section p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-2);
}
.section a {
  color: var(--accent);
  font-weight: 500;
}
.section a:hover { color: var(--accent-d); text-decoration: underline; }

/* ── Back button ── */
.back-btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 36px;
  padding: 10px 20px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  font-size: 14px; font-weight: 600;
  transition: background .15s;
}
.back-btn:hover { background: var(--navy-2); color: #fff; }

/* ── Footer — shared with signup.php's own equivalent rule ── */
.page-footer {
  border-top: 1px solid var(--border);
  margin-top: 64px;
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
}
.page-footer a { color: var(--text-3); margin: 0 8px; }
.page-footer a:hover { color: var(--accent); }
