/* SimFixr website — base styles, built on tokens.css */

/* ===== RESET ===== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: var(--on-accent); }
a { text-decoration: none; color: inherit; }

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

/* ===== PULSE DOT ===== */
@keyframes sf-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.pulse-dot {
  width: 6px; height: 6px; border-radius: 50%;
  display: inline-block;
  animation: sf-pulse 2.2s ease-in-out infinite;
}
.pulse-dot--green { background: var(--sf-green); }
.pulse-dot--gray { background: var(--sf-gray-500); animation: none; }

/* ===== UTILITY BAR ===== */
.utility-bar {
  width: 100%;
  background: var(--sf-ink-900);
  color: var(--sf-gray-400);
}
.utility-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.utility-bar__status { display: flex; align-items: center; gap: 8px; }

/* ===== NAV ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(246, 246, 243, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
}
.site-nav__brand { display: flex; align-items: center; gap: 11px; }
.site-nav__logo { height: 40px; width: auto; display: block; }
.site-nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-link { color: var(--text-muted); transition: color 0.18s ease; }
.nav-link:hover { color: var(--text); }
.nav-link--active { color: var(--text); }
.nav-icon {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
  transition: color 0.18s ease;
}
.nav-icon:hover { color: #5865F2; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  text-align: center;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn--ghost { border: 1px solid var(--accent); color: var(--text); padding: 9px 16px; }
.btn--ghost:hover { border-color: var(--text); }
.btn--outline { border: 1px solid var(--border-strong); color: var(--text-muted); }
.btn--outline:hover { border-color: var(--accent); }
.btn--lg { padding: 15px 30px; }
.btn--icon { gap: 9px; }

/* ===== HERO ===== */
.hero { width: 100%; background: var(--bg); border-bottom: 1px solid var(--border); }
.hero .container {
  padding: 96px 32px 104px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 18px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.hero-badge:hover {
  border-color: var(--accent);
  color: var(--text);
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-hover);
}
.hero h1 {
  font-weight: 700;
  font-size: clamp(44px, 5.6vw, 80px);
  line-height: 0.97;
  letter-spacing: -0.035em;
  margin: 22px 0 0;
  text-wrap: balance;
}
.hero-lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 46ch;
  margin: 26px 0 0;
}
.hero-actions { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
}

/* ===== HERO BOARD SCREENSHOT ===== */
.board-shot {
  display: block;
  border: 1px solid var(--sf-ink-600);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-panel);
  background: var(--sf-ink-900);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.board-shot:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
}
.board-shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== STAT BLOCK ===== */
.stat-block { width: 100%; padding: 8px 0; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-item { padding: 36px 24px 32px; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-value {
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 46px);
  line-height: 1;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.stat-plus { color: var(--accent); }
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-top: 12px;
}
.stat-value--status {
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.01em;
  color: var(--sf-green);
}
.stat-value--status.is-offline { color: var(--sf-gray-500); }
@keyframes sf-live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.82); }
}
.stat-live-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  flex: none;
  background: currentColor;
  animation: sf-live-pulse 2s ease-in-out infinite;
}

/* ===== SECTION HEADINGS ===== */
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-hover);
}
.section-eyebrow--on-dark { color: var(--accent); }
.section-heading {
  font-weight: 700;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 16px 0 0;
}

/* ===== AIRPORT THEMES ===== */
.themes-section {
  width: 100%;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.themes-section .container { padding: 100px 32px; }
.themes-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}
.themes-header .section-heading { max-width: 18ch; }
.themes-header p {
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-subtle);
  max-width: 34ch;
  margin: 0;
}
.theme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.theme-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--sf-ink-700);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.theme-card:hover { transform: translateY(-3px); border-color: rgba(248, 200, 8, 0.5); }
.theme-card__image {
  aspect-ratio: 16 / 9;
  background-color: var(--sf-ink-700);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.theme-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-top: 1px solid var(--sf-ink-600);
}
.theme-card__city { font-weight: 700; font-size: 18px; color: var(--sf-paper); letter-spacing: -0.01em; }
.theme-card__icao { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: 0.08em; }

