
:root{--bg:#ffffff;--fg:#111827;--accent:#0f62fe;--muted:#6b7280}
html,body{height:100%}
body{font-family: system-ui,Segoe UI,Roboto,Arial,sans-serif;color:var(--fg);background:var(--bg);margin:0;padding:0;line-height:1.5}
.container{max-width:900px;margin:0 auto;padding:1rem}
.site-header{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 1rem;border-bottom:1px solid #eee;background:#fff}
.site-header .wordmark{font-weight:700;font-size:1.05rem;letter-spacing:0.4px;color:var(--fg)}
.main-nav{display:flex;gap:1rem;align-items:center}
.main-nav a{color:var(--fg);text-decoration:none;font-weight:600;padding:.25rem .35rem;border-radius:4px}
.main-nav a:hover,.main-nav a:focus{background:#f3f4f6;outline:none}
.main-nav a:focus{outline:2px dashed var(--accent);outline-offset:3px}
main{padding:1rem}
.product{border:1px solid #e6e6e6;padding:1rem;margin-bottom:1rem;border-radius:8px;background:#fff;box-shadow:0 1px 2px rgba(16,24,40,0.03)}
.product .meta{font-size:.9rem;color:var(--muted);margin-top:0}

/* Hero */
.hero{background:linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);padding:3rem 0}
.hero .hero-inner{display:flex;flex-direction:column;gap:1rem;max-width:900px;margin:0 auto;padding:0 1rem}
.hero h1{font-size:2rem;line-height:1.05;margin:0;color:var(--fg)}
.hero p.lead{font-size:1.05rem;color:#374151;margin:0}
.hero .hero-actions{margin-top:1rem;display:flex;gap:.75rem}
.btn{display:inline-block;padding:.6rem .9rem;border-radius:6px;text-decoration:none;font-weight:700}
.btn-primary{background:var(--accent);color:#fff}
.btn-outline{border:1px solid #e6e6e6;background:#fff;color:var(--fg)}

/* Products grid */
.products-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.product-card{padding:1rem;border-radius:8px;background:#fff;border:1px solid #e6e6e6;display:flex;flex-direction:column;justify-content:space-between;min-height:160px}
.product-card h3{margin:.25rem 0 0;font-size:1.1rem}
.product-card .category{font-size:.85rem;color:var(--muted)}
.product-card .desc{margin-top:.5rem;color:#374151}
.product-card .meta{margin-top:.75rem;font-size:.85rem;color:var(--muted)}
.site-footer{border-top:1px solid #eee;padding:1rem 0;margin-top:2rem}
.footer-inner{display:flex;justify-content:space-between;align-items:center}
.footer-links a{margin-left:1rem;color:var(--muted);text-decoration:none}

/* Responsive adjustments */
@media (max-width:900px){
	.products-grid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:600px){
	.main-nav{flex-direction:row;gap:.5rem;font-size:.95rem}
	.footer-inner{flex-direction:column;gap:.5rem;align-items:flex-start}
	.products-grid{grid-template-columns:1fr}
	.hero h1{font-size:1.5rem}
}

/* Mobile header: place wordmark on its own row and nav beneath it */
@media (max-width:430px){
	.site-header{flex-direction:column;align-items:stretch;padding:.75rem 1rem}
	.site-header .wordmark{display:block;width:100%;font-weight:700;font-size:clamp(20px,7.5vw,26px);margin-bottom:.35rem;line-height:1.05}
	.main-nav{width:100%;display:flex;justify-content:space-between;gap:.25rem;flex-wrap:nowrap}
	.main-nav a{flex:1;text-align:center;padding:.35rem .25rem;font-size:.95rem}
}

/* Accessibility helpers */
a:focus-visible{outline:3px solid #ffd54f;outline-offset:2px}
*{box-sizing:border-box}

