/* /blog.css — minimal styles for the static-rendered blog pages.
   Loaded as a separate file because the prerendered HTML doesn't run the
   Vite CSS pipeline; it gets static <link rel="stylesheet"> tags instead. */

:root {
  --frame-w: 375px;
  --frame-pad: 20px;
  --accent: #c9a961;
  --accent-dark: #a0843a;
  --ink-900: #1a1f2e;
  --ink-700: #334155;
  --ink-500: #64748b;
  --ink-300: #cbd5e1;
  --ink-100: #f1f5f9;
  --surface-0: #ffffff;
  --surface-700: #1a1a24;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background: #fafafa;
  color: #1a1f2e;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

.frame {
  width: var(--frame-w);
  max-width: var(--frame-w);
  min-width: var(--frame-w);
  margin: 0 auto;
  background: #fafafa;
  position: relative;
  overflow-x: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
  min-height: 100vh;
}

::selection { background: rgba(201, 169, 97, 0.3); color: #1a1f2e; }

/* Tailwind utility replacements (used in the rendered HTML). */
.font-display { font-family: 'Fraunces', Georgia, serif; }
.font-sans { font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif; }
.font-mono { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; }

/* Color tokens (mirror tailwind.config.js). */
.bg-surface-0 { background-color: #ffffff; }
.bg-ink-900 { background-color: #0a0a0f; }
.bg-ink-950 { background-color: #050507; }
.bg-accent-500 { background-color: #c9a961; }
.text-ink-100 { color: #f1f5f9; }
.text-ink-300 { color: #cbd5e1; }
.text-ink-400 { color: #94a3b8; }
.text-ink-500 { color: #64748b; }
.text-ink-600 { color: #475569; }
.text-ink-700 { color: #334155; }
.text-ink-900 { color: #1a1f2e; }
.text-accent-500 { color: #c9a961; }
.text-accent-700 { color: #a0843a; }
.text-surface-0 { color: #ffffff; }
.bg-surface-700 { background-color: #1a1a24; }
.text-ink-500\/40 { color: rgba(100, 116, 139, 0.4); }
.border-ink-900\/\[0\.04\] { border-color: rgba(26, 31, 46, 0.04); }
.border-ink-900\/\[0\.06\] { border-color: rgba(26, 31, 46, 0.06); }
.border-ink-900\/\[0\.08\] { border-color: rgba(26, 31, 46, 0.08); }
.border-ink-900\/\[0\.10\] { border-color: rgba(26, 31, 46, 0.10); }
.border-accent-500\/40 { border-color: rgba(201, 169, 97, 0.4); }
.border-accent-500\/30 { border-color: rgba(201, 169, 97, 0.3); }

/* Layout utilities used by the rendered HTML. */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.grid-cols-1 { grid-template-columns: 1fr; }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.rounded-full { border-radius: 9999px; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.border { border-width: 1px; border-style: solid; }
.border-t { border-top-width: 1px; border-style: solid; }
.border-b { border-bottom-width: 1px; border-style: solid; }
.border-l-2 { border-left-width: 2px; border-style: solid; }
.transition-colors { transition: color 0.2s, background-color 0.2s, border-color 0.2s; }
.transition-transform { transition: transform 0.2s; }
.transition-all { transition: all 0.3s; }
.duration-300 { transition-duration: 300ms; }
.cursor-pointer { cursor: pointer; }
.list-none { list-style: none; }
.list-disc { list-style: disc; }
.list-decimal { list-style: decimal; }
.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }
.tracking-wider { letter-spacing: 0.05em; }
.underline { text-decoration: underline; }
.underline-offset-2 { text-underline-offset: 2px; }
.hover\:text-accent-700:hover { color: #a0843a; }
.hover\:text-white:hover { color: #ffffff; }
.hover\:border-accent-500\/40:hover { border-color: rgba(201, 169, 97, 0.4); }
.hover\:border-accent-500\/50:hover { border-color: rgba(201, 169, 97, 0.5); }
.hover\:translate-x-0\.5:hover { transform: translateX(0.125rem); }
.hover\:translate-y-1:hover { transform: translateY(-0.25rem); }
.hover\:bg-accent-400:hover { background-color: #d9b97a; }
.hover\:decoration-accent-500:hover { text-decoration-color: #c9a961; }
.hover\:underline:hover { text-decoration: underline; }
.group:hover .group-open\:rotate-45 { transform: rotate(45deg); }
[open] .group-open\:rotate-45 { transform: rotate(45deg); }
.whitespace-nowrap { white-space: nowrap; }

/* Tailwind spacing helpers used inline. */
.px-1\.5 { padding-left: 0.375rem; padding-right: 0.375rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.pt-4 { padding-top: 1rem; }
.pt-5 { padding-top: 1.25rem; }
.pt-10 { padding-top: 2.5rem; }
.pt-14 { padding-top: 3.5rem; }
.pt-16 { padding-top: 4rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-5 { padding-bottom: 1.25rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pb-12 { padding-bottom: 3rem; }
.pl-4 { padding-left: 1rem; }
.pl-5 { padding-left: 1.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-7 { margin-top: 1.75rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.mt-16 { margin-top: 4rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-10 { margin-bottom: 2.5rem; }
.my-4 { margin-top: 1rem; margin-bottom: 1rem; }
.my-6 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.my-10 { margin-top: 2.5rem; margin-bottom: 2.5rem; }

.w-full { width: 100%; }
.max-w-\[560px\] { max-width: 560px; }
.h-px { height: 1px; }
.w-40 { width: 10rem; }
.h-40 { height: 10rem; }
.w-48 { width: 12rem; }
.h-48 { height: 12rem; }
.w-32 { width: 8rem; }
.h-32 { height: 8rem; }

.text-left { text-align: left; }
.align-top { vertical-align: top; }
.scroll-mt-24 { scroll-margin-top: 6rem; }

/* Decorative radial gradient helper used in the CTA strip. */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-transparent { --tw-gradient-from: transparent; }
.via-accent-500\/40 { --tw-gradient-via: rgba(201, 169, 97, 0.4); }
.to-transparent { --tw-gradient-to: transparent; }
.from-ink-900 { --tw-gradient-from: #0a0a0f; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.via-surface-700 { --tw-gradient-via: #1a1a24; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-via), var(--tw-gradient-to); }
.to-ink-900 { --tw-gradient-to: #0a0a0f; }

/* Prose — readable defaults for blog content. */
.blog-prose h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.blog-prose h3 { margin-top: 2rem; margin-bottom: 0.75rem; }
.blog-prose p { margin: 1rem 0; }
.blog-prose ul, .blog-prose ol { margin: 1rem 0; padding-left: 1.25rem; }
.blog-prose li { margin: 0.5rem 0; }
.blog-prose pre { margin: 1.5rem 0; }
.blog-prose table { margin: 1.5rem 0; }
.blog-prose code { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.blog-prose a { color: #a0843a; }

/* Smooth in-page anchor jumps. */
html { scroll-behavior: smooth; }

/* Static blog nav — mirrors the live site Nav.tsx component for cross-page continuity.
   The blog pages load this as a static HTML block (no React mount needed). */
nav.blog-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(26, 31, 46, 0.06);
}
.blog-nav-inner {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 20px;
  min-height: 56px;
}
.blog-nav-brand {
  display: inline-flex !important;
  align-items: flex-start;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  color: var(--ink-900);
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.045em;
  line-height: 0.85;
}
.blog-nav-brand-name { display: block; line-height: 0.9; }
.blog-nav-brand-tag {
  display: block;
  margin-top: 3px;
  font-family: var(--font-sans, Inter, system-ui, sans-serif);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: rgba(26, 31, 46, 0.55);
  white-space: nowrap;
  line-height: 1;
}
ul.blog-nav-links {
  display: none !important;
  gap: 4px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.blog-nav-link {
  display: inline-flex !important;
  align-items: center;
  padding: 7px 12px;
  border-radius: 100px;
  color: var(--ink-700);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s;
}
.blog-nav-link:hover { background: rgba(26, 31, 46, 0.05); color: var(--ink-900); }
.blog-nav-link.active { background: rgba(201, 169, 97, 0.12); color: var(--ink-900); }
a.blog-nav-cta {
  display: inline-flex !important;
  align-items: center;
  padding: 7px 14px;
  border-radius: 100px;
  background: var(--accent);
  color: var(--ink-900);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.2s;
  white-space: nowrap;
}
a.blog-nav-cta:hover { background: #d9b97a; }
button.blog-nav-toggle {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  color: var(--ink-900);
}
button.blog-nav-toggle:hover { background: rgba(26, 31, 46, 0.05); }
div.blog-nav-drawer {
  display: none !important;
  border-top: 1px solid rgba(26, 31, 46, 0.06);
  background: rgba(250, 250, 250, 0.98);
  backdrop-filter: blur(14px);
}
div.blog-nav-drawer.open { display: block !important; }
ul.blog-nav-drawer-list {
  list-style: none;
  margin: 0;
  padding: 8px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.blog-nav-drawer .blog-nav-link {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
}
a.blog-nav-drawer-cta {
  display: block !important;
  margin-top: 8px;
  padding: 11px 16px;
  border-radius: 100px;
  background: var(--accent);
  color: var(--ink-900);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
@media (min-width: 720px) {
  /* Even at desktop viewports the .frame is locked to 375px, so the
     inline links would crowd the brand mark. Always render the
     hamburger pattern; the drawer opens the full menu. */
  button.blog-nav-toggle { display: inline-flex !important; }
  ul.blog-nav-links { display: none !important; }
}

/* ============================================================
   Blog index — filter bar (cluster pills + search)
   Pattern: same as /wall/ trade-dock spine + search blob,
   adapted to a single sticky strip above the card grid.
   Cards carry data-cluster + data-search attrs; the inline
   IIFE in prerender-blog.mjs toggles card display based on
   pill clicks + search input. The bar is sticky just below
   the nav so it stays visible while users scroll the cards.
   ============================================================ */
[data-blog-filter-bar] {
  position: sticky;
  top: 56px;          /* height of nav.blog-nav-inner */
  z-index: 40;
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid rgba(26, 31, 46, 0.06);
}
.blog-filter-pill {
  flex-shrink: 0;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 100px;
  background: rgba(26, 31, 46, 0.04);
  color: rgba(26, 31, 46, 0.7);
  font-family: var(--font-sans, Inter, system-ui, sans-serif);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.blog-filter-pill:hover {
  background: rgba(26, 31, 46, 0.08);
  color: rgba(26, 31, 46, 0.95);
}
.blog-filter-pill.is-active {
  background: #0a0a0f;
  color: #ffffff;
  border-color: #0a0a0f;
}
.blog-filter-count {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.18);
  color: inherit;
  font-family: var(--font-mono, 'JetBrains Mono', ui-monospace, monospace);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  min-width: 18px;
  text-align: center;
}
.blog-filter-pill:not(.is-active) .blog-filter-count {
  background: rgba(26, 31, 46, 0.08);
}
.blog-filter-search {
  -webkit-appearance: none;
  appearance: none;
}
.blog-filter-search::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  background: linear-gradient(45deg, transparent 45%, currentColor 45%, currentColor 55%, transparent 55%),
              linear-gradient(-45deg, transparent 45%, currentColor 45%, currentColor 55%, transparent 55%);
  cursor: pointer;
  opacity: 0.5;
}
.blog-filter-search::-webkit-search-cancel-button:hover { opacity: 1; }
[data-blog-pills]::-webkit-scrollbar { display: none; }
[data-blog-pills] { scrollbar-width: none; }
[data-blog-grid] { min-height: 200px; }

/* ============================================================
   Examples catalog page (/examples/)
   Same filter pattern as the blog index, but cards include
   a 3-metric value block + cost-comparison foot.
   ============================================================ */
[data-ex-filter-bar] {
  position: sticky;
  top: 56px;
  z-index: 40;
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid rgba(26, 31, 46, 0.06);
}
.ex-filter-pill {
  flex-shrink: 0;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 100px;
  background: rgba(26, 31, 46, 0.04);
  color: rgba(26, 31, 46, 0.7);
  font-family: var(--font-sans, Inter, system-ui, sans-serif);
  font-size: 12.5px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.ex-filter-pill:hover {
  background: rgba(26, 31, 46, 0.08);
  color: rgba(26, 31, 46, 0.95);
}
.ex-filter-pill.is-active {
  background: #0a0a0f;
  color: #ffffff;
  border-color: #0a0a0f;
}
.ex-filter-count {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.18);
  color: inherit;
  font-family: var(--font-mono, 'JetBrains Mono', ui-monospace, monospace);
  font-size: 10px;
  font-weight: 600;
  min-width: 18px;
  text-align: center;
}
.ex-filter-pill:not(.is-active) .ex-filter-count {
  background: rgba(26, 31, 46, 0.08);
}
.ex-filter-search {
  -webkit-appearance: none;
  appearance: none;
}
.ex-filter-search::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  background: linear-gradient(45deg, transparent 45%, currentColor 45%, currentColor 55%, transparent 55%),
              linear-gradient(-45deg, transparent 45%, currentColor 45%, currentColor 55%, transparent 55%);
  cursor: pointer;
  opacity: 0.5;
}
.ex-filter-search::-webkit-search-cancel-button:hover { opacity: 1; }
[data-ex-pills]::-webkit-scrollbar { display: none; }
[data-ex-pills] { scrollbar-width: none; }

.ex-section { margin-top: 2.5rem; }
.ex-section-head { margin-bottom: 1rem; padding: 0 4px; }
.ex-section-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: #0a0a0f;
  letter-spacing: -0.015em;
  margin: 0 0 0.25rem;
}
.ex-section-blurb {
  font-size: 13.5px;
  color: rgba(26, 31, 46, 0.6);
  line-height: 1.55;
  margin: 0;
  max-width: 560px;
}
.ex-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}
.ex-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(26, 31, 46, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.ex-card:hover {
  border-color: rgba(201, 169, 97, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -12px rgba(201, 169, 97, 0.3);
}
.ex-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 1rem;
}
.ex-card-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}
.ex-card-titles { flex: 1; min-width: 0; }
.ex-card-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 16.5px;
  font-weight: 600;
  color: #0a0a0f;
  letter-spacing: -0.01em;
  margin: 0 0 0.25rem;
  line-height: 1.25;
}
.ex-card-tagline {
  font-size: 13px;
  color: rgba(26, 31, 46, 0.6);
  line-height: 1.45;
  margin: 0;
}
.ex-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0 0 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(26, 31, 46, 0.06);
  border-bottom: 1px solid rgba(26, 31, 46, 0.06);
}
.ex-metric {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 0.625rem;
}
.ex-metric + .ex-metric {
  border-left: 1px solid rgba(26, 31, 46, 0.06);
}
.ex-metric dt {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(26, 31, 46, 0.5);
  margin: 0;
}
.ex-metric dd {
  font-size: 12px;
  font-weight: 600;
  color: #0a0a0f;
  margin: 0;
  line-height: 1.3;
}
.ex-card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.ex-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
  min-width: 0;
}
.ex-card-meta-row {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.ex-card-meta-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(26, 31, 46, 0.45);
}
.ex-card-meta-val {
  font-size: 11.5px;
  color: rgba(26, 31, 46, 0.85);
  line-height: 1.35;
}
.ex-card-blog-link {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(160, 132, 58, 0.95);
  text-decoration: none;
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(201, 169, 97, 0.12);
  transition: background 0.15s ease;
}
.ex-card-blog-link:hover {
  background: rgba(201, 169, 97, 0.25);
}
.ex-card-blog-soon {
  color: rgba(26, 31, 46, 0.4);
  background: rgba(26, 31, 46, 0.04);
  cursor: default;
}

/* ============================================================
   Solutions gallery (/solutions/)
   Distinct from /examples/ — /solutions/ shows what the agent
   BUILDS (pages, funnels, apps, video, PDFs), /examples/ shows
   what the agent DOES for you (ongoing operational tasks).
   ============================================================ */
[data-sol-filter-bar] {
  position: sticky;
  top: 56px;
  z-index: 40;
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid rgba(26, 31, 46, 0.06);
}
.sol-filter-pill {
  flex-shrink: 0;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 100px;
  background: rgba(26, 31, 46, 0.04);
  color: rgba(26, 31, 46, 0.7);
  font-family: var(--font-sans, Inter, system-ui, sans-serif);
  font-size: 12.5px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.sol-filter-pill:hover {
  background: rgba(26, 31, 46, 0.08);
  color: rgba(26, 31, 46, 0.95);
}
.sol-filter-pill.is-active {
  background: #0a0a0f;
  color: #ffffff;
  border-color: #0a0a0f;
}
.sol-filter-count {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.18);
  color: inherit;
  font-family: var(--font-mono, 'JetBrains Mono', ui-monospace, monospace);
  font-size: 10px;
  font-weight: 600;
  min-width: 18px;
  text-align: center;
}
.sol-filter-pill:not(.is-active) .sol-filter-count {
  background: rgba(26, 31, 46, 0.08);
}
.sol-filter-search {
  -webkit-appearance: none;
  appearance: none;
}
.sol-filter-search::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  background: linear-gradient(45deg, transparent 45%, currentColor 45%, currentColor 55%, transparent 55%),
              linear-gradient(-45deg, transparent 45%, currentColor 45%, currentColor 55%, transparent 55%);
  cursor: pointer;
  opacity: 0.5;
}
.sol-filter-search::-webkit-search-cancel-button:hover { opacity: 1; }
[data-sol-pills]::-webkit-scrollbar { display: none; }
[data-sol-pills] { scrollbar-width: none; }

/* ===== Spotlight (input → output diagrams) ===== */
.sol-spotlights {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.sol-spotlight {
  background: linear-gradient(135deg, #ffffff 0%, #faf8f4 100%);
  border: 1px solid rgba(26, 31, 46, 0.08);
  border-radius: 16px;
  padding: 1rem 1.125rem;
  box-shadow: 0 1px 0 rgba(201, 169, 97, 0.05);
}
.sol-spotlight-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
}
.sol-spotlight-icon {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}
.sol-spotlight-eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(160, 132, 58, 0.95);
  margin-bottom: 0.2rem;
}
.sol-spotlight-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  color: #0a0a0f;
  letter-spacing: -0.015em;
  margin: 0 0 0.2rem;
  line-height: 1.25;
}
.sol-spotlight-tagline {
  font-size: 12.5px;
  color: rgba(26, 31, 46, 0.65);
  line-height: 1.45;
  margin: 0;
}
.sol-spotlight-flow {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  margin-bottom: 0.875rem;
}
.sol-flow-step {
  flex: 1;
  border-radius: 12px;
  padding: 0.625rem 0.75rem;
  min-width: 0;
}
.sol-flow-input {
  background: rgba(26, 31, 46, 0.04);
  border: 1px solid rgba(26, 31, 46, 0.08);
}
.sol-flow-output {
  background: rgba(201, 169, 97, 0.08);
  border: 1px solid rgba(201, 169, 97, 0.2);
}
.sol-flow-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(26, 31, 46, 0.5);
  margin-bottom: 0.375rem;
}
.sol-flow-content {
  font-size: 12.5px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  line-height: 1.5;
  color: #0a0a0f;
  font-style: italic;
}
.sol-flow-output-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  line-height: 1.5;
  color: #0a0a0f;
}
.sol-flow-output-list li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 0.25rem;
}
.sol-flow-output-list li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: rgba(160, 132, 58, 0.95);
  font-weight: 600;
}
.sol-flow-output-list li:last-child { margin-bottom: 0; }
.sol-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(160, 132, 58, 0.7);
  flex-shrink: 0;
  padding: 0 0.25rem;
}
.sol-spotlight-foot {
  padding-top: 0.625rem;
  border-top: 1px solid rgba(26, 31, 46, 0.06);
}
.sol-spotlight-comparison {
  font-size: 11.5px;
  color: rgba(26, 31, 46, 0.7);
  line-height: 1.45;
  display: block;
}
.sol-spotlight-comparison-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(26, 31, 46, 0.5);
  margin-right: 6px;
}

/* ===== Solution cards ===== */
.sol-section { margin-top: 2.5rem; }
.sol-section-head { margin-bottom: 1rem; padding: 0 4px; }
.sol-section-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: #0a0a0f;
  letter-spacing: -0.015em;
  margin: 0 0 0.25rem;
}
.sol-section-blurb {
  font-size: 13.5px;
  color: rgba(26, 31, 46, 0.6);
  line-height: 1.55;
  margin: 0;
  max-width: 560px;
}
.sol-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.625rem;
}
.sol-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(26, 31, 46, 0.08);
  border-radius: 12px;
  padding: 0.75rem 0.875rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 0;
}
.sol-card:hover {
  border-color: rgba(201, 169, 97, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -12px rgba(201, 169, 97, 0.3);
}
.sol-card-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.375rem;
}
.sol-card-icon {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}
.sol-card-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 14.5px;
  font-weight: 600;
  color: #0a0a0f;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.25;
  flex: 1;
  min-width: 0;
}
.sol-card-tagline {
  font-size: 12px;
  color: rgba(26, 31, 46, 0.65);
  line-height: 1.45;
  margin: 0 0 0.625rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sol-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(26, 31, 46, 0.05);
}
.sol-card-meta {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
  flex: 1;
  min-width: 0;
}
.sol-card-meta-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(26, 31, 46, 0.45);
  flex-shrink: 0;
}
.sol-card-meta-val {
  font-size: 11px;
  color: rgba(26, 31, 46, 0.85);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sol-card-link {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(160, 132, 58, 0.95);
  text-decoration: none;
  white-space: nowrap;
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(201, 169, 97, 0.12);
  transition: background 0.15s ease;
  flex-shrink: 0;
}
.sol-card-link:hover {
  background: rgba(201, 169, 97, 0.25);
}
.sol-card-link-pending {
  color: rgba(26, 31, 46, 0.4);
  background: rgba(26, 31, 46, 0.04);
  cursor: default;
}
