/* Global reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Base layout and accessibility */
html, body { height: 100%; }

/* White checkerboard background with silver, hacker-friendly aesthetic */
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto;
  color: #e6eaf3;
  line-height: 1.75;
  background-color: #fff;
  background-image:
    linear-gradient(45deg, #fff 25%, #e5e7eb 25%, #e5e7eb 50%, #fff 50%, #fff 75%, #e5e7eb 75%, #e5e7eb 100%),
    linear-gradient(-45deg, #fff 25%, #e5e7eb 25%, #e5e7eb 50%, #fff 50%, #fff 75%, #e5e7eb 75%, #e5e7eb 100%);
  background-size: 20px 20px;
  background-position: 0 0, 10px -10px;
  background-attachment: fixed;
}

/* Layout sections */
main { padding: 1rem; display: block; }

/* Article styling (frosted glass feel) */
article {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.25rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #e9eef7;
  text-shadow: 0 1px 0 rgba(0,0,0,.15);
}

/* Header as prominent hero with frosted glass */
header {
  padding: 1.25rem;
  max-width: 900px;
  margin: 1rem auto;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
header h1 {
  font-family: ui-sans-serif, system-ui;
  font-size: 1.6rem;
  font-weight: 700;
  color: #e9f0f8;
  letter-spacing: .4px;
  margin-bottom: .25rem;
}
header .meta {
  color: #b6c0d0;
  font-size: .9rem;
}

/* Featured image styling */
.featured-image { margin: 1rem auto; max-width: 900px; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.featured-image img { width: 100%; height: auto; display: block; }

/* Product ad/CTA section styled as a futuristic card */
.product-ad {
  width: 100%;
  max-width: 900px;
  margin: 1rem auto 0;
  padding: .75rem;
  border-radius: 12px;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.25);
  text-align: center;
}
.product-ad h3 {
  font-family: ui-sans-serif;
  color: #e9eef7;
  font-size: 1.05rem;
  margin-bottom: .5rem;
}
.product-ad a { text-decoration: none; }
.product-ad a p {
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: 8px;
  background: linear-gradient(#e2e8f0, #cbd5e1);
  color: #0a111b;
  font-weight: 700;
  border: 1px solid rgba(0,0,0,.15);
  transition: transform .15s ease;
}
.product-ad a:focus-visible, .product-ad a:hover {
  outline: 2px solid #00e5ff;
  outline-offset: 2px;
  transform: translateY(-1px);
}

/* Footer styling to complement the hacker theme */
footer {
  padding: 1rem;
  text-align: center;
  color: #b6becb;
  background: rgba(255,255,255,.08);
  border-top: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Optional: ensure if there is a p with class content, the first letter is emphasized */
p.content:first-letter {
  font-weight: 700;
  font-size: 2em;
}

/* Accessibility: focus outlines for keyboard navigation on links and interactive elements */
a, button {
  color: #e6eef7;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid #5eead4;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Responsive, mobile-first refinements */
@media (min-width: 640px) {
  header { padding: 1.5rem; }
  header h1 { font-size: 1.95rem; }
  article { padding: 1.5rem; }
}
@media (min-width: 1024px) {
  header { padding: 1.75rem 1.5rem; }
  header h1 { font-size: 2.25rem; }
  .featured-image { margin-top: 1.75rem; }
}