/* ===== MAP SHOWCASE ===== */
.map-section {
  width: 100%;
  background: var(--sf-ink-900);
  color: var(--sf-paper);
  position: relative;
  overflow: hidden;
}
.map-section__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#0e131c 1px, transparent 1px),
    linear-gradient(90deg, #0e131c 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.5;
}
.map-section .container { position: relative; padding: 100px 32px; }
.map-section .section-lead {
  font-size: 18px;
  line-height: 1.6;
  color: #C3C9D2;
  max-width: 62ch;
  margin: 22px 0 0;
}
.map-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; }
.map-card {
  border: 1px solid var(--sf-ink-600);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--sf-ink-800);
}
.map-card__image {
  aspect-ratio: 16 / 10;
  background-color: var(--sf-ink-800);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.map-card__caption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sf-gray-400);
  padding: 13px 16px;
  border-top: 1px solid var(--sf-ink-600);
}

/* ===== FEATURES ===== */
.features-section { width: 100%; background: var(--bg); border-bottom: 1px solid var(--border); }
.features-section .container { padding: 100px 32px; }
.features-section .section-heading { margin: 16px 0 48px; }
.features-grid {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}
.feature { background: var(--bg); padding: 30px 26px; transition: background 0.2s ease; }
.feature:hover { background: var(--surface); }
.feature__index { font-family: var(--font-mono); font-size: 12px; color: var(--text-subtle); }
.feature h3 { font-weight: 700; font-size: 18px; letter-spacing: -0.01em; margin: 14px 0 8px; }
.feature p { font-size: 14px; line-height: 1.6; color: var(--text-muted); margin: 0; }

