@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;650;750;800;900&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --space: #050816;
  --card: #08111f;
  --ink: #f8fafc;
  --muted: #aab8c8;
  --line: rgba(56, 189, 248, .22);
  --paper: #050816;
  --soft: #08111f;
  --night: #08111f;
  --cyan: #22d3ee;
  --blue: #38bdf8;
  --violet: #8b5cf6;
  --green: #38d996;
  --gold: #f6c453;
  --rose: #a78bfa;
  --shadow: 0 18px 60px rgba(0, 0, 0, .34);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, .28);
  --shadow-lift: 0 22px 54px rgba(34, 211, 238, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(139, 92, 246, .24), transparent 30rem),
    radial-gradient(circle at 88% 14%, rgba(34, 211, 238, .18), transparent 28rem),
    linear-gradient(180deg, var(--space) 0%, #071021 48%, var(--space) 100%);
  font-family: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 6vw;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 22, .84);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  width: auto;
  min-height: 72px;
  font-weight: 800;
  color: var(--ink);
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(34, 211, 238, .28);
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, .16),
    0 0 24px rgba(34, 211, 238, .22);
}

.brand-text {
  display: grid;
  gap: 1px;
  font-family: "Space Grotesk", Manrope, sans-serif;
  letter-spacing: 0;
  line-height: 1;
}

.brand-text strong {
  display: block;
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 700;
}

.brand-text span {
  display: block;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  color: var(--space);
  background: linear-gradient(135deg, var(--cyan), var(--violet));
  box-shadow: 0 0 28px rgba(34, 211, 238, .24);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #d9e7f7;
  font-size: 15px;
  font-weight: 650;
}

.site-nav a:hover { color: var(--cyan); }

.nav-modal-button {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid rgba(34, 211, 238, .28);
  border-radius: 8px;
  padding: 0 12px;
  color: #d9e7f7;
  background: rgba(8, 17, 31, .72);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.nav-modal-button:hover {
  color: #03111a;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

body.modal-open {
  overflow: hidden;
}

.category-modal[hidden] {
  display: none;
}

.category-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 8, 22, .82);
  backdrop-filter: blur(10px);
}

.category-modal-dialog {
  position: relative;
  width: min(980px, 96vw);
  max-height: 88vh;
  overflow: auto;
  border: 1px solid rgba(34, 211, 238, .34);
  border-radius: 8px;
  padding: 28px;
  background:
    radial-gradient(circle at 86% 0%, rgba(139, 92, 246, .2), transparent 22rem),
    linear-gradient(135deg, rgba(8, 17, 31, .98), rgba(5, 8, 22, .98));
  box-shadow: 0 28px 90px rgba(0, 0, 0, .48);
}

.category-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.category-modal-head h2 {
  font-size: clamp(28px, 4vw, 46px);
}

.modal-close {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(5, 8, 22, .72);
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
}

.modal-close:hover {
  color: #03111a;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.modal-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.modal-category-card {
  display: grid;
  gap: 10px;
  min-height: 160px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 8, 22, .58);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.modal-category-card:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, .62);
  box-shadow: var(--shadow-lift);
}

.modal-category-card strong {
  color: var(--ink);
  font-size: 20px;
}

.modal-category-card span {
  color: var(--muted);
  line-height: 1.55;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: end;
  padding: 110px 6vw 72px;
  overflow: hidden;
  background: var(--space);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 24%, rgba(139, 92, 246, .24), transparent 26rem),
    linear-gradient(90deg, rgba(5, 8, 22, .98) 0%, rgba(8, 17, 31, .82) 48%, rgba(5, 8, 22, .42) 100%),
    url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
}

.kicker {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1, h2, h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.08;
  font-family: "Space Grotesk", Manrope, ui-sans-serif, system-ui, sans-serif;
}

h1 {
  color: white;
  font-size: clamp(42px, 7vw, 82px);
  max-width: 920px;
}

h2 { font-size: clamp(30px, 4vw, 52px); }

h3 { font-size: 23px; }

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: #e4e7ec;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(18, 181, 203, .24);
}

.button.primary {
  color: #03111a;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 0 0 1px rgba(248, 250, 252, .08), 0 12px 30px rgba(34, 211, 238, .18);
}

.button.secondary {
  color: white;
  border-color: rgba(34, 211, 238, .36);
  background: rgba(8, 17, 31, .74);
}

