/* blog.sathi.ai — hand-written, no frameworks, no scripts, no analytics.
   Echoes the app's palette: Nepal-flag blue in light, Nepal-flag orange in
   dark (web/src/app/globals.css --primary). Unlisted for now: every page
   carries noindex until the owner announces it. */

:root {
  --paper: #FAFAF8;
  --ink: #1C1B22;
  --muted: #5D5B66;
  --accent: #003893;
  --line: #E3E1DB;
  --card: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #17141D;
    --ink: #EAE8EF;
    --muted: #9C99A6;
    --accent: #FF671F;
    --line: #2C2833;
    --card: #201C28;
  }
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.7 system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
main { max-width: 42rem; margin: 0 auto; padding: 0 1.25rem 4rem; }

header.top {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.6rem 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.wordmark {
  font-family: Charter, Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
}
.wordmark small { color: var(--muted); letter-spacing: 0.08em; }
header.top nav a { color: var(--muted); text-decoration: none; font-size: 0.86rem; }
header.top nav a:hover { color: var(--accent); }

h1 {
  font-family: Charter, Georgia, serif;
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  line-height: 1.2;
  margin: 2.6rem 0 0.4rem;
  letter-spacing: -0.01em;
}
.meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 2rem; }
h2 {
  font-family: Charter, Georgia, serif;
  font-size: 1.3rem;
  margin: 2.2rem 0 0.6rem;
}
p { margin: 0 0 1.1rem; }
a { color: var(--accent); }
strong { font-weight: 650; }
blockquote {
  margin: 1.4rem 0;
  padding: 0.2rem 0 0.2rem 1.1rem;
  border-left: 3px solid var(--accent);
  color: var(--muted);
  font-style: italic;
}
hr { border: 0; border-top: 1px solid var(--line); margin: 2.4rem 0; }

/* index list */
.post { margin: 2rem 0; }
.post a.title {
  font-family: Charter, Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
}
.post a.title:hover { color: var(--accent); }
.post .when { color: var(--muted); font-size: 0.88rem; }
.post p { color: var(--muted); margin-top: 0.35rem; }

footer {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.4rem 1.25rem 2.4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}
footer a { color: var(--muted); }

/* decision-log entries */
.decision {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  margin: 1rem 0;
}
.decision b { font-weight: 650; }
