/*
 * Up4pc v2 — SIGNAL DEPOT
 * Hard industrial catalog. No soft SaaS, no purple, no giant hero.
 * Type: Unbounded + Karla + IBM Plex Mono
 */

:root {
  --ink: #0b0c0e;
  --ink-2: #1a1d22;
  --paper: #e7e9ec;
  --panel: #f4f5f7;
  --white: #ffffff;
  --signal: #ff2a00;
  --signal-dark: #c91f00;
  --volt: #d6ff00;
  --volt-ink: #121400;
  --mute: #5c6570;
  --line: #0b0c0e;
  --max: 1180px;
  --font: "Karla", "Segoe UI", sans-serif;
  --display: "Unbounded", "Arial Black", sans-serif;
  --mono: "IBM Plex Mono", "Consolas", monospace;
  --hard: 3px 3px 0 var(--ink);
  --radius: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(11, 12, 14, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 12, 14, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--signal);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 0.45em;
}

p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.mono {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: -0.02em;
}

.container {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 10000;
  width: auto;
  height: auto;
  clip: auto;
  padding: 0.55rem 0.9rem;
  background: var(--volt);
  color: var(--volt-ink);
  font-weight: 700;
}

/* Hazard tape */

.hazard-tape {
  height: 10px;
  overflow: hidden;
  background: var(--ink);
  border-bottom: 2px solid var(--ink);
}

.hazard-tape span,
.hazard-tape-footer span {
  display: block;
  height: 100%;
  width: 200%;
  background: repeating-linear-gradient(
    -45deg,
    var(--volt),
    var(--volt) 10px,
    var(--ink) 10px,
    var(--ink) 20px
  );
  animation: tape-scroll 18s linear infinite;
}

.hazard-tape-footer {
  border-bottom: 0;
  border-top: 2px solid var(--ink);
}

@keyframes tape-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .hazard-tape span { animation: none; }
  html { scroll-behavior: auto; }
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--ink);
  color: var(--white);
  border-bottom: 3px solid var(--signal);
}

.header-rail {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 0.75rem;
  align-items: center;
  min-height: 58px;
  padding: 0.55rem 0;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--white);
  text-decoration: none;
  flex-shrink: 0;
}

.site-brand:hover {
  color: var(--volt);
  text-decoration: none;
}

.brand-mark svg {
  display: block;
}

.brand-text {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-text span {
  color: var(--volt);
}

.header-search {
  display: flex;
  align-items: stretch;
  border: 2px solid var(--white);
  background: var(--white);
  max-width: 520px;
  width: 100%;
  margin-inline: auto;
}

.search-prefix {
  display: grid;
  place-items: center;
  padding: 0 0.55rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--mute);
  background: var(--panel);
  border-right: 2px solid var(--ink);
}

.header-search input {
  flex: 1;
  border: 0;
  padding: 0.55rem 0.7rem;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
  outline: none;
  min-width: 0;
}

.search-submit {
  border: 0;
  background: var(--signal);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 0 0.95rem;
  cursor: pointer;
}

.search-submit:hover {
  background: var(--volt);
  color: var(--volt-ink);
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--volt);
  border-radius: 0;
  animation: blink 1.2s steps(2) infinite;
}

@keyframes blink {
  50% { opacity: 0.2; }
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: #fff;
}

.main-nav {
  background: var(--ink-2);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.35rem;
  padding: 0.3rem 0;
}

.primary-menu,
.platform-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem;
}

.primary-menu a,
.platform-menu a {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  padding: 0.4rem 0.65rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.platform-menu a:hover {
  background: var(--signal);
  color: #fff;
  text-decoration: none;
}

.platform-menu a {
  color: var(--volt);
}

.platform-slash {
  color: rgba(255, 255, 255, 0.25);
  font-family: var(--mono);
  padding: 0 0.25rem;
}

.primary-menu .sub-menu {
  display: none;
}

/* Depot strip — compact, not a hero */

.depot-strip {
  background: var(--volt);
  color: var(--volt-ink);
  border-bottom: 3px solid var(--ink);
  padding: 0.65rem 0;
}

.depot-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1.25rem;
}

.depot-kicker {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
}

