/* DarkAtlas — Tor-ready static styles (no JS, no third-party font CDNs) */

:root {
  --ink: #0c1110;
  --ink-2: #141b19;
  --ink-3: #1c2623;
  --panel: #18211e;
  --line: rgba(212, 184, 132, 0.18);
  --line-strong: rgba(212, 184, 132, 0.35);
  --brass: #d4b884;
  --brass-bright: #f0d7a8;
  --moss: #6f9b7a;
  --moss-dim: #4d7358;
  --fog: #c8d2cc;
  --muted: #8a9690;
  --danger: #c97a6a;
  --ok: #7db892;
  --warn: #d4a85c;
  --max: 1240px;
  --radius: 4px;
  /* Local stacks only — no clearnet font CDN (Tor-safe) */
  --font-display: "Trebuchet MS", "Segoe UI", "Avenir Next", sans-serif;
  --font-body: Georgia, "Palatino Linotype", "Book Antiqua", Palatino, serif;
  --font-mono: "Cascadia Mono", "Consolas", "Lucida Console", monospace;
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--fog);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(111, 155, 122, 0.14), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(212, 184, 132, 0.1), transparent 50%),
    linear-gradient(180deg, #0a0f0e 0%, var(--ink) 40%, #0b100f 100%);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brass-bright);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

a:hover,
a:focus-visible {
  color: #fff8e8;
}

a:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #f3f0e7;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 700;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

p {
  margin: 0 0 1.1em;
}

ul,
ol {
  margin: 0 0 1.2em;
  padding-left: 1.2em;
}

li + li {
  margin-top: 0.35em;
}

code,
kbd {
  font-family: var(--font-mono);
  font-size: 0.86em;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0.1em 0.35em;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brass);
  color: var(--ink);
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(12, 17, 16, 0.88);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: #f3f0e7;
}

.brand:hover {
  color: var(--brass-bright);
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border: 1.5px solid var(--brass);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--brass);
  animation: pulse-ring 4.5s ease-in-out infinite;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand-name span {
  color: var(--moss);
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brass);
  border: 1px solid var(--line-strong);
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  border-radius: var(--radius);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.1rem;
}

.site-nav a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brass-bright);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  padding: 4.5rem 0 3.5rem;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(12, 17, 16, 0.2) 0%, rgba(12, 17, 16, 0.72) 55%, rgba(12, 17, 16, 0.96) 100%),
    radial-gradient(circle at 70% 30%, rgba(111, 155, 122, 0.22), transparent 40%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 18px,
      rgba(212, 184, 132, 0.03) 18px,
      rgba(212, 184, 132, 0.03) 19px
    ),
    linear-gradient(135deg, #14201c, #0c1110 45%, #1a1510);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -30% 40%;
  height: 70%;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(212, 184, 132, 0.16), transparent 65%);
  animation: drift 14s ease-in-out infinite alternate;
}

.hero-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 1rem;
  animation: rise 0.8s ease both;
}

.hero h1 {
  max-width: 14ch;
  margin-bottom: 0.5rem;
  animation: rise 0.9s ease 0.08s both;
}

.hero-lead {
  max-width: 38ch;
  font-size: 1.2rem;
  color: var(--fog);
  margin-bottom: 1.8rem;
  animation: rise 1s ease 0.16s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 1.05s ease 0.24s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 0.85rem 1.2rem;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brass);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--brass-bright);
  color: var(--ink);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--fog);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  border-color: var(--brass);
  color: var(--brass-bright);
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  animation: rise 1.1s ease 0.3s both;
}

.trust-bar strong {
  color: var(--ok);
  font-weight: 500;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.8rem;
}

.section-head p {
  max-width: 48ch;
  color: var(--muted);
  margin: 0;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 0.5rem;
}

/* Grids / lists without heavy card chrome */
.market-list,
.guide-list,
.news-list,
.stat-grid,
.feature-grid,
.link-grid {
  display: grid;
  gap: 1rem;
}

.market-list {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.guide-list,
.news-list {
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .guide-list,
  .news-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-list.featured {
    grid-template-columns: 1.3fr 1fr;
  }
}

.item {
  position: relative;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  transition: border-color 0.2s ease, padding-left 0.2s ease;
}

.item:hover {
  border-top-color: var(--line-strong);
  padding-left: 0.35rem;
}

.item h3 {
  margin-bottom: 0.35rem;
}

.item h3 a {
  text-decoration: none;
  color: #f3f0e7;
}

.item h3 a:hover {
  color: var(--brass-bright);
}

.item p {
  color: var(--muted);
  margin: 0;
  font-size: 1.02rem;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.7rem 0 0.55rem;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brass);
  border: 1px solid var(--line);
  padding: 0.2rem 0.45rem;
  border-radius: 2px;
}

