/* Section: Base tokens */
:root{
  --bg: #0a0f14;
  --bg-2: #0e1b19;
  --text: #eafaf5;
  --muted: #a5c8c6;
  --surface: rgba(255, 255, 255, 0.08); /* glass backdrop surface */
  --surface-2: rgba(255, 255, 255, 0.12);
  --border: rgba(255, 255, 255, 0.25);
  --border-strong: rgba(0,0,0,0.25);
  --shadow: 0 8px 20px rgba(0,0,0,.25);
  --accent: #FFB07C;     /* peach */
  --accent-2: #A6FF2A;    /* lime */
  --focus: 0 0 0 3px rgba(166, 255, 42, .6);
  --radius: 12px;
}

/* Section: Layout resets & utilities */
*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; }
html { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", sans-serif; }
body {
  margin: 0;
  color: var(--text);
  background: 
    radial-gradient(circle at 20% 0%, rgba(166,255,42,.08) 0 40%, transparent 40%),
    radial-gradient(circle at 80% 10%, rgba(255,176,120,.08) 0 40%, transparent 40%),
    linear-gradient(135deg, #07131a 0%, #0b1b1a 60%, #0a0f14 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 2px);
  background-blend-mode: overlay, overlay, normal, overlay;
  line-height: 1.5;
  font-size: clamp(14px, 1vw + 12px, 18px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Simple responsive container + grid utilities */
.container { width: 100%; max-width: clamp(640px, 85vw + 0.5rem, 1100px); margin-inline: auto; padding: 0 1rem; }
.grid { display: grid; gap: 1rem; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); }

/* Section: Glass panels with fallback */
header, main, footer { 
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
@supports not (backdrop-filter: blur(12px)) {
  header, main, footer {
    background: rgba(255,255,255,.92);
    color: #0b0b0b;
  }
}
a, button, .btn, .cta { cursor: pointer; text-decoration: none; color: var(--text); transition: transform .15s ease, background .15s ease, color .15s ease; }

/* Section: Typography & hierarchy */
h1, h2 { margin: 0 0 .5rem 0; line-height: 1.15; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 3.5rem); letter-spacing: .2px; }
h2 { font-size: clamp(1.25rem, 2.5vw, 2rem); color: #e8f7ff; margin-top: 1rem; }
p { color: var(--text); margin: .4rem 0 1rem; }
em { color: var(--muted); font-style: normal; }

/* Section: Header for hero-like emphasis */
header { display: grid; gap: .5rem; align-items: start; }
header .meta { color: var(--muted); font-size: .9rem; margin-top: .25rem; }

nav { margin-top: .25rem; }
nav a { color: var(--accent-2); text-decoration: none; border-bottom: 1px solid rgba(166,255,42,.0); padding-bottom: 2px; }
nav a:hover { text-decoration: underline; }

/* Section: Media visuals */
.image-frame { width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 6px 18px rgba(0,0,0,.25); background: #111; }
.image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Section: Content blocks & helpers */
.content { padding: 1rem; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); }

/* Section: Product ad (footer area) */
.product-ad { display: inline-block; padding: .75rem 1rem; margin: .25rem 0; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); }
.product-ad a { display: block; color: var(--text); }
.product-ad p { margin: 0; }

/* Section: Link/Button styles (CTA variants) */
.btn, .cta { display: inline-flex; align-items: center; justify-content: center; padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.25); color: #fff; font-weight: 600; }
.btn.primary { background: linear-gradient(135deg, var(--accent), #ff8a4a); border-color: rgba(255,255,255,.4); color: #0a0a0a; }
.btn.secondary { background: rgba(255,255,255,.12); color: #fff; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Focus visibility for accessibility */
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 999px; }

/* Section: Lists & misc */
ul { padding-left: 1.25rem; margin: .25rem 0 1rem; }
li { margin: .25rem 0; }

/* Utility selectors requested */
html, body, header, nav, main, article, footer, aside { }
.image-frame, .image-frame img { }
.content { }
.product-ad { }
a, button, .btn, .cta { }
ul, li { }
.container, .grid, .card, .tag { }

/* Section: Lifestyle accents (tags) */
.tag { display:inline-block; padding:.25rem .5rem; font-size:.8rem; border-radius:999px; border:1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.15); color: #001; }

/* Print styles: basic readability */
@media print {
  body { background: white; color: black; }
  header, main, footer { border: none; background: none; padding: 0.5rem; }
  a { text-decoration: underline; color: inherit; }
}
  
/* Section: Motion preferences */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}