/* Match the original Tailwind reset and the article's white background overlay. */
*, ::before, ::after { box-sizing: border-box; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; }
body { margin: 0; color: #000; font-family: 'Open Sans', ui-sans-serif, system-ui; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(255,255,255,.75), rgba(255,255,255,.9)), url('/bg.webp') center / cover no-repeat; }
a { color: inherit; text-decoration: none; }
h1, p { margin: 0; }
svg { display: block; }
:focus-visible { outline: 2px solid #eab308; outline-offset: 2px; }
.header { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 20px 16px; }
.brand { font-family: Raleway, sans-serif; font-size: 36px; line-height: 40px; font-weight: 500; }
.menu { position: absolute; right: 8px; top: 14px; z-index: 40; }
.menu summary { display: flex; justify-content: center; align-items: center; padding: 8px; cursor: pointer; border-radius: 6px; list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover { background: #f3f4f6; }
.menu summary svg { width: 32px; height: 32px; }
.menu-close { display: none; }
.menu[open] { top: 8px; right: 8px; width: 368px; max-width: calc(100% - 16px); padding: 20px 20px 24px; background: #fff; border-radius: 8px; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05), 0 0 0 1px rgba(0,0,0,.05); }
.menu[open] summary { width: fit-content; margin: 0 -8px 0 auto; color: #9ca3af; }
.menu[open] summary:hover { color: #4b5563; background: transparent; }
.menu[open] .menu-open { display: none; }
.menu[open] .menu-close { display: block; width: 24px; height: 24px; }
.menu nav { display: grid; gap: 28px; }
.menu nav a { display: flex; align-items: center; margin: -12px; padding: 12px 12px 12px 28px; border-radius: 8px; color: #111827; font-size: 20px; line-height: 28px; font-weight: 600; }
.menu nav a:hover { background: #f9fafb; }
.article-shell { position: relative; padding: 0 16px 64px; overflow: hidden; }
.article-heading, .prose { max-width: 65ch; margin-left: auto; margin-right: auto; font-size: 18px; }
.back { position: relative; left: -4px; display: flex; align-items: center; width: min-content; padding: 4px 8px 4px 4px; border-radius: 6px; color: #f59e0b; line-height: 28px; }
.back:hover { background: #f3f4f6; }
.back svg { width: 20px; height: 20px; flex-shrink: 0; }
h1 { margin-top: 16px; }
.eyebrow { display: block; color: #4b5563; font-size: 16px; line-height: 24px; text-align: center; font-weight: 600; letter-spacing: .025em; text-transform: uppercase; }
.article-title { display: block; margin-top: 8px; font-size: 30px; line-height: 32px; text-align: center; font-weight: 800; letter-spacing: -.025em; color: #111827; }
/* The original first image's collapsed 32px margin sets the heading gap. */
.prose { margin-top: 32px; color: #6b7280; line-height: 1.7777778; }
.prose p { margin-top: 1.3333333em; margin-bottom: 1.3333333em; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose a { color: #d97706; font-weight: 500; text-decoration: underline; overflow-wrap: break-word; }
.image-preview { display: block; margin-top: 1.7777778em; margin-bottom: 1.7777778em; background-size: 100% 100%; border-radius: 8px; overflow: hidden; }
.prose > p:first-child > .image-preview:first-child { margin-top: 0; }
.image-preview img { display: block; width: 100%; height: auto; margin: 0; border-radius: 8px; opacity: 1; transition: opacity .3s ease; }
.image-preview.pending img { opacity: 0; }
.image-preview.failed { background-image: none !important; }
.video-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.video-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 640px) {
  .header { padding-left: 24px; padding-right: 24px; }
  .menu:not([open]) { right: 16px; }
  .article-shell { padding-left: 24px; padding-right: 24px; }
  .article-title { font-size: 36px; line-height: 40px; }
}
@media (min-width: 768px) {
  .menu:not([open]) { top: 10px; }
  .menu summary svg { width: 40px; height: 40px; }
  .menu[open] .menu-close { width: 32px; height: 32px; }
}
@media (min-width: 1024px) { .article-shell { padding-left: 32px; padding-right: 32px; } }
@media (prefers-reduced-motion: reduce) { .image-preview img { transition: none; } }
/* The remaining pages use the original lighter background treatment. */
body { --overlay-top: .5; --overlay-bottom: 0; }
body::before { background-image: linear-gradient(to bottom, rgba(255,255,255,var(--overlay-top)), rgba(255,255,255,var(--overlay-bottom))), url('/bg.webp'); }
body.article-page, body.app-page { --overlay-top: .75; --overlay-bottom: .9; }
body.news-page { --overlay-top: .75; --overlay-bottom: .25; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .35; }
[hidden] { display: none !important; }
h2, h3 { margin: 0; }
.page-shell { position: relative; max-width: 1280px; margin: auto; padding: 32px 16px 80px; }
.page-heading { text-align: center; margin-bottom: 32px; }
.page-heading h1 { margin: 0; font: 800 36px/40px Raleway, sans-serif; letter-spacing: -.025em; color: #111827; }
.page-heading p { max-width: 672px; margin: 12px auto 0; font-size: 24px; line-height: 32px; color: #6b7280; }
.static-prose { max-width: 65ch; font-size: 16px; line-height: 1.75; margin-top: 0; color: #374151; }
.static-prose h2 { margin-top: 2em; margin-bottom: 1em; font-size: 24px; line-height: 1.3333; font-weight: 700; color: #111827; }
.static-prose h3 { margin-top: 1.6em; margin-bottom: .6em; font-size: 20px; line-height: 1.6; font-weight: 600; color: #111827; }
.static-prose p { margin-top: 1.25em; margin-bottom: 1.25em; }
.static-prose > div:first-child > h2:first-child { margin-top: 0; }
.prose strong { color: #111827; font-weight: 600; }
.prose blockquote { border-left: 4px solid #e5e7eb; padding-left: 1em; margin: 1.6em 0; color: #111827; font-weight: 500; font-style: italic; }
.prose ul, .prose ol { padding-left: 1.625em; margin: 1.3333em 0; }
.prose li { padding-left: .375em; margin: .6667em 0; }
.prose hr { border: 0; border-top: 1px solid #d1d5db; margin: 3em 0; }
.card-grid { max-width: 512px; margin: auto; display: grid; gap: 40px; }
.news-card { display: flex; flex-direction: column; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 15px -3px #0002, 0 4px 6px -2px #0001; scroll-margin: 20px; transition: transform .7s, box-shadow .7s; }
.news-card:hover, .album-cards > a:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px #0002, 0 10px 10px -5px #0001; }
.news-thumbnail { height: 192px; position: relative; }
.news-thumbnail .image-preview { margin: 0; width: 100%; height: 100%; max-width: none !important; border-radius: 0; }
.news-thumbnail img { height: 100%; object-fit: cover; border-radius: 0; }
.no-thumbnail { height: 100%; width: 100%; background: #374151; color: white; display: flex; align-items: center; justify-content: center; }
.no-thumbnail svg { width: 128px; height: 128px; }
.news-copy { background: white; padding: 24px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.news-copy > div:first-child { margin-top: 8px; max-height: 144px; display: flex; flex-direction: column; }
.news-copy h2 { font-size: 20px; line-height: 28px; font-weight: 600; color: #111827; }
.news-copy p { margin-top: 12px; font-size: 16px; line-height: 24px; color: #6b7280; min-height: 0; max-height: 96px; overflow: hidden; }
.news-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; font-size: 14px; line-height: 20px; color: #6b7280; gap: 8px; }
.news-footer > span { font-weight: 500; color: #eab308; }
.art-warning { display: flex; gap: 12px; background: #fffbeb; color: #b45309; padding: 16px; border-radius: 6px; margin: -8px 0 32px; font-size: 14px; line-height: 20px; }
.art-warning a { text-decoration: underline; }
.art-warning > span { color: #eab308; font-size: 20px; }
.art-warning button { align-self: flex-start; margin: -6px -6px 0 auto; padding: 6px; color: #eab308; background: transparent; border: 0; font-size: 24px; line-height: 20px; }
.album-cards > a { box-shadow: 0 10px 15px -3px #0002; transition: transform .7s, box-shadow .7s; }
.album-cards h2 { font-size: 20px; line-height: 28px; font-weight: 600; color: #111827; }
.album-cards .image-preview { margin: 0; aspect-ratio: 1 !important; max-width: none !important; }
.album-cards img { width: 100%; height: 100%; object-fit: fill; }
.album-heading, .album-grid { max-width: 1152px; margin: auto; font-size: 18px; }
.album-grid { display: grid; gap: 16px; margin-top: 32px; }
.thumbnail { display: block; min-width: 0; }
.thumbnail .image-preview { margin: 0; width: 100%; aspect-ratio: 1 !important; max-width: none !important; }
.thumbnail img { width: 100%; height: 100%; object-fit: fill; }
.photo-grid .image-preview { aspect-ratio: 378 / 284 !important; }
.art-examples { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.art-examples.mobile-cols-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
.art-examples .thumbnail { color: inherit; text-decoration: none; }
.home { text-align: center; padding: 64px 0; }
.home h1 { margin: 0; font: 800 48px/1 Raleway, sans-serif; }
.home-intro { margin: 20px auto 0; max-width: 1152px; padding: 0 12px; font-size: 18px; line-height: 28px; }
.attribution { margin-top: 20px; }
.portrait { width: 40px; height: 40px; margin: auto; border-radius: 50%; overflow: hidden; }
.portrait .image-preview { margin: 0; border-radius: 0; }
.attribution-copy { margin-top: 12px; font-size: 16px; line-height: 24px; font-weight: 500; color: #111827; }
.attribution-copy > span { display: block; }
.attribution-copy > span:last-child { color: #6b7280; }
.attribution-copy .attribution-slash { display: none; }
.home-carousel { --cards: 1; margin: 112px auto 0; max-width: 1280px; }
.carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-top: 12px; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > a { flex: 0 0 calc(100% / var(--cards)); min-width: 0; scroll-snap-align: start; padding: 0 8px; font-size: 18px; line-height: 28px; }
.carousel-track .image-preview { width: 224px; max-width: 100% !important; aspect-ratio: 224 / 320 !important; height: 320px; margin: 0 auto; border-radius: 0; }
.carousel-track img { width: 100%; height: 100%; object-fit: fill; border-radius: 0; }
.carousel-track > a > span { display: block; margin-top: 4px; }
.carousel-arrows { display: none; justify-content: flex-end; margin-right: 4px; }
.carousel-arrows button { border: 0; background: none; font-size: 48px; width: 40px; height: 40px; line-height: 32px; }
.carousel-arrows button:disabled { opacity: 1; }
.carousel-dots { display: flex; justify-content: center; gap: 0; margin-top: 12px; }
.carousel-dots button { width: 20px; height: 20px; padding: 0; border: 0; background: transparent; color: #0004; }
.carousel-dots button::before { content: '•'; }
.carousel-dots button[aria-current="true"] { color: #000c; }
@media (max-width: 639px) { .carousel-track { padding: 0 50px; scroll-padding-inline: 50px; } .carousel-track > a { flex-basis: 100%; } }
.app-shell { max-width: 1024px; margin: auto; padding: 32px; border-radius: 12px; background: #fff; }
.app-icon { width: 230px; max-width: 100%; margin: auto; }
.app-icon .image-preview, .app-stores .image-preview { margin: 0; border-radius: 0; }
.app-icon img, .app-stores img { border-radius: 0; }
.app-description { margin: 8px 0 0 20px; }
.app-description h1 { margin: 0; font-size: 30px; line-height: 36px; font-weight: 700; }
.app-company { font-size: 24px; line-height: 32px; color: #60a5fa; }
.app-platform { color: #9ca3af; margin-top: 4px; }
.app-stores { margin-top: 16px; display: flex; align-items: center; gap: 12px; }
.app-stores a { flex-shrink: 1; min-width: 0; }
.app-stores a:first-child { width: 165px; }
.app-stores a:last-child { width: 201.875px; }
.app-stores > a:first-child img { display: block; max-width: 100%; }
.app-screenshots, .app-scans { border-top: 2px solid #e5e7eb; margin-top: 36px; }
.app-shell h2 { margin-top: 24px; font-size: 20px; line-height: 28px; font-weight: 700; }
.screenshot-strip { display: flex; overflow-x: auto; gap: 24px; }
.screenshot-strip > div { width: 230px; flex-shrink: 0; margin-top: 12px; }
.screenshot-strip .image-preview { margin: 0; border-radius: 12px; }
.app-scans { margin-top: 44px; text-align: center; }
.app-scans h2 { margin-top: 32px; }
.app-scans > div { margin-top: 24px; }
.app-scans .image-preview { margin: 0 auto; border-radius: 0; }
.app-scans img { border-radius: 0; }
/* The original outer max-w-prose is 65ch at the body font size. */
.contact-shell { max-width: 65ch; }
.contact-shell > .image-preview { display: inline-block; width: 100%; margin: 0; border-radius: 0; } /* Preserve the original inline image baseline gap. */
.contact-shell > .image-preview img { border-radius: 0; }
#contact-form { display: grid; gap: 24px; margin-top: 32px; }
#contact-form label { display: block; font-size: 14px; line-height: 20px; font-weight: 500; color: #374151; }
#contact-form input, #contact-form textarea { width: 100%; display: block; background: #fff; border: 0 solid #d1d5db; border-radius: 6px; margin-top: 4px; padding: 12px 16px; box-shadow: 0 1px 2px rgb(0 0 0 / .05); }
#contact-form button { border: 1px solid transparent; border-radius: 6px; color: #fff; background: #f59e0b; padding: 12px 24px; font-weight: 500; box-shadow: 0 1px 2px rgb(0 0 0 / .05); }
#contact-form button:hover { background: #fbbf24; }
.form-feedback { border-radius: 6px; padding: 16px; margin-top: 32px; }
.form-feedback.error { color: #991b1b; background: #fef2f2; font-size: 14px; }
.form-feedback.success { color: #166534; background: #f0fdf4; font-weight: 500; }
.timeline { position: relative; max-width: 1170px; width: 95%; margin: auto; padding-bottom: 32px; }
.timeline::after, .timeline-item::after, .timeline-content::after { content: ""; display: table; clear: both; }
.timeline::before { content: ''; position: absolute; left: 18px; top: 0; bottom: 0; width: 4px; background: white; }
.timeline-item { position: relative; margin: 32px 0; }
.timeline-item:first-child { margin-top: 0; }
.timeline-item:last-child { position: absolute; padding-bottom: 60px; width: 100%; margin: 0; }
.timeline-icon { position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--timeline-color); color: white; box-shadow: 0 0 0 4px #fff, inset 0 2px 0 rgb(0 0 0 / .08), 0 3px 0 4px rgb(0 0 0 / .05); display: grid; place-items: center; }
.timeline-icon svg { width: 24px; height: 24px; }
.timeline-content { position: relative; margin-left: 60px; padding: 16px; background: var(--timeline-color); color: white; border-radius: 4px; box-shadow: 0 3px 0 #ddd; }
.timeline-content::before { content: ''; position: absolute; right: 100%; top: 16px; border: 7px solid transparent; border-right-color: var(--timeline-color); }
.timeline-content h2 { font-size: 16px; line-height: 24px; font-weight: 400; }
.timeline-content h2 + div { margin-top: 8px; }
.timeline-content h3 { font-size: 16px; font-weight: 600; line-height: 1.25; }
.timeline-content h3:nth-of-type(n+2) { margin-top: 12px; }
/* The library CSS loads after globals and sets these paragraph rules. */
.timeline-content p { margin: 1em 0 0; font-size: 13px; line-height: 1.6; font-weight: 500; }
.timeline-content ul { padding: 0; list-style: disc inside; margin: 0; }
.timeline-content a { text-decoration: underline; }
.timeline-date { display: inline-block; float: left; font-size: 13px; font-weight: 500; padding: .8em 0; opacity: .7; }
#lightbox { position: fixed; inset: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; border: 0; margin: 0; padding: 40px 45px; background: rgba(0,0,0,.9); color: #eee; overflow: hidden; }
#lightbox::backdrop { background: transparent; }
#lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox-image { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.lightbox-image .image-preview { margin: 0; max-height: 100%; width: auto; height: auto; background-size: contain; background-repeat: no-repeat; background-position: center; border-radius: 0; }
.lightbox-image img { max-width: calc(100vw - 90px); max-height: calc(100vh - 80px); width: auto; height: auto; object-fit: contain; border-radius: 0; }
#lightbox button { border: 0; color: #eee; background: transparent; }
.lightbox-close { position: absolute; right: 16px; top: 10px; font-size: 32px; }
.lightbox-prev, .lightbox-next { position: absolute; top: calc(50% - 24px); font-size: 40px; line-height: 48px; }
.lightbox-prev { left: 16px; } .lightbox-next { right: 16px; }
.lightbox-dots { position: absolute; bottom: 15px; left: 45px; right: 45px; display: flex; justify-content: center; flex-wrap: wrap; }
.lightbox-dots button { width: 20px; height: 20px; padding: 0; opacity: .6; }
.lightbox-dots button::before { content: '•'; }
.lightbox-dots button[aria-current="true"] { opacity: .95; }
.lightbox-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (min-width: 640px) {
 .page-shell { padding-left: 24px; padding-right: 24px; }
 .page-heading { margin-bottom: 56px; }
 .page-heading h1 { font-size: 48px; line-height: 1; }
 .page-heading p { margin-top: 16px; }
 .album-grid { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 56px; }
 .home-carousel { --cards: 2; }
 .app-intro { display: flex; }
 .app-icon { flex-shrink: 0; margin: 0; }
 #contact-form { grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 32px; }
 .form-wide { grid-column: span 2; }
}
@media (min-width: 768px) {
 .timeline-content h2 { font-size: 20px; line-height: 30px; }
 .timeline-content p { font-size: 16px; }
 .timeline-date { font-size: 14px; }
 .home { padding-bottom: 0; }
 .home h1 { font-size: 60px; }
 .home-intro { font-size: 20px; }
 .attribution { display: flex; justify-content: center; align-items: center; }
 .portrait { margin: 0; flex-shrink: 0; }
 .attribution-copy { display: flex; align-items: center; margin: 0 0 0 16px; }
 .attribution-copy .attribution-slash { display: block; margin: 0 4px; }
 .home-carousel { --cards: 3; margin-top: 40px; }
 .album-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
 .art-examples.cols-3 { grid-template-columns: repeat(3,minmax(0,1fr)); }
 .art-examples.cols-4 { grid-template-columns: repeat(4,minmax(0,1fr)); }
 .art-warning { margin-top: -20px; margin-bottom: 64px; }
}
@media (min-width: 1024px) {
 .page-shell { padding: 80px 32px 112px; }
 .card-grid { max-width: none; grid-template-columns: repeat(3,minmax(0,1fr)); }
 .home-carousel { --cards: 4; }
}
@media (min-width: 1170px) {
 .timeline { width: 90%; }
 .timeline::before { left: calc(50% - 2px); }
 .timeline-item { margin: 64px 0; }
 .timeline-icon { left: calc(50% - 30px); width: 60px; height: 60px; }
 .timeline-content { margin: 0; padding: 24px; width: 44%; }
 .timeline-content::before { left: 100%; right: auto; top: 24px; border-right-color: transparent; border-left-color: var(--timeline-color); }
 .timeline-item:nth-child(even) .timeline-content { margin-left: 56%; }
 .timeline-item:nth-child(even) .timeline-content::before { left: auto; right: 100%; border-left-color: transparent; border-right-color: var(--timeline-color); }
 .timeline-date { position: absolute; top: 6px; left: 124%; width: 100%; font-size: 16px; color: black; }
 .timeline-item:nth-child(even) .timeline-date { left: auto; right: 124%; text-align: right; }
}
@media (min-width: 1280px) { .home-carousel { --cards: 5; } .carousel-arrows { display: flex; } }
@media (prefers-reduced-motion: reduce) { *, ::before, ::after { scroll-behavior: auto !important; transition: none !important; } }
