/* Reset and base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
html { font-size: 16px; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: #eaeaea;
  line-height: 1.5;
  background-color: #111;
  /* white checkerboard background (subtle on dark base) */
  background-image:
    linear-gradient(45deg, #ffffff 25%, transparent 25%),
    linear-gradient(-45deg, #ffffff 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #f0f0f0 75%),
    linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
  background-size: 28px 28px;
  background-position: 0 0, 0 14px, 14px -14px, -14px 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* Layout: mobile-first, hero center with frosted glass image frame */
main {
  display: grid;
  place-items: center;
  min-height: calc(100dvh - 5px);
  padding: 2rem 1rem;
}
.image-frame {
  position: relative;
  width: min(92vw, 720px);
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 14px 40px rgba(0,0,0,.45);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 120px rgba(255, 140, 0, 0.15);
  mix-blend-mode: screen;
}

/* Footer / CTA area (CTA styled as prominent orange button in a frosted panel) */
footer {
  padding: 16px 0 28px;
  width: 100%;
  display: grid;
  place-items: center;
  color: #d6d6d6;
}
.product-ad {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  align-items: flex-start;
  padding: .75rem;
  width: min(92%, 700px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 22px rgba(0,0,0,.25);
}
.product-ad h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: #f7f7f7;
}
.product-ad a p {
  margin: 0;
  padding: .65rem 1rem;
  background: #ff7a00;
  color: #111;
  border-radius: 999px;
  font-weight: 800;
  display: inline-block;
  box-shadow: 0 6px 14px rgba(255,124,0,.5);
  transition: transform .15s ease, box-shadow .15s ease;
}
.product-ad a p:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(255,124,0,.6);
}
footer p {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: #c8c8c8;
  text-align: center;
}

/* Accessibility: focus styles */
:focus-visible {
  outline: 3px solid var(--orange, #ff7a00);
  outline-offset: 2px;
  border-radius: 6px;
}
:root { --orange: #ff7a00; }

/* Light responsive adjustments (tablet/desktop) */
@media (min-width: 768px) {
  main { padding: 3rem 2rem; }
  .image-frame { width: min(80vw, 860px); }
  .product-ad { flex-direction: row; align-items: center; gap: 1rem; }
  .product-ad h3 { font-size: 1.04rem; }
  .product-ad a p { padding: .6rem 1.2rem; }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}