:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #071a34; color: #f4f8ff; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(circle at 90% 0%, #123a69 0, transparent 30rem), #071a34; min-width: 320px; }
button, input { font: inherit; }
.shell { width: min(1160px, calc(100% - 2rem)); margin: 0 auto; }
.site-header { border-bottom: 1px solid #25466d; background: rgba(6, 24, 50, .92); position: sticky; top: 0; z-index: 3; backdrop-filter: blur(12px); }
.header-inner { min-height: 4.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: #fff; font-size: 1.05rem; font-weight: 900; letter-spacing: .04em; }
.brand span span { color: #35dd82; }
.brand-mark { width: 1.65rem; height: 1.65rem; border: 5px solid #35dd82; transform: rotate(45deg); box-shadow: 0 0 0 3px #0b2a50; }
.intro { padding: 3.6rem 0 2rem; }
.eyebrow { margin: 0 0 .45rem; color: #45e28b; text-transform: uppercase; letter-spacing: .11em; font-size: .75rem; font-weight: 800; }
h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.08; letter-spacing: 0; }
.intro > p:last-child { margin: .7rem 0 0; color: #b9cbe2; font-size: 1rem; }
.category-nav { display: grid; grid-template-columns: repeat(5, 1fr); gap: .75rem; }
.category-card { color: #dce9fa; background: #112e55; border: 1px solid #244873; border-radius: 6px; min-height: 7.25rem; padding: 1rem .5rem; cursor: pointer; display: grid; place-items: center; gap: .55rem; font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; transition: background .16s ease, transform .16s ease, border-color .16s ease; }
.category-card:hover, .category-card:focus-visible, .category-card.active { background: #174274; border-color: #4f8cca; outline: none; }
.category-card:hover { transform: translateY(-2px); }
.category-icon { width: 2.55rem; height: 2.55rem; object-fit: contain; }
.toolbar { display: flex; align-items: center; gap: 1rem; border-bottom: 1px solid #1c3b61; padding: 2rem 0 1.1rem; margin-bottom: 1rem; }
.search-field { flex: 1; display: flex; align-items: center; gap: .75rem; color: #7b9abe; padding: .7rem .25rem; }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; color: #fff; font-size: 1rem; }
.search-field input::placeholder { color: #7b9abe; }
#result-count { white-space: nowrap; margin: 0; color: #9bb2ce; font-size: .875rem; }
.item-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding-bottom: 3rem; }
.item-card { display: grid; grid-template-columns: minmax(7.2rem, .95fr) 1.05fr; overflow: hidden; min-height: 13.5rem; border: 1px solid #244873; border-radius: 6px; background: #0c294d; box-shadow: 0 9px 24px rgba(0,0,0,.16); }
.item-image-wrap { display: grid; place-items: center; background: radial-gradient(circle, #1d5488 0, #0c294d 66%); min-width: 0; padding: 1rem; }
.item-image { width: 100%; height: 9.5rem; object-fit: contain; filter: drop-shadow(0 .45rem .5rem rgba(0,0,0,.32)); }
.item-content { padding: 1.15rem 1rem 1rem; display: flex; min-width: 0; flex-direction: column; align-items: flex-start; }
.item-category { margin: 0 0 .35rem; color: #62e9a0; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.item-name { margin: 0; color: #fff; font-size: 1.1rem; line-height: 1.2; overflow-wrap: anywhere; }
.item-meta { margin: .5rem 0 1rem; color: #aec4df; font-size: .875rem; }
.get-button { margin-top: auto; display: inline-flex; justify-content: center; align-items: center; min-width: 100%; padding: .7rem .8rem; border-radius: 4px; background: #16bd55; border-bottom: 3px solid #0c8c3d; color: #fff; text-decoration: none; text-transform: uppercase; letter-spacing: .07em; font-size: .75rem; font-weight: 900; transition: background .16s ease, transform .16s ease; }
.get-button:hover, .get-button:focus-visible { background: #22d566; outline: 2px solid #b1ffcf; outline-offset: 2px; transform: translateY(-1px); }
.empty-state { color: #b9cbe2; text-align: center; padding: 4rem 1rem; }
.site-footer { position: relative; overflow: hidden; color: #bad0e4; background: #103852; padding: 5.6rem 0 1.35rem; }
.site-footer::before { content: ""; position: absolute; top: -1px; left: -5%; width: 110%; height: 2.2rem; background: #071a34; border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.footer-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(14rem, 1.6fr); gap: 2rem; padding-bottom: 3.4rem; }
.footer-column h2 { margin: 0 0 1rem; color: #fff; font-size: .85rem; font-weight: 800; }
.footer-column a { display: block; width: fit-content; margin: .55rem 0; color: #bad0e4; font-size: .82rem; text-decoration: none; }
.footer-column a:hover, .footer-column a:focus-visible, .footer-bottom a:hover, .footer-bottom a:focus-visible { color: #77f4aa; text-decoration: underline; text-underline-offset: 3px; }
.footer-feature { justify-self: end; max-width: 17rem; }
.footer-feature strong { color: #fff; font-size: 1.2rem; line-height: 1.2; }
.footer-feature p { margin: .7rem 0 0; font-size: .83rem; line-height: 1.65; }
.footer-feature .footer-note { color: #79e9aa; font-size: .72rem; font-weight: 700; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem 2rem; border-top: 1px solid rgba(185, 219, 239, .18); padding-top: 1.2rem; color: #a9c4d9; font-size: .73rem; line-height: 1.5; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #a9c4d9; text-decoration: none; }
.legal-main a { color: #73eab0; text-decoration: underline; text-underline-offset: 3px; }
.legal-main a:hover { color: #bcffda; }
.legal-main { min-height: 65vh; padding-top: 2.8rem; padding-bottom: 4rem; }
.legal-main article { max-width: 52rem; }
.legal-main h1 { margin-bottom: 1.5rem; }
.legal-main h2 { margin: 2rem 0 .6rem; font-size: 1.25rem; }
.legal-main p, .legal-main li { color: #c4d4e8; line-height: 1.7; }
.legal-main ul { padding-left: 1.35rem; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } .footer-feature { grid-column: 1 / -1; justify-self: start; max-width: 28rem; } }
@media (max-width: 430px) { .site-footer { padding-top: 4.4rem; } .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-bottom { flex-direction: column; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 760px) { .intro { padding-top: 2.5rem; } .category-nav { grid-template-columns: repeat(3, 1fr); } .category-card { min-height: 5.8rem; } .item-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; } .item-card { grid-template-columns: 1fr; min-height: 0; } .item-image-wrap { min-height: 10rem; } .item-content { min-height: 9.5rem; } }
@media (max-width: 430px) { .shell { width: min(100% - 1.25rem, 1160px); } .category-nav { gap: .5rem; } .category-card { font-size: .68rem; padding: .65rem .25rem; } .category-icon { width: 2rem; height: 2rem; } .toolbar { align-items: flex-start; flex-direction: column; gap: .1rem; padding-top: 1.25rem; } .item-grid { grid-template-columns: 1fr; } .item-card { grid-template-columns: 7.2rem 1fr; } .item-image-wrap { min-height: 100%; } .item-content { min-height: 10rem; } }
