/* Escalay blog: Geist typography, pixel artwork, and the orange brand footer. */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500;600&display=swap');
:root { --paper: #FAFAF7; --ink: #141414; --muted: #6B6B68; --orange: #FF6700; --dim: #D9D9D4; --line: #E8E8E5; --grey-line: #F0F0F0; --surface-grey: #F7F7F7; --ink-78: rgba(20,20,20,.78); --ink-72: rgba(20,20,20,.72); --ink-60: rgba(20,20,20,.6); --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif; --font-mono: 'Geist Mono', ui-monospace, monospace; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-sans); background: var(--paper); color: var(--ink); font-feature-settings: 'ss01', 'cv11'; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--orange); }
button, input { font: inherit; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-weight: 500; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; }
[id] { scroll-margin-top: 105px; }
.skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; left: 16px; top: 16px; z-index: 300; padding: 10px 20px; background: white; }
.blog-container { width: 100%; max-width: 1056px; margin: 0 auto; padding-inline: 32px; }
.blog-label { display: inline-block; margin: 0; font: 500 12px/normal var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.accent { color: var(--orange); }
.on-dark { color: rgba(252,252,252,.9); }
.blog-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--grey-line); border-radius: 124px; background: var(--grey-line); color: var(--ink); font: 500 14px/normal var(--font-sans); letter-spacing: -.28px; cursor: pointer; white-space: nowrap; text-decoration: none; transition: transform .15s ease, background .2s ease; }
.blog-button:hover { transform: translateY(-1px); background: var(--line); color: var(--ink); }
.blog-button-large { padding: 12px 22px; font-size: 16px; letter-spacing: -.48px; }
.blog-button-dark { background: #1E1E1E; color: #FCFCFC; border-color: transparent; gap: 12px; }
.blog-button-dark:hover { background: #0F0F0F; color: #FCFCFC; }
.blog-button img { width: 28px; height: 28px; border-radius: 999px; object-fit: cover; flex-shrink: 0; }
.blog-header { position: sticky; top: 0; height: 73px; background: rgba(252,252,252,.85); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); z-index: 100; display: flex; align-items: center; justify-content: center; }
.blog-header-inner { width: 1056px; max-width: calc(100% - 32px); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.blog-logo { display: flex; align-items: center; gap: 7px; color: #0F0F0F; }
.blog-logo img { height: 22px; width: auto; display: block; }
.blog-logo span { font-size: 20px; font-weight: 700; letter-spacing: -.5px; line-height: 1; }
.blog-desktop-nav { display: flex; gap: 36px; }
.blog-desktop-nav a { font-size: 14px; font-weight: 500; letter-spacing: -.28px; transition: opacity .2s ease; }
.blog-desktop-nav a:hover { color: inherit; opacity: .65; }
.blog-menu-toggle { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 44px; height: 44px; background: transparent; border: 0; padding: 4px; border-radius: 8px; cursor: pointer; }
.blog-menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.blog-menu { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(320px, 85%); max-width: none; height: 100dvh; max-height: none; padding: 20px 24px 36px; border: 0; background: #FCFCFC; color: var(--ink); overflow-y: auto; }
.blog-menu[open] { display: flex; flex-direction: column; }
.blog-menu::backdrop { background: rgba(15,15,15,.5); backdrop-filter: blur(4px); }
.blog-menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.blog-menu-close { width: 36px; height: 36px; display: grid; place-items: center; background: var(--grey-line); border: 0; border-radius: 8px; cursor: pointer; }
.blog-menu-close svg { width: 16px; height: 16px; }
.blog-menu nav { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.blog-menu nav a { display: block; font-size: 22px; font-weight: 500; letter-spacing: -.66px; padding: 12px 0; border-bottom: 1px solid var(--grey-line); }
.blog-menu > .blog-button { margin-top: 32px; padding: 14px 22px; font-size: 15px; }
.blog-no-script-nav { display: none; }
.blog-intro { padding-block: 96px 56px; display: flex; flex-direction: column; align-items: center; gap: 40px; }
.blog-intro > div:first-child { max-width: 720px; text-align: center; }
.blog-intro h1 { font-size: clamp(44px, 7vw, 72px); letter-spacing: -3.6px; line-height: 1.02; margin: 0 0 20px; text-wrap: balance; }
.blog-intro p { font-size: 18px; line-height: 1.6; color: var(--ink-72); margin: 0 auto; max-width: 52ch; }
.blog-pixels { display: grid; grid-template-columns: repeat(var(--pixel-columns), var(--pixel-size)); grid-auto-rows: var(--pixel-size); gap: var(--pixel-gap); }
.blog-pixels span { border-radius: 1px; }
.blog-listing { padding-bottom: 96px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.blog-card { min-width: 0; background: white; border: 1px solid var(--line); border-radius: 12px; padding: 24px 24px 0; display: flex; flex-direction: column; gap: 16px; overflow: hidden; transition: border-color .2s ease; }
.blog-card:hover { border-color: var(--dim); color: var(--ink); }
.blog-card h2 { font-size: 21px; letter-spacing: -.7px; line-height: 1.24; margin: 0; }
.blog-card-meta { font: 400 11px/normal var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.blog-card-art { margin: 8px -24px 0; height: 176px; flex-shrink: 0; background: linear-gradient(180deg, white 0%, #FFF4EC 100%); display: flex; align-items: center; justify-content: center; }
.blog-card-art-1 { background: linear-gradient(180deg, white 0%, #F4F4F1 100%); }
.blog-card-art-2 { background: linear-gradient(180deg, white 0%, #F7F7F7 100%); }
.blog-empty { padding: 40px 24px; background: white; border: 1px solid var(--line); border-radius: 12px; text-align: center; }
.blog-empty h2 { font-size: 30px; letter-spacing: -1.1px; }
.blog-empty p { line-height: 1.6; color: var(--ink-72); }
.blog-footer { position: relative; color: white; padding: 120px 32px 40px; overflow: hidden; }
.blog-footer-inner { position: relative; z-index: 1; width: 100%; max-width: 1056px; margin: 0 auto; display: flex; flex-direction: column; gap: 60px; }
.blog-footer-head { display: flex; flex-direction: column; gap: 22px; }
.blog-footer-head .blog-label { color: rgba(255,255,255,.9); }
.blog-footer h2 { font-size: 60px; line-height: 1.06; letter-spacing: -2.6px; color: white; max-width: 820px; text-wrap: balance; margin: 0; }
.blog-footer-divider { height: 1px; background: rgba(255,255,255,.35); }
.blog-footer-columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.blog-footer-columns > div { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.blog-footer-columns h3 { font-size: 19px; letter-spacing: -.5px; margin: 1.33em 0 8px; }
.blog-footer-columns a, .blog-footer-columns span { font-size: 15px; letter-spacing: -.28px; color: rgba(255,255,255,.88); }
.blog-footer a:hover { color: white; }
.blog-footer a:focus-visible { outline-color: white; }
.blog-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; font: 400 13px/normal var(--font-mono); letter-spacing: .02em; color: rgba(255,255,255,.9); }
.blog-footer-bottom > div { display: flex; align-items: center; gap: 24px; }
.blog-footer-bottom img { height: 20px; width: auto; display: block; }
.post-breadcrumb { padding-top: 28px; font: 400 11px/normal var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; }
.post-breadcrumb [aria-current] { color: var(--ink); }
.post-header { padding-top: 32px; }
.post-header-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.post-category { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-bottom: 22px; }
.meta-dot { width: 4px; height: 4px; background: var(--dim); border-radius: 1px; flex: 0 0 4px; }
.post-header h1 { font-size: clamp(32px, 5.2vw, 56px); letter-spacing: -2.8px; line-height: 1.05; margin: 0 0 22px; text-wrap: balance; }
.post-deck { font-size: 19px; line-height: 1.6; color: var(--ink-72); margin: 0 auto 28px; max-width: 60ch; }
.post-byline { display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: center; align-items: center; padding: 20px 0; border-block: 1px solid var(--line); }
.post-byline > div { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.post-byline img { width: 36px; height: 36px; border-radius: 999px; object-fit: cover; flex-shrink: 0; }
.post-byline strong { font-weight: 500; }
.post-layout { padding-top: 56px; display: flex; gap: 56px; align-items: flex-start; }
.post-toc { flex: 0 0 210px; position: sticky; top: 105px; }
.post-toc nav { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; margin-top: 14px; border-top: 1px solid var(--line); }
.post-toc a { font-size: 13px; line-height: 1.4; color: var(--muted); border-left: 2px solid transparent; padding-left: 14px; transition: color .2s ease, border-color .2s ease; }
.post-toc a[aria-current] { color: var(--ink); font-weight: 500; border-left-color: var(--orange); padding-left: 12px; }
.post-toc a:hover { color: var(--ink); }
.post-article { flex: 1 1 520px; min-width: 0; max-width: 720px; padding-bottom: 56px; }
.post-layout-no-toc { justify-content: center; }
.key-takeaways { background: var(--surface-grey); border: 1px solid var(--grey-line); border-radius: 12px; padding: 26px; margin-bottom: 48px; }
.key-takeaways ul { margin: 18px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.key-takeaways li { display: flex; gap: 14px; font-size: 15px; line-height: 1.6; color: var(--ink-78); }
.key-takeaways li::before { content: ''; width: 8px; height: 8px; background: var(--orange); border-radius: 1px; flex: 0 0 auto; margin-top: 7px; }
.post-prose { font-size: 17px; line-height: 1.7; color: var(--ink-78); overflow-wrap: anywhere; }
.post-prose h2, .post-faq > h2 { font-size: 30px; letter-spacing: -1.1px; line-height: 1.2; color: var(--ink); margin: 0 0 20px; }
.post-prose h3 { font-size: 21px; letter-spacing: -.7px; line-height: 1.25; color: var(--ink); }
.post-prose p { margin: 0 0 20px; }
.post-prose p:has(+ h2), .post-prose p:has(+ .post-definition) { margin-bottom: 32px; }
.post-prose p:has(+ .post-stats), .post-prose p:has(+ .post-table) { margin-bottom: 28px; }
.post-prose > p:last-child { margin-bottom: 48px; }
.post-prose a:not(.blog-button) { text-decoration: underline; text-underline-offset: 3px; }
.post-prose ul, .post-prose ol { padding-left: 24px; margin-bottom: 28px; }
.post-prose li + li { margin-top: 8px; }
.post-prose img { display: block; border-radius: 12px; }
.post-prose figure { margin: 32px 0; }
.post-prose figcaption, .post-prose .source-note { font: 400 11px/normal var(--font-mono); letter-spacing: .04em; color: var(--muted); margin: 0 0 40px; }
.post-prose blockquote, .post-definition { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 24px 26px; margin: 0 0 40px; line-height: normal; }
.post-prose blockquote p, .post-definition p { font-size: 15px; line-height: 1.65; margin: 10px 0 0; }
.post-definition strong { color: var(--ink); font-weight: 500; }
.post-prose pre { overflow-x: auto; padding: 24px; background: var(--surface-grey); border: 1px solid var(--line); border-radius: 12px; }
.post-prose code { font-family: var(--font-mono); font-size: .85em; }
.post-prose hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.post-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 24px; margin-bottom: 12px; }
.post-stats > div { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.post-stats strong { display: block; font: 500 36px/1 var(--font-sans); letter-spacing: -1.6px; color: var(--ink); }
.post-stats span { display: block; font-size: 14px; color: var(--ink-60); margin-top: 10px; line-height: 1.5; }
.post-inline-cta { background: #0F0F0F; border: 1px solid #1F1F1F; border-radius: 12px; padding: 32px; margin: 0 0 48px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.post-inline-cta h3 { margin: 0 0 8px; color: #FCFCFC; }
.post-inline-cta p { font-size: 15px; line-height: 1.6; color: rgba(252,252,252,.72); margin: 0; max-width: 44ch; }
.post-table { border: 1px solid var(--line); border-radius: 12px; overflow-x: auto; margin: 0 0 48px; background: white; }
.post-prose table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 14px; text-align: left; line-height: normal; }
.post-prose th { font: 500 11px/normal var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--surface-grey); }
.post-prose th:last-child { color: var(--ink); }
.post-prose th, .post-prose td { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.post-prose tr:last-child td { border-bottom: 0; }
.post-prose td:first-child { font-weight: 500; color: var(--ink); }
.post-prose td:nth-child(2) { color: var(--ink-60); }
.post-faq { border-top: 1px solid var(--line); padding-top: 40px; margin-bottom: 48px; }
.post-faq > h2 { margin-bottom: 24px; }
.post-faq details { background: var(--surface-grey); border: 1px solid var(--grey-line); border-radius: 12px; overflow: hidden; }
.post-faq details + details { margin-top: 12px; }
.post-faq summary { padding: 22px 24px; display: flex; gap: 12px; align-items: center; justify-content: space-between; cursor: pointer; font: 500 16px/normal var(--font-sans); letter-spacing: -.32px; list-style: none; }
.post-faq summary::-webkit-details-marker { display: none; }
.blog-faq-icon { width: 20px; height: 20px; background: var(--ink); border-radius: 4px; flex-shrink: 0; position: relative; display: flex; align-items: center; justify-content: center; }
.blog-faq-icon::before, .blog-faq-icon::after { content: ''; position: absolute; background: #FCFCFC; }
.blog-faq-icon::before { width: 10px; height: 1.5px; }
.blog-faq-icon::after { width: 1.5px; height: 10px; transition: opacity .2s ease; }
.post-faq details[open] .blog-faq-icon::after { opacity: 0; }
.faq-answer { padding: 0 24px 22px; margin: 0; font-size: 15px; line-height: 22px; letter-spacing: -.3px; color: rgba(20,20,20,.75); }
.post-related > h2 { display: block; padding-bottom: 14px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.post-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 24px; }
.blog-related-card { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 12px; min-height: 168px; min-width: 0; transition: border-color .2s ease; }
.blog-related-card:hover { color: var(--ink); border-color: var(--dim); }
.blog-related-card h3 { font-size: 17px; letter-spacing: -.5px; line-height: 1.28; margin: 0; }
.blog-related-card .blog-card-meta { margin-top: auto; }
.post-end-cta { padding-bottom: 96px; }
.post-end-panel { background: var(--ink); border-radius: 16px; padding: clamp(28px, 4vw, 64px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 32px; align-items: center; }
.post-end-panel h2 { font-size: clamp(26px, 3.4vw, 42px); letter-spacing: -1.6px; line-height: 1.1; margin: 16px 0 14px; color: #FCFCFC; text-wrap: balance; }
.post-end-panel p { font-size: 16px; line-height: 1.65; color: rgba(252,252,252,.72); margin: 0; max-width: 46ch; }
.post-end-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.blog-more-posts { font: 400 11px/normal var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(252,252,252,.72); }
.blog-more-posts:hover { color: #FCFCFC; }
@media (max-width: 960px) {
  .blog-desktop-nav, .blog-header-cta { display: none; }
  .blog-menu-toggle { display: flex; }
  .blog-no-script-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; padding: 16px; }
  .post-layout { flex-direction: column; gap: 40px; }
  .post-toc { position: static; flex: auto; width: 100%; max-width: 720px; margin-inline: auto; background: var(--surface-grey); border: 1px solid var(--grey-line); border-radius: 12px; padding: 22px 24px; }
  .post-toc nav { padding-top: 14px; margin-top: 0; border: 0; gap: 11px; }
  .post-toc a { font-size: 15px; color: var(--ink-72); border: 0; padding-left: 0; }
  .post-toc a[aria-current] { padding-left: 0; }
  .post-article { flex: auto; width: 100%; margin-inline: auto; }
}
@media (max-width: 600px) {
  /* The exported shared footer has four fixed columns. Stack them for its mobile frame. */
  .blog-footer { padding-top: 72px; }
  .blog-footer h2 { font-size: 40px; letter-spacing: -1.6px; }
  .blog-footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .blog-footer-inner { gap: 40px; }
  .blog-footer-bottom > div { flex-wrap: wrap; }
}
@media (max-width: 360px) { .post-end-actions .blog-button { white-space: normal; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
