:root {
  --bg-beige: #efe6d0;
  --cyan: #00e5ff;
  --text: #0b1e2d;
  --glass: rgba(255,255,255,.14);
  --glass-border: rgba(255,255,255,.4);
  --radius: 14px;
  --shadow: 0 12px 28px rgba(0,0,0,.15);
  --maxw: 860px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; }
body {
  margin: 0;
  padding: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--text);
  background-color: var(--bg-beige);
  background-image:
    linear-gradient(45deg, rgba(0,0,0,.04) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(0,0,0,.04) 25%, transparent 25%);
  background-size: 12px 12px;
  background-position: 0 0, 6px 6px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Header (Hero) */
header {
  padding: 28px 16px 18px;
  text-align: center;
}
header h1 {
  margin: 0;
  font-size: clamp(1.6rem, 6vw, 3rem);
  color: var(--cyan);
  letter-spacing: .5px;
  text-shadow: 0 0 12px rgba(0, 230, 255, .6);
}
header .meta {
  margin-top: 6px;
  font-size: 0.92rem;
  color: #1e2a3a;
  opacity: 0.85;
}

/* Main content */
main {
  padding: 0 1rem 4rem;
}
article {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2rem;
  border-radius: 20px;
  background: rgba(255,255,255,.14); /* frosted glass look */
  border: 1px solid rgba(255,255,255,.4);
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  color: #0a1e2b;
  box-shadow: var(--shadow);
}
.featured-image {
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.4);
  margin: 0 0 1rem;
  box-shadow: 0 6px 16px rgba(0,0,0,.15);
  background: rgba(255,255,255,.08);
}
.featured-image img {
  display: block;
  width: 100%;
  height: auto;
}
article p {
  font-size: 1rem;
  line-height: 1.75;
  color: #0b1e2d;
  margin: 1rem 0;
}
article p a { color: var(--cyan); }

/* First letter style for .content paragraphs */
p.content:first-letter {
  font-weight: 800;
  font-size: 1.8em;
  color: #0b1e2d;
  display: inline-block;
  vertical-align: middle;
  margin-right: .1em;
}

/* Footer / CTA styles */
footer {
  padding: 1.5rem 1rem;
  text-align: center;
}
.product-ad {
  display: inline-block;
  text-align: center;
  padding: .75rem 1rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255,255,255,.4);
  margin-bottom: 1rem;
}
.product-ad h3 {
  margin: 0 0 .5rem;
  font-size: 1.08rem;
  color: var(--cyan);
}
.product-ad a {
  display: inline-block;
  padding: .75rem 1.2rem;
  border-radius: 999px;
  color: #062a34;
  text-decoration: none;
  font-weight: 700;
  background: linear-gradient(135deg, #00e7ff 0%, #00b8d8 100%);
  border: 2px solid rgba(255,255,255,.6);
  transition: transform .2s ease;
}
.product-ad a:hover { transform: translateY(-1px); }
.product-ad a:focus-visible {
  outline: 3px solid rgba(0, 230, 255, .8);
  outline-offset: 2px;
}
.product-ad a p { margin: 0; padding: 0; }

/* Accessibility: focus styles for all links */
a:focus-visible, button:focus-visible {
  outline: 3px solid rgba(0, 230, 255, .9);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Responsive tweaks */
@media (min-width: 768px) {
  article { padding: 2.5rem; }
  header { padding: 40px 20px 22px; }
}
@media (min-width: 1024px) {
  :root { --maxw: 900px; }
  article { padding: 3rem; }
}