/* Soft Enterprises — archive rebuild
   Palette and type lean on the 2000 original: black, green links, white copy.
   The layout is new; the furniture is period-correct. */

:root {
  --bg: #05070a;
  --bg-2: #080b11;
  --panel: #0b1018;
  --panel-2: #0e1620;
  --line: #1d2b28;
  --line-bright: #2f4a3d;
  --ink: #d9e6dd;
  --ink-dim: #8fa39a;
  --green: #74ff9b;
  --green-dim: #3fbf68;
  --yellow: #ffe66d;
  --cyan: #6fe3ff;
  --red: #ff5c5c;
  --magenta: #ff7ad9;
  --wrap: 1120px;
  --mono: "IBM Plex Mono", "Cascadia Mono", "SFMono-Regular", ui-monospace, "Courier New", monospace;
  --display: "Arial Black", "Helvetica Neue", Impact, ui-sans-serif, sans-serif;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 700px at 15% -10%, rgba(35, 255, 120, 0.07), transparent 60%),
    radial-gradient(900px 600px at 90% 0%, rgba(255, 90, 200, 0.06), transparent 60%),
    linear-gradient(180deg, #05070a 0%, #060a0f 45%, #040608 100%);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(120, 255, 160, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 255, 160, 0.02) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px;
  mask-image: radial-gradient(circle at 50% 20%, black, transparent 80%);
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.16;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.05) 0px,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: overlay;
}

.glow {
  position: fixed;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.25;
}
.glow-a { background: #0aff66; top: -18vw; right: -8vw; }
.glow-b { background: #ff2bd1; bottom: -22vw; left: -12vw; opacity: 0.12; }

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px dashed var(--yellow);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  line-height: 1.08;
  font-family: var(--display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #f4fff7;
}

p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: 0.3em; }
img { max-width: 100%; height: auto; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
code, .mono { font-family: var(--mono); }

.muted { color: var(--ink-dim); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--green);
  color: #001b08;
  padding: 10px 16px;
  font-weight: 700;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 7, 10, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  flex: 0 0 auto;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-bright);
  background: #000;
  padding: 3px;
  image-rendering: pixelated;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f4fff7;
}
.brand-sub {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green-dim);
  margin-top: 4px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex-wrap: wrap;
}

.nav-link {
  display: block;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  border: 1px solid transparent;
}
.nav-link:hover { color: var(--green); text-decoration: none; border-color: var(--line-bright); }
.nav-link.is-active {
  color: #04120a;
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 0 18px rgba(116, 255, 155, 0.35);
}

.lang-switch {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 8px 10px;
  border: 1px solid var(--line-bright);
  color: var(--ink);
  background: var(--panel);
}
.lang-switch:hover { color: var(--yellow); text-decoration: none; border-color: var(--yellow); }

/* ---------- hero ---------- */

.page-hero { padding: 72px 0 36px; }
.page-hero h1 {
  font-size: clamp(36px, 6vw, 68px);
  max-width: 18ch;
  text-shadow: 0 0 24px rgba(116, 255, 155, 0.18);
}
.kicker {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
}
.kicker::before { content: ">> "; color: var(--yellow); }
.lede {
  max-width: 62ch;
  color: var(--ink-dim);
  font-size: 17px;
}
.meta {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  background: rgba(10, 16, 22, 0.6);
}

/* ---------- home ---------- */

.home-hero { padding: 78px 0 40px; }
.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 48px;
  align-items: center;
}
.home-title {
  font-size: clamp(40px, 7vw, 82px);
  line-height: 0.95;
  margin-bottom: 24px;
}
.home-title .line-2 { color: var(--green); display: block; text-shadow: 0 0 30px rgba(116, 255, 155, 0.3); }
.home-sub {
  font-size: 18px;
  color: var(--ink-dim);
  max-width: 48ch;
  margin-bottom: 28px;
}
.home-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }

