html { scroll-behavior: smooth; }
body { font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
button, [role="button"] { cursor: pointer; }
:focus-visible { outline: 3px solid #10b981; outline-offset: 3px; }
section[id] { scroll-margin-top: 6.5rem; }
.lift-card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
@media (hover: hover) and (pointer: fine) {
  .lift-card:hover { transform: translateY(-4px); border-color: #10b981; box-shadow: 0 14px 30px rgb(15 39 68 / .1); }
  .ticker-track:hover { animation-play-state: paused; }
}
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-track { animation: ticker 36s linear infinite; }
.hero-photo { opacity: 0; transition: opacity 2.2s ease-in-out; }
.hero-photo.is-active { opacity: 1; }
.hero-photo img { transform: scale(1.04); }
.hero-photo.is-active img { animation: hero-ken 9s ease-in-out both; }
@keyframes hero-ken { from { transform: scale(1.04); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .lift-card { animation: none; transition: none; }
  .hero-photo { transition: none; }
  .hero-photo img, .hero-photo.is-active img { animation: none; transform: none; }
}
.panel { display: none; }
.panel.on { display: block; }

/* Blog content typography and responsive behavior */
.blog-content { color: #334155; font-size: 1.0625rem; line-height: 1.9; overflow-wrap: anywhere; }
.blog-content > * + * { margin-top: 1.15em; }
.blog-content h2 { margin-top: 2em; color: #0f2744; font-size: clamp(1.4rem, 2.5vw, 1.85rem); font-weight: 800; line-height: 1.3; }
.blog-content h3 { margin-top: 1.7em; color: #0f2744; font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; line-height: 1.4; }
.blog-content p { margin-top: 1em; }
.blog-content ul, .blog-content ol { margin: 1em 0; padding-left: 1.5em; }
.blog-content ul { list-style: disc; }
.blog-content ol { list-style: decimal; }
.blog-content li + li { margin-top: .4em; }
.blog-content a { color: #047857; text-decoration: underline; text-underline-offset: 3px; }
.blog-content blockquote { margin: 1.5em 0; border-left: 4px solid #10b981; padding: .5em 1em; background: #f8fafc; color: #475569; }
.blog-content img { max-width: 100%; height: auto; border-radius: 1rem; }
.blog-content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; }
.blog-content th, .blog-content td { border: 1px solid #e2e8f0; padding: .65rem .8rem; text-align: left; }
.blog-content th { background: #f8fafc; color: #0f2744; }
.blog-content pre, .blog-content code { max-width: 100%; overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 640px) { .blog-content { font-size: 1rem; line-height: 1.8; } }