.stamp {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.45rem;
  background: var(--ink);
  color: var(--volt);
  transform: rotate(-2deg);
}

.depot-line {
  font-family: var(--font);
  font-size: 0.95rem;
}

.depot-counters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
}

.depot-counters b {
  font-size: 1rem;
}

.depot-counters a {
  color: var(--volt-ink);
  font-weight: 800;
  text-decoration: underline;
}

.depot-counters .sep {
  opacity: 0.45;
}

/* Category rail */

.cat-rail {
  padding: 1rem 0 0.35rem;
}

.rail-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 0.55rem;
  color: var(--mute);
}

.cat-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.45rem;
}

.cat-track a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.45rem;
  align-items: center;
  padding: 0.55rem 0.65rem;
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: var(--hard);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  animation: rise-in 0.45s ease both;
  animation-delay: calc(var(--i, 0) * 0.04s);
}

.cat-track a:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
  background: var(--volt);
  text-decoration: none;
}

.cat-track em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.7rem;
  color: var(--mute);
}

.cat-track b {
  font-family: var(--mono);
  font-size: 0.72rem;
  background: var(--ink);
  color: var(--volt);
  padding: 0.1rem 0.35rem;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Home board */

.home-board {
  padding: 1.25rem 0 2.5rem;
}

.board-grid {
  display: grid;
  grid-template-columns: 1.7fr 0.85fr;
  gap: 1rem;
  align-items: start;
}

.board-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 0.45rem;
}

.board-title {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  margin: 0;
  text-transform: uppercase;
}

.board-title-sm {
  font-size: 1.15rem;
}

.board-link {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--signal);
}

.board-link:hover {
  background: var(--signal);
  color: #fff;
  text-decoration: none;
}

/* File table rows */

.file-table {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 2px solid var(--ink);
  background: var(--white);
  box-shadow: var(--hard);
}

.file-table-head {
  display: grid;
  grid-template-columns: 1fr 70px 90px 70px;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  background: var(--ink);
  color: var(--volt);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.soft-row {
  display: grid;
  grid-template-columns: 1fr 70px 90px 70px;
  gap: 0.5rem;
  align-items: center;
  padding: 0.55rem 0.75rem;
  border-top: 2px solid var(--ink);
  background: var(--white);
  transition: background 0.15s ease;
}

.soft-row:nth-child(even) {
  background: var(--panel);
}

.soft-row:hover {
  background: #fff6e8;
}

.soft-row-main {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.soft-row-main:hover {
  text-decoration: none;
}

.soft-row-main:hover .soft-row-title {
  color: var(--signal);
}

.soft-row-icon .soft-icon,
.soft-row-icon .soft-icon-fallback,
.soft-card-icon .soft-icon,
.soft-card-icon .soft-icon-fallback,
.software-header-icon .soft-icon,
.software-header-icon .soft-icon-fallback,
.download-box-head .soft-icon,
.download-box-head .soft-icon-fallback,
.widget-soft-item .soft-icon,
.widget-soft-item .soft-icon-fallback {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 2px solid var(--ink);
  background: var(--panel);
}

.soft-icon-fallback {
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1rem;
  background: var(--ink);
  color: var(--volt);
  border: 2px solid var(--ink);
}

.soft-row-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.soft-row-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}

.soft-row-desc {
  color: var(--mute);
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.soft-row-ver,
.soft-row-size {
  color: var(--mute);
  text-align: left;
}

.soft-row-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--volt);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.35rem;
  text-decoration: none;
  border: 2px solid var(--ink);
}

.soft-row-btn:hover {
  background: var(--signal);
  color: #fff;
  text-decoration: none;
}

/* Spotlight tiles */

.spotlight {
  margin-top: 1.5rem;
}

.spotlight-grid,
.soft-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.soft-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: var(--hard);
  overflow: hidden;
}

.soft-card-link {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0.7rem;
  padding: 0.85rem;
  color: inherit;
  text-decoration: none;
  flex: 1;
}

.soft-card-link:hover {
  text-decoration: none;
  background: var(--panel);
}

.soft-card-icon .soft-icon,
.soft-card-icon .soft-icon-fallback {
  width: 56px;
  height: 56px;
  font-size: 1.25rem;
}

