@charset "UTF-8";
/* ──────────────────────────────────────────────────────────────────────────
   Reset + base typography
   ────────────────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #ffffff;
  --fg: #1a1a1a;
  --muted: #6b6b6b;
  --link: #0a55c4;
  --link-hover: #003a8c;
  --border: #e6e6e6;
  --code-bg: #f5f5f5;
  --tag-bg: #efefef;
  --tag-fg: #333333;
  --accent: #0a55c4;
  --max-width: 720px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e10;
    --fg: #e8e8e8;
    --muted: #999;
    --link: #7aa9ff;
    --link-hover: #aac8ff;
    --border: #2a2a2a;
    --code-bg: #1a1a1a;
    --tag-bg: #1f1f22;
    --tag-fg: #ccc;
    --accent: #7aa9ff;
  }
}
html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ──────────────────────────────────────────────────────────────────────────
   Typography
   ────────────────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  line-height: 1.25;
  margin: 1.8em 0 0.6em;
  font-weight: 700;
}

h1 {
  font-size: 2rem;
  margin-top: 0.4em;
}

h2 {
  font-size: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.3em;
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1.1em;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
}

.muted {
  color: var(--muted);
}

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

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

/* ──────────────────────────────────────────────────────────────────────────
   Code
   ────────────────────────────────────────────────────────────────────────── */
code, pre, kbd {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
}

code {
  background: var(--code-bg);
  padding: 0.15em 0.4em;
  border-radius: 4px;
}

pre {
  background: var(--code-bg);
  padding: 1rem 1.1rem;
  border-radius: 6px;
  overflow-x: auto;
  line-height: 1.5;
}

pre code {
  background: transparent;
  padding: 0;
}

/* ──────────────────────────────────────────────────────────────────────────
   Tables
   ────────────────────────────────────────────────────────────────────────── */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.95em;
}

th, td {
  text-align: left;
  padding: 0.6em 0.8em;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  background: var(--code-bg);
  font-weight: 600;
}

/* ──────────────────────────────────────────────────────────────────────────
   Header / Footer
   ────────────────────────────────────────────────────────────────────────── */
.site-header {
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
  margin-bottom: 2.5rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-title {
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  font-size: 1.05rem;
}

.site-header nav {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.site-header nav a {
  color: var(--fg);
  text-decoration: none;
  font-size: 0.95rem;
}

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

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 4rem;
  padding: 1.5rem 0;
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0.3em 0;
}

/* ──────────────────────────────────────────────────────────────────────────
   Hero / sections
   ────────────────────────────────────────────────────────────────────────── */
.hero {
  margin: 1rem 0 3rem;
}

.hero h1 {
  font-size: 2.3rem;
}

.btn {
  display: inline-block;
  padding: 0.55em 1.1em;
  background: var(--accent);
  color: #fff !important;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn:hover {
  background: var(--link-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--accent) !important;
  border: 1px solid var(--accent);
}

/* ──────────────────────────────────────────────────────────────────────────
   Cards (projects grid)
   ────────────────────────────────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  margin: 1.5rem 0;
}

.card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
}

.card h3 {
  margin: 0 0 0.4em;
}

.card h3 a {
  text-decoration: none;
}

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

/* ──────────────────────────────────────────────────────────────────────────
   Post list
   ────────────────────────────────────────────────────────────────────────── */
.post-list {
  list-style: none;
  padding: 0;
}

.post-list li {
  margin: 0 0 2rem;
}

.post-list h2 {
  margin: 0 0 0.3em;
  font-size: 1.3rem;
  border: none;
  padding: 0;
}

.post-list h2 a {
  color: var(--fg);
  text-decoration: none;
}

.post-list h2 a:hover {
  color: var(--link);
}

.post-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0.2em 0 0.6em;
}

.tag {
  display: inline-block;
  background: var(--tag-bg);
  color: var(--tag-fg);
  padding: 0.1em 0.55em;
  border-radius: 999px;
  font-size: 0.8rem;
  margin-right: 0.3em;
}

/* ──────────────────────────────────────────────────────────────────────────
   Post / project article
   ────────────────────────────────────────────────────────────────────────── */
.post-header {
  margin-bottom: 2rem;
}

.post-content blockquote {
  border-left: 3px solid var(--border);
  padding: 0.4em 1em;
  color: var(--muted);
  margin: 1.2em 0;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.repo-cta {
  background: var(--code-bg);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.2rem;
  margin: 2rem 0;
  border-radius: 0 6px 6px 0;
}

.repo-cta h3 {
  margin-top: 0;
}

.post-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* ──────────────────────────────────────────────────────────────────────────
   Accessibility
   ────────────────────────────────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/*# sourceMappingURL=main.css.map */