/* =========================
   1. ROOT (DEFAULT / LIGHT)
   ========================= */
:root {
  --bg: #ffffff;
  --surface: #f7f9fc;
  --border: #e5e7eb;

  --text: #0f172a;
  --muted: #6b7280;

  --accent: #1f3a5f;
  --accent-light: #2f4f75;

  --radius: 14px;
}

/* =========================
   2. DARK MODE (RELO)
   ========================= */
.relo {
  --bg: #0b1220;
  --surface: #111827;
  --border: #1f2937;

  --text: #e5e7eb;
  --muted: #9ca3af;

  --accent: #3b82f6;
  --accent-light: #2563eb;
}

/* =========================
   3. BASE
   ========================= */
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* =========================
   4. NAV
   ========================= */
.nav {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.nav-inner {
  max-width: 960px;
  margin: auto;
  padding: 16px 24px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 36px;
  display: block;
}

.nav-link {
  margin-left: 20px;
  text-decoration: none;
  font-size: 14px;
  color: var(--muted);
  transition: 0.2s ease;
}

.nav-link:hover {
  color: var(--text);
}

/* =========================
   5. LAYOUT
   ========================= */
.container {
  max-width: 960px;
  margin: auto;
  padding: 48px 24px;
}

/* =========================
   6. HERO
   ========================= */
.hero {
  padding: 40px 0 20px;
}

.hero h1 {
  max-width: 680px;
  line-height: 1.2;
}

.hero p {
  max-width: 560px;
  margin-top: 10px;
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* =========================
   7. TYPOGRAPHY
   ========================= */
h1 {
  font-size: 2.4rem;
  margin: 0;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

h3 {
  margin-bottom: 6px;
}

p {
  color: var(--muted);
}

.label {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================
   8. SECTIONS
   ========================= */
section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
}

/* HERO should NOT look like a card */
.hero {
  background: none;
  border: none;
  padding-top: 48px;
}

/* =========================
   9. GRID
   ========================= */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* =========================
   10. BUTTONS
   ========================= */
.btn {
  padding: 12px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: inline-block;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-light);
}

.btn-secondary {
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn-secondary:hover {
  background: var(--accent);
  color: #fff;
}

/* =========================
   11. FORMS
   ========================= */
form input,
form select,
form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 14px;
  background: #fff;
}

/* Dark mode form fix */
.relo form input,
.relo form select,
.relo form textarea {
  background: #0b1220;
  color: #e5e7eb;
}

form button {
  width: 100%;
  padding: 12px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

form button:hover {
  background: var(--accent-light);
}

/* =========================
   12. LISTS
   ========================= */
ul {
  padding-left: 18px;
}

li {
  margin-bottom: 8px;
}

/* =========================
   13. CTA
   ========================= */
.cta {
  text-align: center;
  margin-top: 20px;
}

/* =========================
   14. FOOTER
   ========================= */
footer {
  margin-top: 40px;
  font-size: 12px;
  color: var(--muted);
}

/* =========================
   GLOBAL FOOTER
   ========================= */
.global-footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 24px;
}

.footer-inner {
  max-width: 960px;
  margin: auto;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  font-size: 14px;
}

.footer-links a {
  margin-left: 16px;
  text-decoration: none;
  font-size: 14px;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-note {
  max-width: 960px;
  margin: 12px auto 0;
  font-size: 12px;
  color: var(--muted);
}

/* =========================
   15. RESPONSIVE
   ========================= */
@media (max-width: 700px) {
  .nav-inner {
    flex-direction: column;
    gap: 10px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}