/* ============================================================
   ServerReclaim — Page-specific styles
   Only necessary overrides beyond components.css.
   ============================================================ */

/* --- Home hero --- */
.home-hero { padding-block: var(--space-5) var(--space-4); }
@media (min-width: 768px) { .home-hero { padding-block: var(--space-6) var(--space-5); } }
.home-hero__grid { display: grid; gap: var(--space-4); align-items: center; }
@media (min-width: 1024px) { .home-hero__grid { grid-template-columns: 1.3fr 1fr; } }
.home-hero h1 .accent { color: var(--cyan); position: relative; }
.home-hero h1 .accent::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; background: var(--magenta); }
.home-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-3); }
.home-hero__trust { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-3); }
.home-hero__trust li { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.82rem; color: var(--text-secondary); }
.home-hero__trust svg { width: 16px; height: 16px; stroke: var(--value-positive); stroke-width: 2; fill: none; }

/* --- Rack apparatus (SVG hero device) --- */
.rack-device { width: 100%; max-width: 420px; margin-inline: auto; }
.rack-device svg { width: 100%; height: auto; }
.rack-device .led-cyan { fill: var(--cyan); }
.rack-device .led-magenta { fill: var(--magenta); }
.rack-device .frame { stroke: var(--border-strong); stroke-width: 1.5; fill: var(--bg-surface); }
.rack-device .unit { stroke: var(--border-subtle); stroke-width: 1; fill: var(--bg-elevated); }

/* --- Trust strip --- */
.trust-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); padding-block: var(--space-4); border-block: 1px solid var(--border-subtle); }
@media (min-width: 768px) { .trust-strip { grid-template-columns: repeat(4, 1fr); } }

/* --- Category grid (home) --- */
.cat-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-2); }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
.cat-card { display: flex; flex-direction: column; background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius); padding: var(--space-3); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); text-decoration: none; }
.cat-card:hover { border-color: var(--cyan); box-shadow: var(--cyan-glow); }
.cat-card--featured { border-color: rgba(255, 45, 126, 0.3); }
.cat-card--featured:hover { border-color: var(--magenta); box-shadow: var(--magenta-glow); }
.cat-card__icon svg { width: 32px; height: 32px; stroke: var(--cyan); stroke-width: 1.5; fill: none; margin-bottom: var(--space-2); }
.cat-card--featured .cat-card__icon svg { stroke: var(--magenta); }
.cat-card__title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.cat-card__desc { font-size: 0.85rem; color: var(--text-secondary); flex: 1; }
.cat-card__link { margin-top: var(--space-2); font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--cyan); display: inline-flex; align-items: center; gap: 6px; }

/* --- Section header --- */
.section-head { margin-bottom: var(--space-4); }
.section-head .lead { margin-top: var(--space-2); }

/* --- Data erasure table --- */
.tier-table .tier-name { font-family: var(--font-mono); color: var(--magenta); }

/* --- Lot card (wholesale) --- */
.lot-card { border: 1px solid var(--border-subtle); border-radius: var(--radius); padding: var(--space-3); background: var(--bg-surface); }
.lot-card__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: var(--space-2); }
.lot-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.lot-card__meta { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted); }
.lot-card__row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--border-subtle); font-size: 0.88rem; }
.lot-card__row:last-child { border-bottom: 0; }
.lot-card__row span:first-child { color: var(--text-muted); font-family: var(--font-mono); font-size: 0.78rem; text-transform: uppercase; }

/* --- Comply chips wrap --- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* --- Mobile responsive table to card --- */
@media (max-width: 767px) {
  .spec-table thead { display: none; }
  .spec-table, .spec-table tbody, .spec-table tr, .spec-table td { display: block; width: 100%; }
  .spec-table tr { border: 1px solid var(--border-subtle); border-radius: var(--radius); margin-bottom: 8px; padding: 4px 0; }
  .spec-table td { border: 0; padding: 8px 16px; display: flex; justify-content: space-between; text-align: right; }
  .spec-table td::before { content: attr(data-label); font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; color: var(--text-muted); margin-right: 16px; }
  .spec-table td:first-child { color: var(--text-primary); font-weight: 600; }
}

/* --- 404 --- */
.notfound { text-align: center; padding-block: var(--space-6); }
.notfound__code { font-family: var(--font-mono); font-size: clamp(60px, 12vw, 120px); font-weight: 500; color: var(--cyan); line-height: 1; }
.notfound__links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: var(--space-4); }

/* --- Article/legal prose --- */
.prose { max-width: 70ch; }
.prose h2 { margin-top: var(--space-4); margin-bottom: var(--space-2); }
.prose p { margin-bottom: var(--space-2); }
.prose ul { list-style: disc; padding-left: 20px; margin-bottom: var(--space-2); }
.prose ul li { color: var(--text-secondary); margin-bottom: 6px; }
