/* Shared styles for every blog post. Built from the original per-post styles. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root { --black: #0a0a0a; --white: #f5f2ec; --ink: #1a1a1a; --gold: #c9a84c; --gold-light: #e4c97a; --border: rgba(201,168,76,0.2); }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--black); color: var(--white); cursor: none; overflow-x: hidden; }
.cursor { width: 10px; height: 10px; background: var(--gold); border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; mix-blend-mode: difference; }
.cursor-ring { width: 36px; height: 36px; border: 1px solid var(--gold); border-radius: 50%; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; opacity: 0.5; transition: transform 0.3s ease; }
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 1.5rem 3rem; display: flex; justify-content: space-between; align-items: center; background: linear-gradient(to bottom, rgba(10,10,10,0.95), transparent); }
.nav-logo { font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem; letter-spacing: 0.12em; color: var(--white); text-decoration: none; }
.nav-logo span { color: var(--gold); }
.nav-back { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(245,242,236,0.5); text-decoration: none; transition: color 0.2s; }
.nav-back:hover { color: var(--gold); }
.post-hero { padding: 10rem 3rem 5rem; max-width: 820px; margin: 0 auto; }
.post-tag { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.post-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(3rem, 6vw, 6rem); line-height: 1; letter-spacing: 0.02em; color: var(--white); margin-bottom: 1.5rem; }
.post-subtitle { font-family: 'DM Serif Display', serif; font-style: italic; font-size: 1.35rem; color: rgba(245,242,236,0.65); line-height: 1.5; margin-bottom: 2rem; }
.post-meta { display: flex; gap: 1.5rem; font-size: 0.75rem; letter-spacing: 0.1em; color: rgba(245,242,236,0.35); text-transform: uppercase; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.post-body { max-width: 720px; margin: 0 auto; padding: 3rem; }
.post-body h2 { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; letter-spacing: 0.04em; color: var(--white); margin: 3rem 0 1rem; }
.post-body h3 { font-family: 'DM Serif Display', serif; font-size: 1.25rem; color: var(--gold); margin: 2rem 0 0.75rem; }
.post-body p { font-size: 1.05rem; line-height: 1.85; color: rgba(245,242,236,0.75); font-weight: 300; margin-bottom: 1.5rem; }
.post-body strong { color: var(--white); font-weight: 500; }
.post-body a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.callout { padding: 1.75rem 2rem; border-left: 2px solid var(--gold); background: rgba(201,168,76,0.05); margin: 2.5rem 0; }
.callout p { font-family: 'DM Serif Display', serif; font-style: italic; font-size: 1.15rem; color: rgba(245,242,236,0.9); margin: 0; line-height: 1.6; }
.comparison-table { width: 100%; border-collapse: collapse; margin: 2.5rem 0; border: 1px solid var(--border); }
.comparison-table th { background: var(--ink); padding: 0.9rem 1.25rem; text-align: left; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid var(--border); font-weight: 400; }
.comparison-table td { padding: 0.85rem 1.25rem; font-size: 0.9rem; color: rgba(245,242,236,0.7); border-bottom: 1px solid rgba(201,168,76,0.08); font-weight: 300; }
.comparison-table td:first-child { color: rgba(245,242,236,0.5); font-size: 0.82rem; letter-spacing: 0.06em; }
.comparison-table td.good { color: #7ec8a4; }
.comparison-table td.bad { color: #e07070; }
.code-block { background: #111; border: 1px solid var(--border); padding: 1.5rem; margin: 1.5rem 0; border-radius: 4px; font-family: 'Courier New', monospace; font-size: 0.85rem; color: rgba(245,242,236,0.7); line-height: 1.7; overflow-x: auto; white-space: pre; }
.code-block .comment { color: rgba(201,168,76,0.5); }
.code-block .keyword { color: var(--gold); }
.tech-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.5rem 0; }
.tech-tag { padding: 0.35rem 0.85rem; border: 1px solid var(--border); font-size: 0.75rem; letter-spacing: 0.1em; color: rgba(245,242,236,0.6); text-transform: uppercase; }
.post-cta { background: var(--ink); text-align: center; padding: 6rem 3rem; margin-top: 4rem; border-top: 1px solid var(--border); }
.post-cta h2 { font-family: 'Bebas Neue', sans-serif; font-size: 3rem; color: var(--white); margin-bottom: 1rem; }
.post-cta p { color: rgba(245,242,236,0.55); font-size: 1rem; margin-bottom: 2rem; font-weight: 300; line-height: 1.7; max-width: 500px; margin-left: auto; margin-right: auto; }
.btn-primary { display: inline-block; padding: 0.9rem 2rem; background: var(--gold); color: var(--black); text-decoration: none; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; transition: background 0.2s; }
.btn-primary:hover { background: var(--gold-light); }
footer { background: var(--black); border-top: 1px solid var(--border); padding: 2rem 3rem; display: flex; justify-content: space-between; align-items: center; }
footer p { font-size: 0.72rem; color: rgba(245,242,236,0.25); letter-spacing: 0.08em; }
footer a { font-family: 'Bebas Neue', sans-serif; font-size: 1rem; letter-spacing: 0.15em; color: rgba(245,242,236,0.4); text-decoration: none; }
footer a span { color: var(--gold); opacity: 0.7; }
.callout cite { display: block; margin-top: 0.75rem; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-style: normal; font-family: 'DM Sans', sans-serif; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin: 2.5rem 0; }
.stat-cell { background: var(--ink); padding: 1.5rem; }
.stat-cell-val { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; color: var(--gold); letter-spacing: 0.04em; }
.stat-cell-label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(245,242,236,0.4); margin-top: 0.25rem; }
.feature-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); margin: 2.5rem 0; }
.feature-card { background: var(--ink); padding: 2rem 2.25rem; display: grid; grid-template-columns: 3rem 1fr; gap: 1.25rem; align-items: start; transition: background 0.2s; }
.feature-card:hover { background: #1f1f1f; }
.feature-num { font-family: 'Bebas Neue', sans-serif; font-size: 1.5rem; color: rgba(201,168,76,0.3); line-height: 1; padding-top: 0.15rem; }
.feature-name { font-family: 'DM Serif Display', serif; font-size: 1.15rem; color: var(--white); margin-bottom: 0.5rem; }
.feature-desc { font-size: 0.9rem; line-height: 1.7; color: rgba(245,242,236,0.55); font-weight: 300; }
.feature-desc strong { color: rgba(245,242,236,0.85); font-weight: 500; }
.code-block .gold { color: var(--gold); }
.code-block .dim { color: rgba(245,242,236,0.35); }
.tip { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.9rem; background: rgba(201,168,76,0.08); border: 1px solid rgba(201,168,76,0.2); font-size: 0.75rem; letter-spacing: 0.1em; color: var(--gold); text-transform: uppercase; margin-bottom: 1rem; }
.post-body img { width: 100%; max-width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--border); margin: 2rem 0; display: block; }
.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); margin: 2.5rem 0; }
.mode-card { background: var(--ink); padding: 1.75rem; }
.mode-card-label { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.mode-card-name { font-family: 'Bebas Neue', sans-serif; font-size: 1.6rem; letter-spacing: 0.04em; color: var(--white); margin-bottom: 0.75rem; }
.mode-card-desc { font-size: 0.88rem; line-height: 1.65; color: rgba(245,242,236,0.55); font-weight: 300; }
.workflow-steps { margin: 2rem 0; counter-reset: steps; }
.workflow-step { display: flex; gap: 1.5rem; margin-bottom: 2rem; align-items: flex-start; counter-increment: steps; }
.step-num { font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem; color: rgba(201,168,76,0.2); line-height: 1; min-width: 2.5rem; }
.step-content h3 { font-family: 'DM Serif Display', serif; font-size: 1.15rem; color: var(--gold); margin-bottom: 0.5rem; }
.step-content p { font-size: 0.95rem; line-height: 1.75; color: rgba(245,242,236,0.65); font-weight: 300; margin: 0; }
.step-content strong { color: var(--white); font-weight: 500; }
.prompt-block { background: #111; border: 1px solid var(--border); border-left: 2px solid var(--gold); padding: 1.5rem 1.75rem; margin: 1.5rem 0; border-radius: 0 4px 4px 0; }
.prompt-block-label { font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(201,168,76,0.5); margin-bottom: 0.75rem; }
.prompt-block p { font-family: 'Courier New', monospace; font-size: 0.88rem; color: rgba(245,242,236,0.75); line-height: 1.7; margin: 0; font-style: italic; font-weight: 300; }
.dont-list { margin: 1.5rem 0; display: flex; flex-direction: column; gap: 1rem; }
.dont-item { display: flex; gap: 1rem; align-items: flex-start; }
.dont-x { color: #e07070; font-size: 0.9rem; min-width: 1rem; margin-top: 0.2rem; font-weight: 500; }
.dont-text { font-size: 0.95rem; line-height: 1.65; color: rgba(245,242,236,0.65); font-weight: 300; }
.dont-text strong { color: var(--white); font-weight: 500; }
.ascii-diagram { background: #0d0d0d; border: 1px solid var(--border); padding: 1.25rem 1.5rem; margin: 1.25rem 0; border-radius: 4px; font-family: 'Courier New', monospace; font-size: 0.78rem; color: rgba(245,242,236,0.7); line-height: 1.5; overflow-x: auto; white-space: pre; }
.stat-list { margin: 1.5rem 0; padding-left: 1.25rem; }
.stat-list li { margin-bottom: 0.5rem; font-size: 1.05rem; color: rgba(245,242,236,0.75); font-weight: 300; line-height: 1.6; }
.chart-block { background: var(--ink); border: 1px solid var(--border); border-radius: 4px; padding: 1.5rem; margin: 2.5rem 0; }
.chart-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.25rem; }
.chart-title { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(245,242,236,0.4); }
.chart-metrics { display: flex; gap: 2rem; }
.chart-metric-val { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem; color: var(--gold); letter-spacing: 0.04em; line-height: 1; }
.chart-metric-label { font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(245,242,236,0.35); margin-top: 2px; }
.chart-svg-wrap { position: relative; }
.chart-caption { font-size: 0.68rem; color: rgba(245,242,236,0.3); margin-top: 0.75rem; text-align: center; letter-spacing: 0.06em; }
.timeline { margin: 2.5rem 0; border-left: 1px solid var(--border); padding-left: 2rem; display: flex; flex-direction: column; gap: 0; }
.timeline-item { position: relative; padding-bottom: 2rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -2.5rem; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--black); border: 2px solid var(--gold); }
.timeline-dot.filled { background: var(--gold); }
.timeline-date { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem; }
.timeline-event { font-size: 0.95rem; color: rgba(245,242,236,0.8); font-weight: 400; line-height: 1.5; }
.timeline-detail { font-size: 0.85rem; color: rgba(245,242,236,0.45); font-weight: 300; line-height: 1.55; margin-top: 0.3rem; }
.stack-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin: 1.5rem 0; }
.stack-cell { background: var(--ink); padding: 1.25rem 1.5rem; }
.stack-layer { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(245,242,236,0.35); margin-bottom: 0.3rem; }
.stack-tech { font-family: 'DM Serif Display', serif; font-size: 1.1rem; color: var(--white); }
.stack-desc { font-size: 0.78rem; color: rgba(245,242,236,0.45); font-weight: 300; margin-top: 0.2rem; }
.post-body ul:not([class]) { margin: 0 0 1.5rem 1.25rem; padding: 0; }
.post-body ul:not([class]) li { font-size: 1.05rem; line-height: 1.85; color: rgba(245,242,236,0.75); font-weight: 300; margin-bottom: 0.6rem; }
.post-body ul:not([class]) li::marker { color: var(--gold); }
.post-body ol:not([class]) { margin: 0 0 1.5rem 1.25rem; padding: 0; }
.post-body ol:not([class]) li { font-size: 1.05rem; line-height: 1.85; color: rgba(245,242,236,0.75); font-weight: 300; margin-bottom: 0.6rem; }
.post-body ol:not([class]) li::marker { color: var(--gold); }
.stat-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 768px) {
  nav, .post-hero, .post-body { padding-left: 1.5rem; padding-right: 1.5rem; }
  .stat-grid { grid-template-columns: 1fr; }
  .feature-card { grid-template-columns: 1fr; }
  .feature-num { display: none; }
  .mode-grid { grid-template-columns: 1fr; }
  .ascii-diagram { font-size: 0.7rem; }
  .chart-metrics { gap: 1rem; }
  .stack-grid { grid-template-columns: 1fr; }
  .stat-grid.cols-4 { grid-template-columns: 1fr 1fr; }
}
.post-body img.img-phone { max-width: 420px; }
/* Inline code and fenced code blocks written in Markdown */
.post-body code { font-family: 'Courier New', monospace; font-size: 0.9em; color: var(--gold); }
.post-body pre:not([class]) { background: #111; border: 1px solid var(--border); padding: 1.5rem; margin: 1.5rem 0; border-radius: 4px; overflow-x: auto; }
.post-body pre:not([class]) code { color: rgba(245,242,236,0.75); font-size: 0.85rem; line-height: 1.7; }
.post-body blockquote { border-left: 2px solid var(--gold); padding: 0.25rem 0 0.25rem 1.5rem; margin: 2rem 0; }
.post-body blockquote p { font-family: 'DM Serif Display', serif; font-style: italic; font-size: 1.2rem; color: rgba(245,242,236,0.85); }
.post-body hr { border: none; border-top: 1px solid var(--border); margin: 3rem 0; }
/* The 4-column stat grid (bowlingalleys.io) */
.stat-grid.cols-4 .stat-cell-val { line-height: 1; }
.stat-grid.cols-4 .stat-cell-label { font-size: 0.68rem; margin-top: 0.4rem; }
