/* CSS: Olive parchment, silver hacker-futurist frost, frosted glass, mobile-first */

/* Reset & root tokens */
:root{
  --bg-olive: #4a4f2a;
  --bg-olive-dark: #2f3417;
  --parchment: #e9e4cc;
  --text: #e6ece7;
  --text-dim: #d1d8d0;
  --silver: #cbd5e1;
  --glass: rgba(255,255,255,.08);
  --border: rgba(255,255,255,.28);
  --accent: #66e6a2;
  --accent-2: #7ff0ff;
}

html, body { height: 100%; }
* { box-sizing: border-box; }
html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial; }
body {
  margin: 0;
  color: var(--text);
  background: 
    radial-gradient(circle at 20% -10%, rgba(122,127,55,.25), transparent 40%),
    linear-gradient(135deg, var(--bg-olive) 0%, var(--bg-olive-dark) 60%, var(--bg-olive) 100%);
  min-height: 100vh;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Links focus for accessibility */
a { color: #dbe9f7; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }

/* Frosted glass hero header (clear hero section) */
header {
  margin: 1rem auto;
  max-width: 1050px;
  padding: 1.75rem;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 28px rgba(0,0,0,.25);
  text-align: center;
}
header h1 {
  margin: 0.25rem 0 0.25rem;
  font-size: clamp(2rem, 2.4rem + 1vw, 3.5rem);
  color: #eef4f0;
  letter-spacing: .5px;
  text-shadow: 0 0 6px rgba(120,200,180,.6);
}
header .meta {
  margin-top: .25rem;
  color: #d9d9d9;
  font-size: .95rem;
  opacity: .95;
}

/* Main content -> article styling */
main { padding: 0 1rem; }
article {
  max-width: 760px;
  margin: 0 auto;
  padding: 1rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 12px;
  backdrop-filter: saturate(1.05) blur(1px);
}
.featured-image { 
  width: 100%; 
  overflow: hidden; 
  border-radius: 10px; 
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  margin: 1rem 0;
}
.featured-image img { width: 100%; height: auto; display: block; }

/* Article typography for mood (serif vibe) */
article p, article div {
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
}
article p { margin: .9em 0; font-size: 1.05rem; }

/* Footer with featured CTA button(s) */
footer {
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--text-dim);
  background: rgba(0,0,0,.08);
  border-top: 1px solid rgba(255,255,255,.15);
}
.product-ad {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 900px;
  padding: .75rem;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  gap: .6rem;
}
.product-ad h3 { margin: 0; font-size: 1.05rem; }
.product-ad a {
  display: inline-block;
  padding: .8rem 1.1rem;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(0,0,0,.25);
  color: #eaf4f0;
  transition: transform .2s ease, background .2s ease;
}
.product-ad a:hover { transform: translateY(-1px); background: rgba(0,0,0,.38); }
.product-ad a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Subtle separators for readability on parchment background */
.hr {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,.25), transparent);
  border: 0;
  margin: .8rem 0;
}

/* Responsive tweaks (mobile-first) */
@media (min-width: 700px) {
  article { padding: 1.25rem 1.25rem; }
  header { padding: 2rem; }
}
@media (min-width: 1024px) {
  header h1 { font-size: clamp(2.8rem, 4vw + 1rem, 4.2rem); }
  .product-ad { flex-direction: row; justify-content: center; align-items: center; gap: 1.5rem; }
  body { font-size: 1.05rem; }
}

/* Small footprint – keep under ~20KB with concise rules */
