/* Shared presentation rules are kept here for use by the page and future routes. */
:root { color-scheme: light; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: 'Inter', system-ui, sans-serif; background-color: #F8FBFF; color: #10243A; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
.font-display { font-family: 'Fraunces', Georgia, serif; font-optical-sizing: auto; }
.hairline { border-color: rgba(32, 32, 30, .10); }
.lottie-box svg { width: 100%; height: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

.blog-page { background: #f8fbff; color: #10243a; }
.blog-nav, .blog-footer { display: flex; align-items: center; justify-content: space-between; max-width: 76rem; margin: 0 auto; padding: 1.4rem clamp(1.25rem, 4vw, 3rem); }
.blog-nav { border-bottom: 1px solid rgba(16,36,58,.1); }
.blog-brand { color: #10243a; font-size: 1.4rem; text-decoration: none; letter-spacing: -.045em; }
.blog-home, .blog-footer a, .back-link { color: #0a66c2; font-size: .9rem; font-weight: 600; text-decoration: none; }
.blog-home:hover, .blog-footer a:hover, .back-link:hover, .post-card a:hover, .featured-post a:hover { text-decoration: underline; text-underline-offset: .18em; }
.blog-hero { max-width: 52rem; margin: 0 auto; padding: clamp(4rem, 10vw, 8rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem); text-align: center; }
.blog-eyebrow, .post-category { margin: 0; color: #0a66c2; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.blog-hero h1 { max-width: 44rem; margin: 1rem auto; font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 300; line-height: .98; letter-spacing: -.055em; }
.blog-hero > p:last-child { max-width: 38rem; margin: 1.5rem auto 0; color: #53677b; font-size: clamp(1rem, 2vw, 1.15rem); line-height: 1.7; }
.blog-posts { max-width: 76rem; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem) 6rem; }
.featured-post { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; padding: clamp(2rem, 5vw, 4rem); border: 1px solid #cddfec; border-radius: 2rem; background: linear-gradient(135deg, #ffffff, #eaf4fc); box-shadow: 0 18px 50px rgba(16,36,58,.08); }
.featured-post h2, .post-card h2 { margin: .75rem 0 1rem; font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 300; line-height: 1.03; letter-spacing: -.045em; }
.post-card h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.featured-post h2 a, .post-card h2 a { color: #10243a; text-decoration: none; }
.post-description, .article-description { margin: 0; color: #53677b; font-size: 1.05rem; line-height: 1.7; }
.featured-post .post-description { grid-column: 1; }
.post-meta { display: flex; gap: .5rem; margin: 1.5rem 0; color: #61798d; font-size: .85rem; }
.post-link { color: #0a66c2; font-size: .9rem; font-weight: 600; text-decoration: none; }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.post-card { min-height: 18rem; padding: 2rem; border: 1px solid rgba(16,36,58,.12); border-radius: 1.5rem; background: #fff; }
.post-card .post-link { display: inline-block; margin-top: .5rem; }
.blog-footer { border-top: 1px solid rgba(16,36,58,.1); color: #61798d; }
.article { width: min(100% - 2.5rem, 48rem); margin: 0 auto; padding: clamp(4rem, 9vw, 7rem) 0; }
.article article { max-width: 42rem; margin: 0 auto; }
.article .post-category { margin-top: 3rem; }
.article h1 { margin: .8rem 0 1.25rem; font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 300; line-height: 1; letter-spacing: -.055em; }
.article-description { font-size: clamp(1.1rem, 2.5vw, 1.35rem); }
.article-content { margin-top: 3rem; font-size: 1.1rem; line-height: 1.85; }
.article-content p + p { margin-top: 1.6rem; }
.blog-error { padding: 2rem 0; color: #53677b; }
@media (max-width: 680px) { .featured-post, .post-grid { grid-template-columns: 1fr; } .featured-post .post-description { grid-column: auto; } .featured-post { border-radius: 1.4rem; } }
