:root {
  --bg: #0a1117;
  --bg-2: #0f181c;
  --text: #e8f7f0;
  --muted: #a8d9c2;
  --accent: #2ee8b6;
  --accent-2: #7a5230;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-2: rgba(255, 255, 255, 0.12);
  --ring: 0 0 0 3px rgba(46, 232, 182, 0.6);
  --radius: 14px;
}
html, body { height: 100%; }
html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
* { box-sizing: border-box; }
html, body, header, nav, main, article, footer, aside {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html, body {
  margin: 0;
  color: var(--text);
  background-color: #000;
  /* Layered background: mint + brown scattering over gradient + scanlines */
  background-image:
    radial-gradient(circle at 15% 25%, rgba(46,232,182,.22) 0 6px, transparent 6px),
    radial-gradient(circle at 70% 60%, rgba(122,82,48,.18) 0 8px, transparent 8px),
    linear-gradient(135deg, #0a1417 0%, #0e1b1f 60%, #0a0a0a 100%),
    repeating-linear-gradient(to bottom, rgba(255,255,255,.04) 0 1px, transparent 1px 2px);
  background-blend-mode: screen, screen, normal, overlay;
  color-scheme: dark;
}

header, main, article, footer, aside {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
  padding: 1rem;
  margin: 1rem auto;
  max-width: clamp(320px, 92vw, 1120px);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
header { text-align: center; padding: clamp(1.25rem, 4vw, 2rem) 1rem; }
header h1 { font-family: inherit; font-size: clamp(1.6rem, 2.5vw + 1rem, 2.8rem); line-height: 1.15; margin: 0 0 .25rem; letter-spacing: .5px; }
header .meta { color: var(--muted); font-size: clamp(0.9rem, 0.8vw + 0.6rem, 1rem); }

main { padding: 0.5rem 0 1.5rem; }

.article { display: block; }

.featured-image { width: 100%; margin: 0 auto 1rem; border-radius: 12px; overflow: hidden; }
.image-frame { aspect-ratio: 16 / 9; width: 100%; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.26); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

h2, h3 { margin: .75rem 0 0.25rem; line-height: 1.25; }
p { margin: .5rem 0 1rem; line-height: 1.6; color: #e9f9f0; }

ul, li { margin: .25rem 0; padding: 0; padding-left: 1.25rem; color: #e9f9f0; }
li { margin: .25rem 0; }

blockquote { margin: .75rem 0; padding: .75rem 1rem; border-left: 3px solid var(--accent); background: rgba(46,232,182,.08); border-radius: 8px; color: #eafff9; }

ol { padding-left: 1.25rem; }

.product-ad { display: grid; gap: .5rem; align-content: start; justify-items: start; padding: .75rem; background: rgba(46,232,182,.08); border: 1px solid rgba(46,232,182,.35); border-radius: 12px; }
.product-ad h3 { margin: 0; font-size: 1.05rem; }
.product-ad a { text-decoration: none; color: #03140f; display: inline-block; padding: .6rem 0; font-weight: 600; }
.product-ad a p { margin: 0; padding: .25rem 0; color: #eafff4; }

footer { display: grid; gap: 0.75rem; padding: 1rem; }
p { color: #e9f7f1; }

@media (min-width: 760px) {
  main { padding: 0.8rem 0 1.6rem; }
  .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
  header { padding: 1.5rem; }
}

a, button, .btn, .cta {
  text-decoration: none;
  color: var(--text);
  cursor: pointer;
  font: inherit;
}
a { transition: color .2s ease, text-decoration .2s ease; }
a:hover, a:focus { text-decoration: underline; color: var(--accent); outline: none; }

.btn, .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.05rem;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,.28);
  background: var(--accent);
  color: #06281a;
  font-weight: 700;
  transition: transform .15s ease, background .2s ease;
}
.btn:hover, .cta:hover { transform: translateY(-1px); background: #1bd29f; }
.btn:active, .cta:active { transform: translateY(0); }

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn--outline:hover { background: rgba(46,232,182,.08); }

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 9px;
}
:focus { outline: none; }

.card, .glass, .panel {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 12px;
  padding: .75rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
@supports not (backdrop-filter: blur(12px)) {
  .card, .glass, .panel { background: rgba(255,255,255,.14); }
}
.card { padding: 1rem; }

.content { padding: 0 0.25rem; color: #e9f7f0; line-height: 1.65; }
.tag {
  display: inline-block;
  font-size: .75rem;
  padding: .15em .5em;
  border-radius: 999px;
  border: 1px solid rgba(46,232,182,.4);
  color: #eafff0;
  background: rgba(46,232,182,.15);
}

/* Utility: container, grid, card, tag (already used above) */
.container { width: 100%; margin-inline: auto; padding-inline: 1rem; max-width: clamp(320px, 90vw, 1100px); }

/* Typography scales */
h1, h2, h3 { letter-spacing: .2px; }
h1 { color: #e6fff6; }
h2 { color: #eafff0; font-size: clamp(1.4rem, 2.2vw + 1rem, 2.2rem); }
h3 { color: #d9ffe8; font-size: clamp(1.05rem, 1.6vw + .6rem, 1.25rem); }

/* Image frame specifics for .image-frame elements already defined above */

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

/* Print styles for readability */
@media print {
  html, body { background: #fff; color: #000; }
  a { text-decoration: underline; color: #0366d6; }
  header, main, article, footer { background: transparent; border: none; box-shadow: none; }
}