.soft-card-title {
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
  text-transform: uppercase;
}

.soft-card-meta {
  display: flex;
  gap: 0.55rem;
  color: var(--mute);
}

.soft-card-dl {
  display: block;
  text-align: center;
  background: var(--signal);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  padding: 0.6rem;
  text-decoration: none;
  border-top: 2px solid var(--ink);
}

.soft-card-dl:hover {
  background: var(--volt);
  color: var(--volt-ink);
  text-decoration: none;
}

/* Side blocks */

.side-block {
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: var(--hard);
  padding: 0.85rem;
  margin-bottom: 0.85rem;
}

.side-block-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--ink);
}

.side-block-head h2,
.side-block-head h3 {
  margin: 0;
  font-size: 1rem;
  text-transform: uppercase;
}

.volt-tag {
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: var(--volt);
  color: var(--volt-ink);
  padding: 0.15rem 0.4rem;
  border: 2px solid var(--ink);
}

.hot-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.45rem;
  align-items: start;
  padding: 0.45rem 0;
  border-bottom: 1px dashed rgba(11, 12, 14, 0.25);
}

.hot-list li:last-child {
  border-bottom: 0;
}

.hot-rank {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--signal);
}

.hot-list a {
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.hot-list a:hover strong {
  color: var(--signal);
}

.hot-list strong {
  display: block;
  font-family: var(--display);
  font-size: 0.82rem;
  letter-spacing: -0.02em;
}

.hot-list em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.72rem;
  color: var(--mute);
}

.plat-stack a {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.82rem;
}

.plat-stack a:hover {
  background: var(--volt);
  text-decoration: none;
}

.plat-stack em {
  font-style: normal;
  color: var(--mute);
}

.tip-block {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  box-shadow: 3px 3px 0 var(--signal);
}

.tip-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--volt);
  margin: 0 0 0.4rem;
}

.tip-block p:last-child {
  margin: 0;
  font-size: 0.9rem;
}

/* Ratings */

.rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.rating-stars .star {
  width: 11px;
  height: 11px;
  display: inline-block;
  background: #c5cad1;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.rating-stars .star.full,
.rating-stars .star.half {
  background: var(--signal);
}

.rating-num {
  margin-left: 0.3rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--mute);
}

/* Page shell / single */

.page-shell {
  padding: 1rem 0 2.5rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--mute);
  margin-bottom: 0.85rem;
}

.breadcrumbs a { color: var(--ink); font-weight: 600; }
.breadcrumbs .current { color: var(--signal); font-weight: 700; }

.software-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: var(--hard);
  padding: 1rem;
  margin-bottom: 1rem;
}

.software-header-icon .soft-icon,
.software-header-icon .soft-icon-fallback {
  width: 72px;
  height: 72px;
  font-size: 1.6rem;
}

.software-title {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.software-lead {
  color: var(--mute);
  margin-bottom: 0.65rem;
  max-width: 58ch;
}

.software-header-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.platform-badges,
.soft-cats,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.platform-badge a,
.soft-cats a,
.tag-list a {
  display: inline-block;
  background: var(--volt);
  border: 2px solid var(--ink);
  color: var(--volt-ink);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  text-decoration: none;
}

.platform-badge a:hover,
.soft-cats a:hover,
.tag-list a:hover {
  background: var(--signal);
  color: #fff;
}

.software-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1rem;
  align-items: start;
}

.content-panel {
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: var(--hard);
  padding: 1.1rem 1.15rem;
  margin-bottom: 0.85rem;
}

.panel-title {
  margin: 0 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--ink);
  font-size: 1.05rem;
  text-transform: uppercase;
}

.entry-content ul,
.entry-content ol {
  margin: 0 0 1em 1.2em;
  list-style: disc;
}

.entry-content ol { list-style: decimal; }

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table th,
.specs-table td {
  padding: 0.55rem 0.35rem;
  border-bottom: 2px solid var(--ink);
  text-align: left;
  vertical-align: top;
  font-size: 0.92rem;
}

.specs-table th {
  width: 32%;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--mute);
  font-weight: 600;
}

.download-box {
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 5px 5px 0 var(--signal);
  padding: 1rem;
  position: sticky;
  top: 78px;
}

