/* ============================================================
   WordSearchZ — Verify / Checksums page

   ============================================================ */

:root {
  --vf-green: #4ade80;
  --vf-green-600: #22c55e;
  --vf-amber: #fbbf24;
  --vf-red: #f87171;
  --vf-card: #0b1220;
  --vf-card-2: #0f172a;
  --vf-ink: #05070d;
  --vf-border: rgba(148, 163, 184, 0.16);
  --vf-muted: #94a3b8;
  --vf-dim: #64748b;
  --vf-mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

.vf-visually-hidden {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

/* ---------- layout ---------- */
.vf-main { padding: 3.5rem 0 5rem; }
.vf-wrap { max-width: 62rem; margin: 0 auto; padding: 0 1rem; }

/* ---------- header ---------- */
.vf-header { text-align: center; margin-bottom: 2.5rem; }
.vf-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.9rem; margin-bottom: 1.25rem;
  border-radius: 9999px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.25);
  color: var(--vf-green);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.vf-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900; color: #fff; line-height: 1.05; margin-bottom: 1rem;
}
.vf-title span { color: var(--vf-green); }
.vf-lead {
  color: var(--vf-muted); font-size: 1.05rem; line-height: 1.7;
  max-width: 44rem; margin: 0 auto;
}
.vf-lead a { color: var(--vf-green); text-decoration: none; }
.vf-lead a:hover { text-decoration: underline; }

/* ---------- sections ---------- */
.vf-section { margin-top: 2.75rem; }
.vf-section-title {
  font-size: 1.35rem; font-weight: 800; color: #fff;
  margin-bottom: 1rem; display: flex; align-items: center; gap: 0.6rem;
}
.vf-section-title .vf-ic { color: var(--vf-green); font-size: 1.1rem; }
.vf-section-sub { color: var(--vf-muted); font-size: 0.92rem; line-height: 1.6; margin-bottom: 1.25rem; }

