:root { color-scheme: light; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.7; color: #182c46; background: #f4f7fb; }
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #1555a1; text-underline-offset: .2em; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: .15em; }
a:focus-visible { outline: 3px solid #1555a1; outline-offset: 5px; border-radius: 2px; }
.site-header, main, .site-footer { width: min(100% - 3rem, 70rem); margin-inline: auto; }
.site-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem 2rem; padding-block: 1.5rem; border-bottom: 1px solid #c5d3e3; }
.brand { font-size: 1.4rem; font-weight: 750; text-decoration: none; color: #102d52; }
.brand span { display: block; font-size: .8rem; font-weight: 500; color: #4c6179; }
nav { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; }
nav a { padding-block: .35rem; }
nav [aria-current="page"] { font-weight: 750; text-decoration-thickness: .15em; }
main { padding-block: 3rem 4rem; }
h1, h2, h3 { line-height: 1.2; color: #102d52; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 5vw, 3.7rem); letter-spacing: -.035em; margin: 0 0 1.5rem; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-top: 2.5rem; }
h3 { font-size: 1.15rem; }
p { margin-block: 0 1.2rem; }
.lead { font-size: 1.15rem; color: #3b526c; max-width: 47rem; }
.eyebrow { font-size: .8rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: #1555a1; }
.hero { padding-block: .5rem 1.5rem; }
.hero > p { max-width: 52rem; }
.hero > .notice { max-width: 54rem; margin-bottom: .5rem; }
.hero .actions { margin-block: 1.75rem; }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-block: 1.75rem; }
.button { display: inline-block; background: #164f94; color: #fff; padding: .75rem 1.25rem; border-radius: .5rem; text-decoration: none; font-weight: 650; }
.button:hover { background: #103e76; }
.button.secondary { color: #164f94; background: #e3edf9; }
.notice { padding: 1.25rem 1.5rem; background: #e3edf9; border-left: 4px solid #2464b3; border-radius: .3rem; }
.notice p:last-child { margin-bottom: 0; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-block: 1.5rem; }
.feature { background: #fff; border: 1px solid #d0dcea; border-radius: .75rem; padding: 1.5rem; }
.feature h3 { margin-top: 0; }
.feature p { margin-bottom: 0; }
.prose { max-width: 52rem; }
.prose h1 { font-size: clamp(2rem, 5vw, 3rem); }
.site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-block: 2rem; border-top: 1px solid #c5d3e3; font-size: .9rem; }
.site-footer p { margin: 0; }
.skip-link { position: absolute; top: -8rem; left: 1rem; padding: .75rem 1rem; background: white; z-index: 1; }
.skip-link:focus { top: 1rem; }
@media (max-width: 48rem) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 32rem) { .features { grid-template-columns: 1fr; } .site-header, main, .site-footer { width: calc(100% - 2rem); } main { padding-top: 2rem; } }

[hidden] { display: none !important; }
button { font: inherit; cursor: pointer; }
button:focus-visible { outline: 3px solid #1555a1; outline-offset: 4px; }
.screenshot-gallery { margin: 2.5rem 0; }
.screenshot-gallery > h2 { font-size: 1.15rem; margin: 0 0 .85rem; }
.screenshot-link { display: block; aspect-ratio: 3 / 2; border-radius: .6rem; overflow: hidden; background: #17181c; box-shadow: 0 .6rem 1.8rem #102d5218; text-decoration: none; cursor: zoom-in; }
/* Preview-only crop: retain the top controls; the dialog uses the full original. */
.screenshot-link img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.gallery-controls { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin: 0 0 1rem; }
.gallery-controls button { min-height: 44px; padding: .5rem .25rem; border: 0; border-bottom: 3px solid transparent; border-radius: 0; color: #3b526c; background: transparent; }
#dialog-close { min-height: 44px; padding: .6rem 1rem; border: 1px solid #a9bdd4; border-radius: .5rem; color: #164f94; background: #fff; }
.gallery-controls button:hover { background: #e3edf9; }
.gallery-controls [aria-pressed="true"] { color: #164f94; border-bottom-color: #164f94; font-weight: 700; }
.gallery-panel { margin: 0; }
.gallery-panel figcaption { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: .5rem 2rem; margin-top: 1rem; color: #3b526c; font-size: .95rem; }
.gallery-panel figcaption h3 { font-size: 1rem; margin: 0 0 .25rem; }
.gallery-panel figcaption p { margin-bottom: 0; min-height: 3.4em; }
.showcase-hint { color: #4c6179; font-size: .8rem; }
#screenshot-dialog { width: min(96vw, 92rem); max-width: 96vw; max-height: 94dvh; padding: 1rem; border: 1px solid #c5d3e3; border-radius: .75rem; background: #f4f7fb; color: #182c46; }
#screenshot-dialog::backdrop { background: #071526d9; }
.dialog-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.dialog-toolbar h2 { font-size: 1.15rem; margin: 0; }
#dialog-image { display: block; max-width: 100%; max-height: 72dvh; width: auto; height: auto; margin-inline: auto; object-fit: contain; }
#dialog-caption { font-size: .9rem; margin: 1rem 0 0; }
.screenshot-open { overflow: hidden; }
@media (max-width: 32rem) { .gallery-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem .75rem; } .gallery-controls button { text-align: left; } .gallery-panel figcaption { grid-template-columns: minmax(0, 1fr); } .gallery-panel figcaption p { min-height: 6.8em; } .actions { gap: .65rem; margin-block: 1.25rem; } #screenshot-dialog { padding: .75rem; } }