.download-stamp {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  background: var(--ink);
  color: var(--volt);
  padding: 0.2rem 0.45rem;
  margin-bottom: 0.75rem;
  transform: rotate(-1.5deg);
}

.download-box-head {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.download-box-head .soft-icon,
.download-box-head .soft-icon-fallback {
  width: 48px;
  height: 48px;
}

.download-box-head strong {
  display: block;
  font-family: var(--display);
  font-size: 0.95rem;
  text-transform: uppercase;
}

.download-facts {
  margin: 0.75rem 0 1rem;
}

.download-facts li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.35rem 0;
  border-bottom: 1px dashed rgba(11, 12, 14, 0.3);
  font-size: 0.88rem;
}

.download-facts span { color: var(--mute); }

.btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--signal);
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 0.85rem 0.75rem;
  text-decoration: none;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn-download:hover {
  background: var(--volt);
  color: var(--volt-ink);
  text-decoration: none;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}

.btn-download.is-disabled {
  background: #9aa3ad;
  box-shadow: none;
  cursor: not-allowed;
}

.btn-mirror {
  display: block;
  text-align: center;
  margin-top: 0.55rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
}

.virus-note {
  margin: 0.75rem 0 0;
  padding: 0.5rem;
  background: var(--volt);
  border: 2px solid var(--ink);
  color: var(--volt-ink);
  font-size: 0.78rem;
  font-weight: 600;
}

.download-hint {
  margin: 0.75rem 0 0;
  color: var(--mute);
  font-size: 0.78rem;
}

.related-section {
  margin-top: 1.35rem;
}

.related-section > h2 {
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  font-size: 1.2rem;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 0.35rem;
}

/* Archives */

.archive-header {
  margin-bottom: 1rem;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 0.55rem;
}

.archive-title {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.archive-desc { color: var(--mute); max-width: 58ch; }

.archive-layout {
  display: grid;
  grid-template-columns: 1fr 270px;
  gap: 1rem;
  align-items: start;
}

.archive-main .soft-grid {
  grid-template-columns: repeat(2, 1fr);
}

.sidebar .widget {
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: var(--hard);
  padding: 0.85rem;
  margin-bottom: 0.85rem;
}

.widget-title {
  font-size: 0.95rem;
  margin: 0 0 0.65rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--ink);
  text-transform: uppercase;
}

.widget-soft-list li + li { margin-top: 0.5rem; }

.widget-soft-item {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.widget-soft-item .soft-icon,
.widget-soft-item .soft-icon-fallback {
  width: 36px;
  height: 36px;
  font-size: 0.9rem;
}

.widget-soft-meta strong {
  display: block;
  font-family: var(--display);
  font-size: 0.82rem;
}

.widget-soft-meta em {
  font-family: var(--mono);
  font-style: normal;
  color: var(--mute);
  font-size: 0.72rem;
}

.widget-cat-list a {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
  font-weight: 700;
  font-family: var(--mono);
  font-size: 0.8rem;
  text-decoration: none;
}

.widget-cat-list a:hover {
  background: var(--volt);
}

.widget-cat-list em {
  font-style: normal;
  color: var(--mute);
}

/* Blog / pages */

.post-list { display: flex; flex-direction: column; gap: 0.75rem; }

.post-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0.85rem;
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: var(--hard);
  overflow: hidden;
}

.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 120px;
}

.post-card-body { padding: 0.85rem 0.85rem 0.85rem 0; }
.post-card-title { font-size: 1.1rem; text-transform: uppercase; }
.post-card-title a { color: inherit; text-decoration: none; }
.post-card-title a:hover { color: var(--signal); }
.post-card-meta, .post-meta {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--mute);
}

.page-header { margin-bottom: 0.85rem; }
.page-entry .page-header h1 {
  font-size: 1.85rem;
  text-transform: uppercase;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 0.4rem;
}

/* Pagination */

.navigation.pagination { margin-top: 1.25rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: 0.3rem; }

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.55rem;
  background: var(--white);
  border: 2px solid var(--ink);
  color: var(--ink);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
  box-shadow: 2px 2px 0 var(--ink);
}

