/* RB Minimal Theme (theme-like but lightweight) */

:root{
  --bg: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --link: #2563eb;
  --border: #e5e7eb;
  --code-bg: #f3f4f6;
}

*{ box-sizing:border-box; }

html, body{
  margin:0;
  padding:0;
  background:var(--bg);
  color:var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  line-height:1.7;
}

main{
  max-width: 820px;
  margin: 0 auto;
  padding: 3.25rem 1.25rem 3rem;
}

header.site-header{
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.site-title{
  font-size: 2rem;
  letter-spacing: 0.02em;
  margin: 0 0 .25rem 0;
  font-weight: 800;
}

.site-title a{
  color: inherit;
  text-decoration: none;
}

.site-subtitle{
  margin: 0.25rem 0 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

nav.site-nav{
  margin-top: 0.75rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

nav.site-nav a{
  color: var(--link);
  text-decoration: none;
  font-weight: 600;
}

nav.site-nav a:hover{
  text-decoration: underline;
}

h1, h2, h3{
  line-height: 1.25;
  margin: 1.75rem 0 .75rem;
}

h1{ font-size: 1.9rem; }
h2{ font-size: 1.4rem; }
h3{ font-size: 1.15rem; }

p, ul, ol{
  margin: 0 0 1rem 0;
}

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

hr{
  border:0;
  border-top:1px solid var(--border);
  margin:2rem 0;
}

pre, code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

code{
  background: var(--code-bg);
  padding: .15rem .35rem;
  border-radius: .35rem;
}

pre{
  background: var(--code-bg);
  padding: 1rem;
  overflow:auto;
  border-radius: .6rem;
  border: 1px solid var(--border);
}

blockquote{
  margin: 1.25rem 0;
  padding: .75rem 1rem;
  border-left: 4px solid var(--border);
  color: var(--muted);
  background: #fafafa;
  border-radius: .35rem;
}

footer.site-footer{
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .95rem;
}