.tag.ok {
  color: var(--ok);
}

.tag.warn {
  color: var(--warn);
}

.tag.danger {
  color: var(--danger);
}

.stat-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 700px) {
  .stat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.stat .num {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--brass-bright);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat .label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.feature-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.feature h3 {
  font-size: 1.1rem;
}

.feature p {
  color: var(--muted);
  margin: 0;
}

.panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent), var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-soft);
}

.panel + .panel {
  margin-top: 1rem;
}

.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }

  .split.reverse {
    grid-template-columns: 1fr 1.4fr;
  }
}

/* Page chrome */
.page-hero {
  padding: 3rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}

.page-hero h1 {
  max-width: 18ch;
}

.page-hero .lead {
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.15rem;
}

.breadcrumbs {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--brass-bright);
}

.breadcrumbs span {
  opacity: 0.5;
  margin: 0 0.35rem;
}

.content {
  padding-bottom: 4rem;
}

/* Right section navigation (no JS) */
.layout-with-side {
  display: grid;
  gap: 1.75rem;
  padding-bottom: 4rem;
  align-items: start;
}

.layout-main {
  min-width: 0;
}

.side-nav {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent), var(--panel);
  border-radius: var(--radius);
  padding: 1rem 1rem 1.1rem;
}

.side-nav-title {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moss);
  margin: 0 0 0.75rem;
}

.side-nav-title + .side-nav-title,
.side-nav nav + .side-nav-title {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.side-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-nav li + li {
  margin-top: 0.15rem;
}

.side-nav a {
  display: block;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  padding: 0.38rem 0.45rem;
  border-radius: 2px;
  border-left: 2px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.side-nav a:hover,
.side-nav a:focus-visible {
  color: var(--brass-bright);
  background: rgba(212, 184, 132, 0.06);
}

.side-nav a[aria-current="page"] {
  color: var(--brass-bright);
  border-left-color: var(--brass);
  background: rgba(212, 184, 132, 0.08);
}

@media (min-width: 980px) {
  .layout-with-side {
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 2.25rem;
  }

  .side-nav {
    position: sticky;
    top: 5.25rem;
    max-height: calc(100vh - 6.5rem);
    overflow: auto;
  }
}

@media (max-width: 979px) {
  .side-nav {
    order: -1;
  }

  .side-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .side-nav li + li {
    margin-top: 0;
  }

  .side-nav a {
    border: 1px solid var(--line);
    border-left-width: 1px;
    padding: 0.35rem 0.55rem;
  }

  .side-nav a[aria-current="page"] {
    border-color: var(--brass);
    border-left-width: 1px;
  }
}

.prose {
  max-width: 68ch;
}

.prose h2 {
  margin-top: 2.2rem;
}

.prose h3 {
  margin-top: 1.6rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
  margin: 1.4rem 0 1.8rem;
}

.prose th,
.prose td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  padding: 0.7rem 0.5rem;
  vertical-align: top;
}

.prose th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
}

.callout {
  border-left: 3px solid var(--brass);
  padding: 0.9rem 0 0.9rem 1rem;
  margin: 1.5rem 0;
  background: rgba(212, 184, 132, 0.05);
}

.callout.warn {
  border-left-color: var(--warn);
  background: rgba(212, 168, 92, 0.06);
}

.callout.danger {
  border-left-color: var(--danger);
  background: rgba(201, 122, 106, 0.07);
}

.toc {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  margin: 1.5rem 0 2rem;
}

.toc h2 {
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.toc ol {
  margin: 0;
  padding-left: 1.1em;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.toc a {
  text-decoration: none;
}

/* FAQ via details (no JS) */
.faq details {
  border-top: 1px solid var(--line);
  padding: 0.9rem 0;
}

.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  color: #f3f0e7;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--brass);
  font-family: var(--font-mono);
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  color: var(--muted);
  margin: 0.75rem 0 0.2rem;
}

/* Glossary */
.glossary-index {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 2rem;
}

.glossary-index a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 0.25rem 0.5rem;
  color: var(--fog);
}

.glossary-index a:hover {
  border-color: var(--brass);
  color: var(--brass-bright);
}

.glossary-term {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.glossary-term h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.glossary-term p {
  margin: 0;
  color: var(--muted);
}

/* News */
.news-item .date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--moss);
}

.article-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* Markets table */
.markets-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}