.page-numbers.current,
.page-numbers:hover {
  background: var(--signal);
  color: #fff;
  text-decoration: none;
}

/* Comments / forms */

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.up4pc-contact-form input,
.up4pc-contact-form textarea {
  width: 100%;
  border: 2px solid var(--ink);
  border-radius: 0;
  padding: 0.65rem 0.7rem;
  font: inherit;
  background: var(--white);
  margin-bottom: 0.65rem;
}

.btn-submit,
.comment-form .submit,
.form-submit-btn {
  background: var(--ink);
  color: var(--volt);
  border: 2px solid var(--ink);
  box-shadow: var(--hard);
  padding: 0.65rem 1rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 1rem;
  align-items: start;
}

.contact-points {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 2px solid var(--ink);
}

.contact-points li { margin-bottom: 0.45rem; color: var(--mute); }
.contact-points strong { color: var(--ink); }

.up4pc-contact-form label {
  display: block;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.up4pc-contact-form label span { color: var(--signal); }

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  height: 0 !important;
  overflow: hidden !important;
}

.form-alert {
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.85rem;
  border: 2px solid var(--ink);
  font-weight: 700;
  font-size: 0.88rem;
}

.form-alert-success { background: var(--volt); color: var(--volt-ink); }
.form-alert-error { background: #ffd4cc; color: var(--signal-dark); }

.error-404 {
  text-align: center;
  padding: 2rem 1.25rem;
}

.error-code {
  font-family: var(--display);
  font-size: 4rem;
  font-weight: 800;
  margin: 0;
  line-height: 1;
  color: var(--signal);
}

.error-404 .hero-search,
.hero-search {
  display: flex;
  max-width: 420px;
  margin: 1rem auto;
  border: 2px solid var(--ink);
  box-shadow: var(--hard);
  overflow: hidden;
}

.hero-search input {
  flex: 1;
  border: 0;
  padding: 0.75rem;
  font: inherit;
  outline: none;
}

.hero-search button {
  border: 0;
  background: var(--signal);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  padding: 0 1rem;
  cursor: pointer;
}

.empty-note {
  color: var(--mute);
  padding: 0.85rem;
  background: var(--white);
  border: 2px dashed var(--ink);
  font-family: var(--mono);
  font-size: 0.85rem;
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 1.25rem;
  padding: 2rem 0 1.5rem;
}

.footer-col .widget-title,
.footer-col h4 {
  color: var(--volt);
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--volt);
  text-decoration: underline;
}

.footer-col ul li { margin-bottom: 0.35rem; }

.footer-brand { margin-bottom: 0.65rem; }
.footer-brand .brand-text { color: #fff; }
.footer-about p { font-size: 0.9rem; }

.footer-bottom {
  border-top: 2px solid rgba(255, 255, 255, 0.12);
  padding: 0.85rem 0 1.1rem;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.copyright {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.8rem;
}

.copyright a {
  color: var(--volt);
  font-weight: 700;
  text-decoration: none;
}

.disclaimer {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.search-list .soft-row {
  grid-template-columns: 1fr 70px;
}

.search-list .soft-row-ver,
.search-list .soft-row-size {
  display: none;
}

/* Responsive */

@media (max-width: 980px) {
  .board-grid,
  .software-layout,
  .archive-layout,
  .footer-grid,
  .contact-layout,
  .spotlight-grid,
  .soft-grid,
  .archive-main .soft-grid {
    grid-template-columns: 1fr;
  }

  .download-box { position: static; }

  .file-table-head { display: none; }

  .soft-row {
    grid-template-columns: 1fr auto;
  }

  .soft-row-ver,
  .soft-row-size {
    display: none;
  }

  .post-card { grid-template-columns: 1fr; }
  .post-card-body { padding: 0 0.85rem 0.85rem; }

  .header-meta { display: none; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .main-nav { display: none; }
  .main-nav.is-open { display: block; }

  .primary-menu,
  .platform-menu {
    flex-direction: column;
  }

  .platform-slash { display: none; }

  .header-rail {
    grid-template-columns: 1fr auto;
  }

  .header-search {
    grid-column: 1 / -1;
    max-width: none;
    order: 3;
  }

  .depot-strip-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