/* ===== CTA BAND ===== */
.cta-band { width: 100%; background: var(--accent); color: var(--sf-ink-900); }
.cta-band .container {
  padding: 84px 32px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.cta-band .section-eyebrow { color: #7a6400; }
.cta-band h2 {
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 0.99;
  letter-spacing: -0.03em;
  margin: 16px 0 0;
  max-width: 16ch;
}
.cta-band__note {
  font-size: 15px;
  line-height: 1.65;
  margin: 22px 0 0;
  max-width: 46ch;
  color: #4a3d00;
}
.cta-band__note a { color: var(--sf-ink-900); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cta-band__note a:hover { color: #4a3d00; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-actions > .btn { width: 100%; }
.cta-actions__row { display: flex; gap: 12px; width: 100%; }
.cta-actions__row .btn { flex: 1; }
.btn--cta-primary { background: var(--sf-ink-900); color: var(--accent); }
.btn--cta-outline { border: 1px solid var(--sf-ink-900); color: var(--sf-ink-900); }

/* ===== FOOTER ===== */
.site-footer { width: 100%; background: var(--sf-ink-900); color: var(--sf-gray-400); }
.footer-grid {
  padding: 72px 32px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-logo { height: 54px; width: auto; display: block; }
.footer-col--brand p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--sf-gray-500);
  max-width: 30ch;
  margin: 22px 0 0;
}
.footer-col__title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-link { color: #C3C9D2; transition: color 0.18s ease; }
.footer-link:hover { color: var(--sf-paper); }
.footer-link--icon { display: inline-flex; align-items: center; gap: 9px; }
.footer-status {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--sf-green);
}
.footer-version { font-family: var(--font-mono); font-size: 12px; color: var(--sf-gray-500); margin-top: 14px; }
.footer-bottom { border-top: 1px solid var(--sf-ink-600); }
.footer-bottom__inner {
  padding: 22px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sf-gray-500);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .theme-grid, .map-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band .container { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
}
@media (max-width: 640px) {
  .site-nav__links { gap: 14px; font-size: 11px; flex-wrap: wrap; justify-content: flex-end; }
  .theme-grid, .map-grid, .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
}

/* ===== ALT CONTAINER WIDTHS (blog) ===== */
.container--narrow { max-width: 760px; }
.container--medium { max-width: 980px; }
.container--prose { max-width: 680px; }

/* ===== MEDIA PLACEHOLDER (post cover fallback) ===== */
.media-placeholder {
  background-color: var(--sf-ink-700);
  background-image:
    linear-gradient(var(--sf-ink-600) 1px, transparent 1px),
    linear-gradient(90deg, var(--sf-ink-600) 1px, transparent 1px);
  background-size: 32px 32px;
}
.media-tag {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.media-tag--top { left: 18px; top: 16px; }
.media-tag--bottom { left: 18px; bottom: 14px; }

/* ===== BLOG HEADER ===== */
.blog-header { width: 100%; background: var(--bg); border-bottom: 1px solid var(--border); }
.blog-header .container { padding: 84px 32px 64px; }
.blog-header__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}
.blog-header__row h1 {
  font-weight: 700;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.99;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 16ch;
}
.blog-header__lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 40ch;
  margin: 0;
}

/* ===== CATEGORY PILLS ===== */
.category-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 40px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.category-pill {
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  background: none;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.category-pill:hover { border-color: var(--accent); }
.category-pill.is-active {
  background: var(--sf-ink-900);
  color: var(--sf-paper);
  border-color: var(--sf-ink-900);
}

/* ===== FEATURED POST ===== */
.featured-post-section { width: 100%; background: var(--surface); border-bottom: 1px solid var(--border); }
.featured-post-section .container { padding: 64px 32px; }
.featured-post {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.25s ease;
}
.featured-post:hover { border-color: rgba(248, 200, 8, 0.5); }
.featured-post__media {
  position: relative;
  background-color: var(--sf-ink-900);
  min-height: 380px;
  overflow: hidden;
}
.featured-post__body { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; }
.featured-post__body h2 {
  font-weight: 700;
  font-size: 32px;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 16px 0 0;
}
.featured-post__body p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 16px 0 0;
}

/* ===== POST META / AUTHOR AVATAR ===== */
.post-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-subtle);
}
.post-meta__author { color: var(--text-muted); }
.author-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--sf-ink-900);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 12px;
  flex: none;
}
.author-avatar--lg { width: 48px; height: 48px; font-size: 15px; font-weight: 700; }

/* ===== POST GRID / CARDS ===== */
.post-grid-section { width: 100%; background: var(--bg); border-bottom: 1px solid var(--border); }
.post-grid-section .container { padding: 72px 32px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.post-card:hover { transform: translateY(-3px); border-color: rgba(248, 200, 8, 0.5); }
.post-card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background-position: center; background-size: cover; background-repeat: no-repeat; }
.post-card__body { padding: 22px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.post-card__title {
  font-weight: 700;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0;
}
.post-card__body p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 12px 0 0;
  flex: 1;
}
.post-card__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  margin-top: 18px;
}