.section,
.newsletter {
  padding: 76px 6vw;
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(280px, 1fr);
  gap: 54px;
  align-items: start;
  background:
    linear-gradient(135deg, rgba(8, 17, 31, .96), rgba(5, 8, 22, .96));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro p:last-child {
  margin: 0;
  font-size: 18px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}

.topic-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--ink);
  background: rgba(8, 17, 31, .8);
  font-weight: 750;
  cursor: pointer;
}

.filter.active {
  color: #03111a;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.article-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(8, 17, 31, .98), rgba(8, 17, 31, .9));
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, .56);
  box-shadow: var(--shadow-lift);
}

.article-card img {
  height: 230px;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
}

.article-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.03);
}

.article-body {
  padding: 24px;
}

.article-body h3 a:hover { color: var(--cyan); }

.article-body h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.tag {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.categories {
  background: radial-gradient(circle at 12% 0%, rgba(139, 92, 246, .22), transparent 28rem), var(--card);
  color: white;
}

.categories p { color: var(--muted); }

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(56, 189, 248, .18);
  border: 1px solid var(--line);
}

.category-tile {
  min-height: 260px;
  padding: 28px;
  background: var(--card);
}

.category-tile:hover { background: #0b1830; }

.category-tile span {
  color: var(--cyan);
  font-weight: 900;
}

.category-tile h3 {
  margin: 28px 0 14px;
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(300px, 520px);
  gap: 36px;
  align-items: center;
  background:
    radial-gradient(circle at 90% 0%, rgba(139, 92, 246, .2), transparent 24rem),
    var(--card);
}

.signup {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 8, 22, .74);
}

.signup label {
  display: block;
  margin-bottom: 12px;
  font-weight: 850;
}

.signup div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.signup input {
  min-width: 0;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  font: inherit;
  color: var(--ink);
  background: #050816;
}

.commerce-strip {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 42px 6vw;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(8, 17, 31, .98), rgba(12, 22, 44, .98)),
    radial-gradient(circle at 78% 0%, rgba(34, 211, 238, .16), transparent 20rem);
}

.commerce-strip h2 {
  font-size: clamp(26px, 3vw, 40px);
}

.commerce-strip p:last-child {
  margin-bottom: 0;
}

.commerce-hero {
  display: grid;
  min-height: 430px;
  align-items: end;
  padding: 96px 6vw 64px;
  color: white;
  background:
    radial-gradient(circle at 82% 20%, rgba(139, 92, 246, .24), transparent 26rem),
    linear-gradient(90deg, rgba(5, 8, 22, .96), rgba(8, 17, 31, .64)),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.commerce-hero div {
  width: min(850px, 100%);
}

.commerce-hero h1 {
  font-size: clamp(42px, 6vw, 76px);
}

.commerce-hero p {
  max-width: 720px;
  color: #e4e7ec;
  font-size: 19px;
}

.affiliate-notice {
  margin: 28px 6vw 0;
  padding: 18px 20px;
  border: 1px solid rgba(34, 211, 238, .28);
  border-radius: 8px;
  color: #d9e7f7;
  background: rgba(8, 17, 31, .88);
  line-height: 1.7;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.catalog-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.catalog-nav a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--ink);
  background: rgba(8, 17, 31, .78);
  font-weight: 800;
}

.catalog-nav a:hover {
  color: #03111a;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.catalog-group + .catalog-group {
  margin-top: 56px;
}

.catalog-group > p {
  width: min(860px, 100%);
}

.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(8, 17, 31, .98), rgba(8, 17, 31, .9));
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, .56);
  box-shadow: var(--shadow-lift);
}

.product-card img {
  height: 240px;
  object-fit: cover;
  background: #f8fafc;
  transition: transform .35s ease;
}

.product-card:hover img {
  transform: scale(1.035);
}

