/* Ringmate shared stylesheet — used by index, privacy, terms, support */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #0a0a0a;
  --white: #f5f2ee;
  --cream: #f0ebe3;
  --accent: #e85d2f;
  --accent-dark: #c44820;
  --mid: #2a2a2a;
  --muted: #7a7570;
  --border: #ddd8d0;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 2rem;
  background: rgba(245,242,238,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.logo {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.35rem;
  color: var(--black); text-decoration: none; letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }
nav a.nav-link {
  font-size: 0.88rem; font-weight: 500; color: var(--muted);
  text-decoration: none; margin-left: 1.8rem;
  transition: color 0.2s;
}
nav a.nav-link:hover { color: var(--black); }
.nav-cta {
  margin-left: 1.8rem;
  background: var(--black); color: var(--white) !important;
  padding: 0.5rem 1.2rem; border-radius: 6px;
  font-weight: 600 !important; font-size: 0.85rem !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--accent) !important; color: var(--white) !important; }

/* FOOTER */
footer {
  background: var(--black); color: rgba(255,255,255,0.35);
  padding: 2rem; text-align: center;
  font-size: 0.8rem; border-top: 1px solid rgba(255,255,255,0.06);
}
footer a { color: rgba(255,255,255,0.35); text-decoration: none; margin: 0 0.8rem; }
footer a:hover { color: var(--accent); }

/* BUTTONS */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--accent); color: #fff;
  padding: 0.9rem 2rem; border-radius: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 20px rgba(232,93,47,0.35);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }

/* SECTIONS for legal/support pages */
.page {
  max-width: 800px; margin: 0 auto;
  padding: 9rem 2rem 5rem;
}
.page h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 0.5rem;
}
.page .updated {
  font-size: 0.85rem; color: var(--muted);
  margin-bottom: 3rem;
}
.page h2 {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.02em;
}
.page h3 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 700;
  margin: 1.5rem 0 0.5rem;
}
.page p, .page li {
  font-size: 1rem; line-height: 1.75;
  color: var(--mid); margin-bottom: 1rem;
}
.page ul, .page ol { padding-left: 1.6rem; margin-bottom: 1rem; }
.page a { color: var(--accent); text-decoration: underline; }
.page a:hover { color: var(--accent-dark); }
.page strong { color: var(--black); font-weight: 600; }

/* SUPPORT — contact card */
.support-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem; margin: 2.5rem 0;
}
.support-card {
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.6rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.support-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.support-card .icon {
  width: 42px; height: 42px;
  background: rgba(232,93,47,0.12); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 0.9rem;
}
.support-card h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.05rem; margin-bottom: 0.4rem;
}
.support-card p { font-size: 0.88rem; color: var(--muted); margin-bottom: 0.6rem; }
.support-card a { font-size: 0.88rem; font-weight: 600; }

@media (max-width: 700px) {
  .nav-links { display: none; }
  .page { padding: 7rem 1.2rem 3rem; }
}
