:root {
  --ssd-cyan: #19dfff;
  --ssd-red: #ff3347;
  --ssd-amber: #ffb42e;
  --ssd-panel: rgba(9, 15, 25, 0.94);
  --ssd-line: rgba(255, 255, 255, 0.13);
  --ssd-muted: rgba(235, 244, 255, 0.76);
  --ssd-mono: "IBM Plex Mono", monospace;
  --ssd-display: "Syne", Inter, sans-serif;
}

body.ssd-article {
  background:
    radial-gradient(circle at 15% 10%, rgba(25, 223, 255, 0.16), transparent 27%),
    radial-gradient(circle at 84% 22%, rgba(255, 51, 71, 0.14), transparent 27%),
    linear-gradient(90deg, rgba(25, 223, 255, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 51, 71, 0.025) 1px, transparent 1px),
    #05080e;
  background-size: auto, auto, 42px 42px, 42px 42px, auto;
  color: #eef6ff;
}

body.ssd-article::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.11) 2px, rgba(0, 0, 0, 0.11) 4px);
  opacity: 0.4;
}

.ssd-article .article-shell {
  width: min(1240px, calc(100% - 36px));
  padding-bottom: 112px;
}

.ssd-article .article-grid,
.ssd-article .article-body,
.ssd-article .article-toc,
.ssd-article .article-body > * {
  min-width: 0;
}

.ssd-article .article-hero {
  position: relative;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.82fr);
  min-height: 640px;
  gap: clamp(28px, 5vw, 62px);
  overflow: hidden;
  border: 1px solid rgba(25, 223, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(25, 223, 255, 0.08), transparent 32%),
    linear-gradient(225deg, rgba(255, 51, 71, 0.09), transparent 38%),
    rgba(6, 10, 18, 0.48);
  box-shadow: 0 0 72px rgba(25, 223, 255, 0.08);
}

.ssd-article .article-hero::after {
  content: "DATA RETENTION";
  position: absolute;
  right: -34px;
  bottom: 15px;
  color: rgba(255, 255, 255, 0.05);
  font: 800 clamp(2rem, 5vw, 4.6rem)/1 var(--ssd-mono);
  letter-spacing: 0.08em;
  white-space: nowrap;
  transform: rotate(-3deg);
}

.ssd-scan {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.ssd-scan::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(25, 223, 255, 0.8), rgba(255, 51, 71, 0.7), transparent);
  box-shadow: 0 0 22px rgba(25, 223, 255, 0.42);
  animation: ssd-scanline 4.4s linear infinite;
}

@keyframes ssd-scanline {
  0% { top: -6px; opacity: 0.96; }
  100% { top: 106%; opacity: 0; }
}

.ssd-article .article-copy,
.ssd-hero-card {
  position: relative;
  z-index: 2;
}

.ssd-article .article-copy h1 {
  max-width: 760px;
  font-family: var(--ssd-display);
  font-size: clamp(1.9rem, 3vw, 3.25rem);
  line-height: 1;
  letter-spacing: 0;
}

.ssd-article .eyebrow {
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid rgba(255, 180, 46, 0.4);
  background: rgba(255, 180, 46, 0.09);
  color: var(--ssd-amber);
  font: 700 0.76rem/1.2 var(--ssd-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ssd-kicker { color: var(--ssd-red); }

.ssd-article .article-dek {
  color: var(--ssd-muted);
  font-size: 1.08rem;
}

.ssd-hero-card {
  overflow: hidden;
  align-self: center;
  aspect-ratio: 3 / 2;
  border: 1px solid rgba(25, 223, 255, 0.3);
  background: #070b12;
  box-shadow: 0 0 58px rgba(25, 223, 255, 0.14);
}

.ssd-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 34%, rgba(255, 255, 255, 0.23) 46%, transparent 58%);
  transform: translateX(-130%);
  animation: ssd-image-sweep 5.8s ease-in-out infinite;
}

.ssd-hero-card::after {
  content: "BACKUP != ARCHIVE";
  position: absolute;
  z-index: 3;
  left: 18px;
  bottom: 16px;
  padding: 8px 10px;
  color: #fff;
  background: var(--ssd-red);
  font: 800 0.72rem/1 var(--ssd-mono);
}

@keyframes ssd-image-sweep {
  0%, 38% { transform: translateX(-130%); }
  64%, 100% { transform: translateX(130%); }
}

.ssd-hero-card img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 0;
  box-shadow: none;
}

