:root {
  --bg: #1f1f21;
  --bg-contrast: #2b2b2e;
  --fg: #ffffff;
  --lime: #e3fc02;
  --aqua: #00fced;
  --badge-bg: #1f1f21;
  --font-body: "Figtree", system-ui, sans-serif;
  --font-heading: "Oswald", "Arial Narrow", sans-serif;
  --max: 1200px;
  --radius: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lime); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }

.demo-banner {
  background: var(--aqua);
  color: #000;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
}

.announcement-bar {
  background: var(--lime);
  color: #000;
  text-align: center;
  padding: 0.65rem 1rem;
}
.announcement-bar__message {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
}
.logo img { width: 110px; height: auto; }
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: 0;
  padding: 0.35rem;
  color: var(--fg);
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
}
.nav-desktop { display: none; gap: 1.25rem; justify-content: center; }
.nav-desktop a {
  color: var(--fg);
  font-size: 0.95rem;
  text-decoration: none;
}
.nav-desktop a.is-active { text-decoration: underline; text-underline-offset: 4px; }
.nav-desktop a:hover { color: var(--lime); }
.chev { font-size: 0.7em; opacity: 0.8; }
.header-icons { display: flex; align-items: center; gap: 0.35rem; }
.icon-btn {
  background: none;
  border: 0;
  color: var(--fg);
  padding: 0.4rem;
  position: relative;
}
.icon-btn:hover { color: var(--lime); }
.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--lime);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 1rem;
  height: 1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  line-height: 1;
}
.nav-mobile {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 1rem 1rem;
  gap: 0.75rem;
  background: var(--bg-contrast);
}
.nav-mobile a { color: var(--fg); }
.nav-mobile[hidden] { display: none !important; }

.hero {
  display: grid;
  grid-template-columns: 1fr;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1rem 2rem;
  gap: 1.5rem;
  align-items: center;
}
.hero-content h1 {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.75rem, 5vw, 3rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  letter-spacing: 0.01em;
}
.hero-tagline {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  opacity: 0.95;
}
.btn-shop {
  display: inline-block;
  background: var(--lime);
  color: #1f1f21;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 1.75rem;
  border: 0;
}
.btn-shop:hover { filter: brightness(1.05); text-decoration: none; }
.hero-media {
  overflow: hidden;
  background: var(--bg-contrast);
}
.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.products { padding: 1rem 0 3rem; }
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
}
.section-heading {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin: 0 0 1.25rem;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 0.85rem;
}
.product-card { color: inherit; }
.product-card a { color: inherit; text-decoration: none; }
.product-card a:hover .product-title { text-decoration: underline; }
.product-media {
  position: relative;
  background: #fff;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 0.65rem;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.sold-out-badge {
  position: absolute;
  left: 0.5rem;
  bottom: 0.5rem;
  background: var(--badge-bg);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
}
.product-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  margin: 0 0 0.25rem;
  line-height: 1.25;
}
.product-price {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.95;
}
.product-card.is-sold .product-media { opacity: 0.92; }
.product-card .add-demo {
  margin-top: 0.5rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--fg);
  padding: 0.4rem 0.65rem;
  font-size: 0.75rem;
  width: 100%;
}
.product-card .add-demo:hover { border-color: var(--lime); color: var(--lime); }
.product-card .add-demo:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  border-color: rgba(255,255,255,0.15);
  color: inherit;
}

.info-band {
  background: var(--bg-contrast);
  padding: 2.5rem 0;
}
.info-grid {
  display: grid;
  gap: 1.5rem;
}
.info-grid h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  margin: 0 0 0.5rem;
  color: var(--lime);
}
.info-grid p { margin: 0; opacity: 0.9; font-size: 0.95rem; }

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.footer-brand p { margin: 0.75rem 0 0; opacity: 0.85; }
.footer-meta { opacity: 0.7; font-size: 0.85rem; }
.footer-demo { color: var(--aqua); font-weight: 700; }

.modal[hidden] { display: none !important; }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.65); }
.modal-panel {
  position: relative;
  background: var(--bg);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 1.5rem;
  max-width: 22rem;
  width: calc(100% - 2rem);
  text-align: center;
}
.modal-panel h2 {
  font-family: var(--font-heading);
  margin: 0 0 0.75rem;
}

@media (min-width: 750px) {
  .menu-toggle { display: none; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .nav-desktop { display: flex; }
  .logo img { width: 130px; }
  .hero {
    grid-template-columns: 1fr 1fr;
    padding: 2.5rem 1.5rem 3rem;
    gap: 2rem;
  }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem 1.25rem;
  }
  .info-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-end; }
}

@media (min-width: 990px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}