.product-body {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.product-body p,
.product-body ul {
  margin: 0;
}

.product-body ul {
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.product-meta span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid rgba(34, 211, 238, .26);
  border-radius: 8px;
  padding: 0 9px;
  color: #d9e7f7;
  background: rgba(5, 8, 22, .64);
  font-size: 13px;
  font-weight: 800;
}

.affiliate-link {
  width: 100%;
  margin-top: 6px;
}

.product-card .affiliate-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.product-card .affiliate-link {
  position: static;
}

.product-card .product-body,
.product-card img {
  position: relative;
  z-index: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 42px 6vw;
  color: #cbd5e1;
  border-top: 1px solid var(--line);
  background: #050816;
}

.site-footer p { margin-bottom: 0; color: var(--muted); }

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a:hover { color: white; }

.article-page main {
  display: grid;
  grid-template-columns: minmax(0, 760px) 300px;
  gap: 48px;
  align-items: start;
  padding: 56px 6vw 76px;
}

.article-hero {
  grid-column: 1 / -1;
  padding: 0;
}

.article-hero img {
  height: min(46vw, 430px);
  object-fit: cover;
  border-radius: 8px;
}

.article-content h1 {
  color: var(--ink);
  font-size: clamp(36px, 5vw, 64px);
}

.article-content h2 {
  margin-top: 42px;
  font-size: 30px;
  line-height: 1.14;
}

.article-content p,
.article-content li {
  color: #c5d2e0;
  font-size: 18px;
  line-height: 1.8;
}

.article-content a {
  color: var(--cyan);
  font-weight: 800;
}

.article-note,
.affiliate-panel,
.article-gallery,
.answer-box,
.mini-toc,
.faq-list,
.related-links,
.comparison-table {
  margin: 34px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 17, 31, .92);
  box-shadow: var(--shadow-soft);
}

.article-note,
.affiliate-panel,
.answer-box,
.mini-toc,
.faq-list,
.related-links {
  padding: 24px;
}

.article-note h2,
.affiliate-panel h2,
.answer-box h2,
.mini-toc h2,
.faq-list h2,
.related-links h2 {
  margin-top: 0;
}

.answer-box {
  background:
    radial-gradient(circle at 92% 0%, rgba(34, 211, 238, .16), transparent 14rem),
    linear-gradient(135deg, rgba(8, 17, 31, .98), rgba(5, 8, 22, .96));
}

.answer-box p:last-child,
.faq-list p:last-child,
.related-links p:last-child {
  margin-bottom: 0;
}

.mini-toc ol,
.faq-list ol,
.related-links ul {
  margin: 0;
  padding-left: 22px;
}

.mini-toc li + li,
.faq-list li + li,
.related-links li + li {
  margin-top: 10px;
}

.community-cta {
  display: grid;
  gap: 18px;
  margin: 38px 0;
  padding: 24px;
  border: 1px solid rgba(34, 211, 238, .32);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 0%, rgba(139, 92, 246, .18), transparent 16rem),
    linear-gradient(135deg, rgba(8, 17, 31, .98), rgba(5, 8, 22, .94));
  box-shadow: var(--shadow-soft);
}

.community-cta h2 {
  margin-top: 0;
}

.community-actions,
.tool-link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-link-grid a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--ink);
  background: rgba(8, 17, 31, .78);
  font-weight: 850;
}

.tool-link-grid a:hover {
  color: #03111a;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.stat-grid,
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.stat-card,
.step-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 17, 31, .86);
}

.stat-card strong,
.step-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 18px;
}

.comparison-table {
  overflow-x: auto;
}

.comparison-table table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  color: #c5d2e0;
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  color: var(--ink);
  background: rgba(34, 211, 238, .08);
  font-weight: 900;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.article-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
}

.article-gallery figure {
  margin: 0;
}

.article-gallery img {
  height: 260px;
  object-fit: cover;
}

.article-gallery figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.affiliate-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.affiliate-item {
  position: relative;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 10px;
  overflow: hidden;
  padding: 0 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 8, 22, .78);
  box-shadow: 0 8px 22px rgba(16, 24, 40, .06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.affiliate-item:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, .58);
  box-shadow: var(--shadow-lift);
}

.affiliate-thumb {
  width: 100%;
  height: 190px;
  object-fit: contain;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, #f8fafc, #e8f6ff);
}

.affiliate-item strong {
  display: block;
  padding: 0 16px;
  font-size: 18px;
  line-height: 1.25;
}

.affiliate-item p {
  padding: 0 16px;
  margin: 0;
  font-size: 15px;
}

.affiliate-item .button {
  position: static;
  z-index: 2;
  width: calc(100% - 32px);
  margin: 6px 16px 0;
}