.ssd-hero-card img.is-text-art {
  object-fit: cover;
  background: #020407;
}

.ssd-article .article-body section,
.ssd-callout,
.ssd-table-wrap,
.ssd-inline-figure {
  border: 1px solid var(--ssd-line);
  background: linear-gradient(135deg, rgba(25, 223, 255, 0.07), transparent 38%), var(--ssd-panel);
}

.ssd-article .article-body h2 {
  margin-top: 0;
  font-family: var(--ssd-display);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.18;
  letter-spacing: 0;
}

.ssd-article .article-body h3 {
  color: var(--ssd-amber);
  font-family: var(--ssd-display);
}

.ssd-article .article-body p,
.ssd-article .article-body li,
.ssd-inline-figure figcaption {
  color: var(--ssd-muted);
  line-height: 1.72;
}

.ssd-article strong { color: #fff; }

.ssd-callout {
  padding: 18px;
  border-left: 4px solid var(--ssd-red);
}

.ssd-callout p { margin: 0; color: #fff; font-weight: 800; }

.ssd-table-wrap { overflow-x: auto; }
.ssd-table { width: 100%; border-collapse: collapse; }
.ssd-table th,
.ssd-table td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--ssd-line); vertical-align: top; }
.ssd-table th { color: var(--ssd-amber); font: 700 0.8rem/1.3 var(--ssd-mono); text-transform: uppercase; }
.ssd-table td { color: var(--ssd-muted); }

.ssd-article .affiliate-disclosure {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid var(--ssd-line);
  background: rgba(255, 255, 255, 0.055);
}

.ssd-article .affiliate-disclosure a {
  display: inline-flex;
  width: fit-content;
  margin: 2px 10px 0 0;
  padding: 8px 10px;
  border: 1px solid rgba(25, 223, 255, 0.34);
  background: rgba(25, 223, 255, 0.08);
  color: var(--ssd-cyan);
  font-weight: 800;
  text-decoration: none;
}

.ssd-inline-figure { margin: 0; padding: 10px; }
.ssd-inline-figure img { width: 100%; max-height: 620px; object-fit: cover; }
.ssd-inline-figure figcaption { padding: 8px 6px 2px; font-size: 0.85rem; }

.ssd-take {
  border-color: rgba(255, 180, 46, 0.38) !important;
  background: linear-gradient(135deg, rgba(255, 180, 46, 0.12), transparent 42%), rgba(11, 18, 28, 0.97) !important;
}

.ssd-faq details { padding: 16px 0; border-bottom: 1px solid var(--ssd-line); }
.ssd-faq summary { cursor: pointer; color: #fff; font-weight: 900; }
.ssd-source-note { font-size: 0.9rem; }
.ssd-source-note a, .ssd-article .article-body a { color: var(--ssd-cyan); font-weight: 800; }

.ssd-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.ssd-product-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(25, 223, 255, 0.24);
  background: rgba(3, 8, 14, 0.82);
}

.ssd-product-card img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  padding: 12px;
  border: 1px solid var(--ssd-line);
  background: #fff;
}

.ssd-article .ssd-product-card h3 {
  margin: 0;
  color: #fff;
  font: 800 1rem/1.3 var(--ssd-display);
}

.ssd-article .ssd-product-card p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
}

.ssd-article .ssd-product-card a {
  display: inline-flex;
  width: fit-content;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: #071018;
  background: var(--ssd-amber);
  text-decoration: none;
}

[data-lang-panel][hidden] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  .ssd-scan::after, .ssd-hero-card::before { animation: none; }
}

@media (max-width: 900px) {
  .ssd-article .article-hero,
  .ssd-article .article-grid,
  .ssd-article .share-section { grid-template-columns: 1fr; }
  .ssd-article .article-toc { position: static; }
  .ssd-hero-card img { aspect-ratio: 3 / 2; }
}

@media (max-width: 560px) {
  .ssd-article .article-shell { width: min(100% - 20px, 1240px); }
  .ssd-article .article-copy h1 { font-size: clamp(1.5rem, 7.6vw, 2.05rem); line-height: 1.08; }
  .ssd-article .article-hero { min-height: 0; }
  .ssd-hero-card::after { left: 10px; bottom: 10px; }
  .ssd-table { table-layout: fixed; }
  .ssd-table th, .ssd-table td { padding: 10px 8px; overflow-wrap: anywhere; }
  .ssd-product-grid { grid-template-columns: 1fr; }
}
