--accent: #2f6f73;        /* muted teal */
--accent-hover: #24565a;  /* darker teal */
--accent-bg: #e6f1f2;     /* very soft teal background */


:root{
  --bg: #ffffff;
  --text: #111111;
  --muted: #555555;
  --link: #0b57d0;
  --border: #e6e6e6;
  --maxw: 62ch;

  /* accent colors */
  --accent: #2f6f73;
  --accent-hover: #24565a;
  --accent-bg: #e6f1f2;
}


@media (prefers-color-scheme: dark){
  :root{
    --bg: #0f1115;
    --text: #e8e8e8;
    --muted: #b2b2b2;
    --link: #7ab7ff;
    --border: #2a2f3a;

    --accent: #7fbfc4;
    --accent-hover: #9ad4d9;
    --accent-bg: #1a2f33;
  }
}


*{ box-sizing: border-box; }

html, body{
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 ui-serif, Georgia, "Times New Roman", Times, serif;
}

a{ color: var(--link); text-decoration: underline; }
a:hover{ text-decoration-thickness: 2px; }

.wrap{
  max-width: 62ch;      
  margin: 0 auto;
  padding: 3rem 1rem 3.5rem;
  text-align: left;   }

.site-title{
  text-align: center;
  margin: 0 0 1rem;
}

nav ul{
  justify-content: center; /* centers the nav buttons */
}
.site-title{
  font: 700 1.6rem/1.2 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin: 0 0 0.75rem;
  letter-spacing: 0.2px;
}

nav{
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

nav ul{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  padding: 0;
  margin: 0;
}
nav a{
  color: var(--accent);
  text-decoration: none;
  padding: 0.25rem 0.45rem;
  border-radius: 4px;
  transition: background 0.15s ease, color 0.15s ease;
}

nav a:hover{
  background: var(--accent-bg);
  color: var(--accent-hover);
}

nav a[aria-current="page"]{
  background: var(--accent-bg);
  font-weight: 600;
}


h1, h2, h3{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.25;
}

h2{ margin-top: 2rem; }

hr{
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

.footer{
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.footer-banner{
  margin-top: 0.75rem;
}

.footer-banner img{
  max-width: 100%;
  height: auto;
  display: block;
}

.badge{
  height: 28px;
  width: auto;
  image-rendering: crisp-edges;
}

.small{
  font-size: 0.95rem;
  color: var(--muted);
}
.centered{
  display: flex;
  justify-content: center;
}

.ascii-bird{
  margin-top: 0.75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  line-height: 1.1;
  color: var(--muted);
  text-align: center;
}

.ascii-bird:hover{
  color: var(--text);
}

.post{
  padding: 0.75rem 0;
  border-bottom: 1px dashed var(--border);
}

.post:last-of-type{
  border-bottom: 0;
}

ul, ol{
  list-style-position: inside;
  padding-left: 0;
  margin-left: 0;
}

.content{
  text-align: left;
}

.content pre,
.content code{
  text-align: left;   /* code should stay left-aligned */
}

p{
  margin-left: auto;
  margin-right: auto;
}