/* ---------- security callout ---------- */
.vf-note {
  display: flex; gap: 1rem; align-items: flex-start;
  border-radius: 1.25rem; padding: 1.25rem 1.4rem;
  background: rgba(251, 191, 36, 0.06);
  border: 1px solid rgba(251, 191, 36, 0.28);
}
.vf-note .vf-note-ic { color: var(--vf-amber); font-size: 1.3rem; flex: 0 0 auto; margin-top: 0.1rem; }
.vf-note h3 {
  color: var(--vf-amber); font-weight: 800; font-size: 0.9rem;
  text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 0.4rem;
}
.vf-note p { color: #cbd5e1; font-size: 0.9rem; line-height: 1.65; margin: 0; }
.vf-note p + p { margin-top: 0.5rem; }
.vf-note strong { color: #fff; }

/* ---------- OS tabs ---------- */
.vf-tabs {
  display: inline-flex; gap: 0.35rem; padding: 0.35rem;
  border-radius: 9999px; background: var(--vf-card-2);
  border: 1px solid var(--vf-border); margin-bottom: 1.25rem;
}
.vf-tab {
  border: 0; background: transparent; color: var(--vf-muted);
  font-weight: 700; font-size: 0.85rem; padding: 0.5rem 1.15rem;
  border-radius: 9999px; cursor: pointer; transition: color 0.2s ease, background 0.2s ease;
}
.vf-tab:hover { color: #fff; }
.vf-tab.is-active { background: var(--vf-green); color: #04120a; }
.vf-tab:focus-visible { outline: 2px solid var(--vf-green); outline-offset: 2px; }
.vf-tabpanel { display: none; }
.vf-tabpanel.is-active { display: block; }

/* ---------- command block ---------- */
.vf-cmd {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--vf-ink); border: 1px solid var(--vf-border);
  border-radius: 0.85rem; padding: 0.8rem 0.9rem 0.8rem 1rem; margin-bottom: 0.75rem;
}
.vf-cmd-main { min-width: 0; flex: 1 1 auto; }
.vf-cmd-label {
  color: var(--vf-dim); font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 0.1em; font-weight: 700; display: block; margin-bottom: 0.35rem;
}
.vf-cmd code {
  display: block; font-family: var(--vf-mono); color: #e2e8f0; font-size: 0.85rem;
  overflow-x: auto; white-space: nowrap; padding-bottom: 0.15rem;
}

/* ---------- copy button ---------- */
.vf-copy {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 0.4rem;
  border: 1px solid var(--vf-border); background: rgba(255, 255, 255, 0.03);
  color: var(--vf-muted); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.4rem 0.6rem; border-radius: 0.55rem; cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.vf-copy:hover { color: var(--vf-green); border-color: rgba(74, 222, 128, 0.5); background: rgba(34, 197, 94, 0.08); }
.vf-copy:focus-visible { outline: 2px solid var(--vf-green); outline-offset: 2px; }
.vf-copy.is-copied { color: #04120a; background: var(--vf-green); border-color: var(--vf-green); }
.vf-copy[disabled] { opacity: 0.4; cursor: not-allowed; }
.vf-copy-ic { width: 0.85rem; height: 0.85rem; flex: 0 0 auto; }

/* ---------- releases accordion ---------- */
.vf-release {
  border: 1px solid var(--vf-border); border-radius: 1.25rem;
  overflow: hidden; margin-bottom: 1rem; background: var(--vf-card);
}
.vf-release-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.15rem 1.4rem; background: transparent; border: 0;
  cursor: pointer; text-align: left; color: #fff; transition: background 0.2s ease;
}
.vf-release-head:hover { background: rgba(255, 255, 255, 0.02); }
.vf-release-head:focus-visible { outline: 2px solid var(--vf-green); outline-offset: -2px; }
.vf-release-titles { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.3rem 0.75rem; }
.vf-ver { font-weight: 900; font-size: 1.15rem; }
.vf-ver span { color: var(--vf-green); }
.vf-date { color: var(--vf-dim); font-size: 0.8rem; font-weight: 600; }
.vf-chevron { flex: 0 0 auto; color: var(--vf-muted); transition: transform 0.25s ease; }
.vf-release-head[aria-expanded="true"] .vf-chevron { transform: rotate(180deg); }
.vf-release-body { padding: 0 1.4rem 1.4rem; }
.vf-release-head[aria-expanded="false"] + .vf-release-body { display: none; }

/* ---------- file record ---------- */
.vf-file {
  border: 1px solid var(--vf-border); border-radius: 1rem;
  padding: 1.1rem 1.15rem; background: var(--vf-ink); margin-top: 1rem;
}
.vf-file:first-child { margin-top: 0.25rem; }
.vf-file-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.6rem; margin-bottom: 0.95rem;
}
.vf-file-name { font-family: var(--vf-mono); color: #fff; font-weight: 700; font-size: 0.9rem; word-break: break-all; }
.vf-file-meta { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.vf-badge {
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--vf-green); background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.28); padding: 0.2rem 0.55rem;
  border-radius: 9999px; white-space: nowrap;
}
.vf-size { color: var(--vf-dim); font-size: 0.78rem; font-weight: 600; }

.vf-hashes { display: flex; flex-direction: column; gap: 0.6rem; }
.vf-hash { display: grid; grid-template-columns: auto 1fr auto; gap: 0.6rem 0.8rem; align-items: center; }
.vf-hash-label {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--vf-dim); white-space: nowrap;
}
.vf-hash-val {
  font-family: var(--vf-mono); font-size: 0.82rem; color: #cbd5e1;
  word-break: break-all; line-height: 1.5; min-width: 0;
  background: rgba(255, 255, 255, 0.02); border: 1px solid var(--vf-border);
  border-radius: 0.5rem; padding: 0.45rem 0.6rem;
}
.vf-hash-val.is-pending { color: var(--vf-dim); font-style: italic; font-family: inherit; }

@media (max-width: 640px) {
  .vf-hash { grid-template-columns: 1fr auto; }
  .vf-hash-label { grid-column: 1 / -1; }
  .vf-cmd { flex-direction: column; align-items: stretch; }
  .vf-cmd .vf-copy { align-self: flex-end; }
}

/* ---------- footnote ---------- */
.vf-foot-meta {
  margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--vf-border);
  color: var(--vf-dim); font-size: 0.85rem; line-height: 1.6;
}
.vf-foot-meta a { color: var(--vf-green); text-decoration: none; }
.vf-foot-meta a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  .vf-chevron, .vf-copy, .vf-tab, .vf-release-head { transition: none; }
}
