/* Light reset and base */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  padding: 0;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #0a2b2b;
  /* Beige base with a subtle gradient for depth */
  background: linear-gradient(#efe5d0 0%, #e8d6bd 60%, #e4ceb3 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Beige waves overlay at the bottom to satisfy "beige waves background" */
body::after {
  content: "";
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 28vh;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1600' height='200' viewBox='0 0 1600 200'><path fill='%23efe3c8' d='M0,120 C200,170 320,90 520,120 C720,150 880,170 1080,130 C1280,90 1440,120 1600,120 L1600,200 L0,200 Z'/></svg>") bottom/100% 28vh repeat-x;
  opacity: .95;
  pointer-events: none;
  z-index: -1;
  filter: saturate(1.05);
}

/* Layout containers */
header {
  display: grid;
  place-items: center;
  padding: 2rem 1rem 1rem;
}
header h1 {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: #0e6a69;
  text-align: center;
  margin: 0;
  letter-spacing: .5px;
  text-shadow: 0 0 8px rgba(14, 166, 162, .65);
}
header {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 14px;
  padding: .75rem 1rem;
  width: min(100%, 1100px);
  box-shadow: 0 8px 20px rgba(0,0,0,.04);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  margin: 1rem auto 0;
}

/* Hero main area with frosted glass card for the image frame */
main {
  display: grid;
  place-items: center;
  padding: 1.5rem 1rem;
}

.image-frame {
  width: min(640px, 92vw);
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .5);
  box-shadow: 0 10px 25px rgba(0,0,0,.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Footer with a frosted glass effect and a prominent CTA */
footer {
  width: 100%;
  max-width: 900px;
  margin: 2rem auto;
  padding: 1rem;
  display: grid;
  gap: .75rem;
  justify-items: center;
  text-align: center;
  background: rgba(255, 255, 255, .08);
  border-top: 1px solid rgba(255, 255, 255, .25);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.product-ad {
  padding: .75rem;
  border-radius: 12px;
  background: rgba(12, 60, 60, 0.25);
  border: 1px solid rgba(0,0,0,.08);
}
.product-ad h3 { margin: 0; font-size: 1rem; color: #0e8a83; }
.product-ad a {
  text-decoration: none;
  display: inline-block;
  padding: .7rem 1rem;
  border-radius: 999px;
  background: var(--teal);
  color: white;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.6);
  transition: transform .15s ease, box-shadow .15s ease;
}
.product-ad a:hover { transform: translateY(-1px); box-shadow: 0 6px 12px rgba(20,180,170,.4); }
.product-ad a:focus-visible {
  outline: 3px solid #0e6a69;
  outline-offset: 2px;
}
footer p {
  color: #3a3a3a;
  margin: 0.25rem 0 0;
  font-size: .95rem;
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 700px) {
  header { padding: 1.25rem 1.25rem; }
  main { padding: 2rem 1rem; }
  .image-frame { width: 70%; }
}
@media (min-width: 1024px) {
  .image-frame { width: 60%; }
} 

/* Focus visibility for accessibility on interactive elements */
a:focus-visible, button:focus-visible {
  outline: 3px solid #0e6a69;
  outline-offset: 2px;
}