/* ── Relffits Shared Styles ─────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, sans-serif;
  background: #0a0a0a;
  color: #fff;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ── Nav ───────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #fff;
}
.nav-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.nav-brand span {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.nav-links a {
  color: #737373;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-links a:hover { color: #10b981; }
.nav-links a.active { color: #10b981; }

/* ── Page Container ────────────────────────────────────────── */
.page {
  max-width: 680px;
  margin: 0 auto;
  padding: 5rem 1.25rem 3rem;
}

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: #171717;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1rem;
  padding: 1.25rem;
}

/* ── Section Headers ───────────────────────────────────────── */
.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #10b981;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

/* ── Typography ────────────────────────────────────────────── */
h1 {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}
h2 {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #e5e5e5;
  margin-bottom: 0.4rem;
}
.accent { color: #10b981; }
.text-muted { color: #737373; }
.text-dim { color: #404040; }

p.body-text {
  color: #a3a3a3;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: #10b981;
  color: #fff;
}
.btn-primary:hover { background: #059669; }
.btn-secondary {
  background: #171717;
  color: #a3a3a3;
  border: 1px solid #262626;
}
.btn-secondary:hover { border-color: #404040; }
.btn-danger {
  background: #ef4444;
  color: #fff;
}
.btn-danger:hover { background: #dc2626; }
.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

/* ── Form Inputs ───────────────────────────────────────────── */
.input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #171717;
  border: 1px solid #262626;
  border-radius: 10px;
  color: #fff;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.input::placeholder { color: #525252; }
.input:focus { border-color: #10b981; }

textarea.input {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* ── Tags ──────────────────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #10b981;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  max-width: 680px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  color: #404040;
  font-size: 0.75rem;
}
.footer a { color: #525252; text-decoration: none; }
.footer a:hover { color: #10b981; }

/* ── Grid ──────────────────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ── Utility ───────────────────────────────────────────────── */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.hidden { display: none; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 480px) {
  .grid-2 { grid-template-columns: 1fr; }
  h1 { font-size: 2rem; }
  .nav-links a { font-size: 0.7rem; }
  .nav-links { gap: 0.75rem; }
}
