:root {
  --bg: #03111b;
  --bg-2: #0b1f2a;
  --text: #eaffff;
  --muted: #b8e5f0;
  --accent: #27e6f2;
  --accent-2: #7ae7ff;
  --card: rgba(255,255,255,.08);
  --border: rgba(255,255,255,.28);
  --surface: rgba(16, 185, 210, 0.25);
  --radius: 12px;
  --shadow: 0 8px 22px rgba(0,0,0,.25);
}

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

html, body { height: 100%; }

html { font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial; font-size: 16px; }

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(0,180,210,0.15), rgba(0,100,180,0.25) 60%, rgba(0,0,0,0)) ,
    repeating-linear-gradient(to bottom, rgba(255,255,255,0.04) 0 1px, transparent 1px 2px) ,
    linear-gradient(#03131e, #041522);
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

nav { display: block; } /* presentational stub if nav appears */

.header, header, main, article, aside, footer {
  display: block;
}

.container {
  width: 100%;
  max-width: clamp(320px, 92vw, 1100px);
  margin-inline: auto;
  padding-inline: 1rem;
}

header {
  text-align: center;
  padding: 2rem 0 1rem;
}

header h1 {
  font-size: clamp(1.8rem, 0.9rem + 2.2vw, 3rem);
  line-height: 1.15;
  margin: 0 0 .25rem;
  letter-spacing: .4px;
  color: var(--text);
}

header .meta {
  color: var(--muted);
  font-size: clamp(.9rem, 0.4vw + .8rem, 1.05rem);
}

main { padding: 1rem 0 2rem; }

article {
  display: grid;
  gap: 1rem;
}

.featured-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: var(--shadow);
}

.featured-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.image-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.08) 0 15%, transparent 16%), rgba(2,8,15,.25);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.content {
  max-width: 60ch;
  color: #eafcff;
}

h2 {
  font-size: clamp(1.4rem, 0.8rem + 2vw, 2.4rem);
  margin: .75rem 0;
  color: var(--text);
}

h3 {
  font-size: clamp(1.1rem, 0.8vw + .9rem, 1.6rem);
  margin: .5rem 0;
  color: var(--text);
}

p {
  color: #dff7ff;
  margin: 0 0 1rem;
}

blockquote {
  margin: 1rem 0;
  padding: .75rem 1rem;
  border-left: 4px solid var(--accent);
  background: rgba(0,0,0,.14);
  border-radius: 6px;
}

ul {
  padding-left: 1.25rem;
  margin: .25rem 0 1rem;
  color: #dff7ff;
}

li { margin: 0.25rem 0; }

.product-ad {
  display: block;
  padding: .9rem;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.4);
  box-shadow: var(--shadow);
}

.product-ad h3 { margin: 0 0 .25rem; }

.product-ad a {
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: 10px;
  background: rgba(0,0,0,.15);
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.35);
}
.product-ad a p { margin: 0; padding: 0; }

a, button, .btn, .cta {
  transition: color .15s ease, background .15s ease, transform .15s ease;
  text-decoration-skip-ink: auto;
}

a:hover, a:focus { text-decoration: underline; color: var(--accent-2); }

a:focus-visible {
  outline: 2px solid #7ff3ff;
  outline-offset: 3px;
  border-radius: 6px;
}

.btn {
  display: inline-block;
  padding: .65rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.4);
  background: linear-gradient(#12d5e0, #0a9bb3);
  color: #041a20;
  font-weight: 600;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.cta {
  display: inline-block;
  padding: .6rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(0, 180, 210, 0.35);
  color: var(--text);
  text-decoration: none;
}
.btn + .btn { margin-left: .5rem; }

.tag {
  display: inline-block;
  padding: .25em .6em;
  font-size: .75rem;
  border-radius: 999px;
  background: rgba(0, 180, 210, 0.25);
  color: #eaffff;
  border: 1px solid rgba(255,255,255,.4);
}

ul, li { list-style: disc; }

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

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

@media print {
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
  .card { background: #fff; border: 0; box-shadow: none; }
}