/* pointy.cloud blog — mellow palette: terracotta, sage, cream, warm ink. */

:root {
  --terracotta: #b3563a;
  --terracotta-deep: #8f4227;
  --sage: #8a9a7b;
  --sage-deep: #6d7c5e;
  --cream: #faf6ef;
  --sand: #f1ebe0;
  --ink: #3b3630;
  --ink-soft: #6b6258;
  --rule: #ddd3c2;
}

* { box-sizing: border-box; }

html { font-size: 18px; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Charter, "Bitstream Charter", Georgia, "Times New Roman", serif;
  line-height: 1.65;
}

.site-header {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 0.75rem;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.site-name {
  color: var(--terracotta);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.site-name:hover { color: var(--terracotta-deep); }

.site-subtitle {
  color: var(--sage-deep);
  font-size: 0.95rem;
  font-style: italic;
}

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
}

h1, h2, h3 {
  color: var(--terracotta);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: 1.8rem; margin: 1.5rem 0 1rem; }
h2 { font-size: 1.35rem; margin: 2.2rem 0 0.8rem; }
h3 { font-size: 1.1rem; margin: 1.8rem 0 0.6rem; }

p { margin: 0.9rem 0; }

a { color: var(--terracotta); }
a:hover { color: var(--terracotta-deep); }
a:visited { color: var(--sage-deep); }

code {
  font-family: "Fira Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.85em;
  background: var(--sand);
  padding: 0.1em 0.3em;
  border-radius: 3px;
}

pre {
  background: var(--sand);
  border-left: 3px solid var(--sage);
  padding: 0.9rem 1.1rem;
  overflow-x: auto;
  border-radius: 0 4px 4px 0;
  line-height: 1.5;
}

pre code {
  background: none;
  padding: 0;
  font-size: 0.82rem;
}

/* Pandoc syntax highlighting classes stay quiet: one warm accent only. */
pre code span.ot, pre code span.kw { color: var(--terracotta-deep); }
pre code span.st, pre code span.vs { color: var(--sage-deep); }
pre code span.co, pre code span.cm { color: var(--ink-soft); font-style: italic; }

blockquote {
  margin: 1.2rem 0;
  padding: 0.2rem 1.1rem;
  border-left: 3px solid var(--terracotta);
  color: var(--ink-soft);
}

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

ul, ol { padding-left: 1.4rem; }
li { margin: 0.35rem 0; }

figure { margin: 1.6rem 0; }

.post-list {
  list-style: none;
  padding-left: 0;
}

.post-list li {
  margin: 0.8rem 0;
  padding-left: 1.1rem;
  border-left: 3px solid var(--sage);
}

.post-list .post-title {
  font-size: 1.1rem;
  text-decoration: none;
}
