/* Global reset and parchment base */
*,
*::before,
*::after { box-sizing: border-box; }
html, body { height: 100%; }
html { -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: #0b1e2d; /* readable dark text on parchment */
  /* Gold parchment background with subtle grain */
  background-color: #f5e0b0;
  background-image:
    radial-gradient(circle at 10px 10px, rgba(0,255,255,.08) 0 6px, transparent 7px),
    radial-gradient(circle at 60px 40px, rgba(0,0,0,.04) 0 2px, transparent 3px),
    linear-gradient(#f6e5bf, #e9d59a);
  background-size: 60px 60px, 60px 60px, auto;
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

/* Light reset for layout elements */
main { display: flex; flex-direction: column; align-items: center; gap: 1.75rem; padding: 2rem 1rem; width: 100%; }

/* Frosted glass hero frame around the image */
.image-frame {
  width: min(680px, 92%);
  border-radius: 14px;
  padding: 1rem;
  background: rgba(0, 102, 170, 0.22);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  border: 1px solid rgba(0, 255, 255, 0.6);
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}
.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Footer with frosted glass product ad */
footer {
  width: 100%;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background: rgba(255,255,255,.05);
  border-top: 1px solid rgba(0,255,255,.35);
}
.product-ad {
  width: min(680px, 92%);
  padding: 1rem;
  border-radius: 14px;
  text-align: center;
  background: rgba(6,36,60,.28);
  border: 1px solid rgba(0, 255, 255, .48);
}
.product-ad h3 {
  margin: 0 0 .5rem;
  color: #00e7ff;
  font-size: 1.15rem;
  letter-spacing: .2px;
}
.product-ad p { margin: 0 0 .5rem; color: #092a2a; font-weight: 600; }

/* CTA button styled link (prominent) */
.product-ad a {
  display: inline-block;
  margin-top: .5rem;
  padding: .75rem 1.2rem;
  border-radius: 999px;
  background: rgba(0, 255, 255, .38);
  color: #002226;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(0,255,255,.6);
}
.product-ad a:hover,
.product-ad a:focus {
  background: rgba(0,255,255,.55);
  outline: none;
  color: #001b1f;
}
a { color: #00e6ff; text-decoration: none; }

/* Focus visibility for accessibility */
:focus-visible {
  outline: 3px solid #00e6ff;
  outline-offset: 2px;
  border-radius: 6px;
}
a:focus-visible { outline-offset: 2px; }

/* Responsive mobile-first layout: stack on small, grid on wide */
@media (min-width: 900px) {
  main {
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr 420px;
    grid-gap: 2rem;
    align-items: center;
  }
  .image-frame { padding: 1.25rem; }
  footer { padding: 1.5rem; }
}