.affiliate-item .button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.nebula-offer-rotator {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 22px;
  align-items: center;
  overflow: hidden;
  margin: 34px 0;
  padding: 22px;
  border: 1px solid rgba(34, 211, 238, .26);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 0%, rgba(139, 92, 246, .2), transparent 16rem),
    linear-gradient(135deg, rgba(8, 17, 31, .98), rgba(5, 8, 22, .96));
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.nebula-offer-rotator:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 211, 238, .58);
  box-shadow: var(--shadow-lift);
}

.nebula-offer-rotator img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  padding: 12px;
  border-radius: 8px;
  background: #f8fafc;
}

.nebula-offer-rotator h2 {
  margin-top: 0;
  font-size: clamp(24px, 3vw, 34px);
}

.nebula-offer-rotator p:not(.kicker) {
  margin-bottom: 16px;
}

.nebula-offer-rotator span {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 16px;
  color: #03111a;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-weight: 900;
}

.nebula-offer-rotator a {
  position: absolute;
  inset: 0;
  z-index: 2;
}


.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 18px 0 30px;
  color: var(--muted);
}

.sidebar {
  position: sticky;
  top: 96px;
}

.side-box {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 17, 31, .86);
}

.side-box + .side-box { margin-top: 18px; }

.side-box h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.side-box ul {
  padding-left: 18px;
  margin-bottom: 0;
}

.side-offer {
  position: relative;
  display: grid;
  gap: 12px;
  overflow: hidden;
  padding: 16px;
  border: 1px solid rgba(34, 211, 238, .3);
  border-radius: 8px;
  background:
    radial-gradient(circle at 85% 0%, rgba(139, 92, 246, .18), transparent 12rem),
    rgba(8, 17, 31, .9);
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.side-offer + .side-offer {
  margin-top: 18px;
}

.side-offer:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, .62);
  box-shadow: var(--shadow-lift);
}

.side-offer img {
  height: 170px;
  object-fit: contain;
  padding: 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fafc, #e8f6ff);
}

.side-offer h2 {
  margin: 0;
  font-size: 21px;
}

.side-offer p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.side-offer .button {
  width: 100%;
  min-height: 42px;
  margin-top: 4px;
  font-size: 14px;
}

.side-offer .button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.side-offer img,
.side-offer h2,
.side-offer p,
.side-offer .button {
  position: relative;
  z-index: 0;
}

.side-product-rail {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.side-product-rail > h2 {
  margin: 0;
  font-size: 22px;
}

.side-product-card {
  position: relative;
  display: grid;
  gap: 12px;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(34, 211, 238, .3);
  border-radius: 8px;
  background:
    radial-gradient(circle at 90% 0%, rgba(139, 92, 246, .18), transparent 12rem),
    rgba(8, 17, 31, .92);
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.side-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, .62);
  box-shadow: var(--shadow-lift);
}

.side-product-card img {
  height: 150px;
  object-fit: contain;
  padding: 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fafc, #e8f6ff);
}

.side-product-card h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.side-product-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.side-product-card strong {
  display: block;
  margin: 8px 0 10px;
  color: var(--cyan);
  font-size: 16px;
}

.side-product-card .button {
  width: 100%;
  min-height: 42px;
  font-size: 14px;
}

.side-product-card .button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.side-product-card img,
.side-product-card h2,
.side-product-card p,
.side-product-card strong,
.side-product-card .button {
  position: relative;
  z-index: 0;
}

.legal-page main {
  width: min(860px, 88vw);
  margin: 0 auto;
  padding: 70px 0;
}

.legal-page h1 {
  color: var(--ink);
  font-size: clamp(36px, 6vw, 62px);
}

.legal-page h2 {
  margin-top: 34px;
  font-size: 28px;
}

.legal-page p,
.legal-page li {
  color: #c5d2e0;
  font-size: 18px;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 6vw 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 8, 22, .98);
  }

  .site-nav.open { display: flex; }

  .intro,
  .newsletter,
  .commerce-strip,
  .article-page main {
    grid-template-columns: 1fr;
  }

  .article-grid,
  .product-grid,
  .category-grid,
  .modal-category-grid,
  .article-gallery,
  .affiliate-list,
  .stat-grid,
  .step-grid,
  .nebula-offer-rotator {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .sidebar { position: static; }
}

@media (max-width: 560px) {
  .brand {
    min-height: 58px;
    gap: 9px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }

  .brand-text strong {
    font-size: 17px;
  }

  .brand-text span {
    font-size: 9px;
  }

  .hero {
    min-height: 590px;
    padding-top: 86px;
  }

  .hero-actions,
  .signup div {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}
