/* ============================================
   MAGNET STYLE SYSTEM — VERSION 1 (FINAL)
   Author: Shuguang + Copilot
   ============================================ */

/* === BASE TYPOGRAPHY === */
body {
  margin: 0;
  font-family: "Segoe UI", "Inter", sans-serif;
  background-color: #f4faff;
  color: #1b1b1b;
  font-size: 18px;
  line-height: 1.65;
}

/* === HEADER BAND === */
header {
  background: linear-gradient(to right, #0078d4, #00b294);
  color: white;
  padding: 24px 20px;
  text-align: center;
}

header h1 {
  font-size: 2.4em;
  margin: 0;
  letter-spacing: 0.5px;
}

header p {
  font-size: 1.35em; /* Updated for visual balance */
  margin: 8px 0 0 0;
}

header p {
  max-width: 1000px;
  margin: 0 auto;
}

/* === MAIN SECTION === */

/* === HEADERS === */
h2 {
  font-size: 1.9em;
  color: #005a9e;
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* === BULLET SYSTEM === */
ul.solid {
  list-style-type: disc;
  padding-left: 40px;
  color: #0078d4;
  margin-top: 10px;
  margin-bottom: 10px;
}

li {
  margin-bottom: 6px;
}

/* === CALLOUT BOX === */
.callout {
  background-color: #e6f2ff;
  border-left: 5px solid #0078d4;
  padding: 20px;
  margin-top: 24px;
}

/* === EMPHASIS === */
.highlight {
  color: #00b294;
  font-weight: bold;
}

strong {
  font-weight: 600;
}

.nav-links {
  text-align: center;
  margin-top: 0.0rem;     /* Reduced from 3rem */
  margin-bottom: 1rem;    /* Optional: adds breathing room before page end */
  padding: 0;             /* Removed bottom padding */
}

.nav-links + section h2:first-of-type {
  margin-top: 0.0rem; /* Reduced from default spacing */
}

.back-link {
  display: inline-block;
  margin: 0 0.75rem;
  font-size: 0.95rem;
  color: var(--magnet-blue);
  text-decoration: none;
  font-weight: 500;
}

.back-link:hover {
  text-decoration: underline;
}

.nav-links:first-of-type {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

section {
  max-width: 900px;
  margin: 1.2rem auto;
  padding: 0 20px;
}

.grml {
  max-width: 900px;
  margin: 1.2rem auto;
  padding: 0 20px;
}

.disabled-link {
    color: grey;
    cursor: not-allowed;
    text-decoration: none;
}