/* === CSS Custom Properties === */
:root {
  --primary: #1e293b;
  --secondary: #334155;
  --accent: #fbbf24;
  --text: #f1f5f9;
  --text-muted: #cbd5e1;
  --text-light: #e2e8f0;
  --card-bg: #222c3a;
  --card-border: #334155;
  --link: #fbbf24;
  --link-hover: #fcd34d;
  --danger: #ef4444;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(30, 41, 59, 0.15);
  --shadow-lg: 0 4px 24px rgba(0, 0, 0, 0.3);
}

/* === Reset & Box-sizing === */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* === Body Defaults === */
body {
  font-family: 'Montserrat', Verdana, Geneva, sans-serif;
  background: var(--primary);
  color: var(--text);
  line-height: 1.6;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  color: var(--accent);
  line-height: 1.3;
  margin-top: 0;
}

h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 1.8rem; font-weight: 700; }
h3 { font-size: 1.4rem; font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 700; }

p {
  margin: 0 0 1rem 0;
}

/* === Links === */
a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.15s;
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

a:visited {
  color: var(--link);
}

/* === Images === */
img {
  max-width: 100%;
  height: auto;
}

/* === Lists === */
ul, ol {
  padding-left: 1.5rem;
}

/* === Horizontal Rule === */
hr {
  border: none;
  border-top: 2px solid var(--secondary);
  margin: 2rem 0;
}

/* === Responsive text === */
@media (max-width: 600px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.15rem; }
  body { font-size: 0.95rem; }
}
