/* =============================================================
   RATHILABS — Simple, Text-Based Minimalist Stylesheet
   Zero Framework | Fast | Distraction-Free | System Typography
   ============================================================= */

:root {
  --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  --bg-color: #ffffff;
  --text-color: #111827;
  --text-muted: #4b5563;
  --link-color: #1d4ed8;
  --link-hover: #1e40af;
  --border-color: #e5e7eb;
  --card-bg: #f9fafb;
  --highlight-bg: #eff6ff;
  --highlight-border: #bfdbfe;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #0d1117;
    --text-color: #e6edf3;
    --text-muted: #8b949e;
    --link-color: #58a6ff;
    --link-hover: #79c0ff;
    --border-color: #30363d;
    --card-bg: #161b22;
    --highlight-bg: #1c2128;
    --highlight-border: #388bfd33;
  }
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-system);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--bg-color);
  padding: 3rem 1.5rem 5rem 1.5rem;
  -webkit-font-smoothing: antialiased;
}

.text-container {
  max-width: 760px;
  margin: 0 auto;
}

/* Header */
header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-color);
}

.brand-title {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-color);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.35rem;
}

.brand-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.meta-line {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Headings */
h2 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 2.5rem 0 1rem 0;
  color: var(--text-color);
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.5rem 0 0.4rem 0;
  color: var(--text-color);
}

p {
  margin-bottom: 1.25rem;
}

/* Links */
a {
  color: var(--link-color);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

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

/* Product Spotlight Box */
.product-box {
  background-color: var(--highlight-bg);
  border: 1px solid var(--highlight-border);
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0 2rem 0;
}

.product-box h3 {
  margin-top: 0;
  font-size: 1.25rem;
}

.product-box h3 a {
  text-decoration: none;
}

.product-box h3 a:hover {
  text-decoration: underline;
}

.product-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--link-color);
  color: #ffffff;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.65rem;
}

.product-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
}

/* Lists */
ul {
  margin: 0 0 1.5rem 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

.item-list {
  list-style: none;
  margin-left: 0;
}

.item-list li {
  margin-bottom: 1.25rem;
}

.item-list strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.item-list span {
  color: var(--text-muted);
  font-size: 0.96rem;
}

/* Dividers */
hr {
  border: 0;
  border-top: 1px solid var(--border-color);
  margin: 2.5rem 0;
}

/* Footer */
footer {
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.footer-nav a {
  color: var(--text-muted);
}

.footer-nav a:hover {
  color: var(--link-color);
}
