/* Section: Tokens & Global Reset */
:root {
  --bg: #0e1115;
  --bg-2: #141923;
  --bg-3: #0a0e12;
  --text: #f6f6e8;
  --muted: #c6c2a0;
  --accent: #ffd600;
  --accent-2: #ffea3a;
  --glass: rgba(20, 20, 20, 0.18);
  --glass-soft: rgba(255, 255, 255, 0.12);
  --border: rgba(255, 255, 255, 0.28);
  --shadow: 0 8px 28px rgba(0,0,0,.35);
  --radius: 14px;
  --radius-sm: 10px;
  --ring: 2px solid color-m-miss;
}

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

html, body { height: 100%; }
html { font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial; line-height: 1.4; }
body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(135deg, rgba(8,9,12,.95), rgba(18,22,28,.95)),
              radial-gradient( circle at 20% 0%, rgba(255,216,0,.08) 0%, transparent 40% ),
              radial-gradient( circle at 90% 10%, rgba(255,216,0,.04) 0%, transparent 35% ),
              #0a0f12;
  background-blend-mode: overlay, overlay, overlay, normal;
  min-height: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  /* Pure CSS noise/scanline: layered gradients for a subtle cyberpunk texture */
  background-image:
    linear-gradient(to bottom, rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(to right, rgba(255,255,255,.015) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(0,0,0,.0), rgba(0,0,0,.0));
  background-size: 4px 4px, 4px 4px, 100% 100%;
  opacity: 0.25;
  mix-blend-mode: overlay;
}
*, ::selection { text-shadow: none; }

/* Section: Layout helpers */
.container {
  max-width: clamp(640px, 75vw, 1100px);
  margin-inline: auto;
  padding-inline: 1rem;
}
.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .2s ease, background .2s ease;
}
.card:hover { transform: translateY(-2px); background: rgba(255,255,255,.12); }

/* Section: Typography & base rhythm */
h1, h2, h3 { margin: 0 0 .5rem; line-height: 1.15; }
p { margin: 0 0 1rem; color: var(--text); }
p.lead { font-size: clamp(15px, 1vw + 8px, 18px); color: var(--text); }
ul, ol { margin: 0 0 1rem 1.15rem; padding: 0; }
li { margin: .25rem 0; }

/* Section: Navigation & header areas */
header, nav, main, article, aside, footer {
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin: .75rem 0;
}
nav a { color: var(--accent); text-decoration: none; padding-inline: .25rem; }
nav a:hover, nav a:focus { text-decoration: underline; outline: none; }

/* Section: Glass panels fallbacks */
@supports not (backdrop-filter: blur(12px)) {
  :root { --glass: rgba(20,20,20,.68); --glass-soft: rgba(255,255,255,.20); }
  header, nav, main, article, aside, footer { background: rgba(20,20,20,.8); border-color: rgba(255,255,255,.4); }
}
.content { padding: 1rem; }

/* Section: Hero/typography hierarchy for hero content */
header h1 {
  font-size: clamp(1.75rem, 1.1rem + 2.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: .2px;
  margin-bottom: .25rem;
}
.meta { color: var(--muted); font-size: clamp(12px, .5vw + 10px, 14px); margin-block: .25rem 0; }

/* Section: Image framing */
.image-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
  background: #111;
}
.image-frame img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.image-frame:hover img { transform: scale(1.03); }

/* Section: Content blocks for article text */
.product-ad { display: block; padding: .75rem; text-align: center; }
.product-ad a { display: inline-block; padding: .6rem 1rem; border-radius: 999px; background: rgba(255,215,0,.15); color: var(--text); text-decoration: none; border: 1px solid rgba(255,255,255,.25); }
.product-ad a:hover { background: rgba(255,215,0,.25); text-decoration: underline; }

/* Section: Links & buttons (interactive controls) */
a, button, .btn, .cta {
  cursor: pointer;
  transition: color .15s ease, background .15s ease, transform .15s ease;
}
a { text-decoration: none; color: var(--accent); }
a:hover, a:focus { text-decoration: underline; outline: none; color: var(--accent-2); }

/* Button variants */
.btn {
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255, 215, 0, 0.18);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(12px, 1vw + 6px, 14px);
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.btn:hover { transform: translateY(-1px); background: rgba(255,215,0,.28); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Outline variant */
.btn--outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,.5);
  color: var(--text);
}
.btn--outline:hover { background: rgba(255,255,255,.08); }

/* CTA class for primary actions */
.cta { composes: .btn; /* semantic alias */ }
.cta.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); border-color: rgba(0,0,0,.0); color: #111; }
.cta.secondary { background: rgba(0,0,0,.18); }

/* Section: Lists styling with clear hierarchy */
ul, ol { padding-left: 1.25rem; }
li { margin: .25rem 0; }

/* Section: Utility tokens */
.tag {
  display: inline-block;
  padding: .15em .6em;
  font-size: .8em;
  border-radius: 999px;
  background: rgba(255, 214, 0, .18);
  color: #fff;
  border: 1px solid rgba(255,255,255,.32);
}
.content > * + * { margin-top: .75rem; }

/* Section: Accessibility & motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .image-frame img { transform: none !important; }
}

/* Section: Print adjustments */
@media print {
  body { background: #fff; color: #000; }
  header, nav, main, article, aside, footer { background: #fff; border: none; }
}

/* Section: Structural selectors (ensuring all required targets receive sensible styles) */
html, body, header, nav, main, article, footer, aside { min-block-size: 0; }
.image-frame, .image-frame img { image-orientation: from-image; }

/* Section: Typographic scale helpers (compact defaults) */
h1 { font-weight: 700; color: #fff; }
h2 { font-size: clamp(1.15rem, 0.8rem + 1.2vw, 1.6rem); font-weight: 700; color: #fff; }
h3 { font-size: clamp(1rem, 0.6rem + .9vw, 1.25rem); font-weight: 600; color: #fff; }

/* Section: Core layout hooks (ensuring grid utilities work) */
.main-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
```