/* ===== NEWSLETTER BAND ===== */
.newsletter-band { width: 100%; background: var(--accent); color: var(--sf-ink-900); }
.newsletter-band .container {
  padding: 72px 32px;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.section-eyebrow--newsletter { color: #7a6400; }
.newsletter-band h2 {
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 14px 0 0;
  max-width: 18ch;
}
.newsletter-form { display: flex; gap: 12px; flex-wrap: wrap; }
.newsletter-input {
  flex: 1;
  min-width: 220px;
  height: 52px;
  padding: 0 18px;
  border: 1px solid var(--sf-ink-900);
  background: #FFFBE8;
  color: var(--sf-ink-900);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 14px;
}
.newsletter-input:focus-visible { outline: 2px solid var(--sf-ink-900); outline-offset: 2px; }
.newsletter-success { margin: 0; font-weight: 600; color: var(--sf-ink-900); }
.newsletter-error { width: 100%; margin: 8px 0 0; font-size: 0.85rem; font-weight: 600; color: #8a1c1c; }

/* ===== ARTICLE HEADER ===== */
.article-header { width: 100%; background: var(--bg); border-bottom: 1px solid var(--border); }
.article-header .container--narrow { padding: 64px 32px 44px; }
.back-link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-subtle);
  transition: color 0.18s ease;
}
.back-link:hover { color: var(--text); }
.article-header__category { margin-top: 28px; }
.article-title {
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 18px 0 0;
  text-wrap: balance;
}
.article-lead {
  font-size: 20px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 22px 0 0;
}

/* ===== ARTICLE HERO ===== */
.article-hero { width: 100%; background: var(--surface); border-bottom: 1px solid var(--border); }
.article-hero .container--medium { padding: 48px 32px; }
.article-hero img {
  width: 100%;
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

/* ===== ARTICLE BODY / PROSE ===== */
.article-body { width: 100%; background: var(--surface); }
.sf-prose.container--prose { padding: 64px 32px 24px; }
.sf-prose p { font-size: 18px; line-height: 1.72; color: #283042; margin: 0 0 24px; }
.sf-prose h2 { font-weight: 700; font-size: 28px; line-height: 1.12; letter-spacing: -0.02em; color: var(--text); margin: 52px 0 18px; }
.sf-prose h3 { font-weight: 700; font-size: 20px; line-height: 1.2; letter-spacing: -0.01em; color: var(--text); margin: 36px 0 12px; }
.sf-prose ul { margin: 0 0 24px; padding-left: 0; list-style: none; }
.sf-prose li { position: relative; font-size: 18px; line-height: 1.7; color: #283042; padding-left: 26px; margin: 0 0 12px; }
.sf-prose li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 7px; height: 7px; background: var(--accent); border-radius: 1px; }
.sf-prose strong { color: var(--text); font-weight: 700; }
.sf-prose a { color: var(--text); border-bottom: 2px solid var(--accent); }
.sf-prose blockquote {
  margin: 36px 0;
  padding: 6px 0 6px 28px;
  border-left: 3px solid var(--accent);
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--text);
  font-weight: 500;
}
.sf-prose img { max-width: 100%; border-radius: var(--radius-md); }
.sf-prose code { font-family: var(--font-mono); background: var(--surface-2); padding: 2px 6px; border-radius: var(--radius-xs); font-size: 0.9em; }
.sf-prose pre { background: var(--sf-ink-800); color: var(--sf-paper); padding: 18px; border-radius: var(--radius-md); overflow-x: auto; }
.sf-prose pre code { background: none; padding: 0; }
.sf-prose hr { border: none; border-top: 1px solid var(--border); margin: 36px 0; }
.sf-prose video { display: block; max-width: 100%; border-radius: var(--radius-md); margin: 24px 0; }
.sf-prose .video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  margin: 24px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--sf-ink-900);
}
.sf-prose .video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== ARTICLE AUTHOR CARD ===== */
.article-author { width: 100%; background: var(--surface); }
.article-author .container--prose { padding: 24px 32px 64px; }
.author-card {
  display: flex;
  gap: 16px;
  align-items: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.author-card__info { flex: 1; }
.author-card__name { font-weight: 700; font-size: 16px; }
.author-card__tagline { font-family: var(--font-mono); font-size: 12px; color: var(--text-subtle); margin-top: 3px; }
.author-card__cta { margin-left: auto; }

/* ===== READ NEXT ===== */
.read-next-section { width: 100%; background: var(--bg); border-top: 1px solid var(--border); }
.read-next-section .container { padding: 72px 32px; }
.read-next__heading { margin: 14px 0 40px; font-size: 30px; }

/* ===== RESPONSIVE (blog) ===== */
@media (max-width: 960px) {
  .featured-post { grid-template-columns: 1fr; }
  .featured-post__media { min-height: 240px; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter-band .container { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .post-grid { grid-template-columns: 1fr; }
  .author-card { flex-wrap: wrap; }
  .author-card__cta { margin-left: 0; }
}
