/* Reset & base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
:root {
  --olive: #3c5e20;
  --olive-dark: #2a4b14;
  --surface: rgba(255,255,255,.14);
  --surface-soft: rgba(255,255,255,.10);
  --bg: #0b0f0a;
  --text: #eaf7e2;
  --muted: #b9d6b5;
  --accent: #a7d129;
  --shadow: 0 8px 24px rgba(0,0,0,.25);
  --radius: 14px;
}
html { font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  /* white geometric pattern background (light tiles) */
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.08) 25%, transparent 25%),
    linear-gradient(315deg, rgba(255,255,255,.08) 25%, transparent 25%);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Focus accessibility for keyboard users */
:focus-visible { outline: 3px solid #b5e4a8; outline-offset: 2px; }

/* Hero header (clear hero section) */
header {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 2rem 1rem;
  position: relative;
  isolation: isolate;
}
header::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(255,255,255,.20) 0 25%, transparent 30%),
              radial-gradient(circle at 80% 60%, rgba(255,255,255,.08) 0 25%, transparent 30%);
  mix-blend-mode: overlay;
  pointer-events: none;
}
header > h1 {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-size: clamp(1.8rem, 6vw, 3rem);
  text-align: center;
  color: #f6fbe8;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  text-shadow: 0 1px 0 rgba(0,0,0,.25);
}

/* Main content & image frame */
main { display: block; padding: 1rem; }
article { max-width: 900px; margin: 0 auto; padding: 0 1rem; }

/* Image frame with frosted-glass look */
.image-frame {
  margin: 2rem auto 0;
  width: min(720px, 92%);
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.28);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Footer with product ad (CTA style) */
footer {
  margin-top: 2rem;
  padding: 1.5rem;
  display: grid;
  gap: .75rem;
  justify-items: center;
  text-align: center;
  color: var(--muted);
}
.product-ad {
  display: inline-block;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.product-ad h3 { margin: 0 0 .5rem; font-size: 1.05rem; color: #eafbe8; }
.product-ad a {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1rem;
  border-radius: 999px;
  color: #eaffea;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(82,161,72,.25), rgba(27,49,15,.25));
  border: 1px solid rgba(255,255,255,.35);
  transition: transform .15s ease, background .2s ease;
}
.product-ad a:hover { transform: translateY(-1px); }
.product-ad a:focus-visible { outline: 3px solid #b5e4a8; outline-offset: 2px; }

/* CTA buttons (prominent, accessible) */
a.btn, .btn {
  display: inline-block;
  padding: .75rem 1.25rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.16);
  color: #fafff5;
  text-decoration: none;
  font-weight: 600;
  transition: transform .15s ease, background .2s ease;
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
}
a.btn:hover, .btn:hover { transform: translateY(-1px); background: rgba(255,255,255,.22); }
a.btn:focus-visible, .btn:focus-visible { outline: 3px solid #b6f2c3; outline-offset: 2px; }

/* Responsive adjustments (mobile-first) */
@media (min-width: 720px) {
  header { min-height: 70vh; padding: 4rem 1rem; }
  article { padding: 0 2rem; }
  .image-frame { width: 60%; }
  header > h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
}