.markets-table th,
.markets-table td {
  text-align: left;
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid var(--line);
}

.markets-table th {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
}

.markets-table a {
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  color: #f3f0e7;
}

.markets-table a:hover {
  color: var(--brass-bright);
}

.status-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--ok);
  margin-right: 0.35rem;
  vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(125, 184, 146, 0.5);
  animation: status-pulse 2.8s ease-out infinite;
}

.status-dot.offline {
  background: var(--danger);
  animation: none;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.site-footer h2 {
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.4em;
}

.site-footer a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer a:hover {
  color: var(--brass-bright);
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: #f3f0e7;
  margin-bottom: 0.6rem;
}

.footer-brand span {
  color: var(--moss);
}

.footer-note {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 36ch;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

/* Related */
.related {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.related ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related a {
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
}

/* Timeline */
.timeline {
  border-left: 2px solid var(--line-strong);
  margin: 1.5rem 0 2rem 0.4rem;
  padding-left: 1.3rem;
}

.timeline-item {
  position: relative;
  margin-bottom: 1.5rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1.72rem;
  top: 0.45rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 0 3px var(--ink);
}

.timeline-item .year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--moss);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Media / figures */
.media-frame,
.figure {
  margin: 1.25rem 0 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
}

.media-frame img,
.figure img {
  width: 100%;
  height: auto;
  display: block;
}

.figure figcaption,
.media-caption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 0.65rem 0.85rem;
  border-top: 1px solid var(--line);
}

.hero-media {
  margin-top: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  animation: rise 1.15s ease 0.35s both;
}

.hero-media img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
}

.media-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0 1.75rem;
}

.media-row .figure {
  margin: 0;
}

.media-row img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

.media-row.photos img {
  aspect-ratio: 16 / 10;
}

.page-hero-media img,
.hero-media img,
.figure img {
  object-fit: cover;
}

/* Trusted websites */
.trusted-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 720px) {
  .trusted-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.trusted-item {
  padding: 1.2rem 0 1.35rem;
  border-top: 1px solid var(--line);
}

.trusted-item h3 {
  margin-bottom: 0.25rem;
}

.trusted-item h3 a {
  text-decoration: none;
  color: #f3f0e7;
}

.trusted-item h3 a:hover {
  color: var(--brass-bright);
}

.trusted-url {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--moss);
  margin: 0 0 0.55rem;
}

.trusted-item > p:last-of-type,
.trusted-item p {
  color: var(--muted);
}

.trusted-actions {
  margin-top: 0.85rem !important;
  margin-bottom: 0 !important;
}

.trusted-block {
  margin: 2.5rem 0 1rem;
}

.trusted-block > h2 {
  margin-bottom: 0.75rem;
}

.inline-gif {
  float: right;
  width: min(160px, 38%);
  margin: 0 0 1rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-2);
}

.inline-gif img {
  width: 100%;
  display: block;
}

.page-hero-media {
  margin: 1.25rem 0 0;
  max-width: 520px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.page-hero-media img {
  width: 100%;
  display: block;
  max-height: 200px;
  object-fit: cover;
}

/* Onion mirrors */
.onion-box {
  margin: 1.5rem 0 1.8rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(111, 155, 122, 0.08), transparent), var(--panel);
  padding: 1.1rem 1.2rem 1.2rem;
}

.onion-box h2,
.onion-box h3 {
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

.onion-box > p {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 0.9rem;
}

.onion-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.onion-list li {
  margin: 0 0 0.65rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
}

.onion-list .onion-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 0.35rem;
}

.onion-list a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  word-break: break-all;
  line-height: 1.45;
  text-decoration: none;
  color: var(--brass-bright);
}

.onion-list a:hover {
  color: #fff8e8;
  text-decoration: underline;
}

.onion-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.45rem;
}

/* Animations */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-4%, -3%, 0) scale(1.08);
  }
}

@keyframes pulse-ring {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(212, 184, 132, 0.25);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(212, 184, 132, 0);
  }
}

@keyframes status-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(125, 184, 146, 0.45);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(125, 184, 146, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(125, 184, 146, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Mobile nav with checkbox hack (no JS) */
@media (max-width: 860px) {
  .nav-toggle-label {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(12, 17, 16, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }

  .site-nav ul {
    flex-direction: column;
    padding: 0.5rem 1rem 1rem;
    gap: 0.7rem;
  }

  .nav-toggle:checked ~ .site-nav {
    max-height: 420px;
    padding: 0.5rem 0 0.75rem;
  }
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-muted {
  color: var(--muted);
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}