.btn, .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--green);
  background: var(--green);
  color: #04120a;
  box-shadow: 4px 4px 0 #123a22, 0 0 24px rgba(116, 255, 155, 0.18);
  cursor: pointer;
}
.btn:hover { color: #04120a; text-decoration: none; transform: translate(-1px, -1px); box-shadow: 5px 5px 0 #123a22; }
.btn-ghost {
  background: transparent;
  color: var(--green);
  border-color: var(--line-bright);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
}
.btn-ghost:hover { color: var(--yellow); border-color: var(--yellow); text-decoration: none; }

.logo-stage {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line-bright);
  background:
    repeating-linear-gradient(45deg, rgba(116, 255, 155, 0.03) 0 2px, transparent 2px 10px),
    radial-gradient(circle at 50% 35%, rgba(116, 255, 155, 0.12), transparent 65%),
    #030504;
  box-shadow: var(--shadow), inset 0 0 60px rgba(0, 0, 0, 0.9);
}
.logo-stage img {
  display: block;
  width: min(100%, 340px);
  margin: 0 auto;
  filter: drop-shadow(0 0 22px rgba(116, 255, 155, 0.2));
}
.logo-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 4px);
  opacity: 0.4;
}
.stage-caption {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-dim);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.marquee {
  margin-top: 28px;
  border-block: 1px solid var(--line);
  background: #020403;
  overflow: hidden;
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--green-dim);
}
.marquee-track {
  display: inline-block;
  padding: 10px 0;
  animation: marquee 38s linear infinite;
}
.marquee-track span { padding: 0 22px; }
.marquee-track b { color: var(--yellow); font-weight: 700; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- sections ---------- */

.section { padding: 56px 0; }
.section-tight { padding: 36px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(24px, 3.4vw, 38px);
  margin: 0;
}
.section-head .kicker { margin: 0 0 8px; }
.section-link {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- panels ---------- */

.panel {
  position: relative;
  background: linear-gradient(160deg, rgba(14, 22, 32, 0.92), rgba(7, 11, 16, 0.96));
  border: 1px solid var(--line);
  padding: 26px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.corner {
  position: absolute;
  width: 9px;
  height: 9px;
  border-color: var(--green-dim);
  border-style: solid;
  opacity: 0.8;
}
.corner.tl { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.corner.tr { top: -1px; right: -1px; border-width: 1px 1px 0 0; }
.corner.bl { bottom: -1px; left: -1px; border-width: 0 0 1px 1px; }
.corner.br { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ---------- news ---------- */

.news-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.news-item { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px dashed var(--line); }
.news-item:last-child { border-bottom: 0; }
.news-date {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
}
.news-item h3 { font-size: 20px; margin-bottom: 8px; }
.news-item p { color: var(--ink-dim); }
.news-item p:last-child { margin-bottom: 0; }

.home-news { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr); gap: 28px; align-items: start; }
.home-news-list { list-style: none; margin: 0; padding: 0; }
.home-news-list li {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-dim);
}
.home-news-list li:first-child { padding-top: 0; }
.home-news-list .date { flex: 0 0 118px; font-size: 10px; line-height: 1.4; color: var(--yellow); letter-spacing: 0.08em; text-transform: uppercase; }
.home-news-list a { color: var(--ink); }
.home-news-list a:hover { color: var(--green); }

.stat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat-list li { background: var(--panel); padding: 14px 17px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.stat-list .k { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim); }
.stat-list .v { color: var(--green); font-weight: 700; }

/* ---------- product grid ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
}

.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #0b1119, #070a0f);
  color: var(--ink);
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.product-card:hover {
  text-decoration: none;
  color: var(--ink);
  border-color: var(--green-dim);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(116, 255, 155, 0.15);
}

.art {
  position: relative;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 50% 40%, rgba(116, 255, 155, 0.12), transparent 62%),
    repeating-linear-gradient(45deg, rgba(116, 255, 155, 0.035) 0 2px, transparent 2px 9px),
    #030504;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art--cover img { object-fit: cover; }
.art--shot img { object-fit: cover; }
.art--logo {
  padding: 22px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.6), transparent 65%),
    repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.04) 0 2px, transparent 2px 9px),
    linear-gradient(135deg, #e6ebe4, #a9b3a8);
}
.art--logo img { object-fit: contain; height: auto; max-height: 80%; width: min(92%, 340px); max-width: 100%; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3)); }
.art-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 4px);
  opacity: 0.35;
}

.product-card-body { padding: 16px 17px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card-body h3 { font-size: 18px; margin: 0; }
.product-tagline { color: var(--ink-dim); font-size: 13px; margin: 0; min-height: 2.6em; }
.product-meta {
  display: flex;
  gap: 12px;
  margin: 2px 0 0;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-dim);
}
.card-cta { margin-top: auto; padding-top: 10px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); }

/* ---------- detail ---------- */

.detail-grid {
  display: grid;
  grid-template-columns: minmax(240px, 330px) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.detail-art {
  border: 1px solid var(--line-bright);
  background: #020403;
  padding: 14px;
  box-shadow: var(--shadow);
}
.detail-art img { display: block; width: 100%; }
.detail-art.art--logo { background: linear-gradient(135deg, #e6ebe4, #a9b3a8); }
.detail-art.art--logo img { width: min(100%, 380px); margin: 18px auto; }
.detail-art .stage-caption { border-top: 1px solid var(--line); color: var(--green-dim); }

.facts { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 13px; }
.facts th, .facts td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { width: 38%; color: var(--ink-dim); font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; font-size: 10px; }
.facts td { color: var(--ink); }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.feature-list li { padding-left: 20px; position: relative; color: var(--ink-dim); }
.feature-list li::before { content: "▸"; position: absolute; left: 0; color: var(--green); }

.prose p { max-width: 68ch; color: var(--ink-dim); }
.prose p strong { color: var(--ink); }

.detail-art.art--logo .stage-caption {
  color: #223026;
  border-top-color: rgba(0, 0, 0, 0.2);
}

.screenshot-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; align-items: start; }
.screenshot-strip figure { margin: 0; border: 1px solid var(--line); background: #000; display: flex; flex-direction: column; align-items: center; }
.screenshot-strip img { display: block; width: auto; max-width: 100%; max-height: 320px; margin: 0 auto; image-rendering: pixelated; }
.screenshot-strip figcaption { padding: 8px 10px; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-dim); }

/* ---------- cards / lists ---------- */

.link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.link-card {
  display: block;
  padding: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(14, 22, 32, 0.92), rgba(7, 11, 16, 0.96));
  color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.link-card:hover { text-decoration: none; color: var(--ink); border-color: var(--green-dim); transform: translateY(-2px); }
.link-card h3 { font-size: 16px; margin-bottom: 6px; }
.link-card p { color: var(--ink-dim); font-size: 13px; margin: 0; }
.link-card .card-cta { display: inline-block; margin-top: 12px; padding-top: 0; }

.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  border: 1px solid var(--line-bright);
  padding: 4px 9px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dim);
}

.team-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.team-list li { background: var(--panel); padding: 18px 20px; }
.team-list .name { font-family: var(--display); text-transform: uppercase; letter-spacing: 0.03em; color: #f4fff7; }
.team-list .role { display: block; color: var(--ink-dim); font-size: 12px; margin-top: 4px; }
.team-list .nick { display: inline-block; margin-top: 8px; font-size: 10px; color: var(--magenta); letter-spacing: 0.12em; }

.patch-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.patch-row:last-child { border-bottom: 0; }
.patch-row h3 { font-size: 17px; margin-bottom: 4px; }
.patch-row p { margin: 0; color: var(--ink-dim); font-size: 13px; }
.patch-badge { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid var(--line-bright); padding: 4px 8px; color: var(--green-dim); white-space: nowrap; }

.callout {
  border-left: 3px solid var(--yellow);
  background: rgba(255, 230, 109, 0.05);
  padding: 14px 18px;
  color: var(--ink-dim);
  font-size: 13px;
  margin: 22px 0;
}

.under-construction {
  text-align: center;
  padding: 40px 20px;
  border: 1px dashed var(--line-bright);
  background: repeating-linear-gradient(135deg, rgba(255, 230, 109, 0.04) 0 12px, transparent 12px 24px);
}
.under-construction .big { font-family: var(--display); text-transform: uppercase; font-size: clamp(22px, 4vw, 36px); color: var(--yellow); margin-bottom: 6px; }

/* ---------- forms ---------- */

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-dim); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%;
  background: #04070a;
  border: 1px solid var(--line-bright);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  padding: 10px 12px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:disabled, .field textarea:disabled, .field select:disabled { opacity: 0.55; }
.form-note { font-size: 12px; color: var(--ink-dim); }

/* ---------- search ---------- */

.search-box { display: flex; gap: 10px; flex-wrap: wrap; }
.search-box input {
  flex: 1 1 260px;
  background: #04070a;
  border: 1px solid var(--line-bright);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 16px;
  padding: 13px 14px;
}
.search-box input::placeholder { color: #5f7268; }
.search-status { margin: 22px 0 10px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-dim); }
.result-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.result-list li { border: 1px solid var(--line); background: var(--panel); padding: 16px 18px; }
.result-list h3 { font-size: 16px; margin-bottom: 4px; }
.result-list p { margin: 0; color: var(--ink-dim); font-size: 13px; }
.result-list .path { display: block; margin-top: 8px; font-size: 10px; letter-spacing: 0.1em; color: var(--green-dim); }
mark { background: var(--yellow); color: #1a1400; padding: 0 2px; }

/* ---------- footer ---------- */

.site-footer {
  margin-top: 80px;
  border-top: 1px solid var(--line);
  background: #020405;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 140px 1.3fr 0.7fr 1fr;
  gap: 40px;
  padding: 56px 0 40px;
}
.footer-brand img { width: 120px; filter: drop-shadow(0 0 18px rgba(116, 255, 155, 0.15)); }
.footer-heading { font-size: 12px; letter-spacing: 0.2em; color: var(--green-dim); margin-bottom: 14px; }
.footer-col p { font-size: 12px; color: var(--ink-dim); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 6px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.counter-col { border-left: 1px solid var(--line); padding-left: 28px; }
.counter-label { font-size: 10px !important; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-dim) !important; margin-bottom: 8px; }
.counter { margin: 0 0 12px; }
.counter-digits {
  font-family: var(--mono);
  font-size: 28px;
  letter-spacing: 0.18em;
  color: var(--green);
  text-shadow: 0 0 16px rgba(116, 255, 155, 0.5);
  background: #000;
  border: 1px solid var(--line-bright);
  padding: 6px 10px;
  display: inline-block;
}
.counter-foot { font-size: 10px !important; line-height: 1.5; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 16px 0 24px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5f7268;
}
.blink { animation: blink 1.2s steps(2, start) infinite; color: var(--green); }
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-legal a { color: #5f7268; border-bottom: 1px solid transparent; }
.footer-legal a:hover, .footer-legal a:focus-visible { color: var(--green); border-color: currentColor; }

/* legal pages */
.legal-page { max-width: 760px; }
.legal-page section { margin-bottom: 30px; }
.legal-page section:last-child { margin-bottom: 0; }
.legal-page h2 {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}
.legal-page p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-dim);
  max-width: 72ch;
}
.legal-page p + p { margin-top: 10px; }
.legal-page a { color: var(--green); }
.legal-page code { color: var(--ink); }
.legal-todo { color: #ff8a7a; border-bottom: 1px dashed currentColor; }
@keyframes blink { to { visibility: hidden; } }

/* ---------- utilities ---------- */

.stack > * + * { margin-top: 18px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

@media (max-width: 900px) {
  .home-grid, .two-col, .three-col, .home-news, .detail-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .counter-col { border-left: 0; padding-left: 0; }
  .home-grid { gap: 34px; }
  .logo-stage { max-width: 420px; }
  .news-item { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 720px) {
  .header-inner { min-height: auto; padding: 12px 0; flex-wrap: wrap; gap: 10px 14px; }
  .site-nav { order: 3; width: 100%; margin-left: 0; justify-content: flex-start; overflow-x: auto; padding-bottom: 2px; }
  .nav-link { padding: 6px 9px; font-size: 11px; }
  .lang-switch { margin-left: auto; }
  .page-hero { padding: 48px 0 24px; }
  .home-hero { padding: 48px 0 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .product-card-body { padding: 12px; }
  .product-card-body h3 { font-size: 15px; }
  .patch-row { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: flex-start; }
}
