:root{
  --bg: #0b001a;
  --bg-2: #1a0033;
  --surface: rgba(255,255,255,.08);
  --surface-2: rgba(255,255,255,.12);
  --border: rgba(255,255,255,.25);
  --text: #eaf0ff;
  --muted: #cbd5e1;
  --accent: #87cfa0;
  --accent-2: #6fbf90;
  --shadow: 0 8px 20px rgba(0,0,0,.28);
  --focus: 0 0 0 3px rgba(135,207,160,.75);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
html { color-scheme: dark; }
body {
  margin: 0;
  min-height: 100dvh;
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  line-height: 1.5;
  font-size: clamp(14px, 0.9vw + 12px, 18px);
  background: 
    linear-gradient(135deg, rgba(40,0,60,.95), rgba(12,0,40,.95) 60%, rgba(0,0,0,.95)),
    radial-gradient(circle at 20% 0%, rgba(120,180,120,.08), transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(90,60,120,.05), transparent 40%);
  background-blend-mode: overlay, overlay, normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 100% 2px, 2px 100%;
  background-position: 0 0, 0 0;
  pointer-events: none;
  z-index: 0;
  opacity: .25;
  mix-blend-mode: overlay;
}
* { z-index: 1; }

header, main, footer { position: relative; }
header { padding: 1rem 1rem 0.5rem; text-align: center; }
header h1 { 
  margin: 0.25rem auto 0.25rem;
  font-size: clamp(1.4rem, 1.2rem + 1.2vw, 2.6rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: .2px;
  color: var(--text);
}
header .meta {
  color: var(--muted);
  font-size: clamp(0.8rem, 0.6vw + 0.8rem, 1rem);
  margin-top: .25rem;
}

main { padding: 0 1rem 1.25rem; }
article {
  max-width: 860px;
  margin: 0 auto;
  padding: 1rem;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.featured-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  margin: 0 auto 1rem;
}
.featured-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.image-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.2);
}
.image-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.content { max-width: 860px; margin: 0 auto; padding: 0 1rem; }

h2, h3 { color: var(--text); margin-top: 1rem; }
p { color: var(--text); margin: .75rem 0; }
ul, li { margin: 0.5rem 0; padding-left: 1.25em; }
ul { list-style: disc; }
ol { margin: .5rem 0 1rem 1.25em; }

.product-ad {
  display: block;
  max-width: 720px;
  margin: 1rem auto;
  padding: .75rem;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.product-ad h3 { margin: 0 0 .5rem; font-size: 1rem; }
.product-ad a { display: inline-block; padding: .5rem 1rem; border-radius: 8px;
  background: var(--accent); color: #0b2a12; text-decoration: none; font-weight: 700;
  border: 1px solid rgba(135,207,160,.9);
}
.product-ad a:hover { filter: brightness(1.05); transform: translateY(-1px); }

a, button, .btn, .cta {
  color: var(--text);
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.12);
  padding: .5rem 1rem;
  display: inline-block;
  font-weight: 600;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.btn, .cta { background: rgba(135,207,160,.28); border-color: rgba(135,207,160,.6); color: #062b14; }
a:hover, button:hover, .btn:hover, .cta:hover { transform: translateY(-1px); }
a:focus-visible, button:focus-visible, .btn:focus-visible, .cta:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 8px;
}
a:focus-visible { text-decoration: underline; }

ul, li { font-size: 1rem; }

/* Utility / layout helpers */
.container { width: 100%; max-width: clamp(320px, 92vw, 1100px); margin: 0 auto; padding: 0 1rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.tag {
  display: inline-block;
  padding: .15em .5em;
  font-size: .75rem;
  border-radius: 999px;
  background: rgba(135,207,160,.25);
  color: var(--text);
  border: 1px solid rgba(135,207,160,.6);
}

/* Print styles */
@media print {
  body { background: white; color: black; }
  a { text-decoration: underline; color: black; }
  .image-frame, .featured-image, article { box-shadow: none; border: none; background: white; }
  .product-ad { display: none; }
}

/* Accessibility & motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

@supports not (backdrop-filter: blur(12px)) {
  .backdrop { background: rgba(255,255,255,.22); }
}