/* Storefront stylesheet – mobile-first, system fonts, no external resources.
   Contrast: body text #1a1a1a on #fff = 16.7:1; links #0b5cad on #fff = 6.4:1;
   muted text #555 on #fff = 7.5:1. All ≥ 4.5:1. */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
  color: #1a1a1a;
  background: #fff;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 0 1rem; }

/* --- Header / nav --- */
.site-header {
  border-bottom: 1px solid #e0e0e0;
  background: #fff;
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.brand {
  font-weight: 700;
  font-size: 1.2rem;
  color: #1a1a1a;
  text-decoration: none;
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: #0b5cad;
  text-decoration: none;
  font-size: 0.95rem;
}
.site-nav a:hover, .site-nav a:focus { text-decoration: underline; }

/* --- Main content --- */
main.wrap { padding-top: 2rem; padding-bottom: 3rem; min-height: 60vh; }

h1 { font-size: 1.75rem; line-height: 1.2; margin: 0 0 0.5rem; }
h2 { font-size: 1.35rem; line-height: 1.3; margin: 2rem 0 0.75rem; }
h3 { font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }

a { color: #0b5cad; text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

/* --- Home / product grid --- */
.hero { text-align: center; padding: 2rem 0 1rem; }
.hero h1 { font-size: 2.2rem; }
.lede { font-size: 1.1rem; color: #444; max-width: 38ch; margin: 0 auto; }

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
}
@media (min-width: 480px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1.25rem;
  background: #fff;
}
.card h3 { margin-top: 0; }
.card .price { font-weight: 600; color: #1a1a1a; }

/* --- Product page --- */
.product .pitch { font-size: 1.1rem; color: #333; margin-bottom: 1.5rem; }

.gallery-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 480px) { .gallery-list { grid-template-columns: repeat(2, 1fr); } }
.gallery-list img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
}

.includes-list { padding-left: 1.25rem; }
.includes-list li { margin-bottom: 0.4rem; }

.buy-box {
  background: #f7f9fc;
  border: 1px solid #d8e2ef;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: center;
}
.buy-box .price { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.75rem; }

.btn {
  display: inline-block;
  background: #0b5cad;
  color: #fff;
  padding: 0.7rem 1.6rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
}
a.btn:hover, a.btn:focus { background: #094a8e; text-decoration: none; }

.refund-note { font-size: 0.95rem; color: #333; margin-top: 1rem; }

.faq dt { font-weight: 600; margin-top: 1.25rem; }
.faq dd { margin: 0.25rem 0 0; }

.ai-disclosure {
  font-size: 0.85rem;
  color: #444;
  border-top: 1px solid #e0e0e0;
  padding-top: 1rem;
  margin-top: 2rem;
}

/* --- Static content pages --- */
.page h1 { margin-bottom: 1rem; }
.page p, .page li { max-width: 65ch; }

/* --- Footer --- */
.site-footer {
  border-top: 1px solid #e0e0e0;
  padding: 1.5rem 0 2rem;
  font-size: 0.9rem;
  color: #444;
}
.footer-inner { text-align: center; }

/* --- 404 --- */
.error { text-align: center; padding: 3rem 0; }

/* --- Utility / a11y --- */
.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;
}
:focus-visible { outline: 2px solid #0b5cad; outline-offset: 2px; }
